diff options
author | Dan Peebles <pumpkin@me.com> | 2017-04-06 20:13:23 -0400 |
---|---|---|
committer | Dan Peebles <pumpkin@me.com> | 2017-04-06 20:13:33 -0400 |
commit | aa31d4b803c50d727b24bfd5a24176f067490f9a (patch) | |
tree | 5a093b34583b05a03b865799e11fcd19ec6fe4cc /pkgs/misc | |
parent | bde6e3da6f19f75a2b1f44094fabc7139be63c6d (diff) |
cups: fix on Darwin
Kinda fix, anyway. Enough to proceed with other stuff :)
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/cups/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/misc/cups/default.nix b/pkgs/misc/cups/default.nix index a8f7d00b6b623..1f8e559b41525 100644 --- a/pkgs/misc/cups/default.nix +++ b/pkgs/misc/cups/default.nix @@ -53,6 +53,11 @@ stdenv.mkDerivation rec { "--disable-launchd" ]; + # XXX: Hackery until https://github.com/NixOS/nixpkgs/issues/24693 + preBuild = if stdenv.isDarwin then '' + export DYLD_FRAMEWORK_PATH=/System/Library/Frameworks + '' else null; + installFlags = [ # Don't try to write in /var at build time. "CACHEDIR=$(TMPDIR)/dummy" @@ -109,6 +114,6 @@ stdenv.mkDerivation rec { description = "A standards-based printing system for UNIX"; license = licenses.gpl2; # actually LGPL for the library and GPL for the rest maintainers = with maintainers; [ jgeerds ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } |