mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
Merge pull request #63520 from worldofpeace/dontConfigure
setup.sh: add dontConfigure
This commit is contained in:
commit
cb278f70d0
|
@ -987,6 +987,17 @@ passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]
|
|||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<varname>dontUnpack</varname>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set to true to skip the unpack phase.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<varname>dontMakeSourcesWritable</varname>
|
||||
|
@ -1109,6 +1120,16 @@ passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]
|
|||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<varname>dontConfigure</varname>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set to true to skip the configure phase.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<varname>configureFlagsArray</varname>
|
||||
|
|
|
@ -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 =
|
||||
''
|
||||
|
|
|
@ -19,7 +19,7 @@ nix-shell -E 'with import <nixpkgs> { }; brscan4-etc-files.override{netDevices=[
|
|||
|
||||
*/
|
||||
|
||||
with lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ brscan4 ];
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ''
|
||||
TARGET_DIR="$out/etc/opt/brother/scanner/brscan4"
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -12,7 +12,7 @@ let
|
|||
|
||||
defaultCollectionCgi = config.services.collectd.package.overrideDerivation(old: {
|
||||
name = "collection.cgi";
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
buildPhase = "true";
|
||||
installPhase = ''
|
||||
substituteInPlace contrib/collection.cgi --replace '"/etc/collection.conf"' '$ENV{COLLECTION_CONF}'
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -5,7 +5,7 @@ let
|
|||
name = emacs.name + "-sources";
|
||||
src = emacs.src;
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
doCheck = false;
|
||||
fixupPhase = ":";
|
||||
|
|
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
unpackPhase = ":";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share/emacs/site-lisp"
|
||||
|
|
|
@ -11,8 +11,8 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
unpackPhase = "true";
|
||||
configurePhase = "true";
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
installPhase = "true";
|
||||
|
||||
buildPhase = ''
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
|
|||
buildInputs = with stdenv.lib;
|
||||
[ pkgconfig gettext python gtk2 pygtk dbus-python gdk_pixbuf upower makeWrapper ];
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ''
|
||||
python setup.py build
|
||||
|
@ -44,7 +44,7 @@ in stdenv.mkDerivation rec {
|
|||
license = licenses.lgpl2Plus;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
broken = true; # see https://github.com/NixOS/nixpkgs/pull/4031#issuecomment-56283520
|
||||
broken = true; # see https://github.com/NixOS/nixpkgs/pull/4031#issuecomment-56283520
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace man/Makefile --replace "man4" ""
|
||||
'';
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
|
||||
GMAKE_NOWARN = true;
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -19,7 +19,7 @@ let
|
|||
# perform fake build to make a fixed-output derivation of dependencies downloaded from maven central (~100Mb in ~3000 files)
|
||||
fetched-maven-deps = stdenv.mkDerivation {
|
||||
name = "hadoop-${version}-maven-deps";
|
||||
inherit src postUnpack nativeBuildInputs buildInputs configurePhase;
|
||||
inherit src postUnpack nativeBuildInputs buildInputs;
|
||||
buildPhase = ''
|
||||
while mvn package -Dmaven.repo.local=$out/.m2 ${mavenFlags} -Dmaven.wagon.rto=5000; [ $? = 1 ]; do
|
||||
echo "timeout, restart maven to continue downloading"
|
||||
|
@ -51,7 +51,7 @@ let
|
|||
fi
|
||||
done
|
||||
'';
|
||||
configurePhase = "true"; # do not trigger cmake hook
|
||||
dontConfigure = true; # do not trigger cmake hook
|
||||
mavenFlags = "-Drequire.snappy -Drequire.bzip2 -DskipTests -Pdist,native -e";
|
||||
buildPhase = ''
|
||||
# 'maven.repo.local' must be writable
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# Skip configure and build phases.
|
||||
# We just want something from the support directory
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ perl ];
|
||||
|
||||
configurePhase = "true"; # skip configure
|
||||
dontConfigure = true; # skip configure
|
||||
|
||||
installPhase = "make prefix=$out install";
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -86,5 +86,5 @@ stdenv.mkDerivation (rec {
|
|||
export CHOST=${stdenv.hostPlatform.config}
|
||||
'';
|
||||
} // stdenv.lib.optionalAttrs (stdenv.hostPlatform.libc == "msvcrt") {
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
})
|
||||
|
|
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ocaml findlib];
|
||||
|
||||
configurePhase = "true"; # Skip configure phase
|
||||
dontConfigure = true; # Skip configure phase
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||
--replace "gcc" "\$(CC)"
|
||||
'';
|
||||
|
||||
configurePhase = "true"; # Skip configure
|
||||
dontConfigure = true; # Skip configure
|
||||
|
||||
buildPhase = ''
|
||||
make all allopt
|
||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
|||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
configurePhase = "true"; # Skip configure
|
||||
dontConfigure = true; # Skip configure
|
||||
# De facto, option minimal=1 seems to be the default. See the README.
|
||||
buildPhase = "make ${if minimal then "minimal=1" else ""} build";
|
||||
installPhase = "make ${if minimal then "minimal=1" else ""} install";
|
||||
|
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
|||
substituteInPlace Makefile --replace "SHELL=/bin/bash" "SHELL=$BASH"
|
||||
'';
|
||||
|
||||
configurePhase = "true"; # Skip configure phase
|
||||
dontConfigure = true; # Skip configure phase
|
||||
|
||||
buildPhase = ''
|
||||
make all opt
|
||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
configurePhase = "true"; # Skip configure phase
|
||||
dontConfigure = true; # Skip configure phase
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://bitbucket.org/mmottl/pcre-ocaml;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1hsvi8wjh615fnjf75h7b5afp04chqcgvini30vfcn3m9a5icbgy";
|
||||
};
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
buildPhase = ":";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/java
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||
${python.interpreter} build.py --system-libclang --clang-completer --system-boost
|
||||
'';
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
|
||||
# remove the tests
|
||||
#
|
||||
|
|
|
@ -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 ''
|
||||
|
|
|
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig intltool autoreconfHook ];
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ":";
|
||||
|
||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
|||
Name: libpulse
|
||||
Description: PulseAudio Client Interface
|
||||
Version: ${libpulseaudio.version}-rebootstrapped
|
||||
Libs: -L$out/lib -lpulse
|
||||
Libs: -L$out/lib -lpulse
|
||||
Cflags: -I$out/include -D_REENTRANT
|
||||
EOF
|
||||
|
||||
|
@ -44,7 +44,7 @@ stdenv.mkDerivation {
|
|||
Name: libpulse-simple
|
||||
Description: PulseAudio Simplified Synchronous Client Interface
|
||||
Version: ${libpulseaudio.version}-rebootstrapped
|
||||
Libs: -L$out/lib -lpulse-simple
|
||||
Libs: -L$out/lib -lpulse-simple
|
||||
Cflags: -I$out/include -D_REENTRANT
|
||||
Requires: libpulse
|
||||
EOF
|
||||
|
@ -53,7 +53,7 @@ stdenv.mkDerivation {
|
|||
Name: libpulse-mainloop-glib
|
||||
Description: PulseAudio GLib 2.0 Main Loop Wrapper
|
||||
Version: ${libpulseaudio.version}-rebootstrapped
|
||||
Libs: -L$out/lib -lpulse-mainloop-glib
|
||||
Libs: -L$out/lib -lpulse-mainloop-glib
|
||||
Cflags: -I$out/include -D_REENTRANT
|
||||
Requires: libpulse glib-2.0
|
||||
EOF
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ asciidoc libxslt ];
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
buildPhase = "make prefix=$out MANPAGE_DOCBOOK_XSL=${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl all doc";
|
||||
installPhase = "make prefix=$out install install_doc";
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ let
|
|||
sha256 = "14mc7gsnnahdjaxbbslzk79rc0d12h1i681cd3srdwr3fzynlar2";
|
||||
};
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
buildPhase = ":";
|
||||
installPhase = "mkdir -p $out/include && cp -R boost $out/include/";
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1283,6 +1283,8 @@ genericBuild() {
|
|||
fi
|
||||
|
||||
for curPhase in $phases; do
|
||||
if [[ "$curPhase" = unpackPhase && -n "${dontUnpack:-}" ]]; then continue; fi
|
||||
if [[ "$curPhase" = configurePhase && -n "${dontConfigure:-}" ]]; then continue; fi
|
||||
if [[ "$curPhase" = buildPhase && -n "${dontBuild:-}" ]]; then continue; fi
|
||||
if [[ "$curPhase" = checkPhase && -z "${doCheck:-}" ]]; then continue; fi
|
||||
if [[ "$curPhase" = installPhase && -n "${dontInstall:-}" ]]; then continue; fi
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
|
|||
name = "unp_2.0_pre7+nmu1.tar.bz2";
|
||||
};
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
buildPhase = "true";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ libX11 libGL ];
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = "
|
||||
$CC src/xdemos/{glxinfo.c,glinfo_common.c} -o glxinfo -lGL -lX11
|
||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ qmake ];
|
||||
buildInputs = [ qtbase ];
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = 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;
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake javac ];
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
buildPhase = "./build-hdfjava-unix.sh";
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue