Skip to content

Commit

Permalink
xdg-utils: don't infrec in xdg-screensaver
Browse files Browse the repository at this point in the history
Before:

```bash
lockfile_command=`command -v /nix/store/8l572fp5svwp2x1izz2avji8l0ysxkq4-procmail-3.24/bin/lockfile`

lockfile()
{
  if [ -n "lockfile" ] ; then
     lockfile -1 -l 10 -s 3 "$screensaver_file".lock
```

After:

```bash
lockfile_command=`command -v /nix/store/4ka6z06bvxbcz98m0wy5m1m04f8ppkgw-procmail-3.24/bin/lockfile`

lockfile()
{
  if [ -n "$lockfile_command" ] ; then
     $lockfile_command -1 -l 10 -s 3 "$screensaver_file".lock
```

Fixes #304308
  • Loading branch information
K900 committed Apr 17, 2024
1 parent feedc73 commit 5a98ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/tools/X11/xdg-utils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ let
"xscreensaver-command" # Xscreensaver
"xset" # generic-ish X
];
fix."$lockfile_command" = [ "lockfile" ];
keep = {
"$MV" = true;
"$XPROP" = true;
"$lockfile_command" = true;
};
execer = [
"cannot:${perl}/bin/perl"
Expand Down

0 comments on commit 5a98ab8

Please sign in to comment.