move things around

This commit is contained in:
illustris committed 2022-01-23 15:57:22 +05:30
1 parent 1008a75179
commit 387a3e55aa
2 files changed
+15 -10

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
{ ... }@args:
let
pkgs = (import <nixpkgs> {});
in
# convert package list to attrset
with builtins; listToAttrs (
map ( x: { name = x.pname; value = x;} ) (
import "${pkgs.path}/maintainers/scripts/build.nix" args
)
)
+3 -10
View File
@@ -1,12 +1,5 @@
{ ... }@args: { ... }@args:
let {
pkgs = (import <nixpkgs> {}); illustris = import ./by-maintainer.nix args;
in }
#
with builtins; listToAttrs (
map ( x: { name = x.pname; value = x;} ) (
import "${pkgs.path}/maintainers/scripts/build.nix" args
)
)