Nix: Update Travis definitions for nix builds

Created on 18 Oct 2019  路  8Comments  路  Source: NixOS/nix

The Travis build rules for nix support are defined in https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/script/nix.rb
This repository has no issue tracker, so I opted to open the issue here.

The last update of these rules was in https://github.com/travis-ci/travis-build/commit/52839b576f80b210770505b8691ecd4626286cca#diff-eb3a8105f9a623d165416989919841b9 (2018-09) to pin nix to 2.0.4.

Issues like https://github.com/NixOS/nix/issues/1958 make testing with nix on macOS quite hard.

There鈥檚 two issues that should be fixed:

  • [ ] bump nix version to the latest release
  • [ ] make the macOS build single-user, like the Linux build

Pinging listed Travis nix maintainers, @domenkozar @garbas @matthewbauer @grahamc

All 8 comments

maybe we should maintain a fork of that repo in the nixos org?

I highly recommend just moving everyone to github actions or something else.

I don't plan to maintain travis+nix anymore since it's treading water.

I highly recommend just moving everyone to github actions or something else.

How would moving everybody to an alpha-quality implementation of essentially the same software help? It鈥檚 a completely orthogonal problem methinks. Travis might be badly designed, but at least we know most of its quirks.

I don't plan to maintain travis+nix anymore since it's treading water.

What exactly makes it so hard to maintain?

maybe we should maintain a fork of that repo in the nixos org?

That is a good idea I think. A lot of people still depend on Travis, and having good nix support eases the burden considerably.

@Profpatsch I don't have access to the NixOS org so I invited you to https://github.com/nix-community/travis-build and enabled the issues there.

I can鈥檛 guarantee I will find the time to update it, but I鈥檒l keep this issue in mind.

If somebody else wants to try their luck, please go right ahead.

sounds good :)

@zimbatm so should I re-open this issue in https://github.com/nix-community/travis-build?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rbvermaa picture rbvermaa  路  3Comments

Infinisil picture Infinisil  路  3Comments

bflyblue picture bflyblue  路  3Comments

ericsagnes picture ericsagnes  路  3Comments

eqyiel picture eqyiel  路  3Comments