Skip to content

Commit 90fa3e1

Browse files
committed
handle shell's inputsFrom when no package outputs are specified
1 parent e7d42d4 commit 90fa3e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ in
8787
# @TODO: include formatter once it's done
8888
packages = shell.packages; # ++ [ config.formatter ];
8989
LD_LIBRARY_PATH = makeLibraryPath shell.libraries;
90-
inputsFrom = attrValues config.packages.${system};
90+
inputsFrom = attrValues (config.packages.${system} or { });
9191
shellHook =
9292
let
9393
aliasCmd = foldlAttrs (

0 commit comments

Comments
 (0)