move things around
This commit is contained in:
12
by-maintainer.nix
Normal file
12
by-maintainer.nix
Normal 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
|
||||||
|
)
|
||||||
|
)
|
||||||
13
default.nix
13
default.nix
@@ -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
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user