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 25, 2024
1 parent 481aeac commit 7a9ff3b
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, 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; }) ++ packages ++ [
inputs.nickel.packages.${system}.default
inputs.topiary.packages.${system}.default
];
Expand Down

0 comments on commit 7a9ff3b

Please sign in to comment.