Commit 4907d5e8 authored by Valentin Reis's avatar Valentin Reis
Browse files

updates default.nix to use argument passing.

parent e264fad2
Pipeline #5829 passed with stage
in 30 seconds
{ {
pkgs ? import <argopkgs> {}, pkgs ? import <argopkgs> {argotk-src=./.;},
}: }:
rec { rec {
argotk = pkgs.argotk.overrideAttrs (old:{ argotk = pkgs.argotk;
src = ./.;
});
hack = pkgs.argolib.getHackEnv pkgs pkgs.haskellPackages argotk; hack = pkgs.argolib.getHackEnv pkgs pkgs.haskellPackages argotk;
shakeEnv = pkgs.stdenv.mkDerivation { shakeEnv = pkgs.stdenv.mkDerivation {
name = "shake"; name = "shake";
ARGOTK_SHARE = "${argotk}/share"; ARGOTK_SHARE = "${argotk}/share";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment