mirror of
https://github.com/srid/rib.git
synced 2024-11-27 01:12:09 +03:00
Use nix gitignore to speedup builds
This commit is contained in:
parent
ca3e9fbd1b
commit
1a1470534f
@ -2,10 +2,13 @@ let
|
||||
# Use https://howoldis.herokuapp.com/ to find the next hash to update nixpkgs to.
|
||||
# Look for the "Last updated" hash for the entry `nixpkgs-unstable`
|
||||
nixpkgsRev = "c438ce12a85";
|
||||
|
||||
inherit (import (builtins.fetchTarball "https://github.com/hercules-ci/gitignore/archive/7415c4f.tar.gz") { }) gitignoreSource;
|
||||
ribRoot = gitignoreSource ./.;
|
||||
in {
|
||||
pkgs ? import (builtins.fetchTarball "https://github.com/nixos/nixpkgs/archive/${nixpkgsRev}.tar.gz") {}
|
||||
, compiler ? "default"
|
||||
, root ? ./.
|
||||
, root ? ribRoot
|
||||
, name ? "rib"
|
||||
, source-overrides ? {}
|
||||
, ...
|
||||
@ -19,7 +22,7 @@ in
|
||||
pkgs.haskellPackages.developPackage {
|
||||
inherit root name;
|
||||
source-overrides = {
|
||||
rib = ./.;
|
||||
rib = ribRoot;
|
||||
clay =
|
||||
githubRepo "sebastiaanvisser/clay" "cc7729b";
|
||||
megaparsec =
|
||||
|
Loading…
Reference in New Issue
Block a user