Skip to content

Instantly share code, notes, and snippets.

@srhb
Created February 4, 2019 11:47
Show Gist options
  • Save srhb/b0c0eaab902cb58470703444329a30ad to your computer and use it in GitHub Desktop.
Save srhb/b0c0eaab902cb58470703444329a30ad to your computer and use it in GitHub Desktop.
let
bug = { pkgs, lib, ... }:
{
services.vmwareGuest = lib.mkIf true {}; # fails, but lib.mkIf works
foo = pkgs.lib.mkIf 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