Skip to content

Commit

Permalink
Use the non-obsolete devshell (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaug123 committed Aug 28, 2023
1 parent c1865bb commit 6adb7db
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,21 @@
program = "${self.packages.${system}.default}/bin/Gitea.Declarative";
};
};
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
(with dotnetCorePackages;
combinePackages [
dotnet-sdk_7
dotnetPackages.Nuget
])
];
packages = [
pkgs.alejandra
pkgs.nodePackages.markdown-link-check
pkgs.shellcheck
];
devShells = {
default = pkgs.mkShell {
buildInputs = with pkgs; [
(with dotnetCorePackages;
combinePackages [
dotnet-sdk_7
dotnetPackages.Nuget
])
];
packages = [
pkgs.alejandra
pkgs.nodePackages.markdown-link-check
pkgs.shellcheck
];
};
};
});
}

0 comments on commit 6adb7db

Please sign in to comment.