update inbox list
This commit is contained in:
24
vendor/scrivo/highlight.php/test/detect/nix/default.txt
vendored
Normal file
24
vendor/scrivo/highlight.php/test/detect/nix/default.txt
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, foo, bar ? false, ... }:
|
||||
|
||||
/*
|
||||
* foo
|
||||
*/
|
||||
|
||||
let
|
||||
a = 1; # just a comment
|
||||
b = null;
|
||||
c = toString 10;
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "foo-${version}";
|
||||
version = "1.3";
|
||||
|
||||
configureFlags = [ "--with-foo2" ] ++ stdenv.lib.optional bar "--with-foo=${ with stdenv.lib; foo }"
|
||||
|
||||
postInstall = ''
|
||||
${ if true then "--${test}" else false }
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://nixos.org;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user