Skip to content

Instantly share code, notes, and snippets.

@srhb
Created February 4, 2019 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srhb/56f8efa1798ae25be3ae7f41432427e3 to your computer and use it in GitHub Desktop.
Save srhb/56f8efa1798ae25be3ae7f41432427e3 to your computer and use it in GitHub Desktop.
let
bug = { pkgs, lib, ... }:
{
services.vmwareGuest = pkgs.lib.mkIf true { # fails, but lib.mkIf works
enable = true;
headless = true;
};
};
in
import <nixpkgs/nixos/lib/eval-config.nix> {
modules = [ bug ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment