Add nixverse command line app.
This commit is contained in:
@@ -51,6 +51,10 @@
|
|||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
pkgs' = nixverse.loadPkgs' self {
|
||||||
|
inherit system;
|
||||||
|
nixpkgs = nixpkgs-stable-nixos;
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
default = pkgs.mkShellNoCC {
|
default = pkgs.mkShellNoCC {
|
||||||
|
|||||||
6
nodes/hosts/common/programs/nixverse.nix
Normal file
6
nodes/hosts/common/programs/nixverse.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs'.nixverse
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user