mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
bcb6e407ea
svn path=/nixpkgs/trunk/; revision=19906
14 lines
453 B
Bash
14 lines
453 B
Bash
source $stdenv/setup
|
|
|
|
myPatchPhase()
|
|
{
|
|
for i in printer-applet/cmake-modules/FindSystemConfigPrinter.py printer-applet/printer-applet.py
|
|
do
|
|
sed -i -e "s|/usr/share/system-config-printer|$system_config_printer/share/system-config-printer|" $i
|
|
done
|
|
|
|
sed -i -e "s|import cupshelpers.ppds, cupshelpers.cupshelpers|import ppds, cupshelpers|" printer-applet/cmake-modules/FindSystemConfigPrinter.py
|
|
}
|
|
patchPhase=myPatchPhase
|
|
genericBuild
|