Lints and suggestions for the Nix programming language
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

use stable rust (#90)

* use stable rust

* fix: ci

* fix: flake deprecation warnings

authored by

ajs124 and committed by
GitHub
fd539212 7393fb27

+18 -20
+11 -11
flake.lock
··· 8 8 "rust-analyzer-src": "rust-analyzer-src" 9 9 }, 10 10 "locked": { 11 - "lastModified": 1645251813, 12 - "narHash": "sha256-cQ66tGjnZclBCS3nD26mZ5fUH+3/HnysGffBiWXUSHk=", 11 + "lastModified": 1731738660, 12 + "narHash": "sha256-tIXhc9lX1b030v812yVJanSR37OnpTb/OY5rU3TbShA=", 13 13 "owner": "nix-community", 14 14 "repo": "fenix", 15 - "rev": "9892337b588c38ec59466a1c89befce464aae7f8", 15 + "rev": "e10ba121773f754a30d31b6163919a3e404a434f", 16 16 "type": "github" 17 17 }, 18 18 "original": { ··· 23 23 }, 24 24 "nixpkgs": { 25 25 "locked": { 26 - "lastModified": 1645013224, 27 - "narHash": "sha256-b7OEC8vwzJv3rsz9pwnTX2LQDkeOWz2DbKypkVvNHXc=", 26 + "lastModified": 1731890469, 27 + "narHash": "sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs=", 28 28 "owner": "nixos", 29 29 "repo": "nixpkgs", 30 - "rev": "b66b39216b1fef2d8c33cc7a5c72d8da80b79970", 30 + "rev": "5083ec887760adfe12af64830a66807423a859a7", 31 31 "type": "github" 32 32 }, 33 33 "original": { ··· 46 46 "rust-analyzer-src": { 47 47 "flake": false, 48 48 "locked": { 49 - "lastModified": 1645205556, 50 - "narHash": "sha256-e4lZW3qRyOEJ+vLKFQP7m2Dxh5P44NrnekZYLxlucww=", 51 - "owner": "rust-analyzer", 49 + "lastModified": 1731693936, 50 + "narHash": "sha256-uHUUS1WPyW6ohp5Bt3dAZczUlQ22vOn7YZF8vaPKIEw=", 51 + "owner": "rust-lang", 52 52 "repo": "rust-analyzer", 53 - "rev": "acf5874b39f3dc5262317a6074d9fc7285081161", 53 + "rev": "1b90e979aeee8d1db7fe14603a00834052505497", 54 54 "type": "github" 55 55 }, 56 56 "original": { 57 - "owner": "rust-analyzer", 57 + "owner": "rust-lang", 58 58 "ref": "nightly", 59 59 "repo": "rust-analyzer", 60 60 "type": "github"
+7 -9
flake.nix
··· 24 24 overlays = [ self.overlays.default ]; 25 25 }); 26 26 27 - rustChannel = p: (fenix.overlay p p).fenix.complete; 28 - 27 + rustChannel = p: (fenix.overlays.default p p).fenix.stable; 29 28 in 30 29 { 31 30 ··· 66 65 67 66 packages = forAllSystems (system: { 68 67 inherit (nixpkgsFor."${system}") statix statix-vim; 68 + default = (nixpkgsFor."${system}").statix; 69 69 }); 70 70 71 - defaultPackage = 72 - forAllSystems (system: self.packages."${system}".statix); 73 - 74 - devShell = forAllSystems (system: 75 - let 71 + devShells = forAllSystems (system: { 72 + default = let 76 73 pkgs = nixpkgsFor."${system}"; 77 74 toolchain = (rustChannel pkgs).withComponents [ 78 75 "rustc" ··· 93 90 ]; 94 91 RUST_LOG = "info"; 95 92 RUST_BACKTRACE = 1; 96 - }); 93 + }; 94 + }); 97 95 98 96 99 97 apps = forAllSystems ··· 101 99 let 102 100 pkgs = nixpkgsFor."${system}"; 103 101 cachix-push-script = pkgs.writeScriptBin "cachix-push" '' 104 - ${pkgs.nixUnstable}/bin/nix build --json \ 102 + ${pkgs.nix}/bin/nix build --json \ 105 103 | ${pkgs.jq}/bin/jq -r '.[].outputs | to_entries[].value' \ 106 104 | ${pkgs.cachix}/bin/cachix push statix 107 105 '';