mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 14:14:58 +08:00
add project-wide shell.nix
This commit is contained in:
parent
38e71e351c
commit
cbf6c6b93a
3 changed files with 12 additions and 12 deletions
|
|
@ -3,8 +3,6 @@ buildGoModule {
|
||||||
pname = "sops-install-secrets";
|
pname = "sops-install-secrets";
|
||||||
version = "0.0.1";
|
version = "0.0.1";
|
||||||
|
|
||||||
hardeningDisable = [ "all" ];
|
|
||||||
|
|
||||||
src = ../..;
|
src = ../..;
|
||||||
|
|
||||||
subPackages = [ "pkgs/sops-install-secrets" ];
|
subPackages = [ "pkgs/sops-install-secrets" ];
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
with import <nixpkgs> {};
|
|
||||||
mkShell {
|
|
||||||
nativeBuildInputs = [
|
|
||||||
bashInteractive
|
|
||||||
go
|
|
||||||
delve
|
|
||||||
gnupg
|
|
||||||
];
|
|
||||||
hardeningDisable = [ "all" ];
|
|
||||||
}
|
|
||||||
12
shell.nix
Normal file
12
shell.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
pkgs.mkShell {
|
||||||
|
nativeBuildInputs = with pkgs; [
|
||||||
|
bashInteractive
|
||||||
|
go
|
||||||
|
delve
|
||||||
|
gnupg
|
||||||
|
utillinux
|
||||||
|
];
|
||||||
|
# delve does not compile with hardening enabled
|
||||||
|
hardeningDisable = [ "all" ];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue