Skip to content

Instantly share code, notes, and snippets.

@gustavderdrache
Created July 2, 2020 01:40
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 gustavderdrache/c75b867a1d5620f7c6d398ad0a705d57 to your computer and use it in GitHub Desktop.
Save gustavderdrache/c75b867a1d5620f7c6d398ad0a705d57 to your computer and use it in GitHub Desktop.
let
lib = import <nixpkgs/lib>;
system = lib.systems.examples.mingwW64;
pkgs = import <nixpkgs> { system = system.config; };
pkgs' = import <nixpkgs> { crossSystem = system; };
in
{
foo = pkgs.windows.w32api;
bar = pkgs'.windows.w32api;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment