mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
heimdall-gui: fix darwin build
This commit is contained in:
parent
21f5dd5c6e
commit
40c346de46
@ -31,7 +31,11 @@ mkDerivation {
|
||||
substituteInPlace libpit/CMakeLists.txt --replace "-std=gnu++11" ""
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
installPhase = lib.optionalString stdenv.isDarwin ''
|
||||
mkdir -p $out/Applications
|
||||
mv bin/heimdall-frontend.app $out/Applications/heimdall-frontend.app
|
||||
wrapQtApp $out/Applications/heimdall-frontend.app/Contents/MacOS/heimdall-frontend
|
||||
'' + ''
|
||||
mkdir -p $out/{bin,share/doc/heimdall,lib/udev/rules.d}
|
||||
install -m755 -t $out/bin bin/*
|
||||
install -m644 -t $out/lib/udev/rules.d ../heimdall/60-heimdall.rules
|
||||
|
Loading…
Reference in New Issue
Block a user