diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-17 10:25:41 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-17 11:55:49 +0200 |
| commit | c8165d2a72b9e2e2c67c4b1aad40a0c3e256dd4d (patch) | |
| tree | eb0f6fc5d3463c82410dd703a4fd45a979ccfa1f /nixos/rebuild | |
| parent | b2f4c85a6c1afb74b257a14dcce9236ae021fe4a (diff) | |
refactor: use relative paths
They work with `gf` in vim.
Diffstat (limited to 'nixos/rebuild')
| -rwxr-xr-x | nixos/rebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/rebuild b/nixos/rebuild index dc7ee5d..3c675b2 100755 --- a/nixos/rebuild +++ b/nixos/rebuild @@ -47,5 +47,5 @@ nixpkgsPath=$( # nixos-rebuild always reads Nixpkgs from the NIX_PATH, # so we need to set it explicitly to our pinned version - exec nixos-rebuild "$@" --file "$top/system.nix" -I nixpkgs="$nixpkgsPath" -I nixos-config="$configPath" -I top="$top" + exec nixos-rebuild "$@" --file "$top/system.nix" -I nixpkgs="$nixpkgsPath" -I nixos-config="$configPath" ) |
