Skip to content

Instantly share code, notes, and snippets.

@brodul
Created September 5, 2017 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brodul/999c3770ace7b30f37ed5858a807858a to your computer and use it in GitHub Desktop.
Save brodul/999c3770ace7b30f37ed5858a807858a to your computer and use it in GitHub Desktop.
shell.nix
let
pkgs = import <nixpkgs> {};
buildDeps = with pkgs; [stdenv buildGoPackage fetchgit fetchhg fetchbzr fetchsvn];
goFish = import ./default.nix;
in pkgs.stdenv.mkDerivation {
name = "go-fish-nix-shell";
buildInputs = [ (goFish {inherit buildDeps; }) ];
}
@brodul
Copy link
Author

brodul commented Sep 5, 2017

anonymous function at /home/brodul/Hackish/go_fish/src/github.com/brodul/go_fish/default.nix:2:1 called without required argument ‘stdenv’, at /home/brodul/Hackish/go_fish/src/github.com/brodul/go_fish/shell.nix:7:22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment