summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@ifm.com>2022-02-02 09:45:59 +0100
committerMatthias Beyer <matthias.beyer@ifm.com>2022-02-14 16:04:54 +0100
commit527a98a1c72008d97613af89466637cf3fae3f41 (patch)
tree0ceacc31b23d3c74069b0b3419279a1a2606ea0e
parent7e2d1fcf594fd720d872da6def9e815193f817c9 (diff)
Add mozilla overlay to pkgs import
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r--examples/default.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/examples/default.nix b/examples/default.nix
index 8c927bd6..1a8f52ff 100644
--- a/examples/default.nix
+++ b/examples/default.nix
@@ -1,8 +1,19 @@
-{ pkgs ? (import <nixpkgs> {})
+{ nixpkgs_root ? (import <nixpkgs> {})
, container-debug ? false
}:
let
+ pkgs = import <nixpkgs> {
+ overlays = [ (
+ import (nixpkgs_root.fetchFromGitHub {
+ owner = "mozilla";
+ repo = "nixpkgs-mozilla";
+ rev = "master";
+ sha256 = "sha256:1rzz03h0b38l5sg61rmfvzpbmbd5fn2jsi1ccvq22rb76s1nbh8i";
+ })
+ ) ];
+ };
+
packages = import ./packages.nix { inherit pkgs; };
containers = import ./containers.nix {
inherit pkgs packages container-debug;