diff options
Diffstat (limited to 'third_party/nixpkgs')
-rw-r--r-- | third_party/nixpkgs/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/nixpkgs/default.nix b/third_party/nixpkgs/default.nix index fa42b5bb7b6d..eb3c1ca86cea 100644 --- a/third_party/nixpkgs/default.nix +++ b/third_party/nixpkgs/default.nix @@ -49,10 +49,19 @@ let stableOverlay = self: super: { # nothing picked from stable currently }; + + # Overlay to expose the nixpkgs commits we are using to other Nix code. + commitsOverlay = _: _: { + nixpkgsCommits = { + unstable = unstableHashes.commit; + stable = stableHashes.commit; + }; + }; in import nixpkgsSrc { config.allowUnfree = true; config.allowBroken = true; overlays = [ + commitsOverlay stableOverlay depot.third_party.overlays.tvl depot.third_party.overlays.haskell |