No description
Find a file
2026-02-16 15:53:59 -08:00
.gitignore Create a from-source Nix package for oils-for-nix 2026-02-14 08:07:39 -08:00
default.nix Migrate to wedges 2026-02-16 12:28:25 -08:00
manifest Leverage deps.sh 2026-02-16 15:53:59 -08:00
package.nix Leverage deps.sh 2026-02-16 15:53:59 -08:00
README.md Migrate to wedges 2026-02-16 12:28:25 -08:00
wedge.nix Leverage deps.sh 2026-02-16 15:53:59 -08:00

oils-for-unix from source

nix-build .

Builds OSH and YSH shell interpreters from git source using upstream-style wedges.

Files

  • package.nix - Main oils-for-unix derivation
  • wedges.nix - Python 2.7.18, Python 3.10.4, and mypy 0.780 built from source
  • requirements.txt - Pinned pip dependencies for mypy

Why wedges?

The build uses Python 2 for legacy build scripts and mypy 0.780 (last version with --py2 support). Rather than depending on nixpkgs Python packages (which have compatibility issues), we build Python from official tarballs - mirroring oils' own build/deps.sh wedge system.

Python is only used at build time; final binaries are native C++.