This commit is contained in:
2025-11-02 12:30:05 +03:00
parent ee8a6b9d55
commit c99f415006
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
# nixpkgs # nixpkgs
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
#nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f"; # nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f";
# nixpkgs-calibre-web.url = "github:NixOS/nixpkgs/e6f23dc08d3624daab7094b701aa3954923c6bbb"; # nixpkgs-calibre-web.url = "github:NixOS/nixpkgs/e6f23dc08d3624daab7094b701aa3954923c6bbb";
nixpkgs-master.url = "github:NixOS/nixpkgs/master"; nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
+8 -4
View File
@@ -5,10 +5,14 @@
... ...
}: }:
let let
work = import (builtins.fetchTarball { work = import (builtins.fetchGit {
url = "https://github.com/NixOS/nixpkgs/archive/e6f23dc08d3624daab7094b701aa3954923c6bbb.tar.gz"; # Descriptive name to make the store path easier to identify
}) {}; name = "my-old-revision";
# myPkg = work.calibre-web; url = "https://github.com/NixOS/nixpkgs/";
ref = "refs/heads/nixpkgs-unstable";
rev = "e6f23dc08d3624daab7094b701aa3954923c6bbb";
}) {};
# myPkg = work.calibre-web;
in in
{ {
# services.calibre-server.package = stable.calibre; # services.calibre-server.package = stable.calibre;