Add Disco
This commit is contained in:
parent
96dbda3ea2
commit
94859a92a3
6 changed files with 253 additions and 0 deletions
10
packages/alias.nix
Normal file
10
packages/alias.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ stdenv, inputPackage, inputName, outputName }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = outputName;
|
||||
version = "1.0";
|
||||
phases = [ "installPhase" ];
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
ln -s ${inputPackage}/bin/${inputName} $out/bin/${outputName}
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue