Skip to content
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

haskell #47

Closed
ratmav opened this issue Feb 7, 2021 · 7 comments
Closed

haskell #47

ratmav opened this issue Feb 7, 2021 · 7 comments

Comments

@ratmav
Copy link
Owner

ratmav commented Feb 7, 2021

supported platforms:

  • macos
  • nixos
  • windows

bootstrap (bash, powershell):

  1. install nix
  2. nix install dependencies (formerly done with brew)
  3. install ghc(i), stack, cabal, etc.

haskell script:

  1. symlink dotfiles
  2. configure git
  3. configure nvim
  4. nvim plugin install
  5. powerline fonts
@ratmav
Copy link
Owner Author

ratmav commented Feb 7, 2021

step one is getting haskell installed and learning enough haskell to write this.

@ratmav
Copy link
Owner Author

ratmav commented Feb 7, 2021

the ghc up script is niiiiiice. might be worth refactoring the rest of the bash to work that way (colored output, error, warn, info, scrolling subcommand output, etc.)

@ratmav
Copy link
Owner Author

ratmav commented Feb 7, 2021

almost definitely going to want to get the brew-nix replacement done on a macos...vm? man i wonder how i can pull that off. good news, found a burner macbook.

also, want to lint the os bootstrap scripts with https://github.com/koalaman/shellcheck and https://github.com/PowerShell/PSScriptAnalyzer

@ratmav
Copy link
Owner Author

ratmav commented Feb 7, 2021

next step is to convert https://raw.githubusercontent.com/commercialhaskell/stack/stable/etc/scripts/get-stack.sh to do the stack install on *nix

@ratmav
Copy link
Owner Author

ratmav commented Feb 8, 2021

looked at the nix install instructions for macos, and it's a wad of hacks to get around disk security protections. just gonna ram it all into containers.

@ratmav ratmav closed this as completed Feb 8, 2021
@ratmav
Copy link
Owner Author

ratmav commented Feb 8, 2021

nah. this haskell/nix/fp/monad (state as a data structure?!?!?!!!) thing is too interesting. reopening.

@ratmav ratmav reopened this Feb 8, 2021
@ratmav
Copy link
Owner Author

ratmav commented Feb 13, 2021

nah. existing tools are already pretty solid. just need to wire it up, and i can learn about category theory and monads with a language i'll use more often on the job (like go).

@ratmav ratmav closed this as completed Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant