mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
14 lines
729 B
Diff
14 lines
729 B
Diff
--- a/libdeja/duplicity/DuplicityInstance.vala
|
|
+++ b/libdeja/duplicity/DuplicityInstance.vala
|
|
@@ -114,8 +114,8 @@ internal class DuplicityInstance : Object
|
|
// We already are pretty sure we don't have other duplicities in our
|
|
// archive directories, because we use our own and we ensure we only have
|
|
// one deja-dup running at a time via DBus.
|
|
var lockfile_glob = Shell.quote(cache_dir) + "/*/lockfile.lock";
|
|
- if (Posix.system("/bin/rm -f " + lockfile_glob) != 0)
|
|
+ if (Posix.system("@coreutils@/bin/rm -f " + lockfile_glob) != 0)
|
|
warning("Could not delete '%s'", lockfile_glob);
|
|
|
|
Process.spawn_async_with_pipes(null, real_argv, real_envp,
|
|
SpawnFlags.SEARCH_PATH |
|