Skip to content

Commit

Permalink
allow custom packages in mkDevShell
Browse files Browse the repository at this point in the history
  • Loading branch information
KiaraGrouwstra committed Dec 27, 2024
1 parent 481aeac commit ca17589
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,14 @@

lib = {
mkDevShell =
args: pkgs.mkShell {
{ providers, extraNickelInput ? "", packages ? [ ] }: pkgs.mkShell {
buildInputs = lib.attrValues
(pkgs.callPackage ./nix/devshell.nix
{
generateSchema = self.generateSchema.${system};
nickel = inputs.nickel.packages.${system}.nickel-lang-cli;
}
args) ++ [
{ inherit providers extraNickelInput; }) ++ packages ++ [
inputs.nickel.packages.${system}.default
inputs.topiary.packages.${system}.default
];
Expand Down

0 comments on commit ca17589

Please sign in to comment.