mirror of
https://github.com/Haskell-Things/ImplicitCAD.git
synced 2024-09-11 04:55:41 +03:00
`default.nix` for building the project with `nix-build` using systems `<nixpkgs>` and default compiler. `shell.nix` to allow usage of `nix-shell` to enter development shell. `default.nix` uses `withImplicitSnap = false` default. To build with `implicitsnap` use ``` nix-build --arg withImplicitSnap true ``` `shell.nix` enables `withImplicitSnap` by default and can be overriden with ``` nix-shell --arg withImplicitSnap false ```
3 lines
119 B
Nix
3 lines
119 B
Nix
{ pkgs ? import <nixpkgs> {}, withImplicitSnap ? true }:
|
|
(import ./default.nix { inherit pkgs withImplicitSnap; }).env
|