diff --git a/flake.nix b/flake.nix index 60354d7..63afd7b 100755 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,7 @@ # nixpkgs 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-master.url = "github:NixOS/nixpkgs/master"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05"; diff --git a/modules/server/calibre-web.nix b/modules/server/calibre-web.nix index 4b82ecd..d229395 100644 --- a/modules/server/calibre-web.nix +++ b/modules/server/calibre-web.nix @@ -5,10 +5,14 @@ ... }: let - work = import (builtins.fetchTarball { - url = "https://github.com/NixOS/nixpkgs/archive/e6f23dc08d3624daab7094b701aa3954923c6bbb.tar.gz"; - }) {}; - # myPkg = work.calibre-web; + work = import (builtins.fetchGit { + # Descriptive name to make the store path easier to identify + name = "my-old-revision"; + url = "https://github.com/NixOS/nixpkgs/"; + ref = "refs/heads/nixpkgs-unstable"; + rev = "e6f23dc08d3624daab7094b701aa3954923c6bbb"; + }) {}; + # myPkg = work.calibre-web; in { # services.calibre-server.package = stable.calibre;