[Nix-commits] [NixOS/nixpkgs] f016fa: iana-etc: 20170417 -> 20170512
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f016fa3ce3adb9d057c3eac44d625de60e12bbdd https://github.com/NixOS/nixpkgs/commit/f016fa3ce3adb9d057c3eac44d625de60e12bbdd Author: Jörg Thalheim Date: 2017-05-13 (Sat, 13 May 2017) Changed paths: M pkgs/data/misc/iana-etc/default.nix Log Message: --- iana-etc: 20170417 -> 20170512 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 4338f0: nullmailer + service: init at 2.0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 4338f096f59ad448192d692504a08565775e06ab https://github.com/NixOS/nixpkgs/commit/4338f096f59ad448192d692504a08565775e06ab Author: Daniel Ehlers Date: 2017-05-02 (Tue, 02 May 2017) Changed paths: M nixos/modules/module-list.nix A nixos/modules/services/mail/nullmailer.nix A pkgs/servers/mail/nullmailer/default.nix M pkgs/top-level/all-packages.nix Log Message: --- nullmailer + service: init at 2.0 Commit: ae12ded6bf9685124b55fdbcdc92eb04de1fa553 https://github.com/NixOS/nixpkgs/commit/ae12ded6bf9685124b55fdbcdc92eb04de1fa553 Author: Jörg Thalheim Date: 2017-05-13 (Sat, 13 May 2017) Changed paths: M nixos/modules/module-list.nix A nixos/modules/services/mail/nullmailer.nix A pkgs/servers/mail/nullmailer/default.nix M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #25381 from sargon/nullmailer nullmailer + service: init at 2.0 Compare: https://github.com/NixOS/nixpkgs/compare/53a8634ad57c...ae12ded6bf96___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 3b8dd4: gitlab service: fix uploading artifacts from gitla...
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 3b8dd4bee57470d003893e4de6bc761f5c57fb8c https://github.com/NixOS/nixpkgs/commit/3b8dd4bee57470d003893e4de6bc761f5c57fb8c Author: Michał Pałka Date: 2017-05-13 (Sat, 13 May 2017) Changed paths: M nixos/modules/services/misc/gitlab.nix Log Message: --- gitlab service: fix uploading artifacts from gitlab-runner Add the binaries from gitlab-workhorse to the path of the gitlab-workhorse service, as gitlab-zip-metadata is needed by the service (cherry picked from commit 8aa756b64a8370f032e4d96c495d232930eebf73) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 8aa756: gitlab service: fix uploading artifacts from gitla...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 8aa756b64a8370f032e4d96c495d232930eebf73 https://github.com/NixOS/nixpkgs/commit/8aa756b64a8370f032e4d96c495d232930eebf73 Author: Michał Pałka Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M nixos/modules/services/misc/gitlab.nix Log Message: --- gitlab service: fix uploading artifacts from gitlab-runner Add the binaries from gitlab-workhorse to the path of the gitlab-workhorse service, as gitlab-zip-metadata is needed by the service Commit: 53a8634ad57c0ef7a81de73921f2a6c7d5c403f8 https://github.com/NixOS/nixpkgs/commit/53a8634ad57c0ef7a81de73921f2a6c7d5c403f8 Author: Jörg Thalheim Date: 2017-05-13 (Sat, 13 May 2017) Changed paths: M nixos/modules/services/misc/gitlab.nix Log Message: --- Merge pull request #25726 from michalpalka/gitlab-runner-fix gitlab service: fix uploading artifacts from gitlab-runner Compare: https://github.com/NixOS/nixpkgs/compare/e8880627e842...53a8634ad57c___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] why has each revision / generation not a own configuration.nix
Anotther solution shown in https://mailman.science.uu.nl/pipermail/nix-dev/2017-April/023403.html which has an advantage of copying related modules (assuming they belong to same folder as configuration.nix) 2017-05-13 6:28 GMT+03:00 Stefan Huchler : > Tomasz Czyż writes: > > > https://nixos.org/nixos/options.html#configuration+copy > > Thanks nice, could not belive that I am the first "genieus" that thought > on that. > > Do you know the reason why it defaults to false, cant think of any > disadvantage of that functionality. I mean nixos eats harddrive like > nearly no other distro. So saving space cant be the reason. > > Some sort of privacy concern? > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev > ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] why has each revision / generation not a own configuration.nix
Tomasz Czyż writes: > https://nixos.org/nixos/options.html#configuration+copy Thanks nice, could not belive that I am the first "genieus" that thought on that. Do you know the reason why it defaults to false, cant think of any disadvantage of that functionality. I mean nixos eats harddrive like nearly no other distro. So saving space cant be the reason. Some sort of privacy concern? ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] still waiting for https://cache.nixos.org after 5 seconds...
On Mon, May 08, 2017 at 11:46:02AM +, Denis wrote: > I really do not understand the reasons of the strong opposition to > another mirror on Cloudflare (free of cost, although it may not solve > the problem completely - it has no endpoint in Vietnam, for example - > it may increase availability and reduce Amazon bills) and to allowing > the people in regions to host mirrors (it should not be a security > breach as the packages are cryptographic signed). It wouldn't be great for proxy users who get blocked by CAPTCHAs ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] why has each revision / generation not a own configuration.nix
https://nixos.org/nixos/options.html#configuration+copy 2017-05-12 22:57 GMT+01:00 Stefan Huchler : > Hi, > > I find it always strange, that when I revert back or boot a older > version of nixos, the configuration file has no version that reflected > that version. So I have to seperatly have to backup the > configuration.nix file. > > Could there not be at least a backup of the config used in that > generation somewhere (or is there somewhere one) when you build a > generation? > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev > -- Tomasz Czyż ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] why has each revision / generation not a own configuration.nix
Hi, I find it always strange, that when I revert back or boot a older version of nixos, the configuration file has no version that reflected that version. So I have to seperatly have to backup the configuration.nix file. Could there not be at least a backup of the config used in that generation somewhere (or is there somewhere one) when you build a generation? ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] e88806: Whoosh: fix python3.6
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: e8880627e8428346c0e62bbf0cc60adf3fd7661c https://github.com/NixOS/nixpkgs/commit/e8880627e8428346c0e62bbf0cc60adf3fd7661c Author: Jörg Thalheim Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: A pkgs/development/python-modules/whoosh/default.nix M pkgs/top-level/python-packages.nix Log Message: --- Whoosh: fix python3.6 fixes #25745 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 093130: openmvs: init at current master (#25672)
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 093130f8027f442826a4ab4d8dfff812c65529df https://github.com/NixOS/nixpkgs/commit/093130f8027f442826a4ab4d8dfff812c65529df Author: Matthew Daiter Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: A pkgs/applications/science/misc/openmvs/default.nix M pkgs/development/libraries/vcg/default.nix M pkgs/top-level/all-packages.nix Log Message: --- openmvs: init at current master (#25672) * openmvs: init at current master * openmvs: simplify expression * openmvs: init at unstable-2017-05-01 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Nixos wiki project
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 -- Mit freundlichen Grüßen, Kind regards, Matthias Beyer Consider switching to free software. It adds value to your life. https://www.gnu.org/ signature.asc Description: PGP signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] How to incorporate my Bash script in configuration.nix
Thank you for reply, but this is a duplicate of "[NixOS] How to incorporate my Bash script in configuration.nix?" atd it is already solved. My bad On Fri, May 12, 2017 at 3:51 PM, Profpatsch wrote: > On 17-05-12 05:02pm, Profpatsch wrote: > > systemd.service.myUsbService = > > let startupScript = '' > > #!${pkgs.bash} > > echo "0b05 17e8" | tee /sys/bus/usb/drivers/rt2800usb/new_id > > ''; > > in { > > description = "get my US WiFi to work"; > > wantedBy = [ "default.target" ]; > > serviceConfig = { > > ExecStart = startupScript; > > }; > > }; > > aszlig just told me that this can be done shorter: > > systemd.service.myUsbService = { > description = "get my US WiFi to work"; > bindsTo = [ "sys-subsystem-net-devices-XXX.device" ]; > script = "echo 0b05 17e8 | tee /sys/bus/usb/drivers/rt2800usb/new_id"; > } > > see `man systemd.device`. > > -- > Proudly written in Mutt with Vim on NixOS. > Q: Why is this email five sentences or less? > A: http://five.sentenc.es > May take up to five days to read your message. If it’s urgent, call me. > -- Strahinja Popovic ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] c9f8fb: fontconfig-penultimate: 0.3.3 -> 0.3.4
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: c9f8fb4d127aa50cbe8905a1686b1ed88754a9b7 https://github.com/NixOS/nixpkgs/commit/c9f8fb4d127aa50cbe8905a1686b1ed88754a9b7 Author: Thomas Tuegel Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/data/fonts/fontconfig-penultimate/default.nix Log Message: --- fontconfig-penultimate: 0.3.3 -> 0.3.4 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] How to incorporate my Bash script in configuration.nix
On 17-05-12 05:02pm, Profpatsch wrote: > systemd.service.myUsbService = > let startupScript = '' > #!${pkgs.bash} > echo "0b05 17e8" | tee /sys/bus/usb/drivers/rt2800usb/new_id > ''; > in { > description = "get my US WiFi to work"; > wantedBy = [ "default.target" ]; > serviceConfig = { > ExecStart = startupScript; > }; > }; aszlig just told me that this can be done shorter: systemd.service.myUsbService = { description = "get my US WiFi to work"; bindsTo = [ "sys-subsystem-net-devices-XXX.device" ]; script = "echo 0b05 17e8 | tee /sys/bus/usb/drivers/rt2800usb/new_id"; } see `man systemd.device`. -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A: http://five.sentenc.es May take up to five days to read your message. If it’s urgent, call me. ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Nvidia & Cuda & Optimus - root required?
> Isn't there some /dev/* file representing the device that you can set > permissions on? (Half guessing here...) There are, but chmod 777 on /dev/nvidi* didn't help. Also it worked on a desktop machine if I recall correctly. So it eventually is optimus related. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Nvidia & Cuda & Optimus - root required?
On 12 May 2017 at 16:07, Marc Weber wrote: > Nvidia & Cuda: > > As root it works, as user it doesn't (even exporting the env from root). > Easiest way to reproduce: > > $(nix-build cudatoolkit)/extras/demo_suite/deviceQuery > > Either outputs 'FAILED' or some info > > Has anybody a solution yet? Isn't there some /dev/* file representing the device that you can set permissions on? (Half guessing here...) Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] How to incorporate my Bash script in configuration.nix
On 17-05-08 02:28pm, Strahinja Popovic wrote: > Hi everyone, > > I have made my USB WiFi to work, > but I have to call this script whenever I restart the computer. > > #!/usr/bin/env bash > echo "0b05 17e8"|sudo tee /sys/bus/usb/drivers/rt2800usb/new_id > > What is correct way to make this part of configuration.nix? probably by adding service file to bootup, like: systemd.service.myUsbService = let startupScript = '' #!${pkgs.bash} echo "0b05 17e8" | tee /sys/bus/usb/drivers/rt2800usb/new_id ''; in { description = "get my US WiFi to work"; wantedBy = [ "default.target" ]; serviceConfig = { ExecStart = startupScript; }; }; Maybe you’ll have to play with the units it needs to run before. I point you to `man configuration.nix` and `man systemd.unit`. -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A: http://five.sentenc.es May take up to five days to read your message. If it’s urgent, call me. ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 497f18: Changed fetchurl to stable. upgraded to 5.2.0.1
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 497f18d364a536c880a0b1314191b9935cc1838d https://github.com/NixOS/nixpkgs/commit/497f18d364a536c880a0b1314191b9935cc1838d Author: PanAeon Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix Log Message: --- Changed fetchurl to stable. upgraded to 5.2.0.1 Commit: 77faaee1bee5745b2a835698819e6d2e9d84bf41 https://github.com/NixOS/nixpkgs/commit/77faaee1bee5745b2a835698819e6d2e9d84bf41 Author: Jörg Thalheim Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix Log Message: --- Merge pull request #25731 from PanAeon/skypeforlinux-hash-mismatch skypeforlinux hash mismatch Compare: https://github.com/NixOS/nixpkgs/compare/7b340e1cf076...77faaee1bee5___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 83edd9: streamlink: 0.5.0 -> 0.6.0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 83edd95335d024016fda312aa4b99a4f0022ba39 https://github.com/NixOS/nixpkgs/commit/83edd95335d024016fda312aa4b99a4f0022ba39 Author: zraexy Date: 2017-05-11 (Thu, 11 May 2017) Changed paths: M pkgs/applications/video/streamlink/default.nix Log Message: --- streamlink: 0.5.0 -> 0.6.0 Commit: eb1de24c89bc0c79d01b1ee25141d40ceb078f31 https://github.com/NixOS/nixpkgs/commit/eb1de24c89bc0c79d01b1ee25141d40ceb078f31 Author: Pascal Wittmann Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/applications/video/streamlink/default.nix Log Message: --- Merge pull request #25727 from zraexy/zraexy-pkg-streamlink streamlink: 0.5.0 -> 0.6.0 Compare: https://github.com/NixOS/nixpkgs/compare/8f86f9a4eb3b...eb1de24c89bc___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 12d2e0: bitcoin-unlimited: 1.0.1.4 -> 1.0.2.0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 12d2e0ec15d43077e037ea46896d1e69a07f042d https://github.com/NixOS/nixpkgs/commit/12d2e0ec15d43077e037ea46896d1e69a07f042d Author: Dmitry Tsygankov Date: 2017-05-11 (Thu, 11 May 2017) Changed paths: M pkgs/applications/altcoins/bitcoin-unlimited.nix Log Message: --- bitcoin-unlimited: 1.0.1.4 -> 1.0.2.0 Commit: 7b340e1cf076b0b8cfe3fb62088ea4240e5ac292 https://github.com/NixOS/nixpkgs/commit/7b340e1cf076b0b8cfe3fb62088ea4240e5ac292 Author: Pascal Wittmann Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/applications/altcoins/bitcoin-unlimited.nix Log Message: --- Merge pull request #25722 from DmitryTsygankov/DmitryTsygankov/bitcoin-unlimited bitcoin-unlimited: 1.0.1.4 -> 1.0.2.0 Compare: https://github.com/NixOS/nixpkgs/compare/2d8c427a439b...7b340e1cf076___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 70f95f: souper: 2017-03-07 -> 2017-03-23
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 70f95f46d469112d1c65cf46ced40d5b6bbab696 https://github.com/NixOS/nixpkgs/commit/70f95f46d469112d1c65cf46ced40d5b6bbab696 Author: Will Dietz Date: 2017-05-10 (Wed, 10 May 2017) Changed paths: M pkgs/development/compilers/souper/default.nix Log Message: --- souper: 2017-03-07 -> 2017-03-23 Commit: 2d8c427a439bad0df75349d4aaba659f5db489a7 https://github.com/NixOS/nixpkgs/commit/2d8c427a439bad0df75349d4aaba659f5db489a7 Author: Pascal Wittmann Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/development/compilers/souper/default.nix Log Message: --- Merge pull request #25687 from dtzWill/update/souper-2017-03-23 souper: 2017-03-07 -> 2017-03-23 Compare: https://github.com/NixOS/nixpkgs/compare/eb1de24c89bc...2d8c427a439b___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] Nvidia & Cuda & Optimus - root required?
Nvidia & Cuda: As root it works, as user it doesn't (even exporting the env from root). Easiest way to reproduce: $(nix-build cudatoolkit)/extras/demo_suite/deviceQuery Either outputs 'FAILED' or some info Has anybody a solution yet? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] nix rebuilds
On Fri, May 12, 2017 at 01:31:00PM +0100, Kevin Cox wrote: > On 05/12/2017 01:23 PM, Harmen wrote: > > I'm building a few ruby and node projects with nix. It works well enough, > > but > > nix does too many rebuilds, also when nothing changed. The question is: how > > I > > can figure out why it does a rebuild? Maybe some checksum has changed, but > > can > > I somehow figure out which one? > I suspect that at a bare minimum the ./result symlink has changed. > > What I tend to do is use builtins.filterSource in order to ensure I am only > including paths that I need. > > You can see an example at > https://github.com/kevincox/sog/blob/master/default.nix > > src = builtins.filterSource (name: type: > (lib.hasPrefix (toString ./BUILD) name) || > (lib.hasPrefix (toString ./sog) name) || > (lib.hasPrefix (toString ./test) name) || > (lib.hasPrefix (toString ./tools) name) || > (lib.hasPrefix (toString ./WORKSPACE) name)) ./.; Works great, thanks! ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] f5e03f: manual: fix typo
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f5e03f353027216ba2482ec96c218a44ff0cea76 https://github.com/NixOS/nixpkgs/commit/f5e03f353027216ba2482ec96c218a44ff0cea76 Author: Willi Butz Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M doc/languages-frameworks/ruby.xml Log Message: --- manual: fix typo Commit: 8f86f9a4eb3b3a472789bfb54f70c428118b0eaf https://github.com/NixOS/nixpkgs/commit/8f86f9a4eb3b3a472789bfb54f70c428118b0eaf Author: Pascal Wittmann Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M doc/languages-frameworks/ruby.xml Log Message: --- Merge pull request #25733 from WilliButz/master nixpkgs manual: fix typo in ruby section Compare: https://github.com/NixOS/nixpkgs/compare/ae6f9324cdb6...8f86f9a4eb3b___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] nix rebuilds
On 05/12/2017 01:23 PM, Harmen wrote: I'm building a few ruby and node projects with nix. It works well enough, but nix does too many rebuilds, also when nothing changed. The question is: how I can figure out why it does a rebuild? Maybe some checksum has changed, but can I somehow figure out which one? I suspect that at a bare minimum the ./result symlink has changed. What I tend to do is use builtins.filterSource in order to ensure I am only including paths that I need. You can see an example at https://github.com/kevincox/sog/blob/master/default.nix src = builtins.filterSource (name: type: (lib.hasPrefix (toString ./BUILD) name) || (lib.hasPrefix (toString ./sog) name) || (lib.hasPrefix (toString ./test) name) || (lib.hasPrefix (toString ./tools) name) || (lib.hasPrefix (toString ./WORKSPACE) name)) ./.; ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] github triggered builds
On Tue, May 09, 2017 at 10:44:53PM +0200, Harmen wrote: > On Tue, May 09, 2017 at 01:08:08PM +0200, Maarten Hoogendoorn wrote: > > Unfortunately this does not really help with sharing derivations that have > > been built before. > > Thanks for all the replies. Seems like I didn't miss anything obvious. > > My current plan is to try gitlab with my own runner, which has a 'shell > executor' option. > https://docs.gitlab.com/runner/executors/shell.html > That looks like to be exactly what I need for nix based builds. I tried it and it works rather well. All the console output from the build ends up on gitlab, easily visible in the merge request. As long as there are only pure integration tests involved (no databases) this seems a nice and easy to set up solution for simple CI on private git repos. Thanks for the suggestions. Harmen ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] nix rebuilds
I'm building a few ruby and node projects with nix. It works well enough, but nix does too many rebuilds, also when nothing changed. The question is: how I can figure out why it does a rebuild? Maybe some checksum has changed, but can I somehow figure out which one? I put the .nix file in the repo next to the code, so I don't refer to an external repo with a nice checksum, but like this: src = ./.; This is for a Ruby on Rails project build with bundix. Any thoughts? Thanks! Harmen ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 4af03f: openvpn: update to version 2.4.2 to fix CVE-2017-7...
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 4af03f695b950c5bcf39c41c0d42766c957c5b6e https://github.com/NixOS/nixpkgs/commit/4af03f695b950c5bcf39c41c0d42766c957c5b6e Author: Peter Simons Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/tools/networking/openvpn/default.nix Log Message: --- openvpn: update to version 2.4.2 to fix CVE-2017-7478 and CVE-2017-7479 (cherry picked from commit ae6f9324cdb62d1cfac641a272b2306c3cdbb4a6) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] ae6f93: openvpn: update to version 2.4.2 to fix CVE-2017-7...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ae6f9324cdb62d1cfac641a272b2306c3cdbb4a6 https://github.com/NixOS/nixpkgs/commit/ae6f9324cdb62d1cfac641a272b2306c3cdbb4a6 Author: Peter Simons Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/tools/networking/openvpn/default.nix Log Message: --- openvpn: update to version 2.4.2 to fix CVE-2017-7478 and CVE-2017-7479 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] nvidia proprietary / i7 notebook - does not start
Sorry for replying off-list (I suggested trying bumblebee). Just to check, did you enable intel (alone) in the videoDrivers (I think that's necessary, please correct me if I'm wrong). Do you have BIOS/EFI options to use only the nvidia GPU? Is using nouveau an option for you? You could also try nouveau as the bumblebee driver. I'd love to know what ubuntu does. 2017-05-10 21:50 GMT+02:00 Marc Weber : > The Ubuntu disk doesn't habe bumblbee installed. > Activating it on nixos makes X fail with no devices found even though I > added BusID. Stopping BumblBee starting X manually I get the same > results 8x8 size .. > > So I wonder whether I need it at all > > Marc Weber > ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Nixos wiki project
As the official wiki is now finally part of the history: https://nixos.org/nixos/wiki.html, we have started our own community wiki: https://github.com/nixos-users/wiki/wiki It is at the moment editable by every GitHub user and we use our IRC channel #krebs to review and track changes. We invite you to dump your knowledge and useful snippets, if you found out something cool about Nix/NixOS. Cheers Mic92. ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] How to incorporate my Bash script in configuration.nix
Hi everyone, I have made my USB WiFi to work, but I have to call this script whenever I restart the computer. #!/usr/bin/env bash echo "0b05 17e8"|sudo tee /sys/bus/usb/drivers/rt2800usb/new_id What is correct way to make this part of configuration.nix? Cheers, -- Strahinja Popovic ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] still waiting for https://cache.nixos.org after 5 seconds...
As for the debugging of the connectivity issues, it was done few months ago and it was found out that the same CDN hosted some websites forbidden by goverments and traffic to its IP went through some government router. How this information could help us to fix the issue? How can we be sure that it will not happen again? Or that IPs or domain be blocked completely on some territory? I do not think it is one of those problems which can be debugged and fixed, the only option for reliable content distribution is diversification. On 5/8/17, Denis wrote: > Eelco said few days ago in another thread of this mailing list that > only EU and US endpoints are enabled on Cloudfront CDN due to higher > cost of the rest of the world. > > Also, despite all the buzzwords and , any single provider is a > single point of failure (and as we know from the news the failures > used to happen on Amazon). Another single point of failure is DNS of > "nixos.org". > > I really do not understand the reasons of the strong opposition to > another mirror on Cloudflare (free of cost, although it may not solve > the problem completely - it has no endpoint in Vietnam, for example - > it may increase availability and reduce Amazon bills) and to allowing > the people in regions to host mirrors (it should not be a security > breach as the packages are cryptographic signed). > > On 5/8/17, Graham Christensen wrote: >> Denis writes: >> >>> There are many issues with cache.nixos.org (slowness in some regoins, >>> downtimes) so setting up a second CDN would be useful. It is for free. >> >> Hi, >> >> Unfortunately, these problems are very hard to diagnose. More often than >> not, the issue is between the user and AWS. >> >> I have a tool that provides information to help Amazon debug the >> problem: >> >> https://gist.github.com/grahamc/df1bb806eb3552650d03eef7036a72ba >> >> If you run this when when you are having issues, please send the results >> to me and I'll collect them. >> >> Cloudfront is an extremely stable platform (along the axis of >> "availability") to build off of. They promise a minimum of 99.9%[0] of >> all requests will be correctly serviced, while simultaneously providing >> edge-caching to improve performance in certain regions. >> >> Our Cloudfront distribution is backed by S3, a similar promise of 99.9% >> availability[1]. S3 provides additional guarantees, like its durability >> (99.9% [2].) >> >> Our cloudfront distribution sees almost almost 100,000 unique users each >> month, each downloading hundreds or thousands of NARs and narinfo files. >> At the size of the cache (many TBs) and traffic it sees, these numbers >> aren't an easy feat. >> >> 0: https://aws.amazon.com/cloudfront/sla/ >> 1: https://aws.amazon.com/s3/sla/ >> 2: https://aws.amazon.com/s3/faqs/ >> >> Best, >> Graham >> > ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] still waiting for https://cache.nixos.org after 5 seconds...
Eelco said few days ago in another thread of this mailing list that only EU and US endpoints are enabled on Cloudfront CDN due to higher cost of the rest of the world. Also, despite all the buzzwords and , any single provider is a single point of failure (and as we know from the news the failures used to happen on Amazon). Another single point of failure is DNS of "nixos.org". I really do not understand the reasons of the strong opposition to another mirror on Cloudflare (free of cost, although it may not solve the problem completely - it has no endpoint in Vietnam, for example - it may increase availability and reduce Amazon bills) and to allowing the people in regions to host mirrors (it should not be a security breach as the packages are cryptographic signed). On 5/8/17, Graham Christensen wrote: > Denis writes: > >> There are many issues with cache.nixos.org (slowness in some regoins, >> downtimes) so setting up a second CDN would be useful. It is for free. > > Hi, > > Unfortunately, these problems are very hard to diagnose. More often than > not, the issue is between the user and AWS. > > I have a tool that provides information to help Amazon debug the > problem: > > https://gist.github.com/grahamc/df1bb806eb3552650d03eef7036a72ba > > If you run this when when you are having issues, please send the results > to me and I'll collect them. > > Cloudfront is an extremely stable platform (along the axis of > "availability") to build off of. They promise a minimum of 99.9%[0] of > all requests will be correctly serviced, while simultaneously providing > edge-caching to improve performance in certain regions. > > Our Cloudfront distribution is backed by S3, a similar promise of 99.9% > availability[1]. S3 provides additional guarantees, like its durability > (99.9% [2].) > > Our cloudfront distribution sees almost almost 100,000 unique users each > month, each downloading hundreds or thousands of NARs and narinfo files. > At the size of the cache (many TBs) and traffic it sees, these numbers > aren't an easy feat. > > 0: https://aws.amazon.com/cloudfront/sla/ > 1: https://aws.amazon.com/s3/sla/ > 2: https://aws.amazon.com/s3/faqs/ > > Best, > Graham > ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 005913: llvm: Add the LLVM OpenMP components
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: 0059131f54c82e7714d458c0b17335c3364033a4 https://github.com/NixOS/nixpkgs/commit/0059131f54c82e7714d458c0b17335c3364033a4 Author: Anthony Cowley Date: 2017-04-28 (Fri, 28 Apr 2017) Changed paths: M pkgs/development/compilers/llvm/4/default.nix A pkgs/development/compilers/llvm/4/openmp.nix Log Message: --- llvm: Add the LLVM OpenMP components Needed to build an executable that uses OpenMP with clang. This includes a header file and a library that clang will link into an executable whose source makes use of ‘omp‘ pragmas. Commit: 91ee3530a721b51fff72ddedea41172aab08b151 https://github.com/NixOS/nixpkgs/commit/91ee3530a721b51fff72ddedea41172aab08b151 Author: Silvan Mosberger Date: 2017-05-05 (Fri, 05 May 2017) Changed paths: M nixos/modules/services/network-filesystems/ipfs.nix Log Message: --- ipfs service: Fix dataDir being ignored IPFS uses the environment variable IPFS_PATH to determine where to look for it's data, which wasn't set previously therefore ignoring the dataDir attribute Commit: 295a23a2db2c6aef712864770f92547c1494e307 https://github.com/NixOS/nixpkgs/commit/295a23a2db2c6aef712864770f92547c1494e307 Author: mimadrid Date: 2017-05-07 (Sun, 07 May 2017) Changed paths: M pkgs/development/libraries/science/biology/htslib/default.nix Log Message: --- htslib: 1.3.2 -> 1.4 Commit: 9073e67568c66038ab8e5649b5944b6419d42b30 https://github.com/NixOS/nixpkgs/commit/9073e67568c66038ab8e5649b5944b6419d42b30 Author: mimadrid Date: 2017-05-07 (Sun, 07 May 2017) Changed paths: M pkgs/applications/science/biology/samtools/default.nix Log Message: --- samtools: 1.3.1 -> 1.4 Commit: 7fb709a5ab1046563c9d1cf5cc70411a3871098c https://github.com/NixOS/nixpkgs/commit/7fb709a5ab1046563c9d1cf5cc70411a3871098c Author: mimadrid Date: 2017-05-07 (Sun, 07 May 2017) Changed paths: M pkgs/tools/text/languagetool/default.nix Log Message: --- languagetool: 3.5 -> 3.7 Commit: 25a3563102e2beeae64257671581c93a2ef6e4b0 https://github.com/NixOS/nixpkgs/commit/25a3563102e2beeae64257671581c93a2ef6e4b0 Author: Maximilian Bosch Date: 2017-05-08 (Mon, 08 May 2017) Changed paths: R pkgs/development/tools/activator/default.nix M pkgs/top-level/all-packages.nix Log Message: --- activator: remove package from package-set the typesafe activator is about to reach end of life at the end of this month (2017-05) and the servers will be decommissioned at the ond of 2017. See http://www.lightbend.com/community/core-tools/activator-and-sbt for and the project's readme (https://github.com/typesafehub/activator/blob/master/README.md) for further reference. Commit: 1ce951e79afef260cb6d2ea64119bff5e26989e8 https://github.com/NixOS/nixpkgs/commit/1ce951e79afef260cb6d2ea64119bff5e26989e8 Author: Alexander V. Nikolaev Date: 2017-05-09 (Tue, 09 May 2017) Changed paths: M pkgs/misc/emulators/wine/sources.nix Log Message: --- wineUnstable: 2.6 -> 2.7 Update staging as well Commit: f3c19651db035a51f1872ba772df42a74ff36680 https://github.com/NixOS/nixpkgs/commit/f3c19651db035a51f1872ba772df42a74ff36680 Author: Alexander V. Nikolaev Date: 2017-05-09 (Tue, 09 May 2017) Changed paths: M pkgs/misc/emulators/wine/sources.nix Log Message: --- winetricks: 20170316 -> 20170327 Commit: 398f6ed7d3b385cf11d95f4d83f5012300112444 https://github.com/NixOS/nixpkgs/commit/398f6ed7d3b385cf11d95f4d83f5012300112444 Author: Vincent Demeester Date: 2017-05-09 (Tue, 09 May 2017) Changed paths: M pkgs/applications/virtualization/docker/default.nix M pkgs/applications/virtualization/docker/proxy.nix M pkgs/top-level/all-packages.nix Log Message: --- docker-edge: 17.04 to 17.05 Signed-off-by: Vincent Demeester Commit: e3beb0710836deab2f4e366b4681e5a04c1107a8 https://github.com/NixOS/nixpkgs/commit/e3beb0710836deab2f4e366b4681e5a04c1107a8 Author: Jörg Thalheim Date: 2017-05-09 (Tue, 09 May 2017) Changed paths: M nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py Log Message: --- systemd-boot: sync efi filesystem after update Since fat32 provides little recovery facilities after a crash, it can leave the system in an unbootable state, when a crash/outage happens shortly after an update. To decrease the likelihood of this event sync the efi filesystem after each update. Commit: 92bb3e8b9bcbffe37c2e1c0efe467cdd018d6f14 https://github.com/NixOS/nixpkgs/commit/92bb3e8b9bcbffe37c2e1c0efe467cdd018d6f14 Author: Eric Sagnes Date: 2017-05-10 (Wed, 10 May 2017) Changed paths: M nixos/modules/services/x11/window-managers/i3.nix M pkgs/applications/window-man
[Nix-commits] [NixOS/nixpkgs] e25665: qsyncthingtray: build with qt 5.6
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: e25665591b66038c668418c58eaf2810d8f1c90e https://github.com/NixOS/nixpkgs/commit/e25665591b66038c668418c58eaf2810d8f1c90e Author: Peter Hoeg Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/applications/misc/qsyncthingtray/default.nix M pkgs/top-level/all-packages.nix Log Message: --- qsyncthingtray: build with qt 5.6 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 4f51a1: nvidia-x11: add dbus as a dependency to settings
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 4f51a1ef3295d6a71382597bd6a486643d76f95f https://github.com/NixOS/nixpkgs/commit/4f51a1ef3295d6a71382597bd6a486643d76f95f Author: Cray Elliott Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/os-specific/linux/nvidia-x11/settings.nix Log Message: --- nvidia-x11: add dbus as a dependency to settings for the latest beta release, the nvidia-settings binary will not compile without dbus/dbus.h ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] f883be: nvidia stable: 375.39 -> 375.66
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: f883be5061d2c223de70dd4ee499df17ce43d569 https://github.com/NixOS/nixpkgs/commit/f883be5061d2c223de70dd4ee499df17ce43d569 Author: Linus Heckemann Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/os-specific/linux/nvidia-x11/default.nix M pkgs/os-specific/linux/nvidia-x11/generic.nix Log Message: --- nvidia stable: 375.39 -> 375.66 (cherry picked from commit 995d41c09197803624a419114b5c5cd2c90e46bc) Commit: 21e75aac80bd9c836acdb366012f5d8d1f56fc29 https://github.com/NixOS/nixpkgs/commit/21e75aac80bd9c836acdb366012f5d8d1f56fc29 Author: Cray Elliott Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/os-specific/linux/nvidia-x11/default.nix M pkgs/os-specific/linux/nvidia-x11/generic.nix Log Message: --- nvidia_x11_beta: 378.13 -> 381.22 also remove nvidia 4.10 kernel patch as it is no longer needed (cherry picked from commit 11b8cfb506a75fd3cd93ee9ae21d89e4581ffb4d) Compare: https://github.com/NixOS/nixpkgs/compare/3a599765214d...21e75aac80bd___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 3a5997: nvidia_x11_legacy340: fix patch URL to fix #25721
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 3a599765214dfcb91534b58cee42e9bffe9bcea5 https://github.com/NixOS/nixpkgs/commit/3a599765214dfcb91534b58cee42e9bffe9bcea5 Author: Vladimír Čunát Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/os-specific/linux/nvidia-x11/generic.nix Log Message: --- nvidia_x11_legacy340: fix patch URL to fix #25721 Using fixed-commit URLs and fetchpatch is just more robust. (cherry picked from commit 165a6548adfaa4be9d1a9f9cdf53cf4730a1d25d) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 165a65: nvidia_x11_legacy340: fix patch URL to fix #25721
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 165a6548adfaa4be9d1a9f9cdf53cf4730a1d25d https://github.com/NixOS/nixpkgs/commit/165a6548adfaa4be9d1a9f9cdf53cf4730a1d25d Author: Vladimír Čunát Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/os-specific/linux/nvidia-x11/generic.nix Log Message: --- nvidia_x11_legacy340: fix patch URL to fix #25721 Using fixed-commit URLs and fetchpatch is just more robust. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 450a76: hackage-packages.nix: automatic Haskell package se...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 450a76eb62e92058cc742f0f607a1a05a3c859f1 https://github.com/NixOS/nixpkgs/commit/450a76eb62e92058cc742f0f607a1a05a3c859f1 Author: Peter Simons Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/development/haskell-modules/hackage-packages.nix Log Message: --- hackage-packages.nix: automatic Haskell package set update This update was generated by hackage2nix v2.2.1 from Hackage revision https://github.com/commercialhaskell/all-cabal-hashes/commit/979529ca1b8e346c5f0a3c75df24ba469ca3beb2. Commit: 890fd54fdeb90fa3fc4ef37f84de023c058e6a13 https://github.com/NixOS/nixpkgs/commit/890fd54fdeb90fa3fc4ef37f84de023c058e6a13 Author: Peter Simons Date: 2017-05-12 (Fri, 12 May 2017) Changed paths: M pkgs/development/haskell-modules/configuration-nix.nix Log Message: --- haskell-loc-test: break infinite recursion in test dependencies Compare: https://github.com/NixOS/nixpkgs/compare/49d3b432c35e...890fd54fdeb9___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits