convert custom script into overlay
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user