convert custom script into overlay

This commit is contained in:
2025-11-12 00:33:56 +01:00
parent 158ac4f91b
commit 0a7ee9fc45
2 changed files with 14 additions and 3 deletions

View File

@@ -24,6 +24,17 @@
system,
...
}: rec {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
(_final: prev: {
nuget-to-json = prev.nuget-to-json.overrideAttrs (old: {
src = ./nuget-to-json.sh;
});
})
];
config = {};
};
# Per-system attributes can be defined here. The self' and inputs'
# module parameters provide easy access to attributes of the same
# system.