mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +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.
26 lines
700 B
Diff
26 lines
700 B
Diff
From 0cb1321c4cbb2978318ddad73c9ee6f2a19c55c8 Mon Sep 17 00:00:00 2001
|
|
From: Florian Klink <flokli@flokli.de>
|
|
Date: Sat, 11 Jan 2020 21:06:33 +0100
|
|
Subject: [PATCH] umount_davfs: substitute ps command
|
|
|
|
---
|
|
src/umount_davfs.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/umount_davfs.c b/src/umount_davfs.c
|
|
index b7019c3..a278679 100644
|
|
--- a/src/umount_davfs.c
|
|
+++ b/src/umount_davfs.c
|
|
@@ -157,7 +157,7 @@ main(int argc, char *argv[])
|
|
}
|
|
fclose(file);
|
|
|
|
- char *ps_command = ne_concat("ps -p ", pid, NULL);
|
|
+ char *ps_command = ne_concat("@ps@ -p ", pid, NULL);
|
|
FILE *ps_in = popen(ps_command, "r");
|
|
if (!ps_in) {
|
|
error(0, 0,
|
|
--
|
|
2.24.1
|
|
|