1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 01:39:36 +01:00

Merge pull request #14489 from roberth/shell-a-la-carte

Infer devShell deps, provide smaller one
This commit is contained in:
John Ericson 2025-11-11 16:17:05 +00:00 committed by GitHub
commit 918c1a9e58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 264 additions and 90 deletions

View file

@ -42,20 +42,16 @@ mkMesonExecutable (finalAttrs: {
(fileset.fileFilter (file: file.hasExt "hh") ./.)
];
# Hack for sake of the dev shell
passthru.externalBuildInputs = [
buildInputs = [
sqlite
rapidcheck
gtest
]
++ lib.optionals withBenchmarks [
gbenchmark
];
buildInputs = finalAttrs.passthru.externalBuildInputs ++ [
nix-store
nix-store-c
nix-store-test-support
]
++ lib.optionals withBenchmarks [
gbenchmark
];
mesonFlags = [