aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------.direnv/flake-inputs/4ivpnkax1zsqcl5dx5fdrz4bddn0cdsg-source1
l---------.direnv/flake-inputs/ma6118ark6ji7yffia07k62f2hc0mnzf-source1
l---------.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa2
-rw-r--r--.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc8
-rw-r--r--flake.nix6
5 files changed, 8 insertions, 10 deletions
diff --git a/.direnv/flake-inputs/4ivpnkax1zsqcl5dx5fdrz4bddn0cdsg-source b/.direnv/flake-inputs/4ivpnkax1zsqcl5dx5fdrz4bddn0cdsg-source
new file mode 120000
index 0000000..6bcc290
--- /dev/null
+++ b/.direnv/flake-inputs/4ivpnkax1zsqcl5dx5fdrz4bddn0cdsg-source
@@ -0,0 +1 @@
+/nix/store/4ivpnkax1zsqcl5dx5fdrz4bddn0cdsg-source \ No newline at end of file
diff --git a/.direnv/flake-inputs/ma6118ark6ji7yffia07k62f2hc0mnzf-source b/.direnv/flake-inputs/ma6118ark6ji7yffia07k62f2hc0mnzf-source
deleted file mode 120000
index 5d38d28..0000000
--- a/.direnv/flake-inputs/ma6118ark6ji7yffia07k62f2hc0mnzf-source
+++ /dev/null
@@ -1 +0,0 @@
-/nix/store/ma6118ark6ji7yffia07k62f2hc0mnzf-source \ No newline at end of file
diff --git a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
index 1aa1e63..5791937 120000
--- a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
+++ b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
@@ -1 +1 @@
-/nix/store/s27jwyzcc922ifvsmpm0xgbzzmzf0d7v-nix-shell-env \ No newline at end of file
+/nix/store/7lz51ymdm8lxlivjnv9g00ra3ryd0zhg-nix-shell-env \ No newline at end of file
diff --git a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
index 46c42fa..8c534a0 100644
--- a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
+++ b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
@@ -14,8 +14,6 @@ CONFIG_SHELL='/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20/bin/bash'
export CONFIG_SHELL
CXX='g++'
export CXX
-GOPATH='$(pwd)/.go'
-export GOPATH
HOSTTYPE='x86_64'
HOST_PATH='/nix/store/cb987zkxvsv0490753ilrvn5yk7ylgxi-coreutils-9.12/bin:/nix/store/99v13ig4382mngi6ggf0csqi7rfa04j5-findutils-4.11.0/bin:/nix/store/9mpja553cbkr2rc37kzdg8zbbg2dyyvl-diffutils-3.12/bin:/nix/store/9wc73n5izv0m7ppjbibi4hbr68rba1lj-gnused-4.10/bin:/nix/store/c3f45pxlb81gzz4w1nym7lpznfypva7s-gnugrep-3.12/bin:/nix/store/h96s16mjssibkvk62pvmfm3lwfc3wnwp-gawk-5.4.1/bin:/nix/store/n318yf1q5vysgh2qn6fd1q8yjy9vmwvh-gnutar-1.35/bin:/nix/store/rpswfv0ff4wap9anx7k1224x2m94pfcc-gzip-1.15/bin:/nix/store/ai2km55ba8bxrn64xx7p9lgvrrzdzv43-bzip2-1.0.8-bin/bin:/nix/store/8xz4d9wp4jy49mhl306wyg55096wis3p-gnumake-4.4.1/bin:/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20/bin:/nix/store/d5jz315vxbphknfawsrjs192ci9bc6df-patch-2.8/bin:/nix/store/nflpm51il93hxh2rba6dvz59kaff0i7v-xz-5.8.4-bin/bin:/nix/store/2qpmak7162vhqxjwfik4aqs9lff6sn7w-file-5.48/bin'
export HOST_PATH
@@ -37,7 +35,7 @@ NIX_CC='/nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0'
export NIX_CC
NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu='1'
export NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu
-NIX_CFLAGS_COMPILE=' -frandom-seed=s27jwyzcc9'
+NIX_CFLAGS_COMPILE=' -frandom-seed=7lz51ymdm8'
export NIX_CFLAGS_COMPILE
NIX_ENFORCE_NO_NATIVE='1'
export NIX_ENFORCE_NO_NATIVE
@@ -179,7 +177,9 @@ export propagatedNativeBuildInputs
declare -a propagatedTargetDepFiles=('propagated-target-target-deps' )
shell='/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20/bin/bash'
export shell
-shellHook='echo "🚀 Entering go dev environment"
+shellHook='export GOPATH="$PWD/.go"
+mkdir -p "$GOPATH"
+echo "🚀 Entering go dev environment"
'
export shellHook
stdenv='/nix/store/an9g93vg5b02j74y38zfajswa0f10p2z-stdenv-linux'
diff --git a/flake.nix b/flake.nix
index 857604e..558b3c2 100644
--- a/flake.nix
+++ b/flake.nix
@@ -17,11 +17,9 @@
go gopls golangci-lint delve
];
- env = {
- GOPATH = "$(pwd)/.go";
- };
-
shellHook = ''
+ export GOPATH="$PWD/.go"
+ mkdir -p "$GOPATH"
echo "🚀 Entering go dev environment"
'';
};