mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
* Revert r19814 and r19815 because they break OpenBSD and FreeBSD in
the build farm. svn path=/nixpkgs/trunk/; revision=19860
This commit is contained in:
parent
b07c6f2aae
commit
1472ae7450
@ -34,6 +34,8 @@ rec {
|
||||
* gmake
|
||||
* gsed
|
||||
* gtar
|
||||
* gsed
|
||||
* gtar
|
||||
* gzip
|
||||
*
|
||||
* The aliases are derived by using the derivealiases-freebsd.sh script
|
||||
@ -177,77 +179,15 @@ rec {
|
||||
export NIX_GCC_NEEDS_GREP=1
|
||||
'';
|
||||
|
||||
/* OpenBSD needs the following packages installed from the OpenBSD packages
|
||||
* collection (pkg_add -r ...):
|
||||
*
|
||||
* bash
|
||||
* fileutils (there is no coreutils package)
|
||||
* gdiff
|
||||
* findutils
|
||||
* gawk
|
||||
* ggrep
|
||||
* gmake
|
||||
* gsed
|
||||
* gtar
|
||||
*
|
||||
* The aliases are derived by using the derivealiases-openbsd.sh script
|
||||
*
|
||||
* The following packages seem to be fine in the default install:
|
||||
*
|
||||
* gcc (included with OpenBSD)
|
||||
* binutils (OpenBSD uses GNU binutils)
|
||||
* bzip2 (included with openBSD)
|
||||
* patch (included with OpenBSD)
|
||||
* gzip (included with OpenBSD
|
||||
*
|
||||
* Moreover a symlink to /bin/bash is required and /bin/sh has to be a symlink to /bin/bash
|
||||
*/
|
||||
|
||||
prehookOpenBSD = builtins.toFile "prehook-openbsd.sh" ''
|
||||
source ${prehookBase}
|
||||
|
||||
alias chgrp='gchgrp'
|
||||
alias chmod='gchmod'
|
||||
alias chown='gchown'
|
||||
alias cp='gcp'
|
||||
alias dd='gdd'
|
||||
alias df='gdf'
|
||||
alias dir='gdir'
|
||||
alias dircolors='gdircolors'
|
||||
alias du='gdu'
|
||||
alias install='ginstall'
|
||||
alias ln='gln'
|
||||
alias ls='gls'
|
||||
alias mkdir='gmkdir'
|
||||
alias mkfifo='gmkfifo'
|
||||
alias mknod='gmknod'
|
||||
alias mv='gmv'
|
||||
alias rm='grm'
|
||||
alias rmdir='grmdir'
|
||||
alias shred='gshred'
|
||||
alias sync='gsync'
|
||||
alias touch='gtouch'
|
||||
alias vdir='gvdir'
|
||||
|
||||
alias find='gfind'
|
||||
alias locate='glocate'
|
||||
alias updatedb='gupdatedb'
|
||||
alias xargs='gxargs'
|
||||
|
||||
alias cmp='gcmp'
|
||||
alias diff='gdiff'
|
||||
alias diff3='gdiff3'
|
||||
alias sdiff='gsdiff'
|
||||
|
||||
alias egrep='gegrep'
|
||||
alias fgrep='gfgrep'
|
||||
alias grep='ggrep'
|
||||
|
||||
alias make='gmake'
|
||||
|
||||
alias sed='gsed'
|
||||
|
||||
alias tar='gtar'
|
||||
alias make=gmake
|
||||
alias grep=ggrep
|
||||
alias mv=gmv
|
||||
alias ln=gln
|
||||
alias sed=gsed
|
||||
alias tar=gtar
|
||||
|
||||
export MAKE=gmake
|
||||
shopt -s expand_aliases
|
||||
|
@ -1,58 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in `cat /var/db/pkg/fileutils-*/+CONTENTS | grep "bin/g"`
|
||||
do
|
||||
name=`basename $i`
|
||||
echo "alias ${name:1}='g${name:1}'"
|
||||
done
|
||||
|
||||
echo
|
||||
|
||||
for i in `cat /var/db/pkg/findutils-*/+CONTENTS | grep "bin/g"`
|
||||
do
|
||||
name=`basename $i`
|
||||
echo "alias ${name:1}='g${name:1}'"
|
||||
done
|
||||
|
||||
echo
|
||||
|
||||
for i in `cat /var/db/pkg/gdiff-*/+CONTENTS | grep "bin/g"`
|
||||
do
|
||||
name=`basename $i`
|
||||
echo "alias ${name:1}='g${name:1}'"
|
||||
done
|
||||
|
||||
echo
|
||||
|
||||
for i in `cat /var/db/pkg/ggrep-*/+CONTENTS | grep "bin/g"`
|
||||
do
|
||||
name=`basename $i`
|
||||
echo "alias ${name:1}='g${name:1}'"
|
||||
done
|
||||
|
||||
echo
|
||||
|
||||
for i in `cat /var/db/pkg/gmake-*/+CONTENTS | grep "bin/g"`
|
||||
do
|
||||
name=`basename $i`
|
||||
echo "alias ${name:1}='g${name:1}'"
|
||||
done
|
||||
|
||||
echo
|
||||
|
||||
for i in `cat /var/db/pkg/gsed-*/+CONTENTS | grep "bin/g"`
|
||||
do
|
||||
name=`basename $i`
|
||||
echo "alias ${name:1}='g${name:1}'"
|
||||
done
|
||||
|
||||
echo
|
||||
|
||||
for i in `cat /var/db/pkg/gtar-*/+CONTENTS | grep "bin/g"`
|
||||
do
|
||||
name=`basename $i`
|
||||
echo "alias ${name:1}='g${name:1}'"
|
||||
done
|
||||
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user