fixup all kinds of bugs
This commit is contained in:
parent
02bb843015
commit
acc37c64f9
10 changed files with 45 additions and 31 deletions
|
@ -10,14 +10,14 @@ let
|
|||
inherit name;
|
||||
inherit (channelVersion) url ref rev;
|
||||
};
|
||||
nixPath = builtins.foldl' (path: elemName:
|
||||
nixPath = builtins.concatStringsSep ":" (builtins.map (elemName:
|
||||
let
|
||||
elem = builtins.getAttr elemName channelVersions;
|
||||
elemPath = (mkChannelSource elemName);
|
||||
suffix = if builtins.hasAttr "suffix" elem then elem.suffix else "";
|
||||
in
|
||||
path + ":" + builtins.concatStringsSep "=" [ elemName elemPath ] + suffix
|
||||
) "" (builtins.attrNames channelVersions);
|
||||
builtins.concatStringsSep "=" [ elemName elemPath ] + suffix
|
||||
) (builtins.attrNames channelVersions));
|
||||
pkgs = import (mkChannelSource "nixpkgs") {};
|
||||
in
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue