fixing herc, one moment
This commit is contained in:
parent
6f50501b05
commit
8e2bc13e25
|
@ -92,7 +92,7 @@
|
||||||
# ci
|
# ci
|
||||||
herc = let
|
herc = let
|
||||||
hciSystem = "x86_64-linux";
|
hciSystem = "x86_64-linux";
|
||||||
hciPkgs = import nixpkgs { system = hciSystem; };
|
hciPkgs = import nixpkgs { system = hciSystem; overlays = overlays; };
|
||||||
effects = hercules-ci-effects.lib.withPkgs hciPkgs;
|
effects = hercules-ci-effects.lib.withPkgs hciPkgs;
|
||||||
mc = mcFn hciPkgs;
|
mc = mcFn hciPkgs;
|
||||||
lang = langFn hciPkgs;
|
lang = langFn hciPkgs;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ pkgs }:
|
{ pkgs }:
|
||||||
|
|
||||||
with pkgs.rustPlatform; rec {
|
rec {
|
||||||
rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
||||||
pkg = buildRustPackage {
|
pkg = pkgs.rustPlatform.buildRustPackage {
|
||||||
pname = "quri_squiggle_mc";
|
pname = "quri_squiggle_mc";
|
||||||
version = "0.0.1";
|
version = "0.0.1";
|
||||||
src = ../packages/mc;
|
src = ../packages/mc;
|
||||||
|
@ -35,7 +35,7 @@ with pkgs.rustPlatform; rec {
|
||||||
|
|
||||||
test = pkgs.stdenv.mkDerivation {
|
test = pkgs.stdenv.mkDerivation {
|
||||||
name = "squiggle-mc-test";
|
name = "squiggle-mc-test";
|
||||||
src = mc-pkg + "/pkg";
|
src = pkg + "/pkg";
|
||||||
buildInputs = with pkgs; [ cargo ];
|
buildInputs = with pkgs; [ cargo ];
|
||||||
buildPhase = "cargo test";
|
buildPhase = "cargo test";
|
||||||
installPhase = "mkdir -p $out";
|
installPhase = "mkdir -p $out";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user