Nix is based on content addressing. To install a specific version of a
package, just pick a version, fix the content address, and install it!
However nixpkgs is a community effort in creating a standard default
package set. This means the community decides to write nix expressions for
the versions
In attempt to understand the Nix/OS architectures I gathered a structured list
of questions, which I organized into a stackoverflow question:
http://stackoverflow.com/questions/38911217/an-overview-of-nix-os-architecture
I think the responses to this could be combined into a very useful wiki art
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 6df074c43ea59b6ca0e65156bfe4b668ec52a7d3
https://github.com/NixOS/nixpkgs/commit/6df074c43ea59b6ca0e65156bfe4b668ec52a7d3
Author: Robert Helgesson
Date: 2016-08-12 (Fri, 12 Aug 2016)
Changed paths:
Nick,
I think the concept here is that:
- in nixpkgs there are only latest versions (in few cases more) of the
software, because it's hard to maintain huge set of packages with such a
small community (comparing to debian, redhat or other distros)
- nix is created to extend in mind, I find it lot l
On Thu, Aug 11, 2016 at 9:35 PM, Kevin Cox wrote:
> It's also important to not that services generally (never?) actually
> "install" the package.
I did a quick check among my enabled services. Two services that add
their packages to environment.systemPackages are the transmission and
shairport-sy
If you know the path of the package the easiest way is `nix-env -i
/nix/store/...`.
For installing a package by previous version number I don't think there
is an easy way to do it. (Except for some packages were different
versions are available in nixpkgs). This is partially because "version"
in n
On 11/08/16 20:11, Nick Sabalausky wrote:
>
> What exactly is the difference? Is there any more nuance to it than
> "Services are installed one way, non-services are installed the other way"?
>
Basically the services are wrappers around the packages. They set them
up, generate config files and
I'm noticing that when installing packages declaratively via
configuration.nix and nixos-rebuild, some packages are install one way,
but others are installed another way. For example:
# Some packages are installed via environment.systemPackages
environment.systemPackages = with pkgs; [
wget f
In general, how do you install a specific version of a package? It seems
that by default it will install the latest available version like other
distros, but for the most part installing "packagename-1.2.3"/etc
doesn't appear to work.
One of the biggest killer features of NixOS for me is the a
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: a97df891fee47f9eda8145f2485c0d7673916fde
https://github.com/NixOS/nixpkgs/commit/a97df891fee47f9eda8145f2485c0d7673916fde
Author: Vladimír Čunát
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: b523c1deb955965f4bd8a7407bc196c985e727ff
https://github.com/NixOS/nixpkgs/commit/b523c1deb955965f4bd8a7407bc196c985e727ff
Author: Vladimír Čunát
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: f822b93e0558441962ac7f18b2f39848ca75f154
https://github.com/NixOS/nixpkgs/commit/f822b93e0558441962ac7f18b2f39848ca75f154
Author: Hoang Xuan Phu
Date: 2016-08-10 (Wed, 10 Aug 2016)
Changed paths:
A
Have you considered using builtins.filterSource ? I usually do something
like this:
let sourceFilesOnly = path: type:
(lib.hasPrefix "var" (toString path)) ||
(lib.hasPrefix "target" (toString path)) ;
in stdenv.mkDerivation {
src = builtins.filterSource sourceFilesOnly ./.;
# ...
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 6536d6fe9c193ca25e440075ae84ac4efffae5da
https://github.com/NixOS/nixpkgs/commit/6536d6fe9c193ca25e440075ae84ac4efffae5da
Author: Michael Raskin <7c6f4...@mail.ru>
Date: 2016-08-11 (Thu, 11 Aug 2016)
Ch
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: d4b128959210e45df8bdbe4b0a5e3844a73a9953
https://github.com/NixOS/nixpkgs/commit/d4b128959210e45df8bdbe4b0a5e3844a73a9953
Author: Matthew Bauer
Date: 2016-08-10 (Wed, 10 Aug 2016)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 1ecab4189f1e8cccebdca80c04439517884fcf36
https://github.com/NixOS/nixpkgs/commit/1ecab4189f1e8cccebdca80c04439517884fcf36
Author: Théophane Hufschmitt
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 18947c9e36a1b869183e2027f2061a07584e42dd
https://github.com/NixOS/nixpkgs/commit/18947c9e36a1b869183e2027f2061a07584e42dd
Author: obadz
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
R pkgs/os-
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 4fd2adb604cf0aeaab15c408e2e827aebd10a574
https://github.com/NixOS/nixpkgs/commit/4fd2adb604cf0aeaab15c408e2e827aebd10a574
Author: Michael Raskin <7c6f4...@mail.ru>
Date: 2016-08-11 (Thu, 11 Aug 2016)
Ch
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: dcdcea9938eef10a7c8c45ded471e9d8a4b14ea5
https://github.com/NixOS/nixpkgs/commit/dcdcea9938eef10a7c8c45ded471e9d8a4b14ea5
Author: Théophane Hufschmitt
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: daf44055cd4275d2226474e7b4f9df0eed82c6cc
https://github.com/NixOS/nixpkgs/commit/daf44055cd4275d2226474e7b4f9df0eed82c6cc
Author: obadz
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
M pkgs/dev
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 256394be60fb95a2fd7cf03b66388cba15da0203
https://github.com/NixOS/nixpkgs/commit/256394be60fb95a2fd7cf03b66388cba15da0203
Author: Domen Kožar
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
M pk
Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: 91978e3b9aacb95d76f7c02fd365c052ed33dea6
https://github.com/NixOS/nix/commit/91978e3b9aacb95d76f7c02fd365c052ed33dea6
Author: Shea Levy
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
M .gitignore
I figure out, that if I use:
toString
result is persistant and resolves to a path given not to nix store content
in both cases.
2016-08-11 14:36 GMT+01:00 Tomasz Czyż :
> Hi,
>
> I wanted to use fetchgitPrivate, but instead of using agent, I thought I
> can pass ssh-key-path as nix path.
>
> I
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: d4de02c46e04103ff51c42dcd0165aa5e548e5d1
https://github.com/NixOS/nixpkgs/commit/d4de02c46e04103ff51c42dcd0165aa5e548e5d1
Author: Vladimír Čunát
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 18c0be1b3a30b18cc37fb4ffd835a0dd6ba9add4
https://github.com/NixOS/nixpkgs/commit/18c0be1b3a30b18cc37fb4ffd835a0dd6ba9add4
Author: Domen Kožar
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
M pk
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: d671dbe2ad78004d8f0d4c4b40aa5612a2f417f4
https://github.com/NixOS/nixpkgs/commit/d671dbe2ad78004d8f0d4c4b40aa5612a2f417f4
Author: Philip Potter
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: cd7bd0b42f5b00380168a5df423f2cc5361ed709
https://github.com/NixOS/nixpkgs/commit/cd7bd0b42f5b00380168a5df423f2cc5361ed709
Author: Nikolay Amiantov
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 6aabe2e4bbef93ddc58fc5286e0a75bd32ac56fd
https://github.com/NixOS/nixpkgs/commit/6aabe2e4bbef93ddc58fc5286e0a75bd32ac56fd
Author: Eelco Dolstra
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
M
Hi,
I wanted to use fetchgitPrivate, but instead of using agent, I thought I
can pass ssh-key-path as nix path.
I'm using it like
{ ssh-key-path ? }:
{
...
ssh -i ${ssh-key-path}
...
}
I build with: ``nix-build my.nix -I ssh-key-path=/home/my/.ssh/key`` (key
group is changed to nixbld s
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: e26ac7afd49daefc6d0dd560e3c2ccda56233149
https://github.com/NixOS/nixpkgs/commit/e26ac7afd49daefc6d0dd560e3c2ccda56233149
Author: Eelco Dolstra
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
M
Hi,
The status of Hydra job ‘nixpkgs:trunk:tarball’ (on x86_64-linux) has changed
from "Success" to "Failed". For details, see
https://hydra.nixos.org/build/38454867
This may be due to 18 commits by Daiderd Jordan , Jean-Luc
Jox , Moritz Ulrich or Nikolay
Amiantov .
Go forth and fix it.
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 1d726ace0ccfe7d707be8aff9871f19e6102fd21
https://github.com/NixOS/nixpkgs/commit/1d726ace0ccfe7d707be8aff9871f19e6102fd21
Author: Nikolay Amiantov
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 526291231b4f57386b841c8ff148546ae1e4ce62
https://github.com/NixOS/nixpkgs/commit/526291231b4f57386b841c8ff148546ae1e4ce62
Author: Jean-Luc Jox
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
A p
Sure, if I make anything useful I'll go back.
2016-08-11 11:46 GMT+01:00 Domen Kožar :
> I don't have a plan to contribute upstream, because I never had enough
> time to make it robust.
>
> As you mentioned, there would need to be logic to use different tap
> interface
> for each VM set. I think
I don't have a plan to contribute upstream, because I never had enough time
to make it robust.
As you mentioned, there would need to be logic to use different tap
interface
for each VM set. I think it would be easier to add tap0 only if
exposeNetwork was set to true somewhere
and it would default
Doman, thank you very much, it's very useful.
Do you plan to add this patch to repo? (and create separate tap for every
vm in test network? (same as ip addresses are generated in test networks)?
2016-08-11 10:54 GMT+01:00 Domen Kožar :
> See https://github.com/NixOS/nixpkgs/issues/5241#issuecomm
Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: ed39532ddaa561acfb89bd8e29899cdb835b2ea2
https://github.com/NixOS/nix/commit/ed39532ddaa561acfb89bd8e29899cdb835b2ea2
Author: Domen Kožar
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
M doc/manual
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 4115e94c87391f8e234e710f386172a26ae1c83b
https://github.com/NixOS/nixpkgs/commit/4115e94c87391f8e234e710f386172a26ae1c83b
Author: Moritz Ulrich
Date: 2016-08-10 (Wed, 10 Aug 2016)
Changed paths:
M
See https://github.com/NixOS/nixpkgs/issues/5241#issuecomment-172811419
On Thu, Aug 11, 2016 at 9:01 AM, Alexey Lebedeff wrote:
> Hi,
>
> I'm not sure that it is the same problem, but have you tried setting
>
> networking.firewall.checkReversePath = false;
>
> as described in https://github.com/
I have to agree that it's awesome. Two amazing examples which come to
mind are:
1. Using nix for reproducible Windows builds within Linux, including a
derivation which installs Windows from an iso into a VM
image. (Unfortunately I was never able to try this because I couldn't
obtain an is
Le mardi 09 août 2016 à 18:04 +0200, Lancelot SIX a écrit:
> You could have a `shell.nix` file as follows:
>
> import ./default.nix { sampleproject = { outPath = ""; name =
> "sampleproject"; } ; }
>
> This is hacky but with that you will not copy the project tree into
> the nix store when r
Am 10.08.2016 um 00:29 schrieb Arnold Krille:
> On Tue, 9 Aug 2016 19:54:10 +0100 Luca Bruno
> wrote:
>> Except that the existing world and software is not reproducible and
>> revertable.
> [...]
> Thanks to Nixos I can set my server back to the system configuration
> from four months back. Apart
Just to CC nix-dev, I added a comment here:
https://github.com/NixOS/nix/issues/1015#issuecomment-239088681
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 40f6d7ea5d20c35a949c74f02af2b8be4057227f
https://github.com/NixOS/nixpkgs/commit/40f6d7ea5d20c35a949c74f02af2b8be4057227f
Author: Katona László
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
A
Branch: refs/heads/release-16.03
Home: https://github.com/NixOS/nixpkgs
Commit: 27f197ca6f141ba586c10130208f4360117d848d
https://github.com/NixOS/nixpkgs/commit/27f197ca6f141ba586c10130208f4360117d848d
Author: Paul Hendry
Date: 2016-08-06 (Sat, 06 Aug 2016)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 76160b73ecf956953f1ccf7a8037a951c3335bef
https://github.com/NixOS/nixpkgs/commit/76160b73ecf956953f1ccf7a8037a951c3335bef
Author: Langston Barrett
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
Branch: refs/heads/python-wip
Home: https://github.com/NixOS/nixpkgs
Commit: 58b75dba0bf23cd79f188c5e75dd2c2aaadaa81c
https://github.com/NixOS/nixpkgs/commit/58b75dba0bf23cd79f188c5e75dd2c2aaadaa81c
Author: Bjørn Forsman
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 67b16f0f85d4467654794059d15a38824c5fad7d
https://github.com/NixOS/nixpkgs/commit/67b16f0f85d4467654794059d15a38824c5fad7d
Author: Marius Bakke
Date: 2016-08-11 (Thu, 11 Aug 2016)
Changed paths:
A p
Hi,
I'm not sure that it is the same problem, but have you tried setting
networking.firewall.checkReversePath = false;
as described in https://github.com/NixOS/nixpkgs/issues/10101 ?
Best,
Alexey
On Thu, Aug 11, 2016 at 1:14 AM, Tomasz Czyż wrote:
> Hi Tomas,
>
> yeah, I've been there :-)
>
49 matches
Mail list logo