aboutsummaryrefslogtreecommitdiff
path: root/modules/pkgs/check_solr/default.nix
blob: 27aecceb900daf8ab1016882180aaece48fd8d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ stdenv, haskellPackages }:
let

  haskellPackage = haskellPackages.callPackage ./cabal2nix.nix {};

in stdenv.mkDerivation {
  name = "check-solr-${haskellPackage.version}";
  phases = [ "installPhase" ];
  installPhase = ''
    mkdir -p $out/bin
    cp -a ${haskellPackage}/bin/* $out/bin/
  '';
}