pin nixpkgs with npins

This commit is contained in:
Jussi Kuokkanen 2023-07-18 16:17:10 +03:00
parent 9231e8f4ec
commit cc5ebe847d

View File

@ -1,7 +1,11 @@
with import <nixpkgs> {};
libsForQt5.callPackage ./default.nix {
libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl;
nvidia_x11 = linuxPackages.nvidia_x11;
#boost = boost179;
# TODO: I'd like to pin this, but specifying 1.79 gives a compile error even though the exact same hash is used if 'boost' is used
}
# TODO: conditional import
let
sources = import ./npins;
pkgs = import sources.nixpkgs {};
in with pkgs;
libsForQt5.callPackage ./default.nix {
libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl;
nvidia_x11 = linuxPackages.nvidia_x11;
#boost = boost179;
# TODO: I'd like to pin this, but specifying 1.79 gives a compile error even though the exact same hash is used if 'boost' is used
}