Commit Graph

12 Commits

Author SHA1 Message Date
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
zowoq
31f5dd3f36 treewide: editorconfig fixes
- remove trailing whitespace
- use spaces for indentation
2021-01-20 09:11:11 +10:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Tuomas Tynkkynen
acf1ae02dc libx86: Supports only x86
In theory it builds for 32-bit ARM but the result probably doesn't
work in a meaningful manner...
2017-10-23 16:37:22 +03:00
gnidorah
3aeccdebb4 libx86: fix illegal instruction error 2017-10-05 22:11:34 +03:00
Joachim Fasting
a799e1dff2 libx86: reimplement using mkDerivation 2015-11-24 14:45:15 +01:00
Tuomas Tynkkynen
5a5a5ade0f libx86: Add patch from debian to fix build on ARM
Without this, the build fails even with x86emu:

make LIBRARY=static static
make[1]: Entering directory '/tmp/nix-build-libx86-1.1.drv-0/libx86-1.1'
gcc -O2 -Wall -DDEBUG -g   -c -o x86-common.o x86-common.c
gcc -O2 -Wall -DDEBUG -g   -c -o thunk.o thunk.c
thunk.c: In function 'x_inb':
thunk.c:40:9: error: impossible constraint in 'asm'
         __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); \
         ^
thunk.c:44:1: note: in expansion of macro '__BUILDIO'
 __BUILDIO(b,b,char)
 ^
<builtin>: recipe for target 'thunk.o' failed
make[1]: *** [thunk.o] Error 1
make[1]: Leaving directory '/tmp/nix-build-libx86-1.1.drv-0/libx86-1.1'
Makefile:17: recipe for target 'default' failed
make: *** [default] Error 2
2015-06-15 17:49:35 +02:00
Joachim Schiele
0686dd5767 same fix but now using stdenv.lib.optionals recommended by shlevy
svn path=/nixpkgs/trunk/; revision=26859
2011-04-16 23:00:47 +00:00
Joachim Schiele
ece5a6bfc7 fixes this bug http://www.mail-archive.com/suspend-devel@lists.sourceforge.net/msg02355.html
svn path=/nixpkgs/trunk/; revision=26858
2011-04-16 22:47:15 +00:00
Michael Raskin
df168884a0 amd64 is still x86
svn path=/nixpkgs/trunk/; revision=24648
2010-11-10 17:32:08 +00:00
Michael Raskin
e618a80968 Adding vbetool
svn path=/nixpkgs/trunk/; revision=17952
2009-10-24 19:58:07 +00:00