diff --git a/justfile b/justfile index b44ce6d..8d0ac78 100644 --- a/justfile +++ b/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}"; \ + } \ + "