apply Mozilla nixpkgs overlay
This is preparing for RISC-V firmware compilation.
This commit is contained in:
parent
91a583c960
commit
45c3fa1817
@ -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";
|
||||
|
10
artiq-fast/mozilla-overlay.nix
Normal file
10
artiq-fast/mozilla-overlay.nix
Normal 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
|
Loading…
Reference in New Issue
Block a user