diff --git a/pkgs/servers/gpsd/default.nix b/pkgs/servers/gpsd/default.nix index cf23ef9d2feb..ab6d9fef5eda 100644 --- a/pkgs/servers/gpsd/default.nix +++ b/pkgs/servers/gpsd/default.nix @@ -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" '';