File tree Expand file tree Collapse file tree 3 files changed +50
-46
lines changed Expand file tree Collapse file tree 3 files changed +50
-46
lines changed Original file line number Diff line number Diff line change 6
6
nixpkgs-pinned . url = "github:nixos/nixpkgs/5deee6281831847857720668867729617629ef1f" ;
7
7
flake-utils . url = "github:numtide/flake-utils" ;
8
8
pnpm2nix = {
9
- url = "github:nzbr /pnpm2nix-nzbr" ;
9
+ url = "github:ThomasK33 /pnpm2nix-nzbr" ;
10
10
inputs . nixpkgs . follows = "nixpkgs" ;
11
11
inputs . flake-utils . follows = "flake-utils" ;
12
12
} ;
33
33
} ;
34
34
35
35
nodejs = pkgs . nodejs_20 ;
36
+ pnpm = pkgs . pnpm_9 . override {
37
+ inherit nodejs ; # Ensure it points to the above nodejs version
38
+ } ;
39
+
36
40
# Check in https://search.nixos.org/packages to find new packages.
37
41
# Use `nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update`
38
42
# to update the lock file if packages are out-of-date.
89
93
less
90
94
mockgen
91
95
moreutils
92
- nix-prefetch-git
96
+ neovim
93
97
nfpm
98
+ nix-prefetch-git
94
99
nodejs
95
- neovim
96
- pnpm
97
100
openssh
98
101
openssl
99
102
pango
100
103
pixman
101
104
pkg-config
102
105
playwright-driver . browsers
106
+ pnpm
103
107
postgresql_16
104
- protobuf
105
108
proto_gen_go_1_30
109
+ protobuf
106
110
ripgrep
107
111
shellcheck
108
112
( pinnedPkgs . shfmt )
121
125
122
126
# buildSite packages the site directory.
123
127
buildSite = pnpm2nix . packages . ${ system } . mkPnpmPackage {
124
- inherit nodejs ;
128
+ inherit nodejs pnpm ;
125
129
126
130
src = ./site/. ;
127
131
# Required for the `canvas` package!
145
149
name = "coder-${ osArch } " ;
146
150
# Updated with ./scripts/update-flake.sh`.
147
151
# This should be updated whenever go.mod changes!
148
- vendorHash = "sha256-ykLZqtALSvDpBc2yEjRGdOyCFNsnLZiGid0d4s27e8Q =" ;
152
+ vendorHash = "sha256-DNQ3UPQoiiWEatMPj6B7QGGy9qOSvOmjADsrr+drCBY =" ;
149
153
proxyVendor = true ;
150
154
src = ./. ;
151
155
nativeBuildInputs = with pkgs ; [ getopt openssl zstd ] ;
You can’t perform that action at this time.
0 commit comments