From 7fd07f6dfeb535b736925aa7ef5d141e53c780c7 Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 27 Apr 2022 02:23:31 +0200 Subject: [PATCH] flake: format inputs+lockfile --- flake.lock | 5 +++-- flake.nix | 13 +++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/flake.lock b/flake.lock index f73ac1a..e487094 100644 --- a/flake.lock +++ b/flake.lock @@ -26,9 +26,10 @@ "type": "github" }, "original": { - "id": "nixpkgs", + "owner": "NixOS", "ref": "nixos-unstable", - "type": "indirect" + "repo": "nixpkgs", + "type": "github" } }, "root": { diff --git a/flake.nix b/flake.nix index dbfbfea..01178db 100644 --- a/flake.nix +++ b/flake.nix @@ -1,13 +1,14 @@ { description = "an offline-capable xkcd webcomic reader written in Go"; - inputs.flake-compat = { - url = "github:edolstra/flake-compat"; - flake = false; - inputs.nixpkgs.follows = "nixpkgs"; + inputs= { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-compat = { + url = "github:edolstra/flake-compat"; + flake = false; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - # Nixpkgs / NixOS version to use. - inputs.nixpkgs.url = "nixpkgs/nixos-unstable"; outputs = { self, nixpkgs, ... }: let