mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
Make the choice of stdenv for the dev shell properly affect all deps
We have per-stdenv package sets, so we should be using them.
This commit is contained in:
parent
39fd4705ac
commit
9e1bc9c224
2 changed files with 17 additions and 14 deletions
|
@ -1,10 +1,11 @@
|
|||
{ lib, devFlake }:
|
||||
|
||||
pkgs: stdenv:
|
||||
{ pkgs }:
|
||||
|
||||
(pkgs.nix.override { forDevShell = true; }).overrideAttrs (attrs:
|
||||
|
||||
let
|
||||
stdenv = pkgs.nixDependencies.stdenv;
|
||||
buildCanExecuteHost = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
modular = devFlake.getSystem stdenv.buildPlatform.system;
|
||||
transformFlag = prefix: flag:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue