treewide: use dontUnpack
This commit is contained in:
parent
b10e462404
commit
3f4a353737
|
@ -5,7 +5,7 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ makeWrapper perl perlPackages.XMLSimple ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase =
|
||||
|
|
|
@ -24,7 +24,7 @@ in rec {
|
|||
|
||||
buildInputs = [ makeWrapper perl ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1v956yf5spw0156rni5z77hzqwmby7ajwdcd6mkhb6zvl36awr90";
|
||||
};
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase =
|
||||
''
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share/emacs/site-lisp"
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
installPhase = "true";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ appimage-run ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,share}
|
||||
|
|
|
@ -11,7 +11,7 @@ in
|
|||
stdenv.mkDerivation rec {
|
||||
name = "yi-custom-${version}";
|
||||
version = "0.0.0.1";
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildCommand = ''
|
||||
|
|
|
@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
|
|||
name = "graphicsmagick-imagemagick-compat-${version}";
|
||||
inherit (graphicsmagick) version;
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
buildPhase = "true";
|
||||
|
||||
utils = [
|
||||
|
|
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
jarfile = "$out/share/java/${pname}/JBidwatcher.jar";
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ perl ]; # for pod2man
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
|
|
@ -77,7 +77,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ tor-browser-unwrapped tor ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
buildPhase = ":";
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
sha256 = "1fzspdiwhjabwz1yxb3gzj7giz9jbc1xxm65i93rvhzcp537cs42";
|
||||
};
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
install -m 444 -D $src "$out/$extid.xpi"
|
||||
|
|
|
@ -29,7 +29,7 @@ stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
dontWrapGApps = true; # we only want $gappsWrapperArgs here
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
makeWrapper ${sencha-bare}/sencha $out/bin/sencha
|
||||
|
|
|
@ -77,7 +77,7 @@ in stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ dpkg ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
dpkg -x $src $out
|
||||
|
|
|
@ -13,7 +13,7 @@ in stdenv.mkDerivation {
|
|||
inherit sha256;
|
||||
};
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
buildCommand = ''
|
||||
mkdir $out
|
||||
|
|
|
@ -68,7 +68,7 @@ in stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
dpkg -x $src $out
|
||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ dpkg makeWrapper ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
libPath = stdenv.lib.makeLibraryPath [
|
||||
alsaLib
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -103,7 +103,7 @@ stdenv.mkDerivation {
|
|||
|
||||
propagatedUserEnvPkgs = [ gconf ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
dpkg-deb -x $src $out
|
||||
|
|
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||
sage-with-env
|
||||
];
|
||||
|
||||
unpackPhase = "#do nothing";
|
||||
dontUnpack = true;
|
||||
configurePhase = "#do nothing";
|
||||
buildPhase = "#do nothing";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
install -vD ${./nix-prefetch-docker} $out/bin/$name;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -5,7 +5,7 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
find $srcs -name '*.ttf' -exec install -m644 -Dt $out/share/fonts/truetype/migmix {} \;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
sourceRoot = ".";
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
|
|
|
@ -6,7 +6,7 @@ let
|
|||
stdenv.mkDerivation {
|
||||
inherit name src;
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/artwork/gnome
|
||||
|
|
|
@ -17,7 +17,7 @@ in
|
|||
stdenv.mkDerivation {
|
||||
name = "docbook-sgml-3.1";
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ in
|
|||
stdenv.mkDerivation {
|
||||
name = "docbook-sgml-4.1";
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ in
|
|||
stdenv.mkDerivation {
|
||||
name = "dotty-${dotty-bare.version}";
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv $out/bin
|
||||
|
|
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ makeWrapper jdk ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase =
|
||||
''
|
||||
|
|
|
@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation {
|
|||
|
||||
src = null;
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -21,7 +21,7 @@ in stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ python ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
dest="$out/lib/${python.libPrefix}/site-packages/distutils"
|
||||
|
|
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
|||
version = "1.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
buildInputs = [ python ];
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ jre ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
JARNAME = "${name}-standalone.jar";
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
propagatedBuildInputs = [ jdk ];
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ in
|
|||
|
||||
stdenv.mkDerivation {
|
||||
name = "clang-tools-${version}";
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
for tool in \
|
||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0ph1l62hy163m2hgybhkccqbcj6brna1vdbr7536zc37lzjxq9rn";
|
||||
};
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
buildInputs = [
|
||||
jre
|
||||
|
|
|
@ -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/'';
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1xqbam8vf04q5fasb0m2n1pn5dbp2yw763sj492ncq04c5mqcglx";
|
||||
};
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{lib/antlr,bin}
|
||||
|
|
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0srjwxipwsfzmpi0v32d1l5lzk9gi5in8ayg33sq8wyp8ygnbji6";
|
||||
};
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{lib/antlr,bin}
|
||||
|
|
|
@ -41,7 +41,7 @@ let
|
|||
sha256 = "1236gwnzchama92apb2swmklnypj01m7bdwwfvwvl8ym85scw7gl";
|
||||
};
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{share/java,bin}
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1sd3cwpamcbq9pv0mvcm8x6minqrlb4i0r12q3jg91girqswm2dp";
|
||||
};
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = "install -D $src $out/share/lib/${name}/${name}.jar";
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||
inherit name;
|
||||
inherit version;
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
buildInputs = [ jdk makeWrapper ];
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ in stdenv.mkDerivation rec {
|
|||
sha256 = "11v340nm8vzqc2bkmbjfm9a7j4dj0bi9bfk8wdpfan0fb8prf772";
|
||||
};
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
buildInputs = [ jre makeWrapper ];
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
buildInputs = [ makeWrapper ];
|
||||
|
||||
# colon is bash form of no-op (do nothing)
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/runelite
|
||||
|
|
|
@ -70,7 +70,7 @@ let
|
|||
}:
|
||||
stdenv.mkDerivation {
|
||||
name = "simutrans-${pakName}";
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
preferLocalBuild = true;
|
||||
installPhase = let src = fetchurl { inherit url sha256; };
|
||||
in ''
|
||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ cups ghostscript dpkg a2ps ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
dpkg-deb -x $src $out
|
||||
|
|
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ cups ghostscript dpkg a2ps ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
dpkg-deb -x $src $out
|
||||
|
|
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ cups ghostscript dpkg a2ps ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
brprintconf_mfcj6510dw_script = ''
|
||||
#!${runtimeShell}
|
||||
|
|
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||
name = "ccemux-${version}";
|
||||
|
||||
src = jar;
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ jre ];
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -34,7 +34,7 @@ let
|
|||
in stdenv.mkDerivation {
|
||||
name = "rfkill-udev";
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -16,7 +16,7 @@ let
|
|||
}:
|
||||
stdenv.mkDerivation (a // {
|
||||
inherit installPhase;
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
buildInputs = [ unzip ];
|
||||
meta = a.meta // {
|
||||
platforms = elasticsearch.meta.platforms;
|
||||
|
|
|
@ -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
|
||||
''
|
||||
''
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1d1ai062kdms34bya9dlykkx011rj8d8nh5l7d76xj8k9kv4ssq6";
|
||||
};
|
||||
|
||||
unpackPhase = "true;";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin" "$out/${python3.sitePackages}/"
|
||||
|
|
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ ruby ];
|
||||
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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;"))}
|
||||
|
|
|
@ -14,7 +14,7 @@ let
|
|||
}:
|
||||
stdenv.mkDerivation (a // {
|
||||
inherit installPhase;
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
buildInputs = [ unzip ];
|
||||
meta = a.meta // {
|
||||
platforms = graylog.meta.platforms;
|
||||
|
|
|
@ -57,7 +57,7 @@ in stdenv.mkDerivation {
|
|||
inherit src;
|
||||
|
||||
buildInputs = [ dpkg ];
|
||||
unpackPhase = "true";
|
||||
dontUnpack = true;
|
||||
|
||||
buildCommand = ''
|
||||
IFS=$'\n'
|
||||
|
|
|
@ -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 =
|
||||
''
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ libXScrnSaver libX11 ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1yang94mcdqg362qbi85b63746hk6gczxrk619hyj91v5763n4vx";
|
||||
};
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
buildPhase = ''
|
||||
cc -O2 -o nuttcp $src
|
||||
|
|
|
@ -15,7 +15,7 @@ in stdenv.mkDerivation {
|
|||
pname = "quickserve";
|
||||
version = "2018";
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
|
|
|
@ -8,7 +8,7 @@ let mkPrefetchScript = tool: src: deps:
|
|||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
install -vD ${src} $out/bin/$name;
|
||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "12q167pbpxw38p1bzcy9z4ix7yh9giwkyrc4vq2qln3pjn9d31rj";
|
||||
};
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase =
|
||||
''
|
||||
|
|
|
@ -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 =
|
||||
''
|
||||
|
|
|
@ -81,7 +81,7 @@ let
|
|||
sha256 = "0hnm7njab9nsifpb1qbwx54yfpsi00g8mzny11s13ibjvd9rnvxn";
|
||||
};
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue