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:
Adam Joseph 2022-07-19 22:34:47 -07:00 committed by Bjørn Forsman
parent 2d9b7cb5f0
commit c106fc4ba4

View file

@ -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"
'';