Advertisement
Guest User

Untitled

a guest
Oct 7th, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. # libcookbook.nix
  2.  
  3. { stdenv, sqlite }:
  4.  
  5. stdenv.mkDerivation {
  6. name = "libcookbook-0.1";
  7. buildInputs = [ sqlite ];
  8. src = ./.;
  9.  
  10. installPhase = ''
  11. mkdir -p $out/lib
  12. mkdir -p $out/include
  13.  
  14. cp libcookbook.a $out/lib
  15. cp cookbook.h $out/include
  16. '';
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement