1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-03 14:37:46 +00:00

Compare commits

..

No commits in common. "fae392d3af56c0d281fc9d631d572eeee9280745" and "14f5ba53455f5b8f211cca8687faeefaa03e4b4f" have entirely different histories.

3 changed files with 14 additions and 26 deletions

View file

@ -114,8 +114,7 @@ the `--packages/-p` argument for `nix-shell`
`nix-shell -p` creates a shell using the nixpkgs stdenv (and thus depends on `nix-shell -p` creates a shell using the nixpkgs stdenv (and thus depends on
nixpkgs) by calling `pkgs.mkShell`, which includes all packages in the nixpkgs nixpkgs) by calling `pkgs.mkShell`, which includes all packages in the nixpkgs
stdenv plus the ones you specified. It also places you in a Bash shell, and is stdenv plus the ones you specified.
integrated with Bash only.
`nix shell` only appends the packages you passed in to the `PATH` environment `nix shell` only appends the packages you passed in to the `PATH` environment
variable. It is much lighter, as a natural result of not using nixpkgs or its variable. It is much lighter, as a natural result of not using nixpkgs or its
@ -123,10 +122,6 @@ stdenv. It also doesn't have as much of a questionable implementation, as it is
in C++ and in Nix natively instead of being a Perl script that uses string in C++ and in Nix natively instead of being a Perl script that uses string
interpolation to produce Nix expressions. interpolation to produce Nix expressions.
However, `nix shell` does NOT replace `nix-shell`, the `nix-shell` replacement
is `nix develop`, which does not expose a `--packages` option or assume anything
about the way you are creating the devshell passed into it. It also uses flakes.
## hydra is 17 000 lines of perl ## hydra is 17 000 lines of perl
[Hydra](http://github.com/NixOS/hydra), the Nix-based continuous build system is [Hydra](http://github.com/NixOS/hydra), the Nix-based continuous build system is
@ -895,7 +890,7 @@ in [ a foo ]
However, this behaviour might get removed in the future. But currently, in the However, this behaviour might get removed in the future. But currently, in the
Nix version that I am using which is `2.28.3`, it prints this warning instead: Nix version that I am using which is `2.28.3`, it prints this warning instead:
``` ```text
warning: at «string»:4:6: This expression uses `or` as an identifier in a way that will change in a future Nix release. warning: at «string»:4:6: This expression uses `or` as an identifier in a way that will change in a future Nix release.
Wrap this entire expression in parentheses to preserve its current meaning: Wrap this entire expression in parentheses to preserve its current meaning:
(a or) (a or)
@ -932,18 +927,13 @@ sandbox.
[Cloudscale hydra](https://web.archive.org/web/20220624223053/https://cloudscalehydra.com/) [Cloudscale hydra](https://web.archive.org/web/20220624223053/https://cloudscalehydra.com/)
was was
Graham[^![Graham "Determinate" Christensen](/assets/images/graham-sickos-resized.webp)] Graham[^![Graham "Determinate" Christensen](/assets/images/graham-sickos-resized.webp)]
Christensen's previous venture. Christensen's previous failed project.
It wasn't exactly a "failed" project, the reason it did not make it far was
because Graham, in his infinite wisdom, realized that it wasn't particularly
smart trying to manage 17kloc of Perl for a thousand or more users (yes, he did
get >1000 pre-registrations!).
He then went on to create [FlakeHub](https://flakehub.com/), which could be said He then went on to create [FlakeHub](https://flakehub.com/), which could be said
is the successor to the ideals of Cloudscale Hydra. is the successor to Cloudscale Hydra.
It however is quite curious that the following links are the only non-automated It is curious that the following links are the only non-automated mentions of
mentions of the project on the open internet: the project on the open internet:
- [Meeting about nixpkgs `cudaPackages` from February 13th, 2025.](https://pad.lassul.us/p/KXm3h1AS-?print-pdf#/) - [Meeting about nixpkgs `cudaPackages` from February 13th, 2025.](https://pad.lassul.us/p/KXm3h1AS-?print-pdf#/)
([archive](https://archive.is/fbNMP)) (Search for `cloud-scale hydra`) ([archive](https://archive.is/fbNMP)) (Search for `cloud-scale hydra`)
@ -957,8 +947,6 @@ mentions of the project on the open internet:
If you can't find the mentions in these pages, check the archives out. If you can't find the mentions in these pages, check the archives out.
Here is a screenshot of the Cloudscale Hydra landing page:
![Cloudscale Hydra landing page sketch](/assets/images/cloudscale-hydra.webp) ![Cloudscale Hydra landing page sketch](/assets/images/cloudscale-hydra.webp)
## `(_:_) != (_:_)` but `(a:a) == (a:a)` ## `(_:_) != (_:_)` but `(a:a) == (a:a)`

View file

@ -22,7 +22,7 @@ on, `hwmon4` under this directory corresponds to the CPU.
Let's run a `tree`: Let's run a `tree`:
``` ```text
/sys/class/hwmon/hwmon4 -> ../../devices/platform/coretemp.0/hwmon/hwmon4 /sys/class/hwmon/hwmon4 -> ../../devices/platform/coretemp.0/hwmon/hwmon4
├── device -> ../../../coretemp.0 ├── device -> ../../../coretemp.0
│ ├── driver_override │ ├── driver_override
@ -169,7 +169,7 @@ Let's run a `tree`:
Let's `cat` all the `_label` files: Let's `cat` all the `_label` files:
``` ```text
/sys/class/hwmon/hwmon4/temp1_label: /sys/class/hwmon/hwmon4/temp1_label:
Package id 0 Package id 0
/sys/class/hwmon/hwmon4/temp2_label: /sys/class/hwmon/hwmon4/temp2_label: