From 431fe4f43f038cb251539561fafc3e82d98cbce7 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Fri, 27 Aug 2021 13:25:47 +0300 Subject: [PATCH] Pin nixpkgs in flake.nix Also removed redundant `/master` rev in `{blip,urps}Pkgs` inputs. --- flake.lock | 14 +++++++------- flake.nix | 5 +++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 9489c57..ac3f58c 100644 --- a/flake.lock +++ b/flake.lock @@ -14,7 +14,6 @@ }, "original": { "owner": "p2pcollab", - "ref": "master", "repo": "ocaml-blip", "type": "github" } @@ -35,16 +34,18 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1625604429, - "narHash": "sha256-qnQTLukEtqV5XL77l72PeG2O697j8bou4TsCLt7EN7Y=", + "lastModified": 1629827819, + "narHash": "sha256-cysfDbdjTluO+UtuT6iRrf/2Lt7Qo/qRlpz9F5rz3Sc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a2cfe3fb7ee689165a5dfc35b39bc16000c68082", + "rev": "503209808cd613daed238e21e7a18ffcbeacebe3", "type": "github" }, "original": { - "id": "nixpkgs", - "type": "indirect" + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" } }, "nixpkgs_3": { @@ -82,7 +83,6 @@ }, "original": { "owner": "p2pcollab", - "ref": "master", "repo": "ocaml-urps", "type": "github" } diff --git a/flake.nix b/flake.nix index cc4ed51..f17c584 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,9 @@ description = "OCaml P2P libraries"; inputs = { - blipPkgs.url = "github:p2pcollab/ocaml-blip/master"; - urpsPkgs.url = "github:p2pcollab/ocaml-urps/master"; + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + blipPkgs.url = "github:p2pcollab/ocaml-blip"; + urpsPkgs.url = "github:p2pcollab/ocaml-urps"; }; outputs = { self, nixpkgs, blipPkgs, urpsPkgs }: