Skip to content

Commit

Permalink
Fix release.nix in tests/speed
Browse files Browse the repository at this point in the history
  • Loading branch information
idontgetoutmuch committed Apr 17, 2023
1 parent e467d44 commit 905f02b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions release.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
let

myHaskellPackageOverlay = self: super: {
myHaskellPackages = super.haskell.packages.ghc8107.override {
myHaskellPackages = super.haskell.packages.ghc961.override {
overrides = hself: hsuper: rec {
random-fu = hself.callPackage ./random-fu { };
random-source = hself.callPackage ./random-source { };
rvar = hself.callPackage ./rvar { };
microstache = super.haskell.lib.doJailbreak hsuper.microstache;
vector-binary-instances = super.haskell.lib.doJailbreak hsuper.vector-binary-instances;
};
};
};
Expand Down
8 changes: 4 additions & 4 deletions tests/speed/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ mkDerivation, base, criterion, deepseq, mersenne-random-pure64
{ mkDerivation, base, criterion, deepseq, lib, mersenne-random-pure64
, MonadRandom, mtl, mwc-random, random, random-fu, random-source
, stateref, stdenv, vector
, stateref, vector
}:
mkDerivation {
pname = "speed-tests";
version = "0.0.0.1";
version = "0.0.0.2";
src = ./.;
isLibrary = false;
isExecutable = true;
Expand All @@ -13,5 +13,5 @@ mkDerivation {
mwc-random random random-fu random-source stateref vector
];
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
hydraPlatforms = lib.platforms.none;
}

0 comments on commit 905f02b

Please sign in to comment.