I think there is a misunderstanding, the hash of the package derivation
depends on the build output. We assume it's always the same which allow us
to look it up based on the input hash but it's not always true. For example
if the build adds the current time to the build output it will not always
be
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 9617f6116411ec824955bef274673dcfb5998a11
https://github.com/NixOS/nixpkgs/commit/9617f6116411ec824955bef274673dcfb5998a11
Author: Dan Peebles
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
A pk
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: e8e50bf696038916631af69c54c26586a2b32192
https://github.com/NixOS/nixpkgs/commit/e8e50bf696038916631af69c54c26586a2b32192
Author: Franz Pletz
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M pk
Branch: refs/heads/release-16.09
Home: https://github.com/NixOS/nixpkgs
Commit: 529c0a48c54f3e847ee34c748efa47f57f9eb29d
https://github.com/NixOS/nixpkgs/commit/529c0a48c54f3e847ee34c748efa47f57f9eb29d
Author: Graham Christensen
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed p
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: b98c0a668e7283f8a46494cd59c00e4e68fc6648
https://github.com/NixOS/nixpkgs/commit/b98c0a668e7283f8a46494cd59c00e4e68fc6648
Author: Graham Christensen
Date: 2016-10-11 (Tue, 11 Oct 2016)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: d8a0307a5d36551c641578a3bf1a7d29103df511
https://github.com/NixOS/nixpkgs/commit/d8a0307a5d36551c641578a3bf1a7d29103df511
Author: Dan Peebles
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M pk
packageOverrides don’t override anything within stdenv
> On 12 Oct 2016, at 18:28, Tomasz Czyż wrote:
>
> Nikita, how do you override the attributes?
>
> Did you try packageOverrides like in example below?
>
> {
> packageOverrides = pkgs: rec {
># Make "xbmc" use the "python26" pa
Interesting stuff, thanks for sharing.
2016-10-11 20:28 GMT+01:00 Игорь Пашев :
> You must be wondering why :-)
>
> https://github.com/zalora/nixsap/commit/592dee8bef92debede3724bf5ddbf8
> 249c30c488
> ___
> nix-dev mailing list
> nix-dev@lists.science.
Nikita, how do you override the attributes?
Did you try packageOverrides like in example below?
{
packageOverrides = pkgs: rec {
# Make "xbmc" use the "python26" package,
# instead of NixPkgs default python version.
xbmc = pkgs.xbmc.override {
python = pkgs.py
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 09d349328255660c6e29d37d8e795b004e002226
https://github.com/NixOS/nixpkgs/commit/09d349328255660c6e29d37d8e795b004e002226
Author: aszlig
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M pkgs/to
Branch: refs/heads/staging
Home: https://github.com/NixOS/nixpkgs
Commit: af38c055876c5155f29a09dcd3714fbb9aff7b18
https://github.com/NixOS/nixpkgs/commit/af38c055876c5155f29a09dcd3714fbb9aff7b18
Author: Vladimír Čunát
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
How can I override glibc in nix-shell and use eglibc, for instance? Are there
any examples? Do I need to override stdenv for that? Overriding the attributes
of glibc (version and sha) directly doesn't seem to work. Could anyone provide
an example?
___
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: a229fd4ce386b38478df7b413b4cfa834a41c3fd
https://github.com/NixOS/nixpkgs/commit/a229fd4ce386b38478df7b413b4cfa834a41c3fd
Author: taku0
Date: 2016-10-09 (Sun, 09 Oct 2016)
Changed paths:
M pkgs/dev
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: b004070465dc8027f8a4991d6028a1e98d1e991c
https://github.com/NixOS/nixpkgs/commit/b004070465dc8027f8a4991d6028a1e98d1e991c
Author: sternenseemann
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: f35ab9c2f814e88986ce8ed2b21728d96e71b784
https://github.com/NixOS/nixpkgs/commit/f35ab9c2f814e88986ce8ed2b21728d96e71b784
Author: Dan Peebles
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M pk
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: da32d7ea8594b3fa6c41e7fb519b59d24ab73823
https://github.com/NixOS/nixpkgs/commit/da32d7ea8594b3fa6c41e7fb519b59d24ab73823
Author: Jörg Thalheim
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: ed6006790a220c055da9813b35c27ee17429b354
https://github.com/NixOS/nixpkgs/commit/ed6006790a220c055da9813b35c27ee17429b354
Author: Eelco Dolstra
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 985dec611b53b57ff69ed14e8959d6b6c8e8ef1a
https://github.com/NixOS/nixpkgs/commit/985dec611b53b57ff69ed14e8959d6b6c8e8ef1a
Author: zimbatm
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M pkgs/a
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 7849677a7064379a43586a2b4e7d97e12ffb36ec
https://github.com/NixOS/nixpkgs/commit/7849677a7064379a43586a2b4e7d97e12ffb36ec
Author: Peter Hoeg
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
A pkg
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: f69748612290ca048e75bd9f112cc75ff7fd5d99
https://github.com/NixOS/nixpkgs/commit/f69748612290ca048e75bd9f112cc75ff7fd5d99
Author: regnat
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M nixos/m
Branch: refs/heads/master
Home: https://github.com/NixOS/hydra
Commit: 607eeda9bb86a0c93043f1a107451466e49a29a6
https://github.com/NixOS/hydra/commit/607eeda9bb86a0c93043f1a107451466e49a29a6
Author: Domen Kožar
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M doc/ma
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: ea1a8cf5f096bc6c3da917519ff34e403ef0712e
https://github.com/NixOS/nixpkgs/commit/ea1a8cf5f096bc6c3da917519ff34e403ef0712e
Author: Peter Simons
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M p
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: f2c3e29ac47f24518968f3bcc3e8129476b8a887
https://github.com/NixOS/nixpkgs/commit/f2c3e29ac47f24518968f3bcc3e8129476b8a887
Author: Peter Hoeg
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M pkg
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 71e4613e78585f56b34158c8a20a61fb8479af8c
https://github.com/NixOS/nixpkgs/commit/71e4613e78585f56b34158c8a20a61fb8479af8c
Author: Peter Simons
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M p
Hi Sergey,
> Instead, per-compiler-version package sets are (re-)introduced, which
> are mostly Hackage-oriented.
FWIW, the compiler-specific package sets have existed for several years,
and they still do. The LTS-Haskell package sets, however, have been
removed.
> So compiling Haskell projects
Hi Sergey,
> What is correct way of adding specific versions of Haskell packages?
The user's manual has a section that demonstrates how to accomplish that:
http://nixos.org/nixpkgs/manual/#how-to-override-package-versions-in-a-compiler-specific-package-set
Other sections of the manual have u
On 12 October 2016 at 15:37, Bjørn Forsman wrote:
> On 12 October 2016 at 15:30, Игорь Пашев wrote:
>> It requires libc.a Maybe you have to add glibc into the environment.
>
> Doh! Right... I thought libc was bundled with gcc, but of course, it's
> in _glibc_.
>
> Unfortunately, no celebration ye
Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: 82e2a070e0d2a617cb47c285e176a3fff3ca64e8
https://github.com/NixOS/nix/commit/82e2a070e0d2a617cb47c285e176a3fff3ca64e8
Author: Eelco Dolstra
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M src/libu
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 8b7f04c25a37ed416e986a3a635d5d120706d75f
https://github.com/NixOS/nixpkgs/commit/8b7f04c25a37ed416e986a3a635d5d120706d75f
Author: Thomas Tuegel
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M
On 12 October 2016 at 15:41, Nikolay Amiantov wrote:
> Try adding `glibc.static` to `buildInputs` (I'm not sure if `nix-shell
> -p` would do the same thing, but you can try it too).
Thank you very much! It worked:
$ nix-shell -p gcc glibc.static
$ gcc -static foo.c
(success)
Best regards,
Bjørn
On 12 October 2016 at 15:30, Игорь Пашев wrote:
> It requires libc.a Maybe you have to add glibc into the environment.
Doh! Right... I thought libc was bundled with gcc, but of course, it's
in _glibc_.
Unfortunately, no celebration yet:
$ nix-shell -p gcc glibc
these paths will be fetched (9.83
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: a6d1d06a95bc1073b9966fbfb7829938c1d403e6
https://github.com/NixOS/nixpkgs/commit/a6d1d06a95bc1073b9966fbfb7829938c1d403e6
Author: Peter Hoeg
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
R pkg
It requires libc.a Maybe you have to add glibc into the environment.
This will work only if glibc is built with static library support, or
you are able to alter it.
2016-10-12 16:24 GMT+03:00 Bjørn Forsman :
> Hi all,
>
> On Ubuntu, I can compile static binaries with "gcc -static foo.c". But on
>
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 8c21021f0f6132ba88205afb8357610f2bc6eb3b
https://github.com/NixOS/nixpkgs/commit/8c21021f0f6132ba88205afb8357610f2bc6eb3b
Author: Michael Weiss
Date: 2016-10-11 (Tue, 11 Oct 2016)
Changed paths:
M
Hi all,
On Ubuntu, I can compile static binaries with "gcc -static foo.c". But on NixOS:
$ nix-shell -p gcc
$ gcc -static foo.c
/nix/store/nm9r5lymydnsrlxjn30ym2kix6mbyr19-binutils-2.27/bin/ld:
cannot find -lc
collect2: error: ld returned 1 exit status
How to fix it?
Things I tried:
* Googling
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 80ca889586d705e20f319a736ff0cff13f7b6053
https://github.com/NixOS/nixpkgs/commit/80ca889586d705e20f319a736ff0cff13f7b6053
Author: Michael Raskin <7c6f4...@mail.ru>
Date: 2016-10-12 (Wed, 12 Oct 2016)
Ch
Branch: refs/heads/release-16.09
Home: https://github.com/NixOS/nixpkgs
Commit: dcc283c6b883a6f7835003b859ffe328d38c5052
https://github.com/NixOS/nixpkgs/commit/dcc283c6b883a6f7835003b859ffe328d38c5052
Author: Graham Christensen
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed p
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 8b23c5f33229b5764a09c803ad066436a543bd78
https://github.com/NixOS/nixpkgs/commit/8b23c5f33229b5764a09c803ad066436a543bd78
Author: Graham Christensen
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
Hi,
I am using Hydra for CI and I am loving it so far. However, it would be
really nice to show the build status on Github. I see that there is a
GithubStatus plugin in the Hydra source code, but I couldn't find any
examples or documentation on how to use it. Is anybody using the
GithubStatus
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: b743ddf8f9887e5d52b26ac64168a08a9195d646
https://github.com/NixOS/nixpkgs/commit/b743ddf8f9887e5d52b26ac64168a08a9195d646
Author: Robin Gloster
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M
Branch: refs/heads/libxvmc
Home: https://github.com/NixOS/nixpkgs
___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits
Branch: refs/heads/libxvmc
Home: https://github.com/NixOS/nixpkgs
Commit: ef7048abbcc97ca9ccb8a1e44455afd001cf203e
https://github.com/NixOS/nixpkgs/commit/ef7048abbcc97ca9ccb8a1e44455afd001cf203e
Author: Graham Christensen
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 9838b80e91abb8f69ea5b5a2bc93720512713506
https://github.com/NixOS/nixpkgs/commit/9838b80e91abb8f69ea5b5a2bc93720512713506
Author: Robin Gloster
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
A
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 7cf6f46bd13c5d47bf8e123e86b339969406c6fe
https://github.com/NixOS/nixpkgs/commit/7cf6f46bd13c5d47bf8e123e86b339969406c6fe
Author: Davor Babić
Date: 2016-10-10 (Mon, 10 Oct 2016)
Changed paths:
M li
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: ff4fde36b71cab1746334e364f828e9bd9d253d3
https://github.com/NixOS/nixpkgs/commit/ff4fde36b71cab1746334e364f828e9bd9d253d3
Author: Lorenzo Manacorda
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 5cc199265cd39e8c246fa09fbb52b731290257f6
https://github.com/NixOS/nixpkgs/commit/5cc199265cd39e8c246fa09fbb52b731290257f6
Author: schneefux
Date: 2016-10-09 (Sun, 09 Oct 2016)
Changed paths:
M pkgs
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: a0e791a14c924fa387e67f112becc7d09e26e187
https://github.com/NixOS/nixpkgs/commit/a0e791a14c924fa387e67f112becc7d09e26e187
Author: Robin Gloster
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 18790e45d800fdac517c4b2e54aa28189ba4cebb
https://github.com/NixOS/nixpkgs/commit/18790e45d800fdac517c4b2e54aa28189ba4cebb
Author: Franz Pletz
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
A pk
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: f16f4daa5be710656fece7fcc6d005a759a6cf87
https://github.com/NixOS/nixpkgs/commit/f16f4daa5be710656fece7fcc6d005a759a6cf87
Author: Arnold Krille
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M
Dear Nix'ers,
I've a permanent issue since the upgrade to nixos-16.09 in my local vm
(with kvm-qemu from an SSD partition). The load of the vm is increasing
over time without any signs in the output of top. Bash completion when
traversing directories stalls and the whole system becomes unrespons
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 2ca883338389b7ab995924a0cab0211993bdf1da
https://github.com/NixOS/nixpkgs/commit/2ca883338389b7ab995924a0cab0211993bdf1da
Author: Michael Raskin <7c6f4...@mail.ru>
Date: 2016-10-12 (Wed, 12 Oct 2016)
Ch
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: d6a824216cec531b7b9e6810890cd0251d4b0007
https://github.com/NixOS/nixpkgs/commit/d6a824216cec531b7b9e6810890cd0251d4b0007
Author: Alex Ivanov
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M pk
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: b120ef422cfc888e93b426084e071c184fd37b3c
https://github.com/NixOS/nixpkgs/commit/b120ef422cfc888e93b426084e071c184fd37b3c
Author: Peter Hoeg
Date: 2016-10-11 (Tue, 11 Oct 2016)
Changed paths:
M pkg
Hi.
As far as I understand it correctly,
https://github.com/commercialhaskell/stack/issues/2259 says that Stack
mirroring in Nix is not supported anymore. Instead,
per-compiler-version package sets are (re-)introduced, which are
mostly Hackage-oriented. So compiling Haskell projects is still
possi
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: e207ba7d6acdbba67c996f675547ea69cb4e9b9d
https://github.com/NixOS/nixpkgs/commit/e207ba7d6acdbba67c996f675547ea69cb4e9b9d
Author: Michael Raskin <7c6f4...@mail.ru>
Date: 2016-10-12 (Wed, 12 Oct 2016)
Ch
55 matches
Mail list logo