~ninjin/julia-nix

21a06dd95a204fb715c3351f465bd19ec3d48327 — Pontus Stenetorp 3 years ago 1980696
nix: Development environment

Works with dependencies provided by Binary Builder, but needs to be
extended to build dependencies from source.
1 files changed, 19 insertions(+), 0 deletions(-)

A shell.nix
A shell.nix => shell.nix +19 -0
@@ 0,0 1,19 @@
# vim: set ts=8 sw=2 sts=2 et:

{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
  # https://github.com/JuliaLang/julia/blob/master/doc/build/linux.md
  # https://github.com/JuliaLang/julia/blob/master/doc/build/build.md#required-build-tools-and-external-libraries
  nativeBuildInputs = with pkgs; [
    cacert # https://github.com/JuliaLang/julia/issues/40185
    coreutils
    curl
    file # BB binary patching.
    git
    patchelf # BB binary patching.
    perl
    python3
    stdenv # BB binary patching.
    which
  ];
}