~ehmry/genodepkgs

1

unexpected flake input attribute 'uri' flake.nix:8:3

Dan Connolly <dckc@madmode.com>
Details
Message ID
<CAD2YivZ-qZHJgCpDSrj0yvJs5iHsP8nLQu6xbF0vT8ss0UoDiA@mail.gmail.com>
DKIM signature
missing
Download raw message
Patch: +1 -1
I pulled 46c65613 and tried `nix build .#checks.x86_64-linux.nova-x86`

but I got:
error: unexpected flake input attribute 'uri', at
/nix/store/3r3000m61d24kv399h6znqg2cgb9qyq8-source/flake.nix:8:3

based on https://www.tweag.io/blog/2020-05-25-flakes/ looks like it
should be url; I'm having better luck with this patch:

genodepkgs$ git diff
diff --git a/flake.nix b/flake.nix
index d895817..4fba9f7 100644
--- a/flake.nix
+++ b/flake.nix
@@ -5,7 +5,7 @@

  description = "Genode packages";

  inputs.nixpkgs.uri = "github:ehmry/nixpkgs?ref=genode";
  inputs.nixpkgs.url = "github:ehmry/nixpkgs?ref=genode";

  outputs = { self, nixpkgs }:
    let


-- 
Dan Connolly
http://www.madmode.com/
Details
Message ID
<b28e3f18-0818-4f69-8754-14b51b37eee6@posteo.net>
In-Reply-To
<CAD2YivZ-qZHJgCpDSrj0yvJs5iHsP8nLQu6xbF0vT8ss0UoDiA@mail.gmail.com> (view parent)
DKIM signature
pass
Download raw message
Thansk for noticing, fixed at e3e5528569fe829a5b57888c6ffe3842ec639626.

On Sunday, 31 May, 2020 7:13:47 AM IST, Dan Connolly wrote:
> I pulled 46c65613 and tried `nix build .#checks.x86_64-linux.nova-x86`
>
> but I got:
> error: unexpected flake input attribute 'uri', at
> /nix/store/3r3000m61d24kv399h6znqg2cgb9qyq8-source/flake.nix:8:3
>
> based on https://www.tweag.io/blog/2020-05-25-flakes/ looks like it
> should be url; I'm having better luck with this patch:
>
> genodepkgs$ git diff
> diff --git a/flake.nix b/flake.nix
> index d895817..4fba9f7 100644
> --- a/flake.nix
> +++ b/flake.nix
> @@ -5,7 +5,7 @@
>
>    description = "Genode packages";
>
> -  inputs.nixpkgs.uri = "github:ehmry/nixpkgs?ref=genode";
> +  inputs.nixpkgs.url = "github:ehmry/nixpkgs?ref=genode";
>
>    outputs = { self, nixpkgs }:
>      let
>
>
Reply to thread Export thread (mbox)