Skip to content

Commit

Permalink
Fix accidentally merged conflict markers
Browse files Browse the repository at this point in the history
  • Loading branch information
AZWN committed Jun 13, 2024
1 parent 62b65e9 commit 4010475
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 44 deletions.
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,9 @@ Cargo.lock
.vscode/
.idea/

<<<<<<< HEAD
*.dot
*.mmd

.direnv

**/render-docs
||||||| e498f11
*.dot
=======
*.dot
.direnv
>>>>>>> record-example-tests
44 changes: 7 additions & 37 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<<<<<<< HEAD
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
Expand All @@ -21,6 +20,12 @@
};
in {
devShells.default = pkgs.mkShell rec {
rustToolchain = pkgs.rust-bin.stable.latest.default.override {
targets = [ "wasm32-unknown-unknown" ];
extensions = [ "rust-src" "rust-analyzer" ];
};
RUST_SRC_PATH = "${rustToolchain}/lib/rustlib/src/rust/library";

buildInputs = with pkgs; [
# necessary for building wgpu in 3rd party packages (in most cases)
libxkbcommon
Expand Down Expand Up @@ -88,39 +93,4 @@
'';
};
});
}
||||||| e498f11
=======
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
};
};
};

outputs = { self, nixpkgs, rust-overlay, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ (import rust-overlay) ];
};
in {
devShells.default = pkgs.mkShell rec {
rustToolchain = pkgs.rust-bin.stable.latest.default.override {
targets = [ "wasm32-unknown-unknown" ];
extensions = [ "rust-src" "rust-analyzer" ];
};
RUST_SRC_PATH = "${rustToolchain}/lib/rustlib/src/rust/library";

buildInputs = with pkgs; [ trunk rustToolchain cargo-watch ];
};
});
}
>>>>>>> record-example-tests
}

0 comments on commit 4010475

Please sign in to comment.