-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make nix-shell evaluation faster #2300
Conversation
shell.nix
Outdated
cabal = { | ||
version = "3.2.0.0"; | ||
plan-sha256 = "0ik4ws852dk7wchbhc84w5ac149myvc1az7rxapfy0hdmiiwjh2j | ||
"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooops
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, fixed.
I am not sure if we still need |
@hamishmack I tried removing the
So perhaps they do help with caching the cabal plan. |
bd22df4
to
cc6fd10
Compare
Is that derivation actually running |
I see, yes you are right, it was just copying files. |
ghcid -> fsnotify -> hfsevents
bors r+ |
Build succeeded: |
2301: Reduce nix-shell eval memory usage r=jbgi a=rvl ### Issue Number ADP-382 / #1888 ### Overview 1. Similar memory and speed gains as in #2300. cardano-node was previously imported as a niv source. It is also part of the haskell.nix package set, because it's a stack.yaml dependency. So there were haskell package sets duplicated basically. 2. Add a `platform` argument to the `release.nix` jobset. This will split the jobset into three. With support from Hydra (input-output-hk/ci-ops#26), this will make evaluation use about 1/3 of the memory, and allow jobs to start building quicker. ### Comments Removing cardano-wallet-jormungandr and nix build of jormungandr is done in #2313. This also reduces the weight to the nix-shell. Co-authored-by: Rodney Lorrimar <[email protected]>
2301: Reduce nix-shell eval memory usage r=rvl a=rvl ### Issue Number ADP-382 / #1888 ### Overview 1. Similar memory and speed gains as in #2300. cardano-node was previously imported as a niv source. It is also part of the haskell.nix package set, because it's a stack.yaml dependency. So there were haskell package sets duplicated basically. 2. Add a `platform` argument to the `release.nix` jobset. This will split the jobset into three. With support from Hydra (input-output-hk/ci-ops#26), this will make evaluation use about 1/3 of the memory, and allow jobs to start building quicker. ### Comments - Removing cardano-wallet-jormungandr and nix build of jormungandr is done in #2313. This also reduces the weight to the nix-shell. - It is best to merge this after #2245, because the iohk-monitoring build will be simpler. Co-authored-by: Rodney Lorrimar <[email protected]>
Issue Number
ADP-382 / #1888
Overview
Comments