Skip to content

Commit

Permalink
chore(flake): format
Browse files Browse the repository at this point in the history
Signed-off-by: Danielle Lancashire <dani@builds.terrible.systems>
  • Loading branch information
endocrimes committed Dec 27, 2023
1 parent a099326 commit 9eacf09
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

{
description = "Nix Devshell for Spin";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
rust-overlay.url = "github:oxalica/rust-overlay";
flake-utils.url = "github:numtide/flake-utils";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, rust-overlay, flake-utils, ... }:
Expand All @@ -16,9 +15,9 @@
inherit system overlays;
};
rustTarget = pkgs.rust-bin.stable.latest.default.override {
extensions= [ "rust-src" "rust-analyzer" ];
targets = [ "wasm32-wasi" "wasm32-unknown-unknown" ];
};
extensions = [ "rust-src" "rust-analyzer" ];
targets = [ "wasm32-wasi" "wasm32-unknown-unknown" ];
};
in
with pkgs;
{
Expand All @@ -33,7 +32,7 @@

shellHook = ''
'';
RUST_SRC_PATH = "${rustTarget}/lib/rustlib/src/rust/library";
RUST_SRC_PATH = "${rustTarget}/lib/rustlib/src/rust/library";

};
}
Expand Down

0 comments on commit 9eacf09

Please sign in to comment.