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>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<varname>dontUnpack</varname>
|
||||||
|
</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Set to true to skip the unpack phase.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<varname>dontMakeSourcesWritable</varname>
|
<varname>dontMakeSourcesWritable</varname>
|
||||||
@ -1109,6 +1120,16 @@ passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<varname>dontConfigure</varname>
|
||||||
|
</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Set to true to skip the configure phase.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<varname>configureFlagsArray</varname>
|
<varname>configureFlagsArray</varname>
|
||||||
|
@ -5,7 +5,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ makeWrapper perl perlPackages.XMLSimple ];
|
buildInputs = [ makeWrapper perl perlPackages.XMLSimple ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
buildPhase = "true";
|
buildPhase = "true";
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
|
@ -24,7 +24,7 @@ in rec {
|
|||||||
|
|
||||||
buildInputs = [ makeWrapper perl ];
|
buildInputs = [ makeWrapper perl ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1v956yf5spw0156rni5z77hzqwmby7ajwdcd6mkhb6zvl36awr90";
|
sha256 = "1v956yf5spw0156rni5z77hzqwmby7ajwdcd6mkhb6zvl36awr90";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
''
|
''
|
||||||
|
@ -19,7 +19,7 @@ nix-shell -E 'with import <nixpkgs> { }; brscan4-etc-files.override{netDevices=[
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ brscan4 ];
|
nativeBuildInputs = [ brscan4 ];
|
||||||
|
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
TARGET_DIR="$out/etc/opt/brother/scanner/brscan4"
|
TARGET_DIR="$out/etc/opt/brother/scanner/brscan4"
|
||||||
|
@ -149,7 +149,7 @@ let
|
|||||||
name = "gitlab-rake";
|
name = "gitlab-rake";
|
||||||
buildInputs = [ pkgs.makeWrapper ];
|
buildInputs = [ pkgs.makeWrapper ];
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
makeWrapper ${cfg.packages.gitlab.rubyEnv}/bin/rake $out/bin/gitlab-rake \
|
makeWrapper ${cfg.packages.gitlab.rubyEnv}/bin/rake $out/bin/gitlab-rake \
|
||||||
@ -164,7 +164,7 @@ let
|
|||||||
name = "gitlab-rails";
|
name = "gitlab-rails";
|
||||||
buildInputs = [ pkgs.makeWrapper ];
|
buildInputs = [ pkgs.makeWrapper ];
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
makeWrapper ${cfg.packages.gitlab.rubyEnv}/bin/rails $out/bin/gitlab-rails \
|
makeWrapper ${cfg.packages.gitlab.rubyEnv}/bin/rails $out/bin/gitlab-rails \
|
||||||
|
@ -12,7 +12,7 @@ let
|
|||||||
|
|
||||||
defaultCollectionCgi = config.services.collectd.package.overrideDerivation(old: {
|
defaultCollectionCgi = config.services.collectd.package.overrideDerivation(old: {
|
||||||
name = "collection.cgi";
|
name = "collection.cgi";
|
||||||
configurePhase = "true";
|
dontConfigure = true;
|
||||||
buildPhase = "true";
|
buildPhase = "true";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
substituteInPlace contrib/collection.cgi --replace '"/etc/collection.conf"' '$ENV{COLLECTION_CONF}'
|
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
|
# The path to the an initialized version of the database
|
||||||
db = pkgs.stdenv.mkDerivation {
|
db = pkgs.stdenv.mkDerivation {
|
||||||
name = "vswitch.db";
|
name = "vswitch.db";
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
buildPhase = "true";
|
buildPhase = "true";
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
cfg.package
|
cfg.package
|
||||||
|
@ -17,7 +17,7 @@ let
|
|||||||
|
|
||||||
createTrivialProject = pkgs.stdenv.mkDerivation {
|
createTrivialProject = pkgs.stdenv.mkDerivation {
|
||||||
name = "create-trivial-project";
|
name = "create-trivial-project";
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
buildInputs = [ pkgs.makeWrapper ];
|
buildInputs = [ pkgs.makeWrapper ];
|
||||||
installPhase = "install -m755 -D ${./create-trivial-project.sh} $out/bin/create-trivial-project.sh";
|
installPhase = "install -m755 -D ${./create-trivial-project.sh} $out/bin/create-trivial-project.sh";
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
|
@ -5,7 +5,7 @@ let
|
|||||||
name = emacs.name + "-sources";
|
name = emacs.name + "-sources";
|
||||||
src = emacs.src;
|
src = emacs.src;
|
||||||
|
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
fixupPhase = ":";
|
fixupPhase = ":";
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ emacs ];
|
buildInputs = [ emacs ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/share/emacs/site-lisp"
|
mkdir -p "$out/share/emacs/site-lisp"
|
||||||
|
@ -11,8 +11,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ emacs ];
|
buildInputs = [ emacs ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
configurePhase = "true";
|
dontConfigure = true;
|
||||||
installPhase = "true";
|
installPhase = "true";
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
|
|||||||
pname = "stgit";
|
pname = "stgit";
|
||||||
name = "${pname}-2009-10-28";
|
name = "${pname}-2009-10-28";
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/miracle2k/stgit/master/contrib/stgit.el";
|
url = "https://raw.githubusercontent.com/miracle2k/stgit/master/contrib/stgit.el";
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "zeitgeist-20120221";
|
name = "zeitgeist-20120221";
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/alexmurray/dotfiles/master/.emacs.d/vendor/zeitgeist.el";
|
url = "https://raw.githubusercontent.com/alexmurray/dotfiles/master/.emacs.d/vendor/zeitgeist.el";
|
||||||
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ appimage-run ];
|
buildInputs = [ appimage-run ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/{bin,share}
|
mkdir -p $out/{bin,share}
|
||||||
|
@ -11,7 +11,7 @@ in
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "yi-custom-${version}";
|
name = "yi-custom-${version}";
|
||||||
version = "0.0.0.1";
|
version = "0.0.0.1";
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
|
@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
|
|||||||
name = "graphicsmagick-imagemagick-compat-${version}";
|
name = "graphicsmagick-imagemagick-compat-${version}";
|
||||||
inherit (graphicsmagick) version;
|
inherit (graphicsmagick) version;
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
buildPhase = "true";
|
buildPhase = "true";
|
||||||
|
|
||||||
utils = [
|
utils = [
|
||||||
|
@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
|
|||||||
buildInputs = with stdenv.lib;
|
buildInputs = with stdenv.lib;
|
||||||
[ pkgconfig gettext python gtk2 pygtk dbus-python gdk_pixbuf upower makeWrapper ];
|
[ pkgconfig gettext python gtk2 pygtk dbus-python gdk_pixbuf upower makeWrapper ];
|
||||||
|
|
||||||
configurePhase = "true";
|
dontConfigure = true;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
python setup.py build
|
python setup.py build
|
||||||
@ -44,7 +44,7 @@ in stdenv.mkDerivation rec {
|
|||||||
license = licenses.lgpl2Plus;
|
license = licenses.lgpl2Plus;
|
||||||
maintainers = [ maintainers.AndersonTorres ];
|
maintainers = [ maintainers.AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
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" ""
|
substituteInPlace man/Makefile --replace "man4" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = "true";
|
dontConfigure = true;
|
||||||
|
|
||||||
GMAKE_NOWARN = true;
|
GMAKE_NOWARN = true;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
jarfile = "$out/share/java/${pname}/JBidwatcher.jar";
|
jarfile = "$out/share/java/${pname}/JBidwatcher.jar";
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ perl ]; # for pod2man
|
nativeBuildInputs = [ perl ]; # for pod2man
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
@ -77,7 +77,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ tor-browser-unwrapped tor ];
|
buildInputs = [ tor-browser-unwrapped tor ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
buildPhase = ":";
|
buildPhase = ":";
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
sha256 = "1fzspdiwhjabwz1yxb3gzj7giz9jbc1xxm65i93rvhzcp537cs42";
|
sha256 = "1fzspdiwhjabwz1yxb3gzj7giz9jbc1xxm65i93rvhzcp537cs42";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -m 444 -D $src "$out/$extid.xpi"
|
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)
|
# perform fake build to make a fixed-output derivation of dependencies downloaded from maven central (~100Mb in ~3000 files)
|
||||||
fetched-maven-deps = stdenv.mkDerivation {
|
fetched-maven-deps = stdenv.mkDerivation {
|
||||||
name = "hadoop-${version}-maven-deps";
|
name = "hadoop-${version}-maven-deps";
|
||||||
inherit src postUnpack nativeBuildInputs buildInputs configurePhase;
|
inherit src postUnpack nativeBuildInputs buildInputs;
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
while mvn package -Dmaven.repo.local=$out/.m2 ${mavenFlags} -Dmaven.wagon.rto=5000; [ $? = 1 ]; do
|
while mvn package -Dmaven.repo.local=$out/.m2 ${mavenFlags} -Dmaven.wagon.rto=5000; [ $? = 1 ]; do
|
||||||
echo "timeout, restart maven to continue downloading"
|
echo "timeout, restart maven to continue downloading"
|
||||||
@ -51,7 +51,7 @@ let
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
configurePhase = "true"; # do not trigger cmake hook
|
dontConfigure = true; # do not trigger cmake hook
|
||||||
mavenFlags = "-Drequire.snappy -Drequire.bzip2 -DskipTests -Pdist,native -e";
|
mavenFlags = "-Drequire.snappy -Drequire.bzip2 -DskipTests -Pdist,native -e";
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
# 'maven.repo.local' must be writable
|
# 'maven.repo.local' must be writable
|
||||||
|
@ -29,7 +29,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
dontWrapGApps = true; # we only want $gappsWrapperArgs here
|
dontWrapGApps = true; # we only want $gappsWrapperArgs here
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
makeWrapper ${sencha-bare}/sencha $out/bin/sencha
|
makeWrapper ${sencha-bare}/sencha $out/bin/sencha
|
||||||
|
@ -77,7 +77,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ dpkg ];
|
buildInputs = [ dpkg ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
dpkg -x $src $out
|
dpkg -x $src $out
|
||||||
|
@ -13,7 +13,7 @@ in stdenv.mkDerivation {
|
|||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
|
@ -68,7 +68,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
dpkg -x $src $out
|
dpkg -x $src $out
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ dpkg makeWrapper ];
|
buildInputs = [ dpkg makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
libPath = stdenv.lib.makeLibraryPath [
|
libPath = stdenv.lib.makeLibraryPath [
|
||||||
alsaLib
|
alsaLib
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "jnetmap-${version}";
|
name = "jnetmap-${version}";
|
||||||
version = "0.5.4";
|
version = "0.5.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/jnetmap/jNetMap%20${version}/jNetMap-${version}.jar";
|
url = "mirror://sourceforge/project/jnetmap/jNetMap%20${version}/jNetMap-${version}.jar";
|
||||||
sha256 = "0nxsfa600jhazwbabxmr9j37mhwysp0fyrvczhv3f1smiy8rjanl";
|
sha256 = "0nxsfa600jhazwbabxmr9j37mhwysp0fyrvczhv3f1smiy8rjanl";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ jre makeWrapper ];
|
buildInputs = [ jre makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Skip configure and build phases.
|
# Skip configure and build phases.
|
||||||
# We just want something from the support directory
|
# We just want something from the support directory
|
||||||
configurePhase = "true";
|
dontConfigure = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ makeWrapper jdk wrapGAppsHook gtk3 gsettings-desktop-schemas ];
|
buildInputs = [ makeWrapper jdk wrapGAppsHook gtk3 gsettings-desktop-schemas ];
|
||||||
|
|
||||||
unpackPhase = "#";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/java $out/share/icons
|
mkdir -p $out/bin $out/share/java $out/share/icons
|
||||||
|
@ -103,7 +103,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
propagatedUserEnvPkgs = [ gconf ];
|
propagatedUserEnvPkgs = [ gconf ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
dpkg-deb -x $src $out
|
dpkg-deb -x $src $out
|
||||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
sage-with-env
|
sage-with-env
|
||||||
];
|
];
|
||||||
|
|
||||||
unpackPhase = "#do nothing";
|
dontUnpack = true;
|
||||||
configurePhase = "#do nothing";
|
configurePhase = "#do nothing";
|
||||||
buildPhase = "#do nothing";
|
buildPhase = "#do nothing";
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
# A wrapper that makes sure sage finds its docs (if they were build) and the
|
# A wrapper that makes sure sage finds its docs (if they were build) and the
|
||||||
# jupyter kernel spec.
|
# jupyter kernel spec.
|
||||||
|
|
||||||
let
|
let
|
||||||
# generate kernel spec + default kernels
|
# generate kernel spec + default kernels
|
||||||
kernel-specs = jupyter-kernel.create {
|
kernel-specs = jupyter-kernel.create {
|
||||||
definitions = jupyter-kernel.default // {
|
definitions = jupyter-kernel.default // {
|
||||||
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||||||
sage-tests
|
sage-tests
|
||||||
];
|
];
|
||||||
|
|
||||||
unpackPhase = "#do nothing";
|
dontUnpack = true;
|
||||||
configurePhase = "#do nothing";
|
configurePhase = "#do nothing";
|
||||||
buildPhase = "#do nothing";
|
buildPhase = "#do nothing";
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ perl ];
|
buildInputs = [ perl ];
|
||||||
|
|
||||||
configurePhase = "true"; # skip configure
|
dontConfigure = true; # skip configure
|
||||||
|
|
||||||
installPhase = "make prefix=$out install";
|
installPhase = "make prefix=$out install";
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -vD ${./nix-prefetch-docker} $out/bin/$name;
|
install -vD ${./nix-prefetch-docker} $out/bin/$name;
|
||||||
|
@ -3,7 +3,7 @@ let cargo-vendor-normalise = stdenv.mkDerivation {
|
|||||||
name = "cargo-vendor-normalise";
|
name = "cargo-vendor-normalise";
|
||||||
src = ./cargo-vendor-normalise.py;
|
src = ./cargo-vendor-normalise.py;
|
||||||
nativeBuildInputs = [ python3.pkgs.wrapPython ];
|
nativeBuildInputs = [ python3.pkgs.wrapPython ];
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
installPhase = "install -D $src $out/bin/cargo-vendor-normalise";
|
installPhase = "install -D $src $out/bin/cargo-vendor-normalise";
|
||||||
pythonPath = [ python3.pkgs.toml ];
|
pythonPath = [ python3.pkgs.toml ];
|
||||||
postFixup = "wrapPythonPrograms";
|
postFixup = "wrapPythonPrograms";
|
||||||
|
@ -5,7 +5,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
find $srcs -name '*.ttf' -exec install -m644 -Dt $out/share/fonts/truetype/migmix {} \;
|
find $srcs -name '*.ttf' -exec install -m644 -Dt $out/share/fonts/truetype/migmix {} \;
|
||||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
find $srcs -name '*.ttf' | xargs install -m644 --target $out/share/fonts/truetype/migu -D
|
find $srcs -name '*.ttf' | xargs install -m644 --target $out/share/fonts/truetype/migu -D
|
||||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/fonts/opentype
|
mkdir -p $out/share/fonts/opentype
|
||||||
|
@ -6,7 +6,7 @@ let
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit name src;
|
inherit name src;
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/artwork/gnome
|
mkdir -p $out/share/artwork/gnome
|
||||||
|
@ -17,7 +17,7 @@ in
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "docbook-sgml-3.1";
|
name = "docbook-sgml-3.1";
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ in
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "docbook-sgml-4.1";
|
name = "docbook-sgml-4.1";
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ in
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "dotty-${dotty-bare.version}";
|
name = "dotty-${dotty-bare.version}";
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -pv $out/bin
|
mkdir -pv $out/bin
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ makeWrapper jdk ];
|
buildInputs = [ makeWrapper jdk ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
''
|
''
|
||||||
|
@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation {
|
|||||||
|
|
||||||
src = null;
|
src = null;
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
|
@ -86,5 +86,5 @@ stdenv.mkDerivation (rec {
|
|||||||
export CHOST=${stdenv.hostPlatform.config}
|
export CHOST=${stdenv.hostPlatform.config}
|
||||||
'';
|
'';
|
||||||
} // stdenv.lib.optionalAttrs (stdenv.hostPlatform.libc == "msvcrt") {
|
} // stdenv.lib.optionalAttrs (stdenv.hostPlatform.libc == "msvcrt") {
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
})
|
})
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ocaml findlib];
|
buildInputs = [ocaml findlib];
|
||||||
|
|
||||||
configurePhase = "true"; # Skip configure phase
|
dontConfigure = true; # Skip configure phase
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "gcc" "\$(CC)"
|
--replace "gcc" "\$(CC)"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = "true"; # Skip configure
|
dontConfigure = true; # Skip configure
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make all allopt
|
make all allopt
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
configurePhase = "true"; # Skip configure
|
dontConfigure = true; # Skip configure
|
||||||
# De facto, option minimal=1 seems to be the default. See the README.
|
# De facto, option minimal=1 seems to be the default. See the README.
|
||||||
buildPhase = "make ${if minimal then "minimal=1" else ""} build";
|
buildPhase = "make ${if minimal then "minimal=1" else ""} build";
|
||||||
installPhase = "make ${if minimal then "minimal=1" else ""} install";
|
installPhase = "make ${if minimal then "minimal=1" else ""} install";
|
||||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
|||||||
substituteInPlace Makefile --replace "SHELL=/bin/bash" "SHELL=$BASH"
|
substituteInPlace Makefile --replace "SHELL=/bin/bash" "SHELL=$BASH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = "true"; # Skip configure phase
|
dontConfigure = true; # Skip configure phase
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make all opt
|
make all opt
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
configurePhase = "true"; # Skip configure phase
|
dontConfigure = true; # Skip configure phase
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://bitbucket.org/mmottl/pcre-ocaml;
|
homepage = https://bitbucket.org/mmottl/pcre-ocaml;
|
||||||
|
@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
|
|||||||
version = "1.0";
|
version = "1.0";
|
||||||
name = "pharo-share-${version}";
|
name = "pharo-share-${version}";
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
sources10Zip = fetchurl {
|
sources10Zip = fetchurl {
|
||||||
url = http://files.pharo.org/sources/PharoV10.sources.zip;
|
url = http://files.pharo.org/sources/PharoV10.sources.zip;
|
||||||
|
@ -21,7 +21,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ python ];
|
buildInputs = [ python ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
dest="$out/lib/${python.libPrefix}/site-packages/distutils"
|
dest="$out/lib/${python.libPrefix}/site-packages/distutils"
|
||||||
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
|||||||
version = "1.0";
|
version = "1.0";
|
||||||
name = pname + "-" + version;
|
name = pname + "-" + version;
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
buildInputs = [ python ];
|
buildInputs = [ python ];
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ jre ];
|
buildInputs = [ jre ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
JARNAME = "${name}-standalone.jar";
|
JARNAME = "${name}-standalone.jar";
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
propagatedBuildInputs = [ jdk ];
|
propagatedBuildInputs = [ jdk ];
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ in
|
|||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "clang-tools-${version}";
|
name = "clang-tools-${version}";
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
for tool in \
|
for tool in \
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0ph1l62hy163m2hgybhkccqbcj6brna1vdbr7536zc37lzjxq9rn";
|
sha256 = "0ph1l62hy163m2hgybhkccqbcj6brna1vdbr7536zc37lzjxq9rn";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
jre
|
jre
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1hsvi8wjh615fnjf75h7b5afp04chqcgvini30vfcn3m9a5icbgy";
|
sha256 = "1hsvi8wjh615fnjf75h7b5afp04chqcgvini30vfcn3m9a5icbgy";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
buildPhase = ":";
|
buildPhase = ":";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/java
|
mkdir -p $out/bin $out/share/java
|
||||||
|
@ -7,7 +7,7 @@ let
|
|||||||
bin2c = stdenv.mkDerivation {
|
bin2c = stdenv.mkDerivation {
|
||||||
name = "bossa-bin2c";
|
name = "bossa-bin2c";
|
||||||
src = ./bin2c.c;
|
src = ./bin2c.c;
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
buildPhase = ''cc $src -o bin2c'';
|
buildPhase = ''cc $src -o bin2c'';
|
||||||
installPhase = ''mkdir -p $out/bin; cp bin2c $out/bin/'';
|
installPhase = ''mkdir -p $out/bin; cp bin2c $out/bin/'';
|
||||||
};
|
};
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ perl ];
|
buildInputs = [ perl ];
|
||||||
|
|
||||||
# The link returns directly the script. No need for unpacking
|
# The link returns directly the script. No need for unpacking
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -D -m755 $src $out/bin/checkbashisms
|
install -D -m755 $src $out/bin/checkbashisms
|
||||||
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
${python.interpreter} build.py --system-libclang --clang-completer --system-boost
|
${python.interpreter} build.py --system-libclang --clang-completer --system-boost
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
|
|
||||||
# remove the tests
|
# remove the tests
|
||||||
#
|
#
|
||||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1xqbam8vf04q5fasb0m2n1pn5dbp2yw763sj492ncq04c5mqcglx";
|
sha256 = "1xqbam8vf04q5fasb0m2n1pn5dbp2yw763sj492ncq04c5mqcglx";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out"/{lib/antlr,bin}
|
mkdir -p "$out"/{lib/antlr,bin}
|
||||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0srjwxipwsfzmpi0v32d1l5lzk9gi5in8ayg33sq8wyp8ygnbji6";
|
sha256 = "0srjwxipwsfzmpi0v32d1l5lzk9gi5in8ayg33sq8wyp8ygnbji6";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out"/{lib/antlr,bin}
|
mkdir -p "$out"/{lib/antlr,bin}
|
||||||
|
@ -41,7 +41,7 @@ let
|
|||||||
sha256 = "1236gwnzchama92apb2swmklnypj01m7bdwwfvwvl8ym85scw7gl";
|
sha256 = "1236gwnzchama92apb2swmklnypj01m7bdwwfvwvl8ym85scw7gl";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out"/{share/java,bin}
|
mkdir -p "$out"/{share/java,bin}
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1sd3cwpamcbq9pv0mvcm8x6minqrlb4i0r12q3jg91girqswm2dp";
|
sha256 = "1sd3cwpamcbq9pv0mvcm8x6minqrlb4i0r12q3jg91girqswm2dp";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = "install -D $src $out/share/lib/${name}/${name}.jar";
|
installPhase = "install -D $src $out/share/lib/${name}/${name}.jar";
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
inherit name;
|
inherit name;
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
buildInputs = [ jdk makeWrapper ];
|
buildInputs = [ jdk makeWrapper ];
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "11v340nm8vzqc2bkmbjfm9a7j4dj0bi9bfk8wdpfan0fb8prf772";
|
sha256 = "11v340nm8vzqc2bkmbjfm9a7j4dj0bi9bfk8wdpfan0fb8prf772";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
buildInputs = [ jre makeWrapper ];
|
buildInputs = [ jre makeWrapper ];
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
# colon is bash form of no-op (do nothing)
|
# colon is bash form of no-op (do nothing)
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/runelite
|
mkdir -p $out/share/runelite
|
||||||
|
@ -70,7 +70,7 @@ let
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "simutrans-${pakName}";
|
name = "simutrans-${pakName}";
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
installPhase = let src = fetchurl { inherit url sha256; };
|
installPhase = let src = fetchurl { inherit url sha256; };
|
||||||
in ''
|
in ''
|
||||||
|
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool autoreconfHook ];
|
nativeBuildInputs = [ pkgconfig intltool autoreconfHook ];
|
||||||
|
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
|
|
||||||
buildPhase = ":";
|
buildPhase = ":";
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
|||||||
Name: libpulse
|
Name: libpulse
|
||||||
Description: PulseAudio Client Interface
|
Description: PulseAudio Client Interface
|
||||||
Version: ${libpulseaudio.version}-rebootstrapped
|
Version: ${libpulseaudio.version}-rebootstrapped
|
||||||
Libs: -L$out/lib -lpulse
|
Libs: -L$out/lib -lpulse
|
||||||
Cflags: -I$out/include -D_REENTRANT
|
Cflags: -I$out/include -D_REENTRANT
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ stdenv.mkDerivation {
|
|||||||
Name: libpulse-simple
|
Name: libpulse-simple
|
||||||
Description: PulseAudio Simplified Synchronous Client Interface
|
Description: PulseAudio Simplified Synchronous Client Interface
|
||||||
Version: ${libpulseaudio.version}-rebootstrapped
|
Version: ${libpulseaudio.version}-rebootstrapped
|
||||||
Libs: -L$out/lib -lpulse-simple
|
Libs: -L$out/lib -lpulse-simple
|
||||||
Cflags: -I$out/include -D_REENTRANT
|
Cflags: -I$out/include -D_REENTRANT
|
||||||
Requires: libpulse
|
Requires: libpulse
|
||||||
EOF
|
EOF
|
||||||
@ -53,7 +53,7 @@ stdenv.mkDerivation {
|
|||||||
Name: libpulse-mainloop-glib
|
Name: libpulse-mainloop-glib
|
||||||
Description: PulseAudio GLib 2.0 Main Loop Wrapper
|
Description: PulseAudio GLib 2.0 Main Loop Wrapper
|
||||||
Version: ${libpulseaudio.version}-rebootstrapped
|
Version: ${libpulseaudio.version}-rebootstrapped
|
||||||
Libs: -L$out/lib -lpulse-mainloop-glib
|
Libs: -L$out/lib -lpulse-mainloop-glib
|
||||||
Cflags: -I$out/include -D_REENTRANT
|
Cflags: -I$out/include -D_REENTRANT
|
||||||
Requires: libpulse glib-2.0
|
Requires: libpulse glib-2.0
|
||||||
EOF
|
EOF
|
||||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ cups ghostscript dpkg a2ps ];
|
buildInputs = [ cups ghostscript dpkg a2ps ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
dpkg-deb -x $src $out
|
dpkg-deb -x $src $out
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ cups ghostscript dpkg a2ps ];
|
buildInputs = [ cups ghostscript dpkg a2ps ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
dpkg-deb -x $src $out
|
dpkg-deb -x $src $out
|
||||||
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ cups ghostscript dpkg a2ps ];
|
buildInputs = [ cups ghostscript dpkg a2ps ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
brprintconf_mfcj6510dw_script = ''
|
brprintconf_mfcj6510dw_script = ''
|
||||||
#!${runtimeShell}
|
#!${runtimeShell}
|
||||||
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||||||
name = "ccemux-${version}";
|
name = "ccemux-${version}";
|
||||||
|
|
||||||
src = jar;
|
src = jar;
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ jre ];
|
buildInputs = [ jre ];
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
buildPhase = "cc -o nmon ${src} -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -lm -g -D X86";
|
buildPhase = "cc -o nmon ${src} -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -lm -g -D X86";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
@ -34,7 +34,7 @@ let
|
|||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
name = "rfkill-udev";
|
name = "rfkill-udev";
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ asciidoc libxslt ];
|
buildInputs = [ asciidoc libxslt ];
|
||||||
|
|
||||||
configurePhase = "true";
|
dontConfigure = true;
|
||||||
buildPhase = "make prefix=$out MANPAGE_DOCBOOK_XSL=${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl all doc";
|
buildPhase = "make prefix=$out MANPAGE_DOCBOOK_XSL=${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl all doc";
|
||||||
installPhase = "make prefix=$out install install_doc";
|
installPhase = "make prefix=$out install install_doc";
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ let
|
|||||||
sha256 = "14mc7gsnnahdjaxbbslzk79rc0d12h1i681cd3srdwr3fzynlar2";
|
sha256 = "14mc7gsnnahdjaxbbslzk79rc0d12h1i681cd3srdwr3fzynlar2";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
buildPhase = ":";
|
buildPhase = ":";
|
||||||
installPhase = "mkdir -p $out/include && cp -R boost $out/include/";
|
installPhase = "mkdir -p $out/include && cp -R boost $out/include/";
|
||||||
};
|
};
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
makeWrapper ${jre}/bin/java $out/bin/metabase --add-flags "-jar $src"
|
makeWrapper ${jre}/bin/java $out/bin/metabase --add-flags "-jar $src"
|
||||||
|
@ -16,7 +16,7 @@ let
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (a // {
|
stdenv.mkDerivation (a // {
|
||||||
inherit installPhase;
|
inherit installPhase;
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
buildInputs = [ unzip ];
|
buildInputs = [ unzip ];
|
||||||
meta = a.meta // {
|
meta = a.meta // {
|
||||||
platforms = elasticsearch.meta.platforms;
|
platforms = elasticsearch.meta.platforms;
|
||||||
|
@ -1283,6 +1283,8 @@ genericBuild() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for curPhase in $phases; do
|
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" = buildPhase && -n "${dontBuild:-}" ]]; then continue; fi
|
||||||
if [[ "$curPhase" = checkPhase && -z "${doCheck:-}" ]]; then continue; fi
|
if [[ "$curPhase" = checkPhase && -z "${doCheck:-}" ]]; then continue; fi
|
||||||
if [[ "$curPhase" = installPhase && -n "${dontInstall:-}" ]]; then continue; fi
|
if [[ "$curPhase" = installPhase && -n "${dontInstall:-}" ]]; then continue; fi
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
let
|
let
|
||||||
bad-shebang = stdenv.mkDerivation {
|
bad-shebang = stdenv.mkDerivation {
|
||||||
name = "bad-shebang";
|
name = "bad-shebang";
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
echo "#!/bin/sh" > $out/bin/test
|
echo "#!/bin/sh" > $out/bin/test
|
||||||
@ -23,4 +23,4 @@ in runCommand "patch-shebangs-test" {
|
|||||||
echo "no" >&2
|
echo "no" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
''
|
''
|
||||||
|
@ -4,7 +4,7 @@ let
|
|||||||
foo = stdenv.mkDerivation {
|
foo = stdenv.mkDerivation {
|
||||||
name = "foo-test";
|
name = "foo-test";
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/include $out/lib
|
mkdir -p $out/bin $out/include $out/lib
|
||||||
@ -22,7 +22,7 @@ let
|
|||||||
name = "bar-test";
|
name = "bar-test";
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $dev/include $dev/lib
|
mkdir -p $out/bin $dev/include $dev/lib
|
||||||
|
@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
|
|||||||
name = "unp_2.0_pre7+nmu1.tar.bz2";
|
name = "unp_2.0_pre7+nmu1.tar.bz2";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = "true";
|
dontConfigure = true;
|
||||||
buildPhase = "true";
|
buildPhase = "true";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1d1ai062kdms34bya9dlykkx011rj8d8nh5l7d76xj8k9kv4ssq6";
|
sha256 = "1d1ai062kdms34bya9dlykkx011rj8d8nh5l7d76xj8k9kv4ssq6";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "true;";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/bin" "$out/${python3.sitePackages}/"
|
mkdir -p "$out/bin" "$out/${python3.sitePackages}/"
|
||||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ ruby ];
|
buildInputs = [ ruby ];
|
||||||
|
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ libX11 libGL ];
|
buildInputs = [ libX11 libGL ];
|
||||||
|
|
||||||
configurePhase = "true";
|
dontConfigure = true;
|
||||||
|
|
||||||
buildPhase = "
|
buildPhase = "
|
||||||
$CC src/xdemos/{glxinfo.c,glinfo_common.c} -o glxinfo -lGL -lX11
|
$CC src/xdemos/{glxinfo.c,glinfo_common.c} -o glxinfo -lGL -lX11
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ qmake ];
|
nativeBuildInputs = [ qmake ];
|
||||||
buildInputs = [ qtbase ];
|
buildInputs = [ qtbase ];
|
||||||
|
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0fzxvvf5dqyrs5m9rqw4ffm9h1s27bi7q3jb1dam34s80q2rp2zq";
|
sha256 = "0fzxvvf5dqyrs5m9rqw4ffm9h1s27bi7q3jb1dam34s80q2rp2zq";
|
||||||
};
|
};
|
||||||
inherit jre;
|
inherit jre;
|
||||||
unpackPhase = ''true'';
|
dontUnpack = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/lib/java" "$out/bin"
|
mkdir -p "$out/lib/java" "$out/bin"
|
||||||
cp "${core_jar}" "${javase_jar}" "$out/lib/java"
|
cp "${core_jar}" "${javase_jar}" "$out/lib/java"
|
||||||
|
@ -33,7 +33,7 @@ let
|
|||||||
};
|
};
|
||||||
emojiData = stdenv.mkDerivation {
|
emojiData = stdenv.mkDerivation {
|
||||||
name = "emoji-data-5.0";
|
name = "emoji-data-5.0";
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
${builtins.toString (flip mapAttrsToList emojiSrcs (k: v: "cp ${v} $out/emoji-${k}.txt;"))}
|
${builtins.toString (flip mapAttrsToList emojiSrcs (k: v: "cp ${v} $out/emoji-${k}.txt;"))}
|
||||||
@ -62,7 +62,7 @@ let
|
|||||||
};
|
};
|
||||||
ucd = stdenv.mkDerivation rec {
|
ucd = stdenv.mkDerivation rec {
|
||||||
name = "ucd-12.0.0";
|
name = "ucd-12.0.0";
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
${builtins.toString (flip mapAttrsToList ucdSrcs (k: v: "cp ${v} $out/${k}.txt;"))}
|
${builtins.toString (flip mapAttrsToList ucdSrcs (k: v: "cp ${v} $out/${k}.txt;"))}
|
||||||
|
@ -14,7 +14,7 @@ let
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (a // {
|
stdenv.mkDerivation (a // {
|
||||||
inherit installPhase;
|
inherit installPhase;
|
||||||
unpackPhase = "true";
|
dontUnpack = true;
|
||||||
buildInputs = [ unzip ];
|
buildInputs = [ unzip ];
|
||||||
meta = a.meta // {
|
meta = a.meta // {
|
||||||
platforms = graylog.meta.platforms;
|
platforms = graylog.meta.platforms;
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake javac ];
|
nativeBuildInputs = [ cmake javac ];
|
||||||
|
|
||||||
configurePhase = "true";
|
dontConfigure = true;
|
||||||
buildPhase = "./build-hdfjava-unix.sh";
|
buildPhase = "./build-hdfjava-unix.sh";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user