From 839dd4d851f2c2b6719a0bc940ae8a15eff4c47d Mon Sep 17 00:00:00 2001 From: CLI Arena Date: Thu, 13 Jun 2024 12:37:11 +0100 Subject: [PATCH] fix(nix): added nixpkgs inputs --- flake.lock | 12 +++++++----- flake.nix | 9 +++++++-- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 2cd35787..34acd639 100644 --- a/flake.lock +++ b/flake.lock @@ -2,16 +2,18 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1702539185, - "narHash": "sha256-KnIRG5NMdLIpEkZTnN5zovNYc0hhXjAgv6pfd5Z4c7U=", + "lastModified": 1718160348, + "narHash": "sha256-9YrUjdztqi4Gz8n3mBuqvCkMo4ojrA6nASwyIKWMpus=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "aa9d4729cbc99dabacb50e3994dcefb3ea0f7447", + "rev": "57d6973abba7ea108bac64ae7629e7431e0199b6", "type": "github" }, "original": { - "id": "nixpkgs", - "type": "indirect" + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" } }, "root": { diff --git a/flake.nix b/flake.nix index dc4b3fc6..bd332b3e 100644 --- a/flake.nix +++ b/flake.nix @@ -1,9 +1,14 @@ { description = "wolf stream"; + inputs = { + # nixpkgs.url = "github:NixOS/nixpkgs/9957cd48326fe8dbd52fdc50dd2502307f188b0d"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + }; - outputs = { self, nixpkgs }: + outputs = inputs@{ self,... }: let - pkgs = nixpkgs.legacyPackages.x86_64-linux; + system = "x86_64-linux"; + pkgs = import inputs.nixpkgs { inherit system; }; deps = { boost-json_src = pkgs.fetchFromGitHub { owner = "boostorg";