Advertisement
Guest User

Untitled

a guest
Oct 25th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. let
  2. sources = import ../nix/sources.nix;
  3. pkgs = import sources.nixpkgs { };
  4. language-puppet = import sources.language-puppet { };
  5.  
  6. filter = path: type:
  7. type != "symlink"
  8. && baseNameOf path != "puppet-env";
  9.  
  10. haskellPackages = pkgs.haskellPackages.override {
  11. overrides = self: super: { language-puppet = language-puppet; };
  12. };
  13.  
  14. unit-test = pkgs.haskell.lib.dontHaddock
  15. (haskellPackages.callCabal2nix "puppet-unit-test" (builtins.path {
  16. name = "puppet-unit-test";
  17. inherit filter;
  18. path = ./.;
  19. }) { });
  20.  
  21. in
  22.  
  23. unit-test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement