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
This commit is contained in:
parent
b329005d2a
commit
f39658b577
4
pkgs/configs/etc/protocols/builder.sh
Normal file
4
pkgs/configs/etc/protocols/builder.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
source $stdenv/setup
|
||||||
|
|
||||||
|
ensureDir $out
|
||||||
|
cp $src $out/protocols
|
10
pkgs/configs/etc/protocols/default.nix
Normal file
10
pkgs/configs/etc/protocols/default.nix
Normal file
@ -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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user