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
+5
View File
@@ -49,6 +49,11 @@
config = {
allowUnfree = true;
permittedInsecurePackages = [
"hadoop-3.3.1"
"libressl-3.4.3"
"python3.12-ecdsa-0.19.1"
];
};
};
-8
View File
@@ -31,14 +31,6 @@ with pkgs; let
west
pyelftools
]);
maven363 = pkgs.maven.overrideAttrs (old: rec {
pname = "apache-maven";
version = "3.6.3";
src = pkgs.fetchurl {
url = "mirror://apache/maven/maven-3/${version}/binaries/${pname}-${version}-bin.tar.gz";
sha256 = "sha256-Jq2R11GzqaUwh676dD9OFqF3QdORWyGc90ESv4ekOMU=";
};
});
in {
home.packages = with pkgs; [
gitAndTools.gitFull
+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