Merge pull request #132468 from Stunkymonkey/applications-phases1

This commit is contained in:
Sandro 2021-08-05 09:37:57 +02:00 committed by GitHub
commit 04b5e62d8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 13 additions and 23 deletions

View file

@ -89,8 +89,6 @@ stdenv.mkDerivation {
src = fetchurl { inherit (source) url sha256; };
phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ];
libPath = lib.makeLibraryPath
[ stdenv.cc.cc
alsa-lib

View file

@ -75,8 +75,6 @@ stdenv.mkDerivation {
inherit (source) sha256;
};
phases = "unpackPhase installPhase";
libPath = lib.makeLibraryPath
[ stdenv.cc.cc
alsa-lib

View file

@ -61,7 +61,7 @@ in stdenv.mkDerivation {
jars = freenet-jars;
phases = [ "installPhase" ];
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin

View file

@ -32,7 +32,8 @@ python3Packages.buildPythonApplication rec {
] ++
lib.optional useGeoIP GeoIP;
phases = [ "unpackPhase" "installPhase" ];
dontBuild = true;
doCheck = false;
makeWrapperArgs = ["--prefix PATH : ${wrapperPath}"];

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
phases = [ "installPhase" ];
dontUnpack = true;
installPhase = ''
mkdir -p $out/libexec/picard

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
phases = [ "installPhase" ];
dontUnpack = true;
installPhase = ''
mkdir -p $out/libexec/varscan

View file

@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
libX11 libXext libXi
];
phases = [ "installPhase" ];
dontUnpack = true;
# NOTES:
# Eagle for Linux comes as a self-extracting shell script with embedded

View file

@ -48,8 +48,6 @@ stdenv.mkDerivation {
done
'';
phases = "unpackPhase installPhase fixupPhase";
meta = {
description = "Tools for software verification and analysis";
homepage = "https://saw.galois.com";

View file

@ -39,8 +39,6 @@ stdenv.mkDerivation {
xorg.libXxf86vm
];
phases = [ "unpackPhase" "fixupPhase" "installPhase" ];
fixupPhase = ''
sed -i 's|\$(/bin/|$(|g' bin/scilab
sed -i 's|/usr/bin/||g' bin/scilab

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
phases = [ "installPhase" ];
dontUnpack = true;
installPhase = ''
mkdir -p $out/libexec/quantomatic

View file

@ -18,7 +18,7 @@ in
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
phases = "installPhase";
dontUnpack = true;
installPhase = ''
mkdir -p $out/share/java

View file

@ -14,8 +14,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
installPhase = ''
mkdir -p $out/bin
cp git-annex-remote-rclone $out/bin

View file

@ -83,7 +83,7 @@ in stdenv.mkDerivation (rec {
inherit pname;
version = buildVersion;
phases = [ "installPhase" ];
dontUnpack = true;
${primaryBinary} = binaryPackage;

View file

@ -27,7 +27,7 @@ let
# FIXME: This should be removed when a complete fix is available
# https://github.com/svanderburg/node2nix/issues/145
name = "workaround-opencollective-buildfailures";
phases = [ "installPhase" ];
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
touch $out/bin/opencollective-postinstall

View file

@ -63,7 +63,6 @@
url = "https://raw.githubusercontent.com/webtorrent/webtorrent-desktop/v${version}/static/linux/share/icons/hicolor/48x48/apps/webtorrent-desktop.png";
sha256 = "00y96w9shbbrdbf6xcjlahqd08154kkrxmqraik7qshiwcqpw7p4";
};
phases = [ "unpackPhase" "installPhase" ];
nativeBuildInputs = [ dpkg ];
installPhase = ''
mkdir -p $out/share/{applications,icons/hicolor/{48x48,256x256}/apps}

View file

@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "win-qemu-0.1.105-1";
version = "0.1.105-1";
phases = [ "buildPhase" "installPhase" ];
dontUnpack = true;
src = fetchurl {
url = "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.105-1/virtio-win.iso";

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation {
name = "gplpv-0.11.0.373";
version = "0.11.0.373";
phases = [ "buildPhase" "installPhase" ];
dontUnpack = true;
buildPhase = ''
mkdir -p x86

View file

@ -3,7 +3,7 @@ stdenv.mkDerivation rec {
pname = "win-virtio";
version = "0.1.196-1";
phases = [ "buildPhase" "installPhase" ];
dontUnpack = true;
src = fetchurl {
url = "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-${version}/virtio-win.iso";