Skip to content

Instantly share code, notes, and snippets.

View timokau's full-sized avatar
😉

Timo Kaufmann timokau

😉
View GitHub Profile
@timokau
timokau / nix-lang.md
Created June 18, 2020 21:27 — forked from edolstra/nix-lang.md
Nix language changes

This document contains some ideas for additions to the Nix language.

Motivation

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
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/bjbmh4ccvql375ijy78s2cla256nzj4m-singular-4.1.0p3.tar.gz
source root is singular-4.1.0
patching script interpreter paths in .
./singular-4.1.0/emacs/cmpl.pl: interpreter directive changed from "/usr/local/bin/perl" to "/nix/store/9wd0qq24kqkn0jrz1kzh293k5p869im9-perl-5.24.4/bin/perl"
./singular-4.1.0/emacs/ESingular.emacs21: interpreter directive changed from "/bin/sh" to "/nix/store/dkh7l9a4sx7zqh8riqbj3z21sz25p8xy-bash-4.4-p23/bin/sh"
./singular-4.1.0/autogen.sh: interpreter directive changed from " /bin/sh" to "/nix/store/dkh7l9a4sx7zqh8riqbj3z21sz25p8xy-bash-4.4-p23/bin/sh"
./singular-4.1.0/omalloc/configure: interpreter directive changed from " /bin/sh" to "/nix/store/dkh7l9a4sx7zqh8riqbj3z21sz25p8xy-bash-4.4-p23/bin/sh"
./singular-4.1.0/resources/configure: interpreter directive changed from " /bin/sh" to "/nix/store/dkh7l9a4sx7zqh8riqbj3z21sz25p8xy-bash-4.4-p23/bin/sh"
@timokau
timokau / keybase.md
Last active February 23, 2018 16:33

Keybase proof

I hereby claim:

  • I am timokau on github.
  • I am timok (https://keybase.io/timok) on keybase.
  • I have a public key ASCu--akiRAlFF2FM2f9baXJf1JaGPKZJJG1oqFE3Qk_5Ao

To claim this, I am signing this object: