diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-31T12·45+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-31T13·20+0000 |
commit | edea127e07fddf9f25e53323d098c0b9168cb3d2 (patch) | |
tree | 2fb06af9dda4b60f9a70c146f13a0b56ddcd87df /emacs/Makefile | |
parent | 039b260cacd1880044b0f9fe8a1b0729ee4ebb06 (diff) |
Support building wpcarros-emacs
I'm using a Makefile until I can remember the command: ```shell > nix-env -f . -i ``` This will install (i.e. `-i`) any derivations instantiated from the Nix expression resolvable by `-f`. Ideally the incantation will look something like this: ```shell > nix-env -f '<universe>' -iA emacs ``` Informing `nix-env` to install all of the derivations created by the expression at attribute `emacs` in my `<universe>` repository. For now two things are preventing this: 1. `emacs` isn't an attribute in my top-level expression defined in the `default.nix`. 2. If I do add `emacs` as an attribute and call the above command, my usage of `readTree` results in `pkgs` missing `.lib` and a few other stdlib commands that are available in `(import <nixpkgs> {})`. A fix for both of these should be forthcoming.
Diffstat (limited to 'emacs/Makefile')
-rw-r--r-- | emacs/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/Makefile b/emacs/Makefile new file mode 100644 index 000000000000..adaf8a61a132 --- /dev/null +++ b/emacs/Makefile @@ -0,0 +1,5 @@ +install: + # TODO: I'd rather support `nix-env -f '<universe>' -iA emacs`, but at the + # moment this fails. I think it's failing because of the way I'm using + # readTree. I will need to investigate this further. + nix-env -f . -i |