diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-03-03 18:51:40 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-03-03 19:19:08 +0700 |
commit | 9ef6fe63be0d3baa269d534b622667bf4ea66515 (patch) | |
tree | 37d6d114d2ce84ecc67cc4a21611b2da24919290 /pkgs/development/compilers/rasm | |
parent | a0061df00535d3a90063378ede80cfc8ba44c909 (diff) |
rasm: fix darwin build
Diffstat (limited to 'pkgs/development/compilers/rasm')
-rw-r--r-- | pkgs/development/compilers/rasm/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/rasm/default.nix b/pkgs/development/compilers/rasm/default.nix index c2415899f6b45..0feaabc92e624 100644 --- a/pkgs/development/compilers/rasm/default.nix +++ b/pkgs/development/compilers/rasm/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { buildPhase = '' # according to official documentation - cc rasm_v*.c -O2 -lm -lrt -o rasm + ${stdenv.cc.targetPrefix}cc rasm_v*.c -O2 -lm -o rasm ''; installPhase = '' @@ -28,6 +28,6 @@ stdenv.mkDerivation rec { # use -n option to display all licenses license = licenses.mit; # expat version maintainers = [ ]; - platforms = platforms.linux; + platforms = platforms.all; }; } |