I am on Amethyst with Nostr identity public key npub1htg80n8jcae445d7la59k76d84hgml0rqmn0fsj3wkn7t33kkd4q8vct0l
Basically https://wiki.nixos.org/wiki/CCache
But I have no root perms on a nixos remote builder machine I have been given access to.
This allows ccache setup without having the perms, as /tmp/ccache with 777 perms can bypass that.
Also ccache stats require nixbld user permissions as /tmp/ccache entries are owned by that group while the build is running.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { attr | |
| }: | |
| # Scaffold to build just one package with modified stdenv scripts. | |
| # | |
| # Dependencies come unmodified from <nixpkgs>, including the stdenv's | |
| # toolchain. This is useful for (a) iterating quickly on changes to | |
| # stdenv scripts (like setup.sh), and (b) more easily comparing the | |
| # build log against a baseline, by keeping inputs' paths the same so | |
| # that any changes caused by changes in the scripts' behavior stand out. |
This document contains some ideas for additions to the Nix language.
The Nix package manager, Nixpkgs and NixOS currently have several problems:
- Poor discoverability of package options. Package functions have
function arguments like
enableFoo, but there is no way for the Nix UI to discover them, let alone to provide programmatic ways to
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "log" | |
| "net/http" | |
| "net/url" | |
| ) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- It relies on free plan of cloudflare tunnels. You can ofcourse adapt it to use ngrok, frp etc.
- It depends on nix, because nix is simply the best option to install software on linux.
- Not any better than xterm, and because it opens in a new tab, might even kill the colab
So overall use at your own risk.
- I grant you the license: 0BSD (BSD zero clause license https://spdx.org/licenses/0BSD.html)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # MIT License, see below | |
| # | |
| # These are some helpers for figuring out the derivations attributes of runtime | |
| # dependencies of a derivation, in particular the function `runtimeReport`. At | |
| # the bottom of the file you can see it used on `hello`. Spoiler: glibc is a | |
| # runtime dependency. | |
| # For more info see | |
| # | |
| # https://nmattia.com/posts/2019-10-08-runtime-dependencies.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| minimod: A stripped down module system | |
| TODO Comparison: | |
| - [ ] Come up with a benchmark "logic" using plain old functions and let bindings | |
| - [ ] Write the benchmark for the module system | |
| - [ ] Write the benchmark for POP? | |
| - [ ] Qualitative comparison of extensibility in the context of composable | |
| Nixpkgs packaging logic | |
| TODO Fine-tuning: |
NewerOlder
