This file contains 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
my $curl = WWW::Curl::Easy->new; | |
#system("$Nix::Config::curl --fail --location --insecure --connect-timeout $curlConnectTimeout '$url' $decompressor | $Nix::Config::binDir/nix-store --restore $destPath"); | |
#$curl->setopt(CURLOPT_HEADER, 1); | |
#$curl->setopt(CURLOPT_URL, 'https://raw.githubusercontent.com/qknight/nix-build-hack/master/www_curl_easy.pl'); | |
$curl->setopt(CURLOPT_URL, $url); | |
$curl->setopt(CURLOPT_NOPROGRESS, 0); | |
$curl->setopt(CURLOPT_FAILONERROR, 0); | |
$curl->setopt(CURLOPT_FOLLOWLOCATION, 1); | |
$curl->setopt(CURLOPT_SSL_VERIFYHOST, 0); |
This file contains 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
npm2nix pkgs/top-level/node-packages.json pkgs/top-level/node-packages.nix | |
nodePackages = recurseIntoAttrs (import ./node-packages.nix { | |
inherit pkgs stdenv nodejs fetchurl fetchgit; | |
neededNatives = [python] ++ lib.optional (lib.elem system lib.platforms.linux) utillinux; | |
self = pkgs.nodePackages; | |
}); |
This file contains 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
************************** | |
Prosody was unable to find luaexpat | |
This package can be obtained in the following ways: | |
Source: http://www.keplerproject.org/luaexpat/ | |
Debian/Ubuntu: sudo apt-get install liblua5.1-expat0 | |
luarocks: luarocks install luaexpat | |
luaexpat is required for Prosody to run, so we will now exit. | |
More help can be found on our website, at http://prosody.im/doc/depends |
This file contains 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
joachim@lenovo-t530 /tmp % cat /tmp/prosody | |
#! /nix/store/ihmkc7z2wqk3bbipfnlh0yjrlfkkgnv6-bash-4.2-p45/bin/bash -e | |
export LUA_PATH="/nix/store/l2ngkvqc0svjdbh79r9ywygz2bkr5y98-lua-sockets-2.0.2/share/lua/5.1/?.lua;/nix/store/l2ngkvqc0svjdbh79r9ywygz2bkr5y98-lua-sockets-2.0.2/share/lua/5.1/socket/?.lua" | |
export LUA_CPATH="/nix/store/l2ngkvqc0svjdbh79r9ywygz2bkr5y98-lua-sockets-2.0.2/lib/lua/5.1/socket/?.so;/nix/store/l2ngkvqc0svjdbh79r9ywygz2bkr5y98-lua-sockets-2.0.2/lib/lua/5.1/mime/?.so" | |
exec /tmp/lua.sh "${extraFlagsArray[@]}" "$@" | |
joachim@lenovo-t530 /tmp % cat /tmp/lua.sh | |
#!/nix/store/bsmh8144crlw63zmqyig3yh5hk83pcyd-lua-5.1.5/bin/lua | |
print(package.path); |
This file contains 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
{ fetchurl, stdenv, pkgconfig, poppler, poppler_data }: | |
stdenv.mkDerivation rec { | |
name = "pdfgrep-${version}"; | |
version = "1.3.1"; | |
src = fetchurl { | |
url = "http://downloads.sourceforge.net/project/pdfgrep/${version}/${name}.tar.gz"; | |
sha256 = "6e8bcaf8b219e1ad733c97257a97286a94124694958c27506b2ea7fc8e532437"; | |
}; |
This file contains 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
question: why does nix-env --xml output differ from the --json output? | |
i think that this might be a bug. | |
nix-env -f '<nixpkgs>' -qa nix --out-path -A nix --xml |
This file contains 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
148 joachim@lenovo-t530 ~/Desktop/projects/nixos/nixpkgs (git)-[brickv-2.1.1] % nix-env -f $NIXPKGS --cores 16 -i python2.7-pyqwt-5.2.0 -K | |
installing `python2.7-pyqwt-5.2.0' | |
these derivations will be built: | |
/nix/store/1170wjps3g9x9adyh3jv6rijxq561ix5-python2.7-pyqwt-5.2.0.drv | |
building path(s) `/nix/store/rm6w3ydv5cavcxgvifb65q27zwzwf2dc-python2.7-pyqwt-5.2.0' | |
building /nix/store/rm6w3ydv5cavcxgvifb65q27zwzwf2dc-python2.7-pyqwt-5.2.0 | |
unpacking sources | |
unpacking source archive /nix/store/q84n3bf8qmlis7p1k80h8wvigd7mcjv6-PyQwt-5.2.0.tar.gz | |
source root is PyQwt-5.2.0 | |
patching sources |
This file contains 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
joachim@lenovo-t530 ...nacd8r-python2.7-pyqwt-5.2.1/examples % pwd | |
/nix/store/4bfzn4p65f9vp3mf5295rr0s60nacd8r-python2.7-pyqwt-5.2.1/examples | |
joachim@lenovo-t530 ...nacd8r-python2.7-pyqwt-5.2.1/examples % ./CPUplot.py | |
Traceback (most recent call last): | |
File "/nix/store/4bfzn4p65f9vp3mf5295rr0s60nacd8r-python2.7-pyqwt-5.2.1/examples/.CPUplot.py-wrapped", line 11, in <module> | |
import Qwt5 as Qwt | |
File "/nix/store/4bfzn4p65f9vp3mf5295rr0s60nacd8r-python2.7-pyqwt-5.2.1/lib/python2.7/site-packages/Qwt5/__init__.py", line 32, in <module> | |
from Qwt import * |
This file contains 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
======================== summary ========================== | |
i've made many attempts of getting pyqwt to work and here is my newest fail: | |
SystemError: dynamic module not initialized properly | |
what i did was: | |
- now using qwt-5.2 bundled with pyqwt-5.2.0 implementation (for qwt) | |
- BUT i'm actually not using qw5 from the ${pkgs.qwt} directory but also the bundled one (don't ask, didn't get it working) | |
so this incarnation of Qwt.so seems to be working in regards to: | |
- readelf -s Qwt.so |
This file contains 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
i want to remove /dev/sdb from the Vg ve-daivb but it fails with the error below, so what do do now? | |
vgreduce ve-daivb /dev/sdb5 | |
Physical volume "/dev/sdb5" still in use | |
before vgreduce i did pvmove: | |
# pvmove /dev/sdb5 /dev/sda3 | |
Skipping mirror LV root |
OlderNewer