Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
nix/nixpkgs.nix: default enableMozillaOverlay to false.
Browse files Browse the repository at this point in the history
We only need to enable the Overlay for rust nightly, which we only use
in our dev-shell for lorri. In all other places we don’t need it.

Having no default value also broke the tutorial (direnv setup),
because `nix-env -f ./nix/nixpkgs.nix` would not work anymore.
  • Loading branch information
Profpatsch committed Mar 29, 2019
1 parent 703c71b commit a6a9ded
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
pkgs ? import ./nix/nixpkgs.nix { enableMozillaOverlay = false; },
pkgs ? import ./nix/nixpkgs.nix { },
src ? builtins.fetchGit {
url = ./.;
ref = "HEAD";
Expand Down
2 changes: 1 addition & 1 deletion example/shell.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
with import ../nix/nixpkgs.nix { enableMozillaOverlay = false; };
with import ../nix/nixpkgs.nix { };

mkShell {
buildInputs = [
Expand Down
2 changes: 1 addition & 1 deletion nix/nixpkgs.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ enableMozillaOverlay }:
{ enableMozillaOverlay ? false }:
let
hostpkgs = import <nixpkgs> {};

Expand Down

0 comments on commit a6a9ded

Please sign in to comment.