Merge branch 'nixpart-1.0-preparations'.
Partially and temporarily addresses NixOS/nixops#228. We now have an up-to-date version of Blivet and a bunch of its dependen- cies as well as the old nixpart 0.4 with all its old and crappy dependencies, which should fix _simple_ partitioning layouts for NixOps. Also, nixpart 1.0 is now marked as broken, because it is not yet released and this branch is more of a preparation and "damage control" in case I shouldn't manage to finish nixpart + nixos-assimilate in time for the next NixOS release.
This commit is contained in:
@@ -123,7 +123,7 @@ let
|
||||
|
||||
# This is used for NixOps to make sure we won't break it with the next major
|
||||
# version of nixpart.
|
||||
nixpart0 = self.nixpart;
|
||||
nixpart0 = callPackage ../tools/filesystems/nixpart/0.4 { };
|
||||
|
||||
pitz = callPackage ../applications/misc/pitz { };
|
||||
|
||||
@@ -6518,6 +6518,7 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
pycapnp = buildPythonPackage rec {
|
||||
name = "pycapnp-0.4.4";
|
||||
disabled = isPyPy || isPy3k;
|
||||
@@ -6857,6 +6858,17 @@ let
|
||||
sha256 = "17wq4invmv1nfazaksf59ymqyvgv3i8h4q03ry2az0s9lldyg3dv";
|
||||
};
|
||||
|
||||
patches = singleton (pkgs.fetchurl {
|
||||
url = "https://www.redhat.com/archives/pyparted-devel/"
|
||||
+ "2014-April/msg00000.html";
|
||||
postFetch = ''
|
||||
sed -i -ne '/<!--X-Body-of-Message-->/,/<!--X-Body-of-Message-End-->/ {
|
||||
s/^<[^>]*>//; /^$/!p
|
||||
}' "$downloadedFile"
|
||||
'';
|
||||
sha256 = "1lakhz3nvx0qacn90bj1nq13zqxphiw4d9dsc44gwa8nj24j2zws";
|
||||
});
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's|/sbin/mke2fs|${pkgs.e2fsprogs}&|' tests/baseclass.py
|
||||
sed -i -e '
|
||||
@@ -8481,11 +8493,11 @@ let
|
||||
|
||||
|
||||
six = buildPythonPackage rec {
|
||||
name = "six-1.7.3";
|
||||
name = "six-1.8.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://pypi.python.org/packages/source/s/six/${name}.tar.gz";
|
||||
md5 = "784c6e5541c3c4952de9c0a966a0a80b";
|
||||
md5 = "1626eb24cc889110c38f7e786ec69885";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
|
||||
Reference in New Issue
Block a user