summaryrefslogtreecommitdiff
path: root/nixos/rebuild
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-06-02 18:54:24 +0200
committerMartin Fischer <martin@push-f.com>2025-06-04 07:33:00 +0200
commita16199f9c7aded2841784c070f1d0a3753076d09 (patch)
tree6ee28163dc5c510179b91859440f4ebbf0edd4aa /nixos/rebuild
parent04f8ec6294a145020b7c05d704913247f131aceb (diff)
deps: update to NixOS 25.05
Diffstat (limited to 'nixos/rebuild')
-rwxr-xr-xnixos/rebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/rebuild b/nixos/rebuild
index cfc14cf..1bc6c39 100755
--- a/nixos/rebuild
+++ b/nixos/rebuild
@@ -12,9 +12,7 @@ if [ ! -f $configPath ]; then
fi
nix-eval() {
- # FUTURE: use --raw when upgrading to NixOS 25.05
- nix-instantiate --eval --read-write-mode "$@" \
- | tr -d \" # nix-instantiate has no raw output yet (like the experimental nix eval)
+ nix-instantiate --eval --raw --read-write-mode "$@"
}
channel=$(nix-eval --argstr host "$HOSTNAME" --expr '{host}: