README: update, add logo
This commit is contained in:
parent
1f800c2091
commit
f32c3cf872
4 changed files with 287 additions and 0 deletions
29
parts/pkgs/extraPackages/nushell/default.nix
Normal file
29
parts/pkgs/extraPackages/nushell/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) concatStringsSep mapAttrsToList;
|
||||
aliases = import ./aliases.nix {inherit pkgs;};
|
||||
|
||||
aliasesAsString =
|
||||
concatStringsSep "\n"
|
||||
(mapAttrsToList (k: v: "alias ${k}=\"${v}\"") aliases);
|
||||
packages = import ./packages.nix {inherit pkgs;};
|
||||
|
||||
nushell-wrapped = inputs.wrapper-manager.lib.build {
|
||||
inherit pkgs;
|
||||
modules = [
|
||||
{
|
||||
wrappers.nushell-wrapped = {
|
||||
basePackage = pkgs.nushell;
|
||||
pathAdd = [
|
||||
packages
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
in
|
||||
nushell-wrapped
|
Loading…
Add table
Add a link
Reference in a new issue