flake.nix: add overlay
This commit is contained in:
@@ -23,8 +23,16 @@
|
||||
};
|
||||
});
|
||||
|
||||
packages = forAllSystems (_: pkgs: {
|
||||
default = lib.pipe ./main.py [
|
||||
overlays = {
|
||||
default = self.overlays.passwd2systemd-users;
|
||||
passwd2systemd-users = final: prev: {
|
||||
inherit (self.packages.${prev.stdenv.hostPlatform.system}) passwd2systemd-users;
|
||||
};
|
||||
};
|
||||
|
||||
packages = forAllSystems (system: pkgs: {
|
||||
default = self.packages.${system}.passwd2systemd-users;
|
||||
passwd2systemd-users = lib.pipe ./main.py [
|
||||
lib.readFile
|
||||
(lib.splitString "\n")
|
||||
lib.tail
|
||||
|
||||
Reference in New Issue
Block a user