From 87c0dfba58c107a2c79380a9b08ac64c4571f44b Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Thu, 13 Jun 2024 13:42:24 +0200 Subject: [PATCH] Add overlay to REPL --- justfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index b8d309c..715cff1 100644 --- a/justfile +++ b/justfile @@ -19,10 +19,10 @@ 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}"; \ - } \ + flake // (with flake; { \ + lib = inputs.nixpkgs.lib; \ + pkgs = inputs.nixpkgs.legacyPackages."\${builtins.currentSystem}".extend(import ./pkgs inputs); \ + }) \ " luks-pass host: