Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de02538

Browse files
committed
Fix all packages
1 parent e6c4da3 commit de02538

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

flake.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
gdk = pkgs.google-cloud-sdk.withExtraComponents ([pkgs.google-cloud-sdk.components.gke-gcloud-auth-plugin]);
2424

2525
# The minimal set of packages to build Coder.
26-
devShellPackages = with pkgs; buildPackages ++ [
26+
devShellPackages = with pkgs; [
2727
# google-chrome is not available on OSX
2828
(if pkgs.stdenv.hostPlatform.isDarwin then null else google-chrome)
2929
# strace is not available on OSX
@@ -124,14 +124,17 @@
124124
};
125125
in
126126
{
127-
defaultPackage = formatter; # or replace it with your desired default package.
128127
devShell = pkgs.mkShell {
129128
shellHook = ''
130129
export PLAYWRIGHT_BROWSERS_PATH=${pkgs.playwright-driver.browsers}
131130
export PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS=true
132131
'';
133132
};
134133
packages = {
134+
all = pkgs.buildEnv {
135+
name = "all-packages";
136+
paths = devShellPackages;
137+
};
135138
site = buildSite;
136139

137140
# Copying `OS_ARCHES` from the Makefile.

0 commit comments

Comments
 (0)