about summary refs log tree commit diff
path: root/pkgs/nixops
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-04-29 08:05:43 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-04-29 08:05:43 +0200
commit669e0fab1d4b7b791f5a0665c50203734fb2f652 (patch)
treed6cbe425694a3e2c173f92ebc42365ca6ae10671 /pkgs/nixops
parenta5b7e827d76a5c3e1da879b6c1157d48081b4bdc (diff)
nixops: Patch release.nix to use nixpkgs-path.nix.
So now we're seeing exactly the right thing happen: Builds breaking on
Hydra when they *should* break.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/nixops')
-rw-r--r--pkgs/nixops/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/nixops/default.nix b/pkgs/nixops/default.nix
index 5a12e2c0..c2894823 100644
--- a/pkgs/nixops/default.nix
+++ b/pkgs/nixops/default.nix
@@ -34,6 +34,11 @@ let
 
     patchFlags = "--merge -p1";
 
+    postPatch = ''
+      sed -i -re 's!<nixpkgs([^>]*)>!${import ../../nixpkgs-path.nix}\1!g' \
+        release.nix
+    '';
+
     installPhase = ''
       cp -a . "$out"
     '';