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:
commit
e0d0aca6ff
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue