From fa37ff2732a52ce64b96f8ea375f295b28da2436 Mon Sep 17 00:00:00 2001 From: Dillon Mulroy Date: Sat, 13 Jul 2024 16:59:09 -0400 Subject: [PATCH] chore(nix): fix flake randomconv ref attr (#91) --- flake.lock | 48 +++++++++++++++++++++--------------------------- flake.nix | 4 ++-- 2 files changed, 23 insertions(+), 29 deletions(-) diff --git a/flake.lock b/flake.lock index feac10ba..cf2646c3 100644 --- a/flake.lock +++ b/flake.lock @@ -104,11 +104,11 @@ ] }, "locked": { - "lastModified": 1712800554, - "narHash": "sha256-sLMbS+9c+6FblW0C2guKYOdAasZBLusb3F6fE14ZNZE=", + "lastModified": 1714466102, + "narHash": "sha256-+YT6hdE07+v1JXYkBQdYrLhiyALAsXQhksPTaRe3rI4=", "owner": "ocaml-sys", "repo": "config.ml", - "rev": "025410661f773582c1873bf25e3a83b1a86ddddd", + "rev": "f850715406b2ea28bbbed76826f0b97c4f933857", "type": "github" }, "original": { @@ -337,11 +337,11 @@ "nixpkgs-lib": "nixpkgs-lib_4" }, "locked": { - "lastModified": 1712014858, - "narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=", + "lastModified": 1719994518, + "narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "9126214d0a59633752a136528f5f3b9aa8565b7d", + "rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7", "type": "github" }, "original": { @@ -455,11 +455,11 @@ ] }, "locked": { - "lastModified": 1713261196, - "narHash": "sha256-aH/GPmzBtaVtEw7aBDpiH8OZ2a/8dA9UR1bygm10rWo=", + "lastModified": 1720040053, + "narHash": "sha256-M1LHZ2C8znbpR6m3iq+ATJJ77vMsGTWUWaDssvlnHjg=", "owner": "riot-ml", "repo": "gluon", - "rev": "6f1db116b1de187b9db32a5f0821e661bb28e1c7", + "rev": "0b9e2f648ddb6e88fe13a3fa39e1644a53ba44d1", "type": "github" }, "original": { @@ -548,11 +548,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1712963716, - "narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=", + "lastModified": 1720768451, + "narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "cfd6b5fc90b15709b780a5a1619695a88505a176", + "rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9", "type": "github" }, "original": { @@ -762,20 +762,14 @@ }, "nixpkgs-lib_4": { "locked": { - "dir": "lib", - "lastModified": 1711703276, - "narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "d8fe5e6c92d0d190646fb9f1056741a229980089", - "type": "github" + "lastModified": 1719876945, + "narHash": "sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz" }, "original": { - "dir": "lib", - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz" } }, "nixpkgs-lib_5": { @@ -899,11 +893,11 @@ ] }, "locked": { - "lastModified": 1712801167, - "narHash": "sha256-2v3DuZZ/s5DmC4sFOFQf6vYIDb+XUQPmtyB1DIDX6ks=", + "lastModified": 1713871722, + "narHash": "sha256-g3porvRt5iRK2Vi+8JuiMd9OtWiYb6R34y1rLYqyQ0o=", "owner": "riot-ml", "repo": "rio", - "rev": "e7ee9006d96fd91248599fa26c1982364375dd9e", + "rev": "52ae6fc89360f0a46b8a57833ba583fcb569481e", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 81a203b8..48e1a418 100644 --- a/flake.nix +++ b/flake.nix @@ -52,7 +52,7 @@ systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ]; perSystem = { config, self', inputs', pkgs, system, ... }: let - inherit (pkgs) ocamlPackages mkShell lib; + inherit (pkgs) ocamlPackages mkShell; inherit (ocamlPackages) buildDunePackage; version = "0.0.9+dev"; in @@ -79,7 +79,7 @@ src = builtins.fetchGit { url = "git@github.com:hannesm/randomconv.git"; rev = "b2ce656d09738d676351f5a1c18aff0ff37a7dcc"; - ref = "refs/tags/${version}"; + ref = "refs/tags/v0.2.0"; }; };