[Nix-dev] Hydra is down?
The web interface at least hasn't been available for a number of hours. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 9d9cc7: hackage-packages.nix: automatic Haskell package se...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9d9cc7ba5f87108b01305bc43d7b97e25453170c https://github.com/NixOS/nixpkgs/commit/9d9cc7ba5f87108b01305bc43d7b97e25453170c Author: Peter Simons Date: 2017-03-08 (Wed, 08 Mar 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.1-2-g3de0b84 from Hackage revision https://github.com/commercialhaskell/all-cabal-hashes/commit/e5e1058cdef630c7377086dd752665ffd48b182f. Commit: c71d1e72b28367471e281eea0d7439de3128e554 https://github.com/NixOS/nixpkgs/commit/c71d1e72b28367471e281eea0d7439de3128e554 Author: Peter Simons Date: 2017-03-08 (Wed, 08 Mar 2017) Changed paths: M pkgs/development/haskell-modules/configuration-hackage2nix.yaml Log Message: --- LTS Haskell 8.4 Commit: d7496b560edc773d89fad211a8f446d286fff984 https://github.com/NixOS/nixpkgs/commit/d7496b560edc773d89fad211a8f446d286fff984 Author: Michael Alan Dorman Date: 2017-03-08 (Wed, 08 Mar 2017) Changed paths: M pkgs/development/haskell-modules/configuration-nix.nix Log Message: --- gi-webkit2: fix gi-javascriptcore dependency This actually depends on the specially-versioned gi-javascriptcore package. Commit: 763e21e982370f67c126f92a1113ea949db3b6e0 https://github.com/NixOS/nixpkgs/commit/763e21e982370f67c126f92a1113ea949db3b6e0 Author: Michael Alan Dorman Date: 2017-03-08 (Wed, 08 Mar 2017) Changed paths: M pkgs/development/haskell-modules/configuration-nix.nix Log Message: --- haskell-gi-base: propagate gobjectIntrospection dependency So the thinking is: anything that needs `haskell-gi-base` is going to need `gobjectIntrospection` in order to work correctly; by adding this one `buildDepends` (which therefore gets propagated), we put ourselves in a position to simplify away a bunch of code in `cabal2nix`. Compare: https://github.com/NixOS/nixpkgs/compare/413bc0398680...763e21e98237___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] hydra build for qtwebengine stuck
The latest attempt to build qtwebengine has failed for reasons (http://hydra.nixos.org/build/49045866/nixlog/1/tail-reload) that are ultimately environmental---but appear to mean that it won't get retried automatically. What's the best way to report or address such failures? Here on the list, as a github issue, some other list...? Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] dc19ba: beets: enable gstreamer support
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: dc19ba7bc67bbcc4d743bc37dc54a6df402f8cc6 https://github.com/NixOS/nixpkgs/commit/dc19ba7bc67bbcc4d743bc37dc54a6df402f8cc6 Author: Michael Alan Dorman Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M pkgs/tools/audio/beets/default.nix Log Message: --- beets: enable gstreamer support So this was suggested as [long ago as October, 2015](https://github.com/NixOS/nixpkgs/issues/10376#issuecomment-147734898). Despite being fairly ignorant of the nix Python support, I decided that I really wanted this; this change brings in what I believe are the necessary components---I have, at least, successfully run `beet replaygain` and `beet bpd`---but it may not do it in the best way; I'm happy to consider input on that front. I can at least state that all three changes are necessary---leave any one of them out and gstreamer support doesn't work. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] a21a11: LTS Haskell 7.13
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a21a11bae2e1cb72bead14825037f1cf0451677f https://github.com/NixOS/nixpkgs/commit/a21a11bae2e1cb72bead14825037f1cf0451677f Author: Peter Simons Date: 2016-12-14 (Wed, 14 Dec 2016) Changed paths: M pkgs/development/haskell-modules/configuration-hackage2nix.yaml Log Message: --- LTS Haskell 7.13 Commit: 7c3839b90c8903e63bc81c99174d83c82f43143c https://github.com/NixOS/nixpkgs/commit/7c3839b90c8903e63bc81c99174d83c82f43143c Author: Peter Simons Date: 2016-12-14 (Wed, 14 Dec 2016) 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.0.3-13-gcb8e8a4 from Hackage revision https://github.com/commercialhaskell/all-cabal-hashes/commit/c76f2cde8dabf0805cba8f05d3dc1b3d482788e2. Commit: 7f1d74d43b4699d0c98825ecb59e1fc462ebf7b9 https://github.com/NixOS/nixpkgs/commit/7f1d74d43b4699d0c98825ecb59e1fc462ebf7b9 Author: Peter Simons Date: 2016-12-14 (Wed, 14 Dec 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- haskell-brick: update overrides with regard to vty Commit: 3e092a19f3aa6bdb5ae9e12dc994c0b48ae64369 https://github.com/NixOS/nixpkgs/commit/3e092a19f3aa6bdb5ae9e12dc994c0b48ae64369 Author: Peter Simons Date: 2016-12-14 (Wed, 14 Dec 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- haskell-math-functions: test suite fails sporadically Commit: f135c9fde7ba9a8922ebcf847b59b4bb7717f074 https://github.com/NixOS/nixpkgs/commit/f135c9fde7ba9a8922ebcf847b59b4bb7717f074 Author: Peter Simons Date: 2016-12-14 (Wed, 14 Dec 2016) Changed paths: M pkgs/development/haskell-modules/configuration-hackage2nix.yaml Log Message: --- configuration-hackage2nix.yaml: maintain hledger packages to ensure they build Commit: 1e14698a5828a09e8b2b3195e537dfcee3f4d3f8 https://github.com/NixOS/nixpkgs/commit/1e14698a5828a09e8b2b3195e537dfcee3f4d3f8 Author: Peter Simons Date: 2016-12-14 (Wed, 14 Dec 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix Log Message: --- haskell-Cabal: update latest version to 1.24.2.0 Commit: 80c35f6f3dc666df91205b71283aa488cc342a77 https://github.com/NixOS/nixpkgs/commit/80c35f6f3dc666df91205b71283aa488cc342a77 Author: Peter Simons Date: 2016-12-14 (Wed, 14 Dec 2016) Changed paths: M pkgs/development/haskell-modules/configuration-hackage2nix.yaml Log Message: --- cabal-install: always use the latest version by default Commit: 64afb52f6cf3c07eeba8ad88a0643ca53c9ab007 https://github.com/NixOS/nixpkgs/commit/64afb52f6cf3c07eeba8ad88a0643ca53c9ab007 Author: Peter Simons Date: 2016-12-14 (Wed, 14 Dec 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- git-annex: fix sha hash for the new version Commit: 69c09c47e65ac220d9306687feb79544aeb2567a https://github.com/NixOS/nixpkgs/commit/69c09c47e65ac220d9306687feb79544aeb2567a Author: Peter Simons Date: 2016-12-14 (Wed, 14 Dec 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- stack: version 1.3.x needs aeson 1.x to compile Commit: acbbf6a3cc1489b4fd1989872e6a2a5b72809df7 https://github.com/NixOS/nixpkgs/commit/acbbf6a3cc1489b4fd1989872e6a2a5b72809df7 Author: Michael Alan Dorman Date: 2016-12-14 (Wed, 14 Dec 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- Fixup haskell-src-exts version Compare: https://github.com/NixOS/nixpkgs/compare/4d2406c7d5b4...acbbf6a3cc14___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] b74d73: hackage-packages.nix: automatic Haskell package se...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b74d732f67b4297176d014fd0157bc9546fe2bff https://github.com/NixOS/nixpkgs/commit/b74d732f67b4297176d014fd0157bc9546fe2bff Author: Peter Simons Date: 2016-11-27 (Sun, 27 Nov 2016) 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.0.3-8-gcc531ff. Commit: 1e62dc2929f2722d9d31810edd8fc887315f79d1 https://github.com/NixOS/nixpkgs/commit/1e62dc2929f2722d9d31810edd8fc887315f79d1 Author: Peter Simons Date: 2016-11-27 (Sun, 27 Nov 2016) Changed paths: M pkgs/development/haskell-modules/configuration-hackage2nix.yaml Log Message: --- configuration-hackage2nix.yaml: use latest hindent Commit: 725e44cc046aaa8723f78ab420012db360eff11c https://github.com/NixOS/nixpkgs/commit/725e44cc046aaa8723f78ab420012db360eff11c Author: Michael Alan Dorman Date: 2016-11-27 (Sun, 27 Nov 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- hindent: fix 5.2.1 build Commit: d24a886419ce40e79daaf1f910a5bc861db4db0b https://github.com/NixOS/nixpkgs/commit/d24a886419ce40e79daaf1f910a5bc861db4db0b Author: Michael Alan Dorman Date: 2016-11-27 (Sun, 27 Nov 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- hoogle: build with newest haskell-src-exts Compare: https://github.com/NixOS/nixpkgs/compare/625ec7604d86...d24a886419ce___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] f4cf76: hackage-packages.nix: automatic Haskell package se...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f4cf7638fdb29e04280a90cd641ed928b996034c https://github.com/NixOS/nixpkgs/commit/f4cf7638fdb29e04280a90cd641ed928b996034c Author: Peter Simons Date: 2016-11-21 (Mon, 21 Nov 2016) 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.0.3-4-g1dfbad0 from Hackage revision https://github.com/commercialhaskell/all-cabal-hashes/commit/b21c267fad299853ba57f4cc4ac900a1bee62a52. Commit: 9cca22873a2656a484dabcd87258574eab746271 https://github.com/NixOS/nixpkgs/commit/9cca22873a2656a484dabcd87258574eab746271 Author: Michael Alan Dorman Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- git-annex: fixup sha256 for new version Compare: https://github.com/NixOS/nixpkgs/compare/d3a7404fffda...9cca22873a26___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 92df69: hackage-packages.nix: automatic Haskell package se...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 92df69fb22d34d1387ebe2821e77e9202c777f23 https://github.com/NixOS/nixpkgs/commit/92df69fb22d34d1387ebe2821e77e9202c777f23 Author: Peter Simons Date: 2016-11-14 (Mon, 14 Nov 2016) 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.0.3-3-g5c816fd from Hackage revision https://github.com/commercialhaskell/all-cabal-hashes/commit/5e084e904a16887236499910167127c7cd79a861. Commit: 7daf0b8b6ee364d5c570a9a222445c862b64becd https://github.com/NixOS/nixpkgs/commit/7daf0b8b6ee364d5c570a9a222445c862b64becd Author: Michael Alan Dorman Date: 2016-11-14 (Mon, 14 Nov 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- git-annex: update sha256 for new version Compare: https://github.com/NixOS/nixpkgs/compare/328ad178588c...7daf0b8b6ee3___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] DBus and XMonad
Rodney Lorrimar writes: > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-jp8hFEY1dV,guid=c6e01dc144bda2ae4ca47c84580747a5;unix:abstract=/tmp/dbus-BjlHWWC2xz,guid=3733c1a431ad4cb309cc622a580747a5 > > I'm not quite sure why the dbus socket was unavailable, but my solution > was to enable services.dbus.socketActivated in configuration.nix. I have seen this, too---manifesting as an taffybar not starting---though I was doing some more investigation before I enquired. I was able to roll back to a version that worked, and the clearly distinguishing feature was that there was only one listing in DBUS_SESSION_BUS_ADDRESS; and indeed, if I set the environment variable when starting taffybar, it works fine. $ DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-jp8hFEY1dV,guid=c6e01dc144bda2ae4ca47c84580747a5 taffybar Works just fine. I guess the question I'm left with is whether the error is in the nix configuration providing us with two entries in the variable, or in the haskell dbus package in not handling it properly? Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] db6b96: Update to LTS Haskell 7.4
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: db6b96429085e3664fb479e5999f3af5e245c03b https://github.com/NixOS/nixpkgs/commit/db6b96429085e3664fb479e5999f3af5e245c03b Author: Peter Simons Date: 2016-10-18 (Tue, 18 Oct 2016) Changed paths: M pkgs/development/haskell-modules/configuration-hackage2nix.yaml Log Message: --- Update to LTS Haskell 7.4 Commit: 3ce999416ab80ce9dd5e1d2507658727ad9d8a27 https://github.com/NixOS/nixpkgs/commit/3ce999416ab80ce9dd5e1d2507658727ad9d8a27 Author: Peter Simons Date: 2016-10-18 (Tue, 18 Oct 2016) 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.0.2-12-g87e23de from Hackage revision https://github.com/commercialhaskell/all-cabal-hashes/commit/19c7074b559df30ba334ceba2cc5a51ab0602e21. Commit: 3af8c6e30623702051634ef0930671c842e2d06a https://github.com/NixOS/nixpkgs/commit/3af8c6e30623702051634ef0930671c842e2d06a Author: Peter Simons Date: 2016-10-18 (Tue, 18 Oct 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- git-annex: enable test suite again Commit: 56ea4f809829bab879ac6e97fe56d061f21ed195 https://github.com/NixOS/nixpkgs/commit/56ea4f809829bab879ac6e97fe56d061f21ed195 Author: Peter Simons Date: 2016-10-18 (Tue, 18 Oct 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- haskell-stack: fix build Commit: a70e11adbf4df9063d4f3295b79754da362f2e90 https://github.com/NixOS/nixpkgs/commit/a70e11adbf4df9063d4f3295b79754da362f2e90 Author: Michael Alan Dorman Date: 2016-10-18 (Tue, 18 Oct 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- haskellPackages: jailbreak terminal-progress-bar Compare: https://github.com/NixOS/nixpkgs/compare/2b1af4fe7c7e...a70e11adbf4d___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] Seems like hydra is stuck?
No new jobsets started in > 24 hours... Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 8d8796: Fix borgbackup dependency on lz4
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: 8d8796141b744770d63c0a326737078623957ff1 https://github.com/NixOS/nixpkgs/commit/8d8796141b744770d63c0a326737078623957ff1 Author: Michael Alan Dorman Date: 2016-10-02 (Sun, 02 Oct 2016) Changed paths: M pkgs/tools/backup/borg/default.nix Log Message: --- Fix borgbackup dependency on lz4 (cherry picked from commit 739b058779620bc0c8938b98b8c6172b59d8979b) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] Hydra stuck?
At least the web interface doesn't appear to have changed anything in the last 24 hours or so... ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Out of space on hydra.nixos.org...
When trying to access the website I'm getting: DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR: could not extend file "base/17339/17470": No space left on device HINT: Check free disk space. [for Statement "UPDATE JobsetEvals SET nrsucceeded = ? WHERE ( id = ? )" with ParamValues: 1='0', 2='1293585'] at /nix/store/avdaw7ah79f0p84yssy7ajlkrl8aazjd-hydra-0.1.1234.abcdef/libexec/hydra/lib/Hydra/Helper/Nix.pm line 240 Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Hydra having problems?
It looks like there's a lot of idle machines, with nothing attempting to build? Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] b40e1e: haskell generic-builder: don't propagate setupHask...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b40e1efe000ec5c4616cecc9d6836eade419434e https://github.com/NixOS/nixpkgs/commit/b40e1efe000ec5c4616cecc9d6836eade419434e Author: Michael Alan Dorman Date: 2016-06-13 (Mon, 13 Jun 2016) Changed paths: M pkgs/development/haskell-modules/generic-builder.nix Log Message: --- haskell generic-builder: don't propagate setupHaskellDepends Without this patch, attempts to install at least some of the packages that start to use setupHaskellDepends (mostly gtk-related packages) results in collisions: building path(s) ‘/nix/store/63k5smns43f5r2ad8wcc242x0gwd70m3-ghc-8.0.1’ collision between `/nix/store/k18i1nm5hgnb82y9w2g9hmlwhk3szjld-ghc-8.0.1/lib/ghc-8.0.1/Cabal-1.24.0.0/Distribution/Compat/Binary.dyn_hi' and `/nix/store/0rwhbwsg9kmywgbrib2bs29p2hmi80za-Cabal-1.24.0.0/lib/ghc-8.0.1/Cabal-1.24.0.0/Distribution/Compat/Binary.dyn_hi' builder for ‘/nix/store/vrjkfpm8sb96m9i5k74h8vn0rwddgy4v-ghc-8.0.1.drv’ failed with exit code 25 This would appear to me to be a consequence of setupHaskellDepends entries being added to propagateBuildInputs. It is sufficient in the cases I'm familiar with (taffyBar), and I think correct, to simply add it to the otherBuildInputs. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Problem with installing haskell stuff
Arseniy, https://github.com/mdorman/nixpkgs/commit/5c08a5bf363344c953998523c986bf7726618e19 contains a change that fixed the problem for me. Please know that although it seems correct to me---and it does resolve the issue for me---I might well be mistaken. Mike. Arseniy Seroka writes: > Hello! I'm trying to update my haskell set of pkgs to commit > 2862d272a606c6188c4c33dab60de4e0066ee194. > > I'm just doing `nix-env -i haskell-env -f $NIXPKGS_MASTER` as I was > doing for more than a year. > > But I'm getting error `collision between > `/nix/store/k18i1nm5hgnb82y9w2g9hmlwhk3szjld-ghc-8.0.1/lib/ghc-8.0.1/Cabal-1.24.0.0/Paths_Cabal.dyn_hi' > and > `/nix/store/0rwhbwsg9kmywgbrib2bs29p2hmi80za-Cabal-1.24.0.0/lib/ghc-8.0.1/Cabal-1.24.0.0/Paths_Cabal.dyn_hi'` > > What to do? How to fix that? ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 4cea70: hackage-packages.nix: update Haskell package set
ssage: --- configuration-ghc-7.10.x.nix: add missing core library names from GHC 8.x to fix evaluation Commit: 0331c3ee8d09f07f36b48a2bd6a53680a1065953 https://github.com/NixOS/nixpkgs/commit/0331c3ee8d09f07f36b48a2bd6a53680a1065953 Author: Peter Simons Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-hackage2nix.yaml Log Message: --- configuration-hackage2nix.yaml: update list of broken packages Commit: 7e7c4ff779da96a2cf138f639a521d9c56794889 https://github.com/NixOS/nixpkgs/commit/7e7c4ff779da96a2cf138f639a521d9c56794889 Author: Peter Simons Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix Log Message: --- Fix LTS Haskell builds of case-insensitive and semigroups. Commit: 2d1e907c61923c053bc61baa8021c149e43f4af0 https://github.com/NixOS/nixpkgs/commit/2d1e907c61923c053bc61baa8021c149e43f4af0 Author: Peter Simons Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix Log Message: --- Fix LTS Haskell version of aeson. Commit: 8277beff4613ad27b43e33d5155b76e2c2ee4519 https://github.com/NixOS/nixpkgs/commit/8277beff4613ad27b43e33d5155b76e2c2ee4519 Author: Peter Simons Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix Log Message: --- Fix LTS Haskell version of intervals. Commit: f226dbff00d5565b21c68bacbf22f0cfab55515d https://github.com/NixOS/nixpkgs/commit/f226dbff00d5565b21c68bacbf22f0cfab55515d Author: Michael Alan Dorman Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix Log Message: --- lens-family-th: restrict version to 7.10.X compatible Commit: ffe733a52deace5193248c780c5c10200a9efec3 https://github.com/NixOS/nixpkgs/commit/ffe733a52deace5193248c780c5c10200a9efec3 Author: Michael Alan Dorman Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix Log Message: --- cereal: Add dependency for 7.10.x compatibility Commit: be6c46c3b3b34f41722b4f567ae853f29a66cb91 https://github.com/NixOS/nixpkgs/commit/be6c46c3b3b34f41722b4f567ae853f29a66cb91 Author: Michael Alan Dorman Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- gtk2hs-buildtools: ensure appropriate Cabal version Commit: 607e123d11c42e201fa74ecdf0865914a449489a https://github.com/NixOS/nixpkgs/commit/607e123d11c42e201fa74ecdf0865914a449489a Author: Michael Alan Dorman Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- ghc-mod: Depend on cabal-helper 0.6.3.1 Commit: 5c803214eeb219ccdca503e5fe6fb851595d68d1 https://github.com/NixOS/nixpkgs/commit/5c803214eeb219ccdca503e5fe6fb851595d68d1 Author: Michael Alan Dorman Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- distribution-nixpkgs: Compile with older deepseq-generics Commit: 20cf5c975054abcfa3a695e3d4be5e23c44c47fd https://github.com/NixOS/nixpkgs/commit/20cf5c975054abcfa3a695e3d4be5e23c44c47fd Author: Michael Alan Dorman Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- hackage2nix: Compile with older deepseq-generics Commit: b0f64b04fc379d737b9407fb2b620ded9b1f332d https://github.com/NixOS/nixpkgs/commit/b0f64b04fc379d737b9407fb2b620ded9b1f332d Author: Michael Alan Dorman Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- pandoc: jailbreak Commit: 5ca5a4f773ec6447ed400f8be19345342ef502c4 https://github.com/NixOS/nixpkgs/commit/5ca5a4f773ec6447ed400f8be19345342ef502c4 Author: Michael Alan Dorman Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- gtk2hs-buildtools: hand-code some dependencies A change in the way the gtk2hs libraries make use of gtk2hs-buildtools caused them to move the dependency into a stanza where cabal2nix doesn't pick it up---so we need to do these by hand for the moment. Compare: https://github.com/NixOS/nixpkgs/compare/8851cf304838...5ca5a4f773ec___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/li
[Nix-commits] [NixOS/nixpkgs] 8fdcf5: Don't use incompatible haddock-api.
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 8fdcf556a14210e4d3dd0cecf080238ed9d0d932 https://github.com/NixOS/nixpkgs/commit/8fdcf556a14210e4d3dd0cecf080238ed9d0d932 Author: Michael Alan Dorman Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix Log Message: --- Don't use incompatible haddock-api. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 85aa0e: hackage-packages.nix: update Haskell package set
-5.0.nix M pkgs/development/haskell-modules/configuration-lts-5.1.nix M pkgs/development/haskell-modules/configuration-lts-5.10.nix M pkgs/development/haskell-modules/configuration-lts-5.11.nix M pkgs/development/haskell-modules/configuration-lts-5.12.nix M pkgs/development/haskell-modules/configuration-lts-5.13.nix M pkgs/development/haskell-modules/configuration-lts-5.14.nix M pkgs/development/haskell-modules/configuration-lts-5.15.nix M pkgs/development/haskell-modules/configuration-lts-5.2.nix M pkgs/development/haskell-modules/configuration-lts-5.3.nix M pkgs/development/haskell-modules/configuration-lts-5.4.nix M pkgs/development/haskell-modules/configuration-lts-5.5.nix M pkgs/development/haskell-modules/configuration-lts-5.6.nix M pkgs/development/haskell-modules/configuration-lts-5.7.nix M pkgs/development/haskell-modules/configuration-lts-5.8.nix M pkgs/development/haskell-modules/configuration-lts-5.9.nix M pkgs/development/haskell-modules/hackage-packages.nix Log Message: --- hackage-packages.nix: update Haskell package set This update was generated by hackage2nix v20160406-11-g659087e using the following inputs: - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/62d7be84b9063c9df4036e36456540730b3ea803 - LTS Haskell: https://github.com/fpco/lts-haskell/commit/4d628b7b7ec70abdaf5868f8a818e2ebdc05c2bd - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/186e5fa04d9d566c5c5c35c137e39e81ed049e2d Commit: c53f963c1e543546d1139d841ff1fc4f64f17be1 https://github.com/NixOS/nixpkgs/commit/c53f963c1e543546d1139d841ff1fc4f64f17be1 Author: Peter Simons Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M pkgs/top-level/all-packages.nix Log Message: --- cabal-install: link top-level variant of this tool statically The advantage is that the closure no longer depends on the version of GHC that was used to compile the tool. Commit: 2f9a2e6808f745378927fc941ee76a06d52b9fcc https://github.com/NixOS/nixpkgs/commit/2f9a2e6808f745378927fc941ee76a06d52b9fcc Author: Peter Simons Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix Log Message: --- configuration-ghc-7.10.x.nix: switch jailbreak-cabal to Cabal 1.24.x Commit: c23fd4fbc958f2fc5e38526254cc5fa997bd59d7 https://github.com/NixOS/nixpkgs/commit/c23fd4fbc958f2fc5e38526254cc5fa997bd59d7 Author: Peter Simons Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix Log Message: --- configuration-ghc-7.10.x.nix: remove obsolete override for linear Commit: d19e8ea429fd8bc40278426926998d3a7c19ee0b https://github.com/NixOS/nixpkgs/commit/d19e8ea429fd8bc40278426926998d3a7c19ee0b Author: Peter Simons Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix Log Message: --- configuration-ghc-7.10.x.nix: enable builds for cabal-install 1.24.x Commit: d8c24dae8f6116a395db6fb6a5f75c9d26fc87b3 https://github.com/NixOS/nixpkgs/commit/d8c24dae8f6116a395db6fb6a5f75c9d26fc87b3 Author: Michael Alan Dorman Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- haskellPackages.pipes-transduce: Remove foldl override Commit: deba002b3c81cf41523fa36db17ac996eab8c920 https://github.com/NixOS/nixpkgs/commit/deba002b3c81cf41523fa36db17ac996eab8c920 Author: Michael Alan Dorman Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- haskellPackages.hindent: remove testing override Commit: d2387e3c4a71ee83f29733710bd9af7ca0a7ce49 https://github.com/NixOS/nixpkgs/commit/d2387e3c4a71ee83f29733710bd9af7ca0a7ce49 Author: Michael Alan Dorman Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix M pkgs/development/haskell-modules/configuration-hackage2nix.yaml Log Message: --- haskellPackages.hjsonschema: remove hjsonpointer override Compare: https://github.com/NixOS/nixpkgs/compare/99bab146a528...d2387e3c4a71___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] hydra.nixos.org appears to have filled up its disk?
I'm sure this is probably a known issue, but http://hydra.nixos.org/evals reports a database problem because of "no space left on device". Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Wiki is dead
> Several people have made various initiatives to help improving the wiki, > but curiously enough none of those initiatives actually improved the > *contents*. Nix contributors clearly enjoy making the wiki prettier, > writing fancy CSS configurations, rendering the stuff in sophisticated > web development environments from various markup languages, etc., but > still despite all that effort put into the presentation and management > of the content, the content itself invariably remains the same. > > Therefore, it is my perception that those initiatives will ultimately > not result in a better wiki because changing the wiki infrastructure > will not address the problem that we lack people who enjoy working on > the contents. I wonder if people focus on the aesthetics simply because the platform makes trying to effect change in those areas relatively achievable? I can only speak for myself, obviously, but I find MediaWiki to be cumbersome to work with---I find the formatting to be far less intuitive than most of the alternatives (off the top of your head, is bold two apostrophes or three?)---and having to create and edit (much less reorganize and refactor) content via a web interface seems like so much overhead that, ultimately, even small edits feel like too much effort. This exact situation crops in my $DAYJOB as well, where we use MediaWiki to try and organize internal documentation---and most of it gets put up (which is, compared to everything else, relatively low cost), but then the cost of modifying in all but trivial ways is high enough that people would rather start over than do significant edits...and then the high cost of reorganizing and refactoring means that we end up with duplicate content, etc. It makes me sad just to think about. Honestly, I cannot comprehend how Wikipedia even works, given the relatively horribleness of the tools MediaWiki provides. Would I contribute more (AKA: at all) to what amounts to a github pages sort of thing? Certainly there's no guarantees, but it would make it far more probable, because the cost would be more in line with, say, cleaning up a nix expression or some such: oh, I see an issue, let me update my clone, make my edit, fire off a PR. That's a workflow that I manage quite happily and easily. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] change in HEAD can render a system unbootable
And of course, the moment I sent that I see that @peti did so. Mike. On Fri, Feb 12, 2016, at 07:18, Michael Alan Dorman wrote: > Since this is something of a hair-on-fire issue, I wanted to bring it up > on-list as well as in the bug tracker to make sure it gets some > exposure. > > As reported in https://github.com/NixOS/nixpkgs/issues/12949, there's a > recent change in HEAD that requires some significant effort to recover > from. It would be good to get the guilty change either reverted or > amended so it won't break things. > > Mike. > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] change in HEAD can render a system unbootable
Since this is something of a hair-on-fire issue, I wanted to bring it up on-list as well as in the bug tracker to make sure it gets some exposure. As reported in https://github.com/NixOS/nixpkgs/issues/12949, there's a recent change in HEAD that requires some significant effort to recover from. It would be good to get the guilty change either reverted or amended so it won't break things. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] A Journey into our brand-new Haskell infrastructure: Part III
Hi, Peter, On Mon, Apr 27, 2015, at 07:40 AM, Peter Simons wrote: > Hi folks, > > just a quick update for your information: we now have fully automatic > updates > of "hackages-packages.nix". The process is driven by the > "update-nixpkgs.sh" > script [1], which is part of the cabal2nix Git repository [2]. Basically, > that > script re-generates hackages-packages.nix once per hour from the current > state > of Hackage (which [3] tracks in a Git repository) and pushes the result > to [4]. > >From there, Hydra [5] picks up the new version and builds everything. So I've been keeping an eye on the hydra jobset for the last few weeks, looking for the occasional place to help out upstream(s) with patches, etc. to fix builds. I notice there haven't been any updates in a few days---is this a prep-for-release thing, or is there something someone could help with, or are you just taking a well-earned vacation? Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] nix-channel --update failing for nixos-unstable
I suspect this is somehow self-inflicted, but I was hoping for some guidance in resolving it. Here's what happens: -bash-4.3# nix-channel --update downloading Nix expressions from ‘https://nixos.org/releases/nixos/unstable/nixos-15.05pre61665.4c01e6d/nixexprs.tar.xz’... % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 0 00 00 0 0 0 --:--:-- --:--:-- --:--:-- 0 unpacking channels... /nix/store/j7ghngyylfkl64xx1js6f2dfix48fw7g-xz-5.2.0/bin/xz: (stdin): File format not recognized /nix/store/s16y2pk8lljsm37b55h2dsl6gpbsb62g-gnutar-1.27.1/bin/tar: This does not look like a tar archive /nix/store/s16y2pk8lljsm37b55h2dsl6gpbsb62g-gnutar-1.27.1/bin/tar: Exiting with failure status due to previous errors builder for ‘/nix/store/pbx0r34miwhvabz1zd41wfyyp72gkbbi-nixos-unstable-15.05pre61665.4c01e6d.drv’ failed with exit code 2 error: build of ‘/nix/store/pbx0r34miwhvabz1zd41wfyyp72gkbbi-nixos-unstable-15.05pre61665.4c01e6d.drv’ failed cannot unpack the channels at /run/current-system/sw/bin/nix-channel line 150. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Use GHC 7.10.1 as default Haskell compiler in nixpkgs
My understanding is that there may be a number of pkgs that fail to build, for admittedly minor reasons. This is from the Stackage maintainer, who presumably has a high level perspective on this. Mike On Fri, Mar 27, 2015, at 10:06 AM, Domen Kožar wrote: > FTR: > https://github.com/NixOS/nixpkgs/commit/64a4fab42bccc18b1b0bd8521fa5c03a464c1e1a > > On Fri, Mar 27, 2015 at 6:03 PM, Eric Seidel wrote: >> I think upgrading makes sense, but given the need to rebuild all >> haskell >> packages, we ought to push the upgrade to staging first. >> >> On Fri, Mar 27, 2015, at 09:50, Mateusz Kowalczyk wrote: >> > On 03/27/2015 04:21 PM, Shea Levy wrote: >> > > IMO (and this is not limited to Haskell) we should either always use >> > > the latest or, if the latest tends to provide a significantly >> > > different experience than the previous version, not have a > > default at >> > > all and require users to request a specific version. We do this for >> > > mysql in NixOS for example. >> > > >> > >> On Mar 27, 2015, at 12:17 PM, Mateusz Kowalczyk >> > >> wrote: >> > >> >> > >> Hi, >> > >> >> > >> GHC 7.10.1 was officially released this morning. I wonder what the >> > >> stance is to switching over to it as a default. If I remember >> > >> correctly, we switched do 7.8.x very quickly when that came out. >> > >> >> > >> -- Mateusz K. ___ >> > >> nix-dev mailing list nix-dev@lists.science.uu.nl >> > >> http://lists.science.uu.nl/mailman/listinfo/nix-dev >> > > >> > >> > Right, but at the same time we want binary caches. By ‘default’ I mean >> > mostly ‘the one that Hydra builds all the Haskell packages > with’. I have >> > no doubt that we'd do this for multiple versions if the resources >> > allowed but Hydra is bogged down as it is. >> > >> > -- >> > Mateusz K. >> > ___ >> > nix-dev mailing list >> > nix-dev@lists.science.uu.nl >> > http://lists.science.uu.nl/mailman/listinfo/nix-dev >> ___ >> nix-dev mailing list >> nix-dev@lists.science.uu.nl >> http://lists.science.uu.nl/mailman/listinfo/nix-dev > > _ > nix-dev mailing list nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] ghcWithPackages appears broken in nixpkgs HEAD?
I've attached my ~/.nixpkgs/config.nix. If I try to rebuild with it using a clone of nixpkgs HEAD, I get the output below. Perhaps I missed it, but I haven't seen anything on the Wiki regarding how best to report and/or diagnose exactly what the source of the failure is, so I'm just posting here. If there *is* something more specific or effective I can do to help, I would appreciate pointers. ~ $ nix-env --option binary-caches "http://hydra.nixos.org/ http://hydra.cryp.to/"; -f ~/src/nixpkgs/ -iA desktop replacing old ‘mad-desktop’ installing ‘mad-desktop’ these derivations will be built: /nix/store/19plghfb4bsl4072d0sb949mccasdbbb-isync-1.1.2.drv /nix/store/dvvlyjdcjqwnwj41pzzp0pmi091i5kly-pwgen-2.07.drv /nix/store/1mwbphvs448mwfs61psr5r2lzwsi1yf2-password-store-1.6.5.drv /nix/store/21ihnn37glwgwws68s6a7765lba81zij-firefox.drv /nix/store/5p1yypz5r4wgnn0km996bas9czwjc0xz-rust-stage0-2015-02-17-f1bb6c2-linux-x86_64-acec86045632f4f3f085c072ba696f889906dffe.tar.bz2.drv /nix/store/6nd4zyr1qrrhk8fdahh01w43k0yvjyfd-mesa-10.4.5.drv /nix/store/86pmsal9mswrkryckxy1pq7sn34wl5jv-python2.7-cssutils-0.9.9.drv /nix/store/y4v297wbbb5d4l3jchlmf1s9k7hk6n5f-rest-0.7.12.drv /nix/store/87pyz81krna6xqixz2rfszd1ra56s8ym-shotwell-0.20.2.drv /nix/store/8m4h19syzlazivmgkgrypbkp281zrr8g-python2.7-apsw-3.7.6.2-r1.drv /nix/store/mf5y3fvv25m5q0wx5c7npmkawzcnh3dd-libgit2-0.21.2.drv /nix/store/aws5qr6153pz2bxi6vxigcgsb5yvv7f5-libgit2-glib-0.0.20.drv /nix/store/h36s1azd0hv3k42gpf9dw0mh05yhnjka-autorandr-4f5e2401ef.drv /nix/store/sq2jks35vyg1gin3hm6dm8j5cjy7ja82-zenity-2.32.1.drv /nix/store/iw67x6b0wfsn76dnpfcjb17vs59g98hf-xlibs-wrapper.drv /nix/store/vkd3rpjppa6zrk5d41x28mi4kdd0rjfw-wine-1.6.2.drv /nix/store/mhif0g3ir6chi6slmm9v2k6j4niyrr96-winetricks-20150206.drv /nix/store/cyssx3fhdb3mbd8y9ccsdpa422fjjfch-unrar-5.1.7.drv /nix/store/ncpwrv7gndvqhnlc747h2kppmjcl2phy-python2.7-mechanize-0.1.11.drv /nix/store/nbp4c88k58h4ynsi1wf6rycb8xq4csd0-calibre-2.21.0.drv /nix/store/njl413jdwsxz1qj5rm2h8n0s8izkiq53-firefox-with-plugins-36.0.4.drv /nix/store/dwndwm8da22bm88ha8mm4bjxlvppdd9h-libgit2-0.21.2.drv /nix/store/qc42wasp3392z1vawphpmbdkh5rfswan-gitg-3.13.91.drv /nix/store/qqka35vl86sq3cxa8p4v4vd03glgkv06-notmuch-0.19.drv /nix/store/r2zn57i3kr2l8i0kiln9826yyj5v18p7-pasystray-0.4.0.drv /nix/store/sd13n9qaa5dyc0gkaqn20byzgbpwllic-binutils-2.23.1.drv /nix/store/ysr8wfjbqk21ycmgbw34nf4kbx46dll6-ghc-7.8.4.drv /nix/store/hyxbzc1s2iky1g0ddswia564xd3plg2z-rust-stage0.drv /nix/store/pvd8zd0rhz3kg9mrsh8d24dgvmqbwza0-rustc-1.0.0-alpha.2-src.tar.gz.drv /nix/store/z1rlccqcji3nr60qv29axmywl0hqnxmr-rustc-1.0.0-alpha.2.drv /nix/store/bvf8lk6bdv7a95pd3ndqp9asllig7lc5-mad-desktop.drv these paths will be fetched (0.00 MiB download, 416.38 MiB unpacked): /nix/store/1g7x7s7lzb34vdz71w3spsk4scz6j01h-firefox-36.0.4 /nix/store/20bdahmzdmggiddsciv407461jjznsd1-pavucontrol-2.0 /nix/store/4pga431c4w5c3il0sg73aqkf24wqf8b4-tree-1.7.0 /nix/store/8g05jnb8ywcv5r3fjjawp885amw51q4p-PyQt-5.3 /nix/store/8rj89fh2xk3vmq9pny91f7vkr6r5wy0f-cmake-3.2.1 /nix/store/9m49naj3zad8gb3j16cv22n8r8l8290p-python-2.7.9 /nix/store/b95qdqzscrkz701d4dhnp42i3jmp33l7-mesa-noglu-10.4.5-osmesa /nix/store/gcda8bjs0z448mq3v7hhjgly2376gf78-glib-2.42.2 /nix/store/h9nwbnqc083c7qxjqsd4l891f9rpqn3s-mesa-noglu-10.4.5 /nix/store/j0s4x1l1lhyhi8wxrxd9idibqsry55b9-qt-5.3.2 /nix/store/jhz47r1421i3yndv5qdpcicxb553vb63-systemd-217 /nix/store/kh85p306xxph4mvwq1v02bbraxm7ja2h-libXxf86dga-1.1.4 /nix/store/kqd5qd9fj0ggxwkgbaym29ys6aq653qm-libusb-1.0.19 /nix/store/kw188mvadc6h3772x0dddc8j4zg6bxk5-glu-9.0.0 /nix/store/ll0fibbjaxqvwv1d4147gqqi64wl8l4x-fontforge-20141230 /nix/store/mjcilv0iclvkrnxjmd8h5kixg7nli3yn-cups-1.7.5 /nix/store/n0qjzd0nnvrj9fbfc89p6maz9zj37qgk-libdmx-1.1.3 /nix/store/qb01f99ckksrd3iin1bmbmhnmcyg4k05-xdpyinfo-1.3.1 building path(s) ‘/nix/store/fcx42jjqkkfiiv50ikakbyb74gnanpsx-ghc-7.8.4’ fetching path ‘/nix/store/20bdahmzdmggiddsciv407461jjznsd1-pavucontrol-2.0’... fetching path ‘/nix/store/1g7x7s7lzb34vdz71w3spsk4scz6j01h-firefox-36.0.4’... building path(s) ‘/nix/store/x6sp7r982ksg2fbjf61ca0g5nmq5rn46-binutils-2.23.1’ created 729 symlinks in user environment *** Downloading ‘http://hydra.nixos.org/nar/20bdahmzdmggiddsciv407461jjznsd1-pavucontrol-2.0’ to ‘/nix/store/20bdahmzdmggiddsciv407461jjznsd1-pavucontrol-2.0’... % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 0 00 00 0 0 0 --:--:-- --:--:-- --:--:-- 0unpacking sources unpacking source archive /nix/store/n69kz335c800n2b6izsjbw60rlnvp87c-binutils-2.23.1.tar.bz2 *** Downloading ‘http://hydra.nixos.org/nar/1g7x7s7lzb34vdz71w3spsk4scz6j01h-firefox-36.0.4’ to ‘/nix/store/1g7x7s7lzb34vdz71w3spsk4scz6j01h-firefox-36.0.4’... % Total% Received % Xferd Average Speed
Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?
Hi, Peter, On Fri, Mar 6, 2015, at 07:42 AM, Peter Simons wrote: > why don't you just add those tools into your user's profile? That's a reasonable question, with two answers: The short answer is that the examples I gave weren't the best, they were just what sorted first in my list of Haskell development tools---the ones I believe must be instantiated in that environment in order to work correctly are ghc-mod and hoogle, though I may need to add an additional wrapper somewhere to get a functioning hoogle. Or I might not, which is the segue to my second answer: I am actually uncertain that things will work properly if I just include them in my user profile. I mean, yeah, they seem to work in simple cases, but so does taffybar---until you configure it, at which point you find out that you really need to add that to your environment using ghcWithPackages, because otherwise it can't recompile itself. So I find myself taking a defensive posture regarding other haskell tools. I understand that NixOS presents a very different vision of the OS to tools that make various presumptions, which require various strategies to rectify---and I understand that there's always going to be some costs, but if the benefits outweigh them, I'm willing to bear them. I have spent years trying to maintain this sort of deterministic build-and-configuration setup on top of Debian, and a facsimile can largely be achieved, but it is a lot of work. Still, trying to realize those benefits has been elusive: * the documentation about how to resolve some of these things is scattered around, * much of the haskell documentation seems out of date in various ways (not addressing haskell-ng, referencing apparently-deprecated things like myEnvFun, etc), * much of the documentation that's not out of date presumes significant familiarity with nix and/or how things used to be done. * common uses cases in other environments seem unaddressed (presuming I'm going to run my editor inside each different nix-shell environment is very un-emacs) * you also get to learn not just a new language, but a complex, intertwingled system of software management Looking at this, perhaps the contribution I can attempt is to try and turn my experiences into something of a guide for this, though it's not something I would trust myself to do solo, because, well, I'm still at the madly-flailing stage. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?
Many thanks, Daniel, that's exactly the sort of thing I was looking for. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?
Yes, Rich, that's very helpful. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] How to add tools to a nix-shell environment for haskell development?
In developing a haskell library, I would like to be able to maintain both a default.nix (that represents the library dependencies, etc.), and then have a shell.nix that adds things to it in order to build a development environment---specifically some build tools, hasktags, hlint, etc. http://www.cse.chalmers.se/~bernardy/nix.html describes more or less exactly what I would like in the "Per-Project Configuration" section (I believe it's actually pulled from https://gist.github.com/JLimperg/82019d5603df5021603a)...but predates the haskell-ng work, and does not seem entirely compatible with it. I wondered if anyone had any suggestions for how it could be made to work? This is the only example I've found of what seems to me a fairly obvious development setup. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Customizing calibre PYTHONPATH to support plugins...
Attached. Mike. On Sat, Feb 28, 2015, at 12:24 PM, Domen Kožar wrote: > Could you provide a .nix file that demonstrates the problem? Then I > can play around and try to fix it. > > On Sat, Feb 28, 2015 at 9:22 PM, Michael Alan Dorman > wrote: >> >> On Sat, Feb 28, 2015, at 11:58 AM, Cillian de Róiste wrote: >> > Hi Michael, >> > >> > I think the following would work: >> > >> >calibrePython = pkgs.python27Full.buildEnv.override { extraLibs = >> > [ pkgs.python27Packages.pycrypto ]; }; >> >myCalibre = pkgs.calibre.override { python = calibrePython; }; >> > >> > Cheers, >> > Cillian >> >> Cillian, >> >> Thanks for offering that option. Unfortunately, it does not appear to >> make a difference. >> >> Mike. >> ___ >> nix-dev mailing list >> nix-dev@lists.science.uu.nl >> http://lists.science.uu.nl/mailman/listinfo/nix-dev > config.nix Description: Binary data ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Customizing calibre PYTHONPATH to support plugins...
On Sat, Feb 28, 2015, at 12:22 PM, Michael Alan Dorman wrote: > > On Sat, Feb 28, 2015, at 11:58 AM, Cillian de Róiste wrote: > > Hi Michael, > > > > I think the following would work: > > > > calibrePython = pkgs.python27Full.buildEnv.override { extraLibs = > > [ pkgs.python27Packages.pycrypto ]; }; > > myCalibre = pkgs.calibre.override { python = calibrePython; }; > > > > Cheers, > > Cillian > > Cillian, > > Thanks for offering that option. Unfortunately, it does not appear to > make a difference. I should probably expand on this. I *presume* it is because calibre appears to do various things by hand---it has its own wrapper code, for instance, because it needs to wrap more than just the PYTHONPATH. That said, my (very limited) understanding of how it does it leaves me confused as to why the simple addition of buildInputs doesn't work. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Customizing calibre PYTHONPATH to support plugins...
On Sat, Feb 28, 2015, at 11:58 AM, Cillian de Róiste wrote: > Hi Michael, > > I think the following would work: > > calibrePython = pkgs.python27Full.buildEnv.override { extraLibs = > [ pkgs.python27Packages.pycrypto ]; }; > myCalibre = pkgs.calibre.override { python = calibrePython; }; > > Cheers, > Cillian Cillian, Thanks for offering that option. Unfortunately, it does not appear to make a difference. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Customizing calibre PYTHONPATH to support plugins...
On Sat, Feb 28, 2015, at 10:35 AM, Bjørn Forsman wrote: > Maybe propagatedBuildInputs works? Hi, Bjørn, I should have mentioned that I tried that as well, to no avail---and it seems to me that that would only apply if, say, I were trying to build a new expression for the plugin (which I might do eventually, but for the moment is out of scope) and that needed to access calibre's dependencies... Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Customizing calibre PYTHONPATH to support plugins...
I have a plugin for calibre I would like to use that requires pycrypto. I looked at the derivation for calibre, and it seemed to me that it would be sufficient to override it thusly: calibre = pkgs.stdenv.lib.overrideDerivation pkgs.calibre (o: { buildInputs = o.buildInputs ++ [ pythonPackages.pycrypto ]; }); My understanding was that with pycrypto pulled in that way, it would get added to the PYTHONPATH in the wrapper script, making it available to the plugin when calibre was running. Unfortunately, I still don't end up with the directory for pycrypto in the PYTHONPATH defined in the calibre wrapper. If I copy the wrapper and include the appropriate path, though, everything works great, but I would obviously like this handled automatically on upgrades and the like. I would appreciate any guidance anyone has... Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] How to override/replace part of a service definition?
Thank you Nicolas, those were the pointers I needed. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] How to override/replace part of a service definition?
I'm very new to NixOS; perhaps this isn't the correct venue to ask this sort of question, in which case I would appreciate guidance about where better to ask. In trying to use the couchdb package, I found a couple of issues with its pre-start script[1]. My PR (https://github.com/NixOS/nixpkgs/pull/6283) has not yet been merged, and until such time as it is, I would like to override things locally so it will work without manual intervention after each reboot. All the documentation I can find about overriding things seems focuses on packages, but what I'm interested in overriding is the systemd pre-start-script. I tried what seemed obvious: { config, ... }: let cfg = config.services.couchdb; in { systemd.services.couchdb.preStart = '' mkdir -p `dirname ${cfg.uriFile}`; mkdir -p `dirname ${cfg.logFile}`; mkdir -p ${cfg.databaseDir}; mkdir -p ${cfg.viewIndexDir}; touch ${cfg.configFile} touch -a ${cfg.logFile} if [ "$(id -u)" = 0 ]; then chown ${cfg.user}:${cfg.group} `dirname ${cfg.uriFile}`; (-f ${cfg.uriFile} && chown ${cfg.user}:${cfg.group} ${cfg.uriFile}) || true chown ${cfg.user}:${cfg.group} ${cfg.databaseDir} chown ${cfg.user}:${cfg.group} ${cfg.viewIndexDir} chown ${cfg.user}:${cfg.group} ${cfg.configFile} chown ${cfg.user}:${cfg.group} ${cfg.logFile} fi ''; } But that appears to have had an *additive* effect---that is, a copy of the modified text appears *after* the existing, non-working, definition. Any specific remedies, or pointers to specific bits of documentation I've missed---I believe I've combed the wiki pretty thoroughly---would be much appreciated. Mike. 1. After rebooting, checking the service status provides you with: Feb 22 08:42:49 aching systemd[1]: Starting CouchDB Server... Feb 22 08:42:49 aching systemd[1]: couchdb.service: control process exited, code=exited status=1 Feb 22 08:42:49 aching systemd[1]: Failed to start CouchDB Server. Feb 22 08:42:49 aching systemd[1]: Unit couchdb.service entered failed state. Feb 22 08:42:49 aching systemd[1]: couchdb.service failed. Feb 22 08:42:49 aching couchdb-pre-start[1464]: chown: cannot access ‘/var/run/couchdb/couchdb.uri’: No such file or directory Simple inspection reveals commands being run under -e that are not being careful in examining their environment. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev