Skip to content

Instantly share code, notes, and snippets.

@dminuoso

dminuoso/foo.nix Secret

Created March 11, 2019 09:02
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 dminuoso/c466aa769ccaf23cb9195368968fadd9 to your computer and use it in GitHub Desktop.
Save dminuoso/c466aa769ccaf23cb9195368968fadd9 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {},
}:
let
unstable = import <unstable> {};
ghc = pkgs.haskell.compiler.ghc844;
cabal = unstable.cabal-install;
zlib = pkgs.zlib;
in
pkgs.stdenv.mkDerivation {
name = "modgud";
buildInputs = [
ghc
cabal
zlib
];
}
@dminuoso
Copy link
Author

[nix-shell:~/wobcom/projects/modgud]$ env |grep LD_LIBRARY
LD_LIBRARY_PATH=/run/opengl-driver/lib

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