This commit is contained in:
2025-11-02 12:50:13 +03:00
parent 089ff1d1fb
commit 1d81be4977
2 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -9,7 +9,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";
#nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11"; #nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11";
+8 -7
View File
@@ -5,14 +5,15 @@
... ...
}: }:
let let
work = import (builtins.fetchGit { # work = import (builtins.fetchGit {
# Descriptive name to make the store path easier to identify # # Descriptive name to make the store path easier to identify
name = "my-old-revision"; # name = "my-old-revision";
url = "https://github.com/NixOS/nixpkgs/"; # url = "https://github.com/NixOS/nixpkgs/";
ref = "refs/heads/nixpkgs-unstable"; # ref = "refs/heads/nixpkgs-unstable";
rev = "e6f23dc08d3624daab7094b701aa3954923c6bbb"; # rev = "e6f23dc08d3624daab7094b701aa3954923c6bbb";
}) {}; # }) {};
# myPkg = work.calibre-web; # myPkg = work.calibre-web;
work = import inputs.nixpkgs-calibre { system = "x86_64-linux"; };
in in
{ {
# services.calibre-server.package = stable.calibre; # services.calibre-server.package = stable.calibre;