mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Move lowdown.nix
to misc/
This commit is contained in:
parent
19573f1b05
commit
f10f0f1b50
2 changed files with 1 additions and 1 deletions
22
misc/lowdown.nix
Normal file
22
misc/lowdown.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, which
|
||||
, lowdown-src
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lowdown-0.9.0";
|
||||
|
||||
src = lowdown-src;
|
||||
|
||||
outputs = [ "out" "bin" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ which ];
|
||||
|
||||
configurePhase = ''
|
||||
${lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "echo \"HAVE_SANDBOX_INIT=false\" > configure.local"}
|
||||
./configure \
|
||||
PREFIX=${placeholder "dev"} \
|
||||
BINDIR=${placeholder "bin"}/bin
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue