depot/third_party/default.nix, branch refs/r/8785 monorepo for the virus lounge http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F8785 2022-11-12T21:54:45+00:00 fix: use localSystem over builtins.currentSystem where appropriate 2022-11-12T21:54:45+00:00 sterni sternenseemann@systemli.org 2022-11-10T13:18:59+00:00 urn:sha1:350d60ea8ed1071ae74105120ee4811c04a40739 cl/5832 added a global system parameter to depot which allowed specifying what `system` should be used for nixpkgs and all depot derivations (assuming a native compilation case) which was implemented in cl/5846. This allows instantiating derivations for a different system than whatever builtins.currentSystem happens to be. This is useful for debugging, allows you to schedule builds on build servers for other platforms or build for architectures that are a subset of the one you are running (e.g. i686-linux). This change eliminates all remaining uses of builtins.currentSystem which could lead to an inconsistent combination of `system` values when passing `localSystem`. Change-Id: I0f824f4f0afa88ef1ddd9a8cecb24bf94bacde7a Reviewed-on: https://cl.tvl.fyi/c/depot/+/7260 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org> refactor(3p): Prepare for restricted-eval 2022-05-26T14:17:32+00:00 Vincent Ambo mail@tazj.in 2022-05-26T12:42:39+00:00 urn:sha1:65953e0913f555e328f1a10d0590f2ccad85873d Change-Id: I1e577400717833c3de75bfef38950565716580bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5684 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su> style: format entire depot with nixpkgs-fmt 2022-01-31T16:11:53+00:00 Vincent Ambo mail@tazj.in 2022-01-30T16:06:58+00:00 urn:sha1:aa122cbae78ce97d60c0c98ba14df753d97e40b1 This CL can be used to compare the style of nixpkgs-fmt against other formatters (nixpkgs, alejandra). Change-Id: I87c6abff6bcb546b02ead15ad0405f81e01b6d9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4397 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: cynthia <cynthia@tvl.fyi> Reviewed-by: edef <edef@edef.eu> Reviewed-by: eta <tvl@eta.st> Reviewed-by: grfn <grfn@gws.fyi> feat(ops/modules): Provide some modules to all nixoses 2021-12-16T14:17:35+00:00 Griffin Smith grfn@gws.fyi 2021-12-15T23:09:46+00:00 urn:sha1:d85c6a1b56eae850a972d7c0708525a736d33d01 For modules that are gated behind a mkEnableOption, it's reasonable to just provide them to all Depot-built nixos systems without requiring people to explicitly import them. This defines a special module called `default-imports.nix` which imports these modules (currently just tvl-cache.nix and automatic-gc.nix, as I'm being rather conservative adding things here to avoid breaking anyone's system), then provides that module as one of the `modules` passed at the top-level nixos/eval-config invocation. Change-Id: I3be299ab10ae4c451ef11c514edb3c89318a2278 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4345 Tested-by: BuildkiteCI Autosubmit: grfn <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in> refactor(ops/nixos): Pass `depot` as a special argument 2021-05-24T21:48:37+00:00 Vincent Ambo mail@tazj.in 2021-05-24T21:29:44+00:00 urn:sha1:4a89bcd6a5cd409731d7d80fe3dbe364ba00c187 This changes the evaluation order for the `depot` argument and ensures it is partially evaluated before the module system starts resolving imports. This way we can import modules from `depot.path` without `depot` having to come from readTree. Fixes b/129. Change-Id: Icf4dd2be15011055dac8b27e991a4ff6a12bf827 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3156 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> refactor: Move nixpkgs attribute to `third_party.nixpkgs` 2021-04-10T21:18:55+00:00 Vincent Ambo mail@tazj.in 2021-04-10T16:05:16+00:00 urn:sha1:473604f5675c455a65b91e287b125a9e042ae39f Please read b/108 to make sense of this. This gets rid of the explicit list of exposed packages from nixpkgs, and instead makes the entire package set available at `third_party.nixpkgs`. To accommodate this, a LOT of things have to be very slightly shuffled around. Some of this was done in already submitted CLs, but this change is unfortunately still quite noisy. Pay extra attention to: * overlay-like functionality that was partially moved to actual overlays (partially as in, the minimum required to get a green build) * modified uses of the package set path, esp. in NixOS systems Special notes: * xanthous has been disabled in CI because of issues with the Haskell overlay * //third_party/nix has been disabled because of other unclear dependency issues Both of these will be tackled in a followup CL. Change-Id: I2f9c60a4d275fdb5209264be0addfd7e06c53118 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2910 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI refactor(3p/dhall): Move easy-dhall-nix import into separate folder 2021-04-10T14:32:02+00:00 Vincent Ambo mail@tazj.in 2021-04-10T12:00:13+00:00 urn:sha1:6489d94ad60c431d27836a0bc65953e44175b262 This is part of paving the way for clearly distinguishing between packages from nixpkgs and //third_party. See also: b/108, cl/2910 Change-Id: I28b5abd1f0f9fa3c4478c9f255b2025f4a4139f1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2917 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: tazjin <mail@tazj.in> feat(third_party): add dhall packages from easy-dhall-nix 2021-04-01T11:27:39+00:00 Profpatsch mail@profpatsch.de 2021-03-03T22:03:06+00:00 urn:sha1:b89d4c1578aa7c9f43c840c2f0b805b016eb8fb5 About to do some dhalllll! \o/ Change-Id: Ie58c335d80f4a5abeb8296ece5a24377f07e6369 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2585 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> chore(3p): bump NixOS channels to 2021-03-25 2021-03-26T01:43:32+00:00 sterni sternenseemann@systemli.org 2021-03-24T17:34:40+00:00 urn:sha1:3a49e4f4bf23ab2c2bc59a7574cb8dfe2f07067d OpenSSL released an update which fixes two severity high security issues: * https://mta.openssl.org/pipermail/openssl-announce/2021-March/000197.html * https://mta.openssl.org/pipermail/openssl-announce/2021-March/000198.html Update to the nixpkgs (currently still master) commits updating OpenSSL. Other changes: * Use GHC 8.8.4 for haskell-language-server as GHC 8.8.3 got removed from nixpkgs last friday. Change-Id: Ic1b2f49284e78193a4330da4bb4b718a797f5ab1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2653 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: glittershark <grfn@gws.fyi> chore(3p): bump NixOS channels to 2021-03-18 2021-03-19T14:00:50+00:00 sterni sternenseemann@systemli.org 2021-03-18T21:08:45+00:00 urn:sha1:90fdd7f23d6cc0d1374332d49218aef9a0d6a52f Making this a monthly service apparently. Necessary changes: * 3p: expose emacs27 instead of emacs26 which got removed users/tazjin/{camden, frog}: switch from emacs26 to emacs27 * 3p/lieer: google_api_python_client got renamed to google-api-python-client Change-Id: I1011665d10eebc99990addbef6a8a6b000b93896 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2605 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in>
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom">
<title>depot/third_party/default.nix, branch refs/r/8785</title>
<subtitle>monorepo for the virus lounge</subtitle>
<id>http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F8785</id>
<link rel="self" href="http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F8785"/>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/"/>
<updated>2022-11-12T21:54:45+00:00</updated>
<entry>
<title>fix: use localSystem over builtins.currentSystem where appropriate</title>
<updated>2022-11-12T21:54:45+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2022-11-10T13:18:59+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=350d60ea8ed1071ae74105120ee4811c04a40739"/>
<id>urn:sha1:350d60ea8ed1071ae74105120ee4811c04a40739</id>
<content type="text"> cl/5832 added a global system parameter to depot which allowed specifying what `system` should be used for nixpkgs and all depot derivations (assuming a native compilation case) which was implemented in cl/5846. This allows instantiating derivations for a different system than whatever builtins.currentSystem happens to be. This is useful for debugging, allows you to schedule builds on build servers for other platforms or build for architectures that are a subset of the one you are running (e.g. i686-linux). This change eliminates all remaining uses of builtins.currentSystem which could lead to an inconsistent combination of `system` values when passing `localSystem`. Change-Id: I0f824f4f0afa88ef1ddd9a8cecb24bf94bacde7a Reviewed-on: https://cl.tvl.fyi/c/depot/+/7260 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org> </content>
</entry>
<entry>
<title>refactor(3p): Prepare for restricted-eval</title>
<updated>2022-05-26T14:17:32+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2022-05-26T12:42:39+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=65953e0913f555e328f1a10d0590f2ccad85873d"/>
<id>urn:sha1:65953e0913f555e328f1a10d0590f2ccad85873d</id>
<content type="text"> Change-Id: I1e577400717833c3de75bfef38950565716580bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5684 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su> </content>
</entry>
<entry>
<title>style: format entire depot with nixpkgs-fmt</title>
<updated>2022-01-31T16:11:53+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2022-01-30T16:06:58+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=aa122cbae78ce97d60c0c98ba14df753d97e40b1"/>
<id>urn:sha1:aa122cbae78ce97d60c0c98ba14df753d97e40b1</id>
<content type="text"> This CL can be used to compare the style of nixpkgs-fmt against other formatters (nixpkgs, alejandra). Change-Id: I87c6abff6bcb546b02ead15ad0405f81e01b6d9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4397 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: cynthia <cynthia@tvl.fyi> Reviewed-by: edef <edef@edef.eu> Reviewed-by: eta <tvl@eta.st> Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
<entry>
<title>feat(ops/modules): Provide some modules to all nixoses</title>
<updated>2021-12-16T14:17:35+00:00</updated>
<author>
<name>Griffin Smith</name>
<email>grfn@gws.fyi</email>
</author>
<published>2021-12-15T23:09:46+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=d85c6a1b56eae850a972d7c0708525a736d33d01"/>
<id>urn:sha1:d85c6a1b56eae850a972d7c0708525a736d33d01</id>
<content type="text"> For modules that are gated behind a mkEnableOption, it's reasonable to just provide them to all Depot-built nixos systems without requiring people to explicitly import them. This defines a special module called `default-imports.nix` which imports these modules (currently just tvl-cache.nix and automatic-gc.nix, as I'm being rather conservative adding things here to avoid breaking anyone's system), then provides that module as one of the `modules` passed at the top-level nixos/eval-config invocation. Change-Id: I3be299ab10ae4c451ef11c514edb3c89318a2278 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4345 Tested-by: BuildkiteCI Autosubmit: grfn <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in> </content>
</entry>
<entry>
<title>refactor(ops/nixos): Pass `depot` as a special argument</title>
<updated>2021-05-24T21:48:37+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2021-05-24T21:29:44+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=4a89bcd6a5cd409731d7d80fe3dbe364ba00c187"/>
<id>urn:sha1:4a89bcd6a5cd409731d7d80fe3dbe364ba00c187</id>
<content type="text"> This changes the evaluation order for the `depot` argument and ensures it is partially evaluated before the module system starts resolving imports. This way we can import modules from `depot.path` without `depot` having to come from readTree. Fixes b/129. Change-Id: Icf4dd2be15011055dac8b27e991a4ff6a12bf827 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3156 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
<entry>
<title>refactor: Move nixpkgs attribute to `third_party.nixpkgs`</title>
<updated>2021-04-10T21:18:55+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2021-04-10T16:05:16+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=473604f5675c455a65b91e287b125a9e042ae39f"/>
<id>urn:sha1:473604f5675c455a65b91e287b125a9e042ae39f</id>
<content type="text"> Please read b/108 to make sense of this. This gets rid of the explicit list of exposed packages from nixpkgs, and instead makes the entire package set available at `third_party.nixpkgs`. To accommodate this, a LOT of things have to be very slightly shuffled around. Some of this was done in already submitted CLs, but this change is unfortunately still quite noisy. Pay extra attention to: * overlay-like functionality that was partially moved to actual overlays (partially as in, the minimum required to get a green build) * modified uses of the package set path, esp. in NixOS systems Special notes: * xanthous has been disabled in CI because of issues with the Haskell overlay * //third_party/nix has been disabled because of other unclear dependency issues Both of these will be tackled in a followup CL. Change-Id: I2f9c60a4d275fdb5209264be0addfd7e06c53118 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2910 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI </content>
</entry>
<entry>
<title>refactor(3p/dhall): Move easy-dhall-nix import into separate folder</title>
<updated>2021-04-10T14:32:02+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2021-04-10T12:00:13+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=6489d94ad60c431d27836a0bc65953e44175b262"/>
<id>urn:sha1:6489d94ad60c431d27836a0bc65953e44175b262</id>
<content type="text"> This is part of paving the way for clearly distinguishing between packages from nixpkgs and //third_party. See also: b/108, cl/2910 Change-Id: I28b5abd1f0f9fa3c4478c9f255b2025f4a4139f1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2917 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: tazjin <mail@tazj.in> </content>
</entry>
<entry>
<title>feat(third_party): add dhall packages from easy-dhall-nix</title>
<updated>2021-04-01T11:27:39+00:00</updated>
<author>
<name>Profpatsch</name>
<email>mail@profpatsch.de</email>
</author>
<published>2021-03-03T22:03:06+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=b89d4c1578aa7c9f43c840c2f0b805b016eb8fb5"/>
<id>urn:sha1:b89d4c1578aa7c9f43c840c2f0b805b016eb8fb5</id>
<content type="text"> About to do some dhalllll! \o/ Change-Id: Ie58c335d80f4a5abeb8296ece5a24377f07e6369 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2585 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> </content>
</entry>
<entry>
<title>chore(3p): bump NixOS channels to 2021-03-25</title>
<updated>2021-03-26T01:43:32+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-03-24T17:34:40+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=3a49e4f4bf23ab2c2bc59a7574cb8dfe2f07067d"/>
<id>urn:sha1:3a49e4f4bf23ab2c2bc59a7574cb8dfe2f07067d</id>
<content type="text"> OpenSSL released an update which fixes two severity high security issues: * https://mta.openssl.org/pipermail/openssl-announce/2021-March/000197.html * https://mta.openssl.org/pipermail/openssl-announce/2021-March/000198.html Update to the nixpkgs (currently still master) commits updating OpenSSL. Other changes: * Use GHC 8.8.4 for haskell-language-server as GHC 8.8.3 got removed from nixpkgs last friday. Change-Id: Ic1b2f49284e78193a4330da4bb4b718a797f5ab1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2653 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: glittershark <grfn@gws.fyi> </content>
</entry>
<entry>
<title>chore(3p): bump NixOS channels to 2021-03-18</title>
<updated>2021-03-19T14:00:50+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-03-18T21:08:45+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=90fdd7f23d6cc0d1374332d49218aef9a0d6a52f"/>
<id>urn:sha1:90fdd7f23d6cc0d1374332d49218aef9a0d6a52f</id>
<content type="text"> Making this a monthly service apparently. Necessary changes: * 3p: expose emacs27 instead of emacs26 which got removed users/tazjin/{camden, frog}: switch from emacs26 to emacs27 * 3p/lieer: google_api_python_client got renamed to google-api-python-client Change-Id: I1011665d10eebc99990addbef6a8a6b000b93896 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2605 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in> </content>
</entry>
</feed>