fix: add sapling to the nix flake (#9202)

This commit is contained in:
Kyle Carberry 2023-08-18 16:41:03 -05:00 committed by GitHub
parent 22e781eced
commit 40ef9ff779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -53,6 +53,7 @@
protobuf
protoc-gen-go
ripgrep
sapling
shellcheck
shfmt
sqlc
@ -109,10 +110,11 @@
mkdir -p /etc/init.d
'';
};
allPackages = devShellPackages ++ devImagePackages;
# Environment variables that live in `/etc/environment` in the container.
# These will also be applied to the container config.
devEnvVars = [
"PATH=${pkgs.lib.makeBinPath (devShellPackages ++ devImagePackages)}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/coder/go/bin"
"PATH=${pkgs.lib.makeBinPath (allPackages)}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/coder/go/bin"
# This setting prevents Go from using the public checksum database for
# our module path prefixes. It is required because these are in private
# repositories that require authentication.