keep using the old uffd's pythonPackages, lol

This commit is contained in:
stuebinm 2023-09-27 17:14:05 +02:00
parent 54fe6bfce7
commit a17cd69a52
3 changed files with 23 additions and 1 deletions

View file

@ -625,6 +625,22 @@
"type": "indirect" "type": "indirect"
} }
}, },
"nixpkgs-oldstable": {
"locked": {
"lastModified": 1678761643,
"narHash": "sha256-tapXZvg6Kg5Fm7Fm6i+7cRC5Exp2lX7cgMrqsfrGhuc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c4aec3c021620d98861639946123214207e98344",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c4aec3c021620d98861639946123214207e98344",
"type": "github"
}
},
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1695318763, "lastModified": 1695318763,
@ -776,6 +792,7 @@
"nix-hexchen": "nix-hexchen", "nix-hexchen": "nix-hexchen",
"nixos-mailserver": "nixos-mailserver", "nixos-mailserver": "nixos-mailserver",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-oldstable": "nixpkgs-oldstable",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"tracktrain": "tracktrain" "tracktrain": "tracktrain"

View file

@ -9,6 +9,7 @@
nixpkgs.url = "nixpkgs/nixos-23.05"; nixpkgs.url = "nixpkgs/nixos-23.05";
nixpkgs-unstable.url = "nixpkgs/nixpkgs-unstable"; nixpkgs-unstable.url = "nixpkgs/nixpkgs-unstable";
nixpkgs-oldstable.url = "github:/NixOS/nixpkgs?rev=c4aec3c021620d98861639946123214207e98344";
nix-hexchen.url = "gitlab:hexchen/nixfiles"; nix-hexchen.url = "gitlab:hexchen/nixfiles";
nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-23.05"; nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-23.05";
tracktrain.url = "git+https://stuebinm.eu/git/tracktrain?ref=main"; tracktrain.url = "git+https://stuebinm.eu/git/tracktrain?ref=main";

View file

@ -3,6 +3,7 @@
let let
pkgs = import sources.nixpkgs args; pkgs = import sources.nixpkgs args;
unstable = import sources.nixpkgs-unstable args; unstable = import sources.nixpkgs-unstable args;
oldstable = import sources.nixpkgs-oldstable args;
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs); callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);
@ -34,7 +35,7 @@ let
''; '';
}; };
uffd = callPackage ./uffd {}; uffd = oldstable.callPackage ./uffd { };
netbox = pkgs.netbox.override (super: rec { netbox = pkgs.netbox.override (super: rec {
python3 = super.python3.override (oldpy: { python3 = super.python3.override (oldpy: {
@ -48,6 +49,9 @@ let
}); });
inherit (unstable) vaultwarden vaultwarden-vault; inherit (unstable) vaultwarden vaultwarden-vault;
inherit oldstable;
inherit (oldstable) uwsgi flask;
}; };
in pkgs.extend(_: _: newpkgs) in pkgs.extend(_: _: newpkgs)