From f39658b57756280169e75eca6aa0ee6a2fde7741 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Wed, 8 Mar 2006 19:01:38 +0000 Subject: [PATCH] also add protocols for IPv4 packets configuration information. This appears to be all the information that is non-site specific. The reason I want this in a Nix expression is that it is easier to deploy in NixOS this way. It also gives me a bit of a feel of what information is safe to keep inside the store and what information isn't :) svn path=/nixpkgs/trunk/; revision=5005 --- pkgs/configs/etc/protocols/builder.sh | 4 ++++ pkgs/configs/etc/protocols/default.nix | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 pkgs/configs/etc/protocols/builder.sh create mode 100644 pkgs/configs/etc/protocols/default.nix diff --git a/pkgs/configs/etc/protocols/builder.sh b/pkgs/configs/etc/protocols/builder.sh new file mode 100644 index 000000000000..75988087ba50 --- /dev/null +++ b/pkgs/configs/etc/protocols/builder.sh @@ -0,0 +1,4 @@ +source $stdenv/setup + +ensureDir $out +cp $src $out/protocols diff --git a/pkgs/configs/etc/protocols/default.nix b/pkgs/configs/etc/protocols/default.nix new file mode 100644 index 000000000000..fe7054dab603 --- /dev/null +++ b/pkgs/configs/etc/protocols/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "etc-protocols-1.3"; + builder = ./builder.sh; + src = fetchurl { + url = http://losser.labs.cs.uu.nl/~armijn/.nix/protocols.gz; + md5 = "3c7dcc6c6d30fadec21829574116171a"; + }; +}