Remove "template" package I never used

This commit is contained in:
Greg Hellings
2024-10-11 13:14:09 -05:00
parent 54dfebe7f7
commit b7b3df1987
2 changed files with 1 additions and 33 deletions
+1 -18
View File
@@ -1,4 +1,4 @@
final: prev: _: prev:
let let
myPackages = myPackages =
@@ -17,7 +17,6 @@ let
]; ];
myPython = prev.python312.withPackages myPackages; myPython = prev.python312.withPackages myPackages;
is2405 = prev.lib.versionAtLeast prev.lib.version "24";
in in
rec { rec {
@@ -40,26 +39,10 @@ rec {
enwiki-dump = prev.callPackage ./enwiki-dump.nix { }; enwiki-dump = prev.callPackage ./enwiki-dump.nix { };
# Overrides of packages # Overrides of packages
copier = (
if is2405 then
prev.copier.overridePythonAttrs (_: {
version = "9.1.0";
src = final.fetchFromGitHub {
owner = "copier-org";
repo = "copier";
rev = "v9.1.0";
hash = "sha256-x5r7Xv4lAOMkR+UIEeSY7LvbYMLpTWYuICYe9ygz1tA=";
postFetch = "rm $out/tests/demo/doc/ma*ana.txt";
};
})
else
prev.copier
);
libbluray-custom = prev.libbluray.override { libbluray-custom = prev.libbluray.override {
withAACS = true; withAACS = true;
withBDplus = true; withBDplus = true;
}; };
template = prev.callPackage ./template.nix { };
handbrake = prev.handbrake.override { libbluray = libbluray-custom; }; handbrake = prev.handbrake.override { libbluray = libbluray-custom; };
libvirt-greg = prev.libvirt.overrideAttrs { libvirt-greg = prev.libvirt.overrideAttrs {
postInstall = prev.libvirt.postInstall + "rm -r $out/lib/systemd/system/libvirtd.service"; postInstall = prev.libvirt.postInstall + "rm -r $out/lib/systemd/system/libvirtd.service";
-15
View File
@@ -1,15 +0,0 @@
{ stdenv, jinja2-cli }:
name: vars: template:
(stdenv.mkDerivation {
inherit name;
passAsFile = [ "varsData" ];
varsData = builtins.toJSON vars;
nativeBuildInputs = [ jinja2-cli ];
phases = [ "buildPhase" "installPhase" ];
buildPhase = ''${jinja2-cli}/bin/jinja2 --format=json ${template} $varsDataPath > result'';
installPhase = "cp result $out";
})