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
'';