Skip to content

Commit

Permalink
Revert nix path change
Browse files Browse the repository at this point in the history
  • Loading branch information
Micah-Kolide committed Feb 9, 2024
1 parent bc962f2 commit db18d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/allowedcmd/cmd_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func Lsof(ctx context.Context, arg ...string) (*exec.Cmd, error) {
}

func NixEnv(ctx context.Context, arg ...string) (*exec.Cmd, error) {
return validatedCommand(ctx, "/run/current-system/sw/bin/nix-env", arg...)
return validatedCommand(ctx, "/nix/var/nix/profiles/default/bin/nix-env", arg...)
}

func Nftables(ctx context.Context, arg ...string) (*exec.Cmd, error) {
Expand Down

0 comments on commit db18d46

Please sign in to comment.