Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 8 additions & 17 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
let
overrideWith = override: default:
let
try = builtins.tryEval (builtins.findFile builtins.nixPath override);
in if try.success then
builtins.trace "using search host <${override}>" try.value
else
default;
in

{ pkgs ? import <nixpkgs> {}

# a different haskell infrastructure
, haskell ? import (overrideWith "haskell"
(pkgs.fetchFromGitHub { owner = "input-output-hk";
repo = "haskell.nix";
rev = "3584345a9ab001d1867e972a1a20b4406cbffd68";
sha256 = "08pzfvspfl5nvn5szy7bv3rbwymjgmbdm1ac571c64fzhrwf5ghw";
name = "haskell-lib-source"; }))
{ inherit pkgs; }
, haskell ? import haskellLibSrc { inherit pkgs; }
, haskellLibSrc ? pkgs.fetchFromGitHub {
owner = "input-output-hk";
repo = "haskell.nix";
rev = "0de60e8b0cd0338b82d25d6148246d1cdbf37a47";
sha256 = "0j3mjlzwg8f95rsnj1vrcyivil65is16i48l1c3czm0ps39frch9";
name = "haskell-lib-source";
}
}:

let
Expand Down
2 changes: 1 addition & 1 deletion nix/.plan-pkgs.nix

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