1 -*- mode: org; coding: utf-8; -*-
3 #+TITLE: What's left to do?
4 #+STARTUP: content hidestars
6 Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
8 Copying and distribution of this file, with or without modification,
9 are permitted in any medium without royalty provided the copyright
10 notice and this notice are preserved.
12 * integrate needed Nix code
14 ** MAYBE Add a substituter that uses the GNUnet DHT or [[http://libswift.org][libswift]]
16 Would be neat if binaries could be pushed to and pulled from the GNUnet DHT or
17 rather libswift (since DHTs aren’t suited for large payloads). Guix users
18 would sign their binaries, and define which binaries they trust.
20 Use UPnP and similar to traverse NAT, like ‘filegive’ does.
22 ** Add a remote build hook
24 Like scripts/build-remote.pl in Nix.
26 * Add `guix publish' to publish the store using Guile's web server
28 Generate narinfos and nars on the fly, upon HTTP GET requests.
29 Ideally, extend .nix-cache-info to include the server's public key, and also
30 reply to requests for .narinfo.sig.
31 Optionally, use Guile-Avahi to publish the service.
34 ** Add a package.el (Emacs) back-end
36 package.el is quite monolithic, but we may be able to reuse/extend
37 ‘package-menu-mode’ or at least ‘tabulated-list-mode’.
39 ** add guile-ncurses interface
43 ** add ‘recommends’ field
45 For instance, glibc, binutils, gcc, and ld-wrapper would recommend each other.
46 ‘guix package -i’ could ask interactively (?), or allow users to follow all or
47 none of the recommendations.
49 ** add a ‘user-environment-hook’
51 This should specify builder code to be run when building a user
52 environment with ‘guix-package’. For instance, Texinfo’s hook would
55 ** extend ‘propagated-build-inputs’ with support for multiple outputs
58 (outputs '("out" "include"))
59 (propagated-build-inputs
66 * synchronize non-GNU package descriptions with the [[http://directory.fsf.org][FSD]]
68 Meta-data for GNU packages, including descriptions and synopses, can be
70 http://directory.fsf.org/wiki?title=GNU/Export&action=purge .
71 We could periodically synchronize with that.
73 * add a guildhall build system
75 The Guildhall is Guile’s packaging system. It should be easy to add a
76 ‘guildhall-build-system’ that does the right thing based on guildhall
79 * add ‘allowed-references’ in <package>
81 [[file:~/src/nix/src/libstore/build.cc::if%20(drv.env.find("allowedReferences")%20!%3D%20drv.env.end())%20{][See how Nix implements that internally]].
85 Support sophisticated collision handling when building a union: check
86 whether the colliding files are identical, honor per-package priorities,
89 * add GUIX_ALLOW_EXPENSIVE_TESTS
91 Tests that need to download stuff or otherwise take a long time would only be
92 run when that is defined.
94 * add "guix challenge"
96 Would download a substitute, and compare its contents against a (hopefully
101 ** MAYBE Change ‘ld-wrapper’ to add RPATH for libs passed by file name
103 ** MAYBE Add equivalent to chrpath that uses [[https://gitorious.org/guile-dlhacks/guile-dlhacks/][guile-dlhacks]]
105 ** MAYBE Add a hash-rewriting thing for deep dependency replacement without rebuild
107 See [[https://github.com/NixOS/nixpkgs/commit/d1662d715514e6ef9d3dc29f132f1b3d8e608a18][Shea Levy's `replace-dependency' in Nixpkgs]].
110 ** port to new GNU/Linux platforms, notably ‘mipsel64-linux’
111 ** port to GNU/Hurd, aka. ‘i686-gnu’
113 Problems include that current glibc releases do not build on GNU/Hurd.
114 In addition, there haven’t been stable releases of GNU Mach, MiG, and
115 Hurd, which would be a pre-condition.
117 ** make a bootable GNU/Linux-Libre distro, with OS configuration EDSL
119 Similar in spirit to /etc/nixos/configuration.nix.