Hai questo problema, diciamo che test/shell.nix sia:
{ pkgs ? import <nixpkgs> {} }:
with pkgs; mkShell { buildInputs = [ pkgs.hello ]; }
tu fai:
> cd test
test> hello
| self: super: { | |
| haskell.packages.ghc802 = super.haskell.packages.ghc802.extend (selfHS: superHS: { | |
| concat-inline = self.haskell.lib.dontHaddock (selfHS.callPackage ~/code/haskell/forks/concat/inline {}); | |
| concat-satisfy = self.haskell.lib.dontHaddock (selfHS.callPackage ~/code/haskell/forks/concat/satisfy {}); | |
| }); | |
| } |
| -- -*- eval: (med/hp '(pretty-show generics-mrsop singletons)) -*- | |
| {-# LANGUAGE TypeApplications #-} | |
| {-# LANGUAGE RankNTypes #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE GADTs #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE PolyKinds #-} |
| { stdenv, fetchurl, makeWrapper, pkgconfig, MMA, libjack2, libsmf, python2Packages, fetchFromGitHub, automake, autoconf, autoreconfHook }: | |
| let | |
| inherit (python2Packages) pyGtkGlade pygtksourceview python; | |
| in stdenv.mkDerivation rec { | |
| version = "master"; | |
| name = "linuxband-${version}"; | |
| src = fetchFromGitHub { | |
| owner = "noseka1"; |
| hardware.pulseaudio.package = pkgs.pulseaudio.override { jackaudioSupport = true; }; |
| {-# LANGUAGE DeriveGeneric, TypeApplications, DataKinds, TypeOperators, | |
| DerivingStrategies, GeneralizedNewtypeDeriving, UndecidableInstances #-} | |
| module Inconsistency where | |
| import Data.Text (Text) | |
| import qualified GHC.Generics as GHC | |
| import Generic.Data.Surgery | |
| import Generic.Data.Surgery.Internal | |
| import Fcf |
Hai questo problema, diciamo che test/shell.nix sia:
{ pkgs ? import <nixpkgs> {} }:
with pkgs; mkShell { buildInputs = [ pkgs.hello ]; }
tu fai:
> cd test
test> hello