Provide more useful instructions for building this project
TL;DR: - include a default.nix to allow users to build an named executable - emphasize in the README that the user needs Nix to build this project - pin nixpkgs to a specific commit and fetch it from GitHub
This commit is contained in:
parent
17e1764ef8
commit
3d6130c7cf
3 changed files with 67 additions and 18 deletions
|
|
@ -1,5 +1,9 @@
|
|||
let
|
||||
pkgs = import /home/wpcarro/nixpkgs {};
|
||||
pkgs = import (builtins.fetchGit {
|
||||
url = "https://github.com/NixOS/nixpkgs-channels";
|
||||
ref = "nixos-20.03";
|
||||
rev = "afa9ca61924f05aacfe495a7ad0fd84709d236cc";
|
||||
}) {};
|
||||
in pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
(haskellPackages.ghcWithPackages (hpkgs: with hpkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue