mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
7769727634
now with home-manager and nix-darwin tests, we don't want to increase the number of dependencies a user has to override in their flake.lock.
21 lines
537 B
Nix
21 lines
537 B
Nix
{
|
|
pkgs ? import <nixpkgs> { },
|
|
}:
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
bashInteractive
|
|
go
|
|
delve
|
|
gnupg
|
|
util-linux
|
|
nix
|
|
golangci-lint
|
|
|
|
(pkgs.writeScriptBin "update-dev-private-narHash" ''
|
|
nix --extra-experimental-features "nix-command flakes" flake lock ./dev/private
|
|
nix --extra-experimental-features "nix-command flakes" hash path ./dev/private | tr -d '\n' > ./dev/private.narHash
|
|
'')
|
|
];
|
|
# delve does not compile with hardening enabled
|
|
hardeningDisable = [ "all" ];
|
|
}
|