diff options
author | Robert Scott <code@humanleg.org.uk> | 2019-12-31 21:22:44 +0000 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2020-01-04 15:08:56 -0600 |
commit | 7766de0a5355b46a189d54bfe9e2aa1c2f30c60f (patch) | |
tree | 161574b534849e4a1a540ed1ab1a44a1c0a1636d /pkgs/development/libraries | |
parent | 48f461d8c3234fc32e99f6253fd01f441c8ac3a6 (diff) | |
download | nixpkgs-7766de0a5355b46a189d54bfe9e2aa1c2f30c60f.tar nixpkgs-7766de0a5355b46a189d54bfe9e2aa1c2f30c60f.tar.gz nixpkgs-7766de0a5355b46a189d54bfe9e2aa1c2f30c60f.tar.bz2 nixpkgs-7766de0a5355b46a189d54bfe9e2aa1c2f30c60f.tar.lz nixpkgs-7766de0a5355b46a189d54bfe9e2aa1c2f30c60f.tar.xz nixpkgs-7766de0a5355b46a189d54bfe9e2aa1c2f30c60f.tar.zst nixpkgs-7766de0a5355b46a189d54bfe9e2aa1c2f30c60f.zip |
unicorn-emu: enable for darwin/unix
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/unicorn-emu/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/unicorn-emu/default.nix b/pkgs/development/libraries/unicorn-emu/default.nix index 96f318ff0ef..7917b695406 100644 --- a/pkgs/development/libraries/unicorn-emu/default.nix +++ b/pkgs/development/libraries/unicorn-emu/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { }; configurePhase = '' patchShebangs make.sh ''; - buildPhase = '' ./make.sh ''; + buildPhase = '' ./make.sh '' + stdenv.lib.optionalString stdenv.isDarwin "macos-universal-no"; installPhase = '' env PREFIX=$out ./make.sh install ''; nativeBuildInputs = [ pkgconfig python ]; @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { description = "Lightweight multi-platform CPU emulator library"; homepage = "http://www.unicorn-engine.org"; license = stdenv.lib.licenses.bsd3; - platforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.unix; maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; }; } |