Skip to content

Commit

Permalink
Update flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
kings177 authored Mar 10, 2024
1 parent 0db5ea5 commit 0638598
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
description = "A massively parallel functional runtime.";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
Expand All @@ -17,7 +17,7 @@

src = builtins.filterSource
(name: type: builtins.elem (baseNameOf name) [
"src" "Cargo.lock" "Cargo.toml" "rust-toolchain.toml"
"src", "Cargo.lock", "Cargo.toml", "rust-toolchain.toml"
])
./.;

Expand All @@ -28,11 +28,6 @@
version = "0.1.0";
src = pkgs.lib.cleanSource src;
buildInputs = [ pkgs.openssl pkgs.pkg-config ];
buildPhase = "cargo build";
installPhase = ''
mkdir -p $out/bin
cp target/release/hvm $out/bin/
'';
};
};

Expand Down

0 comments on commit 0638598

Please sign in to comment.