about summary refs log tree commit diff
path: root/third_party/default.nix
AgeCommit message (Collapse)AuthorFilesLines
2020-06-28 r/1108 feat(nix/emptyDerivation) add emptyDerivationProfpatsch1-0/+1
The most trivial of all derivations. It is more useful than it looks. Can be used to bind nix expressions (e.g. test suites) to a derivation, so that `nix-build` does not crap itself. Change-Id: I61c24d8c129c9505733161207f3c30e820f5b15e Reviewed-on: https://cl.tvl.fyi/c/depot/+/665 Reviewed-by: tazjin <mail@tazj.in>
2020-06-28 r/1107 feat(nix/getBins): add getBinsProfpatsch1-0/+1
This is a simple-stupid “unix import system” for nix, for referencing binaries in `/bin/` by their name and lifting them to a Nix attrset. Allows for simple aliasing of executable names. Change-Id: Ifa23cb377201c3b08050c5026e9751e736afaf56 Reviewed-on: https://cl.tvl.fyi/c/depot/+/664 Reviewed-by: tazjin <mail@tazj.in>
2020-06-27 r/1100 feat(nix/writeExecline): add writeExeclineProfpatsch1-0/+2
This is a writer, similar to `pkgs.writeBashScript` or `pkgs.writers.writePython3`. The difference is that we can correctly write all execline scripts by using nix lists of lists, so the user doesn’t have to care about escaping arguments (like they have to in bash scripts with `lib.escapeShellArg` for example). Change-Id: I2f2874cf61170ddca07b89b692f762725f4a75dc Reviewed-on: https://cl.tvl.fyi/c/depot/+/625 Reviewed-by: Kane York <rikingcoding@gmail.com> Reviewed-by: tazjin <mail@tazj.in>
2020-06-27 r/1099 feat(ops/pipelines): Add Buildkite pipeline configurationVincent Ambo1-0/+1
This adds configuration which generates the structure expected for Buildkite pipelines, which can then be dynamically ingested by Buildkite when a pipeline is triggered. Change-Id: I61e3dc3affb19c1f2550ef827fa73b17f8d8ae47 Reviewed-on: https://cl.tvl.fyi/c/depot/+/627 Reviewed-by: ericvolp12 <ericvolp12@gmail.com> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-27 r/1097 feat(nix/binify): add binifyProfpatsch1-0/+1
Create a store path where the executable `exe` is linked to $out/bin/${name}. This is useful for e.g. including it as a “package” in `buildInputs` of a shell.nix. For example, if I have the exeutable /nix/store/…-hello, I can make it into /nix/store/…-binify-hello/bin/hello with `binify { exe = …; name = "hello" }`. Change-Id: I600bdcd8f143bca2dd8dfbb165a9a5a8d6397622 Reviewed-on: https://cl.tvl.fyi/c/depot/+/624 Reviewed-by: tazjin <mail@tazj.in>
2020-06-25 r/1080 feat(tazjin/nsfv-setup): Add script for noise-cancelling othersVincent Ambo1-0/+1
This script creates a pulseaudio sink that will cancel noise in audio streams sent to it, and then move it on to the default sink. This means that other people's crackling, static background, gulping, keyboard sounds, fan whirring, construction noise etc. are removed. Some preliminary tests on TVL suggest that this actually works. The parameter might need some tweaking ("50" is just the default value), as there is some occasional crackling at the beginning/end of a speech segment, but this is already *much* better than before. Change-Id: I9d4e2b39cfc2b878b4b7c5458788b8d46fb801af Reviewed-on: https://cl.tvl.fyi/c/depot/+/577 Reviewed-by: nyanotech <nyanotechnology@gmail.com>
2020-06-23 r/1069 fix(3p/nix): Revert "feat(3p/nix): Add installCheckPhase"glittershark1-1/+0
This reverts commit 368e8d1eddb8cd95ded7b2f78e4805c67d28ff91. Reason for revert: Didn't mean to submit, and the phase is currently failing (which breaks the otherwise-functional derivation) Change-Id: I515b2fb45188dc90f09ae2458453192487c74d71 Reviewed-on: https://cl.tvl.fyi/c/depot/+/581 Reviewed-by: tazjin <mail@tazj.in>
2020-06-23 r/1067 feat(3p/nix): Add installCheckPhaseGriffin Smith1-0/+1
Add an installCheckPhase that runs the appropriate substituteAll on common.sh and runs the lang.sh tests with the build artifacts in the PATH. Change-Id: I2df5a93b8f3ffdfdc194a0e7d6b6669ef520c345 Reviewed-on: https://cl.tvl.fyi/c/depot/+/561 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-21 r/1055 fix(3p/nix): propagate dependencies which are needed by people linking in nixLuke Granger-Brown1-0/+1
This includes absl, which we install into the output, and boost and the boehm GC, which are moved to propagated deps. Change-Id: I8f9f9795ff92e26b2320359064241d7fd59c2d33 Reviewed-on: https://cl.tvl.fyi/c/depot/+/549 Reviewed-by: tazjin <mail@tazj.in>
2020-06-19 r/1030 feat(3p): Whitelist lutris & its insecure dependencyVincent Ambo1-0/+6
Change-Id: I9a21b823e65af0a180a8705c58f1cf5d4ba4445c
2020-06-18 r/1016 chore(3p/go): make hashes more deterministicererLuke Granger-Brown1-2/+2
Because this is using %h, we're subject to the whims of the remote in trying to make sure that we get a consistent commit hash length in the VERSION stamp. Change-Id: I716193c1440ec367880b6a5f7dfa4f85a11c19a9
2020-06-18 r/1015 chore(3p): Use typedGo as the main GoVincent Ambo1-3/+2
Because it seems to work and we can. Change-Id: I0ba3b6541efa8c21ead875368eca18c73db9a416
2020-06-16 r/1003 feat(3p/typedGo): Add derivation for the Go alpha with a type systemVincent Ambo1-0/+30
The Go language authors have released an experimental version of Go that has a type system: https://blog.golang.org/generics-next-step This overrides the existing Go derivation to build the typed Go. The next step is a buildTypedGo set of functions that wrap buildGo. Change-Id: Idb8a4868bca003d821ed5cb324af633398faf002 Reviewed-on: https://cl.tvl.fyi/c/depot/+/443 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-16 r/993 feat(tvldb): Import the tvldb/paroxysm source, add a Nix derivationeta1-0/+1
- This imports the tvldb (actually a thing called 'paroxysm') code from https://git.theta.eu.org/eta/paroxysm into the monorepo. - Additionally, I did a nix thing, yay! \o/ (well, with tazjin's help) - 3p/default.nix needed modifying to whitelist pgsql. Change-Id: Icdf13ca221650dde376f632bd2dd8a087af451bf Reviewed-on: https://cl.tvl.fyi/c/depot/+/389 Reviewed-by: tazjin <mail@tazj.in>
2020-06-16 r/985 feat(third_party): Add awscliGriffin Smith1-0/+1
I need it to deploy my website Change-Id: I5df8d76d6e0a3d8892ae8bc69d2b46b310f147a5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/399 Reviewed-by: tazjin <mail@tazj.in>
2020-06-14 r/959 feat(3p/git-bug): Add git-bug derivation at unstable-20200614Vincent Ambo1-0/+1
This builds git-bug, a distributed issue tracker that uses git as its data store. It also installs its man pages and shell completions. It is recommended that users add git-bug to their system closure for these extras to work, as they will not be picked up by the dispatch script. Change-Id: I1595368e61b0bae8a9497abd023085cb90a521a6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/345 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-14 r/948 feat(gerrit): Create Gerrit derivation.Luke Granger-Brown1-1/+4
This uses the actual Bazel build, using a variety of tricks and hacks to make it actually work. Bazel really wants to download linux binaries from the internet and run them. In lieu of trying to fix the build system to not do this, we instead put bazel inside an FHS environment, which allows the binaries to find their dependencies. We also have to patch a few things: * We use build --nobuild instead of fetch, so we only fetch the dependencies we actually need for the build and not, say, Windows binaries. * We don't remove rules_cc, because we need it as an external dependency, not bundled. * We do some manual fixes on the cache before packing, because we need to remove some in-tree sources (so they don't cause the hash to break, since the hashes differ each time they're generated), and also remove some extraneous files. * We explicitly turn off the repository and disk caches, because the .bazelrc at the root of the Gerrit tree turns them on, with paths pointing into the user's home directory. * detzip is used instead of the zip binary for packing bower_components into an archive. detzip doesn't create entries for directories, and also doesn't store most metadata (timestamps, etc.), and uses store (i.e. uncompressed) compression only. It also sorts the file tree before writing them into the file. Change-Id: I572c43f7175067ecb1b85cdf40dda13a52de1439 Reviewed-on: https://cl.tvl.fyi/c/depot/+/252 Reviewed-by: tazjin <mail@tazj.in>
2020-06-11 r/900 chore(3p): Bump nixos-unstableVincent Ambo1-3/+3
2020-06-11 r/897 feat(ops/nixos): Add module for configuring Gerrit for the repoVincent Ambo1-0/+1
2020-06-11 r/895 chore(3p): Use nixos from unstableVincent Ambo1-1/+1
Machines can still override the *package set*, but not the modules.
2020-06-07 r/884 feat(3p/grpc): Build gRPC using LLVM10 & libcxxVincent Ambo1-2/+1
2020-06-07 r/883 feat(3p/protobuf): Check in derivation for proto 3.12 with libcxxVincent Ambo1-1/+2
2020-05-31 r/877 fix(3p): Force all stdenvs to use LLVM10Vincent Ambo1-6/+8
2020-05-27 r/864 refactor(3p/abseil_cpp): Inline Nix derivationVincent Ambo1-1/+1
2020-05-27 r/862 chore(3p): Remove glog overrideVincent Ambo1-1/+1
This library is being vendored, hence the override doesn't matter anymore.
2020-05-27 r/859 fix(3p/git): Use git derivation from stable channel as baseVincent Ambo1-1/+2
unstable is, of course, not working correctly at the moment
2020-05-26 r/857 chore(3p): Expose nixpkgs commit to depotVincent Ambo1-3/+3
2020-05-25 r/849 chore(3p/naersk): Update to latest 'master'Vincent Ambo1-0/+1
2020-05-22 r/815 feat(third_party): Switch to LLVM 10 by defaultVincent Ambo1-1/+3
2020-05-22 r/814 fix(ops/nixos): Pin systems to stable channelVincent Ambo1-3/+3
NixOS unstable has some software I want when building things, but it's also broken. This pins systems to the stable channel for now.
2020-05-22 r/811 fix(third_party): Pick Emacs from stable NixOS channelVincent Ambo1-6/+17
Emacs is currently subtly broken on nixos-unstable, but I don't care about debugging that. To work around it, this reintroduces the NixOS stable channel (20.03) but as a separate attribute set from which attributes like Emacs can be picked into //third_party.
2020-05-22 r/810 chore: Update from Clang 9 to Clang 10 for all projectsVincent Ambo1-1/+1
2020-05-22 r/807 chore(ops/nixos/nugget): Use upstream Chromium againVincent Ambo1-6/+0
Ostensibly there is also a new way to enable VAAPI, need to look into that.
2020-05-21 r/792 chore(third_party): Bump nixpkgs to nixpkgs-unstableVincent Ambo1-3/+3
2020-05-19 r/777 style(3p/nix): Final act in the brace-wrapping sagaVincent Ambo1-0/+1
This last change set was generated by a full clang-tidy run (including compilation): clang-tidy -p ~/projects/nix-build/ \ -checks=-*,readability-braces-around-statements -fix src/*/*.cc Actually running clang-tidy requires some massaging to make it play nice with Nix + meson, I'll be adding a wrapper or something for that soon.
2020-05-18 r/755 feat(3p/glog): Update glog versionVincent Ambo1-2/+1
2020-05-17 r/750 feat(3p/nix): Add glog dependencyVincent Ambo1-0/+1
2020-05-17 r/747 fix(3p/nix): Minor fixes to derivationVincent Ambo1-1/+1
* version must be set to use this as the system Nix * missing busybox path is now set * fixed build output names
2020-05-17 r/743 chore(3p): Remove unused dependencies of NixVincent Ambo1-2/+0
2020-05-17 r/738 chore(3p/nix): Use packages from depot treeVincent Ambo1-0/+24
2020-05-17 r/723 feat(bin): Add ninja & meson CLI toolsVincent Ambo1-0/+2
2020-05-08 r/705 feat(third_party): Add newer version of AbseilVincent Ambo1-2/+2
2020-04-25 r/679 revert(third_party): Revert 20.03 channel bumpVincent Ambo1-3/+3
Reverts "Bump channel to a NixOS 20.03 release commit". This reverts commit a629d7fdd4c24b744b4623b828661fd6caee1567. This commit moves to a 20.03 release commit, in which building Chromium with VAAPI is broken.
2020-04-25 r/678 feat(third_party/python): Package broadlink infrared libraryVincent Ambo1-0/+1
2020-04-21 r/665 chore(third_party): Bump channel to a NixOS 20.03 release commitVincent Ambo1-3/+3
... maybe this even fixes my nginx issues.
2020-04-21 r/654 feat(web/tvl): Add rendered graphviz graph to the pageVincent Ambo1-0/+5
2020-04-19 r/635 feat(third_party): Add derivation for honkVincent Ambo1-0/+1
2020-04-17 r/630 feat(ops/nixos/nugget): Add chromium with VAAPI patchesVincent Ambo1-0/+6
These patches enable hardware-accelerated video decoding, which is useful for Stadia. The main issue with this is that Hydra doesn't currently cache Chromium with these patches, which means that it is built from scratch which takes in the order of 5 hours on an otherwise unused nugget.
2020-04-04 r/620 chore(third_party/default): Bump NixOS channel to nixos-20.03Vincent Ambo1-3/+3
2020-04-04 r/614 feat(third_party/ffmpeg): Add "libnpp" support to ffmpegVincent Ambo1-0/+2
Builds ffmpeg with CUDA Toolkit as a dependency, which includes a library called "libnpp" that provides something related to hardware accelerated video stream resizing. v0v