Commit | Line | Data |
---|---|---|
6b8875c8 LC |
1 | -*- mode: org; coding: utf-8; -*- |
2 | ||
8c247e1c LC |
3 | #+TITLE: What's left to do? |
4 | #+STARTUP: content hidestars | |
5 | ||
c0b3c89f | 6 | Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org> |
6b8875c8 LC |
7 | |
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. | |
11 | ||
12 | * integrate needed Nix code | |
13 | ||
5d388c7c | 14 | ** MAYBE Add a substituter that uses the GNUnet DHT or [[http://libswift.org][libswift]] |
c7e4a72a | 15 | |
5d388c7c LC |
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. | |
19 | ||
20 | Use UPnP and similar to traverse NAT, like ‘filegive’ does. | |
c7e4a72a | 21 | |
c0b3c89f LC |
22 | ** Add a remote build hook |
23 | ||
24 | Like scripts/build-remote.pl in Nix. | |
25 | ||
d6b5e4bb LC |
26 | * Add `guix publish' to publish the store using Guile's web server |
27 | ||
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. | |
32 | ||
c7e4a72a LC |
33 | * user interface |
34 | ** Add a package.el (Emacs) back-end | |
35 | ||
3e5980de LC |
36 | package.el is quite monolithic, but we may be able to reuse/extend |
37 | ‘package-menu-mode’ or at least ‘tabulated-list-mode’. | |
38 | ||
39 | ** add guile-ncurses interface | |
c7e4a72a | 40 | |
6b8875c8 LC |
41 | * extend <package> |
42 | ||
499b8d1f LC |
43 | ** add ‘recommends’ field |
44 | ||
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. | |
48 | ||
6b8875c8 LC |
49 | ** add a ‘user-environment-hook’ |
50 | ||
51 | This should specify builder code to be run when building a user | |
52 | environment with ‘guix-package’. For instance, Texinfo’s hook would | |
53 | create a new ‘dir’. | |
54 | ||
3036a01f LC |
55 | ** extend ‘propagated-build-inputs’ with support for multiple outputs |
56 | ||
57 | #+BEGIN_SRC scheme | |
58 | (outputs '("out" "include")) | |
59 | (propagated-build-inputs | |
60 | `(((("i1" ,p1 "o1") | |
61 | ("i2" ,p2)) | |
62 | => "include") | |
63 | ("i3" ,p3))) | |
64 | #+END_SRC | |
65 | ||
971cb56d | 66 | * synchronize non-GNU package descriptions with the [[http://directory.fsf.org][FSD]] |
29767aae LC |
67 | |
68 | Meta-data for GNU packages, including descriptions and synopses, can be | |
69 | dumped from the FSD: | |
70 | http://directory.fsf.org/wiki?title=GNU/Export&action=purge . | |
71 | We could periodically synchronize with that. | |
72 | ||
c7e4a72a LC |
73 | * add a guildhall build system |
74 | ||
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 | |
77 | recipes. | |
78 | ||
6b8875c8 LC |
79 | * add ‘allowed-references’ in <package> |
80 | ||
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]]. | |
82 | ||
6b8875c8 LC |
83 | * union |
84 | ||
85 | Support sophisticated collision handling when building a union: check | |
86 | whether the colliding files are identical, honor per-package priorities, | |
87 | etc. | |
88 | ||
3dfd7cef LC |
89 | * add GUIX_ALLOW_EXPENSIVE_TESTS |
90 | ||
91 | Tests that need to download stuff or otherwise take a long time would only be | |
92 | run when that is defined. | |
93 | ||
290d4370 LC |
94 | * add "guix challenge" |
95 | ||
96 | Would download a substitute, and compare its contents against a (hopefully | |
97 | locally-built) copy. | |
98 | ||
6b8875c8 LC |
99 | |
100 | * guix build utils | |
29767aae LC |
101 | ** MAYBE Change ‘ld-wrapper’ to add RPATH for libs passed by file name |
102 | ||
8c247e1c | 103 | ** MAYBE Add equivalent to chrpath that uses [[https://gitorious.org/guile-dlhacks/guile-dlhacks/][guile-dlhacks]] |
6b8875c8 | 104 | |
29767aae | 105 | ** MAYBE Add a hash-rewriting thing for deep dependency replacement without rebuild |
c7e4a72a LC |
106 | |
107 | See [[https://github.com/NixOS/nixpkgs/commit/d1662d715514e6ef9d3dc29f132f1b3d8e608a18][Shea Levy's `replace-dependency' in Nixpkgs]]. | |
108 | ||
6b8875c8 | 109 | * distro |
6b8875c8 LC |
110 | ** port to new GNU/Linux platforms, notably ‘mipsel64-linux’ |
111 | ** port to GNU/Hurd, aka. ‘i686-gnu’ | |
112 | ||
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. | |
116 | ||
117 | ** make a bootable GNU/Linux-Libre distro, with OS configuration EDSL | |
118 | ||
119 | Similar in spirit to /etc/nixos/configuration.nix. |