From 7d0a8b53e916c4146f08f8c732deb20040b0d733 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Wed, 19 Jun 2024 20:25:18 +0200 Subject: [PATCH] Update flake --- flake.lock | 18 +++++++++--------- flake.nix | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index f990101..96e7087 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1707685877, - "narHash": "sha256-XoXRS+5whotelr1rHiZle5t5hDg9kpguS5yk8c8qzOc=", + "lastModified": 1718730147, + "narHash": "sha256-QmD6B6FYpuoCqu6ZuPJH896ItNquDkn0ulQlOn4ykN8=", "owner": "ipetkov", "repo": "crane", - "rev": "2c653e4478476a52c6aa3ac0495e4dea7449ea0e", + "rev": "32c21c29b034d0a93fdb2379d6fabc40fc3d0e6c", "type": "github" }, "original": { @@ -25,11 +25,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1705309234, - "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -40,11 +40,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1708118438, - "narHash": "sha256-kk9/0nuVgA220FcqH/D2xaN6uGyHp/zoxPNUmPCMmEE=", + "lastModified": 1718530797, + "narHash": "sha256-pup6cYwtgvzDpvpSCFh1TEUjw2zkNpk8iolbKnyFmmU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "5863c27340ba4de8f83e7e3c023b9599c3cb3c80", + "rev": "b60ebf54c15553b393d144357375ea956f89e9a9", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 42d8674..28f9142 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,7 @@ (system: let pkgs = import nixpkgs { inherit system; }; - craneLib = inputs.crane.lib.${system}; + craneLib = inputs.crane.mkLib pkgs; in rec { packages.youmubot = pkgs.callPackage ./package.nix { inherit craneLib; }; @@ -35,7 +35,7 @@ { inputsFrom = [ packages.youmubot ]; - buildInputs = with pkgs; [ rustc rustfmt clippy sqlx-cli ]; + buildInputs = with pkgs; [ rustc rustfmt clippy sqlx-cli rust-analyzer ]; nativeBuildInputs = nixpkgs.lib.optionals pkgs.stdenv.isLinux (with pkgs; [ pkg-config