Add repl command
This commit is contained in:
parent
4d283f82e4
commit
633cc6104a
1 changed files with 10 additions and 0 deletions
10
justfile
10
justfile
|
|
@ -12,3 +12,13 @@ build:
|
|||
update:
|
||||
nix flake update --commit-lock-file
|
||||
which fwupdmgr >/dev/null 2>&1 && fwupdmgr refresh || true
|
||||
|
||||
repl:
|
||||
nix repl --expr "\
|
||||
let \
|
||||
flake = builtins.getFlake \"$(git rev-parse --show-toplevel)\"; in \
|
||||
flake // { \
|
||||
lib = flake.inputs.nixpkgs.lib; \
|
||||
pkgs = flake.inputs.nixpkgs.legacyPackages."\${builtins.currentSystem}"; \
|
||||
} \
|
||||
"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue