commit 0477f9e0871e3f0045ece9d74302c340ad13e285
parent 131addc12ee54237a562c0e0105def0be4103262
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 3 Feb 2022 14:15:00 +0100
parent 131addc12ee54237a562c0e0105def0be4103262
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 3 Feb 2022 14:15:00 +0100
nixos-rebuild: pass all arguments to the real nixos-rebuild
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nixos-rebuild b/nixos-rebuild @@ -1,2 +1,2 @@ #!/usr/bin/env sh -nixos-rebuild -I $(nix-build $(temp=$( realpath "$0" ) && dirname "$temp")/nix/sources-dir.nix --no-out-link) $1 +nixos-rebuild -I $(nix-build $(temp=$( realpath "$0" ) && dirname "$temp")/nix/sources-dir.nix --no-out-link) "$@"