1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-14 22:42:41 +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

@ -58,8 +58,8 @@ mkMesonDerivation (finalAttrs: {
"man"
];
# Hack for sake of the dev shell
passthru.externalNativeBuildInputs = [
nativeBuildInputs = [
nix-cli
meson
ninja
(lib.getBin lowdown-unsandboxed)
@ -78,10 +78,6 @@ mkMesonDerivation (finalAttrs: {
changelog-d
];
nativeBuildInputs = finalAttrs.passthru.externalNativeBuildInputs ++ [
nix-cli
];
preConfigure = ''
chmod u+w ./.version
echo ${finalAttrs.version} > ./.version