Create a symbolic link to cups/lib so that gutenprintBin can be specified as a driver in services.printing.drivers in /etc/nixos/configuration.nix

This commit is contained in:
Ambrus Kaposi 2012-11-29 14:07:50 +00:00 committed by Eelco Dolstra
parent 3899bd04fd
commit 0fc2fd5bfb

View File

@ -56,6 +56,9 @@ stdenv.mkDerivation {
patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
--set-rpath $libPath $p
done
mkdir $out/lib
ln -s $out/cups/lib $out/lib/cups
'';
meta = {