You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
399 B

{ pkgs ? import <nixpkgs> {} }:
let ghcClosure =
pkgs.haskellPackages.ghcWithPackages
(p:[
p.text
]);
in pkgs.stdenv.mkDerivation {
pname = "bench-my-utf8";
version = "0.0.1";
installPhase = ''
mkdir -p $out/bin
mv haskell-read-utf8 $out/bin
'';
nativeBuildInputs = [
pkgs.gnumake
ghcClosure
pkgs.gcc
pkgs.icu
pkgs.hyperfine
pkgs.pkgconf
];
}