1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00

Merge pull request #119228 from mkg20001/mslink-darwin

mslink: fix darwin build
This commit is contained in:
Robert Hensing 2021-07-03 11:27:32 +02:00 committed by GitHub
commit e0d0aca6ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,9 @@
{ stdenv
{ gccStdenv
, lib
, fetchurl
}:
stdenv.mkDerivation rec {
gccStdenv.mkDerivation rec {
pname = "mslink";
version = "1.3";
@ -17,6 +17,9 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
if [[ "$(uname)" == "Darwin" ]]; then
mv mslink.exe mslink
fi
install -D mslink $out/bin/mslink
'';