Can I patch a flake input which is not actually a flake? `inputs.flake-name.flake = false;`

Specifically I want to patch this line:
https://gitlab.com/DarkElvenAngel/argononed/-/blob/master/OS/nixos/pkg.nix?ref_type=heads#L48

Because of how the module was written (OS/nixos/default.nix · master · DarkElvenAngel / Argon One Daemon · GitLab), I cannot override the attribute with nix.

Most importantly I do not have an gitlab account to submit a PR.

Is some patch system available for me to patch the whole flake repo like nixpkgs applyPatch function? (Nixpkgs/Patching Nixpkgs - Official NixOS Wiki)

Thanks!

applyPatch has nothing to do with flakes.

1 Like

Thanks for the reply!

I just found out I can actually git pull the new commit from the author to my fork with that patched hosted elsewhere by setting it to a different remote

git remote add authors-origin https://gitlab.com/DarkElvenAngel/argononed
git pull authors-origin master --no-rebase
1 Like