76ca66f59c
This makes the Nix files work like todomvc-nix but a little simplified. Also it pins nixpkgs because for development (tests), you need -unstable instead of release-18.09 so that's automatic now.
13 lines
323 B
Nix
13 lines
323 B
Nix
/**
|
|
* This is the entry-point for all nix execution in this project.
|
|
*/
|
|
{ nixpkgsSrc ? ./nixpkgs.nix, ... }:
|
|
import (import ./nixpkgs.nix) {
|
|
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
|
|
config = {
|
|
};
|
|
overlays = [
|
|
# all the packages are defined there:
|
|
(import ./overlay.nix)
|
|
];
|
|
}
|