diff --git a/flake.lock b/flake.lock index ae27b51678..c0cf3f726c 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "crane": { "locked": { - "lastModified": 1732407143, - "narHash": "sha256-qJOGDT6PACoX+GbNH2PPx2ievlmtT1NVeTB80EkRLys=", + "lastModified": 1734324364, + "narHash": "sha256-omYTR59TdH0AumP1cfh49fBnWZ52HjfdNfaLzCMZBx0=", "owner": "ipetkov", "repo": "crane", - "rev": "f2b4b472983817021d9ffb60838b2b36b9376b20", + "rev": "60d7623f1320470bf2fdb92fd2dca1e9a27b98ce", "type": "github" }, "original": { @@ -17,11 +17,11 @@ }, "flake-compat": { "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", "owner": "edolstra", "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", "type": "github" }, "original": { @@ -32,11 +32,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1732014248, - "narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=", + "lastModified": 1734119587, + "narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "23e89b7da85c3640bbc2173fe04f4bd114342367", + "rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5", "type": "github" }, "original": { @@ -61,11 +61,11 @@ ] }, "locked": { - "lastModified": 1732242723, - "narHash": "sha256-NWI8csIK0ujFlFuEXKnoc+7hWoCiEtINK9r48LUUMeU=", + "lastModified": 1734316514, + "narHash": "sha256-0aLx44yMblcOGpfFXKCzp2GhU5JaE6OTvdU+JYrXiUc=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "a229311fcb45b88a95fdfa5cecd8349c809a272a", + "rev": "83ee8ff74d6294a7657320f16814754c4594127b", "type": "github" }, "original": { diff --git a/nix/shell.nix b/nix/shell.nix index 75ceb0d8e3..acdbc82ca5 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -5,16 +5,20 @@ let inherit (pkgs) lib; in pkgs.mkShell rec { - packages = [ - pkgs.clang - pkgs.curl - pkgs.cmake - pkgs.perl - pkgs.pkg-config - pkgs.protobuf - pkgs.rustPlatform.bindgenHook - pkgs.rust-analyzer - ]; + packages = + [ + pkgs.clang + pkgs.curl + pkgs.cmake + pkgs.perl + pkgs.pkg-config + pkgs.protobuf + pkgs.rustPlatform.bindgenHook + pkgs.rust-analyzer + ] + ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [ + pkgs.mold + ]; buildInputs = [ @@ -31,6 +35,9 @@ pkgs.mkShell rec { ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [ pkgs.alsa-lib pkgs.libxkbcommon + pkgs.wayland + pkgs.xorg.libxcb + pkgs.vulkan-loader ] ++ lib.optional pkgs.stdenv.hostPlatform.isDarwin pkgs.apple-sdk_15;