Skip to content

Instantly share code, notes, and snippets.

@aabs
Last active May 6, 2020 02:33
Show Gist options
  • Save aabs/15300af4b57529b56eeb50c3576f5be4 to your computer and use it in GitHub Desktop.
Save aabs/15300af4b57529b56eeb50c3576f5be4 to your computer and use it in GitHub Desktop.
A very simple starting derivation for nix shell
import (fetchTarball {
url = https://github.com/NixOS/nixpkgs/archive/ab3adfe1c769c22b6629e59ea0ef88ec8ee4563f.tar.gz;
sha256 = "1m4wvrrcvif198ssqbdw897c8h84l0cy7q75lyfzdsz9khm1y2n1";
})
let
inherit (pkgs) mkShell beam;
pkgs = import ./pkgs.nix {} ;
in mkShell {
nativeBuildInputs = [ beam.interpreters.elixir_1_10 ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment