summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2013-08-07 10:36:38 +0200
committeraszlig <aszlig@redmoonstudios.org>2013-08-08 03:18:00 +0200
commit9040af06e3fdd6dd8a4d3833ff8b04e6752b4060 (patch)
tree1232472c8c42a02df5fb19b6a09c617bd378e84f /pkgs
parent4c77c6e2323dec41cab49e2a9662e9bd748c423b (diff)
downloadnixpkgs-9040af06e3fdd6dd8a4d3833ff8b04e6752b4060.tar
nixpkgs-9040af06e3fdd6dd8a4d3833ff8b04e6752b4060.tar.gz
nixpkgs-9040af06e3fdd6dd8a4d3833ff8b04e6752b4060.tar.bz2
nixpkgs-9040af06e3fdd6dd8a4d3833ff8b04e6752b4060.tar.lz
nixpkgs-9040af06e3fdd6dd8a4d3833ff8b04e6752b4060.tar.xz
nixpkgs-9040af06e3fdd6dd8a4d3833ff8b04e6752b4060.tar.zst
nixpkgs-9040af06e3fdd6dd8a4d3833ff8b04e6752b4060.zip
nixpart: Add an alias called nixpart0.
The reason behind this is to avoid breaking NixOps while releasing
version 1.0 of nixpart. We could also use nixpart and nixpart1, but the
goal is to have nixpart as a generic part of NixOS instead of being only
used specifically for the Hetzner backend of NixOps.

Which essentially means: The partition syntax will change to be based on
attribute sets and we no longer need to use Kickstart syntax. And that's
the main reason why it will break in version 1.0.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/python-packages.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 53128c6bb2a..3dd07824c15 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -68,6 +68,10 @@ pythonPackages = modules // rec {
 
   nixpart = callPackage ../tools/filesystems/nixpart { };
 
+  # This is used for NixOps to make sure we won't break it with the next major
+  # version of nixpart.
+  nixpart0 = nixpart;
+
   pil = import ../development/python-modules/pil {
     inherit (pkgs) fetchurl stdenv libjpeg zlib freetype;
     inherit python buildPythonPackage;