This commit is contained in:
2025-11-16 23:58:33 +08:00
parent 646b68b960
commit 880374e016
3 changed files with 13 additions and 11 deletions
+8 -3
View File
@@ -7,9 +7,14 @@
# You can change versions, add patches, set compilation flags, anything really.
# https://nixos.wiki/wiki/Overlays
modifications = final: prev: {
# example = prev.example.overrideAttrs (oldAttrs: rec {
# ...
# });
maven363 = prev.maven.overrideAttrs (old: rec {
pname = "apache-maven";
version = "3.6.3";
src = prev.fetchurl {
url = "mirror://apache/maven/maven-3/${version}/binaries/${pname}-${version}-bin.tar.gz";
sha256 = "sha256-Jq2R11GzqaUwh676dD9OFqF3QdORWyGc90ESv4ekOMU=";
};
});
};
# When applied, the unstable nixpkgs set (declared in the flake inputs) will