Browse Source

apply Mozilla nixpkgs overlay

This is preparing for RISC-V firmware compilation.
pull/69/head
Sebastien Bourdeauducq 2 months ago
parent
commit
45c3fa1817
  1. 2
      artiq-fast/default.nix
  2. 10
      artiq-fast/mozilla-overlay.nix

2
artiq-fast/default.nix

@ -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

@ -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…
Cancel
Save