mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Added SNIX which is Nix extended with options to handle state (not stable yet and needs ext3cow so i do not recommend updating unless you are interested)
svn path=/nixpkgs/trunk/; revision=10771
This commit is contained in:
parent
182d10bca9
commit
03473a3fc3
1 changed files with 36 additions and 0 deletions
36
pkgs/tools/package-management/snix/default.nix
Normal file
36
pkgs/tools/package-management/snix/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2, openssl ? null
|
||||
|
||||
, ext3cowtools, e3cfsprogs, rsync
|
||||
#, libtool, docbook5, docbook5-xsl, flex, bison
|
||||
|
||||
, ext3cow_kernel
|
||||
|
||||
, storeDir ? "/nix/store"
|
||||
, stateDir ? "/nix/var"
|
||||
, nixStoreStateDir ? "/nix/state"
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "snix-0.12rev9419";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.denbreejen.net/public/nix/snix-0.12rev9419.tar.gz;
|
||||
sha256 = "fe7c06a8c41f6c9c94898a5fd690ed76da397012ea4c624adac9029b23c88a1c";
|
||||
};
|
||||
|
||||
buildInputs = [perl curl openssl rsync];
|
||||
|
||||
configureFlags = "
|
||||
--with-store-dir=${storeDir} --localstatedir=${stateDir}
|
||||
--with-aterm=${aterm} --with-bdb=${db4} --with-bzip2=${bzip2}
|
||||
--disable-init-state
|
||||
--with-store-state-dir=${nixStoreStateDir}
|
||||
--with-ext3cow-header=${ext3cow_kernel}/lib/modules/2.*/build/include/linux/ext3cow_fs.h
|
||||
--with-rsync=${rsync}/bin/rsync";
|
||||
|
||||
meta = {
|
||||
description = "The SNix Deployment System (Nix extended to handle state)";
|
||||
homepage = http://nix.cs.uu.nl/;
|
||||
license = "LGPL";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue