commit | 194b1c8e62a4370da45ca6dff8fb1de7a4d44d93 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <q3k@hackerspace.pl> | Fri Sep 25 20:24:17 2020 +0000 |
committer | Serge Bazanski <q3k@hackerspace.pl> | Sat Oct 03 18:31:38 2020 +0200 |
tree | 5747b52eb7b24aad7ace513ff930a4526aae1dda | |
parent | 6abe4fa771fc5a47809ad844807dcdcda9219af3 [diff] |
WORKSPACE: use nix for python/go if available This introduces Nix, the package manager, and nixpkgs, the package collection, into hscloud's bazel build machinery. There are two reasons behind this: - on NixOS, it's painful or at least very difficult to run hscloud out of the box. Especially with rules_go, that download a blob from the Internet to get a Go toolchain, it just fails outright. This solves this and allows hscloud to be used on NixOS. - on non-NixOS platforms that still might have access to Nix this allows to somewhat hermeticize the build. Notably, Python now comes from nixpkgs, and is fabricobbled in a way that makes pip3_import use Nix system dependencies for ncurses and libpq. This has been tested to run ci_presubmit on NixOS 20.09pre and Gentoo ~amd64. Change-Id: Ic16e4827cb52a05aea0df0eed84d80c5e9ae0e07
hscloud
is the main monorepo of the Warsaw Hackerspace infrastructure code.
Any time you see a //path/like/this
, it refers to the root of hscloud, ie. the path path/like/this
in this repository. Perforce and/or Bazel users should feel right at home.
For a pleaseant web viewing experience, see this documentation in hackdoc. This will allow you to read this markdown file (and others) in a pretty, linkable view.
See //doc/codelabs for tutorials on how to use hscloud.
If you want to browse the source of hscloud
in a web browser, use cs.hackerspace.pl.
If you want some other help, talk to q3k, informatic or your therapist.
Directories you should care about:
k0.hswaw.net
)Unless noted otherwise, code in hscloud is licensed under the BSD 0-clause license - see COPYING.