Skip to content

Commit e136be5

Browse files
authored
Merge pull request #1789 from n0099/main
Shadow path prefixes used by NixOS
2 parents 18b46ea + 63d02fa commit e136be5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Process.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,12 @@ void Process_makeCommandStr(Process* this, const Settings* settings) {
295295
} \
296296
} \
297297
break; \
298+
case 'n': \
299+
CHECK_AND_MARK(str_, "/nix/store/"); \
300+
break; \
301+
case 'r': \
302+
CHECK_AND_MARK(str_, "/run/current-system/"); \
303+
break; \
298304
} \
299305
} while (0)
300306

0 commit comments

Comments
 (0)