mirror of
https://github.com/JaCoB1123/dupe-finder.git
synced 2026-11-12 23:11:02 +01:00
Add flake for devshell
This commit is contained in:
1 parent
7c95ec57d7
commit
3c6ae055a6
4 files changed
+87
No files matched your search
@@ -0,0 +1,25 @@
|
||||
{
|
||||
inputs = {
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils }:
|
||||
utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages."${system}";
|
||||
in rec {
|
||||
devShell = pkgs.mkShell {
|
||||
shellHook = ''
|
||||
export SHELL=${pkgs.fish}/bin/fish
|
||||
'';
|
||||
nativeBuildInputs = with pkgs; [
|
||||
go_1_24
|
||||
gopls
|
||||
golangci-lint
|
||||
golangci-lint-langserver
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user