13 lines
242 B
Nix
13 lines
242 B
Nix
{ it, ... }:
|
|
let
|
|
pkgs = import <nixpkgs> {}; # impure ¯\_(ツ)_/¯
|
|
run = import ../tix/run.nix pkgs;
|
|
output = run [ ./it.test.nix ];
|
|
in
|
|
[
|
|
(it "makes a derivation called test" {
|
|
expected = "test";
|
|
actual = output.name;
|
|
})
|
|
]
|