summary refs log tree commit diff
path: root/pkgs/test
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-06-19 11:45:34 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-07-01 04:23:51 -0400
commit3f4a353737f165d4935c0404404c0de6eea92093 (patch)
treeadfa77773876bb21a3e8707648c8259546905bb6 /pkgs/test
parentb10e4624041cbbc824c034ee91bdca90d1132958 (diff)
downloadnixpkgs-3f4a353737f165d4935c0404404c0de6eea92093.tar
nixpkgs-3f4a353737f165d4935c0404404c0de6eea92093.tar.gz
nixpkgs-3f4a353737f165d4935c0404404c0de6eea92093.tar.bz2
nixpkgs-3f4a353737f165d4935c0404404c0de6eea92093.tar.lz
nixpkgs-3f4a353737f165d4935c0404404c0de6eea92093.tar.xz
nixpkgs-3f4a353737f165d4935c0404404c0de6eea92093.tar.zst
nixpkgs-3f4a353737f165d4935c0404404c0de6eea92093.zip
treewide: use dontUnpack
Diffstat (limited to 'pkgs/test')
-rw-r--r--pkgs/test/patch-shebangs/default.nix4
-rw-r--r--pkgs/test/stdenv-inputs/default.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/test/patch-shebangs/default.nix b/pkgs/test/patch-shebangs/default.nix
index a82e5e1e198..3e68d96004f 100644
--- a/pkgs/test/patch-shebangs/default.nix
+++ b/pkgs/test/patch-shebangs/default.nix
@@ -3,7 +3,7 @@
 let
   bad-shebang = stdenv.mkDerivation {
     name         = "bad-shebang";
-    unpackPhase  = ":";
+    dontUnpack = true;
     installPhase = ''
       mkdir -p $out/bin
       echo "#!/bin/sh" > $out/bin/test
@@ -23,4 +23,4 @@ in runCommand "patch-shebangs-test" {
     echo "no" >&2
     exit 1
   fi
-''
\ No newline at end of file
+''
diff --git a/pkgs/test/stdenv-inputs/default.nix b/pkgs/test/stdenv-inputs/default.nix
index 13fa985839d..4db10e75086 100644
--- a/pkgs/test/stdenv-inputs/default.nix
+++ b/pkgs/test/stdenv-inputs/default.nix
@@ -4,7 +4,7 @@ let
   foo = stdenv.mkDerivation {
     name = "foo-test";
 
-    unpackPhase = ":";
+    dontUnpack = true;
 
     installPhase = ''
       mkdir -p $out/bin $out/include $out/lib
@@ -22,7 +22,7 @@ let
     name = "bar-test";
     outputs = [ "out" "dev" ];
 
-    unpackPhase = ":";
+    dontUnpack = true;
 
     installPhase = ''
       mkdir -p $out/bin $dev/include $dev/lib