apply Mozilla nixpkgs overlay

This is preparing for RISC-V firmware compilation.
This commit is contained in:
Sebastien Bourdeauducq 2021-09-12 17:12:16 +08:00
parent 91a583c960
commit 45c3fa1817
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> {}}:
{ pkgs ? import <nixpkgs> { overlays = [ (import ./mozilla-overlay.nix) ]; }}:
with pkgs;
let
artiq6 = pkgs.lib.strings.versionAtLeast mainPackages.artiq.version "6.0";

View File

@ -0,0 +1,10 @@
let
pkgs = import <nixpkgs> {};
overlay = pkgs.fetchFromGitHub {
owner = "mozilla";
repo = "nixpkgs-mozilla";
rev = "0510159186dd2ef46e5464484fbdf119393afa58";
sha256 = "sha256-HJX4Pc5ZUAg4apxB/XHuJ+6ukzvRQqeZMjscOBst2bA=";
};
in
import overlay