python-nixpart: Add Hetzner-specific attribute.

This is for NixOps and the corresponding Hetzner backend and allows for easy
referencing by nix-build using the -A argument.

Basically the Hetzner rescue system uses an older udev version from Debian, so
we need to use shared object major number 0 here.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig
2013-07-08 07:30:45 +02:00
parent 79b1f3069a
commit d21493cf7d

View File

@@ -66,6 +66,10 @@ pythonPackages = python.modules // rec {
});
nixpart = callPackage ../tools/filesystems/nixpart { };
nixpartHetzner = nixpart.override {
useNixUdev = false;
udevSoMajor = 0;
};
pil = import ../development/python-modules/pil {
inherit (pkgs) fetchurl stdenv libjpeg zlib freetype;