Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This creates a FHS chroot inside which you can run stuff just like on any other linux/unix system without having to package everything for nixos specificly.
It's not as nice as packaging for nixpkgs and there might be a bit too much stuff in the
cabalEnv
but it get's the job done.How to use this:
put the shell.nix inside your checkout of cabal-desktop, run
nix-shell
and start hacking, aka:cd repo/of/cabal-desktop wget https://gist.githubusercontent.com/cryptix/9dc8806fe44f266d47f550b23b703ff8/raw/feb8886a6099a501a2ffc9e0574e818947695dca/shell.nix nix-shell npm i npm start
Open to suggestions how to phrase this better on the readme 馃槄