Skip to content

Commit 93ec1e0

Browse files
committed
nix: make shell.nix importable from a flake.nix, update deps
1 parent 88fb72b commit 93ec1e0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

misc/nix/shell.nix

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
# the Business Source License, use of this software will be governed
88
# by the Apache License, Version 2.0.
99

10-
with import <nixpkgs> {};
10+
{ pkgs ? import <nixpkgs> {} }:
11+
with pkgs;
1112

1213
let
1314
target-analyzer = builtins.toString ./../../.rust-analyzer/target;
@@ -18,13 +19,13 @@ in
1819
stdenv.mkDerivation rec {
1920
name = "materialize";
2021
buildInputs = with pkgs; [
21-
clang_13
22+
clang_14
2223
cmake
2324
rustup
2425
openssl
2526
postgresql
2627
pkg-config
27-
lld_13
28+
lld_14
2829
python39
2930
scoped-rust-analyzer
3031
];

0 commit comments

Comments
 (0)