treewide: use dontUnpack

This commit is contained in:
worldofpeace 2019-06-19 11:45:34 -04:00
parent b10e462404
commit 3f4a353737
84 changed files with 92 additions and 92 deletions

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation {
buildInputs = [ makeWrapper perl perlPackages.XMLSimple ];
unpackPhase = "true";
dontUnpack = true;
buildPhase = "true";
installPhase =

View file

@ -24,7 +24,7 @@ in rec {
buildInputs = [ makeWrapper perl ];
unpackPhase = "true";
dontUnpack = true;
preferLocalBuild = true;

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "1v956yf5spw0156rni5z77hzqwmby7ajwdcd6mkhb6zvl36awr90";
};
unpackPhase = "true";
dontUnpack = true;
installPhase =
''

View file

@ -149,7 +149,7 @@ let
name = "gitlab-rake";
buildInputs = [ pkgs.makeWrapper ];
dontBuild = true;
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
makeWrapper ${cfg.packages.gitlab.rubyEnv}/bin/rake $out/bin/gitlab-rake \
@ -164,7 +164,7 @@ let
name = "gitlab-rails";
buildInputs = [ pkgs.makeWrapper ];
dontBuild = true;
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
makeWrapper ${cfg.packages.gitlab.rubyEnv}/bin/rails $out/bin/gitlab-rails \

View file

@ -54,7 +54,7 @@ in {
# The path to the an initialized version of the database
db = pkgs.stdenv.mkDerivation {
name = "vswitch.db";
unpackPhase = "true";
dontUnpack = true;
buildPhase = "true";
buildInputs = with pkgs; [
cfg.package

View file

@ -17,7 +17,7 @@ let
createTrivialProject = pkgs.stdenv.mkDerivation {
name = "create-trivial-project";
unpackPhase = ":";
dontUnpack = true;
buildInputs = [ pkgs.makeWrapper ];
installPhase = "install -m755 -D ${./create-trivial-project.sh} $out/bin/create-trivial-project.sh";
postFixup = ''

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
buildInputs = [ emacs ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir -p "$out/share/emacs/site-lisp"

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation {
buildInputs = [ emacs ];
unpackPhase = "true";
dontUnpack = true;
dontConfigure = true;
installPhase = "true";

View file

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
pname = "stgit";
name = "${pname}-2009-10-28";
unpackPhase = "true";
dontUnpack = true;
src = fetchurl {
url = "https://raw.githubusercontent.com/miracle2k/stgit/master/contrib/stgit.el";

View file

@ -3,7 +3,7 @@
stdenv.mkDerivation {
name = "zeitgeist-20120221";
unpackPhase = "true";
dontUnpack = true;
src = fetchurl {
url = "https://raw.githubusercontent.com/alexmurray/dotfiles/master/.emacs.d/vendor/zeitgeist.el";

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
buildInputs = [ appimage-run ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir -p $out/{bin,share}

View file

@ -11,7 +11,7 @@ in
stdenv.mkDerivation rec {
name = "yi-custom-${version}";
version = "0.0.0.1";
unpackPhase = "true";
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''

View file

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
name = "graphicsmagick-imagemagick-compat-${version}";
inherit (graphicsmagick) version;
unpackPhase = "true";
dontUnpack = true;
buildPhase = "true";
utils = [

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
jarfile = "$out/share/java/${pname}/JBidwatcher.jar";
unpackPhase = "true";
dontUnpack = true;
dontBuild = true;

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ perl ]; # for pod2man
unpackPhase = ":";
dontUnpack = true;
dontBuild = true;
installPhase = ''
runHook preInstall

View file

@ -77,7 +77,7 @@ stdenv.mkDerivation rec {
buildInputs = [ tor-browser-unwrapped tor ];
unpackPhase = ":";
dontUnpack = true;
buildPhase = ":";

View file

@ -56,7 +56,7 @@
sha256 = "1fzspdiwhjabwz1yxb3gzj7giz9jbc1xxm65i93rvhzcp537cs42";
};
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
install -m 444 -D $src "$out/$extid.xpi"

View file

@ -29,7 +29,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper ];
unpackPhase = ":";
dontUnpack = true;
dontWrapGApps = true; # we only want $gappsWrapperArgs here

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
makeWrapper ${sencha-bare}/sencha $out/bin/sencha

View file

@ -77,7 +77,7 @@ in stdenv.mkDerivation {
buildInputs = [ dpkg ];
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
mkdir -p $out
dpkg -x $src $out

View file

@ -13,7 +13,7 @@ in stdenv.mkDerivation {
inherit sha256;
};
unpackPhase = "true";
dontUnpack = true;
buildCommand = ''
mkdir $out

View file

@ -68,7 +68,7 @@ in stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper ];
unpackPhase = "true";
dontUnpack = true;
buildCommand = ''
mkdir -p $out
dpkg -x $src $out

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [ dpkg makeWrapper ];
unpackPhase = "true";
dontUnpack = true;
libPath = stdenv.lib.makeLibraryPath [
alsaLib

View file

@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
name = "jnetmap-${version}";
version = "0.5.4";
src = fetchurl {
url = "mirror://sourceforge/project/jnetmap/jNetMap%20${version}/jNetMap-${version}.jar";
sha256 = "0nxsfa600jhazwbabxmr9j37mhwysp0fyrvczhv3f1smiy8rjanl";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ jre makeWrapper ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir -p "$out/bin"

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
buildInputs = [ makeWrapper jdk wrapGAppsHook gtk3 gsettings-desktop-schemas ];
unpackPhase = "#";
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin $out/share/java $out/share/icons

View file

@ -103,7 +103,7 @@ stdenv.mkDerivation {
propagatedUserEnvPkgs = [ gconf ];
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
dpkg-deb -x $src $out

View file

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
sage-with-env
];
unpackPhase = "#do nothing";
dontUnpack = true;
configurePhase = "#do nothing";
buildPhase = "#do nothing";

View file

@ -11,7 +11,7 @@
# A wrapper that makes sure sage finds its docs (if they were build) and the
# jupyter kernel spec.
let
let
# generate kernel spec + default kernels
kernel-specs = jupyter-kernel.create {
definitions = jupyter-kernel.default // {
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
sage-tests
];
unpackPhase = "#do nothing";
dontUnpack = true;
configurePhase = "#do nothing";
buildPhase = "#do nothing";

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
install -vD ${./nix-prefetch-docker} $out/bin/$name;

View file

@ -3,7 +3,7 @@ let cargo-vendor-normalise = stdenv.mkDerivation {
name = "cargo-vendor-normalise";
src = ./cargo-vendor-normalise.py;
nativeBuildInputs = [ python3.pkgs.wrapPython ];
unpackPhase = ":";
dontUnpack = true;
installPhase = "install -D $src $out/bin/cargo-vendor-normalise";
pythonPath = [ python3.pkgs.toml ];
postFixup = "wrapPythonPrograms";

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation {
buildInputs = [ makeWrapper ];
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
})
];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
find $srcs -name '*.ttf' -exec install -m644 -Dt $out/share/fonts/truetype/migmix {} \;

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
})
];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
find $srcs -name '*.ttf' | xargs install -m644 --target $out/share/fonts/truetype/migu -D

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
sourceRoot = ".";
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
mkdir -p $out/share/fonts/opentype

View file

@ -6,7 +6,7 @@ let
stdenv.mkDerivation {
inherit name src;
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
mkdir -p $out/share/artwork/gnome

View file

@ -17,7 +17,7 @@ in
stdenv.mkDerivation {
name = "docbook-sgml-3.1";
unpackPhase = "true";
dontUnpack = true;
nativeBuildInputs = [ unzip ];

View file

@ -17,7 +17,7 @@ in
stdenv.mkDerivation {
name = "docbook-sgml-4.1";
unpackPhase = "true";
dontUnpack = true;
nativeBuildInputs = [ unzip ];

View file

@ -9,7 +9,7 @@ in
stdenv.mkDerivation {
name = "dotty-${dotty-bare.version}";
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [ makeWrapper ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir -pv $out/bin

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
buildInputs = [ makeWrapper jdk ];
unpackPhase = "true";
dontUnpack = true;
installPhase =
''

View file

@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation {
src = null;
unpackPhase = "true";
dontUnpack = true;
dontBuild = true;

View file

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
version = "1.0";
name = "pharo-share-${version}";
unpackPhase = "true";
dontUnpack = true;
sources10Zip = fetchurl {
url = http://files.pharo.org/sources/PharoV10.sources.zip;

View file

@ -21,7 +21,7 @@ in stdenv.mkDerivation {
buildInputs = [ python ];
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
dest="$out/lib/${python.libPrefix}/site-packages/distutils"

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "1.0";
name = pname + "-" + version;
unpackPhase = "true";
dontUnpack = true;
buildInputs = [ python ];

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
runHook preInstall

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
JARNAME = "${name}-standalone.jar";
unpackPhase = "true";
dontUnpack = true;
buildInputs = [ makeWrapper ];
propagatedBuildInputs = [ jdk ];

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
unpackPhase = "true";
dontUnpack = true;
dontConfigure = true;
dontBuild = true;

View file

@ -7,7 +7,7 @@ in
stdenv.mkDerivation {
name = "clang-tools-${version}";
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
for tool in \

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0ph1l62hy163m2hgybhkccqbcj6brna1vdbr7536zc37lzjxq9rn";
};
unpackPhase = "true";
dontUnpack = true;
buildInputs = [
jre

View file

@ -7,7 +7,7 @@ let
bin2c = stdenv.mkDerivation {
name = "bossa-bin2c";
src = ./bin2c.c;
unpackPhase = "true";
dontUnpack = true;
buildPhase = ''cc $src -o bin2c'';
installPhase = ''mkdir -p $out/bin; cp bin2c $out/bin/'';
};

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ perl ];
# The link returns directly the script. No need for unpacking
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
install -D -m755 $src $out/bin/checkbashisms

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "1xqbam8vf04q5fasb0m2n1pn5dbp2yw763sj492ncq04c5mqcglx";
};
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
mkdir -p "$out"/{lib/antlr,bin}

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "0srjwxipwsfzmpi0v32d1l5lzk9gi5in8ayg33sq8wyp8ygnbji6";
};
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
mkdir -p "$out"/{lib/antlr,bin}

View file

@ -41,7 +41,7 @@ let
sha256 = "1236gwnzchama92apb2swmklnypj01m7bdwwfvwvl8ym85scw7gl";
};
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
mkdir -p "$out"/{share/java,bin}

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1sd3cwpamcbq9pv0mvcm8x6minqrlb4i0r12q3jg91girqswm2dp";
};
unpackPhase = "true";
dontUnpack = true;
installPhase = "install -D $src $out/share/lib/${name}/${name}.jar";

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
inherit name;
inherit version;
unpackPhase = "true";
dontUnpack = true;
buildInputs = [ jdk makeWrapper ];

View file

@ -16,7 +16,7 @@ in stdenv.mkDerivation rec {
sha256 = "11v340nm8vzqc2bkmbjfm9a7j4dj0bi9bfk8wdpfan0fb8prf772";
};
unpackPhase = "true";
dontUnpack = true;
buildInputs = [ jre makeWrapper ];

View file

@ -30,7 +30,7 @@
buildInputs = [ makeWrapper ];
# colon is bash form of no-op (do nothing)
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir -p $out/share/runelite

View file

@ -70,7 +70,7 @@ let
}:
stdenv.mkDerivation {
name = "simutrans-${pakName}";
unpackPhase = "true";
dontUnpack = true;
preferLocalBuild = true;
installPhase = let src = fetchurl { inherit url sha256; };
in ''

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ cups ghostscript dpkg a2ps ];
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
dpkg-deb -x $src $out

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ cups ghostscript dpkg a2ps ];
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
dpkg-deb -x $src $out

View file

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ cups ghostscript dpkg a2ps ];
unpackPhase = "true";
dontUnpack = true;
brprintconf_mfcj6510dw_script = ''
#!${runtimeShell}

View file

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
name = "ccemux-${version}";
src = jar;
unpackPhase = "true";
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ ncurses ];
unpackPhase = ":";
dontUnpack = true;
buildPhase = "cc -o nmon ${src} -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -lm -g -D X86";
installPhase = ''
mkdir -p $out/bin

View file

@ -34,7 +34,7 @@ let
in stdenv.mkDerivation {
name = "rfkill-udev";
unpackPhase = "true";
dontUnpack = true;
dontBuild = true;
installPhase = ''

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ makeWrapper ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
runHook preInstall

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
makeWrapper ${jre}/bin/java $out/bin/metabase --add-flags "-jar $src"

View file

@ -16,7 +16,7 @@ let
}:
stdenv.mkDerivation (a // {
inherit installPhase;
unpackPhase = "true";
dontUnpack = true;
buildInputs = [ unzip ];
meta = a.meta // {
platforms = elasticsearch.meta.platforms;

View file

@ -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
''
''

View file

@ -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

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "1d1ai062kdms34bya9dlykkx011rj8d8nh5l7d76xj8k9kv4ssq6";
};
unpackPhase = "true;";
dontUnpack = true;
installPhase = ''
mkdir -p "$out/bin" "$out/${python3.sitePackages}/"

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [ ruby ];
unpackPhase = "true";
dontUnpack = true;
installPhase = ''
mkdir -p "$out/bin"

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "0fzxvvf5dqyrs5m9rqw4ffm9h1s27bi7q3jb1dam34s80q2rp2zq";
};
inherit jre;
unpackPhase = ''true'';
dontUnpack = true;
installPhase = ''
mkdir -p "$out/lib/java" "$out/bin"
cp "${core_jar}" "${javase_jar}" "$out/lib/java"

View file

@ -33,7 +33,7 @@ let
};
emojiData = stdenv.mkDerivation {
name = "emoji-data-5.0";
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir $out
${builtins.toString (flip mapAttrsToList emojiSrcs (k: v: "cp ${v} $out/emoji-${k}.txt;"))}
@ -62,7 +62,7 @@ let
};
ucd = stdenv.mkDerivation rec {
name = "ucd-12.0.0";
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir $out
${builtins.toString (flip mapAttrsToList ucdSrcs (k: v: "cp ${v} $out/${k}.txt;"))}

View file

@ -14,7 +14,7 @@ let
}:
stdenv.mkDerivation (a // {
inherit installPhase;
unpackPhase = "true";
dontUnpack = true;
buildInputs = [ unzip ];
meta = a.meta // {
platforms = graylog.meta.platforms;

View file

@ -57,7 +57,7 @@ in stdenv.mkDerivation {
inherit src;
buildInputs = [ dpkg ];
unpackPhase = "true";
dontUnpack = true;
buildCommand = ''
IFS=$'\n'

View file

@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
version = "2012-05-31";
name = "woof-${version}";
src = fetchurl {
url = "http://www.home.unix-ag.org/simon/woof-${version}.py";
sha256 = "d84353d07f768321a1921a67193510bf292cf0213295e8c7689176f32e945572";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ python ];
unpackPhase = "true";
dontUnpack = true;
installPhase =
''

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation {
buildInputs = [ libXScrnSaver libX11 ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
sha256 = "1yang94mcdqg362qbi85b63746hk6gczxrk619hyj91v5763n4vx";
};
unpackPhase = ":";
dontUnpack = true;
buildPhase = ''
cc -O2 -o nuttcp $src

View file

@ -15,7 +15,7 @@ in stdenv.mkDerivation {
pname = "quickserve";
version = "2018";
unpackPhase = ":";
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''

View file

@ -8,7 +8,7 @@ let mkPrefetchScript = tool: src: deps:
nativeBuildInputs = [ makeWrapper ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
install -vD ${src} $out/bin/$name;

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "12q167pbpxw38p1bzcy9z4ix7yh9giwkyrc4vq2qln3pjn9d31rj";
};
unpackPhase = ":";
dontUnpack = true;
installPhase =
''

View file

@ -2,7 +2,7 @@
stdenv.mkDerivation {
name = "aws-1.75";
src = fetchurl {
url = https://raw.github.com/timkay/aws/2f2ff99f9f5111ea708ae6cd14d20e264748e72b/aws;
sha256 = "0d5asv73a58yb1bb1jpsw3c7asd62y86z5fwpg4llhjzkx79maj6";
@ -10,7 +10,7 @@ stdenv.mkDerivation {
buildInputs = [ perl ];
unpackPhase = "true";
dontUnpack = true;
installPhase =
''

View file

@ -81,7 +81,7 @@ let
sha256 = "0hnm7njab9nsifpb1qbwx54yfpsi00g8mzny11s13ibjvd9rnvxn";
};
unpackPhase = ":";
dontUnpack = true;
nativeBuildInputs = [ pkgs.makeWrapper ];