Created
June 4, 2019 15:57
-
-
Save tdietert/2c2e7544521df27dfaab35c1d7a1f91a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ nixpkgs ? (import <nixpkgs> { config = { | |
packageOverrides = nixpkgs: rec { | |
flow = nixpkgs.flow.override { | |
installPhase = '' | |
cp frontend/classroom/node_modules/flow-bin/flow-linux64-v*/flow flow | |
chmod a+rw flow | |
patchelf \ | |
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ | |
--set-rpath ".:${nixpkgs.stdenv.cc.libc}/lib" \ | |
flow | |
''; | |
}; | |
}; | |
}; | |
}) | |
, ghc ? nixpkgs.ghc | |
}: | |
with nixpkgs; | |
haskell.lib.buildStackProject { | |
name = "freckle-megarepo"; | |
buildInputs = [ | |
# setup | |
curl | |
adoptopenjdk-jre-bin | |
htop | |
git | |
gnumake | |
postgresql | |
openvpn | |
unzip | |
xclip | |
docker | |
docker-compose | |
awscli | |
pcre | |
glpk | |
zlib | |
haskellPackages.ghc | |
haskellPackages.stack | |
# frontend | |
yarn | |
]; | |
inherit ghc; | |
inherit flow; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment