Skip to content

Instantly share code, notes, and snippets.

@jml
Created February 28, 2015 18:34
Show Gist options
  • Save jml/1d734d47f821f248d4ef to your computer and use it in GitHub Desktop.
Save jml/1d734d47f821f248d4ef to your computer and use it in GitHub Desktop.
nix-shell for system-fileio
[nix-shell:~/src/haskell-filesystem/system-fileio]$ cabal test
Preprocessing library system-fileio-0.3.16...
lib/Filesystem.hs:82:18:
Could not find module ‘Data.Text’
Perhaps you haven't installed the profiling libraries for package ‘text-1.2.0.3’?
Use -v to see a list of the files searched for.
lib/Filesystem.hs:83:18:
Could not find module ‘Data.Text.IO’
Perhaps you haven't installed the profiling libraries for package ‘text-1.2.0.3’?
Use -v to see a list of the files searched for.
lib/Filesystem.hs:90:18:
Could not find module ‘Filesystem.Path’
Perhaps you haven't installed the profiling libraries for package ‘system-filepath-0.4.13’?
Use -v to see a list of the files searched for.
lib/Filesystem.hs:91:18:
Could not find module ‘Filesystem.Path.CurrentOS’
Perhaps you haven't installed the profiling libraries for package ‘system-filepath-0.4.13’?
Use -v to see a list of the files searched for.
lib/Filesystem.hs:92:18:
Could not find module ‘Filesystem.Path.Rules’
Perhaps you haven't installed the profiling libraries for package ‘system-filepath-0.4.13’?
Use -v to see a list of the files searched for.
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, chell, systemFilepath, temporary, text, time, transformers
}:
cabal.mkDerivation (self: {
pname = "system-fileio";
version = "0.3.16";
src = ./.;
buildDepends = [ systemFilepath text time ];
testDepends = [
chell systemFilepath temporary text time transformers
];
meta = {
homepage = "https://github.com/fpco/haskell-filesystem";
description = "Consistent filesystem interaction across GHC versions";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})
$ nix-shell-haskell () { nix-shell -E '(import <nixpkgs> {}).haskellPackages.callPackage ./default.nix {}' "$@"; }
$ nix-shell-haskell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment