gpsd: unbreak the build for guiSupport=false
The `rm $out/bin/xgps*` command fails because that file is not there in the first place. Let's change it to `rm -f $out/bin/xgps*` so we can build with `guiSupport=false`.
This commit is contained in:
parent
2d9b7cb5f0
commit
c106fc4ba4
|
@ -109,7 +109,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# remove binaries for x-less install because xgps sconsflag is partially broken
|
||||
postFixup = ''
|
||||
${if guiSupport then "" else "rm $out/bin/xgps*"}
|
||||
${if guiSupport then "" else "rm -f $out/bin/xgps*"}
|
||||
wrapPythonProgramsIn $out/bin "$out $pythonPath"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue