Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

[DEVOPS-1059] Build and cache the nix-shell environment #3653

Merged
merged 2 commits into from
Sep 24, 2018

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Sep 24, 2018

Description

If you checkout the develop branch of cardano-sl and type nix-shell, it will start building packages, e.g. stack and cabal-install (!), rather than downloading them from a binary cache.

Continued from #3627.

Linked issue

https://iohk.myjetbrains.com/youtrack/issue/DEVOPS-1059

Type of change

  • Build and dev environment

Tests

  1. nix-shell
  2. nix-build release.nix -A shell.x86_64-linux

rvl added 2 commits September 24, 2018 14:02
If there were any ref files in .git ending with the letters
"hs" (e.g. _epochs), they would get passed to stylish-haskell.

This changes the order of the find command arguments to fix that.
This is so that everything required by shell.nix is cached and nothing
needs to be built locally.
@rvl rvl changed the title [DEVOPS-1059Devops 1059 shell env [DEVOPS-1059] Build and cache the nix-shell environment Sep 24, 2018
@rvl rvl merged commit c68ec9c into develop Sep 24, 2018
@rvl rvl deleted the devops-1059-shell-env branch September 24, 2018 04:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants