mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
092107cdc1
Fix the broken test in https://github.com/NixOS/nixpkgs/pull/77416 Apparently hydra uses `nix-build lib/tests/release.nix` to run all tests, where IFD isn't allowed. Fortunately we can get around this with builtins.toFile, which doesn't require IFD, but still can test the properties we want.
11 lines
125 B
Nix
11 lines
125 B
Nix
{ lib, ... }:
|
|
{
|
|
|
|
imports = [
|
|
"${builtins.toFile "drv" "{}"}"
|
|
./declare-enable.nix
|
|
./define-enable.nix
|
|
];
|
|
|
|
}
|
|
|