Skip to content

Instantly share code, notes, and snippets.

@freeman42x
Created May 26, 2020 11:53
Show Gist options
  • Save freeman42x/2dc855ee17eb382c2ec9a09e0c585177 to your computer and use it in GitHub Desktop.
Save freeman42x/2dc855ee17eb382c2ec9a09e0c585177 to your computer and use it in GitHub Desktop.
How can I get this to work? getting: error: syntax error, unexpected '(', expecting ID or OR_KW or DOLLAR_CURLY or '"', at /home/neo/Projects/haskell-editor-setup/shell.nix:3:96
let pkgs = import <nixpkgs> {};
in (import ./.).env.overrideAttrs (_: {
shellHook = ''PATH="$PATH:${pkgs.ghc}/bin:${pkgs.cabal-install}/bin:${pkgs.ghcid}/bin:${pkgs.((import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {}).selection { selector = p: { inherit (p) ghc865; }; })}/bin"'';
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment