Last active
February 26, 2017 02:18
-
-
Save shajra/db3276347b720d6f15aa56a86b530bbb to your computer and use it in GitHub Desktop.
example of how I manage packages with Nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| packageOverrides = super: rec { | |
| /* | |
| haskell = super.haskell // { | |
| compiler = super.haskell.compiler // { | |
| ghc801 = super.stdenv.lib.overrideDerivation super.haskell.compiler.ghc801 (oldAttrs: { | |
| patches = oldAttrs.patches ++ [./ghc.801.patch]; | |
| }); | |
| }; | |
| }; | |
| */ | |
| my-packages = [ | |
| #haskell.compiler.ghc801 | |
| super.cabal2nix | |
| super.cabal-install | |
| super.nix-repl | |
| super.nox | |
| super.patchelf | |
| super.stack | |
| super.haskellPackages.djinn | |
| super.haskellPackages.ghc-events-analyze | |
| super.haskellPackages.ghcid | |
| super.haskellPackages.haskdogs | |
| super.haskell.packages.ghc801.hasktags | |
| super.haskellPackages.hlint | |
| super.haskellPackages.hoogle | |
| super.haskellPackages.pointfree | |
| super.haskellPackages.pointful | |
| super.haskellPackages.stylish-haskell | |
| ]; | |
| }; | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I put use this file as
~/.nixpkgs/config.nixand then install packages with