Skip to content

Instantly share code, notes, and snippets.

@MostAwesomeDude
Created October 15, 2019 00:24
Show Gist options
  • Save MostAwesomeDude/a1984d555c0ccec2e86bb5eb2189eb6d to your computer and use it in GitHub Desktop.
Save MostAwesomeDude/a1984d555c0ccec2e86bb5eb2189eb6d to your computer and use it in GitHub Desktop.
{ nixpkgs ? import <nixpkgs> {} }:
let
inherit (nixpkgs) pkgs;
qbe = pkgs.stdenv.mkDerivation {
name = "qbe-unstable";
src = pkgs.fetchgit {
url = "git://c9x.me/qbe.git";
sha256 = "0r2af5036bbqwd3all6q0mlwrjcww4xgi1yr8l5xgddmx6711ygw";
};
makeFlags = [ "PREFIX=$(out)" ];
doCheck = true;
};
cachix = (import (fetchTarball https://cachix.org/api/v1/install) {}).cachix;
in pkgs.stdenv.mkDerivation {
name = "typhon-env";
buildInputs = with pkgs; [
git pythonPackages.pyflakes rlwrap
gist tidyp diffstat
linuxPackages.perf
gnuplot xclip
capnproto
gdb valgrind ltrace
# The QBE backend experiment.
# qbe mps
# Cachix.
cachix
imagemagick
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment