Skip to content

Commit

Permalink
Revert flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbrisebois committed Aug 20, 2024
1 parent 514d826 commit 29c7fae
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 30 deletions.
39 changes: 36 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 26 additions & 27 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,36 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};

outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import ./pkgs.nix {
pkgs = nixpkgs.legacyPackages.${system};
inherit system;
};
in
{
devShells.${system} = {
default = pkgs.mkShell {
buildInputs = with pkgs; [
holochain_0-4
lair-keystore_0-4-5
hc_0-4
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import ./pkgs.nix {
pkgs = nixpkgs.legacyPackages.${system};
inherit system;
};
in
{
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
holochain_0-4
lair-keystore_0-4-5
hc_0-4

rustup
cargo
rustc
rustup
cargo
rustc

nodejs_22
];
nodejs_22
];

shellHook = ''
export PS1="\[\e[1;32m\](flake-env)\[\e[0m\] \[\e[1;34m\]\u@\h:\w\[\e[0m\]$ "
shellHook = ''
export PS1="\[\e[1;32m\](flake-env)\[\e[0m\] \[\e[1;34m\]\u@\h:\w\[\e[0m\]$ "
export CARGO_HOME=$(pwd)/.cargo
export RUSTUP_HOME=$(pwd)/.rustup
rustup default stable
rustup target add wasm32-unknown-unknown
'';
rustup default stable
rustup target add wasm32-unknown-unknown
'';
};
};
};
}
);
}

0 comments on commit 29c7fae

Please sign in to comment.