Commit Graph

3 Commits

Author SHA1 Message Date
Andrew Marshall
228dc7eaf4 nixos-rebuild: Fix repl with a relative flake path
Most nixos-rebuild commands support a relative flake path, however
`repl` uses `builtins.getFlake` and that requires an absolute path. So
ensure we pass an absolute path to it, providing UX consistency. Only do
so when the path exists in order to passthrough URLs as-is.
2024-04-01 16:29:54 -04:00
Robert Hensing
d059ce52ce nixos-rebuild: Partially future-proof the repl test 2024-01-18 18:04:46 +01:00
Robert Hensing
71154a6e30 nixos-rebuild: Test the repl subcommand 2024-01-18 18:04:46 +01:00