ImplicitCAD/shell.nix
Richard Marko d963072261 Add nix support files
`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
```
2020-07-10 16:13:17 +02:00

3 lines
119 B
Nix

{ pkgs ? import <nixpkgs> {}, withImplicitSnap ? true }:
(import ./default.nix { inherit pkgs withImplicitSnap; }).env