Skip to content

Commit

Permalink
chore: numtide/devshell
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Nov 24, 2024
1 parent 89e8853 commit 148afdf
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 11 deletions.
21 changes: 21 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
treefmt.follows = "treefmt-nix";
};
};
devshell = {
url = "github:numtide/devshell";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
Expand Down
1 change: 1 addition & 0 deletions release/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
};
in
{
devshells.default.devshell.packagesFrom = [ semantic-release ];
apps = {
bump-version.program = bump-version;
semantic-release.program = semantic-release-with-plugins;
Expand Down
14 changes: 3 additions & 11 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{ inputs, ... }:
{
perSystem =
{
pkgs,
config,
...
}:
{
devShells.default = config.nci.outputs.sink-rotate.devShell.overrideAttrs (old: {
packages = [ pkgs.nodejs_latest ];
});
};
imports = [ inputs.devshell.flakeModule ];
perSystem.nci.projects.sink-rotate.numtideDevshell = "default";
}

0 comments on commit 148afdf

Please sign in to comment.