Skip to content

Commit

Permalink
Merge pull request #68 from KiaraGrouwstra/custom-packages
Browse files Browse the repository at this point in the history
allow custom packages in mkDevShell
  • Loading branch information
yannham authored Jan 16, 2025
2 parents 03b72c0 + fcb2c48 commit 33785da
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 @@ -194,14 +194,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 33785da

Please sign in to comment.