Skip to content

Commit 7fe6f74

Browse files
committed
update nix flake
1 parent b8b9c1e commit 7fe6f74

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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";
@@ -37,7 +37,7 @@
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" ]; };
@@ -59,21 +59,17 @@
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
};

0 commit comments

Comments
 (0)