tvl-depot/scratch/brilliant/shell.nix
William Carroll b1c403f6b9 Create small command line program that parses arguments
Before starting my take-home assignment, the instructions advised me to create a
"Hello, world" program in the language of my choice. Since I'm choosing Haskell,
I created this example as my starter boilerplate.
2020-08-04 16:36:31 +01:00

9 lines
194 B
Nix

let
pkgs = import /home/wpcarro/nixpkgs {};
in pkgs.mkShell {
buildInputs = with pkgs; [
(haskellPackages.ghcWithPackages (hpkgs: with hpkgs; [
optparse-applicative
]))
];
}