1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-17 14:31:06 +01:00

GC root for fetched nixpkgs/lib content

This commit is contained in:
Robert Hensing 2023-08-16 15:46:37 +02:00
commit 63e0b5d081
175 changed files with 18510 additions and 0 deletions

19
source-types.nix Normal file
View file

@ -0,0 +1,19 @@
{ lib }:
let
defaultSourceType = tname: {
shortName = tname;
isSource = false;
};
in lib.mapAttrs (tname: tset: defaultSourceType tname // tset) {
fromSource = {
isSource = true;
};
binaryNativeCode = {};
binaryBytecode = {};
binaryFirmware = {};
}