-
-
Save cleverca22/bdd0915fd751a28aa511a3f56eab85e1 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
with import <nixpkgs> {}; | |
haskellPackages.extend (self: super: { | |
ray-tracer = self.callPackage ./ray-tracer.nix {}; | |
thing = self.callHackage "thing" "1.2.3" {}; | |
}) |
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, Chart, hip, hpack, lens, linear, stdenv }: | |
mkDerivation { | |
pname = "ray-tracer"; | |
version = "0.1.0.0"; | |
src = ./.; | |
isLibrary = true; | |
isExecutable = true; | |
libraryHaskellDepends = [ base Chart hip lens linear ]; | |
libraryToolDepends = [ hpack ]; | |
executableHaskellDepends = [ base hip lens linear ]; | |
testHaskellDepends = [ base hip lens linear ]; | |
preConfigure = "hpack"; | |
homepage = "https://github.com/githubuser/ray-tracer#readme"; | |
license = stdenv.lib.licenses.bsd3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment