diff --git a/flake.lock b/flake.lock index df38dba..110f8ca 100644 --- a/flake.lock +++ b/flake.lock @@ -11,11 +11,11 @@ "src-pythonparser": "src-pythonparser" }, "locked": { - "lastModified": 1731636768, - "narHash": "sha256-Oqa7G8E9lFIFouYE2uP5ii4Bo6eKHmUUHwj4uievMdE=", + "lastModified": 1731734344, + "narHash": "sha256-2vLRo9D5wDs5FArpc2pOfuKFrhnqIKjtZos88VJahhc=", "ref": "refs/heads/master", - "rev": "9aae89be69fa3ab1dd0a75f399ffc6cf208818d2", - "revCount": 9048, + "rev": "27d54cb8f3a394b4f4adcbb3c2c9160c5bf3df47", + "revCount": 9049, "type": "git", "url": "https://github.com/m-labs/artiq.git" }, @@ -68,38 +68,6 @@ "type": "github" } }, - "mozilla-overlay": { - "flake": false, - "locked": { - "lastModified": 1704373101, - "narHash": "sha256-+gi59LRWRQmwROrmE1E2b3mtocwueCQqZ60CwLG+gbg=", - "owner": "mozilla", - "repo": "nixpkgs-mozilla", - "rev": "9b11a87c0cc54e308fa83aac5b4ee1816d5418a2", - "type": "github" - }, - "original": { - "owner": "mozilla", - "repo": "nixpkgs-mozilla", - "type": "github" - } - }, - "mozilla-overlay_2": { - "flake": false, - "locked": { - "lastModified": 1704373101, - "narHash": "sha256-+gi59LRWRQmwROrmE1E2b3mtocwueCQqZ60CwLG+gbg=", - "owner": "mozilla", - "repo": "nixpkgs-mozilla", - "rev": "9b11a87c0cc54e308fa83aac5b4ee1816d5418a2", - "type": "github" - }, - "original": { - "owner": "mozilla", - "repo": "nixpkgs-mozilla", - "type": "github" - } - }, "nixpkgs": { "locked": { "lastModified": 1731319897, @@ -119,7 +87,6 @@ "root": { "inputs": { "artiq": "artiq", - "mozilla-overlay": "mozilla-overlay", "zynq-rs": "zynq-rs" } }, @@ -145,6 +112,28 @@ "type": "github" } }, + "rust-overlay_2": { + "inputs": { + "nixpkgs": [ + "zynq-rs", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1719454714, + "narHash": "sha256-MojqG0lyUINkEk0b3kM2drsU5vyaF8DFZe/FAlZVOGs=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "d1c527659cf076ecc4b96a91c702d080b213801e", + "type": "github" + }, + "original": { + "owner": "oxalica", + "ref": "snapshot/2024-08-01", + "repo": "rust-overlay", + "type": "github" + } + }, "sipyco": { "inputs": { "nixpkgs": [ @@ -233,18 +222,18 @@ }, "zynq-rs": { "inputs": { - "mozilla-overlay": "mozilla-overlay_2", "nixpkgs": [ "artiq", "nixpkgs" - ] + ], + "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1731704957, - "narHash": "sha256-wxYzmzXZZIPslnLk0rEEC5qqYoyHl3m7MG39IMA4Zak=", + "lastModified": 1731748503, + "narHash": "sha256-HXyQE/ysx00wBgFDsb+V1YP0NIMDA3Vrr7w3poK377Q=", "ref": "refs/heads/master", - "rev": "5815baf88b613757ae252850c342c9c44ed1243d", - "revCount": 652, + "rev": "8c404829efaccffe6079086383fdcd76061b5fa2", + "revCount": 654, "type": "git", "url": "https://git.m-labs.hk/m-labs/zynq-rs" }, diff --git a/flake.nix b/flake.nix index 100f90d..1d2f704 100644 --- a/flake.nix +++ b/flake.nix @@ -2,13 +2,12 @@ description = "ARTIQ port to the Zynq-7000 platform"; inputs.artiq.url = git+https://github.com/m-labs/artiq.git; - inputs.mozilla-overlay = { url = github:mozilla/nixpkgs-mozilla; flake = false; }; inputs.zynq-rs.url = git+https://git.m-labs.hk/m-labs/zynq-rs; inputs.zynq-rs.inputs.nixpkgs.follows = "artiq/nixpkgs"; - outputs = { self, mozilla-overlay, zynq-rs, artiq }: + outputs = { self, zynq-rs, artiq }: let - pkgs = import artiq.inputs.nixpkgs { system = "x86_64-linux"; overlays = [ (import mozilla-overlay) ]; }; + pkgs = import artiq.inputs.nixpkgs { system = "x86_64-linux"; overlays = [ (import zynq-rs.inputs.rust-overlay) ]; }; zynqpkgs = zynq-rs.packages.x86_64-linux; artiqpkgs = artiq.packages.x86_64-linux; llvmPackages_11 = zynq-rs.llvmPackages_11;