13 lines
225 B
Nix
13 lines
225 B
Nix
{ ... }@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
|
|
)
|
|
)
|