Skip to content

Instantly share code, notes, and snippets.

@haslersn
Created September 24, 2018 16:26
Show Gist options
  • Save haslersn/a5bd6b82b9bbd943ffb4d917ac60bb25 to your computer and use it in GitHub Desktop.
Save haslersn/a5bd6b82b9bbd943ffb4d917ac60bb25 to your computer and use it in GitHub Desktop.
Code that works with `nix-shell` but not with `nix-shell -E 'code'`
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "my-nix-shell";
buildInputs = [ (import ./default.nix) ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment