Me playing with tidalcycles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shell.nix 726B

123456789101112131415161718192021222324252627282930313233343536
  1. { nixpkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz) {} }:
  2. let
  3. inherit (nixpkgs) pkgs;
  4. inherit (pkgs) haskellPackages;
  5. hspkgs = haskellPackages.override {
  6. overrides = self: super: {
  7. # tidal = pkgs.haskell.lib.overrideCabal super.tidal {
  8. # version = "1.4.9";
  9. # };
  10. };
  11. };
  12. haskellDeps = ps: with ps; [
  13. base
  14. protolude
  15. tidal
  16. random
  17. ];
  18. ghc = hspkgs.ghcWithPackages haskellDeps;
  19. nixPackages = [
  20. ghc
  21. pkgs.gdb
  22. pkgs.ffmpeg-full
  23. haskellPackages.cabal-install
  24. ];
  25. in
  26. pkgs.stdenv.mkDerivation {
  27. name = "env";
  28. buildInputs = nixPackages;
  29. shellHook = ''
  30. export PS1="\n\[[hs:\033[1;32m\]\W\[\033[0m\]]> "
  31. '';
  32. }