File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed
Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 11{
22 inputs = {
3- nixpkgs . url = "github:NixOS/nixpkgs/ nixos-unstable" ;
3+ nixpkgs . url = "github:NixOS/nixpkgs?ref= nixos-unstable" ;
44
55 rust-overlay . url = "github:oxalica/rust-overlay" ;
66 rust-overlay . inputs . nixpkgs . follows = "nixpkgs" ;
3737
3838 devShells = forAllPkgs ( pkgs :
3939 let
40- inherit ( pkgs ) lib fetchFromGitHub ;
40+ inherit ( pkgs ) fetchFromGitHub ;
4141
4242 file-rust-toolchain = pkgs . rust-bin . fromRustupToolchainFile ./rust-toolchain.toml ;
4343 rust-toolchain = file-rust-toolchain . override { extensions = [ "rust-analyzer" ] ; } ;
5959 } ) ;
6060 in
6161 {
62- default = pkgs . mkShell rec {
63- nativeBuildInputs = with pkgs ; [
62+ default = pkgs . mkShell {
63+ packages = with pkgs ; [
6464 pkg-config
6565 rust-toolchain
66- act
6766
6867 cargo-dist
6968
7069 wakatime-cli
7170 ] ;
7271
73- buildInputs = [ ] ;
74-
7572 RUST_SRC_PATH = pkgs . rustPlatform . rustLibSrc ;
76- LD_LIBRARY_PATH = lib . makeLibraryPath buildInputs ;
7773
7874 RUST_LOG = "info" ;
7975 } ;
You can’t perform that action at this time.
0 commit comments