wrappers: move base-packages to flake.nix, add git-commit-last to base

This commit is contained in:
Nikodem Rabuliński 2024-02-02 12:07:53 +01:00
parent 367fddb7c0
commit fb538687dd
2 changed files with 11 additions and 9 deletions

View file

@ -20,6 +20,7 @@
perSystem = { perSystem = {
inputs', inputs',
self',
pkgs, pkgs,
lib, lib,
... ...
@ -32,6 +33,15 @@
]; ];
}; };
packages.base-packages = pkgs.symlinkJoin {
name = "settei-base";
paths = with self'.packages; [
helix
fish
git-commit-last
];
};
formatter = pkgs.alejandra; formatter = pkgs.alejandra;
}; };
}; };

View file

@ -30,19 +30,11 @@
inherit (fish-base) name meta passthru; inherit (fish-base) name meta passthru;
paths = [fish-wrapped fish-base]; paths = [fish-wrapped fish-base];
}; };
base-packages = pkgs.symlinkJoin {
name = "settei-base";
paths = [
all-packages.helix
fish
];
};
in { in {
packages = packages =
all-packages all-packages
// { // {
inherit base-packages fish; inherit fish;
}; };
}; };
} }