keep using the old uffd's pythonPackages, lol

onlyoffice-nix
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"
}
},
"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": {
"locked": {
"lastModified": 1695318763,
@ -776,6 +792,7 @@
"nix-hexchen": "nix-hexchen",
"nixos-mailserver": "nixos-mailserver",
"nixpkgs": "nixpkgs",
"nixpkgs-oldstable": "nixpkgs-oldstable",
"nixpkgs-unstable": "nixpkgs-unstable",
"sops-nix": "sops-nix",
"tracktrain": "tracktrain"

View File

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

View File

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