gitkraken: clean-up
This commit is contained in:
parent
a381ee89cd
commit
4f9e590c06
@ -49,14 +49,16 @@ stdenv.mkDerivation rec {
|
|||||||
libgnome_keyring
|
libgnome_keyring
|
||||||
];
|
];
|
||||||
|
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/opt/gitkraken"
|
mkdir -p "$out/opt/gitkraken"
|
||||||
cp -r ./* "$out/opt/gitkraken"
|
cp -r ./* "$out/opt/gitkraken"
|
||||||
fixupPhase
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||||
--set-rpath "$libPath:$out/opt/gitkraken" "$out/opt/gitkraken/gitkraken"
|
--set-rpath "$libPath:$out/opt/gitkraken" "$out/opt/gitkraken/gitkraken"
|
||||||
wrapProgram $out/opt/gitkraken/gitkraken \
|
wrapProgram $out/opt/gitkraken/gitkraken \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user