Created
July 8, 2017 17:30
-
-
Save infinisil/a78ff5ef23441874ef1df8889c201bcd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, pkgs, ... }: | |
| # Custom packages | |
| let | |
| mozillaPkgsDir = (import <nixpkgs>{config={};}).fetchFromGitHub { | |
| owner = "mozilla"; | |
| repo = "nixpkgs-mozilla"; | |
| rev = "1608d31f7e5b2415fb80b5d76f97c009507bc45f"; | |
| sha256 = "0mznf82k7bxpjyvigxvvwpmi6gvg3b30l58z36x192q2xxv47v1k"; | |
| fetchSubmodules = true; | |
| }; | |
| mozillaPkgs = import mozillaPkgsDir {}; | |
| rustOverlay = import "${mozillaPkgsDir}/rust-overlay.nix"; | |
| in | |
| { | |
| nixpkgs.config.allowUnfree = true; | |
| nixpkgs.overlays = [ rustOverlay ]; | |
| environment.systemPackages = [ | |
| mozillaPkgs.firefox-nightly-bin | |
| ]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment