1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 06:53:54 +02:00

Add testcase for nix develop with __structuredAttrs

This commit is contained in:
Maximilian Bosch 2021-05-18 15:07:30 +02:00
parent f1e281c4fe
commit 3504c811a5
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
5 changed files with 24 additions and 3 deletions

View file

@ -6,10 +6,12 @@ let
mkdir $out; echo bla > $out/bla
'';
};
inherit (import ./shell.nix { inNixShell = true; }) stdenv;
in
mkDerivation {
name = "structured2";
__structuredAttrs = true;
inherit stdenv;
outputs = [ "out" "dev" ];
my.list = [ "a" "b" "c" ];
exportReferencesGraph.refs = [ dep ];