mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
sbcl: remove obsolete dependency on which
This commit is contained in:
parent
da29db5d41
commit
540db34fff
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, sbclBootstrap, sbclBootstrapHost ? "${sbclBootstrap}/bin/sbcl --disable-debugger --no-userinit --no-sysinit", which }:
|
||||
{ stdenv, fetchurl, sbclBootstrap, sbclBootstrapHost ? "${sbclBootstrap}/bin/sbcl --disable-debugger --no-userinit --no-sysinit" }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sbcl-${version}";
|
||||
@ -9,8 +9,6 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1cwrmvbx8m7n7wkcm16yz7qwx221giz7jskzkvy42pj919may36n";
|
||||
};
|
||||
|
||||
buildInputs = [ which ];
|
||||
|
||||
patchPhase = ''
|
||||
echo '"${version}.nixos"' > version.lisp-expr
|
||||
echo "
|
||||
@ -40,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
'/date defaulted-source/i(or (and (= 2208988801 (file-write-date defaulted-source-truename)) (= 2208988801 (file-write-date defaulted-fasl-truename)))'
|
||||
|
||||
# Fix software version retrieval
|
||||
sed -e "s@/bin/uname@$(which uname)@g" -i src/code/*-os.lisp
|
||||
sed -e "s@/bin/uname@$(command -v uname)@g" -i src/code/*-os.lisp
|
||||
|
||||
# Fix the tests
|
||||
sed -e '/deftest pwent/inil' -i contrib/sb-posix/posix-tests.lisp
|
||||
|
Loading…
Reference in New Issue
Block a user