Re: [Nix-dev] Nixos wiki project

2017-05-16 Thread Jos van den Oever
On Friday 12 May 2017 20:36:59 Matthias Beyer wrote:
> On 10-05-2017 10:52:16, Arseniy Seroka wrote:
> > I think that disabling wiki is one of the the worst
> > decisions in nixos community.
> 
> +1

I think it's unfortunate that a free software project chooses a closed 
platform to do development. GitHub is not even open core like GitLab.


signature.asc
Description: This is a digitally signed message part.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Suggestion: programs are *always* in the path

2017-05-04 Thread Jos van den Oever
On Monday 01 May 2017 14:23:38 Eelco Dolstra wrote:
> Hi,
> 
> On 05/01/2017 02:11 PM, Jörg Thalheim wrote:
> > Unfortunately the sqlite database feeding command-not-found is almost
> > empty at the moment,
> > 
> > so this command is useless.
> 
> What channel are you on? For the minimal channel, the database contains only
> a handful of packages, but the regular channel has a pretty extensive
> database:
> 
> $ sqlite3 /nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite
> 'select count(*) from Programs'
> 49351

I just tried this while not having sqlite3 installed.

This works:

NIX_AUTO_RUN=1 gphoto2

This does not:

NIX_AUTO_RUN=1 sqlite3

Perhaps this feature only works when the package name is equal to the 
executable name. Or the issue is that there are two packages with the same 
executable name.

sqlite> select * from programs where name = 'sqlite3';
sqlite3|i686-linux|sqlite
sqlite3|i686-linux|sqlite-interactive
sqlite3|x86_64-linux|sqlite
sqlite3|x86_64-linux|sqlite-interactive

sqlite> select * from programs where name = 'gphoto2';
gphoto2|i686-linux|gphoto2
gphoto2|x86_64-linux|gphoto2

Cheers,
Jos


signature.asc
Description: This is a digitally signed message part.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] bb84c6: rustfmt: 0.6.2 -> 0.6.3

2016-12-04 Thread Jos van den Oever
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: bb84c688f61753a1f1fa1a35b808f1497d0852e2
  
https://github.com/NixOS/nixpkgs/commit/bb84c688f61753a1f1fa1a35b808f1497d0852e2
  Author: Jos van den Oever <j...@vandenoever.info>
  Date:   2016-12-04 (Sun, 04 Dec 2016)

  Changed paths:
M pkgs/development/tools/rust/rustfmt/default.nix

  Log Message:
  ---
  rustfmt: 0.6.2 -> 0.6.3


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] FW: nix expression for qt5

2013-09-20 Thread Jos van den Oever
Helo Baptist,

No, I did not update the qt5 expression and have not built it in a long time.

Cheers,
Jos
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nix expression for qt5

2012-12-21 Thread Jos van den Oever
On Friday 21 December 2012 13:37:24 PM Jos van den Oever wrote:
 Qt5 was released a few days ago. I thought it would be a good idea to add
 it to NixPkgs.
 
 Here is the nix expressions that compiles all of the libraries as well as
 all the examples. I've tried to enable all of the options.
 
 An interesting observation is that
   export MAKEFLAGS=-j$NIX_BUILD_CORES
 makes configuration a lot faster too, especially on a machine with 8 cores.

Here is an updated version that uses libXi to gain XInput2 support.

Cheers,
Jos
{ stdenv, fetchurl, substituteAll,
  python, perl, ruby, flex, bison, gperf, gdb,
  xlibs, libX11, libxcb, libXext, mesa, libXrender, libXi,
  fontconfig, freetype, icu, 
  openssl, cups, dbus, glib, udev, libxml2, libxslt, pcre,
  zlib, libjpeg, libpng, libtiff, libwebp,
  sqlite, mysql, postgresql,
  alsaLib, gstreamer, gst_plugins_base, pulseaudio,
  pkgconfig,
  buildExamples ? true, buildTests ? true
}: 

let
  v = 5.0.0;
in

stdenv.mkDerivation {
  name = qt-${v};

  src = fetchurl {
url = 
http://releases.qt-project.org/qt5/5.0.0/single/qt-everywhere-opensource-src-5.0.0.tar.gz;
sha256 = 8a4d7c14c8a80c7aa2899cc285f432bbf4017fcfbaa315e5504525dfdb4a33f6;
  };

  enableParallelBuilding = true;

  prefixKey = -prefix ;

  # configure is much faster with MAKEFLAGS set
  preConfigure =
''
  export MAKEFLAGS=-j$NIX_BUILD_CORES
'';

  configureFlags =
''
  -release -confirm-license -opensource
  -c++11 -shared -process -no-fast -largefile -accessibility
  -qt-sql-sqlite -system-sqlite
  -plugin-sql-mysql -plugin-sql-psql
  -javascript-jit -qml-debug
  -pkg-config -force-pkg-config
  -system-zlib -system-libpng -system-libjpeg -openssl-linked -system-pcre
  -make libs -make tools
  ${if buildExamples == true then -make examples else -nomake examples}
  ${if buildTests == true then -make tests else -nomake tests}
  -gui -widgets -rpath
  -continue -verbose -optimized-qmake
  -nis -cups -iconv -icu
  -strip -pch
  -dbus-linked
  -reduce-relocations -no-separate-debug-info
  -qt-xcb -no-eglfs -no-directfb -no-linuxfb -no-kms -qpa xcb
  -opengl
  -system-proxies
  -glib
'';

  buildInputs = [ 
python perl ruby flex bison gperf gdb
  ];

  propagatedBuildInputs = [
xlibs.libXcomposite libX11 libxcb libXext mesa libXrender libXi
fontconfig freetype icu 
openssl cups dbus glib udev libxml2 libxslt pcre
zlib libjpeg libpng libtiff libwebp
sqlite mysql postgresql
alsaLib gstreamer gst_plugins_base pulseaudio
pkgconfig
  ];

  meta = with stdenv.lib; {
homepage = http://qt-project.org;
description = A cross-platform application framework for C++;
license = GPL/LGPL;
maintainers = with maintainers; [ urkud sander ];
platforms = platforms.linux;
  };
}
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev