Skip to content

Instantly share code, notes, and snippets.

@codedmart
Created July 21, 2015 14:18
Show Gist options
  • Select an option

  • Save codedmart/2ebacaa4ae51903b31f3 to your computer and use it in GitHub Desktop.

Select an option

Save codedmart/2ebacaa4ae51903b31f3 to your computer and use it in GitHub Desktop.
let
pkgs = import <nixpkgs> {};
stdenv = pkgs.stdenv;
haskellPackages = pkgs.haskell-ng.packages.ghc7101.override {
overrides = self: super: {
engine-io-wai = self.callPackage ~/Work/opensrc/engine.io/engine-io-wai {};
lumi-dashboard = self.callPackage ~/Work/lumi/lumi-dashboard {};
wai-cors = pkgs.haskell.lib.dontCheck pkgs.haskell.packages.ghc7101.wai-cors;
};
};
in rec {
lumiDashboardEnv = stdenv.mkDerivation rec {
name = "lumi-dashboard-env";
buildInputs = [ haskellPackages.lumi-dashboard.env ];
NIX_MYENV_NAME = "lumiDashboard";
shellHook = "source ~/.bash_prompt";
};
}
these derivations will be built:
/nix/store/s054m3k3hgbi1yfy8w7g2vn7i8bmrdys-interactive-lumi-dashboard-0.1.0.0-environment.drv
building path(s) ‘/nix/store/s2c67limlsnkff8g4f4wh6s7fz72x3yx-interactive-lumi-dashboard-0.1.0.0-environment’
unpacking sources
variable $src or $srcs should point to the source
builder for ‘/nix/store/s054m3k3hgbi1yfy8w7g2vn7i8bmrdys-interactive-lumi-dashboard-0.1.0.0-environment.drv’ failed with exit code 1
error: build of ‘/nix/store/s054m3k3hgbi1yfy8w7g2vn7i8bmrdys-interactive-lumi-dashboard-0.1.0.0-environment.drv’ failed
/Users/bmartin/.nix-profile/bin/nix-shell: failed to build all dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment