diff options
author | Brian Picciano <me@mediocregopher.com> | 2024-10-31 16:35:37 +0100 |
---|---|---|
committer | Brian Picciano <me@mediocregopher.com> | 2024-10-31 16:36:13 +0100 |
commit | 695cd4c58fb146933ed02e61db8f553f7f9bf419 (patch) | |
tree | 3e7fa672de845a578d8544500cce0a586a5d2f91 /default.nix | |
parent | 1372a5b5bc46ef2e204d787c83a17a81ffbde756 (diff) |
Swap default.nix for shell.nix
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/default.nix b/default.nix deleted file mode 100644 index 7100b90..0000000 --- a/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ - pkgsSrc ? builtins.fetchTarball { - name = "nixpkgs-24.05"; - url = "https://github.com/NixOS/nixpkgs/archive/5646423bfac84ec68dfc60f2a322e627ef0d6a95.tar.gz"; - sha256 = "sha256:1lr1h35prqkd1mkmzriwlpvxcb34kmhc9dnr48gkm8hh089hifmx"; - }, -}: let - pkgs = (import pkgsSrc) {}; -in { - shell = pkgs.mkShell { - name = "project-shell"; - buildInputs = [ - pkgs.go - pkgs.golangci-lint - pkgs.xcaddy - pkgs.caddy - ]; - shellHook = '' - mkdir -p .dev-home - echo '*' > .dev-home/.gitignore - export XDG_CONFIG_HOME=$(pwd)/.dev-home/config - export XDG_DATA_HOME=$(pwd)/.dev-home/data - ''; - }; -} |