Export ghci config files for ghc-vis and ghc-heap-view
This commit is contained in:
parent
185439ca5f
commit
de35a6dbb9
|
@ -76,6 +76,11 @@ stdenv.mkDerivation rec {
|
||||||
ln -s $f $out/share/emacs/site-lisp/
|
ln -s $f $out/share/emacs/site-lisp/
|
||||||
echo -n .
|
echo -n .
|
||||||
done
|
done
|
||||||
|
for f in "$currentPath/share/ghci/"*; do
|
||||||
|
mkdir -p $out/share/ghci
|
||||||
|
ln -s $f $out/share/ghci/
|
||||||
|
echo -n .
|
||||||
|
done
|
||||||
for f in "$currentPkgDir/"*.conf; do
|
for f in "$currentPkgDir/"*.conf; do
|
||||||
ln -s $f $linkedPkgDir
|
ln -s $f $linkedPkgDir
|
||||||
echo -n .
|
echo -n .
|
||||||
|
|
|
@ -5,6 +5,10 @@ cabal.mkDerivation (self: {
|
||||||
version = "0.5.1";
|
version = "0.5.1";
|
||||||
sha256 = "1qi7f3phj2j63x1wd2cvk36945cxd84s12zs03hlrn49wzx2pf1n";
|
sha256 = "1qi7f3phj2j63x1wd2cvk36945cxd84s12zs03hlrn49wzx2pf1n";
|
||||||
buildDepends = [ binary transformers ];
|
buildDepends = [ binary transformers ];
|
||||||
|
postInstall = ''
|
||||||
|
ensureDir "$out/share/ghci"
|
||||||
|
ln -s "$out/share/$pname-$version/ghci" "$out/share/ghci/$pname"
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "Extract the heap representation of Haskell values and thunks";
|
description = "Extract the heap representation of Haskell values and thunks";
|
||||||
license = self.stdenv.lib.licenses.bsd3;
|
license = self.stdenv.lib.licenses.bsd3;
|
||||||
|
|
|
@ -10,6 +10,10 @@ cabal.mkDerivation (self: {
|
||||||
cairo deepseq fgl ghcHeapView graphviz gtk mtl svgcairo text
|
cairo deepseq fgl ghcHeapView graphviz gtk mtl svgcairo text
|
||||||
transformers xdot
|
transformers xdot
|
||||||
];
|
];
|
||||||
|
postInstall = ''
|
||||||
|
ensureDir "$out/share/ghci"
|
||||||
|
ln -s "$out/share/$pname-$version/ghci" "$out/share/ghci/$pname"
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://felsin9.de/nnis/ghc-vis";
|
homepage = "http://felsin9.de/nnis/ghc-vis";
|
||||||
description = "Live visualization of data structures in GHCi";
|
description = "Live visualization of data structures in GHCi";
|
||||||
|
|
Loading…
Reference in New Issue