From 2ce2f3f9789a24f4ddd7f925b7b5f67ec8920e33 Mon Sep 17 00:00:00 2001 From: Jakob Leifhelm Date: Sun, 23 Apr 2023 18:43:25 +0200 Subject: [PATCH] starfive visionfive2: fix flake check --- starfive/visionfive/v2/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/starfive/visionfive/v2/README.md b/starfive/visionfive/v2/README.md index d6655ce..51e811f 100644 --- a/starfive/visionfive/v2/README.md +++ b/starfive/visionfive/v2/README.md @@ -5,8 +5,13 @@ Create and configure the `flake.nix` file: { inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; inputs.nixos-hardware.url = "github:nixos/nixos-hardware"; + + # Some dependencies of this flake are not yet available on non linux systems + inputs.systems.url = "github:nix-systems/x86_64-linux"; inputs.flake-utils.url = "github:numtide/flake-utils"; - outputs = { self, nixpkgs, nixos-hardware, flake-utils }: + inputs.flake-utils.inputs.systems.follows = "systems"; + + outputs = { self, nixpkgs, nixos-hardware, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system: rec { packages.default = packages.sd-image;