realised how self' is supposed to work and removed all stdenv bullshit

This commit is contained in:
2026-07-07 13:53:09 +01:00
parent dd8369d01e
commit d18e1476dd
8 changed files with 73 additions and 107 deletions

View File

@@ -1,21 +1,18 @@
{
self,
inputs,
wrappers,
moduleWithSystem,
...
}: {
flake.nixosModules.otter-launcher = {
pkgs,
lib,
...
}: {
flake.nixosModules.otter-launcher = moduleWithSystem ({self', ...}: {
environment.systemPackages = [
self.packages.${pkgs.stdenv.hostPlatform.system}.otter-launcher
self'.packages.otter-launcher
];
};
});
perSystem = {
pkgs,
lib,
self',
inputs',
...
}: {
packages = {
@@ -32,14 +29,9 @@
${extra-config}
'';
in
inputs.wrappers.lib.wrapPackage ({
config,
wlib,
lib,
...
}: {
wrappers.lib.wrapPackage ({...}: {
inherit pkgs;
package = inputs.otter-launcher.packages.${pkgs.stdenv.hostPlatform.system}.default;
package = inputs'.otter-launcher.packages.default;
runtimePkgs = with pkgs; [
fsel
bluetui