mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
clash-verge: don't hardcode clash-meta
This commit is contained in:
parent
ed15e72bb1
commit
53548c6a89
@ -42,13 +42,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
mkdir -p $out/bin
|
||||
mv usr/* $out
|
||||
rm $out/bin/{clash,clash-meta}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
ln -s ${lib.getExe clash-meta} $out/bin/clash-meta
|
||||
rm -f $out/bin/clash
|
||||
ln -sf ${lib.getExe clash-meta} $out/bin/${clash-meta.meta.mainProgram}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user