From 13edfb38b1791722db4d1d682a797c33001ade7d Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 20 Jul 2021 20:23:54 +0200 Subject: [PATCH] flake: use explicit input --- flake.lock | 14 ++++++++------ flake.nix | 15 +++++++++++++-- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/flake.lock b/flake.lock index b84cf74..35cccbd 100644 --- a/flake.lock +++ b/flake.lock @@ -2,30 +2,32 @@ "nodes": { "futils": { "locked": { - "lastModified": 1618868421, - "narHash": "sha256-vyoJhLV6cJ8/tWz+l9HZLIkb9Rd9esE7p+0RL6zDR6Y=", + "lastModified": 1623875721, + "narHash": "sha256-A8BU7bjS5GirpAUv4QA+QnJ4CceLHkcXdRp4xITDB0s=", "owner": "numtide", "repo": "flake-utils", - "rev": "eed214942bcfb3a8cc09eb3b28ca7d7221e44a94", + "rev": "f7e004a55b120c02ecb6219596820fcd32ca8772", "type": "github" }, "original": { "owner": "numtide", + "ref": "master", "repo": "flake-utils", "type": "github" } }, "nixpkgs": { "locked": { - "lastModified": 1619180214, - "narHash": "sha256-wt1uDD9RAxc3wdWOQp8zM3+ZyLb2rbnGIeaIuXGzw80=", + "lastModified": 1626764163, + "narHash": "sha256-TB+mtRpwn6pnoUXjBvJPIgHKkwLtjzFji4tkANlZWJQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "112a3b08e9bcffa58e0f79af0072fc8273933b87", + "rev": "1441fa74d213d7cc120d9d7d49e540c1fc59bc58", "type": "github" }, "original": { "owner": "NixOS", + "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 1f3d386..c607956 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,19 @@ description = "Ambroisie's CV"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - futils.url = "github:numtide/flake-utils"; + futils = { + type = "github"; + owner = "numtide"; + repo = "flake-utils"; + ref = "master"; + }; + + nixpkgs = { + type = "github"; + owner = "NixOS"; + repo = "nixpkgs"; + ref = "nixpkgs-unstable"; + }; }; outputs = { self, nixpkgs, futils } @ inputs: