From f01af006e167551964b580273748a67c49cc12c1 Mon Sep 17 00:00:00 2001 From: Stanislav Alekseev <43210583+WeetHet@users.noreply.github.com> Date: Tue, 13 May 2025 11:45:22 +0300 Subject: [PATCH] Update nixpkgs, add direnv to gitignore (#30292) This also moves nixpkgs to use `channels.nixos.org` since those tarballs are 30mb in size as compared to 45mb github ones Release Notes: - N/A ---- cc @P1n3appl3 --- .gitignore | 1 + flake.lock | 17 +++++++---------- flake.nix | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 94c73977ef..db2a8139cd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ **/cargo-target **/target **/venv +**/.direnv *.wasm *.xcodeproj .DS_Store diff --git a/flake.lock b/flake.lock index c09eb90d2d..cb96136c42 100644 --- a/flake.lock +++ b/flake.lock @@ -32,18 +32,15 @@ }, "nixpkgs": { "locked": { - "lastModified": 1743095683, - "narHash": "sha256-gWd4urRoLRe8GLVC/3rYRae1h+xfQzt09xOfb0PaHSk=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "5e5402ecbcb27af32284d4a62553c019a3a49ea6", - "type": "github" + "lastModified": 315532800, + "narHash": "sha256-kgy4FnRFGj62QO3kI6a6glFl8XUtKMylWGybnVCvycM=", + "rev": "b3582c75c7f21ce0b429898980eddbbf05c68e55", + "type": "tarball", + "url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre796313.b3582c75c7f2/nixexprs.tar.xz?rev=b3582c75c7f21ce0b429898980eddbbf05c68e55" }, "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz" } }, "root": { diff --git a/flake.nix b/flake.nix index 834b9aa9f2..2c40afcf37 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "High-performance, multiplayer code editor from the creators of Atom and Tree-sitter"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable"; + nixpkgs.url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz"; rust-overlay = { url = "github:oxalica/rust-overlay"; inputs.nixpkgs.follows = "nixpkgs";