tt
This commit is contained in:
@@ -49,6 +49,11 @@
|
|||||||
|
|
||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
permittedInsecurePackages = [
|
||||||
|
"hadoop-3.3.1"
|
||||||
|
"libressl-3.4.3"
|
||||||
|
"python3.12-ecdsa-0.19.1"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -31,14 +31,6 @@ with pkgs; let
|
|||||||
west
|
west
|
||||||
pyelftools
|
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 {
|
in {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
gitAndTools.gitFull
|
gitAndTools.gitFull
|
||||||
|
|||||||
@@ -7,9 +7,14 @@
|
|||||||
# You can change versions, add patches, set compilation flags, anything really.
|
# You can change versions, add patches, set compilation flags, anything really.
|
||||||
# https://nixos.wiki/wiki/Overlays
|
# https://nixos.wiki/wiki/Overlays
|
||||||
modifications = final: prev: {
|
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
|
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
|
||||||
|
|||||||
Reference in New Issue
Block a user