Last active
August 29, 2015 14:24
-
-
Save ublubu/e99f7b3282e7c236ac1b to your computer and use it in GitHub Desktop.
tile-rider nix-shell stuff
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> {}, compiler ? "ghc784" }: | |
nixpkgs.pkgs.haskell.packages.${compiler}.callPackage ./tile-rider.nix { } |
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
("/nix/store/mr9s0r4bxb85vqh6i7l0as2nxq7fr492-ghc-7.8.4/bin" "/nix/store/ddn1mkc5kyls8hhfxi0l2980ncv1p9n8-SDL2-2.0.3/bin" "/nix/store/kj6flli9mxq5jpdyv301nbi73zh2dc6c-freetype-2.5.4/bin" "/nix/store/6qh72zn2431fgdzlvzzdgnm8alvl2y02-bzip2-1.0.6/bin" "/nix/store/dl8q6szn49bjk095375prk45vgzr5ndb-libpng-1.6.16/bin" "/nix/store/5mnbxaghvh58lhw4ix72r0p4i8y6597s-fontconfig-2.11.1/bin" "/nix/store/1fd05vw4pnx62c26p4xk1r0kjbcdsd97-patchelf-0.8/bin" "/nix/store/m5l5y6gwfsj8kds226hfx09pqn292l92-paxctl-0.9/bin" "/nix/store/ylj1q31a7x3pvcraxk60dyv9y4wmwcrc-gcc-wrapper-4.8.4/bin" "/nix/store/bnlcsbw7nhd21vw4xssnxwi9y7h2asjj-coreutils-8.23/bin" "/nix/store/43msgvphrf68r6vk8jmqwz2b1vfi3w9z-findutils-4.4.2/bin" "/nix/store/ri2xlh8nq6ha5crrh69p3vdpsb01hjfl-diffutils-3.3/bin" "/nix/store/50lmmxx9rynhbndaacwds8g99fgdjz7m-gnused-4.2.2/bin" "/nix/store/yg3d4qnyvb74b4hmw4484cicwk0r74yn-gnugrep-2.21/bin" "/nix/store/amg5ip1jfhm8alvj58m9nzi29n3148h8-gawk-4.1.3/bin" "/nix/store/blyc5sprbm85ph2fmksyhrqislp9j0im-gnutar-1.28/bin" "/nix/store/v5sd8jvnpnmdgybshl2vh18rwv53156l-gzip-1.6/bin" "/nix/store/6qh72zn2431fgdzlvzzdgnm8alvl2y02-bzip2-1.0.6/bin" "/nix/store/hv8pgyn6a0a5h9dyd7s7cwh5105gykj5-gnumake-4.1/bin" "/nix/store/dbxpkswwc7rh6g1iy6dwqklzw39hihb1-bash-4.3-p33/bin" "/nix/store/np76yp7gni7dsv1rc09ggymdd2xdkagp-patch-2.7.5/bin" "/nix/store/kkspv044pd0jjz4s5n6f0jimwb7dw6j6-xz-5.2.1/bin" "/nix/store/cpv8pyc772cx0spzz76sa6dvsf6555dh-gcc-4.8.4/bin" "/nix/store/yxg5zsjxp1l16xk7r23rayyc18fkxynk-binutils-2.23.1/bin" "/nix/store/i0l0jjkk82wsqz9z5yhg35iy78bjq684-glibc-2.21/bin" "/nix/store/bnlcsbw7nhd21vw4xssnxwi9y7h2asjj-coreutils-8.23/bin" "/home/kynan/bin" "/var/setuid-wrappers" "/home/kynan/.nix-profile/bin" "/home/kynan/.nix-profile/sbin" "/home/kynan/.nix-profile/lib/kde4/libexec" "/nix/var/nix/profiles/default/bin" "/nix/var/nix/profiles/default/sbin" "/nix/var/nix/profiles/default/lib/kde4/libexec" "/run/current-system/sw/bin" "/run/current-system/sw/sbin" "/run/current-system/sw/lib/kde4/libexec" "/nix/store/kncf1ykg9wfgp8bk4wgyp9vx2hpxvai4-emacs-24.5/libexec/emacs/24.5/x86_64-unknown-linux-gnu") |
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> {}, compiler ? "ghc784" }: | |
(import ./default.nix { inherit nixpkgs compiler; }).env |
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
{ mkDerivation, base, lens, linear, ListZipper, monad-extras, mtl | |
, sdl2, stdenv, vector, SDL2 | |
, cabal-install, alex, happy, ghc-mod, hlint, stylish-haskell, hasktags | |
}: | |
#{ haskellPackages ? (import <nixpkgs> {}).haskellPackages, stdenv, SDL2 }: | |
mkDerivation { | |
pname = "tile-rider"; | |
version = "0.1.0.0"; | |
src = ./.; | |
isLibrary = false; | |
isExecutable = true; | |
#buildDepends = with haskellPackages; [ | |
buildDepends = [ | |
SDL2 base lens linear ListZipper monad-extras mtl sdl2 vector | |
]; | |
#buildTools = with haskellPackages; [ | |
buildTools = [ | |
cabal-install alex happy ghc-mod hlint stylish-haskell hasktags | |
]; | |
homepage = "https://github.com/ublubu/tile-rider"; | |
description = "a simple puzzle game in Haskell with SDL2"; | |
license = stdenv.lib.licenses.unfree; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment