Clean up straight install
We were installing bootstrap.el, install.el and indent.el. The former two would have undesirable side effects if loaded, the latter shadows a built-in library.
This commit is contained in:
parent
68f5e44763
commit
9d34ae17a5
1 changed files with 8 additions and 0 deletions
|
|
@ -103,6 +103,14 @@
|
|||
meta = {
|
||||
description = "build straight with Git dependency added for Doom";
|
||||
};
|
||||
# Do not install files that shadow builtins and/or have undesirable side
|
||||
# effects if loaded.
|
||||
postUnpack = ''
|
||||
filteredSrc=$PWD/filteredSrc
|
||||
mkdir $filteredSrc
|
||||
cp $sourceRoot/straight*.el $filteredSrc
|
||||
sourceRoot=$filteredSrc
|
||||
'';
|
||||
nativeBuildInputs = [ git ];
|
||||
};
|
||||
# Nix uses a Melpa recipe that assumes the upstream CMake repo layout.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue