artiq-full: replace variants list with readDir of sinara-systems #42
Loading…
Reference in New Issue
No description provided.
Delete Branch "astro/nix-scripts:target-list"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Depends on:
Is it good to take this variantsVersionInfo into the second evaluation, or should I rather get the artiq version from
<artiq-fast>
in the first evaluation?What do you mean?
variantsVersionInfo
contains the minimum supported versions, no? Not the actual ARTIQ version being built. So the answer to this question should be obvious, or am I misunderstanding something?@ -131,0 +61,4 @@
"\n \"" + variant + "\" = \"" + pkgs.lib.attrByPath [variant "min_artiq_version"] "0" variants + "\";"
) (builtins.attrNames variants)
)}
};
Is there no simpler way of doing this?
3a70059831
to646c007d99
Updated with a cleaner way of filtering by min_artiq_version in the first evaluation.
@ -3,3 +3,3 @@
let
sinaraSystemsSrc = <sinaraSystemsSrc>;
standaloneVariants =
artiqVersion = pkgs.callPackage <artiq-fast/pkgs/artiq-version.nix> {};
callPackage
should only be used on derivations. Useimport
.(I know some of the existing code also makes this mistake, we should probably clean it up)
646c007d99
to33c33d49df