Skip to content

Commit

Permalink
Merge pull request #12540 from xokdvium/fix/devshell
Browse files Browse the repository at this point in the history
packaging: Fix devShell
  • Loading branch information
edolstra authored Feb 20, 2025
2 parents 76f4119 + 6877988 commit 0da6a4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@

devShells =
let
makeShell = import ./packaging/dev-shell.nix { inherit inputs lib devFlake; };
makeShell = import ./packaging/dev-shell.nix { inherit lib devFlake; };
prefixAttrs = prefix: lib.concatMapAttrs (k: v: { "${prefix}-${k}" = v; });
in
forAllSystems (
Expand Down
3 changes: 1 addition & 2 deletions packaging/dev-shell.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
lib,
inputs,
devFlake,
}:

Expand Down Expand Up @@ -117,7 +116,7 @@ pkgs.nixComponents.nix-util.overrideAttrs (
pkgs.buildPackages.changelog-d
modular.pre-commit.settings.package
(pkgs.writeScriptBin "pre-commit-hooks-install" modular.pre-commit.settings.installationScript)
inputs.nixfmt.packages.${pkgs.hostPlatform.system}.default
pkgs.buildPackages.nixfmt-rfc-style
]
# TODO: Remove the darwin check once
# /~https://github.com/NixOS/nixpkgs/pull/291814 is available
Expand Down

0 comments on commit 0da6a4a

Please sign in to comment.