-
-
Save betawaffle/67e75e5163f201933b58761d6c25072e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} | |
, ... | |
}: | |
with pkgs; | |
stdenv.mkDerivation { | |
name = "wl-test"; | |
# nativeBuildInputs = [ pkgconfig ]; | |
buildInputs = [ | |
wayland | |
]; | |
src = ./.; | |
# phases = [ "buildPhase" ]; | |
buildPhase = '' | |
cc $src/main.c -o $out -lwayland | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment