@@ -1,7 +1,7 @@
11#!/usr/bin/env fish
22# Manage a container named after the current directory.
33# c init [extra create args] build + load the image, then create the container
4−# (uses ./nix-container.nix for packages if present)
4+# (uses ./container.nix for packages if present)
55# c start start it and attach
66
77set -l name (path basename $PWD)
@@ -15,9 +15,9 @@ switch $argv[1]
1515 set -l archive $tmp/image.tar.gz
1616 set -l rc 0
1717
18− if test -e nix-container.nix
18+ if test -e container.nix
1919 # Per-project package set: build an image with exactly these packages.
20− set -lx NIX_CONTAINER_PKGS (path resolve nix-container.nix)
20+ set -lx NIX_CONTAINER_PKGS (path resolve container.nix)
2121 set -l expr "(builtins.getFlake \"$flake\").lib.\${builtins.currentSystem}.copyWith (import (/. + builtins.getEnv \"NIX_CONTAINER_PKGS\"))"
2222 set -l copyer (nix build --impure --no-link --print-out-paths --expr "$expr")
2323 set rc $status