2024-06-25 13:53:01 +00:00
|
|
|
# This file controls the pinned version of nixpkgs we use for our Nix environment
|
|
|
|
# as well as which versions of package we use, including their overrides.
|
|
|
|
let
|
|
|
|
# For testing local version of nixpkgs
|
|
|
|
#nixpkgsSrc = (import <nixpkgs> { }).lib.cleanSource "/home/jakubgs/work/nixpkgs";
|
|
|
|
|
2024-07-19 12:33:56 +00:00
|
|
|
# We follow the release-24.05 branch of official nixpkgs.
|
2024-06-25 13:53:01 +00:00
|
|
|
nixpkgsSrc = builtins.fetchTarball {
|
2024-07-19 12:33:56 +00:00
|
|
|
url = "https://github.com/NixOS/nixpkgs/archive/29679bde4a9b069f76d6ff26b8d03b62e7f018f4.tar.gz";
|
|
|
|
sha256 = "sha256:0cdfnfr0xwcn5y677vy73parlw447krggghrf4lmcv4kmr7j2xjh";
|
2024-06-25 13:53:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Override some packages and utilities
|
|
|
|
pkgsOverlay = import ./overlay.nix;
|
|
|
|
in
|
|
|
|
(import nixpkgsSrc) {
|
|
|
|
overlays = [ pkgsOverlay ];
|
|
|
|
}
|