diff options
author | Robin Gloster <mail@glob.in> | 2018-11-29 04:58:17 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2018-11-29 04:58:35 +0100 |
commit | adaffa3c0107f38753a32e31985ea7be04c5b8b7 (patch) | |
tree | 07b4975429309b5f5f7b683bb38166e5b2aab970 /pkgs/misc/cups | |
parent | 9111012f7f543bbe5ba06e92105da9c85d086fc4 (diff) | |
download | nixlib-adaffa3c0107f38753a32e31985ea7be04c5b8b7.tar nixlib-adaffa3c0107f38753a32e31985ea7be04c5b8b7.tar.gz nixlib-adaffa3c0107f38753a32e31985ea7be04c5b8b7.tar.bz2 nixlib-adaffa3c0107f38753a32e31985ea7be04c5b8b7.tar.lz nixlib-adaffa3c0107f38753a32e31985ea7be04c5b8b7.tar.xz nixlib-adaffa3c0107f38753a32e31985ea7be04c5b8b7.tar.zst nixlib-adaffa3c0107f38753a32e31985ea7be04c5b8b7.zip |
cups: fix cross
Diffstat (limited to 'pkgs/misc/cups')
-rw-r--r-- | pkgs/misc/cups/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/misc/cups/default.nix b/pkgs/misc/cups/default.nix index 38ad73d01600..227886e126fc 100644 --- a/pkgs/misc/cups/default.nix +++ b/pkgs/misc/cups/default.nix @@ -60,7 +60,9 @@ stdenv.mkDerivation rec { ++ optional (libpaper != null) "--enable-libpaper" ++ optional stdenv.isDarwin "--disable-launchd"; + # AR has to be an absolute path preConfigure = '' + export AR="${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar" configureFlagsArray+=( # Put just lib/* and locale into $lib; this didn't work directly. # lib/cups is moved back to $out in postInstall. |