guix-manual.sk.po 2.0 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991529925299352994529955299652997529985299953000530015300253003530045300553006530075300853009530105301153012530135301453015530165301753018530195302053021530225302353024530255302653027530285302953030530315303253033530345303553036530375303853039530405304153042530435304453045530465304753048530495305053051530525305353054530555305653057530585305953060530615306253063530645306553066530675306853069530705307153072530735307453075530765307753078530795308053081530825308353084530855308653087530885308953090530915309253093530945309553096530975309853099531005310153102531035310453105531065310753108531095311053111531125311353114531155311653117531185311953120531215312253123531245312553126531275312853129531305313153132531335313453135531365313753138531395314053141531425314353144531455314653147531485314953150531515315253153531545315553156531575315853159531605316153162531635316453165531665316753168531695317053171531725317353174531755317653177531785317953180531815318253183531845318553186531875318853189531905319153192531935319453195531965319753198531995320053201532025320353204532055320653207532085320953210532115321253213532145321553216532175321853219532205322153222532235322453225532265322753228532295323053231532325323353234532355323653237532385323953240532415324253243532445324553246532475324853249532505325153252532535325453255532565325753258532595326053261532625326353264532655326653267532685326953270532715327253273532745327553276532775327853279532805328153282532835328453285532865328753288532895329053291532925329353294532955329653297532985329953300533015330253303533045330553306533075330853309533105331153312533135331453315533165331753318533195332053321533225332353324533255332653327533285332953330533315333253333533345333553336533375333853339533405334153342533435334453345533465334753348533495335053351533525335353354533555335653357533585335953360533615336253363533645336553366533675336853369533705337153372533735337453375533765337753378533795338053381533825338353384533855338653387533885338953390533915339253393533945339553396533975339853399534005340153402534035340453405534065340753408534095341053411534125341353414534155341653417534185341953420534215342253423534245342553426534275342853429534305343153432534335343453435534365343753438534395344053441534425344353444534455344653447534485344953450534515345253453534545345553456534575345853459534605346153462534635346453465534665346753468534695347053471534725347353474534755347653477534785347953480534815348253483534845348553486534875348853489534905349153492534935349453495534965349753498534995350053501535025350353504535055350653507535085350953510535115351253513535145351553516535175351853519535205352153522535235352453525535265352753528535295353053531535325353353534535355353653537535385353953540535415354253543535445354553546535475354853549535505355153552535535355453555535565355753558535595356053561535625356353564535655356653567535685356953570535715357253573535745357553576535775357853579535805358153582535835358453585535865358753588535895359053591535925359353594535955359653597535985359953600536015360253603536045360553606536075360853609536105361153612536135361453615536165361753618536195362053621536225362353624536255362653627536285362953630536315363253633536345363553636536375363853639536405364153642536435364453645536465364753648536495365053651536525365353654536555365653657536585365953660536615366253663536645366553666536675366853669536705367153672536735367453675536765367753678536795368053681536825368353684536855368653687536885368953690536915369253693536945369553696536975369853699537005370153702537035370453705537065370753708537095371053711537125371353714537155371653717537185371953720537215372253723537245372553726537275372853729537305373153732537335373453735537365373753738537395374053741537425374353744537455374653747537485374953750537515375253753537545375553756537575375853759537605376153762537635376453765537665376753768537695377053771537725377353774537755377653777537785377953780537815378253783537845378553786537875378853789537905379153792537935379453795537965379753798537995380053801538025380353804538055380653807538085380953810538115381253813538145381553816538175381853819538205382153822538235382453825538265382753828538295383053831538325383353834538355383653837538385383953840538415384253843538445384553846538475384853849538505385153852538535385453855538565385753858538595386053861538625386353864538655386653867538685386953870538715387253873538745387553876538775387853879538805388153882538835388453885538865388753888538895389053891538925389353894538955389653897538985389953900539015390253903539045390553906539075390853909539105391153912539135391453915539165391753918539195392053921539225392353924539255392653927539285392953930539315393253933539345393553936539375393853939539405394153942539435394453945539465394753948539495395053951539525395353954539555395653957539585395953960539615396253963539645396553966539675396853969539705397153972539735397453975539765397753978539795398053981539825398353984539855398653987539885398953990539915399253993539945399553996539975399853999540005400154002540035400454005540065400754008540095401054011540125401354014540155401654017540185401954020540215402254023540245402554026540275402854029540305403154032540335403454035540365403754038540395404054041540425404354044540455404654047540485404954050540515405254053540545405554056540575405854059540605406154062540635406454065540665406754068540695407054071540725407354074540755407654077540785407954080540815408254083540845408554086540875408854089540905409154092540935409454095540965409754098540995410054101541025410354104541055410654107541085410954110541115411254113541145411554116541175411854119541205412154122541235412454125541265412754128541295413054131541325413354134541355413654137541385413954140541415414254143541445414554146541475414854149541505415154152541535415454155541565415754158541595416054161541625416354164541655416654167541685416954170541715417254173541745417554176541775417854179541805418154182541835418454185541865418754188541895419054191541925419354194541955419654197541985419954200542015420254203542045420554206542075420854209542105421154212542135421454215542165421754218542195422054221542225422354224542255422654227542285422954230542315423254233542345423554236542375423854239542405424154242542435424454245542465424754248542495425054251542525425354254542555425654257542585425954260542615426254263542645426554266542675426854269542705427154272542735427454275542765427754278542795428054281542825428354284542855428654287542885428954290542915429254293542945429554296542975429854299543005430154302543035430454305543065430754308543095431054311543125431354314543155431654317543185431954320543215432254323543245432554326543275432854329543305433154332543335433454335543365433754338543395434054341543425434354344543455434654347543485434954350543515435254353543545435554356543575435854359543605436154362543635436454365543665436754368543695437054371543725437354374543755437654377543785437954380543815438254383543845438554386543875438854389543905439154392543935439454395543965439754398543995440054401544025440354404544055440654407544085440954410544115441254413544145441554416544175441854419544205442154422544235442454425544265442754428544295443054431544325443354434544355443654437544385443954440544415444254443544445444554446544475444854449544505445154452544535445454455544565445754458544595446054461544625446354464544655446654467544685446954470544715447254473544745447554476544775447854479544805448154482544835448454485544865448754488544895449054491544925449354494544955449654497544985449954500545015450254503545045450554506545075450854509545105451154512545135451454515545165451754518545195452054521545225452354524545255452654527545285452954530545315453254533545345453554536545375453854539545405454154542545435454454545545465454754548545495455054551545525455354554545555455654557545585455954560545615456254563545645456554566545675456854569545705457154572545735457454575545765457754578545795458054581545825458354584545855458654587545885458954590545915459254593545945459554596545975459854599546005460154602546035460454605546065460754608546095461054611546125461354614546155461654617546185461954620546215462254623546245462554626546275462854629546305463154632546335463454635546365463754638546395464054641546425464354644546455464654647546485464954650546515465254653546545465554656546575465854659546605466154662546635466454665546665466754668546695467054671546725467354674546755467654677546785467954680546815468254683546845468554686546875468854689546905469154692546935469454695546965469754698546995470054701547025470354704547055470654707547085470954710547115471254713547145471554716547175471854719547205472154722547235472454725547265472754728547295473054731547325473354734547355473654737547385473954740547415474254743547445474554746547475474854749547505475154752547535475454755547565475754758547595476054761547625476354764547655476654767547685476954770547715477254773547745477554776547775477854779547805478154782547835478454785547865478754788547895479054791547925479354794547955479654797547985479954800548015480254803548045480554806548075480854809548105481154812548135481454815548165481754818548195482054821548225482354824548255482654827548285482954830548315483254833548345483554836548375483854839548405484154842548435484454845548465484754848548495485054851548525485354854548555485654857548585485954860548615486254863548645486554866548675486854869548705487154872548735487454875548765487754878548795488054881548825488354884548855488654887548885488954890548915489254893548945489554896548975489854899549005490154902549035490454905549065490754908549095491054911549125491354914549155491654917549185491954920549215492254923549245492554926549275492854929549305493154932549335493454935549365493754938549395494054941549425494354944549455494654947549485494954950549515495254953549545495554956549575495854959549605496154962549635496454965549665496754968549695497054971549725497354974549755497654977549785497954980549815498254983549845498554986549875498854989549905499154992549935499454995549965499754998549995500055001550025500355004550055500655007550085500955010550115501255013550145501555016550175501855019550205502155022550235502455025550265502755028550295503055031550325503355034550355503655037550385503955040550415504255043550445504555046550475504855049550505505155052550535505455055550565505755058550595506055061550625506355064550655506655067550685506955070550715507255073550745507555076550775507855079550805508155082550835508455085550865508755088550895509055091550925509355094550955509655097550985509955100551015510255103551045510555106551075510855109551105511155112551135511455115551165511755118551195512055121551225512355124551255512655127551285512955130551315513255133551345513555136551375513855139551405514155142551435514455145551465514755148551495515055151551525515355154551555515655157551585515955160551615516255163551645516555166551675516855169551705517155172551735517455175551765517755178551795518055181551825518355184551855518655187551885518955190551915519255193551945519555196551975519855199552005520155202552035520455205552065520755208552095521055211552125521355214552155521655217552185521955220552215522255223552245522555226552275522855229552305523155232552335523455235552365523755238552395524055241552425524355244552455524655247552485524955250552515525255253552545525555256552575525855259552605526155262552635526455265552665526755268552695527055271552725527355274552755527655277552785527955280552815528255283552845528555286552875528855289552905529155292552935529455295552965529755298552995530055301553025530355304553055530655307553085530955310553115531255313553145531555316553175531855319553205532155322553235532455325553265532755328553295533055331553325533355334553355533655337553385533955340553415534255343553445534555346553475534855349553505535155352553535535455355553565535755358553595536055361553625536355364553655536655367553685536955370553715537255373553745537555376553775537855379553805538155382553835538455385553865538755388553895539055391553925539355394553955539655397553985539955400554015540255403554045540555406554075540855409554105541155412554135541455415554165541755418554195542055421554225542355424554255542655427554285542955430554315543255433554345543555436554375543855439554405544155442554435544455445554465544755448554495545055451554525545355454554555545655457554585545955460554615546255463554645546555466554675546855469554705547155472554735547455475554765547755478554795548055481554825548355484554855548655487554885548955490554915549255493554945549555496554975549855499555005550155502555035550455505555065550755508555095551055511555125551355514555155551655517555185551955520555215552255523555245552555526555275552855529555305553155532555335553455535555365553755538555395554055541555425554355544555455554655547555485554955550555515555255553555545555555556555575555855559555605556155562555635556455565555665556755568555695557055571555725557355574555755557655577555785557955580555815558255583555845558555586555875558855589555905559155592555935559455595555965559755598555995560055601556025560355604556055560655607556085560955610556115561255613556145561555616556175561855619556205562155622556235562455625556265562755628556295563055631556325563355634556355563655637556385563955640556415564255643556445564555646556475564855649556505565155652556535565455655556565565755658556595566055661556625566355664556655566655667556685566955670556715567255673556745567555676556775567855679556805568155682556835568455685556865568755688556895569055691556925569355694556955569655697556985569955700557015570255703557045570555706557075570855709557105571155712557135571455715557165571755718557195572055721557225572355724557255572655727557285572955730557315573255733557345573555736557375573855739557405574155742557435574455745557465574755748557495575055751557525575355754557555575655757557585575955760557615576255763557645576555766557675576855769557705577155772557735577455775557765577755778557795578055781557825578355784557855578655787557885578955790557915579255793557945579555796557975579855799558005580155802558035580455805558065580755808558095581055811558125581355814558155581655817558185581955820558215582255823558245582555826558275582855829558305583155832558335583455835558365583755838558395584055841558425584355844558455584655847558485584955850558515585255853558545585555856558575585855859558605586155862558635586455865558665586755868558695587055871558725587355874558755587655877558785587955880558815588255883558845588555886558875588855889558905589155892558935589455895558965589755898558995590055901559025590355904559055590655907559085590955910559115591255913559145591555916559175591855919559205592155922559235592455925559265592755928559295593055931559325593355934559355593655937559385593955940559415594255943559445594555946559475594855949559505595155952559535595455955559565595755958559595596055961559625596355964559655596655967559685596955970559715597255973559745597555976559775597855979559805598155982559835598455985559865598755988559895599055991559925599355994559955599655997559985599956000560015600256003560045600556006560075600856009560105601156012560135601456015560165601756018560195602056021560225602356024560255602656027560285602956030560315603256033560345603556036560375603856039560405604156042560435604456045560465604756048560495605056051560525605356054560555605656057560585605956060560615606256063560645606556066560675606856069560705607156072560735607456075560765607756078560795608056081560825608356084560855608656087560885608956090560915609256093560945609556096560975609856099561005610156102561035610456105561065610756108561095611056111561125611356114561155611656117561185611956120561215612256123561245612556126561275612856129561305613156132561335613456135561365613756138561395614056141561425614356144561455614656147561485614956150561515615256153561545615556156561575615856159561605616156162561635616456165561665616756168561695617056171561725617356174561755617656177561785617956180561815618256183561845618556186561875618856189561905619156192561935619456195561965619756198561995620056201562025620356204562055620656207562085620956210562115621256213562145621556216562175621856219562205622156222562235622456225562265622756228562295623056231562325623356234562355623656237562385623956240562415624256243562445624556246562475624856249562505625156252562535625456255562565625756258562595626056261562625626356264562655626656267562685626956270562715627256273562745627556276562775627856279562805628156282562835628456285562865628756288562895629056291562925629356294562955629656297562985629956300563015630256303563045630556306563075630856309563105631156312563135631456315563165631756318563195632056321563225632356324563255632656327563285632956330563315633256333563345633556336563375633856339563405634156342563435634456345563465634756348563495635056351563525635356354563555635656357563585635956360563615636256363563645636556366563675636856369563705637156372563735637456375563765637756378563795638056381563825638356384563855638656387563885638956390563915639256393563945639556396563975639856399564005640156402564035640456405564065640756408564095641056411564125641356414564155641656417564185641956420564215642256423564245642556426564275642856429564305643156432564335643456435564365643756438564395644056441564425644356444564455644656447564485644956450564515645256453564545645556456564575645856459564605646156462564635646456465564665646756468564695647056471564725647356474564755647656477564785647956480564815648256483564845648556486564875648856489564905649156492564935649456495564965649756498564995650056501565025650356504565055650656507565085650956510565115651256513565145651556516565175651856519565205652156522565235652456525565265652756528565295653056531565325653356534565355653656537565385653956540565415654256543565445654556546565475654856549565505655156552565535655456555565565655756558565595656056561565625656356564565655656656567565685656956570565715657256573565745657556576565775657856579565805658156582565835658456585565865658756588565895659056591565925659356594565955659656597565985659956600566015660256603566045660556606566075660856609566105661156612566135661456615566165661756618566195662056621566225662356624566255662656627566285662956630566315663256633566345663556636566375663856639566405664156642566435664456645566465664756648566495665056651566525665356654566555665656657566585665956660566615666256663566645666556666566675666856669566705667156672566735667456675566765667756678566795668056681566825668356684566855668656687566885668956690566915669256693566945669556696566975669856699567005670156702567035670456705567065670756708567095671056711567125671356714567155671656717567185671956720567215672256723567245672556726567275672856729567305673156732567335673456735567365673756738567395674056741567425674356744567455674656747567485674956750567515675256753567545675556756567575675856759567605676156762567635676456765567665676756768567695677056771567725677356774567755677656777567785677956780567815678256783567845678556786567875678856789567905679156792567935679456795567965679756798567995680056801568025680356804568055680656807568085680956810568115681256813568145681556816568175681856819568205682156822568235682456825568265682756828568295683056831568325683356834568355683656837568385683956840568415684256843568445684556846568475684856849568505685156852568535685456855568565685756858568595686056861568625686356864568655686656867568685686956870568715687256873568745687556876568775687856879568805688156882568835688456885568865688756888568895689056891568925689356894568955689656897568985689956900569015690256903569045690556906569075690856909569105691156912569135691456915569165691756918569195692056921569225692356924569255692656927569285692956930569315693256933569345693556936569375693856939569405694156942569435694456945569465694756948569495695056951569525695356954569555695656957569585695956960569615696256963569645696556966569675696856969569705697156972569735697456975569765697756978569795698056981569825698356984569855698656987569885698956990569915699256993569945699556996569975699856999570005700157002570035700457005570065700757008570095701057011570125701357014570155701657017570185701957020570215702257023570245702557026570275702857029570305703157032570335703457035570365703757038570395704057041570425704357044570455704657047570485704957050570515705257053570545705557056570575705857059570605706157062570635706457065570665706757068570695707057071570725707357074570755707657077570785707957080570815708257083570845708557086570875708857089570905709157092570935709457095570965709757098570995710057101571025710357104571055710657107571085710957110571115711257113571145711557116571175711857119571205712157122571235712457125571265712757128571295713057131571325713357134571355713657137571385713957140571415714257143571445714557146571475714857149571505715157152571535715457155571565715757158571595716057161571625716357164571655716657167571685716957170571715717257173571745717557176571775717857179571805718157182571835718457185571865718757188571895719057191571925719357194571955719657197571985719957200572015720257203572045720557206572075720857209572105721157212572135721457215572165721757218572195722057221572225722357224572255722657227572285722957230572315723257233572345723557236572375723857239572405724157242572435724457245572465724757248572495725057251572525725357254572555725657257572585725957260572615726257263572645726557266572675726857269572705727157272572735727457275572765727757278572795728057281572825728357284572855728657287572885728957290572915729257293572945729557296572975729857299573005730157302573035730457305573065730757308573095731057311573125731357314573155731657317573185731957320573215732257323573245732557326573275732857329573305733157332573335733457335573365733757338573395734057341573425734357344573455734657347573485734957350573515735257353573545735557356573575735857359573605736157362573635736457365573665736757368573695737057371573725737357374573755737657377573785737957380573815738257383573845738557386573875738857389573905739157392573935739457395573965739757398573995740057401574025740357404574055740657407574085740957410574115741257413574145741557416574175741857419574205742157422574235742457425574265742757428574295743057431574325743357434574355743657437574385743957440574415744257443574445744557446574475744857449574505745157452574535745457455574565745757458574595746057461574625746357464574655746657467574685746957470574715747257473574745747557476574775747857479574805748157482574835748457485574865748757488574895749057491574925749357494574955749657497574985749957500575015750257503575045750557506575075750857509575105751157512575135751457515575165751757518575195752057521575225752357524575255752657527575285752957530575315753257533575345753557536575375753857539575405754157542575435754457545575465754757548575495755057551575525755357554575555755657557575585755957560575615756257563575645756557566575675756857569575705757157572575735757457575575765757757578575795758057581575825758357584575855758657587575885758957590575915759257593575945759557596575975759857599576005760157602576035760457605576065760757608576095761057611576125761357614576155761657617576185761957620576215762257623576245762557626576275762857629576305763157632576335763457635576365763757638576395764057641576425764357644576455764657647576485764957650576515765257653576545765557656576575765857659576605766157662576635766457665576665766757668576695767057671576725767357674576755767657677576785767957680576815768257683576845768557686576875768857689576905769157692576935769457695576965769757698576995770057701577025770357704577055770657707577085770957710577115771257713577145771557716577175771857719577205772157722577235772457725577265772757728577295773057731577325773357734577355773657737577385773957740577415774257743577445774557746577475774857749577505775157752577535775457755577565775757758577595776057761577625776357764577655776657767577685776957770577715777257773577745777557776577775777857779577805778157782577835778457785577865778757788577895779057791577925779357794577955779657797577985779957800578015780257803578045780557806578075780857809578105781157812578135781457815578165781757818578195782057821578225782357824578255782657827578285782957830578315783257833578345783557836578375783857839578405784157842578435784457845578465784757848578495785057851578525785357854578555785657857578585785957860578615786257863578645786557866578675786857869578705787157872578735787457875578765787757878578795788057881578825788357884578855788657887578885788957890578915789257893578945789557896578975789857899579005790157902579035790457905579065790757908579095791057911579125791357914579155791657917579185791957920579215792257923579245792557926579275792857929579305793157932579335793457935579365793757938579395794057941579425794357944579455794657947579485794957950579515795257953579545795557956579575795857959579605796157962579635796457965579665796757968579695797057971579725797357974579755797657977579785797957980579815798257983579845798557986579875798857989579905799157992579935799457995579965799757998579995800058001580025800358004580055800658007580085800958010580115801258013580145801558016580175801858019580205802158022580235802458025580265802758028580295803058031580325803358034580355803658037580385803958040580415804258043580445804558046580475804858049580505805158052580535805458055580565805758058580595806058061580625806358064580655806658067580685806958070580715807258073580745807558076580775807858079580805808158082580835808458085580865808758088580895809058091580925809358094580955809658097580985809958100581015810258103581045810558106581075810858109581105811158112581135811458115581165811758118581195812058121581225812358124581255812658127581285812958130581315813258133581345813558136581375813858139581405814158142581435814458145581465814758148581495815058151581525815358154581555815658157581585815958160581615816258163581645816558166581675816858169581705817158172581735817458175581765817758178581795818058181581825818358184581855818658187581885818958190581915819258193581945819558196581975819858199582005820158202582035820458205582065820758208582095821058211582125821358214582155821658217582185821958220582215822258223582245822558226582275822858229582305823158232582335823458235582365823758238582395824058241582425824358244582455824658247582485824958250582515825258253582545825558256582575825858259582605826158262582635826458265582665826758268582695827058271582725827358274582755827658277582785827958280582815828258283582845828558286582875828858289582905829158292582935829458295582965829758298582995830058301583025830358304583055830658307583085830958310583115831258313583145831558316583175831858319583205832158322583235832458325583265832758328583295833058331583325833358334583355833658337583385833958340583415834258343583445834558346583475834858349583505835158352583535835458355583565835758358583595836058361583625836358364583655836658367583685836958370583715837258373583745837558376583775837858379583805838158382583835838458385583865838758388583895839058391583925839358394583955839658397583985839958400584015840258403584045840558406584075840858409584105841158412584135841458415584165841758418584195842058421584225842358424584255842658427584285842958430584315843258433584345843558436584375843858439584405844158442584435844458445584465844758448584495845058451584525845358454584555845658457584585845958460584615846258463584645846558466584675846858469584705847158472584735847458475584765847758478584795848058481584825848358484584855848658487584885848958490584915849258493584945849558496584975849858499585005850158502585035850458505585065850758508585095851058511585125851358514585155851658517585185851958520585215852258523585245852558526585275852858529585305853158532585335853458535585365853758538585395854058541585425854358544585455854658547585485854958550585515855258553585545855558556585575855858559585605856158562585635856458565585665856758568585695857058571585725857358574585755857658577585785857958580585815858258583585845858558586585875858858589585905859158592585935859458595585965859758598585995860058601586025860358604586055860658607586085860958610586115861258613586145861558616586175861858619586205862158622586235862458625586265862758628586295863058631586325863358634586355863658637586385863958640586415864258643586445864558646586475864858649586505865158652586535865458655586565865758658586595866058661586625866358664586655866658667586685866958670586715867258673586745867558676586775867858679586805868158682586835868458685586865868758688586895869058691586925869358694586955869658697586985869958700587015870258703587045870558706587075870858709587105871158712587135871458715587165871758718587195872058721587225872358724587255872658727587285872958730587315873258733587345873558736587375873858739587405874158742587435874458745587465874758748587495875058751587525875358754587555875658757587585875958760587615876258763587645876558766587675876858769587705877158772587735877458775587765877758778587795878058781587825878358784587855878658787587885878958790587915879258793587945879558796587975879858799588005880158802588035880458805588065880758808588095881058811588125881358814588155881658817588185881958820588215882258823588245882558826588275882858829588305883158832588335883458835588365883758838588395884058841588425884358844588455884658847588485884958850588515885258853588545885558856588575885858859588605886158862588635886458865588665886758868588695887058871588725887358874588755887658877588785887958880588815888258883588845888558886588875888858889588905889158892588935889458895588965889758898588995890058901589025890358904589055890658907589085890958910589115891258913589145891558916589175891858919589205892158922589235892458925589265892758928589295893058931589325893358934589355893658937589385893958940589415894258943589445894558946589475894858949589505895158952589535895458955589565895758958589595896058961589625896358964589655896658967589685896958970589715897258973589745897558976589775897858979589805898158982589835898458985589865898758988589895899058991589925899358994589955899658997589985899959000590015900259003590045900559006590075900859009590105901159012590135901459015590165901759018590195902059021590225902359024590255902659027590285902959030590315903259033590345903559036590375903859039590405904159042590435904459045590465904759048590495905059051590525905359054590555905659057590585905959060590615906259063590645906559066590675906859069590705907159072590735907459075590765907759078590795908059081590825908359084590855908659087590885908959090590915909259093590945909559096590975909859099591005910159102591035910459105591065910759108591095911059111591125911359114591155911659117591185911959120591215912259123591245912559126591275912859129591305913159132591335913459135591365913759138591395914059141591425914359144591455914659147591485914959150591515915259153591545915559156591575915859159591605916159162591635916459165591665916759168591695917059171591725917359174591755917659177591785917959180591815918259183591845918559186591875918859189591905919159192591935919459195591965919759198591995920059201592025920359204592055920659207592085920959210592115921259213592145921559216592175921859219592205922159222592235922459225592265922759228592295923059231592325923359234592355923659237592385923959240592415924259243592445924559246592475924859249592505925159252592535925459255592565925759258592595926059261592625926359264592655926659267592685926959270592715927259273592745927559276592775927859279592805928159282592835928459285592865928759288592895929059291592925929359294592955929659297592985929959300593015930259303593045930559306593075930859309593105931159312593135931459315593165931759318593195932059321593225932359324593255932659327593285932959330593315933259333593345933559336593375933859339593405934159342593435934459345593465934759348593495935059351593525935359354593555935659357593585935959360593615936259363593645936559366593675936859369593705937159372593735937459375593765937759378593795938059381593825938359384593855938659387593885938959390593915939259393593945939559396593975939859399594005940159402594035940459405594065940759408594095941059411594125941359414594155941659417594185941959420594215942259423594245942559426594275942859429594305943159432594335943459435594365943759438594395944059441594425944359444594455944659447594485944959450594515945259453594545945559456594575945859459594605946159462594635946459465594665946759468594695947059471594725947359474594755947659477594785947959480594815948259483594845948559486594875948859489594905949159492594935949459495594965949759498594995950059501595025950359504595055950659507595085950959510595115951259513595145951559516595175951859519595205952159522595235952459525595265952759528595295953059531595325953359534595355953659537595385953959540595415954259543595445954559546595475954859549595505955159552595535955459555595565955759558595595956059561595625956359564595655956659567595685956959570595715957259573595745957559576595775957859579595805958159582595835958459585595865958759588595895959059591595925959359594595955959659597595985959959600596015960259603596045960559606596075960859609596105961159612596135961459615596165961759618596195962059621596225962359624596255962659627596285962959630596315963259633596345963559636596375963859639596405964159642596435964459645596465964759648596495965059651596525965359654596555965659657596585965959660596615966259663596645966559666596675966859669596705967159672596735967459675596765967759678596795968059681596825968359684596855968659687596885968959690596915969259693596945969559696596975969859699597005970159702597035970459705597065970759708597095971059711597125971359714597155971659717597185971959720597215972259723597245972559726597275972859729597305973159732597335973459735597365973759738597395974059741597425974359744597455974659747597485974959750597515975259753597545975559756597575975859759597605976159762597635976459765597665976759768597695977059771597725977359774597755977659777597785977959780597815978259783597845978559786597875978859789597905979159792597935979459795597965979759798597995980059801598025980359804598055980659807598085980959810598115981259813598145981559816598175981859819598205982159822598235982459825598265982759828598295983059831598325983359834598355983659837598385983959840598415984259843598445984559846598475984859849598505985159852598535985459855598565985759858598595986059861598625986359864598655986659867598685986959870598715987259873598745987559876598775987859879598805988159882598835988459885598865988759888598895989059891598925989359894598955989659897598985989959900599015990259903599045990559906599075990859909599105991159912599135991459915599165991759918599195992059921599225992359924599255992659927599285992959930599315993259933599345993559936599375993859939599405994159942599435994459945599465994759948599495995059951599525995359954599555995659957599585995959960599615996259963599645996559966599675996859969599705997159972599735997459975599765997759978599795998059981599825998359984599855998659987599885998959990599915999259993599945999559996599975999859999600006000160002600036000460005600066000760008600096001060011600126001360014600156001660017600186001960020600216002260023600246002560026600276002860029600306003160032600336003460035600366003760038600396004060041600426004360044600456004660047600486004960050600516005260053600546005560056600576005860059600606006160062600636006460065600666006760068600696007060071600726007360074600756007660077600786007960080600816008260083600846008560086600876008860089600906009160092600936009460095600966009760098600996010060101601026010360104601056010660107601086010960110601116011260113601146011560116601176011860119601206012160122601236012460125601266012760128601296013060131601326013360134601356013660137601386013960140601416014260143601446014560146601476014860149601506015160152601536015460155601566015760158601596016060161601626016360164601656016660167601686016960170601716017260173601746017560176601776017860179601806018160182601836018460185601866018760188601896019060191601926019360194601956019660197601986019960200602016020260203602046020560206602076020860209602106021160212602136021460215602166021760218602196022060221602226022360224602256022660227602286022960230602316023260233602346023560236602376023860239602406024160242602436024460245602466024760248602496025060251602526025360254602556025660257602586025960260602616026260263602646026560266602676026860269602706027160272602736027460275602766027760278602796028060281602826028360284602856028660287602886028960290602916029260293602946029560296602976029860299603006030160302603036030460305603066030760308603096031060311603126031360314603156031660317603186031960320603216032260323603246032560326603276032860329603306033160332603336033460335603366033760338603396034060341603426034360344603456034660347603486034960350603516035260353603546035560356603576035860359603606036160362603636036460365603666036760368603696037060371603726037360374603756037660377603786037960380603816038260383603846038560386603876038860389603906039160392603936039460395603966039760398603996040060401604026040360404604056040660407604086040960410604116041260413604146041560416604176041860419604206042160422604236042460425604266042760428604296043060431604326043360434604356043660437604386043960440604416044260443604446044560446604476044860449604506045160452604536045460455604566045760458604596046060461604626046360464604656046660467604686046960470604716047260473604746047560476604776047860479604806048160482604836048460485604866048760488604896049060491604926049360494604956049660497604986049960500605016050260503605046050560506605076050860509605106051160512605136051460515605166051760518605196052060521605226052360524605256052660527605286052960530605316053260533605346053560536605376053860539605406054160542605436054460545605466054760548605496055060551605526055360554605556055660557605586055960560605616056260563605646056560566605676056860569605706057160572605736057460575605766057760578605796058060581605826058360584605856058660587605886058960590605916059260593605946059560596605976059860599606006060160602606036060460605606066060760608606096061060611606126061360614606156061660617606186061960620606216062260623606246062560626606276062860629606306063160632606336063460635606366063760638606396064060641606426064360644606456064660647606486064960650606516065260653606546065560656606576065860659606606066160662606636066460665606666066760668606696067060671606726067360674606756067660677606786067960680606816068260683606846068560686606876068860689606906069160692606936069460695606966069760698606996070060701607026070360704607056070660707607086070960710607116071260713607146071560716607176071860719607206072160722607236072460725607266072760728607296073060731607326073360734607356073660737607386073960740607416074260743607446074560746607476074860749607506075160752607536075460755607566075760758607596076060761607626076360764607656076660767607686076960770607716077260773607746077560776607776077860779607806078160782607836078460785607866078760788607896079060791607926079360794607956079660797607986079960800608016080260803608046080560806608076080860809608106081160812608136081460815608166081760818608196082060821608226082360824608256082660827608286082960830608316083260833608346083560836608376083860839608406084160842608436084460845608466084760848608496085060851608526085360854608556085660857608586085960860608616086260863608646086560866608676086860869608706087160872608736087460875608766087760878608796088060881608826088360884608856088660887608886088960890608916089260893608946089560896608976089860899609006090160902609036090460905609066090760908609096091060911609126091360914609156091660917609186091960920609216092260923609246092560926609276092860929609306093160932609336093460935609366093760938609396094060941609426094360944609456094660947609486094960950609516095260953609546095560956609576095860959609606096160962609636096460965609666096760968609696097060971609726097360974609756097660977609786097960980609816098260983609846098560986609876098860989609906099160992609936099460995609966099760998609996100061001610026100361004610056100661007610086100961010610116101261013610146101561016610176101861019610206102161022610236102461025610266102761028610296103061031610326103361034610356103661037610386103961040610416104261043610446104561046610476104861049610506105161052610536105461055610566105761058610596106061061610626106361064610656106661067610686106961070610716107261073610746107561076610776107861079610806108161082610836108461085610866108761088610896109061091610926109361094610956109661097610986109961100611016110261103611046110561106611076110861109611106111161112611136111461115611166111761118611196112061121611226112361124611256112661127611286112961130611316113261133611346113561136611376113861139611406114161142611436114461145611466114761148611496115061151611526115361154611556115661157611586115961160611616116261163611646116561166611676116861169611706117161172611736117461175611766117761178611796118061181611826118361184611856118661187611886118961190611916119261193611946119561196611976119861199612006120161202612036120461205612066120761208612096121061211612126121361214612156121661217612186121961220612216122261223612246122561226612276122861229612306123161232612336123461235612366123761238612396124061241612426124361244612456124661247612486124961250612516125261253612546125561256612576125861259612606126161262612636126461265612666126761268612696127061271612726127361274612756127661277612786127961280612816128261283612846128561286612876128861289612906129161292612936129461295612966129761298612996130061301613026130361304613056130661307613086130961310613116131261313613146131561316613176131861319613206132161322613236132461325613266132761328613296133061331613326133361334613356133661337613386133961340613416134261343613446134561346613476134861349613506135161352613536135461355613566135761358
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR the authors of Guix (msgids)
  3. # This file is distributed under the same license as the guix manual package.
  4. # Marek Felšöci <marek@felsoci.sk>, 2021.
  5. msgid ""
  6. msgstr ""
  7. "Project-Id-Version: guix manual checkout\n"
  8. "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
  9. "POT-Creation-Date: 2021-04-06 13:33+0200\n"
  10. "PO-Revision-Date: 2021-05-05 03:02+0000\n"
  11. "Last-Translator: Marek Felšöci <marek@felsoci.sk>\n"
  12. "Language-Team: Slovak <https://translate.fedoraproject.org/projects/guix/documentation-manual/sk/>\n"
  13. "Language: sk\n"
  14. "MIME-Version: 1.0\n"
  15. "Content-Type: text/plain; charset=UTF-8\n"
  16. "Content-Transfer-Encoding: 8bit\n"
  17. "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
  18. "X-Generator: Weblate 4.6.1\n"
  19. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  20. #. type: chapter
  21. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  22. #. type: menuentry
  23. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  24. #: guix-git/doc/guix.texi:168
  25. #, no-wrap
  26. msgid "Contributing"
  27. msgstr "Zapojiť sa"
  28. #. type: Plain text
  29. #: guix-git/doc/contributing.texi:9
  30. msgid "This project is a cooperative effort, and we need your help to make it grow! Please get in touch with us on @email{guix-devel@@gnu.org} and @code{#guix} on the Freenode IRC network. We welcome ideas, bug reports, patches, and anything that may be helpful to the project. We particularly welcome help on packaging (@pxref{Packaging Guidelines})."
  31. msgstr "Tento projekt je výsledkom spoločného úsilia a potrebujeme vašu pomoc pri jeho rozširovaní! Spojte sa s nami prostredníctvom @email{guix-devel@@gnu.org} alebo @code{#guix} na sieti IRC Freenode. Radi privítame vaše nápady, hlásenia chýb, záplaty a čokoľvek čo môže projektu pomôcť. Zvlášť radi privítame vašu pomoc s pridávaním balíkov (@pxref{Packaging Guidelines})."
  32. #. type: cindex
  33. #: guix-git/doc/contributing.texi:10
  34. #, no-wrap
  35. msgid "code of conduct, of contributors"
  36. msgstr "zásady správania, prispievateľov"
  37. #. type: cindex
  38. #: guix-git/doc/contributing.texi:11
  39. #, no-wrap
  40. msgid "contributor covenant"
  41. msgstr "záväzok prispievateľa"
  42. #. type: Plain text
  43. #: guix-git/doc/contributing.texi:17
  44. msgid "We want to provide a warm, friendly, and harassment-free environment, so that anyone can contribute to the best of their abilities. To this end our project uses a ``Contributor Covenant'', which was adapted from @url{https://contributor-covenant.org/}. You can find a local version in the @file{CODE-OF-CONDUCT} file in the source tree."
  45. msgstr "Chceme vám poskytnúť príjemné a priateľské prostredie bez obťažovania, aby sa každý mohol zapojiť najlepšie ako vie. Preto sa náš projekt riadi „záväzkom prispievateľa“ založeným na @url{https://contributor-covenant.org/}. Úplné znenie záväzku nájdete v súbore @file{CODE-OF-CONDUCT} v strome zdrojových súborov."
  46. #. type: Plain text
  47. #: guix-git/doc/contributing.texi:21
  48. msgid "Contributors are not required to use their legal name in patches and on-line communication; they can use any name or pseudonym of their choice."
  49. msgstr "Prispievatelia nemusia používať ich ozajstné meno v záplatách a online dokumentácii; môžu používať ľubovoľné meno alebo prezývku."
  50. #. type: section
  51. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:34
  52. #: guix-git/doc/contributing.texi:35
  53. #, no-wrap
  54. msgid "Building from Git"
  55. msgstr "Zostavenie z Gitu"
  56. #. type: menuentry
  57. #: guix-git/doc/contributing.texi:32
  58. msgid "The latest and greatest."
  59. msgstr "Vždy ten najnovší."
  60. #. type: section
  61. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:160
  62. #: guix-git/doc/contributing.texi:161
  63. #, no-wrap
  64. msgid "Running Guix Before It Is Installed"
  65. msgstr "Spúšťanie Guixu ešte pred inštaláciou"
  66. #. type: menuentry
  67. #: guix-git/doc/contributing.texi:32
  68. msgid "Hacker tricks."
  69. msgstr "Finty pre hackerov."
  70. #. type: section
  71. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:234
  72. #: guix-git/doc/contributing.texi:235
  73. #, no-wrap
  74. msgid "The Perfect Setup"
  75. msgstr "Dokonalé nastavenie"
  76. #. type: menuentry
  77. #: guix-git/doc/contributing.texi:32
  78. msgid "The right tools."
  79. msgstr "Správne nástroje."
  80. #. type: section
  81. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:325
  82. #: guix-git/doc/contributing.texi:326
  83. #, no-wrap
  84. msgid "Packaging Guidelines"
  85. msgstr "Zásady pridávania balíkov"
  86. #. type: menuentry
  87. #: guix-git/doc/contributing.texi:32
  88. msgid "Growing the distribution."
  89. msgstr "Rast distribúcie."
  90. #. type: section
  91. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:873
  92. #: guix-git/doc/contributing.texi:874
  93. #, no-wrap
  94. msgid "Coding Style"
  95. msgstr "Štýl kódovania"
  96. #. type: menuentry
  97. #: guix-git/doc/contributing.texi:32
  98. msgid "Hygiene of the contributor."
  99. msgstr "Návyky prispievateľa."
  100. #. type: section
  101. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:972
  102. #: guix-git/doc/contributing.texi:973
  103. #, no-wrap
  104. msgid "Submitting Patches"
  105. msgstr "Odovzdávanie záplat"
  106. #. type: menuentry
  107. #: guix-git/doc/contributing.texi:32
  108. msgid "Share your work."
  109. msgstr "Zdieľajte vašu prácu."
  110. #. type: section
  111. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1198
  112. #: guix-git/doc/contributing.texi:1199
  113. #, no-wrap
  114. msgid "Tracking Bugs and Patches"
  115. msgstr "Sledovanie chýb a záplat"
  116. #. type: menuentry
  117. #: guix-git/doc/contributing.texi:32
  118. msgid "Using Debbugs."
  119. msgstr "Používanie Debbugs."
  120. #. type: section
  121. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1249
  122. #: guix-git/doc/contributing.texi:1250
  123. #, no-wrap
  124. msgid "Commit Access"
  125. msgstr "Právo na úpravu"
  126. #. type: menuentry
  127. #: guix-git/doc/contributing.texi:32
  128. msgid "Pushing to the official repository."
  129. msgstr "Odosielanie úprav do oficiálneho repozitára."
  130. #. type: section
  131. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1396
  132. #: guix-git/doc/contributing.texi:1397
  133. #, no-wrap
  134. msgid "Updating the Guix Package"
  135. msgstr "Aktualizácia balíka Guix"
  136. #. type: menuentry
  137. #: guix-git/doc/contributing.texi:32
  138. msgid "Updating the Guix package definition."
  139. msgstr "Aktualizovať zadanie balíka Guix."
  140. #. type: Plain text
  141. #: guix-git/doc/contributing.texi:39
  142. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  143. msgstr "Ak chcete pracovať na Guixe samotnom, odporúčame vám použiť najnovšiu verziu z Git repozitára:"
  144. #. type: example
  145. #: guix-git/doc/contributing.texi:42
  146. #, no-wrap
  147. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  148. msgstr "git clone https://git.savannah.gnu.org/git/guix.git\n"
  149. #. type: cindex
  150. #: guix-git/doc/contributing.texi:44
  151. #, no-wrap
  152. msgid "authentication, of a Guix checkout"
  153. msgstr "overenie, miestneho Git repozitára Guixu"
  154. #. type: Plain text
  155. #: guix-git/doc/contributing.texi:49
  156. msgid "How do you ensure that you obtained a genuine copy of the repository? To do that, run @command{guix git authenticate}, passing it the commit and OpenPGP fingerprint of the @dfn{channel introduction} (@pxref{Invoking guix git authenticate}):"
  157. msgstr "Ako sa uistíte, že ste získali pravú kópiu repozitára? Spustite @command{guix git authenticate} a ako parametre použite číslo úpravy (commit) a OpenPGP odtlačok @dfn{úvodu kanála} (@pxref{Invoking guix git authenticate}):"
  158. #. type: example
  159. #: guix-git/doc/contributing.texi:56
  160. #, no-wrap
  161. msgid ""
  162. "git fetch origin keyring:keyring\n"
  163. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  164. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  165. msgstr ""
  166. "git fetch origin keyring:keyring\n"
  167. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  168. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  169. #. type: Plain text
  170. #: guix-git/doc/contributing.texi:61
  171. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  172. msgstr "Tento príkaz má v prípade úspešného ukončenia nulovú návratovú hodnotu; v opačnom prípade zobrazí chybové hlásenie a vráti nenulovú hodnotu."
  173. #. type: Plain text
  174. #: guix-git/doc/contributing.texi:68
  175. msgid "As you can see, there is a chicken-and-egg problem: you first need to have Guix installed. Typically you would install Guix System (@pxref{System Installation}) or Guix on top of another distro (@pxref{Binary Installation}); in either case, you would verify the OpenPGP signature on the installation medium. This ``bootstraps'' the trust chain."
  176. msgstr "Ako vidíte, je to rovnaký problém ako v prípade sliepky a vajca: najprv musíte mať nainštalovaný Guix. Obyčajne by ste si nainštalovali Guix ako samostatný systém (@pxref{System Installation}) alebo ako doplnkového správcu balíkov na inej distribúcii (@pxref{Binary Installation}); v každom prípade by ste si overili OpenPGP podpis na inštalačnom nosiči. Toto predstavuje začiatok reťazca dôvery."
  177. #. type: Plain text
  178. #: guix-git/doc/contributing.texi:73
  179. msgid "The easiest way to set up a development environment for Guix is, of course, by using Guix! The following command starts a new shell where all the dependencies and appropriate environment variables are set up to hack on Guix:"
  180. msgstr "Najjednoduchší spôsob nastavenia vývojového prostredia pre Guix je samozrejme s použitím Guixu! Nasledovný príkaz spustí nový shell so všetkými závislosťami a premennými prostrediami potrebnými na prácu s Guixom:"
  181. #. type: example
  182. #: guix-git/doc/contributing.texi:76
  183. #, no-wrap
  184. msgid "guix environment guix --pure\n"
  185. msgstr "guix environment guix --pure\n"
  186. #. type: Plain text
  187. #: guix-git/doc/contributing.texi:79
  188. msgid "@xref{Invoking guix environment}, for more information on that command."
  189. msgstr "@xref{Invoking guix environment}, pre viac podrobností o tomto príkaze."
  190. #. type: Plain text
  191. #: guix-git/doc/contributing.texi:83
  192. msgid "If you are unable to use Guix when building Guix from a checkout, the following are the required packages in addition to those mentioned in the installation instructions (@pxref{Requirements})."
  193. msgstr "Ak nemáte možnosť použiť Guix na zostavenie Guixu zo zdrojových súborov, budete ešte okrem balíkov spomenutých v návode na inštaláciu (@pxref{Requirements}) potrebovať aj nasledovné balíky."
  194. #. type: item
  195. #: guix-git/doc/contributing.texi:85
  196. #, no-wrap
  197. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  198. msgstr "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  199. #. type: item
  200. #: guix-git/doc/contributing.texi:86
  201. #, no-wrap
  202. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  203. msgstr "@url{https://gnu.org/software/automake/, GNU Automake};"
  204. #. type: item
  205. #: guix-git/doc/contributing.texi:87
  206. #, no-wrap
  207. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  208. msgstr "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  209. #. type: item
  210. #: guix-git/doc/contributing.texi:88
  211. #, no-wrap
  212. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  213. msgstr "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  214. #. type: item
  215. #: guix-git/doc/contributing.texi:89
  216. #, no-wrap
  217. msgid "@url{https://www.graphviz.org/, Graphviz};"
  218. msgstr "@url{https://www.graphviz.org/, Graphviz};"
  219. #. type: item
  220. #: guix-git/doc/contributing.texi:90
  221. #, no-wrap
  222. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  223. msgstr "@url{https://www.gnu.org/software/help2man/, GNU Help2man (nepovinné)}."
  224. #. type: Plain text
  225. #: guix-git/doc/contributing.texi:95
  226. msgid "On Guix, extra dependencies can be added by instead running @command{guix environment} with @option{--ad-hoc}:"
  227. msgstr "S Guixom môžete pridať dodatočné závislosti pomocou príkazu @command{guix environment} s prepínačom @option{--ad-hoc}:"
  228. #. type: example
  229. #: guix-git/doc/contributing.texi:98
  230. #, no-wrap
  231. msgid "guix environment guix --pure --ad-hoc help2man git strace\n"
  232. msgstr "guix environment guix --pure --ad-hoc help2man git strace\n"
  233. #. type: Plain text
  234. #: guix-git/doc/contributing.texi:102
  235. msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  236. msgstr "Spustite @command{./bootstrap} pre vytvorenie kostry zostavovacieho systému pomocou nástrojov Autoconf a Automake. V prípade chyby ako je táto:"
  237. #. type: example
  238. #: guix-git/doc/contributing.texi:105
  239. #, no-wrap
  240. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  241. msgstr "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  242. #. type: Plain text
  243. #: guix-git/doc/contributing.texi:114
  244. msgid "it probably means that Autoconf couldn’t find @file{pkg.m4}, which is provided by pkg-config. Make sure that @file{pkg.m4} is available. The same holds for the @file{guile.m4} set of macros provided by Guile. For instance, if you installed Automake in @file{/usr/local}, it wouldn’t look for @file{.m4} files in @file{/usr/share}. In that case, you have to invoke the following command:"
  245. msgstr ""
  246. #. type: example
  247. #: guix-git/doc/contributing.texi:117
  248. #, no-wrap
  249. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  250. msgstr ""
  251. #. type: Plain text
  252. #: guix-git/doc/contributing.texi:121
  253. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  254. msgstr ""
  255. #. type: Plain text
  256. #: guix-git/doc/contributing.texi:128
  257. msgid "Then, run @command{./configure} as usual. Make sure to pass @code{--localstatedir=@var{directory}} where @var{directory} is the @code{localstatedir} value used by your current installation (@pxref{The Store}, for information about this), usually @file{/var}. Note that you will probably not run @command{make install} at the end (you don't have to) but it's still important to pass the right @code{localstatedir}."
  258. msgstr ""
  259. #. type: Plain text
  260. #: guix-git/doc/contributing.texi:133
  261. msgid "Finally, you have to invoke @code{make && make check} to build Guix and run the tests (@pxref{Running the Test Suite}). If anything fails, take a look at installation instructions (@pxref{Installation}) or send a message to the @email{guix-devel@@gnu.org, mailing list}."
  262. msgstr ""
  263. #. type: Plain text
  264. #: guix-git/doc/contributing.texi:136
  265. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  266. msgstr ""
  267. #. type: example
  268. #: guix-git/doc/contributing.texi:139
  269. #, no-wrap
  270. msgid "make authenticate\n"
  271. msgstr ""
  272. #. type: Plain text
  273. #: guix-git/doc/contributing.texi:142
  274. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  275. msgstr ""
  276. #. type: Plain text
  277. #: guix-git/doc/contributing.texi:148
  278. msgid "Or, when your configuration for your local Git repository doesn't match the default one, you can provide the reference for the @code{keyring} branch through the variable @code{GUIX_GIT_KEYRING}. The following example assumes that you have a Git remote called @samp{myremote} pointing to the official repository:"
  279. msgstr ""
  280. #. type: example
  281. #: guix-git/doc/contributing.texi:151
  282. #, no-wrap
  283. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  284. msgstr ""
  285. #. type: quotation
  286. #: guix-git/doc/contributing.texi:153 guix-git/doc/contributing.texi:1316
  287. #: guix-git/doc/guix.texi:565 guix-git/doc/guix.texi:614
  288. #: guix-git/doc/guix.texi:1764 guix-git/doc/guix.texi:2011
  289. #: guix-git/doc/guix.texi:2195 guix-git/doc/guix.texi:2416
  290. #: guix-git/doc/guix.texi:2617 guix-git/doc/guix.texi:3734
  291. #: guix-git/doc/guix.texi:4470 guix-git/doc/guix.texi:4484
  292. #: guix-git/doc/guix.texi:4566 guix-git/doc/guix.texi:4796
  293. #: guix-git/doc/guix.texi:5646 guix-git/doc/guix.texi:5892
  294. #: guix-git/doc/guix.texi:6013 guix-git/doc/guix.texi:6065
  295. #: guix-git/doc/guix.texi:8752 guix-git/doc/guix.texi:8822
  296. #: guix-git/doc/guix.texi:10487 guix-git/doc/guix.texi:10527
  297. #: guix-git/doc/guix.texi:10800 guix-git/doc/guix.texi:10812
  298. #: guix-git/doc/guix.texi:13027 guix-git/doc/guix.texi:13654
  299. #: guix-git/doc/guix.texi:14437 guix-git/doc/guix.texi:15412
  300. #: guix-git/doc/guix.texi:17728 guix-git/doc/guix.texi:17877
  301. #: guix-git/doc/guix.texi:25473 guix-git/doc/guix.texi:29082
  302. #: guix-git/doc/guix.texi:31039 guix-git/doc/guix.texi:32532
  303. #: guix-git/doc/guix.texi:32766 guix-git/doc/guix.texi:32936
  304. #: guix-git/doc/guix.texi:33089 guix-git/doc/guix.texi:33191
  305. #: guix-git/doc/guix.texi:33292
  306. #, no-wrap
  307. msgid "Note"
  308. msgstr ""
  309. #. type: quotation
  310. #: guix-git/doc/contributing.texi:157
  311. msgid "You are advised to run @command{make authenticate} after every @command{git pull} invocation. This ensures you keep receiving valid changes to the repository."
  312. msgstr ""
  313. #. type: Plain text
  314. #: guix-git/doc/contributing.texi:167
  315. msgid "In order to keep a sane working environment, you will find it useful to test the changes made in your local source tree checkout without actually installing them. So that you can distinguish between your ``end-user'' hat and your ``motley'' costume."
  316. msgstr ""
  317. #. type: Plain text
  318. #: guix-git/doc/contributing.texi:178
  319. msgid "To that end, all the command-line tools can be used even if you have not run @code{make install}. To do that, you first need to have an environment with all the dependencies available (@pxref{Building from Git}), and then simply prefix each command with @command{./pre-inst-env} (the @file{pre-inst-env} script lives in the top build tree of Guix; it is generated by running @command{./bootstrap} followed by @command{./configure}). As an example, here is how you would build the @code{hello} package as defined in your working tree (this assumes @command{guix-daemon} is already running on your system; it's OK if it's a different version):"
  320. msgstr ""
  321. #. type: example
  322. #: guix-git/doc/contributing.texi:181
  323. #, no-wrap
  324. msgid "$ ./pre-inst-env guix build hello\n"
  325. msgstr ""
  326. #. type: Plain text
  327. #: guix-git/doc/contributing.texi:185
  328. msgid "Similarly, an example for a Guile session using the Guix modules:"
  329. msgstr ""
  330. #. type: example
  331. #: guix-git/doc/contributing.texi:188
  332. #, no-wrap
  333. msgid ""
  334. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  335. "\n"
  336. msgstr ""
  337. #. type: example
  338. #: guix-git/doc/contributing.texi:190
  339. #, no-wrap
  340. msgid ";;; (\"x86_64-linux\")\n"
  341. msgstr ""
  342. #. type: cindex
  343. #: guix-git/doc/contributing.texi:193
  344. #, no-wrap
  345. msgid "REPL"
  346. msgstr ""
  347. #. type: cindex
  348. #: guix-git/doc/contributing.texi:194
  349. #, no-wrap
  350. msgid "read-eval-print loop"
  351. msgstr ""
  352. #. type: Plain text
  353. #: guix-git/doc/contributing.texi:197
  354. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  355. msgstr ""
  356. #. type: example
  357. #: guix-git/doc/contributing.texi:212
  358. #, no-wrap
  359. msgid ""
  360. "$ ./pre-inst-env guile\n"
  361. "scheme@@(guile-user)> ,use(guix)\n"
  362. "scheme@@(guile-user)> ,use(gnu)\n"
  363. "scheme@@(guile-user)> (define snakes\n"
  364. " (fold-packages\n"
  365. " (lambda (package lst)\n"
  366. " (if (string-prefix? \"python\"\n"
  367. " (package-name package))\n"
  368. " (cons package lst)\n"
  369. " lst))\n"
  370. " '()))\n"
  371. "scheme@@(guile-user)> (length snakes)\n"
  372. "$1 = 361\n"
  373. msgstr ""
  374. #. type: Plain text
  375. #: guix-git/doc/contributing.texi:220
  376. msgid "If you are hacking on the daemon and its supporting code or if @command{guix-daemon} is not already running on your system, you can launch it straight from the build tree@footnote{The @option{-E} flag to @command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly set such that @command{guix-daemon} and the tools it uses can find the Guile modules they need.}:"
  377. msgstr ""
  378. #. type: example
  379. #: guix-git/doc/contributing.texi:223
  380. #, no-wrap
  381. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  382. msgstr ""
  383. #. type: Plain text
  384. #: guix-git/doc/contributing.texi:227
  385. msgid "The @command{pre-inst-env} script sets up all the environment variables necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}."
  386. msgstr ""
  387. #. type: Plain text
  388. #: guix-git/doc/contributing.texi:232
  389. msgid "Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the local source tree; it simply updates the @file{~/.config/guix/current} symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if you want to upgrade your local source tree."
  390. msgstr ""
  391. #. type: Plain text
  392. #: guix-git/doc/contributing.texi:242
  393. msgid "The Perfect Setup to hack on Guix is basically the perfect setup used for Guile hacking (@pxref{Using Guile in Emacs,,, guile, Guile Reference Manual}). First, you need more than an editor, you need @url{https://www.gnu.org/software/emacs, Emacs}, empowered by the wonderful @url{https://nongnu.org/geiser/, Geiser}. To set that up, run:"
  394. msgstr ""
  395. #. type: example
  396. #: guix-git/doc/contributing.texi:245
  397. #, no-wrap
  398. msgid "guix package -i emacs guile emacs-geiser\n"
  399. msgstr ""
  400. #. type: Plain text
  401. #: guix-git/doc/contributing.texi:254
  402. msgid "Geiser allows for interactive and incremental development from within Emacs: code compilation and evaluation from within buffers, access to on-line documentation (docstrings), context-sensitive completion, @kbd{M-.} to jump to an object definition, a REPL to try out your code, and more (@pxref{Introduction,,, geiser, Geiser User Manual}). For convenient Guix development, make sure to augment Guile’s load path so that it finds source files from your checkout:"
  403. msgstr ""
  404. #. type: lisp
  405. #: guix-git/doc/contributing.texi:259
  406. #, no-wrap
  407. msgid ""
  408. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  409. "(with-eval-after-load 'geiser-guile\n"
  410. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  411. msgstr ""
  412. #. type: Plain text
  413. #: guix-git/doc/contributing.texi:267
  414. msgid "To actually edit the code, Emacs already has a neat Scheme mode. But in addition to that, you must not miss @url{https://www.emacswiki.org/emacs/ParEdit, Paredit}. It provides facilities to directly operate on the syntax tree, such as raising an s-expression or wrapping it, swallowing or rejecting the following s-expression, etc."
  415. msgstr ""
  416. #. type: cindex
  417. #: guix-git/doc/contributing.texi:268
  418. #, no-wrap
  419. msgid "code snippets"
  420. msgstr ""
  421. #. type: cindex
  422. #: guix-git/doc/contributing.texi:269
  423. #, no-wrap
  424. msgid "templates"
  425. msgstr ""
  426. #. type: cindex
  427. #: guix-git/doc/contributing.texi:270
  428. #, no-wrap
  429. msgid "reducing boilerplate"
  430. msgstr ""
  431. #. type: Plain text
  432. #: guix-git/doc/contributing.texi:277
  433. msgid "We also provide templates for common git commit messages and package definitions in the @file{etc/snippets} directory. These templates can be used with @url{https://joaotavora.github.io/yasnippet/, YASnippet} to expand short trigger strings to interactive text snippets. You may want to add the snippets directory to the @var{yas-snippet-dirs} variable in Emacs."
  434. msgstr ""
  435. #. type: lisp
  436. #: guix-git/doc/contributing.texi:282
  437. #, no-wrap
  438. msgid ""
  439. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  440. "(with-eval-after-load 'yasnippet\n"
  441. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  442. msgstr ""
  443. #. type: Plain text
  444. #: guix-git/doc/contributing.texi:290
  445. msgid "The commit message snippets depend on @url{https://magit.vc/, Magit} to display staged files. When editing a commit message type @code{add} followed by @kbd{TAB} to insert a commit message template for adding a package; type @code{update} followed by @kbd{TAB} to insert a template for updating a package; type @code{https} followed by @kbd{TAB} to insert a template for changing the home page URI of a package to HTTPS."
  446. msgstr ""
  447. #. type: Plain text
  448. #: guix-git/doc/contributing.texi:296
  449. msgid "The main snippet for @code{scheme-mode} is triggered by typing @code{package...} followed by @kbd{TAB}. This snippet also inserts the trigger string @code{origin...}, which can be expanded further. The @code{origin} snippet in turn may insert other trigger strings ending on @code{...}, which also can be expanded further."
  450. msgstr ""
  451. #. type: cindex
  452. #: guix-git/doc/contributing.texi:297
  453. #, no-wrap
  454. msgid "insert or update copyright"
  455. msgstr ""
  456. #. type: code{#1}
  457. #: guix-git/doc/contributing.texi:298
  458. #, no-wrap
  459. msgid "M-x guix-copyright"
  460. msgstr ""
  461. #. type: code{#1}
  462. #: guix-git/doc/contributing.texi:299
  463. #, no-wrap
  464. msgid "M-x copyright-update"
  465. msgstr ""
  466. #. type: Plain text
  467. #: guix-git/doc/contributing.texi:303
  468. msgid "We additionally provide insertion and automatic update of a copyright in @file{etc/copyright.el}. You may want to set your full name, mail, and load a file."
  469. msgstr ""
  470. #. type: lisp
  471. #: guix-git/doc/contributing.texi:309
  472. #, no-wrap
  473. msgid ""
  474. "(setq user-full-name \"Alice Doe\")\n"
  475. "(setq user-mail-address \"alice@@mail.org\")\n"
  476. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  477. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  478. msgstr ""
  479. #. type: Plain text
  480. #: guix-git/doc/contributing.texi:312
  481. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  482. msgstr ""
  483. #. type: Plain text
  484. #: guix-git/doc/contributing.texi:314
  485. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  486. msgstr ""
  487. #. type: lisp
  488. #: guix-git/doc/contributing.texi:318
  489. #, no-wrap
  490. msgid ""
  491. "(setq copyright-names-regexp\n"
  492. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  493. msgstr ""
  494. #. type: Plain text
  495. #: guix-git/doc/contributing.texi:324
  496. msgid "You can check if your copyright is up to date by evaluating @code{M-x copyright-update}. If you want to do it automatically after each buffer save then add @code{(add-hook 'after-save-hook 'copyright-update)} in Emacs."
  497. msgstr ""
  498. #. type: cindex
  499. #: guix-git/doc/contributing.texi:328
  500. #, no-wrap
  501. msgid "packages, creating"
  502. msgstr ""
  503. #. type: Plain text
  504. #: guix-git/doc/contributing.texi:332
  505. msgid "The GNU distribution is nascent and may well lack some of your favorite packages. This section describes how you can help make the distribution grow."
  506. msgstr ""
  507. #. type: Plain text
  508. #: guix-git/doc/contributing.texi:340
  509. msgid "Free software packages are usually distributed in the form of @dfn{source code tarballs}---typically @file{tar.gz} files that contain all the source files. Adding a package to the distribution means essentially two things: adding a @dfn{recipe} that describes how to build the package, including a list of other packages required to build it, and adding @dfn{package metadata} along with that recipe, such as a description and licensing information."
  510. msgstr ""
  511. #. type: Plain text
  512. #: guix-git/doc/contributing.texi:349
  513. msgid "In Guix all this information is embodied in @dfn{package definitions}. Package definitions provide a high-level view of the package. They are written using the syntax of the Scheme programming language; in fact, for each package we define a variable bound to the package definition, and export that variable from a module (@pxref{Package Modules}). However, in-depth Scheme knowledge is @emph{not} a prerequisite for creating packages. For more information on package definitions, @pxref{Defining Packages}."
  514. msgstr ""
  515. #. type: Plain text
  516. #: guix-git/doc/contributing.texi:355
  517. msgid "Once a package definition is in place, stored in a file in the Guix source tree, it can be tested using the @command{guix build} command (@pxref{Invoking guix build}). For example, assuming the new package is called @code{gnew}, you may run this command from the Guix build tree (@pxref{Running Guix Before It Is Installed}):"
  518. msgstr ""
  519. #. type: example
  520. #: guix-git/doc/contributing.texi:358
  521. #, no-wrap
  522. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  523. msgstr ""
  524. #. type: Plain text
  525. #: guix-git/doc/contributing.texi:364
  526. msgid "Using @code{--keep-failed} makes it easier to debug build failures since it provides access to the failed build tree. Another useful command-line option when debugging is @code{--log-file}, to access the build log."
  527. msgstr ""
  528. #. type: Plain text
  529. #: guix-git/doc/contributing.texi:369
  530. msgid "If the package is unknown to the @command{guix} command, it may be that the source file contains a syntax error, or lacks a @code{define-public} clause to export the package variable. To figure it out, you may load the module from Guile to get more information about the actual error:"
  531. msgstr ""
  532. #. type: example
  533. #: guix-git/doc/contributing.texi:372
  534. #, no-wrap
  535. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  536. msgstr ""
  537. #. type: Plain text
  538. #: guix-git/doc/contributing.texi:379
  539. msgid "Once your package builds correctly, please send us a patch (@pxref{Submitting Patches}). Well, if you need help, we will be happy to help you too. Once the patch is committed in the Guix repository, the new package automatically gets built on the supported platforms by @url{@value{SUBSTITUTE-URL}, our continuous integration system}."
  540. msgstr ""
  541. #. type: cindex
  542. #: guix-git/doc/contributing.texi:380
  543. #, no-wrap
  544. msgid "substituter"
  545. msgstr ""
  546. #. type: Plain text
  547. #: guix-git/doc/contributing.texi:387
  548. msgid "Users can obtain the new package definition simply by running @command{guix pull} (@pxref{Invoking guix pull}). When @code{@value{SUBSTITUTE-SERVER}} is done building the package, installing the package automatically downloads binaries from there (@pxref{Substitutes}). The only place where human intervention is needed is to review and apply the patch."
  549. msgstr ""
  550. #. type: subsection
  551. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:403
  552. #: guix-git/doc/contributing.texi:404
  553. #, no-wrap
  554. msgid "Software Freedom"
  555. msgstr ""
  556. #. type: menuentry
  557. #: guix-git/doc/contributing.texi:401
  558. msgid "What may go into the distribution."
  559. msgstr ""
  560. #. type: subsection
  561. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:431
  562. #: guix-git/doc/contributing.texi:432
  563. #, no-wrap
  564. msgid "Package Naming"
  565. msgstr ""
  566. #. type: menuentry
  567. #: guix-git/doc/contributing.texi:401
  568. msgid "What's in a name?"
  569. msgstr ""
  570. #. type: subsection
  571. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:464
  572. #: guix-git/doc/contributing.texi:465
  573. #, no-wrap
  574. msgid "Version Numbers"
  575. msgstr ""
  576. #. type: menuentry
  577. #: guix-git/doc/contributing.texi:401
  578. msgid "When the name is not enough."
  579. msgstr ""
  580. #. type: subsection
  581. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:555
  582. #: guix-git/doc/contributing.texi:556
  583. #, no-wrap
  584. msgid "Synopses and Descriptions"
  585. msgstr ""
  586. #. type: menuentry
  587. #: guix-git/doc/contributing.texi:401
  588. msgid "Helping users find the right package."
  589. msgstr ""
  590. #. type: subsection
  591. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:634
  592. #: guix-git/doc/contributing.texi:635
  593. #, no-wrap
  594. msgid "Snippets versus Phases"
  595. msgstr ""
  596. #. type: menuentry
  597. #: guix-git/doc/contributing.texi:401
  598. msgid "Whether to use a snippet, or a build phase."
  599. msgstr ""
  600. #. type: subsection
  601. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:649
  602. #: guix-git/doc/contributing.texi:650 guix-git/doc/guix.texi:1946
  603. #, no-wrap
  604. msgid "Emacs Packages"
  605. msgstr ""
  606. #. type: menuentry
  607. #: guix-git/doc/contributing.texi:401
  608. msgid "Your Elisp fix."
  609. msgstr ""
  610. #. type: subsection
  611. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:689
  612. #: guix-git/doc/contributing.texi:690
  613. #, no-wrap
  614. msgid "Python Modules"
  615. msgstr ""
  616. #. type: menuentry
  617. #: guix-git/doc/contributing.texi:401
  618. msgid "A touch of British comedy."
  619. msgstr ""
  620. #. type: subsection
  621. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:765
  622. #: guix-git/doc/contributing.texi:766
  623. #, no-wrap
  624. msgid "Perl Modules"
  625. msgstr ""
  626. #. type: menuentry
  627. #: guix-git/doc/contributing.texi:401
  628. msgid "Little pearls."
  629. msgstr ""
  630. #. type: subsection
  631. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:781
  632. #: guix-git/doc/contributing.texi:782
  633. #, no-wrap
  634. msgid "Java Packages"
  635. msgstr ""
  636. #. type: menuentry
  637. #: guix-git/doc/contributing.texi:401
  638. msgid "Coffee break."
  639. msgstr ""
  640. #. type: subsection
  641. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:801
  642. #: guix-git/doc/contributing.texi:802
  643. #, no-wrap
  644. msgid "Rust Crates"
  645. msgstr ""
  646. #. type: menuentry
  647. #: guix-git/doc/contributing.texi:401
  648. msgid "Beware of oxidation."
  649. msgstr ""
  650. #. type: subsection
  651. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:835
  652. #: guix-git/doc/contributing.texi:836
  653. #, no-wrap
  654. msgid "Fonts"
  655. msgstr ""
  656. #. type: menuentry
  657. #: guix-git/doc/contributing.texi:401
  658. msgid "Fond of fonts."
  659. msgstr ""
  660. #. type: cindex
  661. #: guix-git/doc/contributing.texi:407
  662. #, no-wrap
  663. msgid "free software"
  664. msgstr ""
  665. #. type: Plain text
  666. #: guix-git/doc/contributing.texi:415
  667. msgid "The GNU operating system has been developed so that users can have freedom in their computing. GNU is @dfn{free software}, meaning that users have the @url{https://www.gnu.org/philosophy/free-sw.html,four essential freedoms}: to run the program, to study and change the program in source code form, to redistribute exact copies, and to distribute modified versions. Packages found in the GNU distribution provide only software that conveys these four freedoms."
  668. msgstr ""
  669. #. type: Plain text
  670. #: guix-git/doc/contributing.texi:421
  671. msgid "In addition, the GNU distribution follow the @url{https://www.gnu.org/distros/free-system-distribution-guidelines.html,free software distribution guidelines}. Among other things, these guidelines reject non-free firmware, recommendations of non-free software, and discuss ways to deal with trademarks and patents."
  672. msgstr ""
  673. #. type: Plain text
  674. #: guix-git/doc/contributing.texi:429
  675. msgid "Some otherwise free upstream package sources contain a small and optional subset that violates the above guidelines, for instance because this subset is itself non-free code. When that happens, the offending items are removed with appropriate patches or code snippets in the @code{origin} form of the package (@pxref{Defining Packages}). This way, @code{guix build --source} returns the ``freed'' source rather than the unmodified upstream source."
  676. msgstr ""
  677. #. type: cindex
  678. #: guix-git/doc/contributing.texi:434
  679. #, no-wrap
  680. msgid "package name"
  681. msgstr ""
  682. #. type: Plain text
  683. #: guix-git/doc/contributing.texi:442
  684. msgid "A package actually has two names associated with it. First, there is the name of the @emph{Scheme variable}, the one following @code{define-public}. By this name, the package can be made known in the Scheme code, for instance as input to another package. Second, there is the string in the @code{name} field of a package definition. This name is used by package management commands such as @command{guix package} and @command{guix build}."
  685. msgstr ""
  686. #. type: Plain text
  687. #: guix-git/doc/contributing.texi:447
  688. msgid "Both are usually the same and correspond to the lowercase conversion of the project name chosen upstream, with underscores replaced with hyphens. For instance, GNUnet is available as @code{gnunet}, and SDL_net as @code{sdl-net}."
  689. msgstr ""
  690. #. type: Plain text
  691. #: guix-git/doc/contributing.texi:455
  692. msgid "A noteworthy exception to this rule is when the project name is only a single character, or if an older maintained project with the same name already exists---regardless of whether it has already been packaged for Guix. Use common sense to make such names unambiguous and meaningful. For example, Guix's package for the shell called ``s'' upstream is @code{s-shell} and @emph{not} @code{s}. Feel free to ask your fellow hackers for inspiration."
  693. msgstr ""
  694. #. type: Plain text
  695. #: guix-git/doc/contributing.texi:460
  696. msgid "We do not add @code{lib} prefixes for library packages, unless these are already part of the official project name. But @pxref{Python Modules} and @ref{Perl Modules} for special rules concerning modules for the Python and Perl languages."
  697. msgstr ""
  698. #. type: Plain text
  699. #: guix-git/doc/contributing.texi:462
  700. msgid "Font package names are handled differently, @pxref{Fonts}."
  701. msgstr ""
  702. #. type: cindex
  703. #: guix-git/doc/contributing.texi:467
  704. #, no-wrap
  705. msgid "package version"
  706. msgstr ""
  707. #. type: Plain text
  708. #: guix-git/doc/contributing.texi:476
  709. msgid "We usually package only the latest version of a given free software project. But sometimes, for instance for incompatible library versions, two (or more) versions of the same package are needed. These require different Scheme variable names. We use the name as defined in @ref{Package Naming} for the most recent version; previous versions use the same name, suffixed by @code{-} and the smallest prefix of the version number that may distinguish the two versions."
  710. msgstr ""
  711. #. type: Plain text
  712. #: guix-git/doc/contributing.texi:479
  713. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  714. msgstr ""
  715. #. type: Plain text
  716. #: guix-git/doc/contributing.texi:481
  717. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  718. msgstr ""
  719. #. type: lisp
  720. #: guix-git/doc/contributing.texi:493
  721. #, no-wrap
  722. msgid ""
  723. "(define-public gtk+\n"
  724. " (package\n"
  725. " (name \"gtk+\")\n"
  726. " (version \"3.9.12\")\n"
  727. " ...))\n"
  728. "(define-public gtk+-2\n"
  729. " (package\n"
  730. " (name \"gtk+\")\n"
  731. " (version \"2.24.20\")\n"
  732. " ...))\n"
  733. msgstr ""
  734. #. type: Plain text
  735. #: guix-git/doc/contributing.texi:495
  736. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  737. msgstr ""
  738. #. type: lisp
  739. #: guix-git/doc/contributing.texi:501
  740. #, no-wrap
  741. msgid ""
  742. "(define-public gtk+-3.8\n"
  743. " (package\n"
  744. " (name \"gtk+\")\n"
  745. " (version \"3.8.2\")\n"
  746. " ...))\n"
  747. msgstr ""
  748. #. type: cindex
  749. #: guix-git/doc/contributing.texi:505
  750. #, no-wrap
  751. msgid "version number, for VCS snapshots"
  752. msgstr ""
  753. #. type: Plain text
  754. #: guix-git/doc/contributing.texi:511
  755. msgid "Occasionally, we package snapshots of upstream's version control system (VCS) instead of formal releases. This should remain exceptional, because it is up to upstream developers to clarify what the stable release is. Yet, it is sometimes necessary. So, what should we put in the @code{version} field?"
  756. msgstr ""
  757. #. type: Plain text
  758. #: guix-git/doc/contributing.texi:519
  759. msgid "Clearly, we need to make the commit identifier of the VCS snapshot visible in the version string, but we also need to make sure that the version string is monotonically increasing so that @command{guix package --upgrade} can determine which version is newer. Since commit identifiers, notably with Git, are not monotonically increasing, we add a revision number that we increase each time we upgrade to a newer snapshot. The resulting version string looks like this:"
  760. msgstr ""
  761. #. type: example
  762. #: guix-git/doc/contributing.texi:528
  763. #, no-wrap
  764. msgid ""
  765. "2.0.11-3.cabba9e\n"
  766. " ^ ^ ^\n"
  767. " | | `-- upstream commit ID\n"
  768. " | |\n"
  769. " | `--- Guix package revision\n"
  770. " |\n"
  771. "latest upstream version\n"
  772. msgstr ""
  773. #. type: Plain text
  774. #: guix-git/doc/contributing.texi:537
  775. msgid "It is a good idea to strip commit identifiers in the @code{version} field to, say, 7 digits. It avoids an aesthetic annoyance (assuming aesthetics have a role to play here) as well as problems related to OS limits such as the maximum shebang length (127 bytes for the Linux kernel). It is best to use the full commit identifiers in @code{origin}s, though, to avoid ambiguities. A typical package definition may look like this:"
  776. msgstr ""
  777. #. type: lisp
  778. #: guix-git/doc/contributing.texi:553
  779. #, no-wrap
  780. msgid ""
  781. "(define my-package\n"
  782. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  783. " (revision \"1\")) ;Guix package revision\n"
  784. " (package\n"
  785. " (version (git-version \"0.9\" revision commit))\n"
  786. " (source (origin\n"
  787. " (method git-fetch)\n"
  788. " (uri (git-reference\n"
  789. " (url \"git://example.org/my-package.git\")\n"
  790. " (commit commit)))\n"
  791. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  792. " (file-name (git-file-name name version))))\n"
  793. " ;; @dots{}\n"
  794. " )))\n"
  795. msgstr ""
  796. #. type: cindex
  797. #: guix-git/doc/contributing.texi:558
  798. #, no-wrap
  799. msgid "package description"
  800. msgstr ""
  801. #. type: cindex
  802. #: guix-git/doc/contributing.texi:559
  803. #, no-wrap
  804. msgid "package synopsis"
  805. msgstr ""
  806. #. type: Plain text
  807. #: guix-git/doc/contributing.texi:566
  808. msgid "As we have seen before, each package in GNU@tie{}Guix includes a synopsis and a description (@pxref{Defining Packages}). Synopses and descriptions are important: They are what @command{guix package --search} searches, and a crucial piece of information to help users determine whether a given package suits their needs. Consequently, packagers should pay attention to what goes into them."
  809. msgstr ""
  810. #. type: Plain text
  811. #: guix-git/doc/contributing.texi:574
  812. msgid "Synopses must start with a capital letter and must not end with a period. They must not start with ``a'' or ``the'', which usually does not bring anything; for instance, prefer ``File-frobbing tool'' over ``A tool that frobs files''. The synopsis should say what the package is---e.g., ``Core GNU utilities (file, text, shell)''---or what it is used for---e.g., the synopsis for GNU@tie{}grep is ``Print lines matching a pattern''."
  813. msgstr ""
  814. #. type: Plain text
  815. #: guix-git/doc/contributing.texi:584
  816. msgid "Keep in mind that the synopsis must be meaningful for a very wide audience. For example, ``Manipulate alignments in the SAM format'' might make sense for a seasoned bioinformatics researcher, but might be fairly unhelpful or even misleading to a non-specialized audience. It is a good idea to come up with a synopsis that gives an idea of the application domain of the package. In this example, this might give something like ``Manipulate nucleotide sequence alignments'', which hopefully gives the user a better idea of whether this is what they are looking for."
  817. msgstr ""
  818. #. type: Plain text
  819. #: guix-git/doc/contributing.texi:592
  820. msgid "Descriptions should take between five and ten lines. Use full sentences, and avoid using acronyms without first introducing them. Please avoid marketing phrases such as ``world-leading'', ``industrial-strength'', and ``next-generation'', and avoid superlatives like ``the most advanced''---they are not helpful to users looking for a package and may even sound suspicious. Instead, try to be factual, mentioning use cases and features."
  821. msgstr ""
  822. #. type: cindex
  823. #: guix-git/doc/contributing.texi:593
  824. #, no-wrap
  825. msgid "Texinfo markup, in package descriptions"
  826. msgstr ""
  827. #. type: Plain text
  828. #: guix-git/doc/contributing.texi:602
  829. msgid "Descriptions can include Texinfo markup, which is useful to introduce ornaments such as @code{@@code} or @code{@@dfn}, bullet lists, or hyperlinks (@pxref{Overview,,, texinfo, GNU Texinfo}). However you should be careful when using some characters for example @samp{@@} and curly braces which are the basic special characters in Texinfo (@pxref{Special Characters,,, texinfo, GNU Texinfo}). User interfaces such as @command{guix package --show} take care of rendering it appropriately."
  830. msgstr ""
  831. #. type: Plain text
  832. #: guix-git/doc/contributing.texi:608
  833. msgid "Synopses and descriptions are translated by volunteers @uref{https://translate.fedoraproject.org/projects/guix/packages, at Weblate} so that as many users as possible can read them in their native language. User interfaces search them and display them in the language specified by the current locale."
  834. msgstr ""
  835. #. type: Plain text
  836. #: guix-git/doc/contributing.texi:613
  837. msgid "To allow @command{xgettext} to extract them as translatable strings, synopses and descriptions @emph{must be literal strings}. This means that you cannot use @code{string-append} or @code{format} to construct these strings:"
  838. msgstr ""
  839. #. type: lisp
  840. #: guix-git/doc/contributing.texi:619
  841. #, no-wrap
  842. msgid ""
  843. "(package\n"
  844. " ;; @dots{}\n"
  845. " (synopsis \"This is translatable\")\n"
  846. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  847. msgstr ""
  848. #. type: Plain text
  849. #: guix-git/doc/contributing.texi:627
  850. msgid "Translation is a lot of work so, as a packager, please pay even more attention to your synopses and descriptions as every change may entail additional work for translators. In order to help them, it is possible to make recommendations or instructions visible to them by inserting special comments like this (@pxref{xgettext Invocation,,, gettext, GNU Gettext}):"
  851. msgstr ""
  852. #. type: lisp
  853. #: guix-git/doc/contributing.texi:632
  854. #, no-wrap
  855. msgid ""
  856. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  857. "(description \"ARandR is designed to provide a simple visual front end\n"
  858. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  859. msgstr ""
  860. #. type: cindex
  861. #: guix-git/doc/contributing.texi:637
  862. #, no-wrap
  863. msgid "snippets, when to use"
  864. msgstr ""
  865. #. type: Plain text
  866. #: guix-git/doc/contributing.texi:648
  867. msgid "The boundary between using an origin snippet versus a build phase to modify the sources of a package can be elusive. Origin snippets are typically used to remove unwanted files such as bundled libraries, nonfree sources, or to apply simple substitutions. The source derived from an origin should produce a source that can be used to build the package on any system that the upstream package supports (i.e., act as the corresponding source). In particular, origin snippets must not embed store items in the sources; such patching should rather be done using build phases. Refer to the @code{origin} record documentation for more information (@pxref{origin Reference})."
  868. msgstr ""
  869. #. type: cindex
  870. #: guix-git/doc/contributing.texi:652
  871. #, no-wrap
  872. msgid "emacs, packaging"
  873. msgstr ""
  874. #. type: cindex
  875. #: guix-git/doc/contributing.texi:653
  876. #, no-wrap
  877. msgid "elisp, packaging"
  878. msgstr ""
  879. #. type: Plain text
  880. #: guix-git/doc/contributing.texi:665
  881. msgid "Emacs packages should preferably use the Emacs build system (@pxref{emacs-build-system}), for uniformity and the benefits provided by its build phases, such as the auto-generation of the autoloads file and the byte compilation of the sources. Because there is no standardized way to run a test suite for Emacs packages, tests are disabled by default. When a test suite is available, it should be enabled by setting the @code{#:tests?} argument to @code{#true}. By default, the command to run the test is @command{make check}, but any command can be specified via the @code{#:test-command} argument. The @code{#:test-command} argument expects a list containing a command and its arguments, to be invoked during the @code{check} phase."
  882. msgstr ""
  883. #. type: Plain text
  884. #: guix-git/doc/contributing.texi:670
  885. msgid "The Elisp dependencies of Emacs packages are typically provided as @code{propagated-inputs} when required at run time. As for other packages, build or test dependencies should be specified as @code{native-inputs}."
  886. msgstr ""
  887. #. type: Plain text
  888. #: guix-git/doc/contributing.texi:679
  889. msgid "Emacs packages sometimes depend on resources directories that should be installed along the Elisp files. The @code{#:include} argument can be used for that purpose, by specifying a list of regexps to match. The best practice when using the @code{#:include} argument is to extend rather than override its default value (accessible via the @code{%default-include} variable). As an example, a yasnippet extension package typically include a @file{snippets} directory, which could be copied to the installation directory using:"
  890. msgstr ""
  891. #. type: lisp
  892. #: guix-git/doc/contributing.texi:682
  893. #, no-wrap
  894. msgid "#:include (cons \"^snippets/\" %default-include))\n"
  895. msgstr ""
  896. #. type: Plain text
  897. #: guix-git/doc/contributing.texi:688
  898. msgid "When encountering problems, it is wise to check for the presence of the @code{Package-Requires} extension header in the package main source file, and whether any dependencies and their versions listed therein are satisfied."
  899. msgstr ""
  900. #. type: cindex
  901. #: guix-git/doc/contributing.texi:692
  902. #, no-wrap
  903. msgid "python"
  904. msgstr ""
  905. #. type: Plain text
  906. #: guix-git/doc/contributing.texi:698
  907. msgid "We currently package Python 2 and Python 3, under the Scheme variable names @code{python-2} and @code{python} as explained in @ref{Version Numbers}. To avoid confusion and naming clashes with other programming languages, it seems desirable that the name of a package for a Python module contains the word @code{python}."
  908. msgstr ""
  909. #. type: Plain text
  910. #: guix-git/doc/contributing.texi:705
  911. msgid "Some modules are compatible with only one version of Python, others with both. If the package Foo is compiled with Python 3, we name it @code{python-foo}. If it is compiled with Python 2, we name it @code{python2-foo}. Packages should be added when they are necessary; we don't add Python 2 variants of the package unless we are going to use them."
  912. msgstr ""
  913. #. type: Plain text
  914. #: guix-git/doc/contributing.texi:711
  915. msgid "If a project already contains the word @code{python}, we drop this; for instance, the module python-dateutil is packaged under the names @code{python-dateutil} and @code{python2-dateutil}. If the project name starts with @code{py} (e.g.@: @code{pytz}), we keep it and prefix it as described above."
  916. msgstr ""
  917. #. type: subsubsection
  918. #: guix-git/doc/contributing.texi:712
  919. #, no-wrap
  920. msgid "Specifying Dependencies"
  921. msgstr ""
  922. #. type: cindex
  923. #: guix-git/doc/contributing.texi:713
  924. #, no-wrap
  925. msgid "inputs, for Python packages"
  926. msgstr ""
  927. #. type: Plain text
  928. #: guix-git/doc/contributing.texi:718
  929. msgid "Dependency information for Python packages is usually available in the package source tree, with varying degrees of accuracy: in the @file{setup.py} file, in @file{requirements.txt}, or in @file{tox.ini}."
  930. msgstr ""
  931. #. type: Plain text
  932. #: guix-git/doc/contributing.texi:724
  933. msgid "Your mission, when writing a recipe for a Python package, is to map these dependencies to the appropriate type of ``input'' (@pxref{package Reference, inputs}). Although the @code{pypi} importer normally does a good job (@pxref{Invoking guix import}), you may want to check the following check list to determine which dependency goes where."
  934. msgstr ""
  935. #. type: itemize
  936. #: guix-git/doc/contributing.texi:732
  937. msgid "We currently package Python 2 with @code{setuptools} and @code{pip} installed like Python 3.4 has per default. Thus you don't need to specify either of these as an input. @command{guix lint} will warn you if you do."
  938. msgstr ""
  939. #. type: itemize
  940. #: guix-git/doc/contributing.texi:738
  941. msgid "Python dependencies required at run time go into @code{propagated-inputs}. They are typically defined with the @code{install_requires} keyword in @file{setup.py}, or in the @file{requirements.txt} file."
  942. msgstr ""
  943. #. type: itemize
  944. #: guix-git/doc/contributing.texi:746
  945. msgid "Python packages required only at build time---e.g., those listed with the @code{setup_requires} keyword in @file{setup.py}---or only for testing---e.g., those in @code{tests_require}---go into @code{native-inputs}. The rationale is that (1) they do not need to be propagated because they are not needed at run time, and (2) in a cross-compilation context, it's the ``native'' input that we'd want."
  946. msgstr ""
  947. #. type: itemize
  948. #: guix-git/doc/contributing.texi:750
  949. msgid "Examples are the @code{pytest}, @code{mock}, and @code{nose} test frameworks. Of course if any of these packages is also required at run-time, it needs to go to @code{propagated-inputs}."
  950. msgstr ""
  951. #. type: itemize
  952. #: guix-git/doc/contributing.texi:755
  953. msgid "Anything that does not fall in the previous categories goes to @code{inputs}, for example programs or C libraries required for building Python packages containing C extensions."
  954. msgstr ""
  955. #. type: itemize
  956. #: guix-git/doc/contributing.texi:761
  957. msgid "If a Python package has optional dependencies (@code{extras_require}), it is up to you to decide whether to add them or not, based on their usefulness/overhead ratio (@pxref{Submitting Patches, @command{guix size}})."
  958. msgstr ""
  959. #. type: cindex
  960. #: guix-git/doc/contributing.texi:768
  961. #, no-wrap
  962. msgid "perl"
  963. msgstr ""
  964. #. type: Plain text
  965. #: guix-git/doc/contributing.texi:779
  966. msgid "Perl programs standing for themselves are named as any other package, using the lowercase upstream name. For Perl packages containing a single class, we use the lowercase class name, replace all occurrences of @code{::} by dashes and prepend the prefix @code{perl-}. So the class @code{XML::Parser} becomes @code{perl-xml-parser}. Modules containing several classes keep their lowercase upstream name and are also prepended by @code{perl-}. Such modules tend to have the word @code{perl} somewhere in their name, which gets dropped in favor of the prefix. For instance, @code{libwww-perl} becomes @code{perl-libwww}."
  967. msgstr ""
  968. #. type: cindex
  969. #: guix-git/doc/contributing.texi:784
  970. #, no-wrap
  971. msgid "java"
  972. msgstr ""
  973. #. type: Plain text
  974. #: guix-git/doc/contributing.texi:787
  975. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  976. msgstr ""
  977. #. type: Plain text
  978. #: guix-git/doc/contributing.texi:793
  979. msgid "To avoid confusion and naming clashes with other programming languages, it is desirable that the name of a package for a Java package is prefixed with @code{java-}. If a project already contains the word @code{java}, we drop this; for instance, the package @code{ngsjava} is packaged under the name @code{java-ngs}."
  980. msgstr ""
  981. #. type: Plain text
  982. #: guix-git/doc/contributing.texi:799
  983. msgid "For Java packages containing a single class or a small class hierarchy, we use the lowercase class name, replace all occurrences of @code{.} by dashes and prepend the prefix @code{java-}. So the class @code{apache.commons.cli} becomes package @code{java-apache-commons-cli}."
  984. msgstr ""
  985. #. type: cindex
  986. #: guix-git/doc/contributing.texi:804
  987. #, no-wrap
  988. msgid "rust"
  989. msgstr ""
  990. #. type: Plain text
  991. #: guix-git/doc/contributing.texi:807
  992. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  993. msgstr ""
  994. #. type: Plain text
  995. #: guix-git/doc/contributing.texi:811
  996. msgid "To prevent namespace collisions we prefix all other Rust packages with the @code{rust-} prefix. The name should be changed to lowercase as appropriate and dashes should remain in place."
  997. msgstr ""
  998. #. type: Plain text
  999. #: guix-git/doc/contributing.texi:817
  1000. msgid "In the rust ecosystem it is common for multiple incompatible versions of a package to be used at any given time, so all package definitions should have a versioned suffix. The versioned suffix is the left-most non-zero digit (and any leading zeros, of course). This follows the ``caret'' version scheme intended by Cargo. Examples@: @code{rust-clap-2}, @code{rust-rand-0.6}."
  1001. msgstr ""
  1002. #. type: Plain text
  1003. #: guix-git/doc/contributing.texi:827
  1004. msgid "Because of the difficulty in reusing rust packages as pre-compiled inputs for other packages the Cargo build system (@pxref{Build Systems, @code{cargo-build-system}}) presents the @code{#:cargo-inputs} and @code{cargo-development-inputs} keywords as build system arguments. It would be helpful to think of these as similar to @code{propagated-inputs} and @code{native-inputs}. Rust @code{dependencies} and @code{build-dependencies} should go in @code{#:cargo-inputs}, and @code{dev-dependencies} should go in @code{#:cargo-development-inputs}. If a Rust package links to other libraries then the standard placement in @code{inputs} and the like should be used."
  1005. msgstr ""
  1006. #. type: Plain text
  1007. #: guix-git/doc/contributing.texi:833
  1008. msgid "Care should be taken to ensure the correct version of dependencies are used; to this end we try to refrain from skipping the tests or using @code{#:skip-build?} when possible. Of course this is not always possible, as the package may be developed for a different Operating System, depend on features from the Nightly Rust compiler, or the test suite may have atrophied since it was released."
  1009. msgstr ""
  1010. #. type: cindex
  1011. #: guix-git/doc/contributing.texi:838 guix-git/doc/guix.texi:1881
  1012. #, no-wrap
  1013. msgid "fonts"
  1014. msgstr ""
  1015. #. type: Plain text
  1016. #: guix-git/doc/contributing.texi:844
  1017. msgid "For fonts that are in general not installed by a user for typesetting purposes, or that are distributed as part of a larger software package, we rely on the general packaging rules for software; for instance, this applies to the fonts delivered as part of the X.Org system or fonts that are part of TeX Live."
  1018. msgstr ""
  1019. #. type: Plain text
  1020. #: guix-git/doc/contributing.texi:848
  1021. msgid "To make it easier for a user to search for fonts, names for other packages containing only fonts are constructed as follows, independently of the upstream package name."
  1022. msgstr ""
  1023. #. type: Plain text
  1024. #: guix-git/doc/contributing.texi:856
  1025. msgid "The name of a package containing only one font family starts with @code{font-}; it is followed by the foundry name and a dash @code{-} if the foundry is known, and the font family name, in which spaces are replaced by dashes (and as usual, all upper case letters are transformed to lower case). For example, the Gentium font family by SIL is packaged under the name @code{font-sil-gentium}."
  1026. msgstr ""
  1027. #. type: Plain text
  1028. #: guix-git/doc/contributing.texi:865
  1029. msgid "For a package containing several font families, the name of the collection is used in the place of the font family name. For instance, the Liberation fonts consist of three families, Liberation Sans, Liberation Serif and Liberation Mono. These could be packaged separately under the names @code{font-liberation-sans} and so on; but as they are distributed together under a common name, we prefer to package them together as @code{font-liberation}."
  1030. msgstr ""
  1031. #. type: Plain text
  1032. #: guix-git/doc/contributing.texi:871
  1033. msgid "In the case where several formats of the same font family or font collection are packaged separately, a short form of the format, prepended by a dash, is added to the package name. We use @code{-ttf} for TrueType fonts, @code{-otf} for OpenType fonts and @code{-type1} for PostScript Type 1 fonts."
  1034. msgstr ""
  1035. #. type: Plain text
  1036. #: guix-git/doc/contributing.texi:879
  1037. msgid "In general our code follows the GNU Coding Standards (@pxref{Top,,, standards, GNU Coding Standards}). However, they do not say much about Scheme, so here are some additional rules."
  1038. msgstr ""
  1039. #. type: subsection
  1040. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:887
  1041. #: guix-git/doc/contributing.texi:888
  1042. #, no-wrap
  1043. msgid "Programming Paradigm"
  1044. msgstr ""
  1045. #. type: menuentry
  1046. #: guix-git/doc/contributing.texi:885
  1047. msgid "How to compose your elements."
  1048. msgstr ""
  1049. #. type: subsection
  1050. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:894
  1051. #: guix-git/doc/contributing.texi:895
  1052. #, no-wrap
  1053. msgid "Modules"
  1054. msgstr ""
  1055. #. type: menuentry
  1056. #: guix-git/doc/contributing.texi:885
  1057. msgid "Where to store your code?"
  1058. msgstr ""
  1059. #. type: subsection
  1060. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:905
  1061. #: guix-git/doc/contributing.texi:906
  1062. #, no-wrap
  1063. msgid "Data Types and Pattern Matching"
  1064. msgstr ""
  1065. #. type: menuentry
  1066. #: guix-git/doc/contributing.texi:885
  1067. msgid "Implementing data structures."
  1068. msgstr ""
  1069. #. type: subsection
  1070. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:920
  1071. #: guix-git/doc/contributing.texi:921
  1072. #, no-wrap
  1073. msgid "Formatting Code"
  1074. msgstr ""
  1075. #. type: menuentry
  1076. #: guix-git/doc/contributing.texi:885
  1077. msgid "Writing conventions."
  1078. msgstr ""
  1079. #. type: Plain text
  1080. #: guix-git/doc/contributing.texi:893
  1081. msgid "Scheme code in Guix is written in a purely functional style. One exception is code that involves input/output, and procedures that implement low-level concepts, such as the @code{memoize} procedure."
  1082. msgstr ""
  1083. #. type: Plain text
  1084. #: guix-git/doc/contributing.texi:901
  1085. msgid "Guile modules that are meant to be used on the builder side must live in the @code{(guix build @dots{})} name space. They must not refer to other Guix or GNU modules. However, it is OK for a ``host-side'' module to use a build-side module."
  1086. msgstr ""
  1087. #. type: Plain text
  1088. #: guix-git/doc/contributing.texi:904
  1089. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1090. msgstr ""
  1091. #. type: Plain text
  1092. #: guix-git/doc/contributing.texi:913
  1093. msgid "The tendency in classical Lisp is to use lists to represent everything, and then to browse them ``by hand'' using @code{car}, @code{cdr}, @code{cadr}, and co. There are several problems with that style, notably the fact that it is hard to read, error-prone, and a hindrance to proper type error reports."
  1094. msgstr ""
  1095. #. type: Plain text
  1096. #: guix-git/doc/contributing.texi:919
  1097. msgid "Guix code should define appropriate data types (for instance, using @code{define-record-type*}) rather than abuse lists. In addition, it should use pattern matching, via Guile’s @code{(ice-9 match)} module, especially when matching lists (@pxref{Pattern Matching,,, guile, GNU Guile Reference Manual})."
  1098. msgstr ""
  1099. #. type: cindex
  1100. #: guix-git/doc/contributing.texi:923
  1101. #, no-wrap
  1102. msgid "formatting code"
  1103. msgstr ""
  1104. #. type: cindex
  1105. #: guix-git/doc/contributing.texi:924
  1106. #, no-wrap
  1107. msgid "coding style"
  1108. msgstr ""
  1109. #. type: Plain text
  1110. #: guix-git/doc/contributing.texi:931
  1111. msgid "When writing Scheme code, we follow common wisdom among Scheme programmers. In general, we follow the @url{https://mumble.net/~campbell/scheme/style.txt, Riastradh's Lisp Style Rules}. This document happens to describe the conventions mostly used in Guile’s code too. It is very thoughtful and well written, so please do read it."
  1112. msgstr ""
  1113. #. type: Plain text
  1114. #: guix-git/doc/contributing.texi:938
  1115. msgid "Some special forms introduced in Guix, such as the @code{substitute*} macro, have special indentation rules. These are defined in the @file{.dir-locals.el} file, which Emacs automatically uses. Also note that Emacs-Guix provides @code{guix-devel-mode} mode that indents and highlights Guix code properly (@pxref{Development,,, emacs-guix, The Emacs-Guix Reference Manual})."
  1116. msgstr ""
  1117. #. type: cindex
  1118. #: guix-git/doc/contributing.texi:939
  1119. #, no-wrap
  1120. msgid "indentation, of code"
  1121. msgstr ""
  1122. #. type: cindex
  1123. #: guix-git/doc/contributing.texi:940
  1124. #, no-wrap
  1125. msgid "formatting, of code"
  1126. msgstr ""
  1127. #. type: Plain text
  1128. #: guix-git/doc/contributing.texi:943
  1129. msgid "If you do not use Emacs, please make sure to let your editor knows these rules. To automatically indent a package definition, you can also run:"
  1130. msgstr ""
  1131. #. type: example
  1132. #: guix-git/doc/contributing.texi:946
  1133. #, no-wrap
  1134. msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  1135. msgstr ""
  1136. #. type: Plain text
  1137. #: guix-git/doc/contributing.texi:952
  1138. msgid "This automatically indents the definition of @var{package} in @file{gnu/packages/@var{file}.scm} by running Emacs in batch mode. To indent a whole file, omit the second argument:"
  1139. msgstr ""
  1140. #. type: example
  1141. #: guix-git/doc/contributing.texi:955
  1142. #, no-wrap
  1143. msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  1144. msgstr ""
  1145. #. type: cindex
  1146. #: guix-git/doc/contributing.texi:957
  1147. #, no-wrap
  1148. msgid "Vim, Scheme code editing"
  1149. msgstr ""
  1150. #. type: Plain text
  1151. #: guix-git/doc/contributing.texi:963
  1152. msgid "If you are editing code with Vim, we recommend that you run @code{:set autoindent} so that your code is automatically indented as you type. Additionally, @uref{https://www.vim.org/scripts/script.php?script_id=3998, @code{paredit.vim}} may help you deal with all these parentheses."
  1153. msgstr ""
  1154. #. type: Plain text
  1155. #: guix-git/doc/contributing.texi:967
  1156. msgid "We require all top-level procedures to carry a docstring. This requirement can be relaxed for simple private procedures in the @code{(guix build @dots{})} name space, though."
  1157. msgstr ""
  1158. #. type: Plain text
  1159. #: guix-git/doc/contributing.texi:970
  1160. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1161. msgstr ""
  1162. #. type: Plain text
  1163. #: guix-git/doc/contributing.texi:981
  1164. msgid "Development is done using the Git distributed version control system. Thus, access to the repository is not strictly necessary. We welcome contributions in the form of patches as produced by @code{git format-patch} sent to the @email{guix-patches@@gnu.org} mailing list. Seasoned Guix developers may also want to look at the section on commit access (@pxref{Commit Access})."
  1165. msgstr ""
  1166. #. type: Plain text
  1167. #: guix-git/doc/contributing.texi:988
  1168. msgid "This mailing list is backed by a Debbugs instance, which allows us to keep track of submissions (@pxref{Tracking Bugs and Patches}). Each message sent to that mailing list gets a new tracking number assigned; people can then follow up on the submission by sending email to @code{@var{NNN}@@debbugs.gnu.org}, where @var{NNN} is the tracking number (@pxref{Sending a Patch Series})."
  1169. msgstr ""
  1170. #. type: Plain text
  1171. #: guix-git/doc/contributing.texi:992
  1172. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1173. msgstr ""
  1174. #. type: Plain text
  1175. #: guix-git/doc/contributing.texi:995
  1176. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1177. msgstr ""
  1178. #. type: enumerate
  1179. #: guix-git/doc/contributing.texi:1002
  1180. msgid "If the authors of the packaged software provide a cryptographic signature for the release tarball, make an effort to verify the authenticity of the archive. For a detached GPG signature file this would be done with the @code{gpg --verify} command."
  1181. msgstr ""
  1182. #. type: enumerate
  1183. #: guix-git/doc/contributing.texi:1006
  1184. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1185. msgstr ""
  1186. #. type: enumerate
  1187. #: guix-git/doc/contributing.texi:1011
  1188. msgid "Run @code{guix lint @var{package}}, where @var{package} is the name of the new or modified package, and fix any errors it reports (@pxref{Invoking guix lint})."
  1189. msgstr ""
  1190. #. type: enumerate
  1191. #: guix-git/doc/contributing.texi:1015
  1192. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1193. msgstr ""
  1194. #. type: enumerate
  1195. #: guix-git/doc/contributing.texi:1022
  1196. msgid "We recommend you also try building the package on other supported platforms. As you may not have access to actual hardware platforms, we recommend using the @code{qemu-binfmt-service-type} to emulate them. In order to enable it, add the following service to the list of services in your @code{operating-system} configuration:"
  1197. msgstr ""
  1198. #. type: lisp
  1199. #: guix-git/doc/contributing.texi:1027
  1200. #, no-wrap
  1201. msgid ""
  1202. "(service qemu-binfmt-service-type\n"
  1203. " (qemu-binfmt-configuration\n"
  1204. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))\n"
  1205. msgstr ""
  1206. #. type: enumerate
  1207. #: guix-git/doc/contributing.texi:1030
  1208. msgid "Then reconfigure your system."
  1209. msgstr ""
  1210. #. type: enumerate
  1211. #: guix-git/doc/contributing.texi:1035
  1212. msgid "You can then build packages for different platforms by specifying the @code{--system} option. For example, to build the \"hello\" package for the armhf, aarch64, or mips64 architectures, you would run the following commands, respectively:"
  1213. msgstr ""
  1214. #. type: example
  1215. #: guix-git/doc/contributing.texi:1038
  1216. #, no-wrap
  1217. msgid ""
  1218. "guix build --system=armhf-linux --rounds=2 hello\n"
  1219. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1220. msgstr ""
  1221. #. type: cindex
  1222. #: guix-git/doc/contributing.texi:1041
  1223. #, no-wrap
  1224. msgid "bundling"
  1225. msgstr ""
  1226. #. type: enumerate
  1227. #: guix-git/doc/contributing.texi:1044
  1228. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1229. msgstr ""
  1230. #. type: enumerate
  1231. #: guix-git/doc/contributing.texi:1053
  1232. msgid "Sometimes, packages include copies of the source code of their dependencies as a convenience for users. However, as a distribution, we want to make sure that such packages end up using the copy we already have in the distribution, if there is one. This improves resource usage (the dependency is built and stored only once), and allows the distribution to make transverse changes such as applying security updates for a given software package in a single place and have them affect the whole system---something that bundled copies prevent."
  1233. msgstr ""
  1234. #. type: enumerate
  1235. #: guix-git/doc/contributing.texi:1062
  1236. msgid "Take a look at the profile reported by @command{guix size} (@pxref{Invoking guix size}). This will allow you to notice references to other packages unwillingly retained. It may also help determine whether to split the package (@pxref{Packages with Multiple Outputs}), and which optional dependencies should be used. In particular, avoid adding @code{texlive} as a dependency: because of its extreme size, use the @code{texlive-tiny} package or @code{texlive-union} procedure instead."
  1237. msgstr ""
  1238. #. type: enumerate
  1239. #: guix-git/doc/contributing.texi:1067
  1240. msgid "For important changes, check that dependent package (if applicable) are not affected by the change; @code{guix refresh --list-dependent @var{package}} will help you do that (@pxref{Invoking guix refresh})."
  1241. msgstr ""
  1242. #. type: cindex
  1243. #: guix-git/doc/contributing.texi:1069
  1244. #, no-wrap
  1245. msgid "branching strategy"
  1246. msgstr ""
  1247. #. type: cindex
  1248. #: guix-git/doc/contributing.texi:1070
  1249. #, no-wrap
  1250. msgid "rebuild scheduling strategy"
  1251. msgstr ""
  1252. #. type: enumerate
  1253. #: guix-git/doc/contributing.texi:1073
  1254. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1255. msgstr ""
  1256. #. type: item
  1257. #: guix-git/doc/contributing.texi:1075
  1258. #, no-wrap
  1259. msgid "300 dependent packages or less"
  1260. msgstr ""
  1261. #. type: table
  1262. #: guix-git/doc/contributing.texi:1077
  1263. msgid "@code{master} branch (non-disruptive changes)."
  1264. msgstr ""
  1265. #. type: item
  1266. #: guix-git/doc/contributing.texi:1078
  1267. #, no-wrap
  1268. msgid "between 300 and 1,800 dependent packages"
  1269. msgstr ""
  1270. #. type: table
  1271. #: guix-git/doc/contributing.texi:1083
  1272. msgid "@code{staging} branch (non-disruptive changes). This branch is intended to be merged in @code{master} every 6 weeks or so. Topical changes (e.g., an update of the GNOME stack) can instead go to a specific branch (say, @code{gnome-updates})."
  1273. msgstr ""
  1274. #. type: item
  1275. #: guix-git/doc/contributing.texi:1084
  1276. #, no-wrap
  1277. msgid "more than 1,800 dependent packages"
  1278. msgstr ""
  1279. #. type: table
  1280. #: guix-git/doc/contributing.texi:1088
  1281. msgid "@code{core-updates} branch (may include major and potentially disruptive changes). This branch is intended to be merged in @code{master} every 6 months or so."
  1282. msgstr ""
  1283. #. type: enumerate
  1284. #: guix-git/doc/contributing.texi:1095
  1285. msgid "All these branches are @uref{@value{SUBSTITUTE-URL}, tracked by our build farm} and merged into @code{master} once everything has been successfully built. This allows us to fix issues before they hit users, and to reduce the window during which pre-built binaries are not available."
  1286. msgstr ""
  1287. #. type: enumerate
  1288. #: guix-git/doc/contributing.texi:1104
  1289. msgid "When we decide to start building the @code{staging} or @code{core-updates} branches, they will be forked and renamed with the suffix @code{-frozen}, at which time only bug fixes may be pushed to the frozen branches. The @code{core-updates} and @code{staging} branches will remain open to accept patches for the next cycle. Please ask on the mailing list or IRC if unsure where to place a patch."
  1290. msgstr ""
  1291. #. type: cindex
  1292. #: guix-git/doc/contributing.texi:1106
  1293. #, no-wrap
  1294. msgid "determinism, of build processes"
  1295. msgstr ""
  1296. #. type: cindex
  1297. #: guix-git/doc/contributing.texi:1107
  1298. #, no-wrap
  1299. msgid "reproducible builds, checking"
  1300. msgstr ""
  1301. #. type: enumerate
  1302. #: guix-git/doc/contributing.texi:1111
  1303. msgid "Check whether the package's build process is deterministic. This typically means checking whether an independent build of the package yields the exact same result that you obtained, bit for bit."
  1304. msgstr ""
  1305. #. type: enumerate
  1306. #: guix-git/doc/contributing.texi:1114
  1307. msgid "A simple way to do that is by building the same package several times in a row on your machine (@pxref{Invoking guix build}):"
  1308. msgstr ""
  1309. #. type: example
  1310. #: guix-git/doc/contributing.texi:1117
  1311. #, no-wrap
  1312. msgid "guix build --rounds=2 my-package\n"
  1313. msgstr ""
  1314. #. type: enumerate
  1315. #: guix-git/doc/contributing.texi:1121
  1316. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1317. msgstr ""
  1318. #. type: enumerate
  1319. #: guix-git/doc/contributing.texi:1131
  1320. msgid "Another option is to use @command{guix challenge} (@pxref{Invoking guix challenge}). You may run it once the package has been committed and built by @code{@value{SUBSTITUTE-SERVER}} to check whether it obtains the same result as you did. Better yet: Find another machine that can build it and run @command{guix publish}. Since the remote build machine is likely different from yours, this can catch non-determinism issues related to the hardware---e.g., use of different instruction set extensions---or to the operating system kernel---e.g., reliance on @code{uname} or @file{/proc} files."
  1321. msgstr ""
  1322. #. type: enumerate
  1323. #: guix-git/doc/contributing.texi:1137
  1324. msgid "When writing documentation, please use gender-neutral wording when referring to people, such as @uref{https://en.wikipedia.org/wiki/Singular_they, singular ``they''@comma{} ``their''@comma{} ``them''}, and so forth."
  1325. msgstr ""
  1326. #. type: enumerate
  1327. #: guix-git/doc/contributing.texi:1141
  1328. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1329. msgstr ""
  1330. #. type: enumerate
  1331. #: guix-git/doc/contributing.texi:1144
  1332. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1333. msgstr ""
  1334. #. type: enumerate
  1335. #: guix-git/doc/contributing.texi:1149
  1336. msgid "Please follow our code formatting rules, possibly running the @command{etc/indent-code.el} script to do that automatically for you (@pxref{Formatting Code})."
  1337. msgstr ""
  1338. #. type: enumerate
  1339. #: guix-git/doc/contributing.texi:1157
  1340. msgid "When possible, use mirrors in the source URL (@pxref{Invoking guix download}). Use reliable URLs, not generated ones. For instance, GitHub archives are not necessarily identical from one generation to the next, so in this case it's often better to clone the repository. Don't use the @command{name} field in the URL: it is not very useful and if the name changes, the URL will probably be wrong."
  1341. msgstr ""
  1342. #. type: enumerate
  1343. #: guix-git/doc/contributing.texi:1161
  1344. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1345. msgstr ""
  1346. #. type: enumerate
  1347. #: guix-git/doc/contributing.texi:1164
  1348. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1349. msgstr ""
  1350. #. type: example
  1351. #: guix-git/doc/contributing.texi:1166
  1352. #, no-wrap
  1353. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1354. msgstr ""
  1355. #. type: Plain text
  1356. #: guix-git/doc/contributing.texi:1179
  1357. msgid "When posting a patch to the mailing list, use @samp{[PATCH] @dots{}} as a subject, if your patch is to be applied on a branch other than @code{master}, say @code{core-updates}, specify it in the subject like @samp{[PATCH core-updates] @dots{}}. You may use your email client or the @command{git send-email} command (@pxref{Sending a Patch Series}). We prefer to get patches in plain text messages, either inline or as MIME attachments. You are advised to pay attention if your email client changes anything like line breaks or indentation which could potentially break the patches."
  1358. msgstr ""
  1359. #. type: Plain text
  1360. #: guix-git/doc/contributing.texi:1182
  1361. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1362. msgstr ""
  1363. #. type: anchor{#1}
  1364. #: guix-git/doc/contributing.texi:1183 guix-git/doc/contributing.texi:1185
  1365. #, no-wrap
  1366. msgid "Sending a Patch Series"
  1367. msgstr ""
  1368. #. type: cindex
  1369. #: guix-git/doc/contributing.texi:1185
  1370. #, no-wrap
  1371. msgid "patch series"
  1372. msgstr ""
  1373. #. type: code{#1}
  1374. #: guix-git/doc/contributing.texi:1186
  1375. #, no-wrap
  1376. msgid "git send-email"
  1377. msgstr ""
  1378. #. type: code{#1}
  1379. #: guix-git/doc/contributing.texi:1187
  1380. #, no-wrap
  1381. msgid "git-send-email"
  1382. msgstr ""
  1383. #. type: Plain text
  1384. #: guix-git/doc/contributing.texi:1197
  1385. msgid "When sending a patch series (e.g., using @code{git send-email}), please first send one message to @email{guix-patches@@gnu.org}, and then send subsequent patches to @email{@var{NNN}@@debbugs.gnu.org} to make sure they are kept together. See @uref{https://debbugs.gnu.org/Advanced.html, the Debbugs documentation} for more information. You can install @command{git send-email} with @command{guix install git:send-email}."
  1386. msgstr ""
  1387. #. type: cindex
  1388. #: guix-git/doc/contributing.texi:1201
  1389. #, no-wrap
  1390. msgid "bug reports, tracking"
  1391. msgstr ""
  1392. #. type: cindex
  1393. #: guix-git/doc/contributing.texi:1202
  1394. #, no-wrap
  1395. msgid "patch submissions, tracking"
  1396. msgstr ""
  1397. #. type: cindex
  1398. #: guix-git/doc/contributing.texi:1203
  1399. #, no-wrap
  1400. msgid "issue tracking"
  1401. msgstr ""
  1402. #. type: cindex
  1403. #: guix-git/doc/contributing.texi:1204
  1404. #, no-wrap
  1405. msgid "Debbugs, issue tracking system"
  1406. msgstr ""
  1407. #. type: Plain text
  1408. #: guix-git/doc/contributing.texi:1211
  1409. msgid "Bug reports and patch submissions are currently tracked using the Debbugs instance at @uref{https://bugs.gnu.org}. Bug reports are filed against the @code{guix} ``package'' (in Debbugs parlance), by sending email to @email{bug-guix@@gnu.org}, while patch submissions are filed against the @code{guix-patches} package by sending email to @email{guix-patches@@gnu.org} (@pxref{Submitting Patches})."
  1410. msgstr ""
  1411. #. type: Plain text
  1412. #: guix-git/doc/contributing.texi:1214
  1413. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1414. msgstr ""
  1415. #. type: itemize
  1416. #: guix-git/doc/contributing.texi:1223
  1417. msgid "@url{https://issues.guix.gnu.org} provides a pleasant interface@footnote{The web interface at @url{https://issues.guix.gnu.org} is powered by Mumi, a nice piece of software written in Guile, and you can help! See @url{https://git.elephly.net/gitweb.cgi?p=software/mumi.git}.} to browse bug reports and patches, and to participate in discussions;"
  1418. msgstr ""
  1419. #. type: itemize
  1420. #: guix-git/doc/contributing.texi:1225
  1421. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1422. msgstr ""
  1423. #. type: itemize
  1424. #: guix-git/doc/contributing.texi:1227
  1425. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1426. msgstr ""
  1427. #. type: Plain text
  1428. #: guix-git/doc/contributing.texi:1232
  1429. msgid "To view discussions related to issue number @var{n}, go to @indicateurl{https://issues.guix.gnu.org/@var{n}} or @indicateurl{https://bugs.gnu.org/@var{n}}."
  1430. msgstr ""
  1431. #. type: Plain text
  1432. #: guix-git/doc/contributing.texi:1235
  1433. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1434. msgstr ""
  1435. #. type: example
  1436. #: guix-git/doc/contributing.texi:1238
  1437. #, no-wrap
  1438. msgid "guix install emacs-debbugs\n"
  1439. msgstr ""
  1440. #. type: Plain text
  1441. #: guix-git/doc/contributing.texi:1241
  1442. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1443. msgstr ""
  1444. #. type: example
  1445. #: guix-git/doc/contributing.texi:1244
  1446. #, no-wrap
  1447. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1448. msgstr ""
  1449. #. type: Plain text
  1450. #: guix-git/doc/contributing.texi:1248
  1451. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1452. msgstr ""
  1453. #. type: cindex
  1454. #: guix-git/doc/contributing.texi:1252
  1455. #, no-wrap
  1456. msgid "commit access, for developers"
  1457. msgstr ""
  1458. #. type: Plain text
  1459. #: guix-git/doc/contributing.texi:1256
  1460. msgid "For frequent contributors, having write access to the repository is convenient. When you deem it necessary, consider applying for commit access by following these steps:"
  1461. msgstr ""
  1462. #. type: enumerate
  1463. #: guix-git/doc/contributing.texi:1265
  1464. msgid "Find three committers who would vouch for you. You can view the list of committers at @url{https://savannah.gnu.org/project/memberlist.php?group=guix}. Each of them should email a statement to @email{guix-maintainers@@gnu.org} (a private alias for the collective of maintainers), signed with their OpenPGP key."
  1465. msgstr ""
  1466. #. type: enumerate
  1467. #: guix-git/doc/contributing.texi:1271
  1468. msgid "Committers are expected to have had some interactions with you as a contributor and to be able to judge whether you are sufficiently familiar with the project's practices. It is @emph{not} a judgment on the value of your work, so a refusal should rather be interpreted as ``let's try again later''."
  1469. msgstr ""
  1470. #. type: enumerate
  1471. #: guix-git/doc/contributing.texi:1278
  1472. msgid "Send @email{guix-maintainers@@gnu.org} a message stating your intent, listing the three committers who support your application, signed with the OpenPGP key you will use to sign commits, and giving its fingerprint (see below). See @uref{https://emailselfdefense.fsf.org/en/}, for an introduction to public-key cryptography with GnuPG."
  1473. msgstr ""
  1474. #. type: enumerate
  1475. #: guix-git/doc/contributing.texi:1284
  1476. msgid "Set up GnuPG such that it never uses the SHA1 hash algorithm for digital signatures, which is known to be unsafe since 2019, for instance by adding the following line to @file{~/.gnupg/gpg.conf} (@pxref{GPG Esoteric Options,,, gnupg, The GNU Privacy Guard Manual}):"
  1477. msgstr ""
  1478. #. type: example
  1479. #: guix-git/doc/contributing.texi:1287
  1480. #, no-wrap
  1481. msgid "digest-algo sha512\n"
  1482. msgstr ""
  1483. #. type: enumerate
  1484. #: guix-git/doc/contributing.texi:1292
  1485. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1486. msgstr ""
  1487. #. type: cindex
  1488. #: guix-git/doc/contributing.texi:1294
  1489. #, no-wrap
  1490. msgid "OpenPGP, signed commits"
  1491. msgstr ""
  1492. #. type: enumerate
  1493. #: guix-git/doc/contributing.texi:1299
  1494. msgid "If and once you've been given access, please send a message to @email{guix-devel@@gnu.org} to say so, again signed with the OpenPGP key you will use to sign commits (do that before pushing your first commit). That way, everyone can notice and ensure you control that OpenPGP key."
  1495. msgstr ""
  1496. #. type: quotation
  1497. #: guix-git/doc/contributing.texi:1300
  1498. #, no-wrap
  1499. msgid "Important"
  1500. msgstr ""
  1501. #. type: quotation
  1502. #: guix-git/doc/contributing.texi:1302
  1503. msgid "Before you can push for the first time, maintainers must:"
  1504. msgstr ""
  1505. #. type: enumerate
  1506. #: guix-git/doc/contributing.texi:1306
  1507. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1508. msgstr ""
  1509. #. type: enumerate
  1510. #: guix-git/doc/contributing.texi:1309
  1511. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1512. msgstr ""
  1513. #. type: enumerate
  1514. #: guix-git/doc/contributing.texi:1314
  1515. msgid "Make sure to read the rest of this section and... profit!"
  1516. msgstr ""
  1517. #. type: quotation
  1518. #: guix-git/doc/contributing.texi:1320
  1519. msgid "Maintainers are happy to give commit access to people who have been contributing for some time and have a track record---don't be shy and don't underestimate your work!"
  1520. msgstr ""
  1521. #. type: quotation
  1522. #: guix-git/doc/contributing.texi:1324
  1523. msgid "However, note that the project is working towards a more automated patch review and merging system, which, as a consequence, may lead us to have fewer people with commit access to the main repository. Stay tuned!"
  1524. msgstr ""
  1525. #. type: Plain text
  1526. #: guix-git/doc/contributing.texi:1329
  1527. msgid "If you get commit access, please make sure to follow the policy below (discussions of the policy can take place on @email{guix-devel@@gnu.org})."
  1528. msgstr ""
  1529. #. type: Plain text
  1530. #: guix-git/doc/contributing.texi:1334
  1531. msgid "Non-trivial patches should always be posted to @email{guix-patches@@gnu.org} (trivial patches include fixing typos, etc.). This mailing list fills the patch-tracking database (@pxref{Tracking Bugs and Patches})."
  1532. msgstr ""
  1533. #. type: Plain text
  1534. #: guix-git/doc/contributing.texi:1343
  1535. msgid "For patches that just add a new package, and a simple one, it's OK to commit, if you're confident (which means you successfully built it in a chroot setup, and have done a reasonable copyright and license auditing). Likewise for package upgrades, except upgrades that trigger a lot of rebuilds (for example, upgrading GnuTLS or GLib). We have a mailing list for commit notifications (@email{guix-commits@@gnu.org}), so people can notice. Before pushing your changes, make sure to run @code{git pull --rebase}."
  1536. msgstr ""
  1537. #. type: Plain text
  1538. #: guix-git/doc/contributing.texi:1349
  1539. msgid "All commits that are pushed to the central repository on Savannah must be signed with an OpenPGP key, and the public key should be uploaded to your user account on Savannah and to public key servers, such as @code{keys.openpgp.org}. To configure Git to automatically sign commits, run:"
  1540. msgstr ""
  1541. #. type: example
  1542. #: guix-git/doc/contributing.texi:1353
  1543. #, no-wrap
  1544. msgid ""
  1545. "git config commit.gpgsign true\n"
  1546. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1547. msgstr ""
  1548. #. type: Plain text
  1549. #: guix-git/doc/contributing.texi:1358
  1550. msgid "You can prevent yourself from accidentally pushing unsigned commits to Savannah by using the pre-push Git hook called located at @file{etc/git/pre-push}:"
  1551. msgstr ""
  1552. #. type: example
  1553. #: guix-git/doc/contributing.texi:1361
  1554. #, no-wrap
  1555. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1556. msgstr ""
  1557. #. type: Plain text
  1558. #: guix-git/doc/contributing.texi:1367
  1559. msgid "When pushing a commit on behalf of somebody else, please add a @code{Signed-off-by} line at the end of the commit log message---e.g., with @command{git am --signoff}. This improves tracking of who did what."
  1560. msgstr ""
  1561. #. type: Plain text
  1562. #: guix-git/doc/contributing.texi:1371
  1563. msgid "When adding channel news entries (@pxref{Channels, Writing Channel News}), make sure they are well-formed by running the following command right before pushing:"
  1564. msgstr ""
  1565. #. type: example
  1566. #: guix-git/doc/contributing.texi:1374
  1567. #, no-wrap
  1568. msgid "make check-channel-news\n"
  1569. msgstr ""
  1570. #. type: Plain text
  1571. #: guix-git/doc/contributing.texi:1380
  1572. msgid "For anything else, please post to @email{guix-patches@@gnu.org} and leave time for a review, without committing anything (@pxref{Submitting Patches}). If you didn’t receive any reply after two weeks, and if you're confident, it's OK to commit."
  1573. msgstr ""
  1574. #. type: Plain text
  1575. #: guix-git/doc/contributing.texi:1383
  1576. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1577. msgstr ""
  1578. #. type: Plain text
  1579. #: guix-git/doc/contributing.texi:1389
  1580. msgid "In order to reduce the possibility of mistakes, committers will have their Savannah account removed from the Guix Savannah project and their key removed from @file{.guix-authorizations} after 12 months of inactivity; they can ask to regain commit access by emailing the maintainers, without going through the vouching process."
  1581. msgstr ""
  1582. #. type: Plain text
  1583. #: guix-git/doc/contributing.texi:1395
  1584. msgid "One last thing: the project keeps moving forward because committers not only push their own awesome changes, but also offer some of their time @emph{reviewing} and pushing other people's changes. As a committer, you're welcome to use your expertise and commit rights to help other contributors, too!"
  1585. msgstr ""
  1586. #. type: cindex
  1587. #: guix-git/doc/contributing.texi:1399
  1588. #, no-wrap
  1589. msgid "update-guix-package, updating the guix package"
  1590. msgstr ""
  1591. #. type: Plain text
  1592. #: guix-git/doc/contributing.texi:1405
  1593. msgid "It is sometimes desirable to update the @code{guix} package itself (the package defined in @code{(gnu packages package-management)}), for example to make new daemon features available for use by the @code{guix-service-type} service type. In order to simplify this task, the following command can be used:"
  1594. msgstr ""
  1595. #. type: example
  1596. #: guix-git/doc/contributing.texi:1408
  1597. #, no-wrap
  1598. msgid "make update-guix-package\n"
  1599. msgstr ""
  1600. #. type: Plain text
  1601. #: guix-git/doc/contributing.texi:1415
  1602. msgid "The @code{update-guix-package} make target will use the last known @emph{commit} corresponding to @code{HEAD} in your Guix checkout, compute the hash of the Guix sources corresponding to that commit and update the @code{commit}, @code{revision} and hash of the @code{guix} package definition."
  1603. msgstr ""
  1604. #. type: Plain text
  1605. #: guix-git/doc/contributing.texi:1419
  1606. msgid "To validate that the updated @code{guix} package hashes are correct and that it can be built successfully, the following command can be run from the directory of your Guix checkout:"
  1607. msgstr ""
  1608. #. type: example
  1609. #: guix-git/doc/contributing.texi:1422
  1610. #, no-wrap
  1611. msgid "./pre-inst-env guix build guix\n"
  1612. msgstr ""
  1613. #. type: Plain text
  1614. #: guix-git/doc/contributing.texi:1427
  1615. msgid "To guard against accidentally updating the @code{guix} package to a commit that others can't refer to, a check is made that the commit used has already been pushed to the Savannah-hosted Guix git repository."
  1616. msgstr ""
  1617. #. type: Plain text
  1618. #: guix-git/doc/contributing.texi:1431
  1619. msgid "This check can be disabled, @emph{at your own peril}, by setting the @code{GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT} environment variable. When this variable is set, the updated package source is also added to the store. This is used as part of the release process of Guix."
  1620. msgstr ""
  1621. #. type: Plain text
  1622. #: guix-git/doc/guix.texi:7
  1623. msgid "@documentencoding UTF-8"
  1624. msgstr ""
  1625. #. type: title
  1626. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:118
  1627. #, no-wrap
  1628. msgid "GNU Guix Reference Manual"
  1629. msgstr ""
  1630. #. type: include
  1631. #: guix-git/doc/guix.texi:10
  1632. #, no-wrap
  1633. msgid "version.texi"
  1634. msgstr "version-sk.texi"
  1635. #. type: copying
  1636. #: guix-git/doc/guix.texi:91
  1637. msgid "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017, 2019, 2020, 2021 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018, 2021 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nikita Gillmann@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020 Jan Nieuwenhuizen@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Christopher Baines@* Copyright @copyright{} 2017, 2018, 2019 Clément Lassieur@* Copyright @copyright{} 2017, 2018, 2020, 2021 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017, 2021 Christopher Lemmer Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020 Marius Bakke@* Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018, 2019, 2020 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018, 2021 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018, 2019 Gábor Boskovits@* Copyright @copyright{} 2018, 2019, 2020 Florian Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} 2018 Alex Vong@* Copyright @copyright{} 2019 Josh Holland@* Copyright @copyright{} 2019, 2020 Diego Nicola Barbato@* Copyright @copyright{} 2019 Ivan Petkov@* Copyright @copyright{} 2019 Jakob L. Kreuze@* Copyright @copyright{} 2019 Kyle Andrews@* Copyright @copyright{} 2019 Alex Griffin@* Copyright @copyright{} 2019, 2020 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Leo Prikler@* Copyright @copyright{} 2019, 2020 Simon Tournier@* Copyright @copyright{} 2020 Wiktor Żelazny@* Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* Copyright @copyright{} 2020 Naga Malleswari@* Copyright @copyright{} 2020 Brice Waegeneire@* Copyright @copyright{} 2020 R Veera Kumar@* Copyright @copyright{} 2020 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* Copyright @copyright{} 2020 André Batista@* Copyright @copyright{} 2020, 2021 Alexandru-Sergiu Marton@* Copyright @copyright{} 2020 raingloom@* Copyright @copyright{} 2020 Daniel Brooks@* Copyright @copyright{} 2020 John Soo@* Copyright @copyright{} 2020 Jonathan Brielmaier@* Copyright @copyright{} 2020 Edgar Vincent@* Copyright @copyright{} 2021 Maxime Devos@*"
  1638. msgstr ""
  1639. #. type: copying
  1640. #: guix-git/doc/guix.texi:98
  1641. msgid "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''."
  1642. msgstr ""
  1643. #. type: dircategory
  1644. #: guix-git/doc/guix.texi:100
  1645. #, no-wrap
  1646. msgid "System administration"
  1647. msgstr ""
  1648. #. type: menuentry
  1649. #: guix-git/doc/guix.texi:108
  1650. msgid "Guix: (guix)"
  1651. msgstr ""
  1652. #. type: menuentry
  1653. #: guix-git/doc/guix.texi:108
  1654. msgid "Manage installed software and system configuration."
  1655. msgstr ""
  1656. #. type: menuentry
  1657. #: guix-git/doc/guix.texi:108
  1658. msgid "guix package: (guix)Invoking guix package"
  1659. msgstr ""
  1660. #. type: menuentry
  1661. #: guix-git/doc/guix.texi:108
  1662. msgid "Installing, removing, and upgrading packages."
  1663. msgstr ""
  1664. #. type: menuentry
  1665. #: guix-git/doc/guix.texi:108
  1666. msgid "guix gc: (guix)Invoking guix gc"
  1667. msgstr ""
  1668. #. type: menuentry
  1669. #: guix-git/doc/guix.texi:108
  1670. msgid "Reclaiming unused disk space."
  1671. msgstr ""
  1672. #. type: menuentry
  1673. #: guix-git/doc/guix.texi:108
  1674. msgid "guix pull: (guix)Invoking guix pull"
  1675. msgstr ""
  1676. #. type: menuentry
  1677. #: guix-git/doc/guix.texi:108
  1678. msgid "Update the list of available packages."
  1679. msgstr ""
  1680. #. type: menuentry
  1681. #: guix-git/doc/guix.texi:108
  1682. msgid "guix system: (guix)Invoking guix system"
  1683. msgstr ""
  1684. #. type: menuentry
  1685. #: guix-git/doc/guix.texi:108
  1686. msgid "Manage the operating system configuration."
  1687. msgstr ""
  1688. #. type: menuentry
  1689. #: guix-git/doc/guix.texi:108
  1690. msgid "guix deploy: (guix)Invoking guix deploy"
  1691. msgstr ""
  1692. #. type: menuentry
  1693. #: guix-git/doc/guix.texi:108
  1694. msgid "Manage operating system configurations for remote hosts."
  1695. msgstr ""
  1696. #. type: dircategory
  1697. #: guix-git/doc/guix.texi:110
  1698. #, no-wrap
  1699. msgid "Software development"
  1700. msgstr ""
  1701. #. type: menuentry
  1702. #: guix-git/doc/guix.texi:115
  1703. msgid "guix environment: (guix)Invoking guix environment"
  1704. msgstr ""
  1705. #. type: menuentry
  1706. #: guix-git/doc/guix.texi:115
  1707. msgid "Building development environments with Guix."
  1708. msgstr ""
  1709. #. type: menuentry
  1710. #: guix-git/doc/guix.texi:115
  1711. msgid "guix build: (guix)Invoking guix build"
  1712. msgstr ""
  1713. #. type: menuentry
  1714. #: guix-git/doc/guix.texi:115
  1715. msgid "Building packages."
  1716. msgstr ""
  1717. #. type: menuentry
  1718. #: guix-git/doc/guix.texi:115
  1719. msgid "guix pack: (guix)Invoking guix pack"
  1720. msgstr ""
  1721. #. type: menuentry
  1722. #: guix-git/doc/guix.texi:115
  1723. msgid "Creating binary bundles."
  1724. msgstr ""
  1725. #. type: subtitle
  1726. #: guix-git/doc/guix.texi:119
  1727. #, no-wrap
  1728. msgid "Using the GNU Guix Functional Package Manager"
  1729. msgstr ""
  1730. #. type: author
  1731. #: guix-git/doc/guix.texi:120
  1732. #, no-wrap
  1733. msgid "The GNU Guix Developers"
  1734. msgstr ""
  1735. #. type: titlepage
  1736. #: guix-git/doc/guix.texi:126
  1737. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  1738. msgstr ""
  1739. #. type: node
  1740. #: guix-git/doc/guix.texi:133
  1741. #, no-wrap
  1742. msgid "Top"
  1743. msgstr ""
  1744. #. type: top
  1745. #: guix-git/doc/guix.texi:134
  1746. #, no-wrap
  1747. msgid "GNU Guix"
  1748. msgstr ""
  1749. #. type: Plain text
  1750. #: guix-git/doc/guix.texi:138
  1751. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  1752. msgstr ""
  1753. #. You can replace the following paragraph with information on
  1754. #. type: Plain text
  1755. #: guix-git/doc/guix.texi:150
  1756. msgid "This manual is also available in Simplified Chinese (@pxref{Top,,, guix.zh_CN, GNU Guix参考手册}), French (@pxref{Top,,, guix.fr, Manuel de référence de GNU Guix}), German (@pxref{Top,,, guix.de, Referenzhandbuch zu GNU Guix}), Spanish (@pxref{Top,,, guix.es, Manual de referencia de GNU Guix}), and Russian (@pxref{Top,,, guix.ru, Руководство GNU Guix}). If you would like to translate it in your native language, consider joining @uref{https://translate.fedoraproject.org/projects/guix/documentation-manual, Weblate}."
  1757. msgstr ""
  1758. #. type: chapter
  1759. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:178
  1760. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:380
  1761. #, no-wrap
  1762. msgid "Introduction"
  1763. msgstr ""
  1764. #. type: menuentry
  1765. #: guix-git/doc/guix.texi:168
  1766. msgid "What is Guix about?"
  1767. msgstr ""
  1768. #. type: chapter
  1769. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:183
  1770. #: guix-git/doc/guix.texi:560 guix-git/doc/guix.texi:561
  1771. #, no-wrap
  1772. msgid "Installation"
  1773. msgstr ""
  1774. #. type: menuentry
  1775. #: guix-git/doc/guix.texi:168
  1776. msgid "Installing Guix."
  1777. msgstr ""
  1778. #. type: chapter
  1779. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:199
  1780. #: guix-git/doc/guix.texi:2000 guix-git/doc/guix.texi:2001
  1781. #, no-wrap
  1782. msgid "System Installation"
  1783. msgstr ""
  1784. #. type: menuentry
  1785. #: guix-git/doc/guix.texi:168
  1786. msgid "Installing the whole operating system."
  1787. msgstr ""
  1788. #. type: chapter
  1789. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:2717
  1790. #: guix-git/doc/guix.texi:2718
  1791. #, no-wrap
  1792. msgid "Getting Started"
  1793. msgstr ""
  1794. #. type: menuentry
  1795. #: guix-git/doc/guix.texi:168
  1796. msgid "Your first steps."
  1797. msgstr ""
  1798. #. type: chapter
  1799. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:216
  1800. #: guix-git/doc/guix.texi:2925 guix-git/doc/guix.texi:2926
  1801. #, no-wrap
  1802. msgid "Package Management"
  1803. msgstr ""
  1804. #. type: menuentry
  1805. #: guix-git/doc/guix.texi:168
  1806. msgid "Package installation, upgrade, etc."
  1807. msgstr ""
  1808. #. type: chapter
  1809. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:239
  1810. #: guix-git/doc/guix.texi:4975 guix-git/doc/guix.texi:4976
  1811. #, no-wrap
  1812. msgid "Channels"
  1813. msgstr ""
  1814. #. type: menuentry
  1815. #: guix-git/doc/guix.texi:168
  1816. msgid "Customizing the package collection."
  1817. msgstr ""
  1818. #. type: chapter
  1819. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:253
  1820. #: guix-git/doc/guix.texi:5503 guix-git/doc/guix.texi:5504
  1821. #, no-wrap
  1822. msgid "Development"
  1823. msgstr ""
  1824. #. type: menuentry
  1825. #: guix-git/doc/guix.texi:168
  1826. msgid "Guix-aided software development."
  1827. msgstr ""
  1828. #. type: chapter
  1829. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:260
  1830. #: guix-git/doc/guix.texi:6329 guix-git/doc/guix.texi:6330
  1831. #, no-wrap
  1832. msgid "Programming Interface"
  1833. msgstr ""
  1834. #. type: menuentry
  1835. #: guix-git/doc/guix.texi:168
  1836. msgid "Using Guix in Scheme."
  1837. msgstr ""
  1838. #. type: chapter
  1839. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:279
  1840. #: guix-git/doc/guix.texi:10125 guix-git/doc/guix.texi:10126
  1841. #, no-wrap
  1842. msgid "Utilities"
  1843. msgstr ""
  1844. #. type: menuentry
  1845. #: guix-git/doc/guix.texi:168
  1846. msgid "Package management commands."
  1847. msgstr ""
  1848. #. type: chapter
  1849. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:304
  1850. #: guix-git/doc/guix.texi:13305 guix-git/doc/guix.texi:13306
  1851. #, no-wrap
  1852. msgid "System Configuration"
  1853. msgstr ""
  1854. #. type: menuentry
  1855. #: guix-git/doc/guix.texi:168
  1856. msgid "Configuring the operating system."
  1857. msgstr ""
  1858. #. type: chapter
  1859. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34336
  1860. #: guix-git/doc/guix.texi:34337
  1861. #, no-wrap
  1862. msgid "Documentation"
  1863. msgstr "Dokumentácia"
  1864. #. type: menuentry
  1865. #: guix-git/doc/guix.texi:168
  1866. msgid "Browsing software user manuals."
  1867. msgstr ""
  1868. #. type: chapter
  1869. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:366
  1870. #: guix-git/doc/guix.texi:34400 guix-git/doc/guix.texi:34401
  1871. #, no-wrap
  1872. msgid "Installing Debugging Files"
  1873. msgstr ""
  1874. #. type: menuentry
  1875. #: guix-git/doc/guix.texi:168
  1876. msgid "Feeding the debugger."
  1877. msgstr ""
  1878. #. type: chapter
  1879. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34541
  1880. #: guix-git/doc/guix.texi:34542
  1881. #, no-wrap
  1882. msgid "Security Updates"
  1883. msgstr ""
  1884. #. type: menuentry
  1885. #: guix-git/doc/guix.texi:168
  1886. msgid "Deploying security fixes quickly."
  1887. msgstr ""
  1888. #. type: chapter
  1889. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:371
  1890. #: guix-git/doc/guix.texi:34656 guix-git/doc/guix.texi:34657
  1891. #, no-wrap
  1892. msgid "Bootstrapping"
  1893. msgstr ""
  1894. #. type: menuentry
  1895. #: guix-git/doc/guix.texi:168
  1896. msgid "GNU/Linux built from scratch."
  1897. msgstr ""
  1898. #. type: node
  1899. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34948
  1900. #, no-wrap
  1901. msgid "Porting"
  1902. msgstr ""
  1903. #. type: menuentry
  1904. #: guix-git/doc/guix.texi:168
  1905. msgid "Targeting another platform or kernel."
  1906. msgstr ""
  1907. #. type: menuentry
  1908. #: guix-git/doc/guix.texi:168
  1909. msgid "Your help needed!"
  1910. msgstr ""
  1911. #. type: chapter
  1912. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:34996
  1913. #: guix-git/doc/guix.texi:34997
  1914. #, no-wrap
  1915. msgid "Acknowledgments"
  1916. msgstr ""
  1917. #. type: menuentry
  1918. #: guix-git/doc/guix.texi:173
  1919. msgid "Thanks!"
  1920. msgstr ""
  1921. #. type: appendix
  1922. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35018
  1923. #: guix-git/doc/guix.texi:35019
  1924. #, no-wrap
  1925. msgid "GNU Free Documentation License"
  1926. msgstr ""
  1927. #. type: menuentry
  1928. #: guix-git/doc/guix.texi:173
  1929. msgid "The license of this manual."
  1930. msgstr ""
  1931. #. type: unnumbered
  1932. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35024
  1933. #: guix-git/doc/guix.texi:35025
  1934. #, no-wrap
  1935. msgid "Concept Index"
  1936. msgstr ""
  1937. #. type: menuentry
  1938. #: guix-git/doc/guix.texi:173
  1939. msgid "Concepts."
  1940. msgstr ""
  1941. #. type: unnumbered
  1942. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35028
  1943. #: guix-git/doc/guix.texi:35029
  1944. #, no-wrap
  1945. msgid "Programming Index"
  1946. msgstr ""
  1947. #. type: menuentry
  1948. #: guix-git/doc/guix.texi:173
  1949. msgid "Data types, functions, and variables."
  1950. msgstr ""
  1951. #. type: menuentry
  1952. #: guix-git/doc/guix.texi:176
  1953. msgid "--- The Detailed Node Listing ---"
  1954. msgstr ""
  1955. #. type: section
  1956. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  1957. #: guix-git/doc/guix.texi:408 guix-git/doc/guix.texi:409
  1958. #, no-wrap
  1959. msgid "Managing Software the Guix Way"
  1960. msgstr ""
  1961. #. type: menuentry
  1962. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  1963. msgid "What's special."
  1964. msgstr ""
  1965. #. type: section
  1966. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  1967. #: guix-git/doc/guix.texi:463 guix-git/doc/guix.texi:464
  1968. #, no-wrap
  1969. msgid "GNU Distribution"
  1970. msgstr ""
  1971. #. type: menuentry
  1972. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  1973. msgid "The packages and tools."
  1974. msgstr ""
  1975. #. type: section
  1976. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  1977. #: guix-git/doc/guix.texi:602 guix-git/doc/guix.texi:603
  1978. #, no-wrap
  1979. msgid "Binary Installation"
  1980. msgstr ""
  1981. #. type: menuentry
  1982. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  1983. msgid "Getting Guix running in no time!"
  1984. msgstr ""
  1985. #. type: section
  1986. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  1987. #: guix-git/doc/guix.texi:820 guix-git/doc/guix.texi:821
  1988. #, no-wrap
  1989. msgid "Requirements"
  1990. msgstr ""
  1991. #. type: menuentry
  1992. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  1993. msgid "Software needed to build and run Guix."
  1994. msgstr ""
  1995. #. type: section
  1996. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  1997. #: guix-git/doc/guix.texi:909 guix-git/doc/guix.texi:910
  1998. #, no-wrap
  1999. msgid "Running the Test Suite"
  2000. msgstr ""
  2001. #. type: menuentry
  2002. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2003. msgid "Testing Guix."
  2004. msgstr ""
  2005. #. type: section
  2006. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:193
  2007. #: guix-git/doc/guix.texi:600 guix-git/doc/guix.texi:1006
  2008. #: guix-git/doc/guix.texi:1007
  2009. #, no-wrap
  2010. msgid "Setting Up the Daemon"
  2011. msgstr ""
  2012. #. type: menuentry
  2013. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2014. msgid "Preparing the build daemon's environment."
  2015. msgstr ""
  2016. #. type: node
  2017. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2018. #: guix-git/doc/guix.texi:1476
  2019. #, no-wrap
  2020. msgid "Invoking guix-daemon"
  2021. msgstr ""
  2022. #. type: menuentry
  2023. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2024. msgid "Running the build daemon."
  2025. msgstr ""
  2026. #. type: section
  2027. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2028. #: guix-git/doc/guix.texi:1778 guix-git/doc/guix.texi:1779
  2029. #, no-wrap
  2030. msgid "Application Setup"
  2031. msgstr ""
  2032. #. type: menuentry
  2033. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2034. msgid "Application-specific setup."
  2035. msgstr ""
  2036. #. type: section
  2037. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2038. #: guix-git/doc/guix.texi:1963 guix-git/doc/guix.texi:1964
  2039. #, no-wrap
  2040. msgid "Upgrading Guix"
  2041. msgstr ""
  2042. #. type: menuentry
  2043. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2044. msgid "Upgrading Guix and its build daemon."
  2045. msgstr ""
  2046. #. type: subsection
  2047. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2048. #: guix-git/doc/guix.texi:1028 guix-git/doc/guix.texi:1029
  2049. #, no-wrap
  2050. msgid "Build Environment Setup"
  2051. msgstr ""
  2052. #. type: menuentry
  2053. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2054. msgid "Preparing the isolated build environment."
  2055. msgstr ""
  2056. #. type: node
  2057. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2058. #: guix-git/doc/guix.texi:1147
  2059. #, no-wrap
  2060. msgid "Daemon Offload Setup"
  2061. msgstr ""
  2062. #. type: menuentry
  2063. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2064. msgid "Offloading builds to remote machines."
  2065. msgstr ""
  2066. #. type: subsection
  2067. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2068. #: guix-git/doc/guix.texi:1385 guix-git/doc/guix.texi:1386
  2069. #, no-wrap
  2070. msgid "SELinux Support"
  2071. msgstr ""
  2072. #. type: menuentry
  2073. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2074. msgid "Using an SELinux policy for the daemon."
  2075. msgstr ""
  2076. #. type: section
  2077. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:1421
  2078. #: guix-git/doc/guix.texi:2034 guix-git/doc/guix.texi:2036
  2079. #: guix-git/doc/guix.texi:2037
  2080. #, no-wrap
  2081. msgid "Limitations"
  2082. msgstr ""
  2083. #. type: menuentry
  2084. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2085. msgid "What you can expect."
  2086. msgstr ""
  2087. #. type: section
  2088. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2089. #: guix-git/doc/guix.texi:2062 guix-git/doc/guix.texi:2063
  2090. #, no-wrap
  2091. msgid "Hardware Considerations"
  2092. msgstr ""
  2093. #. type: menuentry
  2094. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2095. msgid "Supported hardware."
  2096. msgstr ""
  2097. #. type: section
  2098. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2099. #: guix-git/doc/guix.texi:2097 guix-git/doc/guix.texi:2098
  2100. #, no-wrap
  2101. msgid "USB Stick and DVD Installation"
  2102. msgstr ""
  2103. #. type: menuentry
  2104. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2105. msgid "Preparing the installation medium."
  2106. msgstr ""
  2107. #. type: section
  2108. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2109. #: guix-git/doc/guix.texi:2178 guix-git/doc/guix.texi:2179
  2110. #, no-wrap
  2111. msgid "Preparing for Installation"
  2112. msgstr ""
  2113. #. type: menuentry
  2114. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2115. msgid "Networking, partitioning, etc."
  2116. msgstr ""
  2117. #. type: section
  2118. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2119. #: guix-git/doc/guix.texi:2201 guix-git/doc/guix.texi:2202
  2120. #, no-wrap
  2121. msgid "Guided Graphical Installation"
  2122. msgstr ""
  2123. #. type: menuentry
  2124. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2125. msgid "Easy graphical installation."
  2126. msgstr ""
  2127. #. type: section
  2128. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:211
  2129. #: guix-git/doc/guix.texi:2034 guix-git/doc/guix.texi:2232
  2130. #: guix-git/doc/guix.texi:2233
  2131. #, no-wrap
  2132. msgid "Manual Installation"
  2133. msgstr ""
  2134. #. type: menuentry
  2135. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2136. msgid "Manual installation for wizards."
  2137. msgstr ""
  2138. #. type: section
  2139. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2140. #: guix-git/doc/guix.texi:2600 guix-git/doc/guix.texi:2601
  2141. #, no-wrap
  2142. msgid "After System Installation"
  2143. msgstr ""
  2144. #. type: menuentry
  2145. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2146. msgid "When installation succeeded."
  2147. msgstr ""
  2148. #. type: node
  2149. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2150. #: guix-git/doc/guix.texi:2634
  2151. #, no-wrap
  2152. msgid "Installing Guix in a VM"
  2153. msgstr ""
  2154. #. type: menuentry
  2155. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2156. msgid "Guix System playground."
  2157. msgstr ""
  2158. #. type: section
  2159. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2160. #: guix-git/doc/guix.texi:2685 guix-git/doc/guix.texi:2686
  2161. #, no-wrap
  2162. msgid "Building the Installation Image"
  2163. msgstr ""
  2164. #. type: menuentry
  2165. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2166. msgid "How this comes to be."
  2167. msgstr ""
  2168. #. type: node
  2169. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2170. #: guix-git/doc/guix.texi:2252
  2171. #, no-wrap
  2172. msgid "Keyboard Layout and Networking and Partitioning"
  2173. msgstr ""
  2174. #. type: menuentry
  2175. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2176. msgid "Initial setup."
  2177. msgstr ""
  2178. #. type: subsection
  2179. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2180. #: guix-git/doc/guix.texi:2512 guix-git/doc/guix.texi:2513
  2181. #, no-wrap
  2182. msgid "Proceeding with the Installation"
  2183. msgstr ""
  2184. #. type: menuentry
  2185. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2186. msgid "Installing."
  2187. msgstr ""
  2188. #. type: section
  2189. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2190. #: guix-git/doc/guix.texi:2959 guix-git/doc/guix.texi:2960
  2191. #, no-wrap
  2192. msgid "Features"
  2193. msgstr "Možnosti"
  2194. #. type: menuentry
  2195. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2196. msgid "How Guix will make your life brighter."
  2197. msgstr ""
  2198. #. type: node
  2199. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2200. #: guix-git/doc/guix.texi:3049
  2201. #, no-wrap
  2202. msgid "Invoking guix package"
  2203. msgstr ""
  2204. #. type: menuentry
  2205. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2206. msgid "Package installation, removal, etc."
  2207. msgstr ""
  2208. #. type: section
  2209. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:229
  2210. #: guix-git/doc/guix.texi:2957 guix-git/doc/guix.texi:3665
  2211. #: guix-git/doc/guix.texi:3666
  2212. #, no-wrap
  2213. msgid "Substitutes"
  2214. msgstr ""
  2215. #. type: menuentry
  2216. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2217. msgid "Downloading pre-built binaries."
  2218. msgstr ""
  2219. #. type: section
  2220. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2221. #: guix-git/doc/guix.texi:3996 guix-git/doc/guix.texi:3997
  2222. #, no-wrap
  2223. msgid "Packages with Multiple Outputs"
  2224. msgstr ""
  2225. #. type: menuentry
  2226. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2227. msgid "Single source package, multiple outputs."
  2228. msgstr ""
  2229. #. type: node
  2230. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2231. #: guix-git/doc/guix.texi:4050
  2232. #, no-wrap
  2233. msgid "Invoking guix gc"
  2234. msgstr ""
  2235. #. type: menuentry
  2236. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2237. msgid "Running the garbage collector."
  2238. msgstr ""
  2239. #. type: node
  2240. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2241. #: guix-git/doc/guix.texi:4260
  2242. #, no-wrap
  2243. msgid "Invoking guix pull"
  2244. msgstr ""
  2245. #. type: menuentry
  2246. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2247. msgid "Fetching the latest Guix and distribution."
  2248. msgstr ""
  2249. #. type: node
  2250. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2251. #: guix-git/doc/guix.texi:4507
  2252. #, no-wrap
  2253. msgid "Invoking guix time-machine"
  2254. msgstr ""
  2255. #. type: menuentry
  2256. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2257. msgid "Running an older revision of Guix."
  2258. msgstr ""
  2259. #. type: section
  2260. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2261. #: guix-git/doc/guix.texi:4562 guix-git/doc/guix.texi:4563
  2262. #, no-wrap
  2263. msgid "Inferiors"
  2264. msgstr ""
  2265. #. type: menuentry
  2266. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2267. msgid "Interacting with another revision of Guix."
  2268. msgstr ""
  2269. #. type: node
  2270. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2271. #: guix-git/doc/guix.texi:4690
  2272. #, no-wrap
  2273. msgid "Invoking guix describe"
  2274. msgstr ""
  2275. #. type: menuentry
  2276. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2277. msgid "Display information about your Guix revision."
  2278. msgstr ""
  2279. #. type: node
  2280. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2281. #: guix-git/doc/guix.texi:4785
  2282. #, no-wrap
  2283. msgid "Invoking guix archive"
  2284. msgstr ""
  2285. #. type: menuentry
  2286. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2287. msgid "Exporting and importing store files."
  2288. msgstr ""
  2289. #. type: subsection
  2290. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2291. #: guix-git/doc/guix.texi:3691 guix-git/doc/guix.texi:3692
  2292. #, no-wrap
  2293. msgid "Official Substitute Server"
  2294. msgstr ""
  2295. #. type: menuentry
  2296. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2297. msgid "One particular source of substitutes."
  2298. msgstr ""
  2299. #. type: subsection
  2300. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2301. #: guix-git/doc/guix.texi:3720 guix-git/doc/guix.texi:3721
  2302. #, no-wrap
  2303. msgid "Substitute Server Authorization"
  2304. msgstr ""
  2305. #. type: menuentry
  2306. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2307. msgid "How to enable or disable substitutes."
  2308. msgstr ""
  2309. #. type: subsection
  2310. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2311. #: guix-git/doc/guix.texi:3789 guix-git/doc/guix.texi:3790
  2312. #, no-wrap
  2313. msgid "Getting Substitutes from Other Servers"
  2314. msgstr ""
  2315. #. type: menuentry
  2316. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2317. msgid "Substitute diversity."
  2318. msgstr ""
  2319. #. type: subsection
  2320. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2321. #: guix-git/doc/guix.texi:3891 guix-git/doc/guix.texi:3892
  2322. #, no-wrap
  2323. msgid "Substitute Authentication"
  2324. msgstr ""
  2325. #. type: menuentry
  2326. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2327. msgid "How Guix verifies substitutes."
  2328. msgstr ""
  2329. #. type: subsection
  2330. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2331. #: guix-git/doc/guix.texi:3926 guix-git/doc/guix.texi:3927
  2332. #, no-wrap
  2333. msgid "Proxy Settings"
  2334. msgstr ""
  2335. #. type: menuentry
  2336. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2337. msgid "How to get substitutes via proxy."
  2338. msgstr ""
  2339. #. type: subsection
  2340. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2341. #: guix-git/doc/guix.texi:3938 guix-git/doc/guix.texi:3939
  2342. #, no-wrap
  2343. msgid "Substitution Failure"
  2344. msgstr ""
  2345. #. type: menuentry
  2346. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2347. msgid "What happens when substitution fails."
  2348. msgstr ""
  2349. #. type: subsection
  2350. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2351. #: guix-git/doc/guix.texi:3966 guix-git/doc/guix.texi:3967
  2352. #, no-wrap
  2353. msgid "On Trusting Binaries"
  2354. msgstr ""
  2355. #. type: menuentry
  2356. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2357. msgid "How can you trust that binary blob?"
  2358. msgstr ""
  2359. #. type: section
  2360. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2361. #: guix-git/doc/guix.texi:5008 guix-git/doc/guix.texi:5009
  2362. #, no-wrap
  2363. msgid "Specifying Additional Channels"
  2364. msgstr ""
  2365. #. type: menuentry
  2366. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2367. msgid "Extending the package collection."
  2368. msgstr ""
  2369. #. type: section
  2370. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2371. #: guix-git/doc/guix.texi:5058 guix-git/doc/guix.texi:5059
  2372. #, no-wrap
  2373. msgid "Using a Custom Guix Channel"
  2374. msgstr ""
  2375. #. type: menuentry
  2376. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2377. msgid "Using a customized Guix."
  2378. msgstr ""
  2379. #. type: section
  2380. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2381. #: guix-git/doc/guix.texi:5080 guix-git/doc/guix.texi:5081
  2382. #, no-wrap
  2383. msgid "Replicating Guix"
  2384. msgstr ""
  2385. #. type: menuentry
  2386. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2387. msgid "Running the @emph{exact same} Guix."
  2388. msgstr ""
  2389. #. type: section
  2390. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2391. #: guix-git/doc/guix.texi:5121 guix-git/doc/guix.texi:5122
  2392. #, no-wrap
  2393. msgid "Channel Authentication"
  2394. msgstr ""
  2395. #. type: menuentry
  2396. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2397. msgid "How Guix verifies what it fetches."
  2398. msgstr ""
  2399. #. type: section
  2400. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2401. #: guix-git/doc/guix.texi:5161 guix-git/doc/guix.texi:5162
  2402. #, no-wrap
  2403. msgid "Channels with Substitutes"
  2404. msgstr ""
  2405. #. type: menuentry
  2406. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2407. msgid "Using channels with available substitutes."
  2408. msgstr ""
  2409. #. type: section
  2410. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2411. #: guix-git/doc/guix.texi:5186 guix-git/doc/guix.texi:5187
  2412. #, no-wrap
  2413. msgid "Creating a Channel"
  2414. msgstr ""
  2415. #. type: menuentry
  2416. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2417. msgid "How to write your custom channel."
  2418. msgstr ""
  2419. #. type: section
  2420. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2421. #: guix-git/doc/guix.texi:5253 guix-git/doc/guix.texi:5254
  2422. #, no-wrap
  2423. msgid "Package Modules in a Sub-directory"
  2424. msgstr ""
  2425. #. type: menuentry
  2426. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2427. msgid "Specifying the channel's package modules location."
  2428. msgstr ""
  2429. #. type: section
  2430. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2431. #: guix-git/doc/guix.texi:5267 guix-git/doc/guix.texi:5268
  2432. #, no-wrap
  2433. msgid "Declaring Channel Dependencies"
  2434. msgstr ""
  2435. #. type: menuentry
  2436. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2437. msgid "How to depend on other channels."
  2438. msgstr ""
  2439. #. type: section
  2440. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2441. #: guix-git/doc/guix.texi:5309 guix-git/doc/guix.texi:5310
  2442. #, no-wrap
  2443. msgid "Specifying Channel Authorizations"
  2444. msgstr ""
  2445. #. type: menuentry
  2446. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2447. msgid "Defining channel authors authorizations."
  2448. msgstr ""
  2449. #. type: section
  2450. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2451. #: guix-git/doc/guix.texi:5410 guix-git/doc/guix.texi:5411
  2452. #, no-wrap
  2453. msgid "Primary URL"
  2454. msgstr ""
  2455. #. type: menuentry
  2456. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2457. msgid "Distinguishing mirror to original."
  2458. msgstr ""
  2459. #. type: section
  2460. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2461. #: guix-git/doc/guix.texi:5433 guix-git/doc/guix.texi:5434
  2462. #, no-wrap
  2463. msgid "Writing Channel News"
  2464. msgstr ""
  2465. #. type: menuentry
  2466. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2467. msgid "Communicating information to channel's users."
  2468. msgstr ""
  2469. #. type: node
  2470. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2471. #: guix-git/doc/guix.texi:5524
  2472. #, no-wrap
  2473. msgid "Invoking guix environment"
  2474. msgstr ""
  2475. #. type: menuentry
  2476. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2477. msgid "Setting up development environments."
  2478. msgstr ""
  2479. #. type: node
  2480. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2481. #: guix-git/doc/guix.texi:5884
  2482. #, no-wrap
  2483. msgid "Invoking guix pack"
  2484. msgstr ""
  2485. #. type: menuentry
  2486. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2487. msgid "Creating software bundles."
  2488. msgstr ""
  2489. #. type: section
  2490. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2491. #: guix-git/doc/guix.texi:6241 guix-git/doc/guix.texi:6242
  2492. #, no-wrap
  2493. msgid "The GCC toolchain"
  2494. msgstr ""
  2495. #. type: menuentry
  2496. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2497. msgid "Working with languages supported by GCC."
  2498. msgstr ""
  2499. #. type: node
  2500. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2501. #: guix-git/doc/guix.texi:6267
  2502. #, no-wrap
  2503. msgid "Invoking guix git authenticate"
  2504. msgstr ""
  2505. #. type: menuentry
  2506. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2507. msgid "Authenticating Git repositories."
  2508. msgstr ""
  2509. #. type: section
  2510. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2511. #: guix-git/doc/guix.texi:6371 guix-git/doc/guix.texi:6372
  2512. #, no-wrap
  2513. msgid "Package Modules"
  2514. msgstr ""
  2515. #. type: menuentry
  2516. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2517. msgid "Packages from the programmer's viewpoint."
  2518. msgstr ""
  2519. #. type: section
  2520. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:274
  2521. #: guix-git/doc/guix.texi:6369 guix-git/doc/guix.texi:6433
  2522. #: guix-git/doc/guix.texi:6434
  2523. #, no-wrap
  2524. msgid "Defining Packages"
  2525. msgstr ""
  2526. #. type: menuentry
  2527. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2528. msgid "Defining new packages."
  2529. msgstr ""
  2530. #. type: section
  2531. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2532. #: guix-git/doc/guix.texi:7001 guix-git/doc/guix.texi:7002
  2533. #, no-wrap
  2534. msgid "Defining Package Variants"
  2535. msgstr ""
  2536. #. type: menuentry
  2537. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2538. msgid "Customizing packages."
  2539. msgstr ""
  2540. #. type: section
  2541. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2542. #: guix-git/doc/guix.texi:7233 guix-git/doc/guix.texi:7234
  2543. #, no-wrap
  2544. msgid "Build Systems"
  2545. msgstr ""
  2546. #. type: menuentry
  2547. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2548. msgid "Specifying how packages are built."
  2549. msgstr ""
  2550. #. type: subsection
  2551. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2552. #: guix-git/doc/guix.texi:8249 guix-git/doc/guix.texi:8250
  2553. #: guix-git/doc/guix.texi:8653
  2554. #, no-wrap
  2555. msgid "Build Phases"
  2556. msgstr ""
  2557. #. type: menuentry
  2558. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2559. msgid "Phases of the build process of a package."
  2560. msgstr ""
  2561. #. type: section
  2562. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2563. #: guix-git/doc/guix.texi:8443 guix-git/doc/guix.texi:8444
  2564. #, no-wrap
  2565. msgid "Build Utilities"
  2566. msgstr ""
  2567. #. type: menuentry
  2568. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2569. msgid "Helpers for your package definitions and more."
  2570. msgstr ""
  2571. #. type: section
  2572. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2573. #: guix-git/doc/guix.texi:8730 guix-git/doc/guix.texi:8731
  2574. #, no-wrap
  2575. msgid "The Store"
  2576. msgstr ""
  2577. #. type: menuentry
  2578. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2579. msgid "Manipulating the package store."
  2580. msgstr ""
  2581. #. type: section
  2582. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2583. #: guix-git/doc/guix.texi:8883 guix-git/doc/guix.texi:8884
  2584. #, no-wrap
  2585. msgid "Derivations"
  2586. msgstr ""
  2587. #. type: menuentry
  2588. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2589. msgid "Low-level interface to package derivations."
  2590. msgstr ""
  2591. #. type: section
  2592. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2593. #: guix-git/doc/guix.texi:9077 guix-git/doc/guix.texi:9078
  2594. #, no-wrap
  2595. msgid "The Store Monad"
  2596. msgstr ""
  2597. #. type: menuentry
  2598. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2599. msgid "Purely functional interface to the store."
  2600. msgstr ""
  2601. #. type: section
  2602. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2603. #: guix-git/doc/guix.texi:9396 guix-git/doc/guix.texi:9397
  2604. #, no-wrap
  2605. msgid "G-Expressions"
  2606. msgstr ""
  2607. #. type: menuentry
  2608. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2609. msgid "Manipulating build expressions."
  2610. msgstr ""
  2611. #. type: node
  2612. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2613. #: guix-git/doc/guix.texi:10025
  2614. #, no-wrap
  2615. msgid "Invoking guix repl"
  2616. msgstr ""
  2617. #. type: menuentry
  2618. #: guix-git/doc/guix.texi:272
  2619. msgid "Programming Guix in Guile."
  2620. msgstr ""
  2621. #. type: node
  2622. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2623. #: guix-git/doc/guix.texi:6639
  2624. #, no-wrap
  2625. msgid "package Reference"
  2626. msgstr ""
  2627. #. type: menuentry
  2628. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2629. msgid "The package data type."
  2630. msgstr ""
  2631. #. type: node
  2632. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2633. #: guix-git/doc/guix.texi:6810
  2634. #, no-wrap
  2635. msgid "origin Reference"
  2636. msgstr ""
  2637. #. type: menuentry
  2638. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2639. msgid "The origin data type."
  2640. msgstr ""
  2641. #. type: node
  2642. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2643. #: guix-git/doc/guix.texi:10151
  2644. #, no-wrap
  2645. msgid "Invoking guix build"
  2646. msgstr ""
  2647. #. type: menuentry
  2648. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2649. msgid "Building packages from the command line."
  2650. msgstr ""
  2651. #. type: node
  2652. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2653. #: guix-git/doc/guix.texi:10987
  2654. #, no-wrap
  2655. msgid "Invoking guix edit"
  2656. msgstr ""
  2657. #. type: menuentry
  2658. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2659. msgid "Editing package definitions."
  2660. msgstr ""
  2661. #. type: node
  2662. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2663. #: guix-git/doc/guix.texi:11017
  2664. #, no-wrap
  2665. msgid "Invoking guix download"
  2666. msgstr ""
  2667. #. type: menuentry
  2668. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2669. msgid "Downloading a file and printing its hash."
  2670. msgstr ""
  2671. #. type: node
  2672. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2673. #: guix-git/doc/guix.texi:11075
  2674. #, no-wrap
  2675. msgid "Invoking guix hash"
  2676. msgstr ""
  2677. #. type: menuentry
  2678. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2679. msgid "Computing the cryptographic hash of a file."
  2680. msgstr ""
  2681. #. type: node
  2682. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2683. #: guix-git/doc/guix.texi:11147
  2684. #, no-wrap
  2685. msgid "Invoking guix import"
  2686. msgstr ""
  2687. #. type: menuentry
  2688. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2689. msgid "Importing package definitions."
  2690. msgstr ""
  2691. #. type: node
  2692. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2693. #: guix-git/doc/guix.texi:11602
  2694. #, no-wrap
  2695. msgid "Invoking guix refresh"
  2696. msgstr ""
  2697. #. type: menuentry
  2698. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2699. msgid "Updating package definitions."
  2700. msgstr ""
  2701. #. type: node
  2702. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2703. #: guix-git/doc/guix.texi:11938
  2704. #, no-wrap
  2705. msgid "Invoking guix lint"
  2706. msgstr ""
  2707. #. type: menuentry
  2708. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2709. msgid "Finding errors in package definitions."
  2710. msgstr ""
  2711. #. type: node
  2712. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2713. #: guix-git/doc/guix.texi:12107
  2714. #, no-wrap
  2715. msgid "Invoking guix size"
  2716. msgstr ""
  2717. #. type: menuentry
  2718. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2719. msgid "Profiling disk usage."
  2720. msgstr ""
  2721. #. type: node
  2722. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2723. #: guix-git/doc/guix.texi:12251
  2724. #, no-wrap
  2725. msgid "Invoking guix graph"
  2726. msgstr ""
  2727. #. type: menuentry
  2728. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2729. msgid "Visualizing the graph of packages."
  2730. msgstr ""
  2731. #. type: node
  2732. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2733. #: guix-git/doc/guix.texi:12518
  2734. #, no-wrap
  2735. msgid "Invoking guix publish"
  2736. msgstr ""
  2737. #. type: menuentry
  2738. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2739. msgid "Sharing substitutes."
  2740. msgstr ""
  2741. #. type: node
  2742. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2743. #: guix-git/doc/guix.texi:12777
  2744. #, no-wrap
  2745. msgid "Invoking guix challenge"
  2746. msgstr ""
  2747. #. type: menuentry
  2748. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2749. msgid "Challenging substitute servers."
  2750. msgstr ""
  2751. #. type: node
  2752. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2753. #: guix-git/doc/guix.texi:12960
  2754. #, no-wrap
  2755. msgid "Invoking guix copy"
  2756. msgstr ""
  2757. #. type: menuentry
  2758. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2759. msgid "Copying to and from a remote store."
  2760. msgstr ""
  2761. #. type: node
  2762. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2763. #: guix-git/doc/guix.texi:13023
  2764. #, no-wrap
  2765. msgid "Invoking guix container"
  2766. msgstr ""
  2767. #. type: menuentry
  2768. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2769. msgid "Process isolation."
  2770. msgstr ""
  2771. #. type: node
  2772. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2773. #: guix-git/doc/guix.texi:13077
  2774. #, no-wrap
  2775. msgid "Invoking guix weather"
  2776. msgstr ""
  2777. #. type: menuentry
  2778. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2779. msgid "Assessing substitute availability."
  2780. msgstr ""
  2781. #. type: node
  2782. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2783. #: guix-git/doc/guix.texi:13207
  2784. #, no-wrap
  2785. msgid "Invoking guix processes"
  2786. msgstr ""
  2787. #. type: menuentry
  2788. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2789. msgid "Listing client processes."
  2790. msgstr ""
  2791. #. type: section
  2792. #: guix-git/doc/guix.texi:297 guix-git/doc/guix.texi:10152
  2793. #, no-wrap
  2794. msgid "Invoking @command{guix build}"
  2795. msgstr ""
  2796. #. type: subsection
  2797. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2798. #: guix-git/doc/guix.texi:10205 guix-git/doc/guix.texi:10206
  2799. #, no-wrap
  2800. msgid "Common Build Options"
  2801. msgstr ""
  2802. #. type: menuentry
  2803. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2804. msgid "Build options for most commands."
  2805. msgstr ""
  2806. #. type: subsection
  2807. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2808. #: guix-git/doc/guix.texi:10360 guix-git/doc/guix.texi:10361
  2809. #, no-wrap
  2810. msgid "Package Transformation Options"
  2811. msgstr ""
  2812. #. type: menuentry
  2813. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2814. msgid "Creating variants of packages."
  2815. msgstr ""
  2816. #. type: subsection
  2817. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2818. #: guix-git/doc/guix.texi:10669 guix-git/doc/guix.texi:10670
  2819. #, no-wrap
  2820. msgid "Additional Build Options"
  2821. msgstr ""
  2822. #. type: menuentry
  2823. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2824. msgid "Options specific to 'guix build'."
  2825. msgstr ""
  2826. #. type: subsection
  2827. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2828. #: guix-git/doc/guix.texi:10907 guix-git/doc/guix.texi:10908
  2829. #, no-wrap
  2830. msgid "Debugging Build Failures"
  2831. msgstr ""
  2832. #. type: menuentry
  2833. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2834. msgid "Real life packaging experience."
  2835. msgstr ""
  2836. #. type: section
  2837. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2838. #: guix-git/doc/guix.texi:13350 guix-git/doc/guix.texi:13351
  2839. #, no-wrap
  2840. msgid "Using the Configuration System"
  2841. msgstr ""
  2842. #. type: menuentry
  2843. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2844. msgid "Customizing your GNU system."
  2845. msgstr ""
  2846. #. type: node
  2847. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2848. #: guix-git/doc/guix.texi:13598
  2849. #, no-wrap
  2850. msgid "operating-system Reference"
  2851. msgstr ""
  2852. #. type: menuentry
  2853. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2854. msgid "Detail of operating-system declarations."
  2855. msgstr ""
  2856. #. type: section
  2857. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2858. #: guix-git/doc/guix.texi:13850 guix-git/doc/guix.texi:13851
  2859. #, no-wrap
  2860. msgid "File Systems"
  2861. msgstr ""
  2862. #. type: menuentry
  2863. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2864. msgid "Configuring file system mounts."
  2865. msgstr ""
  2866. #. type: section
  2867. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2868. #: guix-git/doc/guix.texi:14173 guix-git/doc/guix.texi:14174
  2869. #, no-wrap
  2870. msgid "Mapped Devices"
  2871. msgstr ""
  2872. #. type: menuentry
  2873. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2874. msgid "Block device extra processing."
  2875. msgstr ""
  2876. #. type: section
  2877. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2878. #: guix-git/doc/guix.texi:14321 guix-git/doc/guix.texi:14322
  2879. #, no-wrap
  2880. msgid "User Accounts"
  2881. msgstr ""
  2882. #. type: menuentry
  2883. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2884. msgid "Specifying user accounts."
  2885. msgstr ""
  2886. #. type: section
  2887. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:2259
  2888. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14497
  2889. #: guix-git/doc/guix.texi:14498
  2890. #, no-wrap
  2891. msgid "Keyboard Layout"
  2892. msgstr ""
  2893. #. type: menuentry
  2894. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2895. msgid "How the system interprets key strokes."
  2896. msgstr ""
  2897. #. type: section
  2898. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1786
  2899. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14643
  2900. #: guix-git/doc/guix.texi:14644
  2901. #, no-wrap
  2902. msgid "Locales"
  2903. msgstr ""
  2904. #. type: menuentry
  2905. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2906. msgid "Language and cultural convention settings."
  2907. msgstr ""
  2908. #. type: section
  2909. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:324
  2910. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14783
  2911. #: guix-git/doc/guix.texi:14784
  2912. #, no-wrap
  2913. msgid "Services"
  2914. msgstr "Služby"
  2915. #. type: menuentry
  2916. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2917. msgid "Specifying system services."
  2918. msgstr ""
  2919. #. type: section
  2920. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2921. #: guix-git/doc/guix.texi:31980 guix-git/doc/guix.texi:31981
  2922. #, no-wrap
  2923. msgid "Setuid Programs"
  2924. msgstr ""
  2925. #. type: menuentry
  2926. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2927. msgid "Programs running with root privileges."
  2928. msgstr ""
  2929. #. type: section
  2930. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1935
  2931. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:32026
  2932. #: guix-git/doc/guix.texi:32027
  2933. #, no-wrap
  2934. msgid "X.509 Certificates"
  2935. msgstr ""
  2936. #. type: menuentry
  2937. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2938. msgid "Authenticating HTTPS servers."
  2939. msgstr ""
  2940. #. type: section
  2941. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1829
  2942. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:32089
  2943. #: guix-git/doc/guix.texi:32090
  2944. #, no-wrap
  2945. msgid "Name Service Switch"
  2946. msgstr ""
  2947. #. type: menuentry
  2948. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2949. msgid "Configuring libc's name service switch."
  2950. msgstr ""
  2951. #. type: section
  2952. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2953. #: guix-git/doc/guix.texi:32227 guix-git/doc/guix.texi:32228
  2954. #, no-wrap
  2955. msgid "Initial RAM Disk"
  2956. msgstr ""
  2957. #. type: menuentry
  2958. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2959. msgid "Linux-Libre bootstrapping."
  2960. msgstr ""
  2961. #. type: section
  2962. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2963. #: guix-git/doc/guix.texi:32403 guix-git/doc/guix.texi:32404
  2964. #, no-wrap
  2965. msgid "Bootloader Configuration"
  2966. msgstr ""
  2967. #. type: menuentry
  2968. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2969. msgid "Configuring the boot loader."
  2970. msgstr ""
  2971. #. type: node
  2972. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2973. #: guix-git/doc/guix.texi:32697
  2974. #, no-wrap
  2975. msgid "Invoking guix system"
  2976. msgstr ""
  2977. #. type: menuentry
  2978. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2979. msgid "Instantiating a system configuration."
  2980. msgstr ""
  2981. #. type: node
  2982. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2983. #: guix-git/doc/guix.texi:33282
  2984. #, no-wrap
  2985. msgid "Invoking guix deploy"
  2986. msgstr ""
  2987. #. type: menuentry
  2988. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2989. msgid "Deploying a system configuration to a remote host."
  2990. msgstr ""
  2991. #. type: node
  2992. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2993. #: guix-git/doc/guix.texi:33488
  2994. #, no-wrap
  2995. msgid "Running Guix in a VM"
  2996. msgstr ""
  2997. #. type: menuentry
  2998. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2999. msgid "How to run Guix System in a virtual machine."
  3000. msgstr ""
  3001. #. type: section
  3002. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:359
  3003. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:33618
  3004. #: guix-git/doc/guix.texi:33619
  3005. #, no-wrap
  3006. msgid "Defining Services"
  3007. msgstr ""
  3008. #. type: menuentry
  3009. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3010. msgid "Adding new service definitions."
  3011. msgstr ""
  3012. #. type: subsection
  3013. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3014. #: guix-git/doc/guix.texi:14868 guix-git/doc/guix.texi:14869
  3015. #, no-wrap
  3016. msgid "Base Services"
  3017. msgstr ""
  3018. #. type: menuentry
  3019. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3020. msgid "Essential system services."
  3021. msgstr ""
  3022. #. type: subsection
  3023. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3024. #: guix-git/doc/guix.texi:15784 guix-git/doc/guix.texi:15785
  3025. #, no-wrap
  3026. msgid "Scheduled Job Execution"
  3027. msgstr ""
  3028. #. type: menuentry
  3029. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3030. msgid "The mcron service."
  3031. msgstr ""
  3032. #. type: subsection
  3033. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3034. #: guix-git/doc/guix.texi:15925 guix-git/doc/guix.texi:15926
  3035. #, no-wrap
  3036. msgid "Log Rotation"
  3037. msgstr ""
  3038. #. type: menuentry
  3039. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3040. msgid "The rottlog service."
  3041. msgstr ""
  3042. #. type: subsection
  3043. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3044. #: guix-git/doc/guix.texi:16038 guix-git/doc/guix.texi:16039
  3045. #, no-wrap
  3046. msgid "Networking Services"
  3047. msgstr ""
  3048. #. type: menuentry
  3049. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3050. msgid "Network setup, SSH daemon, etc."
  3051. msgstr ""
  3052. #. type: subsection
  3053. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3054. #: guix-git/doc/guix.texi:17608 guix-git/doc/guix.texi:17609
  3055. #, no-wrap
  3056. msgid "Unattended Upgrades"
  3057. msgstr ""
  3058. #. type: menuentry
  3059. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3060. msgid "Automated system upgrades."
  3061. msgstr ""
  3062. #. type: subsection
  3063. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3064. #: guix-git/doc/guix.texi:17746 guix-git/doc/guix.texi:17747
  3065. #, no-wrap
  3066. msgid "X Window"
  3067. msgstr ""
  3068. #. type: menuentry
  3069. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3070. msgid "Graphical display."
  3071. msgstr ""
  3072. #. type: subsection
  3073. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3074. #: guix-git/doc/guix.texi:18123 guix-git/doc/guix.texi:18124
  3075. #, no-wrap
  3076. msgid "Printing Services"
  3077. msgstr ""
  3078. #. type: menuentry
  3079. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3080. msgid "Local and remote printer support."
  3081. msgstr ""
  3082. #. type: subsection
  3083. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3084. #: guix-git/doc/guix.texi:18976 guix-git/doc/guix.texi:18977
  3085. #, no-wrap
  3086. msgid "Desktop Services"
  3087. msgstr ""
  3088. #. type: menuentry
  3089. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3090. msgid "D-Bus and desktop services."
  3091. msgstr ""
  3092. #. type: subsection
  3093. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3094. #: guix-git/doc/guix.texi:19494 guix-git/doc/guix.texi:19495
  3095. #, no-wrap
  3096. msgid "Sound Services"
  3097. msgstr ""
  3098. #. type: menuentry
  3099. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3100. msgid "ALSA and Pulseaudio services."
  3101. msgstr ""
  3102. #. type: subsection
  3103. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3104. #: guix-git/doc/guix.texi:19634 guix-git/doc/guix.texi:19635
  3105. #, no-wrap
  3106. msgid "Database Services"
  3107. msgstr ""
  3108. #. type: menuentry
  3109. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3110. msgid "SQL databases, key-value stores, etc."
  3111. msgstr ""
  3112. #. type: subsection
  3113. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3114. #: guix-git/doc/guix.texi:19966 guix-git/doc/guix.texi:19967
  3115. #, no-wrap
  3116. msgid "Mail Services"
  3117. msgstr ""
  3118. #. type: menuentry
  3119. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3120. msgid "IMAP, POP3, SMTP, and all that."
  3121. msgstr ""
  3122. #. type: subsection
  3123. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3124. #: guix-git/doc/guix.texi:21782 guix-git/doc/guix.texi:21783
  3125. #, no-wrap
  3126. msgid "Messaging Services"
  3127. msgstr ""
  3128. #. type: menuentry
  3129. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3130. msgid "Messaging services."
  3131. msgstr ""
  3132. #. type: subsection
  3133. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3134. #: guix-git/doc/guix.texi:22285 guix-git/doc/guix.texi:22286
  3135. #, no-wrap
  3136. msgid "Telephony Services"
  3137. msgstr ""
  3138. #. type: menuentry
  3139. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3140. msgid "Telephony services."
  3141. msgstr ""
  3142. #. type: subsection
  3143. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3144. #: guix-git/doc/guix.texi:23288 guix-git/doc/guix.texi:23289
  3145. #, no-wrap
  3146. msgid "Monitoring Services"
  3147. msgstr ""
  3148. #. type: menuentry
  3149. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3150. msgid "Monitoring services."
  3151. msgstr ""
  3152. #. type: subsection
  3153. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3154. #: guix-git/doc/guix.texi:23799 guix-git/doc/guix.texi:23800
  3155. #, no-wrap
  3156. msgid "Kerberos Services"
  3157. msgstr ""
  3158. #. type: menuentry
  3159. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3160. msgid "Kerberos services."
  3161. msgstr ""
  3162. #. type: subsection
  3163. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3164. #: guix-git/doc/guix.texi:23925 guix-git/doc/guix.texi:23926
  3165. #, no-wrap
  3166. msgid "LDAP Services"
  3167. msgstr ""
  3168. #. type: menuentry
  3169. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3170. msgid "LDAP services."
  3171. msgstr ""
  3172. #. type: subsection
  3173. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3174. #: guix-git/doc/guix.texi:24404 guix-git/doc/guix.texi:24405
  3175. #, no-wrap
  3176. msgid "Web Services"
  3177. msgstr ""
  3178. #. type: menuentry
  3179. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3180. msgid "Web servers."
  3181. msgstr ""
  3182. #. type: subsection
  3183. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3184. #: guix-git/doc/guix.texi:25605 guix-git/doc/guix.texi:25606
  3185. #, no-wrap
  3186. msgid "Certificate Services"
  3187. msgstr ""
  3188. #. type: menuentry
  3189. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3190. msgid "TLS certificates via Let's Encrypt."
  3191. msgstr ""
  3192. #. type: subsection
  3193. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3194. #: guix-git/doc/guix.texi:25778 guix-git/doc/guix.texi:25779
  3195. #, no-wrap
  3196. msgid "DNS Services"
  3197. msgstr ""
  3198. #. type: menuentry
  3199. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3200. msgid "DNS daemons."
  3201. msgstr ""
  3202. #. type: subsection
  3203. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3204. #: guix-git/doc/guix.texi:26526 guix-git/doc/guix.texi:26527
  3205. #, no-wrap
  3206. msgid "VPN Services"
  3207. msgstr ""
  3208. #. type: menuentry
  3209. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3210. msgid "VPN daemons."
  3211. msgstr ""
  3212. #. type: subsection
  3213. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3214. #: guix-git/doc/guix.texi:26981 guix-git/doc/guix.texi:26982
  3215. #, no-wrap
  3216. msgid "Network File System"
  3217. msgstr ""
  3218. #. type: menuentry
  3219. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3220. msgid "NFS related services."
  3221. msgstr ""
  3222. #. type: subsection
  3223. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3224. #: guix-git/doc/guix.texi:27177 guix-git/doc/guix.texi:27178
  3225. #, no-wrap
  3226. msgid "Continuous Integration"
  3227. msgstr ""
  3228. #. type: menuentry
  3229. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3230. msgid "Cuirass and Laminar services."
  3231. msgstr ""
  3232. #. type: subsection
  3233. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3234. #: guix-git/doc/guix.texi:27455 guix-git/doc/guix.texi:27456
  3235. #, no-wrap
  3236. msgid "Power Management Services"
  3237. msgstr ""
  3238. #. type: menuentry
  3239. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3240. msgid "Extending battery life."
  3241. msgstr ""
  3242. #. type: subsection
  3243. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3244. #: guix-git/doc/guix.texi:27989 guix-git/doc/guix.texi:27990
  3245. #, no-wrap
  3246. msgid "Audio Services"
  3247. msgstr ""
  3248. #. type: menuentry
  3249. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3250. msgid "The MPD."
  3251. msgstr ""
  3252. #. type: subsection
  3253. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3254. #: guix-git/doc/guix.texi:28108 guix-git/doc/guix.texi:28109
  3255. #, no-wrap
  3256. msgid "Virtualization Services"
  3257. msgstr ""
  3258. #. type: menuentry
  3259. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3260. msgid "Virtualization services."
  3261. msgstr ""
  3262. #. type: subsection
  3263. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3264. #: guix-git/doc/guix.texi:29722 guix-git/doc/guix.texi:29723
  3265. #, no-wrap
  3266. msgid "Version Control Services"
  3267. msgstr ""
  3268. #. type: menuentry
  3269. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3270. msgid "Providing remote access to Git repositories."
  3271. msgstr ""
  3272. #. type: subsection
  3273. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3274. #: guix-git/doc/guix.texi:30914 guix-git/doc/guix.texi:30915
  3275. #, no-wrap
  3276. msgid "Game Services"
  3277. msgstr ""
  3278. #. type: menuentry
  3279. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3280. msgid "Game servers."
  3281. msgstr ""
  3282. #. type: subsection
  3283. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3284. #: guix-git/doc/guix.texi:30946 guix-git/doc/guix.texi:30947
  3285. #, no-wrap
  3286. msgid "PAM Mount Service"
  3287. msgstr ""
  3288. #. type: menuentry
  3289. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3290. msgid "Service to mount volumes when logging in."
  3291. msgstr ""
  3292. #. type: subsection
  3293. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3294. #: guix-git/doc/guix.texi:31029 guix-git/doc/guix.texi:31030
  3295. #, no-wrap
  3296. msgid "Guix Services"
  3297. msgstr ""
  3298. #. type: menuentry
  3299. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3300. msgid "Services relating specifically to Guix."
  3301. msgstr ""
  3302. #. type: subsection
  3303. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3304. #: guix-git/doc/guix.texi:31304 guix-git/doc/guix.texi:31305
  3305. #, no-wrap
  3306. msgid "Linux Services"
  3307. msgstr ""
  3308. #. type: menuentry
  3309. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3310. msgid "Services tied to the Linux kernel."
  3311. msgstr ""
  3312. #. type: subsection
  3313. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3314. #: guix-git/doc/guix.texi:31451 guix-git/doc/guix.texi:31452
  3315. #, no-wrap
  3316. msgid "Hurd Services"
  3317. msgstr ""
  3318. #. type: menuentry
  3319. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3320. msgid "Services specific for a Hurd System."
  3321. msgstr ""
  3322. #. type: subsection
  3323. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3324. #: guix-git/doc/guix.texi:31493 guix-git/doc/guix.texi:31494
  3325. #, no-wrap
  3326. msgid "Miscellaneous Services"
  3327. msgstr ""
  3328. #. type: menuentry
  3329. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3330. msgid "Other services."
  3331. msgstr ""
  3332. #. type: subsection
  3333. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3334. #: guix-git/doc/guix.texi:33632 guix-git/doc/guix.texi:33633
  3335. #, no-wrap
  3336. msgid "Service Composition"
  3337. msgstr ""
  3338. #. type: menuentry
  3339. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3340. msgid "The model for composing services."
  3341. msgstr ""
  3342. #. type: subsection
  3343. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3344. #: guix-git/doc/guix.texi:33688 guix-git/doc/guix.texi:33689
  3345. #, no-wrap
  3346. msgid "Service Types and Services"
  3347. msgstr ""
  3348. #. type: menuentry
  3349. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3350. msgid "Types and services."
  3351. msgstr ""
  3352. #. type: subsection
  3353. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3354. #: guix-git/doc/guix.texi:33825 guix-git/doc/guix.texi:33826
  3355. #, no-wrap
  3356. msgid "Service Reference"
  3357. msgstr ""
  3358. #. type: menuentry
  3359. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3360. msgid "API reference."
  3361. msgstr ""
  3362. #. type: subsection
  3363. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3364. #: guix-git/doc/guix.texi:34116 guix-git/doc/guix.texi:34117
  3365. #, no-wrap
  3366. msgid "Shepherd Services"
  3367. msgstr ""
  3368. #. type: menuentry
  3369. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3370. msgid "A particular type of service."
  3371. msgstr ""
  3372. #. type: section
  3373. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3374. #: guix-git/doc/guix.texi:34419 guix-git/doc/guix.texi:34420
  3375. #, no-wrap
  3376. msgid "Separate Debug Info"
  3377. msgstr ""
  3378. #. type: menuentry
  3379. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3380. msgid "Installing 'debug' outputs."
  3381. msgstr ""
  3382. #. type: section
  3383. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3384. #: guix-git/doc/guix.texi:34478 guix-git/doc/guix.texi:34479
  3385. #, no-wrap
  3386. msgid "Rebuilding Debug Info"
  3387. msgstr ""
  3388. #. type: menuentry
  3389. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3390. msgid "Building missing debug info."
  3391. msgstr ""
  3392. #. type: node
  3393. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3394. #: guix-git/doc/guix.texi:34697
  3395. #, no-wrap
  3396. msgid "Reduced Binary Seed Bootstrap"
  3397. msgstr ""
  3398. #. type: menuentry
  3399. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3400. msgid "A Bootstrap worthy of GNU."
  3401. msgstr ""
  3402. #. type: section
  3403. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3404. #: guix-git/doc/guix.texi:34772 guix-git/doc/guix.texi:34773
  3405. #, no-wrap
  3406. msgid "Preparing to Use the Bootstrap Binaries"
  3407. msgstr ""
  3408. #. type: menuentry
  3409. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3410. msgid "Building that what matters most."
  3411. msgstr ""
  3412. #. type: cindex
  3413. #: guix-git/doc/guix.texi:382
  3414. #, no-wrap
  3415. msgid "purpose"
  3416. msgstr ""
  3417. #. type: Plain text
  3418. #: guix-git/doc/guix.texi:390
  3419. msgid "GNU Guix@footnote{``Guix'' is pronounced like ``geeks'', or ``ɡiːks'' using the international phonetic alphabet (IPA).} is a package management tool for and distribution of the GNU system. Guix makes it easy for unprivileged users to install, upgrade, or remove software packages, to roll back to a previous package set, to build packages from source, and generally assists with the creation and maintenance of software environments."
  3420. msgstr ""
  3421. #. type: cindex
  3422. #: guix-git/doc/guix.texi:391 guix-git/doc/guix.texi:466
  3423. #, no-wrap
  3424. msgid "Guix System"
  3425. msgstr ""
  3426. #. type: cindex
  3427. #: guix-git/doc/guix.texi:392
  3428. #, no-wrap
  3429. msgid "GuixSD, now Guix System"
  3430. msgstr ""
  3431. #. type: cindex
  3432. #: guix-git/doc/guix.texi:393
  3433. #, no-wrap
  3434. msgid "Guix System Distribution, now Guix System"
  3435. msgstr ""
  3436. #. type: Plain text
  3437. #: guix-git/doc/guix.texi:402
  3438. msgid "You can install GNU@tie{}Guix on top of an existing GNU/Linux system where it complements the available tools without interference (@pxref{Installation}), or you can use it as a standalone operating system distribution, @dfn{Guix@tie{}System}@footnote{We used to refer to Guix System as ``Guix System Distribution'' or ``GuixSD''. We now consider it makes more sense to group everything under the ``Guix'' banner since, after all, Guix System is readily available through the @command{guix system} command, even if you're using a different distro underneath!}. @xref{GNU Distribution}."
  3439. msgstr ""
  3440. #. type: cindex
  3441. #: guix-git/doc/guix.texi:411
  3442. #, no-wrap
  3443. msgid "user interfaces"
  3444. msgstr ""
  3445. #. type: Plain text
  3446. #: guix-git/doc/guix.texi:417
  3447. msgid "Guix provides a command-line package management interface (@pxref{Package Management}), tools to help with software development (@pxref{Development}), command-line utilities for more advanced usage (@pxref{Utilities}), as well as Scheme programming interfaces (@pxref{Programming Interface})."
  3448. msgstr ""
  3449. #. type: cindex
  3450. #: guix-git/doc/guix.texi:417
  3451. #, no-wrap
  3452. msgid "build daemon"
  3453. msgstr ""
  3454. #. type: Plain text
  3455. #: guix-git/doc/guix.texi:421
  3456. msgid "Its @dfn{build daemon} is responsible for building packages on behalf of users (@pxref{Setting Up the Daemon}) and for downloading pre-built binaries from authorized sources (@pxref{Substitutes})."
  3457. msgstr ""
  3458. #. type: cindex
  3459. #: guix-git/doc/guix.texi:422
  3460. #, no-wrap
  3461. msgid "extensibility of the distribution"
  3462. msgstr ""
  3463. #. type: cindex
  3464. #: guix-git/doc/guix.texi:423 guix-git/doc/guix.texi:6393
  3465. #, no-wrap
  3466. msgid "customization, of packages"
  3467. msgstr ""
  3468. #. type: Plain text
  3469. #: guix-git/doc/guix.texi:432
  3470. msgid "Guix includes package definitions for many GNU and non-GNU packages, all of which @uref{https://www.gnu.org/philosophy/free-sw.html, respect the user's computing freedom}. It is @emph{extensible}: users can write their own package definitions (@pxref{Defining Packages}) and make them available as independent package modules (@pxref{Package Modules}). It is also @emph{customizable}: users can @emph{derive} specialized package definitions from existing ones, including from the command line (@pxref{Package Transformation Options})."
  3471. msgstr ""
  3472. #. type: cindex
  3473. #: guix-git/doc/guix.texi:433
  3474. #, no-wrap
  3475. msgid "functional package management"
  3476. msgstr ""
  3477. #. type: cindex
  3478. #: guix-git/doc/guix.texi:434
  3479. #, no-wrap
  3480. msgid "isolation"
  3481. msgstr ""
  3482. #. type: Plain text
  3483. #: guix-git/doc/guix.texi:449
  3484. msgid "Under the hood, Guix implements the @dfn{functional package management} discipline pioneered by Nix (@pxref{Acknowledgments}). In Guix, the package build and installation process is seen as a @emph{function}, in the mathematical sense. That function takes inputs, such as build scripts, a compiler, and libraries, and returns an installed package. As a pure function, its result depends solely on its inputs---for instance, it cannot refer to software or scripts that were not explicitly passed as inputs. A build function always produces the same result when passed a given set of inputs. It cannot alter the environment of the running system in any way; for instance, it cannot create, modify, or delete files outside of its build and installation directories. This is achieved by running build processes in isolated environments (or @dfn{containers}), where only their explicit inputs are visible."
  3485. msgstr ""
  3486. #. type: cindex
  3487. #: guix-git/doc/guix.texi:450 guix-git/doc/guix.texi:8733
  3488. #, no-wrap
  3489. msgid "store"
  3490. msgstr ""
  3491. #. type: Plain text
  3492. #: guix-git/doc/guix.texi:457
  3493. msgid "The result of package build functions is @dfn{cached} in the file system, in a special directory called @dfn{the store} (@pxref{The Store}). Each package is installed in a directory of its own in the store---by default under @file{/gnu/store}. The directory name contains a hash of all the inputs used to build that package; thus, changing an input yields a different directory name."
  3494. msgstr ""
  3495. #. type: Plain text
  3496. #: guix-git/doc/guix.texi:461
  3497. msgid "This approach is the foundation for the salient features of Guix: support for transactional package upgrade and rollback, per-user installation, and garbage collection of packages (@pxref{Features})."
  3498. msgstr ""
  3499. #. type: Plain text
  3500. #: guix-git/doc/guix.texi:476
  3501. msgid "Guix comes with a distribution of the GNU system consisting entirely of free software@footnote{The term ``free'' here refers to the @url{https://www.gnu.org/philosophy/free-sw.html,freedom provided to users of that software}.}. The distribution can be installed on its own (@pxref{System Installation}), but it is also possible to install Guix as a package manager on top of an installed GNU/Linux system (@pxref{Installation}). When we need to distinguish between the two, we refer to the standalone distribution as Guix@tie{}System."
  3502. msgstr ""
  3503. #. type: Plain text
  3504. #: guix-git/doc/guix.texi:482
  3505. msgid "The distribution provides core GNU packages such as GNU libc, GCC, and Binutils, as well as many GNU and non-GNU applications. The complete list of available packages can be browsed @url{https://www.gnu.org/software/guix/packages,on-line} or by running @command{guix package} (@pxref{Invoking guix package}):"
  3506. msgstr ""
  3507. #. type: example
  3508. #: guix-git/doc/guix.texi:485
  3509. #, no-wrap
  3510. msgid "guix package --list-available\n"
  3511. msgstr ""
  3512. #. type: Plain text
  3513. #: guix-git/doc/guix.texi:491
  3514. msgid "Our goal is to provide a practical 100% free software distribution of Linux-based and other variants of GNU, with a focus on the promotion and tight integration of GNU components, and an emphasis on programs and tools that help users exert that freedom."
  3515. msgstr ""
  3516. #. type: Plain text
  3517. #: guix-git/doc/guix.texi:493
  3518. msgid "Packages are currently available on the following platforms:"
  3519. msgstr ""
  3520. #. type: item
  3521. #: guix-git/doc/guix.texi:496 guix-git/doc/guix.texi:2106
  3522. #, no-wrap
  3523. msgid "x86_64-linux"
  3524. msgstr ""
  3525. #. type: table
  3526. #: guix-git/doc/guix.texi:498
  3527. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  3528. msgstr ""
  3529. #. type: item
  3530. #: guix-git/doc/guix.texi:499 guix-git/doc/guix.texi:2109
  3531. #, no-wrap
  3532. msgid "i686-linux"
  3533. msgstr ""
  3534. #. type: table
  3535. #: guix-git/doc/guix.texi:501
  3536. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  3537. msgstr ""
  3538. #. type: item
  3539. #: guix-git/doc/guix.texi:502
  3540. #, no-wrap
  3541. msgid "armhf-linux"
  3542. msgstr ""
  3543. #. type: table
  3544. #: guix-git/doc/guix.texi:506
  3545. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  3546. msgstr ""
  3547. #. type: item
  3548. #: guix-git/doc/guix.texi:507
  3549. #, no-wrap
  3550. msgid "aarch64-linux"
  3551. msgstr ""
  3552. #. type: table
  3553. #: guix-git/doc/guix.texi:509
  3554. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  3555. msgstr ""
  3556. #. type: item
  3557. #: guix-git/doc/guix.texi:510
  3558. #, no-wrap
  3559. msgid "i586-gnu"
  3560. msgstr ""
  3561. #. type: table
  3562. #: guix-git/doc/guix.texi:513
  3563. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  3564. msgstr ""
  3565. #. type: table
  3566. #: guix-git/doc/guix.texi:519
  3567. msgid "This configuration is experimental and under development. The easiest way for you to give it a try is by setting up an instance of @code{hurd-vm-service-type} on your GNU/Linux machine (@pxref{transparent-emulation-qemu, @code{hurd-vm-service-type}}). @xref{Contributing}, on how to help!"
  3568. msgstr ""
  3569. #. type: item
  3570. #: guix-git/doc/guix.texi:520
  3571. #, no-wrap
  3572. msgid "mips64el-linux (deprecated)"
  3573. msgstr ""
  3574. #. type: table
  3575. #: guix-git/doc/guix.texi:526
  3576. msgid "little-endian 64-bit MIPS processors, specifically the Loongson series, n32 ABI, and Linux-Libre kernel. This configuration is no longer fully supported; in particular, there is no ongoing work to ensure that this architecture still works. Should someone decide they wish to revive this architecture then the code is still available."
  3577. msgstr ""
  3578. #. type: item
  3579. #: guix-git/doc/guix.texi:527
  3580. #, no-wrap
  3581. msgid "powerpc64le-linux"
  3582. msgstr ""
  3583. #. type: table
  3584. #: guix-git/doc/guix.texi:537
  3585. msgid "little-endian 64-bit Power ISA processors, Linux-Libre kernel. This includes POWER9 systems such as the @uref{https://www.fsf.org/news/talos-ii-mainboard-and-talos-ii-lite-mainboard-now-fsf-certified-to-respect-your-freedom, RYF Talos II mainboard}. This platform is available as a \"technology preview\": although it is supported, substitutes are not yet available from the build farm (@pxref{Substitutes}), and some packages may fail to build (@pxref{Tracking Bugs and Patches}). That said, the Guix community is actively working on improving this support, and now is a great time to try it and get involved!"
  3586. msgstr ""
  3587. #. type: Plain text
  3588. #: guix-git/doc/guix.texi:547
  3589. msgid "With Guix@tie{}System, you @emph{declare} all aspects of the operating system configuration and Guix takes care of instantiating the configuration in a transactional, reproducible, and stateless fashion (@pxref{System Configuration}). Guix System uses the Linux-libre kernel, the Shepherd initialization system (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual}), the well-known GNU utilities and tool chain, as well as the graphical environment or system services of your choice."
  3590. msgstr ""
  3591. #. type: Plain text
  3592. #: guix-git/doc/guix.texi:550
  3593. msgid "Guix System is available on all the above platforms except @code{mips64el-linux} and @code{powerpc64le-linux}."
  3594. msgstr ""
  3595. #. type: Plain text
  3596. #: guix-git/doc/guix.texi:554
  3597. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  3598. msgstr ""
  3599. #. type: Plain text
  3600. #: guix-git/doc/guix.texi:557
  3601. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  3602. msgstr ""
  3603. #. type: cindex
  3604. #: guix-git/doc/guix.texi:563
  3605. #, no-wrap
  3606. msgid "installing Guix"
  3607. msgstr ""
  3608. #. type: quotation
  3609. #: guix-git/doc/guix.texi:575
  3610. msgid "We recommend the use of this @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script} to install Guix on top of a running GNU/Linux system, thereafter called a @dfn{foreign distro}.@footnote{This section is concerned with the installation of the package manager, which can be done on top of a running GNU/Linux system. If, instead, you want to install the complete GNU operating system, @pxref{System Installation}.} The script automates the download, installation, and initial configuration of Guix. It should be run as the root user."
  3611. msgstr ""
  3612. #. type: cindex
  3613. #: guix-git/doc/guix.texi:577 guix-git/doc/guix.texi:1781
  3614. #, no-wrap
  3615. msgid "foreign distro"
  3616. msgstr ""
  3617. #. type: cindex
  3618. #: guix-git/doc/guix.texi:578
  3619. #, no-wrap
  3620. msgid "directories related to foreign distro"
  3621. msgstr ""
  3622. #. type: Plain text
  3623. #: guix-git/doc/guix.texi:583
  3624. msgid "When installed on a foreign distro, GNU@tie{}Guix complements the available tools without interference. Its data lives exclusively in two directories, usually @file{/gnu/store} and @file{/var/guix}; other files on your system, such as @file{/etc}, are left untouched."
  3625. msgstr ""
  3626. #. type: Plain text
  3627. #: guix-git/doc/guix.texi:586
  3628. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  3629. msgstr ""
  3630. #. type: Plain text
  3631. #: guix-git/doc/guix.texi:591
  3632. msgid "If you prefer to perform the installation steps manually or want to tweak them, you may find the following subsections useful. They describe the software requirements of Guix, as well as how to install it manually and get ready to use it."
  3633. msgstr ""
  3634. #. type: cindex
  3635. #: guix-git/doc/guix.texi:605
  3636. #, no-wrap
  3637. msgid "installing Guix from binaries"
  3638. msgstr ""
  3639. #. type: cindex
  3640. #: guix-git/doc/guix.texi:606
  3641. #, no-wrap
  3642. msgid "installer script"
  3643. msgstr ""
  3644. #. type: Plain text
  3645. #: guix-git/doc/guix.texi:612
  3646. msgid "This section describes how to install Guix on an arbitrary system from a self-contained tarball providing binaries for Guix and for all its dependencies. This is often quicker than installing from source, which is described in the next sections. The only requirement is to have GNU@tie{}tar and Xz."
  3647. msgstr ""
  3648. #. type: quotation
  3649. #: guix-git/doc/guix.texi:620
  3650. msgid "We recommend the use of this @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script}. The script automates the download, installation, and initial configuration steps described below. It should be run as the root user. As root, you can thus run this:"
  3651. msgstr ""
  3652. #. type: example
  3653. #: guix-git/doc/guix.texi:626
  3654. #, no-wrap
  3655. msgid ""
  3656. "cd /tmp\n"
  3657. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  3658. "chmod +x guix-install.sh\n"
  3659. "./guix-install.sh\n"
  3660. msgstr ""
  3661. #. type: quotation
  3662. #: guix-git/doc/guix.texi:630
  3663. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  3664. msgstr ""
  3665. #. type: Plain text
  3666. #: guix-git/doc/guix.texi:633
  3667. msgid "Installing goes along these lines:"
  3668. msgstr ""
  3669. #. type: cindex
  3670. #: guix-git/doc/guix.texi:636
  3671. #, no-wrap
  3672. msgid "downloading Guix binary"
  3673. msgstr ""
  3674. #. type: enumerate
  3675. #: guix-git/doc/guix.texi:642
  3676. msgid "Download the binary tarball from @indicateurl{@value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz}, where @code{x86_64-linux} can be replaced with @code{i686-linux} for an @code{i686} (32-bits) machine already running the kernel Linux, and so on (@pxref{GNU Distribution})."
  3677. msgstr ""
  3678. #. type: enumerate
  3679. #: guix-git/doc/guix.texi:646
  3680. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  3681. msgstr ""
  3682. #. type: example
  3683. #: guix-git/doc/guix.texi:650
  3684. #, no-wrap
  3685. msgid ""
  3686. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  3687. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  3688. msgstr ""
  3689. #. type: Plain text
  3690. #: guix-git/doc/guix.texi:654 guix-git/doc/guix.texi:2124
  3691. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  3692. msgstr ""
  3693. #. type: example
  3694. #: guix-git/doc/guix.texi:658
  3695. #, no-wrap
  3696. msgid ""
  3697. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  3698. " -qO - | gpg --import -\n"
  3699. msgstr ""
  3700. #. type: Plain text
  3701. #: guix-git/doc/guix.texi:662 guix-git/doc/guix.texi:2132
  3702. msgid "and rerun the @code{gpg --verify} command."
  3703. msgstr ""
  3704. #. type: Plain text
  3705. #: guix-git/doc/guix.texi:665 guix-git/doc/guix.texi:2135
  3706. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  3707. msgstr ""
  3708. #. type: enumerate
  3709. #: guix-git/doc/guix.texi:671
  3710. msgid "Now, you need to become the @code{root} user. Depending on your distribution, you may have to run @code{su -} or @code{sudo -i}. As @code{root}, run:"
  3711. msgstr ""
  3712. #. type: example
  3713. #: guix-git/doc/guix.texi:677
  3714. #, no-wrap
  3715. msgid ""
  3716. "# cd /tmp\n"
  3717. "# tar --warning=no-timestamp -xf \\\n"
  3718. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  3719. "# mv var/guix /var/ && mv gnu /\n"
  3720. msgstr ""
  3721. #. type: enumerate
  3722. #: guix-git/doc/guix.texi:682
  3723. msgid "This creates @file{/gnu/store} (@pxref{The Store}) and @file{/var/guix}. The latter contains a ready-to-use profile for @code{root} (see next step)."
  3724. msgstr ""
  3725. #. type: enumerate
  3726. #: guix-git/doc/guix.texi:685
  3727. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  3728. msgstr ""
  3729. #. type: enumerate
  3730. #: guix-git/doc/guix.texi:695
  3731. msgid "The @option{--warning=no-timestamp} option makes sure GNU@tie{}tar does not emit warnings about ``implausibly old time stamps'' (such warnings were triggered by GNU@tie{}tar 1.26 and older; recent versions are fine). They stem from the fact that all the files in the archive have their modification time set to 1 (which means January 1st, 1970). This is done on purpose to make sure the archive content is independent of its creation time, thus making it reproducible."
  3732. msgstr ""
  3733. #. type: enumerate
  3734. #: guix-git/doc/guix.texi:699
  3735. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  3736. msgstr ""
  3737. #. type: example
  3738. #: guix-git/doc/guix.texi:704
  3739. #, no-wrap
  3740. msgid ""
  3741. "# mkdir -p ~root/.config/guix\n"
  3742. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  3743. " ~root/.config/guix/current\n"
  3744. msgstr ""
  3745. #. type: enumerate
  3746. #: guix-git/doc/guix.texi:708
  3747. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  3748. msgstr ""
  3749. #. type: example
  3750. #: guix-git/doc/guix.texi:712
  3751. #, no-wrap
  3752. msgid ""
  3753. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  3754. " source $GUIX_PROFILE/etc/profile\n"
  3755. msgstr ""
  3756. #. type: enumerate
  3757. #: guix-git/doc/guix.texi:717
  3758. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  3759. msgstr ""
  3760. #. type: enumerate
  3761. #: guix-git/doc/guix.texi:720
  3762. msgid "Run the daemon, and set it to automatically start on boot."
  3763. msgstr ""
  3764. #. type: enumerate
  3765. #: guix-git/doc/guix.texi:723
  3766. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  3767. msgstr ""
  3768. #. type: example
  3769. #: guix-git/doc/guix.texi:736
  3770. #, no-wrap
  3771. msgid ""
  3772. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  3773. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  3774. " /etc/systemd/system/\n"
  3775. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  3776. msgstr ""
  3777. #. type: itemize
  3778. #: guix-git/doc/guix.texi:739 guix-git/doc/guix.texi:12767
  3779. msgid "If your host distro uses the Upstart init system:"
  3780. msgstr ""
  3781. #. type: example
  3782. #: guix-git/doc/guix.texi:745
  3783. #, no-wrap
  3784. msgid ""
  3785. "# initctl reload-configuration\n"
  3786. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  3787. " /etc/init/\n"
  3788. "# start guix-daemon\n"
  3789. msgstr ""
  3790. #. type: enumerate
  3791. #: guix-git/doc/guix.texi:748
  3792. msgid "Otherwise, you can still start the daemon manually with:"
  3793. msgstr ""
  3794. #. type: example
  3795. #: guix-git/doc/guix.texi:752
  3796. #, no-wrap
  3797. msgid ""
  3798. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  3799. " --build-users-group=guixbuild\n"
  3800. msgstr ""
  3801. #. type: enumerate
  3802. #: guix-git/doc/guix.texi:757
  3803. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  3804. msgstr ""
  3805. #. type: example
  3806. #: guix-git/doc/guix.texi:762
  3807. #, no-wrap
  3808. msgid ""
  3809. "# mkdir -p /usr/local/bin\n"
  3810. "# cd /usr/local/bin\n"
  3811. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  3812. msgstr ""
  3813. #. type: enumerate
  3814. #: guix-git/doc/guix.texi:766
  3815. msgid "It is also a good idea to make the Info version of this manual available there:"
  3816. msgstr ""
  3817. #. type: example
  3818. #: guix-git/doc/guix.texi:772
  3819. #, no-wrap
  3820. msgid ""
  3821. "# mkdir -p /usr/local/share/info\n"
  3822. "# cd /usr/local/share/info\n"
  3823. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  3824. " do ln -s $i ; done\n"
  3825. msgstr ""
  3826. #. type: enumerate
  3827. #: guix-git/doc/guix.texi:778
  3828. msgid "That way, assuming @file{/usr/local/share/info} is in the search path, running @command{info guix} will open this manual (@pxref{Other Info Directories,,, texinfo, GNU Texinfo}, for more details on changing the Info search path)."
  3829. msgstr ""
  3830. #. type: cindex
  3831. #: guix-git/doc/guix.texi:780 guix-git/doc/guix.texi:3724
  3832. #: guix-git/doc/guix.texi:15401
  3833. #, no-wrap
  3834. msgid "substitutes, authorization thereof"
  3835. msgstr ""
  3836. #. type: enumerate
  3837. #: guix-git/doc/guix.texi:783
  3838. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER}} or one of its mirrors (@pxref{Substitutes}), authorize them:"
  3839. msgstr ""
  3840. #. type: example
  3841. #: guix-git/doc/guix.texi:787
  3842. #, no-wrap
  3843. msgid ""
  3844. "# guix archive --authorize < \\\n"
  3845. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  3846. msgstr ""
  3847. #. type: enumerate
  3848. #: guix-git/doc/guix.texi:792
  3849. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  3850. msgstr ""
  3851. #. type: Plain text
  3852. #: guix-git/doc/guix.texi:795
  3853. msgid "Voilà, the installation is complete!"
  3854. msgstr ""
  3855. #. type: Plain text
  3856. #: guix-git/doc/guix.texi:798
  3857. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  3858. msgstr ""
  3859. #. type: example
  3860. #: guix-git/doc/guix.texi:801
  3861. #, no-wrap
  3862. msgid "# guix install hello\n"
  3863. msgstr ""
  3864. #. type: Plain text
  3865. #: guix-git/doc/guix.texi:805
  3866. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  3867. msgstr ""
  3868. #. type: example
  3869. #: guix-git/doc/guix.texi:808
  3870. #, no-wrap
  3871. msgid "make guix-binary.@var{system}.tar.xz\n"
  3872. msgstr ""
  3873. #. type: Plain text
  3874. #: guix-git/doc/guix.texi:812
  3875. msgid "...@: which, in turn, runs:"
  3876. msgstr ""
  3877. #. type: example
  3878. #: guix-git/doc/guix.texi:816
  3879. #, no-wrap
  3880. msgid ""
  3881. "guix pack -s @var{system} --localstatedir \\\n"
  3882. " --profile-name=current-guix guix\n"
  3883. msgstr ""
  3884. #. type: Plain text
  3885. #: guix-git/doc/guix.texi:819
  3886. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  3887. msgstr ""
  3888. #. type: Plain text
  3889. #: guix-git/doc/guix.texi:827
  3890. msgid "This section lists requirements when building Guix from source. The build procedure for Guix is the same as for other GNU software, and is not covered here. Please see the files @file{README} and @file{INSTALL} in the Guix source tree for additional details."
  3891. msgstr ""
  3892. #. type: cindex
  3893. #: guix-git/doc/guix.texi:828
  3894. #, no-wrap
  3895. msgid "official website"
  3896. msgstr ""
  3897. #. type: Plain text
  3898. #: guix-git/doc/guix.texi:831
  3899. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  3900. msgstr ""
  3901. #. type: Plain text
  3902. #: guix-git/doc/guix.texi:833
  3903. msgid "GNU Guix depends on the following packages:"
  3904. msgstr ""
  3905. #. type: item
  3906. #: guix-git/doc/guix.texi:835
  3907. #, no-wrap
  3908. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x or"
  3909. msgstr ""
  3910. #. type: itemize
  3911. #: guix-git/doc/guix.texi:837
  3912. msgid "2.2.x;"
  3913. msgstr ""
  3914. #. type: item
  3915. #: guix-git/doc/guix.texi:837
  3916. #, no-wrap
  3917. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  3918. msgstr ""
  3919. #. type: itemize
  3920. #: guix-git/doc/guix.texi:839
  3921. msgid "0.1.0 or later;"
  3922. msgstr ""
  3923. #. type: itemize
  3924. #: guix-git/doc/guix.texi:843
  3925. msgid "@uref{https://gnutls.org/, GnuTLS}, specifically its Guile bindings (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile});"
  3926. msgstr ""
  3927. #. type: itemize
  3928. #: guix-git/doc/guix.texi:846
  3929. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  3930. msgstr ""
  3931. #. type: item
  3932. #: guix-git/doc/guix.texi:846
  3933. #, no-wrap
  3934. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  3935. msgstr ""
  3936. #. type: itemize
  3937. #: guix-git/doc/guix.texi:848
  3938. msgid "version 0.1.0 or later;"
  3939. msgstr ""
  3940. #. type: item
  3941. #: guix-git/doc/guix.texi:848
  3942. #, no-wrap
  3943. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  3944. msgstr ""
  3945. #. type: item
  3946. #: guix-git/doc/guix.texi:849
  3947. #, no-wrap
  3948. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  3949. msgstr ""
  3950. #. type: itemize
  3951. #: guix-git/doc/guix.texi:855
  3952. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.3.0 or later;"
  3953. msgstr ""
  3954. #. type: item
  3955. #: guix-git/doc/guix.texi:855
  3956. #, no-wrap
  3957. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  3958. msgstr ""
  3959. #. type: itemize
  3960. #: guix-git/doc/guix.texi:857
  3961. msgid "4.3.0 or later;"
  3962. msgstr ""
  3963. #. type: item
  3964. #: guix-git/doc/guix.texi:857
  3965. #, no-wrap
  3966. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  3967. msgstr ""
  3968. #. type: Plain text
  3969. #: guix-git/doc/guix.texi:861
  3970. msgid "The following dependencies are optional:"
  3971. msgstr ""
  3972. #. type: itemize
  3973. #: guix-git/doc/guix.texi:869
  3974. msgid "Support for build offloading (@pxref{Daemon Offload Setup}) and @command{guix copy} (@pxref{Invoking guix copy}) depends on @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH}, version 0.13.0 or later."
  3975. msgstr ""
  3976. #. type: itemize
  3977. #: guix-git/doc/guix.texi:874
  3978. msgid "@uref{https://notabug.org/guile-zstd/guile-zstd, Guile-zstd}, for zstd compression and decompression in @command{guix publish} and for substitutes (@pxref{Invoking guix publish})."
  3979. msgstr ""
  3980. #. type: itemize
  3981. #: guix-git/doc/guix.texi:878
  3982. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  3983. msgstr ""
  3984. #. type: itemize
  3985. #: guix-git/doc/guix.texi:883
  3986. msgid "@uref{https://www.nongnu.org/guile-lib/doc/ref/htmlprag/, Guile-Lib} for the @code{go} importer (@pxref{Invoking guix import}) and for some of the ``updaters'' (@pxref{Invoking guix refresh})."
  3987. msgstr ""
  3988. #. type: itemize
  3989. #: guix-git/doc/guix.texi:887
  3990. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  3991. msgstr ""
  3992. #. type: Plain text
  3993. #: guix-git/doc/guix.texi:891
  3994. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  3995. msgstr ""
  3996. #. type: item
  3997. #: guix-git/doc/guix.texi:893
  3998. #, no-wrap
  3999. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4000. msgstr ""
  4001. #. type: item
  4002. #: guix-git/doc/guix.texi:894
  4003. #, no-wrap
  4004. msgid "@url{https://sqlite.org, SQLite 3};"
  4005. msgstr ""
  4006. #. type: item
  4007. #: guix-git/doc/guix.texi:895
  4008. #, no-wrap
  4009. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4010. msgstr ""
  4011. #. type: itemize
  4012. #: guix-git/doc/guix.texi:897
  4013. msgid "C++11 standard."
  4014. msgstr ""
  4015. #. type: cindex
  4016. #: guix-git/doc/guix.texi:899
  4017. #, no-wrap
  4018. msgid "state directory"
  4019. msgstr ""
  4020. #. type: Plain text
  4021. #: guix-git/doc/guix.texi:908
  4022. msgid "When configuring Guix on a system that already has a Guix installation, be sure to specify the same state directory as the existing installation using the @option{--localstatedir} option of the @command{configure} script (@pxref{Directory Variables, @code{localstatedir},, standards, GNU Coding Standards}). Usually, this @var{localstatedir} option is set to the value @file{/var}. The @command{configure} script protects against unintended misconfiguration of @var{localstatedir} so you do not inadvertently corrupt your store (@pxref{The Store})."
  4023. msgstr ""
  4024. #. type: cindex
  4025. #: guix-git/doc/guix.texi:912
  4026. #, no-wrap
  4027. msgid "test suite"
  4028. msgstr ""
  4029. #. type: Plain text
  4030. #: guix-git/doc/guix.texi:918
  4031. msgid "After a successful @command{configure} and @code{make} run, it is a good idea to run the test suite. It can help catch issues with the setup or environment, or bugs in Guix itself---and really, reporting test failures is a good way to help improve the software. To run the test suite, type:"
  4032. msgstr ""
  4033. #. type: example
  4034. #: guix-git/doc/guix.texi:921
  4035. #, no-wrap
  4036. msgid "make check\n"
  4037. msgstr ""
  4038. #. type: Plain text
  4039. #: guix-git/doc/guix.texi:928
  4040. msgid "Test cases can run in parallel: you can use the @code{-j} option of GNU@tie{}make to speed things up. The first run may take a few minutes on a recent machine; subsequent runs will be faster because the store that is created for test purposes will already have various things in cache."
  4041. msgstr ""
  4042. #. type: Plain text
  4043. #: guix-git/doc/guix.texi:931
  4044. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4045. msgstr ""
  4046. #. type: example
  4047. #: guix-git/doc/guix.texi:934
  4048. #, no-wrap
  4049. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4050. msgstr ""
  4051. #. type: Plain text
  4052. #: guix-git/doc/guix.texi:939
  4053. msgid "By default, tests results are displayed at a file level. In order to see the details of every individual test cases, it is possible to define the @code{SCM_LOG_DRIVER_FLAGS} makefile variable as in this example:"
  4054. msgstr ""
  4055. #. type: example
  4056. #: guix-git/doc/guix.texi:942
  4057. #, no-wrap
  4058. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4059. msgstr ""
  4060. #. type: Plain text
  4061. #: guix-git/doc/guix.texi:950
  4062. msgid "The underlying SRFI 64 custom Automake test driver used for the 'check' test suite (located at @file{build-aux/test-driver.scm}) also allows selecting which test cases to run at a finer level, via its @option{--select} and @option{--exclude} options. Here's an example, to run all the test cases from the @file{tests/packages.scm} test file whose names start with ``transaction-upgrade-entry'':"
  4063. msgstr ""
  4064. #. type: example
  4065. #: guix-git/doc/guix.texi:954
  4066. #, no-wrap
  4067. msgid ""
  4068. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4069. "make check TESTS=\"tests/packages.scm\"\n"
  4070. msgstr ""
  4071. #. type: Plain text
  4072. #: guix-git/doc/guix.texi:960
  4073. msgid "Those wishing to inspect the results of failed tests directly from the command line can add the @option{--errors-only=yes} option to the @code{SCM_LOG_DRIVER_FLAGS} makefile variable and set the @code{VERBOSE} Automake makefile variable, as in:"
  4074. msgstr ""
  4075. #. type: example
  4076. #: guix-git/doc/guix.texi:963
  4077. #, no-wrap
  4078. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4079. msgstr ""
  4080. #. type: Plain text
  4081. #: guix-git/doc/guix.texi:968
  4082. msgid "The @option{--show-duration=yes} option can be used to print the duration of the individual test cases, when used in combination with @option{--brief=no}:"
  4083. msgstr ""
  4084. #. type: example
  4085. #: guix-git/doc/guix.texi:971
  4086. #, no-wrap
  4087. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4088. msgstr ""
  4089. #. type: Plain text
  4090. #: guix-git/doc/guix.texi:975
  4091. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4092. msgstr ""
  4093. #. type: Plain text
  4094. #: guix-git/doc/guix.texi:980
  4095. msgid "Upon failure, please email @email{bug-guix@@gnu.org} and attach the @file{test-suite.log} file. Please specify the Guix version being used as well as version numbers of the dependencies (@pxref{Requirements}) in your message."
  4096. msgstr ""
  4097. #. type: Plain text
  4098. #: guix-git/doc/guix.texi:984
  4099. msgid "Guix also comes with a whole-system test suite that tests complete Guix System instances. It can only run on systems where Guix is already installed, using:"
  4100. msgstr ""
  4101. #. type: example
  4102. #: guix-git/doc/guix.texi:987
  4103. #, no-wrap
  4104. msgid "make check-system\n"
  4105. msgstr ""
  4106. #. type: Plain text
  4107. #: guix-git/doc/guix.texi:991
  4108. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4109. msgstr ""
  4110. #. type: example
  4111. #: guix-git/doc/guix.texi:994
  4112. #, no-wrap
  4113. msgid "make check-system TESTS=\"basic mcron\"\n"
  4114. msgstr ""
  4115. #. type: Plain text
  4116. #: guix-git/doc/guix.texi:1002
  4117. msgid "These system tests are defined in the @code{(gnu tests @dots{})} modules. They work by running the operating systems under test with lightweight instrumentation in a virtual machine (VM). They can be computationally intensive or rather cheap, depending on whether substitutes are available for their dependencies (@pxref{Substitutes}). Some of them require a lot of storage space to hold VM images."
  4118. msgstr ""
  4119. #. type: Plain text
  4120. #: guix-git/doc/guix.texi:1005
  4121. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4122. msgstr ""
  4123. #. type: cindex
  4124. #: guix-git/doc/guix.texi:1009
  4125. #, no-wrap
  4126. msgid "daemon"
  4127. msgstr ""
  4128. #. type: Plain text
  4129. #: guix-git/doc/guix.texi:1017
  4130. msgid "Operations such as building a package or running the garbage collector are all performed by a specialized process, the @dfn{build daemon}, on behalf of clients. Only the daemon may access the store and its associated database. Thus, any operation that manipulates the store goes through the daemon. For instance, command-line tools such as @command{guix package} and @command{guix build} communicate with the daemon (@i{via} remote procedure calls) to instruct it what to do."
  4131. msgstr ""
  4132. #. type: Plain text
  4133. #: guix-git/doc/guix.texi:1021
  4134. msgid "The following sections explain how to prepare the build daemon's environment. See also @ref{Substitutes}, for information on how to allow the daemon to download pre-built binaries."
  4135. msgstr ""
  4136. #. type: cindex
  4137. #: guix-git/doc/guix.texi:1031 guix-git/doc/guix.texi:1493
  4138. #, no-wrap
  4139. msgid "build environment"
  4140. msgstr ""
  4141. #. type: Plain text
  4142. #: guix-git/doc/guix.texi:1039
  4143. msgid "In a standard multi-user setup, Guix and its daemon---the @command{guix-daemon} program---are installed by the system administrator; @file{/gnu/store} is owned by @code{root} and @command{guix-daemon} runs as @code{root}. Unprivileged users may use Guix tools to build packages or otherwise access the store, and the daemon will do it on their behalf, ensuring that the store is kept in a consistent state, and allowing built packages to be shared among users."
  4144. msgstr ""
  4145. #. type: cindex
  4146. #: guix-git/doc/guix.texi:1040
  4147. #, no-wrap
  4148. msgid "build users"
  4149. msgstr ""
  4150. #. type: Plain text
  4151. #: guix-git/doc/guix.texi:1051
  4152. msgid "When @command{guix-daemon} runs as @code{root}, you may not want package build processes themselves to run as @code{root} too, for obvious security reasons. To avoid that, a special pool of @dfn{build users} should be created for use by build processes started by the daemon. These build users need not have a shell and a home directory: they will just be used when the daemon drops @code{root} privileges in build processes. Having several such users allows the daemon to launch distinct build processes under separate UIDs, which guarantees that they do not interfere with each other---an essential feature since builds are regarded as pure functions (@pxref{Introduction})."
  4153. msgstr ""
  4154. #. type: Plain text
  4155. #: guix-git/doc/guix.texi:1054
  4156. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4157. msgstr ""
  4158. #. type: example
  4159. #: guix-git/doc/guix.texi:1066
  4160. #, no-wrap
  4161. msgid ""
  4162. "# groupadd --system guixbuild\n"
  4163. "# for i in $(seq -w 1 10);\n"
  4164. " do\n"
  4165. " useradd -g guixbuild -G guixbuild \\\n"
  4166. " -d /var/empty -s $(which nologin) \\\n"
  4167. " -c \"Guix build user $i\" --system \\\n"
  4168. " guixbuilder$i;\n"
  4169. " done\n"
  4170. msgstr ""
  4171. #. type: Plain text
  4172. #: guix-git/doc/guix.texi:1076
  4173. msgid "The number of build users determines how many build jobs may run in parallel, as specified by the @option{--max-jobs} option (@pxref{Invoking guix-daemon, @option{--max-jobs}}). To use @command{guix system vm} and related commands, you may need to add the build users to the @code{kvm} group so they can access @file{/dev/kvm}, using @code{-G guixbuild,kvm} instead of @code{-G guixbuild} (@pxref{Invoking guix system})."
  4174. msgstr ""
  4175. #. type: Plain text
  4176. #: guix-git/doc/guix.texi:1085
  4177. msgid "The @code{guix-daemon} program may then be run as @code{root} with the following command@footnote{If your machine uses the systemd init system, dropping the @file{@var{prefix}/lib/systemd/system/guix-daemon.service} file in @file{/etc/systemd/system} will ensure that @command{guix-daemon} is automatically started. Similarly, if your machine uses the Upstart init system, drop the @file{@var{prefix}/lib/upstart/system/guix-daemon.conf} file in @file{/etc/init}.}:"
  4178. msgstr ""
  4179. #. type: example
  4180. #: guix-git/doc/guix.texi:1088 guix-git/doc/guix.texi:1486
  4181. #, no-wrap
  4182. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4183. msgstr ""
  4184. #. type: cindex
  4185. #: guix-git/doc/guix.texi:1090 guix-git/doc/guix.texi:1491
  4186. #, no-wrap
  4187. msgid "chroot"
  4188. msgstr ""
  4189. #. type: Plain text
  4190. #: guix-git/doc/guix.texi:1095
  4191. msgid "This way, the daemon starts build processes in a chroot, under one of the @code{guixbuilder} users. On GNU/Linux, by default, the chroot environment contains nothing but:"
  4192. msgstr ""
  4193. #. type: itemize
  4194. #: guix-git/doc/guix.texi:1103
  4195. msgid "a minimal @code{/dev} directory, created mostly independently from the host @code{/dev}@footnote{``Mostly'', because while the set of files that appear in the chroot's @code{/dev} is fixed, most of these files can only be created if the host has them.};"
  4196. msgstr ""
  4197. #. type: itemize
  4198. #: guix-git/doc/guix.texi:1107
  4199. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4200. msgstr ""
  4201. #. type: itemize
  4202. #: guix-git/doc/guix.texi:1111
  4203. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4204. msgstr ""
  4205. #. type: itemize
  4206. #: guix-git/doc/guix.texi:1114
  4207. msgid "@file{/etc/group} with an entry for the user's group;"
  4208. msgstr ""
  4209. #. type: itemize
  4210. #: guix-git/doc/guix.texi:1118
  4211. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4212. msgstr ""
  4213. #. type: itemize
  4214. #: guix-git/doc/guix.texi:1121
  4215. msgid "a writable @file{/tmp} directory."
  4216. msgstr ""
  4217. #. type: Plain text
  4218. #: guix-git/doc/guix.texi:1130
  4219. msgid "You can influence the directory where the daemon stores build trees @i{via} the @env{TMPDIR} environment variable. However, the build tree within the chroot is always called @file{/tmp/guix-build-@var{name}.drv-0}, where @var{name} is the derivation name---e.g., @code{coreutils-8.24}. This way, the value of @env{TMPDIR} does not leak inside build environments, which avoids discrepancies in cases where build processes capture the name of their build tree."
  4220. msgstr ""
  4221. #. type: vindex
  4222. #: guix-git/doc/guix.texi:1131 guix-git/doc/guix.texi:3929
  4223. #, no-wrap
  4224. msgid "http_proxy"
  4225. msgstr ""
  4226. #. type: vindex
  4227. #: guix-git/doc/guix.texi:1132 guix-git/doc/guix.texi:3930
  4228. #, no-wrap
  4229. msgid "https_proxy"
  4230. msgstr ""
  4231. #. type: Plain text
  4232. #: guix-git/doc/guix.texi:1137
  4233. msgid "The daemon also honors the @env{http_proxy} and @env{https_proxy} environment variables for HTTP and HTTPS downloads it performs, be it for fixed-output derivations (@pxref{Derivations}) or for substitutes (@pxref{Substitutes})."
  4234. msgstr ""
  4235. #. type: Plain text
  4236. #: guix-git/doc/guix.texi:1145
  4237. msgid "If you are installing Guix as an unprivileged user, it is still possible to run @command{guix-daemon} provided you pass @option{--disable-chroot}. However, build processes will not be isolated from one another, and not from the rest of the system. Thus, build processes may interfere with each other, and may access programs, libraries, and other files available on the system---making it much harder to view them as @emph{pure} functions."
  4238. msgstr ""
  4239. #. type: subsection
  4240. #: guix-git/doc/guix.texi:1148
  4241. #, no-wrap
  4242. msgid "Using the Offload Facility"
  4243. msgstr ""
  4244. #. type: cindex
  4245. #: guix-git/doc/guix.texi:1150 guix-git/doc/guix.texi:1552
  4246. #, no-wrap
  4247. msgid "offloading"
  4248. msgstr ""
  4249. #. type: cindex
  4250. #: guix-git/doc/guix.texi:1151
  4251. #, no-wrap
  4252. msgid "build hook"
  4253. msgstr ""
  4254. #. type: Plain text
  4255. #: guix-git/doc/guix.texi:1170
  4256. msgid "When desired, the build daemon can @dfn{offload} derivation builds to other machines running Guix, using the @code{offload} @dfn{build hook}@footnote{This feature is available only when @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH} is present.}. When that feature is enabled, a list of user-specified build machines is read from @file{/etc/guix/machines.scm}; every time a build is requested, for instance via @code{guix build}, the daemon attempts to offload it to one of the machines that satisfy the constraints of the derivation, in particular its system types---e.g., @code{x86_64-linux}. A single machine can have multiple system types, either because its architecture natively supports it, via emulation (@pxref{transparent-emulation-qemu, Transparent Emulation with QEMU}), or both. Missing prerequisites for the build are copied over SSH to the target machine, which then proceeds with the build; upon success the output(s) of the build are copied back to the initial machine. The offload facility comes with a basic scheduler that attempts to select the best machine. The best machine is chosen among the available machines based on criteria such as:"
  4257. msgstr ""
  4258. #. type: enumerate
  4259. #: guix-git/doc/guix.texi:1176
  4260. msgid "The availability of a build slot. A build machine can have as many build slots (connections) as the value of the @code{parallel-builds} field of its @code{build-machine} object."
  4261. msgstr ""
  4262. #. type: enumerate
  4263. #: guix-git/doc/guix.texi:1180
  4264. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  4265. msgstr ""
  4266. #. type: enumerate
  4267. #: guix-git/doc/guix.texi:1185
  4268. msgid "Its load. The normalized machine load must be lower than a threshold value, configurable via the @code{overload-threshold} field of its @code{build-machine} object."
  4269. msgstr ""
  4270. #. type: enumerate
  4271. #: guix-git/doc/guix.texi:1188
  4272. msgid "Disk space availability. More than a 100 MiB must be available."
  4273. msgstr ""
  4274. #. type: Plain text
  4275. #: guix-git/doc/guix.texi:1191
  4276. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  4277. msgstr ""
  4278. #. type: lisp
  4279. #: guix-git/doc/guix.texi:1199
  4280. #, no-wrap
  4281. msgid ""
  4282. "(list (build-machine\n"
  4283. " (name \"eightysix.example.org\")\n"
  4284. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  4285. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  4286. " (user \"bob\")\n"
  4287. " (speed 2.)) ;incredibly fast!\n"
  4288. "\n"
  4289. msgstr ""
  4290. #. type: lisp
  4291. #: guix-git/doc/guix.texi:1208
  4292. #, no-wrap
  4293. msgid ""
  4294. " (build-machine\n"
  4295. " (name \"armeight.example.org\")\n"
  4296. " (systems (list \"aarch64-linux\"))\n"
  4297. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  4298. " (user \"alice\")\n"
  4299. " (private-key\n"
  4300. " (string-append (getenv \"HOME\")\n"
  4301. " \"/.ssh/identity-for-guix\"))))\n"
  4302. msgstr ""
  4303. #. type: Plain text
  4304. #: guix-git/doc/guix.texi:1214
  4305. msgid "In the example above we specify a list of two build machines, one for the @code{x86_64} and @code{i686} architectures and one for the @code{aarch64} architecture."
  4306. msgstr ""
  4307. #. type: Plain text
  4308. #: guix-git/doc/guix.texi:1223
  4309. msgid "In fact, this file is---not surprisingly!---a Scheme file that is evaluated when the @code{offload} hook is started. Its return value must be a list of @code{build-machine} objects. While this example shows a fixed list of build machines, one could imagine, say, using DNS-SD to return a list of potential build machines discovered in the local network (@pxref{Introduction, Guile-Avahi,, guile-avahi, Using Avahi in Guile Scheme Programs}). The @code{build-machine} data type is detailed below."
  4310. msgstr ""
  4311. #. type: deftp
  4312. #: guix-git/doc/guix.texi:1224
  4313. #, no-wrap
  4314. msgid "{Data Type} build-machine"
  4315. msgstr ""
  4316. #. type: deftp
  4317. #: guix-git/doc/guix.texi:1227
  4318. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  4319. msgstr ""
  4320. #. type: item
  4321. #: guix-git/doc/guix.texi:1230 guix-git/doc/guix.texi:6649
  4322. #: guix-git/doc/guix.texi:14367 guix-git/doc/guix.texi:14461
  4323. #: guix-git/doc/guix.texi:14702 guix-git/doc/guix.texi:16651
  4324. #: guix-git/doc/guix.texi:19835 guix-git/doc/guix.texi:22471
  4325. #: guix-git/doc/guix.texi:23860 guix-git/doc/guix.texi:24472
  4326. #: guix-git/doc/guix.texi:24824 guix-git/doc/guix.texi:24865
  4327. #: guix-git/doc/guix.texi:26964 guix-git/doc/guix.texi:29233
  4328. #: guix-git/doc/guix.texi:29253 guix-git/doc/guix.texi:31700
  4329. #: guix-git/doc/guix.texi:31717 guix-git/doc/guix.texi:32206
  4330. #: guix-git/doc/guix.texi:33938 guix-git/doc/guix.texi:34246
  4331. #, no-wrap
  4332. msgid "name"
  4333. msgstr ""
  4334. #. type: table
  4335. #: guix-git/doc/guix.texi:1232
  4336. msgid "The host name of the remote machine."
  4337. msgstr ""
  4338. #. type: item
  4339. #: guix-git/doc/guix.texi:1233
  4340. #, no-wrap
  4341. msgid "systems"
  4342. msgstr ""
  4343. #. type: table
  4344. #: guix-git/doc/guix.texi:1236
  4345. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  4346. msgstr ""
  4347. #. type: code{#1}
  4348. #: guix-git/doc/guix.texi:1237 guix-git/doc/guix.texi:16661
  4349. #, no-wrap
  4350. msgid "user"
  4351. msgstr ""
  4352. #. type: table
  4353. #: guix-git/doc/guix.texi:1241
  4354. msgid "The user account to use when connecting to the remote machine over SSH. Note that the SSH key pair must @emph{not} be passphrase-protected, to allow non-interactive logins."
  4355. msgstr ""
  4356. #. type: item
  4357. #: guix-git/doc/guix.texi:1242
  4358. #, no-wrap
  4359. msgid "host-key"
  4360. msgstr ""
  4361. #. type: table
  4362. #: guix-git/doc/guix.texi:1246
  4363. msgid "This must be the machine's SSH @dfn{public host key} in OpenSSH format. This is used to authenticate the machine when we connect to it. It is a long string that looks like this:"
  4364. msgstr ""
  4365. #. type: example
  4366. #: guix-git/doc/guix.texi:1249
  4367. #, no-wrap
  4368. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  4369. msgstr ""
  4370. #. type: table
  4371. #: guix-git/doc/guix.texi:1254
  4372. msgid "If the machine is running the OpenSSH daemon, @command{sshd}, the host key can be found in a file such as @file{/etc/ssh/ssh_host_ed25519_key.pub}."
  4373. msgstr ""
  4374. #. type: table
  4375. #: guix-git/doc/guix.texi:1259
  4376. msgid "If the machine is running the SSH daemon of GNU@tie{}lsh, @command{lshd}, the host key is in @file{/etc/lsh/host-key.pub} or a similar file. It can be converted to the OpenSSH format using @command{lsh-export-key} (@pxref{Converting keys,,, lsh, LSH Manual}):"
  4377. msgstr ""
  4378. #. type: example
  4379. #: guix-git/doc/guix.texi:1263
  4380. #, no-wrap
  4381. msgid ""
  4382. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  4383. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  4384. msgstr ""
  4385. #. type: deftp
  4386. #: guix-git/doc/guix.texi:1268
  4387. msgid "A number of optional fields may be specified:"
  4388. msgstr ""
  4389. #. type: item
  4390. #: guix-git/doc/guix.texi:1271 guix-git/doc/guix.texi:33438
  4391. #, no-wrap
  4392. msgid "@code{port} (default: @code{22})"
  4393. msgstr ""
  4394. #. type: table
  4395. #: guix-git/doc/guix.texi:1273
  4396. msgid "Port number of SSH server on the machine."
  4397. msgstr ""
  4398. #. type: item
  4399. #: guix-git/doc/guix.texi:1274
  4400. #, no-wrap
  4401. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  4402. msgstr ""
  4403. #. type: table
  4404. #: guix-git/doc/guix.texi:1277
  4405. msgid "The SSH private key file to use when connecting to the machine, in OpenSSH format. This key must not be protected with a passphrase."
  4406. msgstr ""
  4407. #. type: table
  4408. #: guix-git/doc/guix.texi:1280
  4409. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  4410. msgstr ""
  4411. #. type: item
  4412. #: guix-git/doc/guix.texi:1281
  4413. #, no-wrap
  4414. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  4415. msgstr ""
  4416. #. type: itemx
  4417. #: guix-git/doc/guix.texi:1282
  4418. #, no-wrap
  4419. msgid "@code{compression-level} (default: @code{3})"
  4420. msgstr ""
  4421. #. type: table
  4422. #: guix-git/doc/guix.texi:1284
  4423. msgid "The SSH-level compression methods and compression level requested."
  4424. msgstr ""
  4425. #. type: table
  4426. #: guix-git/doc/guix.texi:1287
  4427. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  4428. msgstr ""
  4429. #. type: item
  4430. #: guix-git/doc/guix.texi:1288
  4431. #, no-wrap
  4432. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  4433. msgstr ""
  4434. #. type: table
  4435. #: guix-git/doc/guix.texi:1291
  4436. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  4437. msgstr ""
  4438. #. type: item
  4439. #: guix-git/doc/guix.texi:1292
  4440. #, no-wrap
  4441. msgid "@code{overload-threshold} (default: @code{0.6})"
  4442. msgstr ""
  4443. #. type: table
  4444. #: guix-git/doc/guix.texi:1298
  4445. msgid "The load threshold above which a potential offload machine is disregarded by the offload scheduler. The value roughly translates to the total processor usage of the build machine, ranging from 0.0 (0%) to 1.0 (100%). It can also be disabled by setting @code{overload-threshold} to @code{#f}."
  4446. msgstr ""
  4447. #. type: item
  4448. #: guix-git/doc/guix.texi:1299
  4449. #, no-wrap
  4450. msgid "@code{parallel-builds} (default: @code{1})"
  4451. msgstr ""
  4452. #. type: table
  4453. #: guix-git/doc/guix.texi:1301
  4454. msgid "The number of builds that may run in parallel on the machine."
  4455. msgstr ""
  4456. #. type: item
  4457. #: guix-git/doc/guix.texi:1302
  4458. #, no-wrap
  4459. msgid "@code{speed} (default: @code{1.0})"
  4460. msgstr ""
  4461. #. type: table
  4462. #: guix-git/doc/guix.texi:1305
  4463. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  4464. msgstr ""
  4465. #. type: item
  4466. #: guix-git/doc/guix.texi:1306
  4467. #, no-wrap
  4468. msgid "@code{features} (default: @code{'()})"
  4469. msgstr ""
  4470. #. type: table
  4471. #: guix-git/doc/guix.texi:1311
  4472. msgid "A list of strings denoting specific features supported by the machine. An example is @code{\"kvm\"} for machines that have the KVM Linux modules and corresponding hardware support. Derivations can request features by name, and they will be scheduled on matching build machines."
  4473. msgstr ""
  4474. #. type: Plain text
  4475. #: guix-git/doc/guix.texi:1317
  4476. msgid "The @command{guix} command must be in the search path on the build machines. You can check whether this is the case by running:"
  4477. msgstr ""
  4478. #. type: example
  4479. #: guix-git/doc/guix.texi:1320
  4480. #, no-wrap
  4481. msgid "ssh build-machine guix repl --version\n"
  4482. msgstr ""
  4483. #. type: Plain text
  4484. #: guix-git/doc/guix.texi:1327
  4485. msgid "There is one last thing to do once @file{machines.scm} is in place. As explained above, when offloading, files are transferred back and forth between the machine stores. For this to work, you first need to generate a key pair on each machine to allow the daemon to export signed archives of files from the store (@pxref{Invoking guix archive}):"
  4486. msgstr ""
  4487. #. type: example
  4488. #: guix-git/doc/guix.texi:1330 guix-git/doc/guix.texi:33366
  4489. #, no-wrap
  4490. msgid "# guix archive --generate-key\n"
  4491. msgstr ""
  4492. #. type: Plain text
  4493. #: guix-git/doc/guix.texi:1335
  4494. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  4495. msgstr ""
  4496. #. type: example
  4497. #: guix-git/doc/guix.texi:1338
  4498. #, no-wrap
  4499. msgid "# guix archive --authorize < master-public-key.txt\n"
  4500. msgstr ""
  4501. #. type: Plain text
  4502. #: guix-git/doc/guix.texi:1342
  4503. msgid "Likewise, the master machine must authorize the key of each build machine."
  4504. msgstr ""
  4505. #. type: Plain text
  4506. #: guix-git/doc/guix.texi:1348
  4507. msgid "All the fuss with keys is here to express pairwise mutual trust relations between the master and the build machines. Concretely, when the master receives files from a build machine (and @i{vice versa}), its build daemon can make sure they are genuine, have not been tampered with, and that they are signed by an authorized key."
  4508. msgstr ""
  4509. #. type: cindex
  4510. #: guix-git/doc/guix.texi:1349
  4511. #, no-wrap
  4512. msgid "offload test"
  4513. msgstr ""
  4514. #. type: Plain text
  4515. #: guix-git/doc/guix.texi:1352
  4516. msgid "To test whether your setup is operational, run this command on the master node:"
  4517. msgstr ""
  4518. #. type: example
  4519. #: guix-git/doc/guix.texi:1355
  4520. #, no-wrap
  4521. msgid "# guix offload test\n"
  4522. msgstr ""
  4523. #. type: Plain text
  4524. #: guix-git/doc/guix.texi:1361
  4525. msgid "This will attempt to connect to each of the build machines specified in @file{/etc/guix/machines.scm}, make sure Guix is available on each machine, attempt to export to the machine and import from it, and report any error in the process."
  4526. msgstr ""
  4527. #. type: Plain text
  4528. #: guix-git/doc/guix.texi:1364
  4529. msgid "If you want to test a different machine file, just specify it on the command line:"
  4530. msgstr ""
  4531. #. type: example
  4532. #: guix-git/doc/guix.texi:1367
  4533. #, no-wrap
  4534. msgid "# guix offload test machines-qualif.scm\n"
  4535. msgstr ""
  4536. #. type: Plain text
  4537. #: guix-git/doc/guix.texi:1371
  4538. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  4539. msgstr ""
  4540. #. type: example
  4541. #: guix-git/doc/guix.texi:1374
  4542. #, no-wrap
  4543. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  4544. msgstr ""
  4545. #. type: cindex
  4546. #: guix-git/doc/guix.texi:1376
  4547. #, no-wrap
  4548. msgid "offload status"
  4549. msgstr ""
  4550. #. type: Plain text
  4551. #: guix-git/doc/guix.texi:1379
  4552. msgid "To display the current load of all build hosts, run this command on the main node:"
  4553. msgstr ""
  4554. #. type: example
  4555. #: guix-git/doc/guix.texi:1382
  4556. #, no-wrap
  4557. msgid "# guix offload status\n"
  4558. msgstr ""
  4559. #. type: cindex
  4560. #: guix-git/doc/guix.texi:1388
  4561. #, no-wrap
  4562. msgid "SELinux, daemon policy"
  4563. msgstr ""
  4564. #. type: cindex
  4565. #: guix-git/doc/guix.texi:1389
  4566. #, no-wrap
  4567. msgid "mandatory access control, SELinux"
  4568. msgstr ""
  4569. #. type: cindex
  4570. #: guix-git/doc/guix.texi:1390
  4571. #, no-wrap
  4572. msgid "security, guix-daemon"
  4573. msgstr ""
  4574. #. type: Plain text
  4575. #: guix-git/doc/guix.texi:1396
  4576. msgid "Guix includes an SELinux policy file at @file{etc/guix-daemon.cil} that can be installed on a system where SELinux is enabled, in order to label Guix files and to specify the expected behavior of the daemon. Since Guix System does not provide an SELinux base policy, the daemon policy cannot be used on Guix System."
  4577. msgstr ""
  4578. #. type: subsubsection
  4579. #: guix-git/doc/guix.texi:1397
  4580. #, no-wrap
  4581. msgid "Installing the SELinux policy"
  4582. msgstr ""
  4583. #. type: cindex
  4584. #: guix-git/doc/guix.texi:1398
  4585. #, no-wrap
  4586. msgid "SELinux, policy installation"
  4587. msgstr ""
  4588. #. type: Plain text
  4589. #: guix-git/doc/guix.texi:1400
  4590. msgid "To install the policy run this command as root:"
  4591. msgstr ""
  4592. #. type: example
  4593. #: guix-git/doc/guix.texi:1403
  4594. #, no-wrap
  4595. msgid "semodule -i etc/guix-daemon.cil\n"
  4596. msgstr ""
  4597. #. type: Plain text
  4598. #: guix-git/doc/guix.texi:1407
  4599. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  4600. msgstr ""
  4601. #. type: Plain text
  4602. #: guix-git/doc/guix.texi:1412
  4603. msgid "Once the policy is installed, the file system has been relabeled, and the daemon has been restarted, it should be running in the @code{guix_daemon_t} context. You can confirm this with the following command:"
  4604. msgstr ""
  4605. #. type: example
  4606. #: guix-git/doc/guix.texi:1415
  4607. #, no-wrap
  4608. msgid "ps -Zax | grep guix-daemon\n"
  4609. msgstr ""
  4610. #. type: Plain text
  4611. #: guix-git/doc/guix.texi:1420
  4612. msgid "Monitor the SELinux log files as you run a command like @code{guix build hello} to convince yourself that SELinux permits all necessary operations."
  4613. msgstr ""
  4614. #. type: cindex
  4615. #: guix-git/doc/guix.texi:1422
  4616. #, no-wrap
  4617. msgid "SELinux, limitations"
  4618. msgstr ""
  4619. #. type: Plain text
  4620. #: guix-git/doc/guix.texi:1427
  4621. msgid "This policy is not perfect. Here is a list of limitations or quirks that should be considered when deploying the provided SELinux policy for the Guix daemon."
  4622. msgstr ""
  4623. #. type: enumerate
  4624. #: guix-git/doc/guix.texi:1434
  4625. msgid "@code{guix_daemon_socket_t} isn’t actually used. None of the socket operations involve contexts that have anything to do with @code{guix_daemon_socket_t}. It doesn’t hurt to have this unused label, but it would be preferable to define socket rules for only this label."
  4626. msgstr ""
  4627. #. type: enumerate
  4628. #: guix-git/doc/guix.texi:1445
  4629. msgid "@code{guix gc} cannot access arbitrary links to profiles. By design, the file label of the destination of a symlink is independent of the file label of the link itself. Although all profiles under $localstatedir are labelled, the links to these profiles inherit the label of the directory they are in. For links in the user’s home directory this will be @code{user_home_t}. But for links from the root user’s home directory, or @file{/tmp}, or the HTTP server’s working directory, etc, this won’t work. @code{guix gc} would be prevented from reading and following these links."
  4630. msgstr ""
  4631. #. type: enumerate
  4632. #: guix-git/doc/guix.texi:1450
  4633. msgid "The daemon’s feature to listen for TCP connections might no longer work. This might require extra rules, because SELinux treats network sockets differently from files."
  4634. msgstr ""
  4635. #. type: enumerate
  4636. #: guix-git/doc/guix.texi:1461
  4637. msgid "Currently all files with a name matching the regular expression @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} are assigned the label @code{guix_daemon_exec_t}; this means that @emph{any} file with that name in any profile would be permitted to run in the @code{guix_daemon_t} domain. This is not ideal. An attacker could build a package that provides this executable and convince a user to install and run it, which lifts it into the @code{guix_daemon_t} domain. At that point SELinux could not prevent it from accessing files that are allowed for processes in that domain."
  4638. msgstr ""
  4639. #. type: enumerate
  4640. #: guix-git/doc/guix.texi:1466
  4641. msgid "You will need to relabel the store directory after all upgrades to @file{guix-daemon}, such as after running @code{guix pull}. Assuming the store is in @file{/gnu}, you can do this with @code{restorecon -vR /gnu}, or by other means provided by your operating system."
  4642. msgstr ""
  4643. #. type: enumerate
  4644. #: guix-git/doc/guix.texi:1474
  4645. msgid "We could generate a much more restrictive policy at installation time, so that only the @emph{exact} file name of the currently installed @code{guix-daemon} executable would be labelled with @code{guix_daemon_exec_t}, instead of using a broad regular expression. The downside is that root would have to install or upgrade the policy at installation time whenever the Guix package that provides the effectively running @code{guix-daemon} executable is upgraded."
  4646. msgstr ""
  4647. #. type: section
  4648. #: guix-git/doc/guix.texi:1477
  4649. #, no-wrap
  4650. msgid "Invoking @command{guix-daemon}"
  4651. msgstr ""
  4652. #. type: Plain text
  4653. #: guix-git/doc/guix.texi:1483
  4654. msgid "The @command{guix-daemon} program implements all the functionality to access the store. This includes launching build processes, running the garbage collector, querying the availability of a build result, etc. It is normally run as @code{root} like this:"
  4655. msgstr ""
  4656. #. type: Plain text
  4657. #: guix-git/doc/guix.texi:1490
  4658. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  4659. msgstr ""
  4660. #. type: cindex
  4661. #: guix-git/doc/guix.texi:1492
  4662. #, no-wrap
  4663. msgid "container, build environment"
  4664. msgstr ""
  4665. #. type: cindex
  4666. #: guix-git/doc/guix.texi:1494 guix-git/doc/guix.texi:3011
  4667. #: guix-git/doc/guix.texi:3910 guix-git/doc/guix.texi:12780
  4668. #, no-wrap
  4669. msgid "reproducible builds"
  4670. msgstr ""
  4671. #. type: Plain text
  4672. #: guix-git/doc/guix.texi:1506
  4673. msgid "By default, @command{guix-daemon} launches build processes under different UIDs, taken from the build group specified with @option{--build-users-group}. In addition, each build process is run in a chroot environment that only contains the subset of the store that the build process depends on, as specified by its derivation (@pxref{Programming Interface, derivation}), plus a set of specific system directories. By default, the latter contains @file{/dev} and @file{/dev/pts}. Furthermore, on GNU/Linux, the build environment is a @dfn{container}: in addition to having its own file system tree, it has a separate mount name space, its own PID name space, network name space, etc. This helps achieve reproducible builds (@pxref{Features})."
  4674. msgstr ""
  4675. #. type: Plain text
  4676. #: guix-git/doc/guix.texi:1512
  4677. msgid "When the daemon performs a build on behalf of the user, it creates a build directory under @file{/tmp} or under the directory specified by its @env{TMPDIR} environment variable. This directory is shared with the container for the duration of the build, though within the container, the build tree is always called @file{/tmp/guix-build-@var{name}.drv-0}."
  4678. msgstr ""
  4679. #. type: Plain text
  4680. #: guix-git/doc/guix.texi:1516
  4681. msgid "The build directory is automatically deleted upon completion, unless the build failed and the client specified @option{--keep-failed} (@pxref{Common Build Options, @option{--keep-failed}})."
  4682. msgstr ""
  4683. #. type: Plain text
  4684. #: guix-git/doc/guix.texi:1522
  4685. msgid "The daemon listens for connections and spawns one sub-process for each session started by a client (one of the @command{guix} sub-commands). The @command{guix processes} command allows you to get an overview of the activity on your system by viewing each of the active sessions and clients. @xref{Invoking guix processes}, for more information."
  4686. msgstr ""
  4687. #. type: Plain text
  4688. #: guix-git/doc/guix.texi:1524
  4689. msgid "The following command-line options are supported:"
  4690. msgstr ""
  4691. #. type: item
  4692. #: guix-git/doc/guix.texi:1526
  4693. #, no-wrap
  4694. msgid "--build-users-group=@var{group}"
  4695. msgstr ""
  4696. #. type: table
  4697. #: guix-git/doc/guix.texi:1529
  4698. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  4699. msgstr ""
  4700. #. type: item
  4701. #: guix-git/doc/guix.texi:1530 guix-git/doc/guix.texi:10265
  4702. #, no-wrap
  4703. msgid "--no-substitutes"
  4704. msgstr ""
  4705. #. type: cindex
  4706. #: guix-git/doc/guix.texi:1531 guix-git/doc/guix.texi:3023
  4707. #: guix-git/doc/guix.texi:3668
  4708. #, no-wrap
  4709. msgid "substitutes"
  4710. msgstr ""
  4711. #. type: table
  4712. #: guix-git/doc/guix.texi:1535 guix-git/doc/guix.texi:10269
  4713. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  4714. msgstr ""
  4715. #. type: table
  4716. #: guix-git/doc/guix.texi:1539
  4717. msgid "When the daemon runs with @option{--no-substitutes}, clients can still explicitly enable substitution @i{via} the @code{set-build-options} remote procedure call (@pxref{The Store})."
  4718. msgstr ""
  4719. #. type: anchor{#1}
  4720. #: guix-git/doc/guix.texi:1541
  4721. msgid "daemon-substitute-urls"
  4722. msgstr ""
  4723. #. type: item
  4724. #: guix-git/doc/guix.texi:1541 guix-git/doc/guix.texi:10252
  4725. #: guix-git/doc/guix.texi:12211 guix-git/doc/guix.texi:12926
  4726. #: guix-git/doc/guix.texi:13151
  4727. #, no-wrap
  4728. msgid "--substitute-urls=@var{urls}"
  4729. msgstr ""
  4730. #. type: table
  4731. #: guix-git/doc/guix.texi:1545
  4732. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{https://@value{SUBSTITUTE-SERVER}} is used."
  4733. msgstr ""
  4734. #. type: table
  4735. #: guix-git/doc/guix.texi:1548
  4736. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  4737. msgstr ""
  4738. #. type: table
  4739. #: guix-git/doc/guix.texi:1551
  4740. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  4741. msgstr ""
  4742. #. type: item
  4743. #: guix-git/doc/guix.texi:1553 guix-git/doc/guix.texi:10288
  4744. #, no-wrap
  4745. msgid "--no-offload"
  4746. msgstr ""
  4747. #. type: table
  4748. #: guix-git/doc/guix.texi:1557 guix-git/doc/guix.texi:10292
  4749. msgid "Do not use offload builds to other machines (@pxref{Daemon Offload Setup}). That is, always build things locally instead of offloading builds to remote machines."
  4750. msgstr ""
  4751. #. type: item
  4752. #: guix-git/doc/guix.texi:1558
  4753. #, no-wrap
  4754. msgid "--cache-failures"
  4755. msgstr ""
  4756. #. type: table
  4757. #: guix-git/doc/guix.texi:1560
  4758. msgid "Cache build failures. By default, only successful builds are cached."
  4759. msgstr ""
  4760. #. type: table
  4761. #: guix-git/doc/guix.texi:1565
  4762. msgid "When this option is used, @command{guix gc --list-failures} can be used to query the set of store items marked as failed; @command{guix gc --clear-failures} removes store items from the set of cached failures. @xref{Invoking guix gc}."
  4763. msgstr ""
  4764. #. type: item
  4765. #: guix-git/doc/guix.texi:1566 guix-git/doc/guix.texi:10318
  4766. #, no-wrap
  4767. msgid "--cores=@var{n}"
  4768. msgstr ""
  4769. #. type: itemx
  4770. #: guix-git/doc/guix.texi:1567 guix-git/doc/guix.texi:10319
  4771. #, no-wrap
  4772. msgid "-c @var{n}"
  4773. msgstr ""
  4774. #. type: table
  4775. #: guix-git/doc/guix.texi:1570
  4776. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  4777. msgstr ""
  4778. #. type: table
  4779. #: guix-git/doc/guix.texi:1574
  4780. msgid "The default value is @code{0}, but it may be overridden by clients, such as the @option{--cores} option of @command{guix build} (@pxref{Invoking guix build})."
  4781. msgstr ""
  4782. #. type: table
  4783. #: guix-git/doc/guix.texi:1578
  4784. msgid "The effect is to define the @env{NIX_BUILD_CORES} environment variable in the build process, which can then use it to exploit internal parallelism---for instance, by running @code{make -j$NIX_BUILD_CORES}."
  4785. msgstr ""
  4786. #. type: item
  4787. #: guix-git/doc/guix.texi:1579 guix-git/doc/guix.texi:10323
  4788. #, no-wrap
  4789. msgid "--max-jobs=@var{n}"
  4790. msgstr ""
  4791. #. type: itemx
  4792. #: guix-git/doc/guix.texi:1580 guix-git/doc/guix.texi:10324
  4793. #, no-wrap
  4794. msgid "-M @var{n}"
  4795. msgstr ""
  4796. #. type: table
  4797. #: guix-git/doc/guix.texi:1585
  4798. msgid "Allow at most @var{n} build jobs in parallel. The default value is @code{1}. Setting it to @code{0} means that no builds will be performed locally; instead, the daemon will offload builds (@pxref{Daemon Offload Setup}), or simply fail."
  4799. msgstr ""
  4800. #. type: item
  4801. #: guix-git/doc/guix.texi:1586 guix-git/doc/guix.texi:10293
  4802. #, no-wrap
  4803. msgid "--max-silent-time=@var{seconds}"
  4804. msgstr ""
  4805. #. type: table
  4806. #: guix-git/doc/guix.texi:1589 guix-git/doc/guix.texi:10296
  4807. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  4808. msgstr ""
  4809. #. type: table
  4810. #: guix-git/doc/guix.texi:1591 guix-git/doc/guix.texi:1600
  4811. msgid "The default value is @code{0}, which disables the timeout."
  4812. msgstr ""
  4813. #. type: table
  4814. #: guix-git/doc/guix.texi:1594
  4815. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  4816. msgstr ""
  4817. #. type: item
  4818. #: guix-git/doc/guix.texi:1595 guix-git/doc/guix.texi:10300
  4819. #, no-wrap
  4820. msgid "--timeout=@var{seconds}"
  4821. msgstr ""
  4822. #. type: table
  4823. #: guix-git/doc/guix.texi:1598 guix-git/doc/guix.texi:10303
  4824. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  4825. msgstr ""
  4826. #. type: table
  4827. #: guix-git/doc/guix.texi:1603
  4828. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  4829. msgstr ""
  4830. #. type: item
  4831. #: guix-git/doc/guix.texi:1604
  4832. #, no-wrap
  4833. msgid "--rounds=@var{N}"
  4834. msgstr ""
  4835. #. type: table
  4836. #: guix-git/doc/guix.texi:1609
  4837. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical. Note that this setting can be overridden by clients such as @command{guix build} (@pxref{Invoking guix build})."
  4838. msgstr ""
  4839. #. type: table
  4840. #: guix-git/doc/guix.texi:1613 guix-git/doc/guix.texi:10287
  4841. #: guix-git/doc/guix.texi:10849
  4842. msgid "When used in conjunction with @option{--keep-failed}, the differing output is kept in the store, under @file{/gnu/store/@dots{}-check}. This makes it easy to look for differences between the two results."
  4843. msgstr ""
  4844. #. type: item
  4845. #: guix-git/doc/guix.texi:1614
  4846. #, no-wrap
  4847. msgid "--debug"
  4848. msgstr ""
  4849. #. type: table
  4850. #: guix-git/doc/guix.texi:1616
  4851. msgid "Produce debugging output."
  4852. msgstr ""
  4853. #. type: table
  4854. #: guix-git/doc/guix.texi:1620
  4855. msgid "This is useful to debug daemon start-up issues, but then it may be overridden by clients, for example the @option{--verbosity} option of @command{guix build} (@pxref{Invoking guix build})."
  4856. msgstr ""
  4857. #. type: item
  4858. #: guix-git/doc/guix.texi:1621
  4859. #, no-wrap
  4860. msgid "--chroot-directory=@var{dir}"
  4861. msgstr ""
  4862. #. type: table
  4863. #: guix-git/doc/guix.texi:1623
  4864. msgid "Add @var{dir} to the build chroot."
  4865. msgstr ""
  4866. #. type: table
  4867. #: guix-git/doc/guix.texi:1629
  4868. msgid "Doing this may change the result of build processes---for instance if they use optional dependencies found in @var{dir} when it is available, and not otherwise. For that reason, it is not recommended to do so. Instead, make sure that each derivation declares all the inputs that it needs."
  4869. msgstr ""
  4870. #. type: item
  4871. #: guix-git/doc/guix.texi:1630
  4872. #, no-wrap
  4873. msgid "--disable-chroot"
  4874. msgstr ""
  4875. #. type: table
  4876. #: guix-git/doc/guix.texi:1632
  4877. msgid "Disable chroot builds."
  4878. msgstr ""
  4879. #. type: table
  4880. #: guix-git/doc/guix.texi:1637
  4881. msgid "Using this option is not recommended since, again, it would allow build processes to gain access to undeclared dependencies. It is necessary, though, when @command{guix-daemon} is running under an unprivileged user account."
  4882. msgstr ""
  4883. #. type: item
  4884. #: guix-git/doc/guix.texi:1638
  4885. #, no-wrap
  4886. msgid "--log-compression=@var{type}"
  4887. msgstr ""
  4888. #. type: table
  4889. #: guix-git/doc/guix.texi:1641
  4890. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  4891. msgstr ""
  4892. #. type: table
  4893. #: guix-git/doc/guix.texi:1645
  4894. msgid "Unless @option{--lose-logs} is used, all the build logs are kept in the @var{localstatedir}. To save space, the daemon automatically compresses them with Bzip2 by default."
  4895. msgstr ""
  4896. #. type: item
  4897. #: guix-git/doc/guix.texi:1646
  4898. #, no-wrap
  4899. msgid "--discover[=yes|no]"
  4900. msgstr ""
  4901. #. type: table
  4902. #: guix-git/doc/guix.texi:1649 guix-git/doc/guix.texi:15467
  4903. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  4904. msgstr ""
  4905. #. type: table
  4906. #: guix-git/doc/guix.texi:1652
  4907. msgid "This feature is still experimental. However, here are a few considerations."
  4908. msgstr ""
  4909. #. type: enumerate
  4910. #: guix-git/doc/guix.texi:1656
  4911. msgid "It might be faster/less expensive than fetching from remote servers;"
  4912. msgstr ""
  4913. #. type: enumerate
  4914. #: guix-git/doc/guix.texi:1659
  4915. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  4916. msgstr ""
  4917. #. type: enumerate
  4918. #: guix-git/doc/guix.texi:1663
  4919. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  4920. msgstr ""
  4921. #. type: enumerate
  4922. #: guix-git/doc/guix.texi:1666
  4923. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  4924. msgstr ""
  4925. #. type: table
  4926. #: guix-git/doc/guix.texi:1670
  4927. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  4928. msgstr ""
  4929. #. type: example
  4930. #: guix-git/doc/guix.texi:1674
  4931. #, no-wrap
  4932. msgid ""
  4933. "herd discover guix-daemon on\n"
  4934. "herd discover guix-daemon off\n"
  4935. msgstr ""
  4936. #. type: item
  4937. #: guix-git/doc/guix.texi:1676
  4938. #, no-wrap
  4939. msgid "--disable-deduplication"
  4940. msgstr ""
  4941. #. type: cindex
  4942. #: guix-git/doc/guix.texi:1677 guix-git/doc/guix.texi:4248
  4943. #, no-wrap
  4944. msgid "deduplication"
  4945. msgstr ""
  4946. #. type: table
  4947. #: guix-git/doc/guix.texi:1679
  4948. msgid "Disable automatic file ``deduplication'' in the store."
  4949. msgstr ""
  4950. #. type: table
  4951. #: guix-git/doc/guix.texi:1686
  4952. msgid "By default, files added to the store are automatically ``deduplicated'': if a newly added file is identical to another one found in the store, the daemon makes the new file a hard link to the other file. This can noticeably reduce disk usage, at the expense of slightly increased input/output load at the end of a build process. This option disables this optimization."
  4953. msgstr ""
  4954. #. type: item
  4955. #: guix-git/doc/guix.texi:1687
  4956. #, no-wrap
  4957. msgid "--gc-keep-outputs[=yes|no]"
  4958. msgstr ""
  4959. #. type: table
  4960. #: guix-git/doc/guix.texi:1690
  4961. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  4962. msgstr ""
  4963. #. type: cindex
  4964. #: guix-git/doc/guix.texi:1691 guix-git/doc/guix.texi:4061
  4965. #, no-wrap
  4966. msgid "GC roots"
  4967. msgstr ""
  4968. #. type: cindex
  4969. #: guix-git/doc/guix.texi:1692 guix-git/doc/guix.texi:4062
  4970. #, no-wrap
  4971. msgid "garbage collector roots"
  4972. msgstr ""
  4973. #. type: table
  4974. #: guix-git/doc/guix.texi:1698
  4975. msgid "When set to @code{yes}, the GC will keep the outputs of any live derivation available in the store---the @file{.drv} files. The default is @code{no}, meaning that derivation outputs are kept only if they are reachable from a GC root. @xref{Invoking guix gc}, for more on GC roots."
  4976. msgstr ""
  4977. #. type: item
  4978. #: guix-git/doc/guix.texi:1699
  4979. #, no-wrap
  4980. msgid "--gc-keep-derivations[=yes|no]"
  4981. msgstr ""
  4982. #. type: table
  4983. #: guix-git/doc/guix.texi:1702
  4984. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  4985. msgstr ""
  4986. #. type: table
  4987. #: guix-git/doc/guix.texi:1708
  4988. msgid "When set to @code{yes}, as is the case by default, the GC keeps derivations---i.e., @file{.drv} files---as long as at least one of their outputs is live. This allows users to keep track of the origins of items in their store. Setting it to @code{no} saves a bit of disk space."
  4989. msgstr ""
  4990. #. type: table
  4991. #: guix-git/doc/guix.texi:1717
  4992. msgid "In this way, setting @option{--gc-keep-derivations} to @code{yes} causes liveness to flow from outputs to derivations, and setting @option{--gc-keep-outputs} to @code{yes} causes liveness to flow from derivations to outputs. When both are set to @code{yes}, the effect is to keep all the build prerequisites (the sources, compiler, libraries, and other build-time tools) of live objects in the store, regardless of whether these prerequisites are reachable from a GC root. This is convenient for developers since it saves rebuilds or downloads."
  4993. msgstr ""
  4994. #. type: item
  4995. #: guix-git/doc/guix.texi:1718
  4996. #, no-wrap
  4997. msgid "--impersonate-linux-2.6"
  4998. msgstr ""
  4999. #. type: table
  5000. #: guix-git/doc/guix.texi:1721
  5001. msgid "On Linux-based systems, impersonate Linux 2.6. This means that the kernel's @command{uname} system call will report 2.6 as the release number."
  5002. msgstr ""
  5003. #. type: table
  5004. #: guix-git/doc/guix.texi:1724
  5005. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5006. msgstr ""
  5007. #. type: item
  5008. #: guix-git/doc/guix.texi:1725
  5009. #, no-wrap
  5010. msgid "--lose-logs"
  5011. msgstr ""
  5012. #. type: table
  5013. #: guix-git/doc/guix.texi:1728
  5014. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5015. msgstr ""
  5016. #. type: item
  5017. #: guix-git/doc/guix.texi:1729 guix-git/doc/guix.texi:4489
  5018. #: guix-git/doc/guix.texi:5788 guix-git/doc/guix.texi:6159
  5019. #: guix-git/doc/guix.texi:10793 guix-git/doc/guix.texi:12238
  5020. #: guix-git/doc/guix.texi:12489 guix-git/doc/guix.texi:13156
  5021. #: guix-git/doc/guix.texi:32309 guix-git/doc/guix.texi:33108
  5022. #, no-wrap
  5023. msgid "--system=@var{system}"
  5024. msgstr ""
  5025. #. type: table
  5026. #: guix-git/doc/guix.texi:1733
  5027. msgid "Assume @var{system} as the current system type. By default it is the architecture/kernel pair found at configure time, such as @code{x86_64-linux}."
  5028. msgstr ""
  5029. #. type: item
  5030. #: guix-git/doc/guix.texi:1734 guix-git/doc/guix.texi:10098
  5031. #, no-wrap
  5032. msgid "--listen=@var{endpoint}"
  5033. msgstr ""
  5034. #. type: table
  5035. #: guix-git/doc/guix.texi:1739
  5036. msgid "Listen for connections on @var{endpoint}. @var{endpoint} is interpreted as the file name of a Unix-domain socket if it starts with @code{/} (slash sign). Otherwise, @var{endpoint} is interpreted as a host name or host name and port to listen to. Here are a few examples:"
  5037. msgstr ""
  5038. #. type: item
  5039. #: guix-git/doc/guix.texi:1741
  5040. #, no-wrap
  5041. msgid "--listen=/gnu/var/daemon"
  5042. msgstr ""
  5043. #. type: table
  5044. #: guix-git/doc/guix.texi:1744
  5045. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5046. msgstr ""
  5047. #. type: item
  5048. #: guix-git/doc/guix.texi:1745
  5049. #, no-wrap
  5050. msgid "--listen=localhost"
  5051. msgstr ""
  5052. #. type: cindex
  5053. #: guix-git/doc/guix.texi:1746 guix-git/doc/guix.texi:8782
  5054. #, no-wrap
  5055. msgid "daemon, remote access"
  5056. msgstr ""
  5057. #. type: cindex
  5058. #: guix-git/doc/guix.texi:1747 guix-git/doc/guix.texi:8783
  5059. #, no-wrap
  5060. msgid "remote access to the daemon"
  5061. msgstr ""
  5062. #. type: cindex
  5063. #: guix-git/doc/guix.texi:1748 guix-git/doc/guix.texi:8784
  5064. #, no-wrap
  5065. msgid "daemon, cluster setup"
  5066. msgstr ""
  5067. #. type: cindex
  5068. #: guix-git/doc/guix.texi:1749 guix-git/doc/guix.texi:8785
  5069. #, no-wrap
  5070. msgid "clusters, daemon setup"
  5071. msgstr ""
  5072. #. type: table
  5073. #: guix-git/doc/guix.texi:1752
  5074. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5075. msgstr ""
  5076. #. type: item
  5077. #: guix-git/doc/guix.texi:1753
  5078. #, no-wrap
  5079. msgid "--listen=128.0.0.42:1234"
  5080. msgstr ""
  5081. #. type: table
  5082. #: guix-git/doc/guix.texi:1756
  5083. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5084. msgstr ""
  5085. #. type: table
  5086. #: guix-git/doc/guix.texi:1763
  5087. msgid "This option can be repeated multiple times, in which case @command{guix-daemon} accepts connections on all the specified endpoints. Users can tell client commands what endpoint to connect to by setting the @env{GUIX_DAEMON_SOCKET} environment variable (@pxref{The Store, @env{GUIX_DAEMON_SOCKET}})."
  5088. msgstr ""
  5089. #. type: quotation
  5090. #: guix-git/doc/guix.texi:1770
  5091. msgid "The daemon protocol is @emph{unauthenticated and unencrypted}. Using @option{--listen=@var{host}} is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon. In other cases where remote access to the daemon is needed, we recommend using Unix-domain sockets along with SSH."
  5092. msgstr ""
  5093. #. type: table
  5094. #: guix-git/doc/guix.texi:1775
  5095. msgid "When @option{--listen} is omitted, @command{guix-daemon} listens for connections on the Unix-domain socket located at @file{@var{localstatedir}/guix/daemon-socket/socket}."
  5096. msgstr ""
  5097. #. type: Plain text
  5098. #: guix-git/doc/guix.texi:1785
  5099. msgid "When using Guix on top of GNU/Linux distribution other than Guix System---a so-called @dfn{foreign distro}---a few additional steps are needed to get everything in place. Here are some of them."
  5100. msgstr ""
  5101. #. type: anchor{#1}
  5102. #: guix-git/doc/guix.texi:1789
  5103. msgid "locales-and-locpath"
  5104. msgstr ""
  5105. #. type: cindex
  5106. #: guix-git/doc/guix.texi:1789
  5107. #, no-wrap
  5108. msgid "locales, when not on Guix System"
  5109. msgstr ""
  5110. #. type: vindex
  5111. #: guix-git/doc/guix.texi:1790 guix-git/doc/guix.texi:14686
  5112. #, no-wrap
  5113. msgid "LOCPATH"
  5114. msgstr ""
  5115. #. type: vindex
  5116. #: guix-git/doc/guix.texi:1791
  5117. #, no-wrap
  5118. msgid "GUIX_LOCPATH"
  5119. msgstr ""
  5120. #. type: Plain text
  5121. #: guix-git/doc/guix.texi:1796
  5122. msgid "Packages installed @i{via} Guix will not use the locale data of the host system. Instead, you must first install one of the locale packages available with Guix and then define the @env{GUIX_LOCPATH} environment variable:"
  5123. msgstr ""
  5124. #. type: example
  5125. #: guix-git/doc/guix.texi:1800
  5126. #, no-wrap
  5127. msgid ""
  5128. "$ guix install glibc-locales\n"
  5129. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5130. msgstr ""
  5131. #. type: Plain text
  5132. #: guix-git/doc/guix.texi:1806
  5133. msgid "Note that the @code{glibc-locales} package contains data for all the locales supported by the GNU@tie{}libc and weighs in at around 917@tie{}MiB@. Alternatively, the @code{glibc-utf8-locales} is smaller but limited to a few UTF-8 locales."
  5134. msgstr ""
  5135. #. type: Plain text
  5136. #: guix-git/doc/guix.texi:1810
  5137. msgid "The @env{GUIX_LOCPATH} variable plays a role similar to @env{LOCPATH} (@pxref{Locale Names, @env{LOCPATH},, libc, The GNU C Library Reference Manual}). There are two important differences though:"
  5138. msgstr ""
  5139. #. type: enumerate
  5140. #: guix-git/doc/guix.texi:1817
  5141. msgid "@env{GUIX_LOCPATH} is honored only by the libc in Guix, and not by the libc provided by foreign distros. Thus, using @env{GUIX_LOCPATH} allows you to make sure the programs of the foreign distro will not end up loading incompatible locale data."
  5142. msgstr ""
  5143. #. type: enumerate
  5144. #: guix-git/doc/guix.texi:1824
  5145. msgid "libc suffixes each entry of @env{GUIX_LOCPATH} with @code{/X.Y}, where @code{X.Y} is the libc version---e.g., @code{2.22}. This means that, should your Guix profile contain a mixture of programs linked against different libc version, each libc version will only try to load locale data in the right format."
  5146. msgstr ""
  5147. #. type: Plain text
  5148. #: guix-git/doc/guix.texi:1828
  5149. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5150. msgstr ""
  5151. #. type: cindex
  5152. #: guix-git/doc/guix.texi:1831
  5153. #, no-wrap
  5154. msgid "name service switch, glibc"
  5155. msgstr ""
  5156. #. type: cindex
  5157. #: guix-git/doc/guix.texi:1832
  5158. #, no-wrap
  5159. msgid "NSS (name service switch), glibc"
  5160. msgstr ""
  5161. #. type: cindex
  5162. #: guix-git/doc/guix.texi:1833
  5163. #, no-wrap
  5164. msgid "nscd (name service caching daemon)"
  5165. msgstr ""
  5166. #. type: cindex
  5167. #: guix-git/doc/guix.texi:1834
  5168. #, no-wrap
  5169. msgid "name service caching daemon (nscd)"
  5170. msgstr ""
  5171. #. type: Plain text
  5172. #: guix-git/doc/guix.texi:1841
  5173. msgid "When using Guix on a foreign distro, we @emph{strongly recommend} that the system run the GNU C library's @dfn{name service cache daemon}, @command{nscd}, which should be listening on the @file{/var/run/nscd/socket} socket. Failing to do that, applications installed with Guix may fail to look up host names or user accounts, or may even crash. The next paragraphs explain why."
  5174. msgstr ""
  5175. #. type: file{#1}
  5176. #: guix-git/doc/guix.texi:1842
  5177. #, no-wrap
  5178. msgid "nsswitch.conf"
  5179. msgstr ""
  5180. #. type: Plain text
  5181. #: guix-git/doc/guix.texi:1847
  5182. msgid "The GNU C library implements a @dfn{name service switch} (NSS), which is an extensible mechanism for ``name lookups'' in general: host name resolution, user accounts, and more (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual})."
  5183. msgstr ""
  5184. #. type: cindex
  5185. #: guix-git/doc/guix.texi:1848
  5186. #, no-wrap
  5187. msgid "Network information service (NIS)"
  5188. msgstr ""
  5189. #. type: cindex
  5190. #: guix-git/doc/guix.texi:1849
  5191. #, no-wrap
  5192. msgid "NIS (Network information service)"
  5193. msgstr ""
  5194. #. type: Plain text
  5195. #: guix-git/doc/guix.texi:1858
  5196. msgid "Being extensible, the NSS supports @dfn{plugins}, which provide new name lookup implementations: for example, the @code{nss-mdns} plugin allow resolution of @code{.local} host names, the @code{nis} plugin allows user account lookup using the Network information service (NIS), and so on. These extra ``lookup services'' are configured system-wide in @file{/etc/nsswitch.conf}, and all the programs running on the system honor those settings (@pxref{NSS Configuration File,,, libc, The GNU C Reference Manual})."
  5197. msgstr ""
  5198. #. type: Plain text
  5199. #: guix-git/doc/guix.texi:1868
  5200. msgid "When they perform a name lookup---for instance by calling the @code{getaddrinfo} function in C---applications first try to connect to the nscd; on success, nscd performs name lookups on their behalf. If the nscd is not running, then they perform the name lookup by themselves, by loading the name lookup services into their own address space and running it. These name lookup services---the @file{libnss_*.so} files---are @code{dlopen}'d, but they may come from the host system's C library, rather than from the C library the application is linked against (the C library coming from Guix)."
  5201. msgstr ""
  5202. #. type: Plain text
  5203. #: guix-git/doc/guix.texi:1873
  5204. msgid "And this is where the problem is: if your application is linked against Guix's C library (say, glibc 2.24) and tries to load NSS plugins from another C library (say, @code{libnss_mdns.so} for glibc 2.22), it will likely crash or have its name lookups fail unexpectedly."
  5205. msgstr ""
  5206. #. type: Plain text
  5207. #: guix-git/doc/guix.texi:1878
  5208. msgid "Running @command{nscd} on the system, among other advantages, eliminates this binary incompatibility problem because those @code{libnss_*.so} files are loaded in the @command{nscd} process, not in applications themselves."
  5209. msgstr ""
  5210. #. type: subsection
  5211. #: guix-git/doc/guix.texi:1879
  5212. #, no-wrap
  5213. msgid "X11 Fonts"
  5214. msgstr ""
  5215. #. type: Plain text
  5216. #: guix-git/doc/guix.texi:1889
  5217. msgid "The majority of graphical applications use Fontconfig to locate and load fonts and perform X11-client-side rendering. The @code{fontconfig} package in Guix looks for fonts in @file{$HOME/.guix-profile} by default. Thus, to allow graphical applications installed with Guix to display fonts, you have to install fonts with Guix as well. Essential font packages include @code{gs-fonts}, @code{font-dejavu}, and @code{font-gnu-freefont}."
  5218. msgstr ""
  5219. #. type: code{#1}
  5220. #: guix-git/doc/guix.texi:1890
  5221. #, no-wrap
  5222. msgid "fc-cache"
  5223. msgstr ""
  5224. #. type: cindex
  5225. #: guix-git/doc/guix.texi:1891
  5226. #, no-wrap
  5227. msgid "font cache"
  5228. msgstr ""
  5229. #. type: Plain text
  5230. #: guix-git/doc/guix.texi:1895
  5231. msgid "Once you have installed or removed fonts, or when you notice an application that does not find fonts, you may need to install Fontconfig and to force an update of its font cache by running:"
  5232. msgstr ""
  5233. #. type: example
  5234. #: guix-git/doc/guix.texi:1899
  5235. #, no-wrap
  5236. msgid ""
  5237. "guix install fontconfig\n"
  5238. "fc-cache -rv\n"
  5239. msgstr ""
  5240. #. type: Plain text
  5241. #: guix-git/doc/guix.texi:1907
  5242. msgid "To display text written in Chinese languages, Japanese, or Korean in graphical applications, consider installing @code{font-adobe-source-han-sans} or @code{font-wqy-zenhei}. The former has multiple outputs, one per language family (@pxref{Packages with Multiple Outputs}). For instance, the following command installs fonts for Chinese languages:"
  5243. msgstr ""
  5244. #. type: example
  5245. #: guix-git/doc/guix.texi:1910
  5246. #, no-wrap
  5247. msgid "guix install font-adobe-source-han-sans:cn\n"
  5248. msgstr ""
  5249. #. type: code{#1}
  5250. #: guix-git/doc/guix.texi:1912
  5251. #, no-wrap
  5252. msgid "xterm"
  5253. msgstr ""
  5254. #. type: Plain text
  5255. #: guix-git/doc/guix.texi:1916
  5256. msgid "Older programs such as @command{xterm} do not use Fontconfig and instead rely on server-side font rendering. Such programs require to specify a full name of a font using XLFD (X Logical Font Description), like this:"
  5257. msgstr ""
  5258. #. type: example
  5259. #: guix-git/doc/guix.texi:1919
  5260. #, no-wrap
  5261. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  5262. msgstr ""
  5263. #. type: Plain text
  5264. #: guix-git/doc/guix.texi:1923
  5265. msgid "To be able to use such full names for the TrueType fonts installed in your Guix profile, you need to extend the font path of the X server:"
  5266. msgstr ""
  5267. #. type: example
  5268. #: guix-git/doc/guix.texi:1928
  5269. #, no-wrap
  5270. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  5271. msgstr ""
  5272. #. type: code{#1}
  5273. #: guix-git/doc/guix.texi:1930
  5274. #, no-wrap
  5275. msgid "xlsfonts"
  5276. msgstr ""
  5277. #. type: Plain text
  5278. #: guix-git/doc/guix.texi:1933
  5279. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  5280. msgstr ""
  5281. #. type: code{#1}
  5282. #: guix-git/doc/guix.texi:1937 guix-git/doc/guix.texi:32047
  5283. #, no-wrap
  5284. msgid "nss-certs"
  5285. msgstr ""
  5286. #. type: Plain text
  5287. #: guix-git/doc/guix.texi:1940
  5288. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  5289. msgstr ""
  5290. #. type: Plain text
  5291. #: guix-git/doc/guix.texi:1945
  5292. msgid "When using Guix on a foreign distro, you can install this package and define the relevant environment variables so that packages know where to look for certificates. @xref{X.509 Certificates}, for detailed information."
  5293. msgstr ""
  5294. #. type: code{#1}
  5295. #: guix-git/doc/guix.texi:1948
  5296. #, no-wrap
  5297. msgid "emacs"
  5298. msgstr ""
  5299. #. type: Plain text
  5300. #: guix-git/doc/guix.texi:1954
  5301. msgid "When you install Emacs packages with Guix, the Elisp files are placed under the @file{share/emacs/site-lisp/} directory of the profile in which they are installed. The Elisp libraries are made available to Emacs through the @env{EMACSLOADPATH} environment variable, which is set when installing Emacs itself."
  5302. msgstr ""
  5303. #. type: Plain text
  5304. #: guix-git/doc/guix.texi:1961
  5305. msgid "Additionally, autoload definitions are automatically evaluated at the initialization of Emacs, by the Guix-specific @code{guix-emacs-autoload-packages} procedure. If, for some reason, you want to avoid auto-loading the Emacs packages installed with Guix, you can do so by running Emacs with the @option{--no-site-file} option (@pxref{Init File,,, emacs, The GNU Emacs Manual})."
  5306. msgstr ""
  5307. #. type: cindex
  5308. #: guix-git/doc/guix.texi:1966
  5309. #, no-wrap
  5310. msgid "Upgrading Guix, on a foreign distro"
  5311. msgstr ""
  5312. #. type: Plain text
  5313. #: guix-git/doc/guix.texi:1969
  5314. msgid "To upgrade Guix, run:"
  5315. msgstr ""
  5316. #. type: example
  5317. #: guix-git/doc/guix.texi:1972 guix-git/doc/guix.texi:2819
  5318. #, no-wrap
  5319. msgid "guix pull\n"
  5320. msgstr ""
  5321. #. type: Plain text
  5322. #: guix-git/doc/guix.texi:1975
  5323. msgid "@xref{Invoking guix pull}, for more information."
  5324. msgstr ""
  5325. #. type: cindex
  5326. #: guix-git/doc/guix.texi:1976
  5327. #, no-wrap
  5328. msgid "upgrading Guix for the root user, on a foreign distro"
  5329. msgstr ""
  5330. #. type: cindex
  5331. #: guix-git/doc/guix.texi:1977
  5332. #, no-wrap
  5333. msgid "upgrading the Guix daemon, on a foreign distro"
  5334. msgstr ""
  5335. #. type: cindex
  5336. #: guix-git/doc/guix.texi:1978
  5337. #, no-wrap
  5338. msgid "@command{guix pull} for the root user, on a foreign distro"
  5339. msgstr ""
  5340. #. type: Plain text
  5341. #: guix-git/doc/guix.texi:1981
  5342. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  5343. msgstr ""
  5344. #. type: example
  5345. #: guix-git/doc/guix.texi:1984
  5346. #, no-wrap
  5347. msgid "sudo -i guix pull\n"
  5348. msgstr ""
  5349. #. type: Plain text
  5350. #: guix-git/doc/guix.texi:1989
  5351. msgid "followed by (assuming your distro uses the systemd service management tool):"
  5352. msgstr ""
  5353. #. type: example
  5354. #: guix-git/doc/guix.texi:1992
  5355. #, no-wrap
  5356. msgid "systemctl restart guix-daemon.service\n"
  5357. msgstr ""
  5358. #. type: Plain text
  5359. #: guix-git/doc/guix.texi:1996
  5360. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  5361. msgstr ""
  5362. #. type: cindex
  5363. #: guix-git/doc/guix.texi:2003
  5364. #, no-wrap
  5365. msgid "installing Guix System"
  5366. msgstr ""
  5367. #. type: cindex
  5368. #: guix-git/doc/guix.texi:2004
  5369. #, no-wrap
  5370. msgid "Guix System, installation"
  5371. msgstr ""
  5372. #. type: Plain text
  5373. #: guix-git/doc/guix.texi:2009
  5374. msgid "This section explains how to install Guix System on a machine. Guix, as a package manager, can also be installed on top of a running GNU/Linux system, @pxref{Installation}."
  5375. msgstr ""
  5376. #. type: quotation
  5377. #: guix-git/doc/guix.texi:2018
  5378. msgid "You are reading this documentation with an Info reader. For details on how to use it, hit the @key{RET} key (``return'' or ``enter'') on the link that follows: @pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}. Hit @kbd{l} afterwards to come back here."
  5379. msgstr ""
  5380. #. type: quotation
  5381. #: guix-git/doc/guix.texi:2021
  5382. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  5383. msgstr ""
  5384. #. type: Plain text
  5385. #: guix-git/doc/guix.texi:2042
  5386. msgid "We consider Guix System to be ready for a wide range of ``desktop'' and server use cases. The reliability guarantees it provides---transactional upgrades and rollbacks, reproducibility---make it a solid foundation."
  5387. msgstr ""
  5388. #. type: Plain text
  5389. #: guix-git/doc/guix.texi:2045
  5390. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  5391. msgstr ""
  5392. #. type: itemize
  5393. #: guix-git/doc/guix.texi:2050
  5394. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  5395. msgstr ""
  5396. #. type: itemize
  5397. #: guix-git/doc/guix.texi:2055
  5398. msgid "GNOME, Xfce, LXDE, and Enlightenment are available (@pxref{Desktop Services}), as well as a number of X11 window managers. However, KDE is currently missing."
  5399. msgstr ""
  5400. #. type: Plain text
  5401. #: guix-git/doc/guix.texi:2060
  5402. msgid "More than a disclaimer, this is an invitation to report issues (and success stories!), and to join us in improving it. @xref{Contributing}, for more info."
  5403. msgstr ""
  5404. #. type: cindex
  5405. #: guix-git/doc/guix.texi:2065
  5406. #, no-wrap
  5407. msgid "hardware support on Guix System"
  5408. msgstr ""
  5409. #. type: Plain text
  5410. #: guix-git/doc/guix.texi:2074
  5411. msgid "GNU@tie{}Guix focuses on respecting the user's computing freedom. It builds around the kernel Linux-libre, which means that only hardware for which free software drivers and firmware exist is supported. Nowadays, a wide range of off-the-shelf hardware is supported on GNU/Linux-libre---from keyboards to graphics cards to scanners and Ethernet controllers. Unfortunately, there are still areas where hardware vendors deny users control over their own computing, and such hardware is not supported on Guix System."
  5412. msgstr ""
  5413. #. type: cindex
  5414. #: guix-git/doc/guix.texi:2075
  5415. #, no-wrap
  5416. msgid "WiFi, hardware support"
  5417. msgstr ""
  5418. #. type: Plain text
  5419. #: guix-git/doc/guix.texi:2084
  5420. msgid "One of the main areas where free drivers or firmware are lacking is WiFi devices. WiFi devices known to work include those using Atheros chips (AR9271 and AR7010), which corresponds to the @code{ath9k} Linux-libre driver, and those using Broadcom/AirForce chips (BCM43xx with Wireless-Core Revision 5), which corresponds to the @code{b43-open} Linux-libre driver. Free firmware exists for both and is available out-of-the-box on Guix System, as part of @code{%base-firmware} (@pxref{operating-system Reference, @code{firmware}})."
  5421. msgstr ""
  5422. #. type: cindex
  5423. #: guix-git/doc/guix.texi:2085
  5424. #, no-wrap
  5425. msgid "RYF, Respects Your Freedom"
  5426. msgstr ""
  5427. #. type: Plain text
  5428. #: guix-git/doc/guix.texi:2091
  5429. msgid "The @uref{https://www.fsf.org/, Free Software Foundation} runs @uref{https://www.fsf.org/ryf, @dfn{Respects Your Freedom}} (RYF), a certification program for hardware products that respect your freedom and your privacy and ensure that you have control over your device. We encourage you to check the list of RYF-certified devices."
  5430. msgstr ""
  5431. #. type: Plain text
  5432. #: guix-git/doc/guix.texi:2095
  5433. msgid "Another useful resource is the @uref{https://www.h-node.org/, H-Node} web site. It contains a catalog of hardware devices with information about their support in GNU/Linux."
  5434. msgstr ""
  5435. #. type: Plain text
  5436. #: guix-git/doc/guix.texi:2104
  5437. msgid "An ISO-9660 installation image that can be written to a USB stick or burnt to a DVD can be downloaded from @indicateurl{@value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso}, where you can replace @code{x86_64-linux} with one of:"
  5438. msgstr ""
  5439. #. type: table
  5440. #: guix-git/doc/guix.texi:2108
  5441. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  5442. msgstr ""
  5443. #. type: table
  5444. #: guix-git/doc/guix.texi:2111
  5445. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  5446. msgstr ""
  5447. #. type: Plain text
  5448. #: guix-git/doc/guix.texi:2116
  5449. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  5450. msgstr ""
  5451. #. type: example
  5452. #: guix-git/doc/guix.texi:2120
  5453. #, no-wrap
  5454. msgid ""
  5455. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  5456. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  5457. msgstr ""
  5458. #. type: example
  5459. #: guix-git/doc/guix.texi:2128
  5460. #, no-wrap
  5461. msgid ""
  5462. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  5463. " -qO - | gpg --import -\n"
  5464. msgstr ""
  5465. #. type: Plain text
  5466. #: guix-git/doc/guix.texi:2140
  5467. msgid "This image contains the tools necessary for an installation. It is meant to be copied @emph{as is} to a large-enough USB stick or DVD."
  5468. msgstr ""
  5469. #. type: unnumberedsubsec
  5470. #: guix-git/doc/guix.texi:2141
  5471. #, no-wrap
  5472. msgid "Copying to a USB Stick"
  5473. msgstr ""
  5474. #. type: Plain text
  5475. #: guix-git/doc/guix.texi:2146
  5476. msgid "Insert a USB stick of 1@tie{}GiB or more into your machine, and determine its device name. Assuming that the USB stick is known as @file{/dev/sdX}, copy the image with:"
  5477. msgstr ""
  5478. #. type: example
  5479. #: guix-git/doc/guix.texi:2150
  5480. #, no-wrap
  5481. msgid ""
  5482. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  5483. "sync\n"
  5484. msgstr ""
  5485. #. type: Plain text
  5486. #: guix-git/doc/guix.texi:2153
  5487. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  5488. msgstr ""
  5489. #. type: unnumberedsubsec
  5490. #: guix-git/doc/guix.texi:2154
  5491. #, no-wrap
  5492. msgid "Burning on a DVD"
  5493. msgstr ""
  5494. #. type: Plain text
  5495. #: guix-git/doc/guix.texi:2159
  5496. msgid "Insert a blank DVD into your machine, and determine its device name. Assuming that the DVD drive is known as @file{/dev/srX}, copy the image with:"
  5497. msgstr ""
  5498. #. type: example
  5499. #: guix-git/doc/guix.texi:2162
  5500. #, no-wrap
  5501. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  5502. msgstr ""
  5503. #. type: Plain text
  5504. #: guix-git/doc/guix.texi:2165
  5505. msgid "Access to @file{/dev/srX} usually requires root privileges."
  5506. msgstr ""
  5507. #. type: unnumberedsubsec
  5508. #: guix-git/doc/guix.texi:2166
  5509. #, no-wrap
  5510. msgid "Booting"
  5511. msgstr ""
  5512. #. type: Plain text
  5513. #: guix-git/doc/guix.texi:2173
  5514. msgid "Once this is done, you should be able to reboot the system and boot from the USB stick or DVD@. The latter usually requires you to get in the BIOS or UEFI boot menu, where you can choose to boot from the USB stick. In order to boot from Libreboot, switch to the command mode by pressing the @kbd{c} key and type @command{search_grub usb}."
  5515. msgstr ""
  5516. #. type: Plain text
  5517. #: guix-git/doc/guix.texi:2176
  5518. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  5519. msgstr ""
  5520. #. type: Plain text
  5521. #: guix-git/doc/guix.texi:2186
  5522. msgid "Once you have booted, you can use the guided graphical installer, which makes it easy to get started (@pxref{Guided Graphical Installation}). Alternatively, if you are already familiar with GNU/Linux and if you want more control than what the graphical installer provides, you can choose the ``manual'' installation process (@pxref{Manual Installation})."
  5523. msgstr ""
  5524. #. type: Plain text
  5525. #: guix-git/doc/guix.texi:2194
  5526. msgid "The graphical installer is available on TTY1. You can obtain root shells on TTYs 3 to 6 by hitting @kbd{ctrl-alt-f3}, @kbd{ctrl-alt-f4}, etc. TTY2 shows this documentation and you can reach it with @kbd{ctrl-alt-f2}. Documentation is browsable using the Info reader commands (@pxref{Top,,, info-stnd, Stand-alone GNU Info}). The installation system runs the GPM mouse daemon, which allows you to select text with the left mouse button and to paste it with the middle button."
  5527. msgstr ""
  5528. #. type: quotation
  5529. #: guix-git/doc/guix.texi:2199
  5530. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  5531. msgstr ""
  5532. #. type: Plain text
  5533. #: guix-git/doc/guix.texi:2206
  5534. msgid "The graphical installer is a text-based user interface. It will guide you, with dialog boxes, through the steps needed to install GNU@tie{}Guix System."
  5535. msgstr ""
  5536. #. type: Plain text
  5537. #: guix-git/doc/guix.texi:2211
  5538. msgid "The first dialog boxes allow you to set up the system as you use it during the installation: you can choose the language, keyboard layout, and set up networking, which will be used during the installation. The image below shows the networking dialog."
  5539. msgstr ""
  5540. #. type: Plain text
  5541. #: guix-git/doc/guix.texi:2213
  5542. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  5543. msgstr ""
  5544. #. type: Plain text
  5545. #: guix-git/doc/guix.texi:2218
  5546. msgid "Later steps allow you to partition your hard disk, as shown in the image below, to choose whether or not to use encrypted file systems, to enter the host name and root password, and to create an additional account, among other things."
  5547. msgstr ""
  5548. #. type: Plain text
  5549. #: guix-git/doc/guix.texi:2220
  5550. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  5551. msgstr ""
  5552. #. type: Plain text
  5553. #: guix-git/doc/guix.texi:2223
  5554. msgid "Note that, at any time, the installer allows you to exit the current installation step and resume at a previous step, as show in the image below."
  5555. msgstr ""
  5556. #. type: Plain text
  5557. #: guix-git/doc/guix.texi:2225
  5558. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  5559. msgstr ""
  5560. #. type: Plain text
  5561. #: guix-git/doc/guix.texi:2230
  5562. msgid "Once you're done, the installer produces an operating system configuration and displays it (@pxref{Using the Configuration System}). At that point you can hit ``OK'' and installation will proceed. On success, you can reboot into the new system and enjoy. @xref{After System Installation}, for what's next!"
  5563. msgstr ""
  5564. #. type: Plain text
  5565. #: guix-git/doc/guix.texi:2240
  5566. msgid "This section describes how you would ``manually'' install GNU@tie{}Guix System on your machine. This option requires familiarity with GNU/Linux, with the shell, and with common administration tools. If you think this is not for you, consider using the guided graphical installer (@pxref{Guided Graphical Installation})."
  5567. msgstr ""
  5568. #. type: Plain text
  5569. #: guix-git/doc/guix.texi:2246
  5570. msgid "The installation system provides root shells on TTYs 3 to 6; press @kbd{ctrl-alt-f3}, @kbd{ctrl-alt-f4}, and so on to reach them. It includes many common tools needed to install the system. But it is also a full-blown Guix System, which means that you can install additional packages, should you need it, using @command{guix package} (@pxref{Invoking guix package})."
  5571. msgstr ""
  5572. #. type: subsection
  5573. #: guix-git/doc/guix.texi:2253
  5574. #, no-wrap
  5575. msgid "Keyboard Layout, Networking, and Partitioning"
  5576. msgstr ""
  5577. #. type: Plain text
  5578. #: guix-git/doc/guix.texi:2258
  5579. msgid "Before you can install the system, you may want to adjust the keyboard layout, set up networking, and partition your target hard disk. This section will guide you through this."
  5580. msgstr ""
  5581. #. type: cindex
  5582. #: guix-git/doc/guix.texi:2261 guix-git/doc/guix.texi:14500
  5583. #, no-wrap
  5584. msgid "keyboard layout"
  5585. msgstr ""
  5586. #. type: Plain text
  5587. #: guix-git/doc/guix.texi:2265
  5588. msgid "The installation image uses the US qwerty keyboard layout. If you want to change it, you can use the @command{loadkeys} command. For example, the following command selects the Dvorak keyboard layout:"
  5589. msgstr ""
  5590. #. type: example
  5591. #: guix-git/doc/guix.texi:2268
  5592. #, no-wrap
  5593. msgid "loadkeys dvorak\n"
  5594. msgstr ""
  5595. #. type: Plain text
  5596. #: guix-git/doc/guix.texi:2273
  5597. msgid "See the files under @file{/run/current-system/profile/share/keymaps} for a list of available keyboard layouts. Run @command{man loadkeys} for more information."
  5598. msgstr ""
  5599. #. type: subsubsection
  5600. #: guix-git/doc/guix.texi:2274
  5601. #, no-wrap
  5602. msgid "Networking"
  5603. msgstr ""
  5604. #. type: Plain text
  5605. #: guix-git/doc/guix.texi:2277
  5606. msgid "Run the following command to see what your network interfaces are called:"
  5607. msgstr ""
  5608. #. type: example
  5609. #: guix-git/doc/guix.texi:2280
  5610. #, no-wrap
  5611. msgid "ifconfig -a\n"
  5612. msgstr ""
  5613. #. type: table
  5614. #: guix-git/doc/guix.texi:2284 guix-git/doc/guix.texi:2306
  5615. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  5616. msgstr ""
  5617. #. type: example
  5618. #: guix-git/doc/guix.texi:2287
  5619. #, no-wrap
  5620. msgid "ip address\n"
  5621. msgstr ""
  5622. #. type: Plain text
  5623. #: guix-git/doc/guix.texi:2294
  5624. msgid "Wired interfaces have a name starting with @samp{e}; for example, the interface corresponding to the first on-board Ethernet controller is called @samp{eno1}. Wireless interfaces have a name starting with @samp{w}, like @samp{w1p2s0}."
  5625. msgstr ""
  5626. #. type: item
  5627. #: guix-git/doc/guix.texi:2296
  5628. #, no-wrap
  5629. msgid "Wired connection"
  5630. msgstr ""
  5631. #. type: table
  5632. #: guix-git/doc/guix.texi:2299
  5633. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  5634. msgstr ""
  5635. #. type: example
  5636. #: guix-git/doc/guix.texi:2302
  5637. #, no-wrap
  5638. msgid "ifconfig @var{interface} up\n"
  5639. msgstr ""
  5640. #. type: example
  5641. #: guix-git/doc/guix.texi:2309
  5642. #, no-wrap
  5643. msgid "ip link set @var{interface} up\n"
  5644. msgstr ""
  5645. #. type: item
  5646. #: guix-git/doc/guix.texi:2311
  5647. #, no-wrap
  5648. msgid "Wireless connection"
  5649. msgstr ""
  5650. #. type: cindex
  5651. #: guix-git/doc/guix.texi:2312 guix-git/doc/guix.texi:16125
  5652. #, no-wrap
  5653. msgid "wireless"
  5654. msgstr ""
  5655. #. type: cindex
  5656. #: guix-git/doc/guix.texi:2313 guix-git/doc/guix.texi:16126
  5657. #, no-wrap
  5658. msgid "WiFi"
  5659. msgstr ""
  5660. #. type: table
  5661. #: guix-git/doc/guix.texi:2318
  5662. msgid "To configure wireless networking, you can create a configuration file for the @command{wpa_supplicant} configuration tool (its location is not important) using one of the available text editors such as @command{nano}:"
  5663. msgstr ""
  5664. #. type: example
  5665. #: guix-git/doc/guix.texi:2321
  5666. #, no-wrap
  5667. msgid "nano wpa_supplicant.conf\n"
  5668. msgstr ""
  5669. #. type: table
  5670. #: guix-git/doc/guix.texi:2326
  5671. msgid "As an example, the following stanza can go to this file and will work for many wireless networks, provided you give the actual SSID and passphrase for the network you are connecting to:"
  5672. msgstr ""
  5673. #. type: example
  5674. #: guix-git/doc/guix.texi:2333
  5675. #, no-wrap
  5676. msgid ""
  5677. "network=@{\n"
  5678. " ssid=\"@var{my-ssid}\"\n"
  5679. " key_mgmt=WPA-PSK\n"
  5680. " psk=\"the network's secret passphrase\"\n"
  5681. "@}\n"
  5682. msgstr ""
  5683. #. type: table
  5684. #: guix-git/doc/guix.texi:2338
  5685. msgid "Start the wireless service and run it in the background with the following command (substitute @var{interface} with the name of the network interface you want to use):"
  5686. msgstr ""
  5687. #. type: example
  5688. #: guix-git/doc/guix.texi:2341
  5689. #, no-wrap
  5690. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  5691. msgstr ""
  5692. #. type: table
  5693. #: guix-git/doc/guix.texi:2344
  5694. msgid "Run @command{man wpa_supplicant} for more information."
  5695. msgstr ""
  5696. #. type: cindex
  5697. #: guix-git/doc/guix.texi:2346
  5698. #, no-wrap
  5699. msgid "DHCP"
  5700. msgstr ""
  5701. #. type: Plain text
  5702. #: guix-git/doc/guix.texi:2349
  5703. msgid "At this point, you need to acquire an IP address. On a network where IP addresses are automatically assigned @i{via} DHCP, you can run:"
  5704. msgstr ""
  5705. #. type: example
  5706. #: guix-git/doc/guix.texi:2352
  5707. #, no-wrap
  5708. msgid "dhclient -v @var{interface}\n"
  5709. msgstr ""
  5710. #. type: Plain text
  5711. #: guix-git/doc/guix.texi:2355
  5712. msgid "Try to ping a server to see if networking is up and running:"
  5713. msgstr ""
  5714. #. type: example
  5715. #: guix-git/doc/guix.texi:2358
  5716. #, no-wrap
  5717. msgid "ping -c 3 gnu.org\n"
  5718. msgstr ""
  5719. #. type: Plain text
  5720. #: guix-git/doc/guix.texi:2362
  5721. msgid "Setting up network access is almost always a requirement because the image does not contain all the software and tools that may be needed."
  5722. msgstr ""
  5723. #. type: cindex
  5724. #: guix-git/doc/guix.texi:2363
  5725. #, no-wrap
  5726. msgid "proxy, during system installation"
  5727. msgstr ""
  5728. #. type: Plain text
  5729. #: guix-git/doc/guix.texi:2366
  5730. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  5731. msgstr ""
  5732. #. type: example
  5733. #: guix-git/doc/guix.texi:2369
  5734. #, no-wrap
  5735. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  5736. msgstr ""
  5737. #. type: Plain text
  5738. #: guix-git/doc/guix.texi:2374
  5739. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  5740. msgstr ""
  5741. #. type: cindex
  5742. #: guix-git/doc/guix.texi:2375
  5743. #, no-wrap
  5744. msgid "installing over SSH"
  5745. msgstr ""
  5746. #. type: Plain text
  5747. #: guix-git/doc/guix.texi:2378
  5748. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  5749. msgstr ""
  5750. #. type: example
  5751. #: guix-git/doc/guix.texi:2381
  5752. #, no-wrap
  5753. msgid "herd start ssh-daemon\n"
  5754. msgstr ""
  5755. #. type: Plain text
  5756. #: guix-git/doc/guix.texi:2385
  5757. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  5758. msgstr ""
  5759. #. type: subsubsection
  5760. #: guix-git/doc/guix.texi:2386
  5761. #, no-wrap
  5762. msgid "Disk Partitioning"
  5763. msgstr ""
  5764. #. type: Plain text
  5765. #: guix-git/doc/guix.texi:2390
  5766. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  5767. msgstr ""
  5768. #. type: Plain text
  5769. #: guix-git/doc/guix.texi:2395
  5770. msgid "The installation image includes several partitioning tools, including Parted (@pxref{Overview,,, parted, GNU Parted User Manual}), @command{fdisk}, and @command{cfdisk}. Run it and set up your disk with the partition layout you want:"
  5771. msgstr ""
  5772. #. type: example
  5773. #: guix-git/doc/guix.texi:2398
  5774. #, no-wrap
  5775. msgid "cfdisk\n"
  5776. msgstr ""
  5777. #. type: Plain text
  5778. #: guix-git/doc/guix.texi:2404
  5779. msgid "If your disk uses the GUID Partition Table (GPT) format and you plan to install BIOS-based GRUB (which is the default), make sure a BIOS Boot Partition is available (@pxref{BIOS installation,,, grub, GNU GRUB manual})."
  5780. msgstr ""
  5781. #. type: cindex
  5782. #: guix-git/doc/guix.texi:2405
  5783. #, no-wrap
  5784. msgid "EFI, installation"
  5785. msgstr ""
  5786. #. type: cindex
  5787. #: guix-git/doc/guix.texi:2406
  5788. #, no-wrap
  5789. msgid "UEFI, installation"
  5790. msgstr ""
  5791. #. type: cindex
  5792. #: guix-git/doc/guix.texi:2407
  5793. #, no-wrap
  5794. msgid "ESP, EFI system partition"
  5795. msgstr ""
  5796. #. type: Plain text
  5797. #: guix-git/doc/guix.texi:2411
  5798. msgid "If you instead wish to use EFI-based GRUB, a FAT32 @dfn{EFI System Partition} (ESP) is required. This partition can be mounted at @file{/boot/efi} for instance and must have the @code{esp} flag set. E.g., for @command{parted}:"
  5799. msgstr ""
  5800. #. type: example
  5801. #: guix-git/doc/guix.texi:2414
  5802. #, no-wrap
  5803. msgid "parted /dev/sda set 1 esp on\n"
  5804. msgstr ""
  5805. #. type: vindex
  5806. #: guix-git/doc/guix.texi:2417 guix-git/doc/guix.texi:32447
  5807. #, no-wrap
  5808. msgid "grub-bootloader"
  5809. msgstr ""
  5810. #. type: vindex
  5811. #: guix-git/doc/guix.texi:2418 guix-git/doc/guix.texi:32441
  5812. #, no-wrap
  5813. msgid "grub-efi-bootloader"
  5814. msgstr ""
  5815. #. type: quotation
  5816. #: guix-git/doc/guix.texi:2425
  5817. msgid "Unsure whether to use EFI- or BIOS-based GRUB? If the directory @file{/sys/firmware/efi} exists in the installation image, then you should probably perform an EFI installation, using @code{grub-efi-bootloader}. Otherwise you should use the BIOS-based GRUB, known as @code{grub-bootloader}. @xref{Bootloader Configuration}, for more info on bootloaders."
  5818. msgstr ""
  5819. #. type: Plain text
  5820. #: guix-git/doc/guix.texi:2433
  5821. msgid "Once you are done partitioning the target hard disk drive, you have to create a file system on the relevant partition(s)@footnote{Currently Guix System only supports ext4, btrfs, JFS, and F2FS file systems. In particular, code that reads file system UUIDs and labels only works for these file system types.}. For the ESP, if you have one and assuming it is @file{/dev/sda1}, run:"
  5822. msgstr ""
  5823. #. type: example
  5824. #: guix-git/doc/guix.texi:2436
  5825. #, no-wrap
  5826. msgid "mkfs.fat -F32 /dev/sda1\n"
  5827. msgstr ""
  5828. #. type: Plain text
  5829. #: guix-git/doc/guix.texi:2443
  5830. msgid "For the root file system, ext4 is the most widely used format. Other file systems, such as Btrfs, support compression, which is reported to nicely complement file deduplication that the daemon performs independently of the file system (@pxref{Invoking guix-daemon, deduplication})."
  5831. msgstr ""
  5832. #. type: Plain text
  5833. #: guix-git/doc/guix.texi:2450
  5834. msgid "Preferably, assign file systems a label so that you can easily and reliably refer to them in @code{file-system} declarations (@pxref{File Systems}). This is typically done using the @code{-L} option of @command{mkfs.ext4} and related commands. So, assuming the target root partition lives at @file{/dev/sda2}, a file system with the label @code{my-root} can be created with:"
  5835. msgstr ""
  5836. #. type: example
  5837. #: guix-git/doc/guix.texi:2453
  5838. #, no-wrap
  5839. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  5840. msgstr ""
  5841. #. type: cindex
  5842. #: guix-git/doc/guix.texi:2455 guix-git/doc/guix.texi:13498
  5843. #, no-wrap
  5844. msgid "encrypted disk"
  5845. msgstr ""
  5846. #. type: Plain text
  5847. #: guix-git/doc/guix.texi:2462
  5848. msgid "If you are instead planning to encrypt the root partition, you can use the Cryptsetup/LUKS utilities to do that (see @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, @code{man cryptsetup}} for more information). Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence would be along these lines:"
  5849. msgstr ""
  5850. #. type: example
  5851. #: guix-git/doc/guix.texi:2467
  5852. #, no-wrap
  5853. msgid ""
  5854. "cryptsetup luksFormat /dev/sda2\n"
  5855. "cryptsetup open --type luks /dev/sda2 my-partition\n"
  5856. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  5857. msgstr ""
  5858. #. type: Plain text
  5859. #: guix-git/doc/guix.texi:2472
  5860. msgid "Once that is done, mount the target file system under @file{/mnt} with a command like (again, assuming @code{my-root} is the label of the root file system):"
  5861. msgstr ""
  5862. #. type: example
  5863. #: guix-git/doc/guix.texi:2475
  5864. #, no-wrap
  5865. msgid "mount LABEL=my-root /mnt\n"
  5866. msgstr ""
  5867. #. type: Plain text
  5868. #: guix-git/doc/guix.texi:2481
  5869. msgid "Also mount any other file systems you would like to use on the target system relative to this path. If you have opted for @file{/boot/efi} as an EFI mount point for example, mount it at @file{/mnt/boot/efi} now so it is found by @code{guix system init} afterwards."
  5870. msgstr ""
  5871. #. type: Plain text
  5872. #: guix-git/doc/guix.texi:2486
  5873. msgid "Finally, if you plan to use one or more swap partitions (@pxref{Memory Concepts, swap space,, libc, The GNU C Library Reference Manual}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:"
  5874. msgstr ""
  5875. #. type: example
  5876. #: guix-git/doc/guix.texi:2490
  5877. #, no-wrap
  5878. msgid ""
  5879. "mkswap /dev/sda3\n"
  5880. "swapon /dev/sda3\n"
  5881. msgstr ""
  5882. #. type: Plain text
  5883. #: guix-git/doc/guix.texi:2498
  5884. msgid "Alternatively, you may use a swap file. For example, assuming that in the new system you want to use the file @file{/swapfile} as a swap file, you would run@footnote{This example will work for many types of file systems (e.g., ext4). However, for copy-on-write file systems (e.g., btrfs), the required steps may be different. For details, see the manual pages for @command{mkswap} and @command{swapon}.}:"
  5885. msgstr ""
  5886. #. type: example
  5887. #: guix-git/doc/guix.texi:2506
  5888. #, no-wrap
  5889. msgid ""
  5890. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  5891. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  5892. "# For security, make the file readable and writable only by root.\n"
  5893. "chmod 600 /mnt/swapfile\n"
  5894. "mkswap /mnt/swapfile\n"
  5895. "swapon /mnt/swapfile\n"
  5896. msgstr ""
  5897. #. type: Plain text
  5898. #: guix-git/doc/guix.texi:2511
  5899. msgid "Note that if you have encrypted the root partition and created a swap file in its file system as described above, then the encryption also protects the swap file, just like any other file in that file system."
  5900. msgstr ""
  5901. #. type: Plain text
  5902. #: guix-git/doc/guix.texi:2517
  5903. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  5904. msgstr ""
  5905. #. type: example
  5906. #: guix-git/doc/guix.texi:2520
  5907. #, no-wrap
  5908. msgid "herd start cow-store /mnt\n"
  5909. msgstr ""
  5910. #. type: Plain text
  5911. #: guix-git/doc/guix.texi:2527
  5912. msgid "This makes @file{/gnu/store} copy-on-write, such that packages added to it during the installation phase are written to the target disk on @file{/mnt} rather than kept in memory. This is necessary because the first phase of the @command{guix system init} command (see below) entails downloads or builds to @file{/gnu/store} which, initially, is an in-memory file system."
  5913. msgstr ""
  5914. #. type: Plain text
  5915. #: guix-git/doc/guix.texi:2538
  5916. msgid "Next, you have to edit a file and provide the declaration of the operating system to be installed. To that end, the installation system comes with three text editors. We recommend GNU nano (@pxref{Top,,, nano, GNU nano Manual}), which supports syntax highlighting and parentheses matching; other editors include GNU Zile (an Emacs clone), and nvi (a clone of the original BSD @command{vi} editor). We strongly recommend storing that file on the target root file system, say, as @file{/mnt/etc/config.scm}. Failing to do that, you will have lost your configuration file once you have rebooted into the newly-installed system."
  5917. msgstr ""
  5918. #. type: Plain text
  5919. #: guix-git/doc/guix.texi:2545
  5920. msgid "@xref{Using the Configuration System}, for an overview of the configuration file. The example configurations discussed in that section are available under @file{/etc/configuration} in the installation image. Thus, to get started with a system configuration providing a graphical display server (a ``desktop'' system), you can run something along these lines:"
  5921. msgstr ""
  5922. #. type: example
  5923. #: guix-git/doc/guix.texi:2550
  5924. #, no-wrap
  5925. msgid ""
  5926. "# mkdir /mnt/etc\n"
  5927. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  5928. "# nano /mnt/etc/config.scm\n"
  5929. msgstr ""
  5930. #. type: Plain text
  5931. #: guix-git/doc/guix.texi:2554
  5932. msgid "You should pay attention to what your configuration file contains, and in particular:"
  5933. msgstr ""
  5934. #. type: itemize
  5935. #: guix-git/doc/guix.texi:2565
  5936. msgid "Make sure the @code{bootloader-configuration} form refers to the target you want to install GRUB on. It should mention @code{grub-bootloader} if you are installing GRUB in the legacy way, or @code{grub-efi-bootloader} for newer UEFI systems. For legacy systems, the @code{target} field names a device, like @code{/dev/sda}; for UEFI systems it names a path to a mounted EFI partition, like @code{/boot/efi}; do make sure the path is currently mounted and a @code{file-system} entry is specified in your configuration."
  5937. msgstr ""
  5938. #. type: itemize
  5939. #: guix-git/doc/guix.texi:2571
  5940. msgid "Be sure that your file system labels match the value of their respective @code{device} fields in your @code{file-system} configuration, assuming your @code{file-system} configuration uses the @code{file-system-label} procedure in its @code{device} field."
  5941. msgstr ""
  5942. #. type: itemize
  5943. #: guix-git/doc/guix.texi:2575
  5944. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  5945. msgstr ""
  5946. #. type: Plain text
  5947. #: guix-git/doc/guix.texi:2580
  5948. msgid "Once you are done preparing the configuration file, the new system must be initialized (remember that the target root file system is mounted under @file{/mnt}):"
  5949. msgstr ""
  5950. #. type: example
  5951. #: guix-git/doc/guix.texi:2583
  5952. #, no-wrap
  5953. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  5954. msgstr ""
  5955. #. type: Plain text
  5956. #: guix-git/doc/guix.texi:2590
  5957. msgid "This copies all the necessary files and installs GRUB on @file{/dev/sdX}, unless you pass the @option{--no-bootloader} option. For more information, @pxref{Invoking guix system}. This command may trigger downloads or builds of missing packages, which can take some time."
  5958. msgstr ""
  5959. #. type: Plain text
  5960. #: guix-git/doc/guix.texi:2598
  5961. msgid "Once that command has completed---and hopefully succeeded!---you can run @command{reboot} and boot into the new system. The @code{root} password in the new system is initially empty; other users' passwords need to be initialized by running the @command{passwd} command as @code{root}, unless your configuration specifies otherwise (@pxref{user-account-password, user account passwords}). @xref{After System Installation}, for what's next!"
  5962. msgstr ""
  5963. #. type: Plain text
  5964. #: guix-git/doc/guix.texi:2605
  5965. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  5966. msgstr ""
  5967. #. type: example
  5968. #: guix-git/doc/guix.texi:2609
  5969. #, no-wrap
  5970. msgid ""
  5971. "guix pull\n"
  5972. "sudo guix system reconfigure /etc/config.scm\n"
  5973. msgstr ""
  5974. #. type: Plain text
  5975. #: guix-git/doc/guix.texi:2615
  5976. msgid "This builds a new system generation with the latest packages and services (@pxref{Invoking guix system}). We recommend doing that regularly so that your system includes the latest security updates (@pxref{Security Updates})."
  5977. msgstr ""
  5978. #. type: cindex
  5979. #: guix-git/doc/guix.texi:2618
  5980. #, no-wrap
  5981. msgid "sudo vs. @command{guix pull}"
  5982. msgstr ""
  5983. #. type: quotation
  5984. #: guix-git/doc/guix.texi:2622
  5985. msgid "Note that @command{sudo guix} runs your user's @command{guix} command and @emph{not} root's, because @command{sudo} leaves @env{PATH} unchanged. To explicitly run root's @command{guix}, type @command{sudo -i guix @dots{}}."
  5986. msgstr ""
  5987. #. type: quotation
  5988. #: guix-git/doc/guix.texi:2627
  5989. msgid "The difference matters here, because @command{guix pull} updates the @command{guix} command and package definitions only for the user it is run as. This means that if you choose to use @command{guix system reconfigure} in root's login shell, you'll need to @command{guix pull} separately."
  5990. msgstr ""
  5991. #. type: Plain text
  5992. #: guix-git/doc/guix.texi:2632
  5993. msgid "Now, @pxref{Getting Started}, and join us on @code{#guix} on the Freenode IRC network or on @email{guix-devel@@gnu.org} to share your experience!"
  5994. msgstr ""
  5995. #. type: section
  5996. #: guix-git/doc/guix.texi:2635
  5997. #, no-wrap
  5998. msgid "Installing Guix in a Virtual Machine"
  5999. msgstr ""
  6000. #. type: cindex
  6001. #: guix-git/doc/guix.texi:2637
  6002. #, no-wrap
  6003. msgid "virtual machine, Guix System installation"
  6004. msgstr ""
  6005. #. type: cindex
  6006. #: guix-git/doc/guix.texi:2638
  6007. #, no-wrap
  6008. msgid "virtual private server (VPS)"
  6009. msgstr ""
  6010. #. type: cindex
  6011. #: guix-git/doc/guix.texi:2639
  6012. #, no-wrap
  6013. msgid "VPS (virtual private server)"
  6014. msgstr ""
  6015. #. type: Plain text
  6016. #: guix-git/doc/guix.texi:2643
  6017. msgid "If you'd like to install Guix System in a virtual machine (VM) or on a virtual private server (VPS) rather than on your beloved machine, this section is for you."
  6018. msgstr ""
  6019. #. type: Plain text
  6020. #: guix-git/doc/guix.texi:2646
  6021. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6022. msgstr ""
  6023. #. type: enumerate
  6024. #: guix-git/doc/guix.texi:2651
  6025. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6026. msgstr ""
  6027. #. type: enumerate
  6028. #: guix-git/doc/guix.texi:2655
  6029. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6030. msgstr ""
  6031. #. type: example
  6032. #: guix-git/doc/guix.texi:2658
  6033. #, no-wrap
  6034. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6035. msgstr ""
  6036. #. type: enumerate
  6037. #: guix-git/doc/guix.texi:2662
  6038. msgid "The resulting file will be much smaller than 50 GB (typically less than 1 MB), but it will grow as the virtualized storage device is filled up."
  6039. msgstr ""
  6040. #. type: enumerate
  6041. #: guix-git/doc/guix.texi:2665
  6042. msgid "Boot the USB installation image in an VM:"
  6043. msgstr ""
  6044. #. type: example
  6045. #: guix-git/doc/guix.texi:2671
  6046. #, no-wrap
  6047. msgid ""
  6048. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6049. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6050. " -drive file=guix-system.img \\\n"
  6051. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6052. msgstr ""
  6053. #. type: enumerate
  6054. #: guix-git/doc/guix.texi:2675
  6055. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6056. msgstr ""
  6057. #. type: enumerate
  6058. #: guix-git/doc/guix.texi:2679
  6059. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6060. msgstr ""
  6061. #. type: Plain text
  6062. #: guix-git/doc/guix.texi:2684
  6063. msgid "Once installation is complete, you can boot the system that's on your @file{guix-system.img} image. @xref{Running Guix in a VM}, for how to do that."
  6064. msgstr ""
  6065. #. type: cindex
  6066. #: guix-git/doc/guix.texi:2688
  6067. #, no-wrap
  6068. msgid "installation image"
  6069. msgstr ""
  6070. #. type: Plain text
  6071. #: guix-git/doc/guix.texi:2691
  6072. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6073. msgstr ""
  6074. #. type: example
  6075. #: guix-git/doc/guix.texi:2694
  6076. #, no-wrap
  6077. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6078. msgstr ""
  6079. #. type: Plain text
  6080. #: guix-git/doc/guix.texi:2699
  6081. msgid "Have a look at @file{gnu/system/install.scm} in the source tree, and see also @ref{Invoking guix system} for more information about the installation image."
  6082. msgstr ""
  6083. #. type: section
  6084. #: guix-git/doc/guix.texi:2700
  6085. #, no-wrap
  6086. msgid "Building the Installation Image for ARM Boards"
  6087. msgstr ""
  6088. #. type: Plain text
  6089. #: guix-git/doc/guix.texi:2704
  6090. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6091. msgstr ""
  6092. #. type: Plain text
  6093. #: guix-git/doc/guix.texi:2708
  6094. msgid "If you build a disk image and the bootloader is not available otherwise (on another boot drive etc), it's advisable to build an image that includes the bootloader, specifically:"
  6095. msgstr ""
  6096. #. type: example
  6097. #: guix-git/doc/guix.texi:2711
  6098. #, no-wrap
  6099. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6100. msgstr ""
  6101. #. type: Plain text
  6102. #: guix-git/doc/guix.texi:2715
  6103. msgid "@code{A20-OLinuXino-Lime2} is the name of the board. If you specify an invalid board, a list of possible boards will be printed."
  6104. msgstr ""
  6105. #. type: Plain text
  6106. #: guix-git/doc/guix.texi:2725
  6107. msgid "Presumably, you've reached this section because either you have installed Guix on top of another distribution (@pxref{Installation}), or you've installed the standalone Guix System (@pxref{System Installation}). It's time for you to get started using Guix and this section aims to help you do that and give you a feel of what it's like."
  6108. msgstr ""
  6109. #. type: Plain text
  6110. #: guix-git/doc/guix.texi:2729
  6111. msgid "Guix is about installing software, so probably the first thing you'll want to do is to actually look for software. Let's say you're looking for a text editor, you can run:"
  6112. msgstr ""
  6113. #. type: example
  6114. #: guix-git/doc/guix.texi:2732
  6115. #, no-wrap
  6116. msgid "guix search text editor\n"
  6117. msgstr ""
  6118. #. type: Plain text
  6119. #: guix-git/doc/guix.texi:2739
  6120. msgid "This command shows you a number of matching @dfn{packages}, each time showing the package's name, version, a description, and additional info. Once you've found out the one you want to use, let's say Emacs (ah ha!), you can go ahead and install it (run this command as a regular user, @emph{no need for root privileges}!):"
  6121. msgstr ""
  6122. #. type: example
  6123. #: guix-git/doc/guix.texi:2742
  6124. #, no-wrap
  6125. msgid "guix install emacs\n"
  6126. msgstr ""
  6127. #. type: cindex
  6128. #: guix-git/doc/guix.texi:2744 guix-git/doc/guix.texi:3056
  6129. #: guix-git/doc/guix.texi:3108
  6130. #, no-wrap
  6131. msgid "profile"
  6132. msgstr ""
  6133. #. type: Plain text
  6134. #: guix-git/doc/guix.texi:2752
  6135. msgid "You've installed your first package, congrats! The package is now visible in your default @dfn{profile}, @file{$HOME/.guix-profile}---a profile is a directory containing installed packages. In the process, you've probably noticed that Guix downloaded pre-built binaries; or, if you explicitly chose to @emph{not} use pre-built binaries, then probably Guix is still building software (@pxref{Substitutes}, for more info)."
  6136. msgstr ""
  6137. #. type: Plain text
  6138. #: guix-git/doc/guix.texi:2755
  6139. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6140. msgstr ""
  6141. #. type: example
  6142. #: guix-git/doc/guix.texi:2758
  6143. #, no-wrap
  6144. msgid ""
  6145. "hint: Consider setting the necessary environment variables by running:\n"
  6146. "\n"
  6147. msgstr ""
  6148. #. type: example
  6149. #: guix-git/doc/guix.texi:2761
  6150. #, no-wrap
  6151. msgid ""
  6152. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6153. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6154. "\n"
  6155. msgstr ""
  6156. #. type: example
  6157. #: guix-git/doc/guix.texi:2763
  6158. #, no-wrap
  6159. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6160. msgstr ""
  6161. #. type: Plain text
  6162. #: guix-git/doc/guix.texi:2777
  6163. msgid "Indeed, you must now tell your shell where @command{emacs} and other programs installed with Guix are to be found. Pasting the two lines above will do just that: it will add @code{$HOME/.guix-profile/bin}---which is where the installed package is---to the @code{PATH} environment variable. You can paste these two lines in your shell so they take effect right away, but more importantly you should add them to @file{~/.bash_profile} (or equivalent file if you do not use Bash) so that environment variables are set next time you spawn a shell. You only need to do this once and other search paths environment variables will be taken care of similarly---e.g., if you eventually install @code{python} and Python libraries, @code{PYTHONPATH} will be defined."
  6164. msgstr ""
  6165. #. type: Plain text
  6166. #: guix-git/doc/guix.texi:2780
  6167. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6168. msgstr ""
  6169. #. type: example
  6170. #: guix-git/doc/guix.texi:2783
  6171. #, no-wrap
  6172. msgid "guix package --list-installed\n"
  6173. msgstr ""
  6174. #. type: Plain text
  6175. #: guix-git/doc/guix.texi:2788
  6176. msgid "To remove a package, you would unsurprisingly run @command{guix remove}. A distinguishing feature is the ability to @dfn{roll back} any operation you made---installation, removal, upgrade---by simply typing:"
  6177. msgstr ""
  6178. #. type: example
  6179. #: guix-git/doc/guix.texi:2791
  6180. #, no-wrap
  6181. msgid "guix package --roll-back\n"
  6182. msgstr ""
  6183. #. type: Plain text
  6184. #: guix-git/doc/guix.texi:2796
  6185. msgid "This is because each operation is in fact a @dfn{transaction} that creates a new @dfn{generation}. These generations and the difference between them can be displayed by running:"
  6186. msgstr ""
  6187. #. type: example
  6188. #: guix-git/doc/guix.texi:2799
  6189. #, no-wrap
  6190. msgid "guix package --list-generations\n"
  6191. msgstr ""
  6192. #. type: Plain text
  6193. #: guix-git/doc/guix.texi:2802
  6194. msgid "Now you know the basics of package management!"
  6195. msgstr ""
  6196. #. type: quotation
  6197. #: guix-git/doc/guix.texi:2803 guix-git/doc/guix.texi:2862
  6198. #, no-wrap
  6199. msgid "Going further"
  6200. msgstr ""
  6201. #. type: quotation
  6202. #: guix-git/doc/guix.texi:2811
  6203. msgid "@xref{Package Management}, for more about package management. You may like @dfn{declarative} package management with @command{guix package --manifest}, managing separate @dfn{profiles} with @option{--profile}, deleting old generations, collecting garbage, and other nifty features that will come in handy as you become more familiar with Guix. If you are a developer, @pxref{Development} for additional tools. And if you're curious, @pxref{Features}, to peek under the hood."
  6204. msgstr ""
  6205. #. type: Plain text
  6206. #: guix-git/doc/guix.texi:2816
  6207. msgid "Once you've installed a set of packages, you will want to periodically @emph{upgrade} them to the latest and greatest version. To do that, you will first pull the latest revision of Guix and its package collection:"
  6208. msgstr ""
  6209. #. type: Plain text
  6210. #: guix-git/doc/guix.texi:2826
  6211. msgid "The end result is a new @command{guix} command, under @file{~/.config/guix/current/bin}. Unless you're on Guix System, the first time you run @command{guix pull}, be sure to follow the hint that the command prints and, similar to what we saw above, paste these two lines in your terminal and @file{.bash_profile}:"
  6212. msgstr ""
  6213. #. type: example
  6214. #: guix-git/doc/guix.texi:2830
  6215. #, no-wrap
  6216. msgid ""
  6217. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  6218. ". \"$GUIX_PROFILE/etc/profile\"\n"
  6219. msgstr ""
  6220. #. type: Plain text
  6221. #: guix-git/doc/guix.texi:2834
  6222. msgid "You must also instruct your shell to point to this new @command{guix}:"
  6223. msgstr ""
  6224. #. type: example
  6225. #: guix-git/doc/guix.texi:2837
  6226. #, no-wrap
  6227. msgid "hash guix\n"
  6228. msgstr ""
  6229. #. type: Plain text
  6230. #: guix-git/doc/guix.texi:2841
  6231. msgid "At this point, you're running a brand new Guix. You can thus go ahead and actually upgrade all the packages you previously installed:"
  6232. msgstr ""
  6233. #. type: example
  6234. #: guix-git/doc/guix.texi:2844
  6235. #, no-wrap
  6236. msgid "guix upgrade\n"
  6237. msgstr ""
  6238. #. type: Plain text
  6239. #: guix-git/doc/guix.texi:2850
  6240. msgid "As you run this command, you will see that binaries are downloaded (or perhaps some packages are built), and eventually you end up with the upgraded packages. Should one of these upgraded packages not be to your liking, remember you can always roll back!"
  6241. msgstr ""
  6242. #. type: Plain text
  6243. #: guix-git/doc/guix.texi:2853
  6244. msgid "You can display the exact revision of Guix you're currently using by running:"
  6245. msgstr ""
  6246. #. type: example
  6247. #: guix-git/doc/guix.texi:2856
  6248. #, no-wrap
  6249. msgid "guix describe\n"
  6250. msgstr ""
  6251. #. type: Plain text
  6252. #: guix-git/doc/guix.texi:2861
  6253. msgid "The information it displays is @emph{all it takes to reproduce the exact same Guix}, be it at a different point in time or on a different machine."
  6254. msgstr ""
  6255. #. type: quotation
  6256. #: guix-git/doc/guix.texi:2867
  6257. msgid "@xref{Invoking guix pull}, for more information. @xref{Channels}, on how to specify additional @dfn{channels} to pull packages from, how to replicate Guix, and more. You may also find @command{time-machine} handy (@pxref{Invoking guix time-machine})."
  6258. msgstr ""
  6259. #. type: Plain text
  6260. #: guix-git/doc/guix.texi:2872
  6261. msgid "If you installed Guix System, one of the first things you'll want to do is to upgrade your system. Once you've run @command{guix pull} to get the latest Guix, you can upgrade the system like this:"
  6262. msgstr ""
  6263. #. type: example
  6264. #: guix-git/doc/guix.texi:2875
  6265. #, no-wrap
  6266. msgid "sudo guix system reconfigure /etc/config.scm\n"
  6267. msgstr ""
  6268. #. type: Plain text
  6269. #: guix-git/doc/guix.texi:2884
  6270. msgid "Upon completion, the system runs the latest versions of its software packages. When you eventually reboot, you'll notice a sub-menu in the bootloader that reads ``Old system generations'': it's what allows you to boot @emph{an older generation of your system}, should the latest generation be ``broken'' or otherwise unsatisfying. Just like for packages, you can always @emph{roll back} to a previous generation @emph{of the whole system}:"
  6271. msgstr ""
  6272. #. type: example
  6273. #: guix-git/doc/guix.texi:2887
  6274. #, no-wrap
  6275. msgid "sudo guix system roll-back\n"
  6276. msgstr ""
  6277. #. type: Plain text
  6278. #: guix-git/doc/guix.texi:2894
  6279. msgid "There are many things you'll probably want to tweak on your system: adding new user accounts, adding new system services, fiddling with the configuration of those services, etc. The system configuration is @emph{entirely} described in the @file{/etc/config.scm} file. @xref{Using the Configuration System}, to learn how to change it."
  6280. msgstr ""
  6281. #. type: Plain text
  6282. #: guix-git/doc/guix.texi:2896
  6283. msgid "Now you know enough to get started!"
  6284. msgstr ""
  6285. #. type: quotation
  6286. #: guix-git/doc/guix.texi:2897
  6287. #, no-wrap
  6288. msgid "Resources"
  6289. msgstr ""
  6290. #. type: quotation
  6291. #: guix-git/doc/guix.texi:2900
  6292. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  6293. msgstr ""
  6294. #. type: itemize
  6295. #: guix-git/doc/guix.texi:2905
  6296. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  6297. msgstr ""
  6298. #. type: itemize
  6299. #: guix-git/doc/guix.texi:2910
  6300. msgid "The @uref{https://guix.gnu.org/guix-refcard.pdf, GNU Guix Reference Card} lists in two pages most of the commands and options you'll ever need."
  6301. msgstr ""
  6302. #. type: itemize
  6303. #: guix-git/doc/guix.texi:2915
  6304. msgid "The web site contains @uref{https://guix.gnu.org/en/videos/, instructional videos} covering topics such as everyday use of Guix, how to get help, and how to become a contributor."
  6305. msgstr ""
  6306. #. type: itemize
  6307. #: guix-git/doc/guix.texi:2919
  6308. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  6309. msgstr ""
  6310. #. type: quotation
  6311. #: guix-git/doc/guix.texi:2922
  6312. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  6313. msgstr ""
  6314. #. type: cindex
  6315. #: guix-git/doc/guix.texi:2928
  6316. #, no-wrap
  6317. msgid "packages"
  6318. msgstr ""
  6319. #. type: Plain text
  6320. #: guix-git/doc/guix.texi:2933
  6321. msgid "The purpose of GNU Guix is to allow users to easily install, upgrade, and remove software packages, without having to know about their build procedures or dependencies. Guix also goes beyond this obvious set of features."
  6322. msgstr ""
  6323. #. type: Plain text
  6324. #: guix-git/doc/guix.texi:2941
  6325. msgid "This chapter describes the main features of Guix, as well as the package management tools it provides. Along with the command-line interface described below (@pxref{Invoking guix package, @code{guix package}}), you may also use the Emacs-Guix interface (@pxref{Top,,, emacs-guix, The Emacs-Guix Reference Manual}), after installing @code{emacs-guix} package (run @kbd{M-x guix-help} command to start with it):"
  6326. msgstr ""
  6327. #. type: example
  6328. #: guix-git/doc/guix.texi:2944
  6329. #, no-wrap
  6330. msgid "guix install emacs-guix\n"
  6331. msgstr ""
  6332. #. type: Plain text
  6333. #: guix-git/doc/guix.texi:2965
  6334. msgid "Here we assume you've already made your first steps with Guix (@pxref{Getting Started}) and would like to get an overview about what's going on under the hood."
  6335. msgstr ""
  6336. #. type: Plain text
  6337. #: guix-git/doc/guix.texi:2969
  6338. msgid "When using Guix, each package ends up in the @dfn{package store}, in its own directory---something that resembles @file{/gnu/store/xxx-package-1.2}, where @code{xxx} is a base32 string."
  6339. msgstr ""
  6340. #. type: Plain text
  6341. #: guix-git/doc/guix.texi:2974
  6342. msgid "Instead of referring to these directories, users have their own @dfn{profile}, which points to the packages that they actually want to use. These profiles are stored within each user's home directory, at @code{$HOME/.guix-profile}."
  6343. msgstr ""
  6344. #. type: Plain text
  6345. #: guix-git/doc/guix.texi:2982
  6346. msgid "For example, @code{alice} installs GCC 4.7.2. As a result, @file{/home/alice/.guix-profile/bin/gcc} points to @file{/gnu/store/@dots{}-gcc-4.7.2/bin/gcc}. Now, on the same machine, @code{bob} had already installed GCC 4.8.0. The profile of @code{bob} simply continues to point to @file{/gnu/store/@dots{}-gcc-4.8.0/bin/gcc}---i.e., both versions of GCC coexist on the same system without any interference."
  6347. msgstr ""
  6348. #. type: Plain text
  6349. #: guix-git/doc/guix.texi:2986
  6350. msgid "The @command{guix package} command is the central tool to manage packages (@pxref{Invoking guix package}). It operates on the per-user profiles, and can be used @emph{with normal user privileges}."
  6351. msgstr ""
  6352. #. type: cindex
  6353. #: guix-git/doc/guix.texi:2987 guix-git/doc/guix.texi:3070
  6354. #, no-wrap
  6355. msgid "transactions"
  6356. msgstr ""
  6357. #. type: Plain text
  6358. #: guix-git/doc/guix.texi:2994
  6359. msgid "The command provides the obvious install, remove, and upgrade operations. Each invocation is actually a @emph{transaction}: either the specified operation succeeds, or nothing happens. Thus, if the @command{guix package} process is terminated during the transaction, or if a power outage occurs during the transaction, then the user's profile remains in its previous state, and remains usable."
  6360. msgstr ""
  6361. #. type: Plain text
  6362. #: guix-git/doc/guix.texi:3002
  6363. msgid "In addition, any package transaction may be @emph{rolled back}. So, if, for example, an upgrade installs a new version of a package that turns out to have a serious bug, users may roll back to the previous instance of their profile, which was known to work well. Similarly, the global system configuration on Guix is subject to transactional upgrades and roll-back (@pxref{Using the Configuration System})."
  6364. msgstr ""
  6365. #. type: Plain text
  6366. #: guix-git/doc/guix.texi:3009
  6367. msgid "All packages in the package store may be @emph{garbage-collected}. Guix can determine which packages are still referenced by user profiles, and remove those that are provably no longer referenced (@pxref{Invoking guix gc}). Users may also explicitly remove old generations of their profile so that the packages they refer to can be collected."
  6368. msgstr ""
  6369. #. type: cindex
  6370. #: guix-git/doc/guix.texi:3010 guix-git/doc/guix.texi:4693
  6371. #, no-wrap
  6372. msgid "reproducibility"
  6373. msgstr ""
  6374. #. type: Plain text
  6375. #: guix-git/doc/guix.texi:3022
  6376. msgid "Guix takes a @dfn{purely functional} approach to package management, as described in the introduction (@pxref{Introduction}). Each @file{/gnu/store} package directory name contains a hash of all the inputs that were used to build that package---compiler, libraries, build scripts, etc. This direct correspondence allows users to make sure a given package installation matches the current state of their distribution. It also helps maximize @dfn{build reproducibility}: thanks to the isolated build environments that are used, a given build is likely to yield bit-identical files when performed on different machines (@pxref{Invoking guix-daemon, container})."
  6377. msgstr ""
  6378. #. type: Plain text
  6379. #: guix-git/doc/guix.texi:3033
  6380. msgid "This foundation allows Guix to support @dfn{transparent binary/source deployment}. When a pre-built binary for a @file{/gnu/store} item is available from an external source---a @dfn{substitute}, Guix just downloads it and unpacks it; otherwise, it builds the package from source, locally (@pxref{Substitutes}). Because build results are usually bit-for-bit reproducible, users do not have to trust servers that provide substitutes: they can force a local build and @emph{challenge} providers (@pxref{Invoking guix challenge})."
  6381. msgstr ""
  6382. #. type: Plain text
  6383. #: guix-git/doc/guix.texi:3039
  6384. msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix environment} command allows developers of a package to quickly set up the right development environment for their package, without having to manually install the dependencies of the package into their profile (@pxref{Invoking guix environment})."
  6385. msgstr ""
  6386. #. type: cindex
  6387. #: guix-git/doc/guix.texi:3040
  6388. #, no-wrap
  6389. msgid "replication, of software environments"
  6390. msgstr ""
  6391. #. type: cindex
  6392. #: guix-git/doc/guix.texi:3041
  6393. #, no-wrap
  6394. msgid "provenance tracking, of software artifacts"
  6395. msgstr ""
  6396. #. type: Plain text
  6397. #: guix-git/doc/guix.texi:3048
  6398. msgid "All of Guix and its package definitions is version-controlled, and @command{guix pull} allows you to ``travel in time'' on the history of Guix itself (@pxref{Invoking guix pull}). This makes it possible to replicate a Guix instance on a different machine or at a later point in time, which in turn allows you to @emph{replicate complete software environments}, while retaining precise @dfn{provenance tracking} of the software."
  6399. msgstr ""
  6400. #. type: section
  6401. #: guix-git/doc/guix.texi:3050
  6402. #, no-wrap
  6403. msgid "Invoking @command{guix package}"
  6404. msgstr ""
  6405. #. type: cindex
  6406. #: guix-git/doc/guix.texi:3052
  6407. #, no-wrap
  6408. msgid "installing packages"
  6409. msgstr ""
  6410. #. type: cindex
  6411. #: guix-git/doc/guix.texi:3053
  6412. #, no-wrap
  6413. msgid "removing packages"
  6414. msgstr ""
  6415. #. type: cindex
  6416. #: guix-git/doc/guix.texi:3054
  6417. #, no-wrap
  6418. msgid "package installation"
  6419. msgstr ""
  6420. #. type: cindex
  6421. #: guix-git/doc/guix.texi:3055
  6422. #, no-wrap
  6423. msgid "package removal"
  6424. msgstr ""
  6425. #. type: Plain text
  6426. #: guix-git/doc/guix.texi:3065
  6427. msgid "The @command{guix package} command is the tool that allows users to install, upgrade, and remove packages, as well as rolling back to previous configurations. These operations work on a user @dfn{profile}---a directory of installed packages. Each user has a default profile in @file{$HOME/.guix-profile}. The command operates only on the user's own profile, and works with normal user privileges (@pxref{Features}). Its syntax is:"
  6428. msgstr ""
  6429. #. type: example
  6430. #: guix-git/doc/guix.texi:3068
  6431. #, no-wrap
  6432. msgid "guix package @var{options}\n"
  6433. msgstr ""
  6434. #. type: Plain text
  6435. #: guix-git/doc/guix.texi:3075
  6436. msgid "Primarily, @var{options} specifies the operations to be performed during the transaction. Upon completion, a new profile is created, but previous @dfn{generations} of the profile remain available, should the user want to roll back."
  6437. msgstr ""
  6438. #. type: Plain text
  6439. #: guix-git/doc/guix.texi:3078
  6440. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  6441. msgstr ""
  6442. #. type: example
  6443. #: guix-git/doc/guix.texi:3081
  6444. #, no-wrap
  6445. msgid "guix package -r lua -i guile guile-cairo\n"
  6446. msgstr ""
  6447. #. type: cindex
  6448. #: guix-git/doc/guix.texi:3083
  6449. #, no-wrap
  6450. msgid "aliases, for @command{guix package}"
  6451. msgstr ""
  6452. #. type: Plain text
  6453. #: guix-git/doc/guix.texi:3085
  6454. msgid "For your convenience, we also provide the following aliases:"
  6455. msgstr ""
  6456. #. type: itemize
  6457. #: guix-git/doc/guix.texi:3089
  6458. msgid "@command{guix search} is an alias for @command{guix package -s},"
  6459. msgstr ""
  6460. #. type: itemize
  6461. #: guix-git/doc/guix.texi:3091
  6462. msgid "@command{guix install} is an alias for @command{guix package -i},"
  6463. msgstr ""
  6464. #. type: itemize
  6465. #: guix-git/doc/guix.texi:3093
  6466. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  6467. msgstr ""
  6468. #. type: itemize
  6469. #: guix-git/doc/guix.texi:3095
  6470. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  6471. msgstr ""
  6472. #. type: itemize
  6473. #: guix-git/doc/guix.texi:3097
  6474. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  6475. msgstr ""
  6476. #. type: Plain text
  6477. #: guix-git/doc/guix.texi:3102
  6478. msgid "These aliases are less expressive than @command{guix package} and provide fewer options, so in some cases you'll probably want to use @command{guix package} directly."
  6479. msgstr ""
  6480. #. type: Plain text
  6481. #: guix-git/doc/guix.texi:3107
  6482. msgid "@command{guix package} also supports a @dfn{declarative approach} whereby the user specifies the exact set of packages to be available and passes it @i{via} the @option{--manifest} option (@pxref{profile-manifest, @option{--manifest}})."
  6483. msgstr ""
  6484. #. type: Plain text
  6485. #: guix-git/doc/guix.texi:3114
  6486. msgid "For each user, a symlink to the user's default profile is automatically created in @file{$HOME/.guix-profile}. This symlink always points to the current generation of the user's default profile. Thus, users can add @file{$HOME/.guix-profile/bin} to their @env{PATH} environment variable, and so on."
  6487. msgstr ""
  6488. #. type: cindex
  6489. #: guix-git/doc/guix.texi:3114 guix-git/doc/guix.texi:3347
  6490. #, no-wrap
  6491. msgid "search paths"
  6492. msgstr ""
  6493. #. type: Plain text
  6494. #: guix-git/doc/guix.texi:3119
  6495. msgid "If you are not using Guix System, consider adding the following lines to your @file{~/.bash_profile} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}) so that newly-spawned shells get all the right environment variable definitions:"
  6496. msgstr ""
  6497. #. type: example
  6498. #: guix-git/doc/guix.texi:3123
  6499. #, no-wrap
  6500. msgid ""
  6501. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  6502. "source \"$GUIX_PROFILE/etc/profile\"\n"
  6503. msgstr ""
  6504. #. type: Plain text
  6505. #: guix-git/doc/guix.texi:3134
  6506. msgid "In a multi-user setup, user profiles are stored in a place registered as a @dfn{garbage-collector root}, which @file{$HOME/.guix-profile} points to (@pxref{Invoking guix gc}). That directory is normally @code{@var{localstatedir}/guix/profiles/per-user/@var{user}}, where @var{localstatedir} is the value passed to @code{configure} as @option{--localstatedir}, and @var{user} is the user name. The @file{per-user} directory is created when @command{guix-daemon} is started, and the @var{user} sub-directory is created by @command{guix package}."
  6507. msgstr ""
  6508. #. type: Plain text
  6509. #: guix-git/doc/guix.texi:3136
  6510. msgid "The @var{options} can be among the following:"
  6511. msgstr ""
  6512. #. type: item
  6513. #: guix-git/doc/guix.texi:3139
  6514. #, no-wrap
  6515. msgid "--install=@var{package} @dots{}"
  6516. msgstr ""
  6517. #. type: itemx
  6518. #: guix-git/doc/guix.texi:3140
  6519. #, no-wrap
  6520. msgid "-i @var{package} @dots{}"
  6521. msgstr ""
  6522. #. type: table
  6523. #: guix-git/doc/guix.texi:3142
  6524. msgid "Install the specified @var{package}s."
  6525. msgstr ""
  6526. #. type: table
  6527. #: guix-git/doc/guix.texi:3147
  6528. msgid "Each @var{package} may specify either a simple package name, such as @code{guile}, or a package name followed by an at-sign and version number, such as @code{guile@@1.8.8} or simply @code{guile@@1.8} (in the latter case, the newest version prefixed by @code{1.8} is selected)."
  6529. msgstr ""
  6530. #. type: table
  6531. #: guix-git/doc/guix.texi:3155
  6532. msgid "If no version number is specified, the newest available version will be selected. In addition, @var{package} may contain a colon, followed by the name of one of the outputs of the package, as in @code{gcc:doc} or @code{binutils@@2.22:lib} (@pxref{Packages with Multiple Outputs}). Packages with a corresponding name (and optionally version) are searched for among the GNU distribution modules (@pxref{Package Modules})."
  6533. msgstr ""
  6534. #. type: cindex
  6535. #: guix-git/doc/guix.texi:3156
  6536. #, no-wrap
  6537. msgid "propagated inputs"
  6538. msgstr ""
  6539. #. type: table
  6540. #: guix-git/doc/guix.texi:3162
  6541. msgid "Sometimes packages have @dfn{propagated inputs}: these are dependencies that automatically get installed along with the required package (@pxref{package-propagated-inputs, @code{propagated-inputs} in @code{package} objects}, for information about propagated inputs in package definitions)."
  6542. msgstr ""
  6543. #. type: anchor{#1}
  6544. #: guix-git/doc/guix.texi:3169
  6545. msgid "package-cmd-propagated-inputs"
  6546. msgstr ""
  6547. #. type: table
  6548. #: guix-git/doc/guix.texi:3169
  6549. msgid "An example is the GNU MPC library: its C header files refer to those of the GNU MPFR library, which in turn refer to those of the GMP library. Thus, when installing MPC, the MPFR and GMP libraries also get installed in the profile; removing MPC also removes MPFR and GMP---unless they had also been explicitly installed by the user."
  6550. msgstr ""
  6551. #. type: table
  6552. #: guix-git/doc/guix.texi:3174
  6553. msgid "Besides, packages sometimes rely on the definition of environment variables for their search paths (see explanation of @option{--search-paths} below). Any missing or possibly incorrect environment variable definitions are reported here."
  6554. msgstr ""
  6555. #. type: item
  6556. #: guix-git/doc/guix.texi:3175
  6557. #, no-wrap
  6558. msgid "--install-from-expression=@var{exp}"
  6559. msgstr ""
  6560. #. type: itemx
  6561. #: guix-git/doc/guix.texi:3176
  6562. #, no-wrap
  6563. msgid "-e @var{exp}"
  6564. msgstr ""
  6565. #. type: table
  6566. #: guix-git/doc/guix.texi:3178
  6567. msgid "Install the package @var{exp} evaluates to."
  6568. msgstr ""
  6569. #. type: table
  6570. #: guix-git/doc/guix.texi:3183
  6571. msgid "@var{exp} must be a Scheme expression that evaluates to a @code{<package>} object. This option is notably useful to disambiguate between same-named variants of a package, with expressions such as @code{(@@ (gnu packages base) guile-final)}."
  6572. msgstr ""
  6573. #. type: table
  6574. #: guix-git/doc/guix.texi:3187
  6575. msgid "Note that this option installs the first output of the specified package, which may be insufficient when needing a specific output of a multiple-output package."
  6576. msgstr ""
  6577. #. type: item
  6578. #: guix-git/doc/guix.texi:3188
  6579. #, no-wrap
  6580. msgid "--install-from-file=@var{file}"
  6581. msgstr ""
  6582. #. type: itemx
  6583. #: guix-git/doc/guix.texi:3189 guix-git/doc/guix.texi:10684
  6584. #, no-wrap
  6585. msgid "-f @var{file}"
  6586. msgstr ""
  6587. #. type: table
  6588. #: guix-git/doc/guix.texi:3191
  6589. msgid "Install the package that the code within @var{file} evaluates to."
  6590. msgstr ""
  6591. #. type: table
  6592. #: guix-git/doc/guix.texi:3194 guix-git/doc/guix.texi:5721
  6593. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  6594. msgstr ""
  6595. #. type: include
  6596. #: guix-git/doc/guix.texi:3196 guix-git/doc/guix.texi:10692
  6597. #, no-wrap
  6598. msgid "package-hello.scm"
  6599. msgstr ""
  6600. #. type: table
  6601. #: guix-git/doc/guix.texi:3203
  6602. msgid "Developers may find it useful to include such a @file{guix.scm} file in the root of their project source tree that can be used to test development snapshots and create reproducible development environments (@pxref{Invoking guix environment})."
  6603. msgstr ""
  6604. #. type: table
  6605. #: guix-git/doc/guix.texi:3208
  6606. msgid "The @var{file} may also contain a JSON representation of one or more package definitions. Running @code{guix package -f} on @file{hello.json} with the following contents would result in installing the package @code{greeter} after building @code{myhello}:"
  6607. msgstr ""
  6608. #. type: example
  6609. #: guix-git/doc/guix.texi:3211 guix-git/doc/guix.texi:10702
  6610. #, no-wrap
  6611. msgid "@verbatiminclude package-hello.json\n"
  6612. msgstr ""
  6613. #. type: item
  6614. #: guix-git/doc/guix.texi:3213
  6615. #, no-wrap
  6616. msgid "--remove=@var{package} @dots{}"
  6617. msgstr ""
  6618. #. type: itemx
  6619. #: guix-git/doc/guix.texi:3214
  6620. #, no-wrap
  6621. msgid "-r @var{package} @dots{}"
  6622. msgstr ""
  6623. #. type: table
  6624. #: guix-git/doc/guix.texi:3216
  6625. msgid "Remove the specified @var{package}s."
  6626. msgstr ""
  6627. #. type: table
  6628. #: guix-git/doc/guix.texi:3221
  6629. msgid "As for @option{--install}, each @var{package} may specify a version number and/or output name in addition to the package name. For instance, @samp{-r glibc:debug} would remove the @code{debug} output of @code{glibc}."
  6630. msgstr ""
  6631. #. type: item
  6632. #: guix-git/doc/guix.texi:3222
  6633. #, no-wrap
  6634. msgid "--upgrade[=@var{regexp} @dots{}]"
  6635. msgstr ""
  6636. #. type: itemx
  6637. #: guix-git/doc/guix.texi:3223
  6638. #, no-wrap
  6639. msgid "-u [@var{regexp} @dots{}]"
  6640. msgstr ""
  6641. #. type: cindex
  6642. #: guix-git/doc/guix.texi:3224
  6643. #, no-wrap
  6644. msgid "upgrading packages"
  6645. msgstr ""
  6646. #. type: table
  6647. #: guix-git/doc/guix.texi:3228
  6648. msgid "Upgrade all the installed packages. If one or more @var{regexp}s are specified, upgrade only installed packages whose name matches a @var{regexp}. Also see the @option{--do-not-upgrade} option below."
  6649. msgstr ""
  6650. #. type: table
  6651. #: guix-git/doc/guix.texi:3233
  6652. msgid "Note that this upgrades package to the latest version of packages found in the distribution currently installed. To update your distribution, you should regularly run @command{guix pull} (@pxref{Invoking guix pull})."
  6653. msgstr ""
  6654. #. type: cindex
  6655. #: guix-git/doc/guix.texi:3234
  6656. #, no-wrap
  6657. msgid "package transformations, upgrades"
  6658. msgstr ""
  6659. #. type: table
  6660. #: guix-git/doc/guix.texi:3239
  6661. msgid "When upgrading, package transformations that were originally applied when creating the profile are automatically re-applied (@pxref{Package Transformation Options}). For example, assume you first installed Emacs from the tip of its development branch with:"
  6662. msgstr ""
  6663. #. type: example
  6664. #: guix-git/doc/guix.texi:3242
  6665. #, no-wrap
  6666. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  6667. msgstr ""
  6668. #. type: table
  6669. #: guix-git/doc/guix.texi:3247
  6670. msgid "Next time you run @command{guix upgrade}, Guix will again pull the tip of the Emacs development branch and build @code{emacs-next} from that checkout."
  6671. msgstr ""
  6672. #. type: table
  6673. #: guix-git/doc/guix.texi:3252
  6674. msgid "Note that transformation options such as @option{--with-branch} and @option{--with-source} depend on external state; it is up to you to ensure that they work as expected. You can also discard a transformations that apply to a package by running:"
  6675. msgstr ""
  6676. #. type: example
  6677. #: guix-git/doc/guix.texi:3255
  6678. #, no-wrap
  6679. msgid "guix install @var{package}\n"
  6680. msgstr ""
  6681. #. type: item
  6682. #: guix-git/doc/guix.texi:3257
  6683. #, no-wrap
  6684. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  6685. msgstr ""
  6686. #. type: table
  6687. #: guix-git/doc/guix.texi:3262
  6688. msgid "When used together with the @option{--upgrade} option, do @emph{not} upgrade any packages whose name matches a @var{regexp}. For example, to upgrade all packages in the current profile except those containing the substring ``emacs'':"
  6689. msgstr ""
  6690. #. type: example
  6691. #: guix-git/doc/guix.texi:3265
  6692. #, no-wrap
  6693. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  6694. msgstr ""
  6695. #. type: anchor{#1}
  6696. #: guix-git/doc/guix.texi:3267
  6697. #, no-wrap
  6698. msgid "profile-manifest"
  6699. msgstr ""
  6700. #. type: item
  6701. #: guix-git/doc/guix.texi:3267 guix-git/doc/guix.texi:5726
  6702. #: guix-git/doc/guix.texi:6145 guix-git/doc/guix.texi:11725
  6703. #: guix-git/doc/guix.texi:13162
  6704. #, no-wrap
  6705. msgid "--manifest=@var{file}"
  6706. msgstr ""
  6707. #. type: itemx
  6708. #: guix-git/doc/guix.texi:3268 guix-git/doc/guix.texi:5727
  6709. #: guix-git/doc/guix.texi:6146 guix-git/doc/guix.texi:11726
  6710. #, no-wrap
  6711. msgid "-m @var{file}"
  6712. msgstr ""
  6713. #. type: cindex
  6714. #: guix-git/doc/guix.texi:3269
  6715. #, no-wrap
  6716. msgid "profile declaration"
  6717. msgstr ""
  6718. #. type: cindex
  6719. #: guix-git/doc/guix.texi:3270
  6720. #, no-wrap
  6721. msgid "profile manifest"
  6722. msgstr ""
  6723. #. type: table
  6724. #: guix-git/doc/guix.texi:3274
  6725. msgid "Create a new generation of the profile from the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  6726. msgstr ""
  6727. #. type: table
  6728. #: guix-git/doc/guix.texi:3280
  6729. msgid "This allows you to @emph{declare} the profile's contents rather than constructing it through a sequence of @option{--install} and similar commands. The advantage is that @var{file} can be put under version control, copied to different machines to reproduce the same profile, and so on."
  6730. msgstr ""
  6731. #. type: table
  6732. #: guix-git/doc/guix.texi:3284
  6733. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  6734. msgstr ""
  6735. #. type: findex
  6736. #: guix-git/doc/guix.texi:3285
  6737. #, no-wrap
  6738. msgid "packages->manifest"
  6739. msgstr ""
  6740. #. type: lisp
  6741. #: guix-git/doc/guix.texi:3288
  6742. #, no-wrap
  6743. msgid ""
  6744. "(use-package-modules guile emacs)\n"
  6745. "\n"
  6746. msgstr ""
  6747. #. type: lisp
  6748. #: guix-git/doc/guix.texi:3294
  6749. #, no-wrap
  6750. msgid ""
  6751. "(packages->manifest\n"
  6752. " (list emacs\n"
  6753. " guile-2.0\n"
  6754. " ;; Use a specific package output.\n"
  6755. " (list guile-2.0 \"debug\")))\n"
  6756. msgstr ""
  6757. #. type: findex
  6758. #: guix-git/doc/guix.texi:3296
  6759. #, no-wrap
  6760. msgid "specifications->manifest"
  6761. msgstr ""
  6762. #. type: table
  6763. #: guix-git/doc/guix.texi:3303
  6764. msgid "In this example we have to know which modules define the @code{emacs} and @code{guile-2.0} variables to provide the right @code{use-package-modules} line, which can be cumbersome. We can instead provide regular package specifications and let @code{specifications->manifest} look up the corresponding package objects, like this:"
  6765. msgstr ""
  6766. #. type: lisp
  6767. #: guix-git/doc/guix.texi:3307
  6768. #, no-wrap
  6769. msgid ""
  6770. "(specifications->manifest\n"
  6771. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  6772. msgstr ""
  6773. #. type: table
  6774. #: guix-git/doc/guix.texi:3311
  6775. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  6776. msgstr ""
  6777. #. type: item
  6778. #: guix-git/doc/guix.texi:3312 guix-git/doc/guix.texi:4414
  6779. #, no-wrap
  6780. msgid "--roll-back"
  6781. msgstr ""
  6782. #. type: cindex
  6783. #: guix-git/doc/guix.texi:3313 guix-git/doc/guix.texi:4415
  6784. #: guix-git/doc/guix.texi:32869
  6785. #, no-wrap
  6786. msgid "rolling back"
  6787. msgstr ""
  6788. #. type: cindex
  6789. #: guix-git/doc/guix.texi:3314 guix-git/doc/guix.texi:4416
  6790. #, no-wrap
  6791. msgid "undoing transactions"
  6792. msgstr ""
  6793. #. type: cindex
  6794. #: guix-git/doc/guix.texi:3315 guix-git/doc/guix.texi:4417
  6795. #, no-wrap
  6796. msgid "transactions, undoing"
  6797. msgstr ""
  6798. #. type: table
  6799. #: guix-git/doc/guix.texi:3318
  6800. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  6801. msgstr ""
  6802. #. type: table
  6803. #: guix-git/doc/guix.texi:3321
  6804. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  6805. msgstr ""
  6806. #. type: table
  6807. #: guix-git/doc/guix.texi:3325
  6808. msgid "When rolling back from the first generation that actually contains installed packages, the profile is made to point to the @dfn{zeroth generation}, which contains no files apart from its own metadata."
  6809. msgstr ""
  6810. #. type: table
  6811. #: guix-git/doc/guix.texi:3329
  6812. msgid "After having rolled back, installing, removing, or upgrading packages overwrites previous future generations. Thus, the history of the generations in a profile is always linear."
  6813. msgstr ""
  6814. #. type: item
  6815. #: guix-git/doc/guix.texi:3330 guix-git/doc/guix.texi:4421
  6816. #, no-wrap
  6817. msgid "--switch-generation=@var{pattern}"
  6818. msgstr ""
  6819. #. type: itemx
  6820. #: guix-git/doc/guix.texi:3331 guix-git/doc/guix.texi:4422
  6821. #, no-wrap
  6822. msgid "-S @var{pattern}"
  6823. msgstr ""
  6824. #. type: cindex
  6825. #: guix-git/doc/guix.texi:3332 guix-git/doc/guix.texi:3562
  6826. #: guix-git/doc/guix.texi:4423 guix-git/doc/guix.texi:32827
  6827. #, no-wrap
  6828. msgid "generations"
  6829. msgstr ""
  6830. #. type: table
  6831. #: guix-git/doc/guix.texi:3334 guix-git/doc/guix.texi:4425
  6832. msgid "Switch to a particular generation defined by @var{pattern}."
  6833. msgstr ""
  6834. #. type: table
  6835. #: guix-git/doc/guix.texi:3340 guix-git/doc/guix.texi:4431
  6836. msgid "@var{pattern} may be either a generation number or a number prefixed with ``+'' or ``-''. The latter means: move forward/backward by a specified number of generations. For example, if you want to return to the latest generation after @option{--roll-back}, use @option{--switch-generation=+1}."
  6837. msgstr ""
  6838. #. type: table
  6839. #: guix-git/doc/guix.texi:3345
  6840. msgid "The difference between @option{--roll-back} and @option{--switch-generation=-1} is that @option{--switch-generation} will not make a zeroth generation, so if a specified generation does not exist, the current generation will not be changed."
  6841. msgstr ""
  6842. #. type: item
  6843. #: guix-git/doc/guix.texi:3346
  6844. #, no-wrap
  6845. msgid "--search-paths[=@var{kind}]"
  6846. msgstr ""
  6847. #. type: table
  6848. #: guix-git/doc/guix.texi:3352
  6849. msgid "Report environment variable definitions, in Bash syntax, that may be needed in order to use the set of installed packages. These environment variables are used to specify @dfn{search paths} for files used by some of the installed packages."
  6850. msgstr ""
  6851. #. type: table
  6852. #: guix-git/doc/guix.texi:3360
  6853. msgid "For example, GCC needs the @env{CPATH} and @env{LIBRARY_PATH} environment variables to be defined so it can look for headers and libraries in the user's profile (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). If GCC and, say, the C library are installed in the profile, then @option{--search-paths} will suggest setting these variables to @file{@var{profile}/include} and @file{@var{profile}/lib}, respectively."
  6854. msgstr ""
  6855. #. type: table
  6856. #: guix-git/doc/guix.texi:3363
  6857. msgid "The typical use case is to define these environment variables in the shell:"
  6858. msgstr ""
  6859. #. type: example
  6860. #: guix-git/doc/guix.texi:3366
  6861. #, no-wrap
  6862. msgid "$ eval `guix package --search-paths`\n"
  6863. msgstr ""
  6864. #. type: table
  6865. #: guix-git/doc/guix.texi:3372
  6866. msgid "@var{kind} may be one of @code{exact}, @code{prefix}, or @code{suffix}, meaning that the returned environment variable definitions will either be exact settings, or prefixes or suffixes of the current value of these variables. When omitted, @var{kind} defaults to @code{exact}."
  6867. msgstr ""
  6868. #. type: table
  6869. #: guix-git/doc/guix.texi:3375
  6870. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  6871. msgstr ""
  6872. #. type: example
  6873. #: guix-git/doc/guix.texi:3380
  6874. #, no-wrap
  6875. msgid ""
  6876. "$ guix package -p foo -i guile\n"
  6877. "$ guix package -p bar -i guile-json\n"
  6878. "$ guix package -p foo -p bar --search-paths\n"
  6879. msgstr ""
  6880. #. type: table
  6881. #: guix-git/doc/guix.texi:3385
  6882. msgid "The last command above reports about the @env{GUILE_LOAD_PATH} variable, even though, taken individually, neither @file{foo} nor @file{bar} would lead to that recommendation."
  6883. msgstr ""
  6884. #. type: cindex
  6885. #: guix-git/doc/guix.texi:3387
  6886. #, no-wrap
  6887. msgid "profile, choosing"
  6888. msgstr ""
  6889. #. type: item
  6890. #: guix-git/doc/guix.texi:3388 guix-git/doc/guix.texi:4451
  6891. #: guix-git/doc/guix.texi:4780
  6892. #, no-wrap
  6893. msgid "--profile=@var{profile}"
  6894. msgstr ""
  6895. #. type: itemx
  6896. #: guix-git/doc/guix.texi:3389 guix-git/doc/guix.texi:4452
  6897. #: guix-git/doc/guix.texi:4781
  6898. #, no-wrap
  6899. msgid "-p @var{profile}"
  6900. msgstr ""
  6901. #. type: table
  6902. #: guix-git/doc/guix.texi:3391
  6903. msgid "Use @var{profile} instead of the user's default profile."
  6904. msgstr ""
  6905. #. type: table
  6906. #: guix-git/doc/guix.texi:3396
  6907. msgid "@var{profile} must be the name of a file that will be created upon completion. Concretely, @var{profile} will be a mere symbolic link (``symlink'') pointing to the actual profile where packages are installed:"
  6908. msgstr ""
  6909. #. type: example
  6910. #: guix-git/doc/guix.texi:3402
  6911. #, no-wrap
  6912. msgid ""
  6913. "$ guix install hello -p ~/code/my-profile\n"
  6914. "@dots{}\n"
  6915. "$ ~/code/my-profile/bin/hello\n"
  6916. "Hello, world!\n"
  6917. msgstr ""
  6918. #. type: table
  6919. #: guix-git/doc/guix.texi:3406
  6920. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  6921. msgstr ""
  6922. #. type: example
  6923. #: guix-git/doc/guix.texi:3409
  6924. #, no-wrap
  6925. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  6926. msgstr ""
  6927. #. type: item
  6928. #: guix-git/doc/guix.texi:3411
  6929. #, no-wrap
  6930. msgid "--list-profiles"
  6931. msgstr ""
  6932. #. type: table
  6933. #: guix-git/doc/guix.texi:3413
  6934. msgid "List all the user's profiles:"
  6935. msgstr ""
  6936. #. type: example
  6937. #: guix-git/doc/guix.texi:3420
  6938. #, no-wrap
  6939. msgid ""
  6940. "$ guix package --list-profiles\n"
  6941. "/home/charlie/.guix-profile\n"
  6942. "/home/charlie/code/my-profile\n"
  6943. "/home/charlie/code/devel-profile\n"
  6944. "/home/charlie/tmp/test\n"
  6945. msgstr ""
  6946. #. type: table
  6947. #: guix-git/doc/guix.texi:3423
  6948. msgid "When running as root, list all the profiles of all the users."
  6949. msgstr ""
  6950. #. type: cindex
  6951. #: guix-git/doc/guix.texi:3424
  6952. #, no-wrap
  6953. msgid "collisions, in a profile"
  6954. msgstr ""
  6955. #. type: cindex
  6956. #: guix-git/doc/guix.texi:3425
  6957. #, no-wrap
  6958. msgid "colliding packages in profiles"
  6959. msgstr ""
  6960. #. type: cindex
  6961. #: guix-git/doc/guix.texi:3426
  6962. #, no-wrap
  6963. msgid "profile collisions"
  6964. msgstr ""
  6965. #. type: item
  6966. #: guix-git/doc/guix.texi:3427
  6967. #, no-wrap
  6968. msgid "--allow-collisions"
  6969. msgstr ""
  6970. #. type: table
  6971. #: guix-git/doc/guix.texi:3429
  6972. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  6973. msgstr ""
  6974. #. type: table
  6975. #: guix-git/doc/guix.texi:3433
  6976. msgid "By default, @command{guix package} reports as an error @dfn{collisions} in the profile. Collisions happen when two or more different versions or variants of a given package end up in the profile."
  6977. msgstr ""
  6978. #. type: item
  6979. #: guix-git/doc/guix.texi:3434 guix-git/doc/guix.texi:4494
  6980. #: guix-git/doc/guix.texi:6231
  6981. #, no-wrap
  6982. msgid "--bootstrap"
  6983. msgstr ""
  6984. #. type: table
  6985. #: guix-git/doc/guix.texi:3437
  6986. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  6987. msgstr ""
  6988. #. type: Plain text
  6989. #: guix-git/doc/guix.texi:3443
  6990. msgid "In addition to these actions, @command{guix package} supports the following options to query the current state of a profile, or the availability of packages:"
  6991. msgstr ""
  6992. #. type: item
  6993. #: guix-git/doc/guix.texi:3446
  6994. #, no-wrap
  6995. msgid "--search=@var{regexp}"
  6996. msgstr ""
  6997. #. type: itemx
  6998. #: guix-git/doc/guix.texi:3447
  6999. #, no-wrap
  7000. msgid "-s @var{regexp}"
  7001. msgstr ""
  7002. #. type: anchor{#1}
  7003. #: guix-git/doc/guix.texi:3449
  7004. msgid "guix-search"
  7005. msgstr ""
  7006. #. type: cindex
  7007. #: guix-git/doc/guix.texi:3449
  7008. #, no-wrap
  7009. msgid "searching for packages"
  7010. msgstr ""
  7011. #. type: table
  7012. #: guix-git/doc/guix.texi:3455
  7013. msgid "List the available packages whose name, synopsis, or description matches @var{regexp} (in a case-insensitive fashion), sorted by relevance. Print all the metadata of matching packages in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  7014. msgstr ""
  7015. #. type: table
  7016. #: guix-git/doc/guix.texi:3458
  7017. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7018. msgstr ""
  7019. #. type: example
  7020. #: guix-git/doc/guix.texi:3464
  7021. #, no-wrap
  7022. msgid ""
  7023. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7024. "name: jemalloc\n"
  7025. "version: 4.5.0\n"
  7026. "relevance: 6\n"
  7027. "\n"
  7028. msgstr ""
  7029. #. type: example
  7030. #: guix-git/doc/guix.texi:3468
  7031. #, no-wrap
  7032. msgid ""
  7033. "name: glibc\n"
  7034. "version: 2.25\n"
  7035. "relevance: 1\n"
  7036. "\n"
  7037. msgstr ""
  7038. #. type: example
  7039. #: guix-git/doc/guix.texi:3472
  7040. #, no-wrap
  7041. msgid ""
  7042. "name: libgc\n"
  7043. "version: 7.6.0\n"
  7044. "relevance: 1\n"
  7045. msgstr ""
  7046. #. type: table
  7047. #: guix-git/doc/guix.texi:3476
  7048. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7049. msgstr ""
  7050. #. type: example
  7051. #: guix-git/doc/guix.texi:3480
  7052. #, no-wrap
  7053. msgid ""
  7054. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7055. "name: elfutils\n"
  7056. "\n"
  7057. msgstr ""
  7058. #. type: example
  7059. #: guix-git/doc/guix.texi:3483
  7060. #, no-wrap
  7061. msgid ""
  7062. "name: gmp\n"
  7063. "@dots{}\n"
  7064. msgstr ""
  7065. #. type: table
  7066. #: guix-git/doc/guix.texi:3489
  7067. msgid "It is also possible to refine search results using several @code{-s} flags to @command{guix package}, or several arguments to @command{guix search}. For example, the following command returns a list of board games (this time using the @command{guix search} alias):"
  7068. msgstr ""
  7069. #. type: example
  7070. #: guix-git/doc/guix.texi:3494
  7071. #, no-wrap
  7072. msgid ""
  7073. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7074. "name: gnubg\n"
  7075. "@dots{}\n"
  7076. msgstr ""
  7077. #. type: table
  7078. #: guix-git/doc/guix.texi:3500
  7079. msgid "If we were to omit @code{-s game}, we would also get software packages that deal with printed circuit boards; removing the angle brackets around @code{board} would further add packages that have to do with keyboards."
  7080. msgstr ""
  7081. #. type: table
  7082. #: guix-git/doc/guix.texi:3504
  7083. msgid "And now for a more elaborate example. The following command searches for cryptographic libraries, filters out Haskell, Perl, Python, and Ruby libraries, and prints the name and synopsis of the matching packages:"
  7084. msgstr ""
  7085. #. type: example
  7086. #: guix-git/doc/guix.texi:3508
  7087. #, no-wrap
  7088. msgid ""
  7089. "$ guix search crypto library | \\\n"
  7090. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7091. msgstr ""
  7092. #. type: table
  7093. #: guix-git/doc/guix.texi:3513
  7094. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7095. msgstr ""
  7096. #. type: item
  7097. #: guix-git/doc/guix.texi:3514
  7098. #, no-wrap
  7099. msgid "--show=@var{package}"
  7100. msgstr ""
  7101. #. type: table
  7102. #: guix-git/doc/guix.texi:3518
  7103. msgid "Show details about @var{package}, taken from the list of available packages, in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  7104. msgstr ""
  7105. #. type: example
  7106. #: guix-git/doc/guix.texi:3523
  7107. #, no-wrap
  7108. msgid ""
  7109. "$ guix package --show=python | recsel -p name,version\n"
  7110. "name: python\n"
  7111. "version: 2.7.6\n"
  7112. "\n"
  7113. msgstr ""
  7114. #. type: example
  7115. #: guix-git/doc/guix.texi:3526
  7116. #, no-wrap
  7117. msgid ""
  7118. "name: python\n"
  7119. "version: 3.3.5\n"
  7120. msgstr ""
  7121. #. type: table
  7122. #: guix-git/doc/guix.texi:3530
  7123. msgid "You may also specify the full name of a package to only get details about a specific version of it (this time using the @command{guix show} alias):"
  7124. msgstr ""
  7125. #. type: example
  7126. #: guix-git/doc/guix.texi:3534
  7127. #, no-wrap
  7128. msgid ""
  7129. "$ guix show python@@3.4 | recsel -p name,version\n"
  7130. "name: python\n"
  7131. "version: 3.4.3\n"
  7132. msgstr ""
  7133. #. type: item
  7134. #: guix-git/doc/guix.texi:3538
  7135. #, no-wrap
  7136. msgid "--list-installed[=@var{regexp}]"
  7137. msgstr ""
  7138. #. type: itemx
  7139. #: guix-git/doc/guix.texi:3539
  7140. #, no-wrap
  7141. msgid "-I [@var{regexp}]"
  7142. msgstr ""
  7143. #. type: table
  7144. #: guix-git/doc/guix.texi:3543
  7145. msgid "List the currently installed packages in the specified profile, with the most recently installed packages shown last. When @var{regexp} is specified, list only installed packages whose name matches @var{regexp}."
  7146. msgstr ""
  7147. #. type: table
  7148. #: guix-git/doc/guix.texi:3549
  7149. msgid "For each installed package, print the following items, separated by tabs: the package name, its version string, the part of the package that is installed (for instance, @code{out} for the default output, @code{include} for its headers, etc.), and the path of this package in the store."
  7150. msgstr ""
  7151. #. type: item
  7152. #: guix-git/doc/guix.texi:3550
  7153. #, no-wrap
  7154. msgid "--list-available[=@var{regexp}]"
  7155. msgstr ""
  7156. #. type: itemx
  7157. #: guix-git/doc/guix.texi:3551
  7158. #, no-wrap
  7159. msgid "-A [@var{regexp}]"
  7160. msgstr ""
  7161. #. type: table
  7162. #: guix-git/doc/guix.texi:3555
  7163. msgid "List packages currently available in the distribution for this system (@pxref{GNU Distribution}). When @var{regexp} is specified, list only available packages whose name matches @var{regexp}."
  7164. msgstr ""
  7165. #. type: table
  7166. #: guix-git/doc/guix.texi:3559
  7167. msgid "For each package, print the following items separated by tabs: its name, its version string, the parts of the package (@pxref{Packages with Multiple Outputs}), and the source location of its definition."
  7168. msgstr ""
  7169. #. type: item
  7170. #: guix-git/doc/guix.texi:3560 guix-git/doc/guix.texi:4407
  7171. #, no-wrap
  7172. msgid "--list-generations[=@var{pattern}]"
  7173. msgstr ""
  7174. #. type: itemx
  7175. #: guix-git/doc/guix.texi:3561 guix-git/doc/guix.texi:4408
  7176. #, no-wrap
  7177. msgid "-l [@var{pattern}]"
  7178. msgstr ""
  7179. #. type: table
  7180. #: guix-git/doc/guix.texi:3567
  7181. msgid "Return a list of generations along with their creation dates; for each generation, show the installed packages, with the most recently installed packages shown last. Note that the zeroth generation is never shown."
  7182. msgstr ""
  7183. #. type: table
  7184. #: guix-git/doc/guix.texi:3572
  7185. msgid "For each installed package, print the following items, separated by tabs: the name of a package, its version string, the part of the package that is installed (@pxref{Packages with Multiple Outputs}), and the location of this package in the store."
  7186. msgstr ""
  7187. #. type: table
  7188. #: guix-git/doc/guix.texi:3575
  7189. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  7190. msgstr ""
  7191. #. type: item
  7192. #: guix-git/doc/guix.texi:3577
  7193. #, no-wrap
  7194. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  7195. msgstr ""
  7196. #. type: itemize
  7197. #: guix-git/doc/guix.texi:3580
  7198. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  7199. msgstr ""
  7200. #. type: itemize
  7201. #: guix-git/doc/guix.texi:3583
  7202. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  7203. msgstr ""
  7204. #. type: item
  7205. #: guix-git/doc/guix.texi:3584
  7206. #, no-wrap
  7207. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  7208. msgstr ""
  7209. #. type: itemize
  7210. #: guix-git/doc/guix.texi:3587
  7211. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  7212. msgstr ""
  7213. #. type: itemize
  7214. #: guix-git/doc/guix.texi:3591
  7215. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  7216. msgstr ""
  7217. #. type: item
  7218. #: guix-git/doc/guix.texi:3592
  7219. #, no-wrap
  7220. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  7221. msgstr ""
  7222. #. type: itemize
  7223. #: guix-git/doc/guix.texi:3596
  7224. msgid "or months by passing an integer along with the first letter of the duration. For example, @option{--list-generations=20d} lists generations that are up to 20 days old."
  7225. msgstr ""
  7226. #. type: item
  7227. #: guix-git/doc/guix.texi:3598 guix-git/doc/guix.texi:4432
  7228. #, no-wrap
  7229. msgid "--delete-generations[=@var{pattern}]"
  7230. msgstr ""
  7231. #. type: itemx
  7232. #: guix-git/doc/guix.texi:3599 guix-git/doc/guix.texi:4433
  7233. #, no-wrap
  7234. msgid "-d [@var{pattern}]"
  7235. msgstr ""
  7236. #. type: table
  7237. #: guix-git/doc/guix.texi:3602 guix-git/doc/guix.texi:4436
  7238. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  7239. msgstr ""
  7240. #. type: table
  7241. #: guix-git/doc/guix.texi:3608 guix-git/doc/guix.texi:4442
  7242. msgid "This command accepts the same patterns as @option{--list-generations}. When @var{pattern} is specified, delete the matching generations. When @var{pattern} specifies a duration, generations @emph{older} than the specified duration match. For instance, @option{--delete-generations=1m} deletes generations that are more than one month old."
  7243. msgstr ""
  7244. #. type: table
  7245. #: guix-git/doc/guix.texi:3611
  7246. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  7247. msgstr ""
  7248. #. type: table
  7249. #: guix-git/doc/guix.texi:3614 guix-git/doc/guix.texi:4447
  7250. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  7251. msgstr ""
  7252. #. type: cindex
  7253. #: guix-git/doc/guix.texi:3615
  7254. #, no-wrap
  7255. msgid "manifest, exporting"
  7256. msgstr ""
  7257. #. type: anchor{#1}
  7258. #: guix-git/doc/guix.texi:3617
  7259. msgid "export-manifest"
  7260. msgstr ""
  7261. #. type: item
  7262. #: guix-git/doc/guix.texi:3617
  7263. #, no-wrap
  7264. msgid "--export-manifest"
  7265. msgstr ""
  7266. #. type: table
  7267. #: guix-git/doc/guix.texi:3620
  7268. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  7269. msgstr ""
  7270. #. type: table
  7271. #: guix-git/doc/guix.texi:3624
  7272. msgid "This option is meant to help you migrate from the ``imperative'' operating mode---running @command{guix install}, @command{guix upgrade}, etc.---to the declarative mode that @option{--manifest} offers."
  7273. msgstr ""
  7274. #. type: table
  7275. #: guix-git/doc/guix.texi:3629
  7276. msgid "Be aware that the resulting manifest @emph{approximates} what your profile actually contains; for instance, depending on how your profile was created, it can refer to packages or package versions that are not exactly what you specified."
  7277. msgstr ""
  7278. #. type: table
  7279. #: guix-git/doc/guix.texi:3634
  7280. msgid "Keep in mind that a manifest is purely symbolic: it only contains package names and possibly versions, and their meaning varies over time. If you wish to ``pin'' channels to the revisions that were used to build the profile(s), see @option{--export-channels} below."
  7281. msgstr ""
  7282. #. type: cindex
  7283. #: guix-git/doc/guix.texi:3635
  7284. #, no-wrap
  7285. msgid "pinning, channel revisions of a profile"
  7286. msgstr ""
  7287. #. type: item
  7288. #: guix-git/doc/guix.texi:3636
  7289. #, no-wrap
  7290. msgid "--export-channels"
  7291. msgstr ""
  7292. #. type: table
  7293. #: guix-git/doc/guix.texi:3640
  7294. msgid "Write to standard output the list of channels used by the chosen profile(s), in a format suitable for @command{guix pull --channels} or @command{guix time-machine --channels} (@pxref{Channels})."
  7295. msgstr ""
  7296. #. type: table
  7297. #: guix-git/doc/guix.texi:3644
  7298. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  7299. msgstr ""
  7300. #. type: table
  7301. #: guix-git/doc/guix.texi:3652
  7302. msgid "However, note that the output of this command @emph{approximates} what was actually used to build this profile. In particular, a single profile might have been built from several different revisions of the same channel. In that case, @option{--export-manifest} chooses the last one and writes the list of other revisions in a comment. If you really need to pick packages from different channel revisions, you can use inferiors in your manifest to do so (@pxref{Inferiors})."
  7303. msgstr ""
  7304. #. type: table
  7305. #: guix-git/doc/guix.texi:3657
  7306. msgid "Together with @option{--export-manifest}, this is a good starting point if you are willing to migrate from the ``imperative'' model to the fully declarative model consisting of a manifest file along with a channels file pinning the exact channel revision(s) you want."
  7307. msgstr ""
  7308. #. type: Plain text
  7309. #: guix-git/doc/guix.texi:3664
  7310. msgid "Finally, since @command{guix package} may actually start build processes, it supports all the common build options (@pxref{Common Build Options}). It also supports package transformation options, such as @option{--with-source}, and preserves them across upgrades (@pxref{Package Transformation Options})."
  7311. msgstr ""
  7312. #. type: cindex
  7313. #: guix-git/doc/guix.texi:3669
  7314. #, no-wrap
  7315. msgid "pre-built binaries"
  7316. msgstr ""
  7317. #. type: Plain text
  7318. #: guix-git/doc/guix.texi:3675
  7319. msgid "Guix supports transparent source/binary deployment, which means that it can either build things locally, or download pre-built items from a server, or both. We call these pre-built items @dfn{substitutes}---they are substitutes for local build results. In many cases, downloading a substitute is much faster than building things locally."
  7320. msgstr ""
  7321. #. type: Plain text
  7322. #: guix-git/doc/guix.texi:3680
  7323. msgid "Substitutes can be anything resulting from a derivation build (@pxref{Derivations}). Of course, in the common case, they are pre-built package binaries, but source tarballs, for instance, which also result from derivation builds, can be available as substitutes."
  7324. msgstr ""
  7325. #. type: cindex
  7326. #: guix-git/doc/guix.texi:3694
  7327. #, no-wrap
  7328. msgid "build farm"
  7329. msgstr ""
  7330. #. type: Plain text
  7331. #: guix-git/doc/guix.texi:3704
  7332. msgid "The @code{@value{SUBSTITUTE-SERVER}} server is a front-end to an official build farm that builds packages from Guix continuously for some architectures, and makes them available as substitutes. This is the default source of substitutes; it can be overridden by passing the @option{--substitute-urls} option either to @command{guix-daemon} (@pxref{daemon-substitute-urls,, @code{guix-daemon --substitute-urls}}) or to client tools such as @command{guix package} (@pxref{client-substitute-urls,, client @option{--substitute-urls} option})."
  7333. msgstr ""
  7334. #. type: Plain text
  7335. #: guix-git/doc/guix.texi:3710
  7336. msgid "Substitute URLs can be either HTTP or HTTPS. HTTPS is recommended because communications are encrypted; conversely, using HTTP makes all communications visible to an eavesdropper, who could use the information gathered to determine, for instance, whether your system has unpatched security vulnerabilities."
  7337. msgstr ""
  7338. #. type: Plain text
  7339. #: guix-git/doc/guix.texi:3719
  7340. msgid "Substitutes from the official build farm are enabled by default when using Guix System (@pxref{GNU Distribution}). However, they are disabled by default when using Guix on a foreign distribution, unless you have explicitly enabled them via one of the recommended installation steps (@pxref{Installation}). The following paragraphs describe how to enable or disable substitutes for the official build farm; the same procedure can also be used to enable substitutes for any other substitute server."
  7341. msgstr ""
  7342. #. type: cindex
  7343. #: guix-git/doc/guix.texi:3723
  7344. #, no-wrap
  7345. msgid "security"
  7346. msgstr ""
  7347. #. type: cindex
  7348. #: guix-git/doc/guix.texi:3725
  7349. #, no-wrap
  7350. msgid "access control list (ACL), for substitutes"
  7351. msgstr ""
  7352. #. type: cindex
  7353. #: guix-git/doc/guix.texi:3726
  7354. #, no-wrap
  7355. msgid "ACL (access control list), for substitutes"
  7356. msgstr ""
  7357. #. type: Plain text
  7358. #: guix-git/doc/guix.texi:3733
  7359. msgid "To allow Guix to download substitutes from @code{@value{SUBSTITUTE-SERVER}} or a mirror thereof, you must add its public key to the access control list (ACL) of archive imports, using the @command{guix archive} command (@pxref{Invoking guix archive}). Doing so implies that you trust @code{@value{SUBSTITUTE-SERVER}} to not be compromised and to serve genuine substitutes."
  7360. msgstr ""
  7361. #. type: quotation
  7362. #: guix-git/doc/guix.texi:3737
  7363. msgid "If you are using Guix System, you can skip this section: Guix System authorizes substitutes from @code{@value{SUBSTITUTE-SERVER}} by default."
  7364. msgstr ""
  7365. #. type: Plain text
  7366. #: guix-git/doc/guix.texi:3745
  7367. msgid "The public key for @code{@value{SUBSTITUTE-SERVER}} is installed along with Guix, in @code{@var{prefix}/share/guix/@value{SUBSTITUTE-SERVER}.pub}, where @var{prefix} is the installation prefix of Guix. If you installed Guix from source, make sure you checked the GPG signature of @file{guix-@value{VERSION}.tar.gz}, which contains this public key file. Then, you can run something like this:"
  7368. msgstr ""
  7369. #. type: example
  7370. #: guix-git/doc/guix.texi:3748
  7371. #, no-wrap
  7372. msgid "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  7373. msgstr ""
  7374. #. type: Plain text
  7375. #: guix-git/doc/guix.texi:3752
  7376. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  7377. msgstr ""
  7378. #. type: example
  7379. #: guix-git/doc/guix.texi:3761
  7380. #, no-wrap
  7381. msgid ""
  7382. "$ guix build emacs --dry-run\n"
  7383. "The following derivations would be built:\n"
  7384. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  7385. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  7386. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  7387. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  7388. "@dots{}\n"
  7389. msgstr ""
  7390. #. type: Plain text
  7391. #: guix-git/doc/guix.texi:3765
  7392. msgid "to something like:"
  7393. msgstr ""
  7394. #. type: example
  7395. #: guix-git/doc/guix.texi:3774
  7396. #, no-wrap
  7397. msgid ""
  7398. "$ guix build emacs --dry-run\n"
  7399. "112.3 MB would be downloaded:\n"
  7400. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  7401. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  7402. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  7403. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  7404. "@dots{}\n"
  7405. msgstr ""
  7406. #. type: Plain text
  7407. #: guix-git/doc/guix.texi:3781
  7408. msgid "The text changed from ``The following derivations would be built'' to ``112.3 MB would be downloaded''. This indicates that substitutes from @code{@value{SUBSTITUTE-SERVER}} are usable and will be downloaded, when possible, for future builds."
  7409. msgstr ""
  7410. #. type: cindex
  7411. #: guix-git/doc/guix.texi:3782
  7412. #, no-wrap
  7413. msgid "substitutes, how to disable"
  7414. msgstr ""
  7415. #. type: Plain text
  7416. #: guix-git/doc/guix.texi:3788
  7417. msgid "The substitute mechanism can be disabled globally by running @code{guix-daemon} with @option{--no-substitutes} (@pxref{Invoking guix-daemon}). It can also be disabled temporarily by passing the @option{--no-substitutes} option to @command{guix package}, @command{guix build}, and other command-line tools."
  7418. msgstr ""
  7419. #. type: cindex
  7420. #: guix-git/doc/guix.texi:3792
  7421. #, no-wrap
  7422. msgid "substitute servers, adding more"
  7423. msgstr ""
  7424. #. type: Plain text
  7425. #: guix-git/doc/guix.texi:3799
  7426. msgid "Guix can look up and fetch substitutes from several servers. This is useful when you are using packages from additional channels for which the official server does not have substitutes but another server provides them. Another situation where this is useful is when you would prefer to download from your organization's substitute server, resorting to the official server only as a fallback or dismissing it altogether."
  7427. msgstr ""
  7428. #. type: Plain text
  7429. #: guix-git/doc/guix.texi:3804
  7430. msgid "You can give Guix a list of substitute server URLs and it will check them in the specified order. You also need to explicitly authorize the public keys of substitute servers to instruct Guix to accept the substitutes they sign."
  7431. msgstr ""
  7432. #. type: Plain text
  7433. #: guix-git/doc/guix.texi:3811
  7434. msgid "On Guix System, this is achieved by modifying the configuration of the @code{guix} service. Since the @code{guix} service is part of the default lists of services, @code{%base-services} and @code{%desktop-services}, you can use @code{modify-services} to change its configuration and add the URLs and substitute keys that you want (@pxref{Service Reference, @code{modify-services}})."
  7435. msgstr ""
  7436. #. type: Plain text
  7437. #: guix-git/doc/guix.texi:3816
  7438. msgid "As an example, suppose you want to fetch substitutes from @code{guix.example.org} and to authorize the signing key of that server, in addition to the default @code{@value{SUBSTITUTE-SERVER}}. The resulting operating system configuration will look something like:"
  7439. msgstr ""
  7440. #. type: lisp
  7441. #: guix-git/doc/guix.texi:3833
  7442. #, no-wrap
  7443. msgid ""
  7444. "(operating-system\n"
  7445. " ;; @dots{}\n"
  7446. " (services\n"
  7447. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  7448. " ;; with the list of services you're actually using.\n"
  7449. " (modify-services %desktop-services\n"
  7450. " (guix-service-type config =>\n"
  7451. " (guix-configuration\n"
  7452. " (inherit config)\n"
  7453. " (substitute-urls\n"
  7454. " (append (list \"https://guix.example.org\")\n"
  7455. " %default-substitute-urls))\n"
  7456. " (authorized-keys\n"
  7457. " (append (list (local-file \"./key.pub\"))\n"
  7458. " %default-authorized-guix-keys)))))))\n"
  7459. msgstr ""
  7460. #. type: Plain text
  7461. #: guix-git/doc/guix.texi:3840
  7462. msgid "This assumes that the file @file{key.pub} contains the signing key of @code{guix.example.org}. With this change in place in your operating system configuration file (say @file{/etc/config.scm}), you can reconfigure and restart the @code{guix-daemon} service or reboot so the changes take effect:"
  7463. msgstr ""
  7464. #. type: example
  7465. #: guix-git/doc/guix.texi:3844
  7466. #, no-wrap
  7467. msgid ""
  7468. "$ sudo guix system reconfigure /etc/config.scm\n"
  7469. "$ sudo herd restart guix-daemon\n"
  7470. msgstr ""
  7471. #. type: Plain text
  7472. #: guix-git/doc/guix.texi:3848
  7473. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  7474. msgstr ""
  7475. #. type: enumerate
  7476. #: guix-git/doc/guix.texi:3857
  7477. msgid "Edit the service configuration file for @code{guix-daemon}; when using systemd, this is normally @file{/etc/systemd/system/guix-daemon.service}. Add the @option{--substitute-urls} option on the @command{guix-daemon} command line and list the URLs of interest (@pxref{daemon-substitute-urls, @code{guix-daemon --substitute-urls}}):"
  7478. msgstr ""
  7479. #. type: example
  7480. #: guix-git/doc/guix.texi:3860
  7481. #, no-wrap
  7482. msgid "@dots{} --substitute-urls='https://guix.example.org https://@value{SUBSTITUTE-SERVER}'\n"
  7483. msgstr ""
  7484. #. type: enumerate
  7485. #: guix-git/doc/guix.texi:3864
  7486. msgid "Restart the daemon. For systemd, it goes like this:"
  7487. msgstr ""
  7488. #. type: example
  7489. #: guix-git/doc/guix.texi:3868
  7490. #, no-wrap
  7491. msgid ""
  7492. "systemctl daemon-reload\n"
  7493. "systemctl restart guix-daemon.service\n"
  7494. msgstr ""
  7495. #. type: enumerate
  7496. #: guix-git/doc/guix.texi:3872
  7497. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  7498. msgstr ""
  7499. #. type: example
  7500. #: guix-git/doc/guix.texi:3875
  7501. #, no-wrap
  7502. msgid "guix archive --authorize < key.pub\n"
  7503. msgstr ""
  7504. #. type: enumerate
  7505. #: guix-git/doc/guix.texi:3879
  7506. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  7507. msgstr ""
  7508. #. type: Plain text
  7509. #: guix-git/doc/guix.texi:3886
  7510. msgid "Now you're all set! Substitutes will be preferably taken from @code{https://guix.example.org}, using @code{@value{SUBSTITUTE-SERVER}} as a fallback. Of course you can list as many substitute servers as you like, with the caveat that substitute lookup can be slowed down if too many servers need to be contacted."
  7511. msgstr ""
  7512. #. type: Plain text
  7513. #: guix-git/doc/guix.texi:3890
  7514. msgid "Note that there are also situations where one may want to add the URL of a substitute server @emph{without} authorizing its key. @xref{Substitute Authentication}, to understand this fine point."
  7515. msgstr ""
  7516. #. type: cindex
  7517. #: guix-git/doc/guix.texi:3894
  7518. #, no-wrap
  7519. msgid "digital signatures"
  7520. msgstr ""
  7521. #. type: Plain text
  7522. #: guix-git/doc/guix.texi:3898
  7523. msgid "Guix detects and raises an error when attempting to use a substitute that has been tampered with. Likewise, it ignores substitutes that are not signed, or that are not signed by one of the keys listed in the ACL."
  7524. msgstr ""
  7525. #. type: Plain text
  7526. #: guix-git/doc/guix.texi:3904
  7527. msgid "There is one exception though: if an unauthorized server provides substitutes that are @emph{bit-for-bit identical} to those provided by an authorized server, then the unauthorized server becomes eligible for downloads. For example, assume we have chosen two substitute servers with this option:"
  7528. msgstr ""
  7529. #. type: example
  7530. #: guix-git/doc/guix.texi:3907
  7531. #, no-wrap
  7532. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  7533. msgstr ""
  7534. #. type: Plain text
  7535. #: guix-git/doc/guix.texi:3918
  7536. msgid "If the ACL contains only the key for @samp{b.example.org}, and if @samp{a.example.org} happens to serve the @emph{exact same} substitutes, then Guix will download substitutes from @samp{a.example.org} because it comes first in the list and can be considered a mirror of @samp{b.example.org}. In practice, independent build machines usually produce the same binaries, thanks to bit-reproducible builds (see below)."
  7537. msgstr ""
  7538. #. type: Plain text
  7539. #: guix-git/doc/guix.texi:3925
  7540. msgid "When using HTTPS, the server's X.509 certificate is @emph{not} validated (in other words, the server is not authenticated), contrary to what HTTPS clients such as Web browsers usually do. This is because Guix authenticates substitute information itself, as explained above, which is what we care about (whereas X.509 certificates are about authenticating bindings between domain names and public keys)."
  7541. msgstr ""
  7542. #. type: Plain text
  7543. #: guix-git/doc/guix.texi:3937
  7544. msgid "Substitutes are downloaded over HTTP or HTTPS@. The @env{http_proxy} and @env{https_proxy} environment variables can be set in the environment of @command{guix-daemon} and are honored for downloads of substitutes. Note that the value of those environment variables in the environment where @command{guix build}, @command{guix package}, and other client commands are run has @emph{absolutely no effect}."
  7545. msgstr ""
  7546. #. type: Plain text
  7547. #: guix-git/doc/guix.texi:3946
  7548. msgid "Even when a substitute for a derivation is available, sometimes the substitution attempt will fail. This can happen for a variety of reasons: the substitute server might be offline, the substitute may recently have been deleted, the connection might have been interrupted, etc."
  7549. msgstr ""
  7550. #. type: Plain text
  7551. #: guix-git/doc/guix.texi:3960
  7552. msgid "When substitutes are enabled and a substitute for a derivation is available, but the substitution attempt fails, Guix will attempt to build the derivation locally depending on whether or not @option{--fallback} was given (@pxref{fallback-option,, common build option @option{--fallback}}). Specifically, if @option{--fallback} was omitted, then no local build will be performed, and the derivation is considered to have failed. However, if @option{--fallback} was given, then Guix will attempt to build the derivation locally, and the success or failure of the derivation depends on the success or failure of the local build. Note that when substitutes are disabled or no substitute is available for the derivation in question, a local build will @emph{always} be performed, regardless of whether or not @option{--fallback} was given."
  7553. msgstr ""
  7554. #. type: Plain text
  7555. #: guix-git/doc/guix.texi:3965
  7556. msgid "To get an idea of how many substitutes are available right now, you can try running the @command{guix weather} command (@pxref{Invoking guix weather}). This command provides statistics on the substitutes provided by a server."
  7557. msgstr ""
  7558. #. type: cindex
  7559. #: guix-git/doc/guix.texi:3969
  7560. #, no-wrap
  7561. msgid "trust, of pre-built binaries"
  7562. msgstr ""
  7563. #. type: Plain text
  7564. #: guix-git/doc/guix.texi:3979
  7565. msgid "Today, each individual's control over their own computing is at the mercy of institutions, corporations, and groups with enough power and determination to subvert the computing infrastructure and exploit its weaknesses. While using @code{@value{SUBSTITUTE-SERVER}} substitutes can be convenient, we encourage users to also build on their own, or even run their own build farm, such that @code{@value{SUBSTITUTE-SERVER}} is less of an interesting target. One way to help is by publishing the software you build using @command{guix publish} so that others have one more choice of server to download substitutes from (@pxref{Invoking guix publish})."
  7566. msgstr ""
  7567. #. type: Plain text
  7568. #: guix-git/doc/guix.texi:3991
  7569. msgid "Guix has the foundations to maximize build reproducibility (@pxref{Features}). In most cases, independent builds of a given package or derivation should yield bit-identical results. Thus, through a diverse set of independent package builds, we can strengthen the integrity of our systems. The @command{guix challenge} command aims to help users assess substitute servers, and to assist developers in finding out about non-deterministic package builds (@pxref{Invoking guix challenge}). Similarly, the @option{--check} option of @command{guix build} allows users to check whether previously-installed substitutes are genuine by rebuilding them locally (@pxref{build-check, @command{guix build --check}})."
  7570. msgstr ""
  7571. #. type: Plain text
  7572. #: guix-git/doc/guix.texi:3995
  7573. msgid "In the future, we want Guix to have support to publish and retrieve binaries to/from other users, in a peer-to-peer fashion. If you would like to discuss this project, join us on @email{guix-devel@@gnu.org}."
  7574. msgstr ""
  7575. #. type: cindex
  7576. #: guix-git/doc/guix.texi:3999
  7577. #, no-wrap
  7578. msgid "multiple-output packages"
  7579. msgstr ""
  7580. #. type: cindex
  7581. #: guix-git/doc/guix.texi:4000
  7582. #, no-wrap
  7583. msgid "package outputs"
  7584. msgstr ""
  7585. #. type: cindex
  7586. #: guix-git/doc/guix.texi:4001
  7587. #, no-wrap
  7588. msgid "outputs"
  7589. msgstr ""
  7590. #. type: Plain text
  7591. #: guix-git/doc/guix.texi:4011
  7592. msgid "Often, packages defined in Guix have a single @dfn{output}---i.e., the source package leads to exactly one directory in the store. When running @command{guix install glibc}, one installs the default output of the GNU libc package; the default output is called @code{out}, but its name can be omitted as shown in this command. In this particular case, the default output of @code{glibc} contains all the C header files, shared libraries, static libraries, Info documentation, and other supporting files."
  7593. msgstr ""
  7594. #. type: Plain text
  7595. #: guix-git/doc/guix.texi:4019
  7596. msgid "Sometimes it is more appropriate to separate the various types of files produced from a single source package into separate outputs. For instance, the GLib C library (used by GTK+ and related packages) installs more than 20 MiB of reference documentation as HTML pages. To save space for users who do not need it, the documentation goes to a separate output, called @code{doc}. To install the main GLib output, which contains everything but the documentation, one would run:"
  7597. msgstr ""
  7598. #. type: example
  7599. #: guix-git/doc/guix.texi:4022
  7600. #, no-wrap
  7601. msgid "guix install glib\n"
  7602. msgstr ""
  7603. #. type: item
  7604. #: guix-git/doc/guix.texi:4024 guix-git/doc/guix.texi:34192
  7605. #: guix-git/doc/guix.texi:34249
  7606. #, no-wrap
  7607. msgid "documentation"
  7608. msgstr ""
  7609. #. type: Plain text
  7610. #: guix-git/doc/guix.texi:4026
  7611. msgid "The command to install its documentation is:"
  7612. msgstr ""
  7613. #. type: example
  7614. #: guix-git/doc/guix.texi:4029
  7615. #, no-wrap
  7616. msgid "guix install glib:doc\n"
  7617. msgstr ""
  7618. #. type: Plain text
  7619. #: guix-git/doc/guix.texi:4040
  7620. msgid "Some packages install programs with different ``dependency footprints''. For instance, the WordNet package installs both command-line tools and graphical user interfaces (GUIs). The former depend solely on the C library, whereas the latter depend on Tcl/Tk and the underlying X libraries. In this case, we leave the command-line tools in the default output, whereas the GUIs are in a separate output. This allows users who do not need the GUIs to save space. The @command{guix size} command can help find out about such situations (@pxref{Invoking guix size}). @command{guix graph} can also be helpful (@pxref{Invoking guix graph})."
  7621. msgstr ""
  7622. #. type: Plain text
  7623. #: guix-git/doc/guix.texi:4048
  7624. msgid "There are several such multiple-output packages in the GNU distribution. Other conventional output names include @code{lib} for libraries and possibly header files, @code{bin} for stand-alone programs, and @code{debug} for debugging information (@pxref{Installing Debugging Files}). The outputs of a packages are listed in the third column of the output of @command{guix package --list-available} (@pxref{Invoking guix package})."
  7625. msgstr ""
  7626. #. type: section
  7627. #: guix-git/doc/guix.texi:4051
  7628. #, no-wrap
  7629. msgid "Invoking @command{guix gc}"
  7630. msgstr ""
  7631. #. type: cindex
  7632. #: guix-git/doc/guix.texi:4053
  7633. #, no-wrap
  7634. msgid "garbage collector"
  7635. msgstr ""
  7636. #. type: cindex
  7637. #: guix-git/doc/guix.texi:4054
  7638. #, no-wrap
  7639. msgid "disk space"
  7640. msgstr ""
  7641. #. type: Plain text
  7642. #: guix-git/doc/guix.texi:4060
  7643. msgid "Packages that are installed, but not used, may be @dfn{garbage-collected}. The @command{guix gc} command allows users to explicitly run the garbage collector to reclaim space from the @file{/gnu/store} directory. It is the @emph{only} way to remove files from @file{/gnu/store}---removing files or directories manually may break it beyond repair!"
  7644. msgstr ""
  7645. #. type: Plain text
  7646. #: guix-git/doc/guix.texi:4071
  7647. msgid "The garbage collector has a set of known @dfn{roots}: any file under @file{/gnu/store} reachable from a root is considered @dfn{live} and cannot be deleted; any other file is considered @dfn{dead} and may be deleted. The set of garbage collector roots (``GC roots'' for short) includes default user profiles; by default, the symlinks under @file{/var/guix/gcroots} represent these GC roots. New GC roots can be added with @command{guix build --root}, for example (@pxref{Invoking guix build}). The @command{guix gc --list-roots} command lists them."
  7648. msgstr ""
  7649. #. type: Plain text
  7650. #: guix-git/doc/guix.texi:4077
  7651. msgid "Prior to running @code{guix gc --collect-garbage} to make space, it is often useful to remove old generations from user profiles; that way, old package builds referenced by those generations can be reclaimed. This is achieved by running @code{guix package --delete-generations} (@pxref{Invoking guix package})."
  7652. msgstr ""
  7653. #. type: Plain text
  7654. #: guix-git/doc/guix.texi:4081
  7655. msgid "Our recommendation is to run a garbage collection periodically, or when you are short on disk space. For instance, to guarantee that at least 5@tie{}GB are available on your disk, simply run:"
  7656. msgstr ""
  7657. #. type: example
  7658. #: guix-git/doc/guix.texi:4084
  7659. #, no-wrap
  7660. msgid "guix gc -F 5G\n"
  7661. msgstr ""
  7662. #. type: Plain text
  7663. #: guix-git/doc/guix.texi:4093
  7664. msgid "It is perfectly safe to run as a non-interactive periodic job (@pxref{Scheduled Job Execution}, for how to set up such a job). Running @command{guix gc} with no arguments will collect as much garbage as it can, but that is often inconvenient: you may find yourself having to rebuild or re-download software that is ``dead'' from the GC viewpoint but that is necessary to build other pieces of software---e.g., the compiler tool chain."
  7665. msgstr ""
  7666. #. type: Plain text
  7667. #: guix-git/doc/guix.texi:4099
  7668. msgid "The @command{guix gc} command has three modes of operation: it can be used to garbage-collect any dead files (the default), to delete specific files (the @option{--delete} option), to print garbage-collector information, or for more advanced queries. The garbage collection options are as follows:"
  7669. msgstr ""
  7670. #. type: item
  7671. #: guix-git/doc/guix.texi:4101
  7672. #, no-wrap
  7673. msgid "--collect-garbage[=@var{min}]"
  7674. msgstr ""
  7675. #. type: itemx
  7676. #: guix-git/doc/guix.texi:4102
  7677. #, no-wrap
  7678. msgid "-C [@var{min}]"
  7679. msgstr ""
  7680. #. type: table
  7681. #: guix-git/doc/guix.texi:4106
  7682. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  7683. msgstr ""
  7684. #. type: table
  7685. #: guix-git/doc/guix.texi:4111
  7686. msgid "When @var{min} is given, stop once @var{min} bytes have been collected. @var{min} may be a number of bytes, or it may include a unit as a suffix, such as @code{MiB} for mebibytes and @code{GB} for gigabytes (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})."
  7687. msgstr ""
  7688. #. type: table
  7689. #: guix-git/doc/guix.texi:4113
  7690. msgid "When @var{min} is omitted, collect all the garbage."
  7691. msgstr ""
  7692. #. type: item
  7693. #: guix-git/doc/guix.texi:4114
  7694. #, no-wrap
  7695. msgid "--free-space=@var{free}"
  7696. msgstr ""
  7697. #. type: itemx
  7698. #: guix-git/doc/guix.texi:4115
  7699. #, no-wrap
  7700. msgid "-F @var{free}"
  7701. msgstr ""
  7702. #. type: table
  7703. #: guix-git/doc/guix.texi:4119
  7704. msgid "Collect garbage until @var{free} space is available under @file{/gnu/store}, if possible; @var{free} denotes storage space, such as @code{500MiB}, as described above."
  7705. msgstr ""
  7706. #. type: table
  7707. #: guix-git/doc/guix.texi:4122
  7708. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  7709. msgstr ""
  7710. #. type: item
  7711. #: guix-git/doc/guix.texi:4123
  7712. #, no-wrap
  7713. msgid "--delete-generations[=@var{duration}]"
  7714. msgstr ""
  7715. #. type: itemx
  7716. #: guix-git/doc/guix.texi:4124
  7717. #, no-wrap
  7718. msgid "-d [@var{duration}]"
  7719. msgstr ""
  7720. #. type: table
  7721. #: guix-git/doc/guix.texi:4128
  7722. msgid "Before starting the garbage collection process, delete all the generations older than @var{duration}, for all the user profiles; when run as root, this applies to all the profiles @emph{of all the users}."
  7723. msgstr ""
  7724. #. type: table
  7725. #: guix-git/doc/guix.texi:4132
  7726. msgid "For example, this command deletes all the generations of all your profiles that are older than 2 months (except generations that are current), and then proceeds to free space until at least 10 GiB are available:"
  7727. msgstr ""
  7728. #. type: example
  7729. #: guix-git/doc/guix.texi:4135
  7730. #, no-wrap
  7731. msgid "guix gc -d 2m -F 10G\n"
  7732. msgstr ""
  7733. #. type: item
  7734. #: guix-git/doc/guix.texi:4137
  7735. #, no-wrap
  7736. msgid "--delete"
  7737. msgstr ""
  7738. #. type: itemx
  7739. #: guix-git/doc/guix.texi:4138
  7740. #, no-wrap
  7741. msgid "-D"
  7742. msgstr ""
  7743. #. type: table
  7744. #: guix-git/doc/guix.texi:4142
  7745. msgid "Attempt to delete all the store files and directories specified as arguments. This fails if some of the files are not in the store, or if they are still live."
  7746. msgstr ""
  7747. #. type: item
  7748. #: guix-git/doc/guix.texi:4143
  7749. #, no-wrap
  7750. msgid "--list-failures"
  7751. msgstr ""
  7752. #. type: table
  7753. #: guix-git/doc/guix.texi:4145
  7754. msgid "List store items corresponding to cached build failures."
  7755. msgstr ""
  7756. #. type: table
  7757. #: guix-git/doc/guix.texi:4149
  7758. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  7759. msgstr ""
  7760. #. type: item
  7761. #: guix-git/doc/guix.texi:4150
  7762. #, no-wrap
  7763. msgid "--list-roots"
  7764. msgstr ""
  7765. #. type: table
  7766. #: guix-git/doc/guix.texi:4153
  7767. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  7768. msgstr ""
  7769. #. type: item
  7770. #: guix-git/doc/guix.texi:4154
  7771. #, no-wrap
  7772. msgid "--list-busy"
  7773. msgstr ""
  7774. #. type: table
  7775. #: guix-git/doc/guix.texi:4157
  7776. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  7777. msgstr ""
  7778. #. type: item
  7779. #: guix-git/doc/guix.texi:4158
  7780. #, no-wrap
  7781. msgid "--clear-failures"
  7782. msgstr ""
  7783. #. type: table
  7784. #: guix-git/doc/guix.texi:4160
  7785. msgid "Remove the specified store items from the failed-build cache."
  7786. msgstr ""
  7787. #. type: table
  7788. #: guix-git/doc/guix.texi:4163
  7789. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  7790. msgstr ""
  7791. #. type: item
  7792. #: guix-git/doc/guix.texi:4164
  7793. #, no-wrap
  7794. msgid "--list-dead"
  7795. msgstr ""
  7796. #. type: table
  7797. #: guix-git/doc/guix.texi:4167
  7798. msgid "Show the list of dead files and directories still present in the store---i.e., files and directories no longer reachable from any root."
  7799. msgstr ""
  7800. #. type: item
  7801. #: guix-git/doc/guix.texi:4168
  7802. #, no-wrap
  7803. msgid "--list-live"
  7804. msgstr ""
  7805. #. type: table
  7806. #: guix-git/doc/guix.texi:4170
  7807. msgid "Show the list of live store files and directories."
  7808. msgstr ""
  7809. #. type: Plain text
  7810. #: guix-git/doc/guix.texi:4174
  7811. msgid "In addition, the references among existing store files can be queried:"
  7812. msgstr ""
  7813. #. type: item
  7814. #: guix-git/doc/guix.texi:4177
  7815. #, no-wrap
  7816. msgid "--references"
  7817. msgstr ""
  7818. #. type: itemx
  7819. #: guix-git/doc/guix.texi:4178
  7820. #, no-wrap
  7821. msgid "--referrers"
  7822. msgstr ""
  7823. #. type: cindex
  7824. #: guix-git/doc/guix.texi:4179 guix-git/doc/guix.texi:12256
  7825. #, no-wrap
  7826. msgid "package dependencies"
  7827. msgstr ""
  7828. #. type: table
  7829. #: guix-git/doc/guix.texi:4182
  7830. msgid "List the references (respectively, the referrers) of store files given as arguments."
  7831. msgstr ""
  7832. #. type: item
  7833. #: guix-git/doc/guix.texi:4183
  7834. #, no-wrap
  7835. msgid "--requisites"
  7836. msgstr ""
  7837. #. type: itemx
  7838. #: guix-git/doc/guix.texi:4184 guix-git/doc/guix.texi:6031
  7839. #, no-wrap
  7840. msgid "-R"
  7841. msgstr ""
  7842. #. type: item
  7843. #: guix-git/doc/guix.texi:4185 guix-git/doc/guix.texi:12112
  7844. #: guix-git/doc/guix.texi:12140 guix-git/doc/guix.texi:12221
  7845. #, no-wrap
  7846. msgid "closure"
  7847. msgstr ""
  7848. #. type: table
  7849. #: guix-git/doc/guix.texi:4190
  7850. msgid "List the requisites of the store files passed as arguments. Requisites include the store files themselves, their references, and the references of these, recursively. In other words, the returned list is the @dfn{transitive closure} of the store files."
  7851. msgstr ""
  7852. #. type: table
  7853. #: guix-git/doc/guix.texi:4194
  7854. msgid "@xref{Invoking guix size}, for a tool to profile the size of the closure of an element. @xref{Invoking guix graph}, for a tool to visualize the graph of references."
  7855. msgstr ""
  7856. #. type: item
  7857. #: guix-git/doc/guix.texi:4195
  7858. #, no-wrap
  7859. msgid "--derivers"
  7860. msgstr ""
  7861. #. type: item
  7862. #: guix-git/doc/guix.texi:4196 guix-git/doc/guix.texi:6345
  7863. #: guix-git/doc/guix.texi:11975 guix-git/doc/guix.texi:12365
  7864. #, no-wrap
  7865. msgid "derivation"
  7866. msgstr ""
  7867. #. type: table
  7868. #: guix-git/doc/guix.texi:4199
  7869. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  7870. msgstr ""
  7871. #. type: table
  7872. #: guix-git/doc/guix.texi:4201
  7873. msgid "For example, this command:"
  7874. msgstr ""
  7875. #. type: example
  7876. #: guix-git/doc/guix.texi:4204
  7877. #, no-wrap
  7878. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  7879. msgstr ""
  7880. #. type: table
  7881. #: guix-git/doc/guix.texi:4209
  7882. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  7883. msgstr ""
  7884. #. type: table
  7885. #: guix-git/doc/guix.texi:4213
  7886. msgid "Note that there may be zero matching @file{.drv} files, for instance because these files have been garbage-collected. There can also be more than one matching @file{.drv} due to fixed-output derivations."
  7887. msgstr ""
  7888. #. type: Plain text
  7889. #: guix-git/doc/guix.texi:4217
  7890. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  7891. msgstr ""
  7892. #. type: item
  7893. #: guix-git/doc/guix.texi:4220
  7894. #, no-wrap
  7895. msgid "--verify[=@var{options}]"
  7896. msgstr ""
  7897. #. type: cindex
  7898. #: guix-git/doc/guix.texi:4221
  7899. #, no-wrap
  7900. msgid "integrity, of the store"
  7901. msgstr ""
  7902. #. type: cindex
  7903. #: guix-git/doc/guix.texi:4222
  7904. #, no-wrap
  7905. msgid "integrity checking"
  7906. msgstr ""
  7907. #. type: table
  7908. #: guix-git/doc/guix.texi:4224
  7909. msgid "Verify the integrity of the store."
  7910. msgstr ""
  7911. #. type: table
  7912. #: guix-git/doc/guix.texi:4227
  7913. msgid "By default, make sure that all the store items marked as valid in the database of the daemon actually exist in @file{/gnu/store}."
  7914. msgstr ""
  7915. #. type: table
  7916. #: guix-git/doc/guix.texi:4230
  7917. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  7918. msgstr ""
  7919. #. type: table
  7920. #: guix-git/doc/guix.texi:4236
  7921. msgid "When passing @option{--verify=contents}, the daemon computes the content hash of each store item and compares it against its hash in the database. Hash mismatches are reported as data corruptions. Because it traverses @emph{all the files in the store}, this command can take a long time, especially on systems with a slow disk drive."
  7922. msgstr ""
  7923. #. type: cindex
  7924. #: guix-git/doc/guix.texi:4237
  7925. #, no-wrap
  7926. msgid "repairing the store"
  7927. msgstr ""
  7928. #. type: cindex
  7929. #: guix-git/doc/guix.texi:4238 guix-git/doc/guix.texi:10852
  7930. #, no-wrap
  7931. msgid "corruption, recovering from"
  7932. msgstr ""
  7933. #. type: table
  7934. #: guix-git/doc/guix.texi:4246
  7935. msgid "Using @option{--verify=repair} or @option{--verify=contents,repair} causes the daemon to try to repair corrupt store items by fetching substitutes for them (@pxref{Substitutes}). Because repairing is not atomic, and thus potentially dangerous, it is available only to the system administrator. A lightweight alternative, when you know exactly which items in the store are corrupt, is @command{guix build --repair} (@pxref{Invoking guix build})."
  7936. msgstr ""
  7937. #. type: item
  7938. #: guix-git/doc/guix.texi:4247
  7939. #, no-wrap
  7940. msgid "--optimize"
  7941. msgstr ""
  7942. #. type: table
  7943. #: guix-git/doc/guix.texi:4251
  7944. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  7945. msgstr ""
  7946. #. type: table
  7947. #: guix-git/doc/guix.texi:4257
  7948. msgid "The daemon performs deduplication after each successful build or archive import, unless it was started with @option{--disable-deduplication} (@pxref{Invoking guix-daemon, @option{--disable-deduplication}}). Thus, this option is primarily useful when the daemon was running with @option{--disable-deduplication}."
  7949. msgstr ""
  7950. #. type: section
  7951. #: guix-git/doc/guix.texi:4261
  7952. #, no-wrap
  7953. msgid "Invoking @command{guix pull}"
  7954. msgstr ""
  7955. #. type: cindex
  7956. #: guix-git/doc/guix.texi:4263
  7957. #, no-wrap
  7958. msgid "upgrading Guix"
  7959. msgstr ""
  7960. #. type: cindex
  7961. #: guix-git/doc/guix.texi:4264
  7962. #, no-wrap
  7963. msgid "updating Guix"
  7964. msgstr ""
  7965. #. type: command{#1}
  7966. #: guix-git/doc/guix.texi:4265
  7967. #, no-wrap
  7968. msgid "guix pull"
  7969. msgstr ""
  7970. #. type: cindex
  7971. #: guix-git/doc/guix.texi:4266
  7972. #, no-wrap
  7973. msgid "pull"
  7974. msgstr ""
  7975. #. type: cindex
  7976. #: guix-git/doc/guix.texi:4267
  7977. #, no-wrap
  7978. msgid "security, @command{guix pull}"
  7979. msgstr ""
  7980. #. type: cindex
  7981. #: guix-git/doc/guix.texi:4268
  7982. #, no-wrap
  7983. msgid "authenticity, of code obtained with @command{guix pull}"
  7984. msgstr ""
  7985. #. type: Plain text
  7986. #: guix-git/doc/guix.texi:4278
  7987. msgid "Packages are installed or upgraded to the latest version available in the distribution currently available on your local machine. To update that distribution, along with the Guix tools, you must run @command{guix pull}: the command downloads the latest Guix source code and package descriptions, and deploys it. Source code is downloaded from a @uref{https://git-scm.com, Git} repository, by default the official GNU@tie{}Guix repository, though this can be customized. @command{guix pull} ensures that the code it downloads is @emph{authentic} by verifying that commits are signed by Guix developers."
  7988. msgstr ""
  7989. #. type: Plain text
  7990. #: guix-git/doc/guix.texi:4281
  7991. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  7992. msgstr ""
  7993. #. type: enumerate
  7994. #: guix-git/doc/guix.texi:4285
  7995. msgid "the @option{--channels} option;"
  7996. msgstr ""
  7997. #. type: enumerate
  7998. #: guix-git/doc/guix.texi:4287
  7999. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8000. msgstr ""
  8001. #. type: enumerate
  8002. #: guix-git/doc/guix.texi:4289
  8003. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8004. msgstr ""
  8005. #. type: enumerate
  8006. #: guix-git/doc/guix.texi:4292
  8007. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8008. msgstr ""
  8009. #. type: Plain text
  8010. #: guix-git/doc/guix.texi:4299
  8011. msgid "On completion, @command{guix package} will use packages and package versions from this just-retrieved copy of Guix. Not only that, but all the Guix commands and Scheme modules will also be taken from that latest version. New @command{guix} sub-commands added by the update also become available."
  8012. msgstr ""
  8013. #. type: Plain text
  8014. #: guix-git/doc/guix.texi:4305
  8015. msgid "Any user can update their Guix copy using @command{guix pull}, and the effect is limited to the user who ran @command{guix pull}. For instance, when user @code{root} runs @command{guix pull}, this has no effect on the version of Guix that user @code{alice} sees, and vice versa."
  8016. msgstr ""
  8017. #. type: Plain text
  8018. #: guix-git/doc/guix.texi:4311
  8019. msgid "The result of running @command{guix pull} is a @dfn{profile} available under @file{~/.config/guix/current} containing the latest Guix. Thus, make sure to add it to the beginning of your search path so that you use the latest version, and similarly for the Info manual (@pxref{Documentation}):"
  8020. msgstr ""
  8021. #. type: example
  8022. #: guix-git/doc/guix.texi:4315
  8023. #, no-wrap
  8024. msgid ""
  8025. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8026. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8027. msgstr ""
  8028. #. type: Plain text
  8029. #: guix-git/doc/guix.texi:4319
  8030. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8031. msgstr ""
  8032. #. type: example
  8033. #: guix-git/doc/guix.texi:4327
  8034. #, no-wrap
  8035. msgid ""
  8036. "$ guix pull -l\n"
  8037. "Generation 1\tJun 10 2018 00:18:18\n"
  8038. " guix 65956ad\n"
  8039. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8040. " branch: origin/master\n"
  8041. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8042. "\n"
  8043. msgstr ""
  8044. #. type: example
  8045. #: guix-git/doc/guix.texi:4337
  8046. #, no-wrap
  8047. msgid ""
  8048. "Generation 2\tJun 11 2018 11:02:49\n"
  8049. " guix e0cc7f6\n"
  8050. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8051. " branch: origin/master\n"
  8052. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8053. " 2 new packages: keepalived, libnfnetlink\n"
  8054. " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n"
  8055. " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n"
  8056. " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n"
  8057. "\n"
  8058. msgstr ""
  8059. #. type: example
  8060. #: guix-git/doc/guix.texi:4345
  8061. #, no-wrap
  8062. msgid ""
  8063. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8064. " guix 844cc1c\n"
  8065. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8066. " branch: origin/master\n"
  8067. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8068. " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n"
  8069. " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n"
  8070. msgstr ""
  8071. #. type: Plain text
  8072. #: guix-git/doc/guix.texi:4349
  8073. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8074. msgstr ""
  8075. #. type: Plain text
  8076. #: guix-git/doc/guix.texi:4354
  8077. msgid "This @code{~/.config/guix/current} profile works exactly like the profiles created by @command{guix package} (@pxref{Invoking guix package}). That is, you can list generations, roll back to the previous generation---i.e., the previous Guix---and so on:"
  8078. msgstr ""
  8079. #. type: example
  8080. #: guix-git/doc/guix.texi:4360
  8081. #, no-wrap
  8082. msgid ""
  8083. "$ guix pull --roll-back\n"
  8084. "switched from generation 3 to 2\n"
  8085. "$ guix pull --delete-generations=1\n"
  8086. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8087. msgstr ""
  8088. #. type: Plain text
  8089. #: guix-git/doc/guix.texi:4364
  8090. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8091. msgstr ""
  8092. #. type: example
  8093. #: guix-git/doc/guix.texi:4369
  8094. #, no-wrap
  8095. msgid ""
  8096. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8097. "switched from generation 3 to 2\n"
  8098. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8099. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8100. msgstr ""
  8101. #. type: Plain text
  8102. #: guix-git/doc/guix.texi:4373
  8103. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8104. msgstr ""
  8105. #. type: item
  8106. #: guix-git/doc/guix.texi:4375 guix-git/doc/guix.texi:4533
  8107. #, no-wrap
  8108. msgid "--url=@var{url}"
  8109. msgstr ""
  8110. #. type: itemx
  8111. #: guix-git/doc/guix.texi:4376 guix-git/doc/guix.texi:4534
  8112. #, no-wrap
  8113. msgid "--commit=@var{commit}"
  8114. msgstr ""
  8115. #. type: itemx
  8116. #: guix-git/doc/guix.texi:4377 guix-git/doc/guix.texi:4535
  8117. #, no-wrap
  8118. msgid "--branch=@var{branch}"
  8119. msgstr ""
  8120. #. type: table
  8121. #: guix-git/doc/guix.texi:4381
  8122. msgid "Download code for the @code{guix} channel from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal string), or @var{branch}."
  8123. msgstr ""
  8124. #. type: cindex
  8125. #: guix-git/doc/guix.texi:4382 guix-git/doc/guix.texi:4979
  8126. #, no-wrap
  8127. msgid "@file{channels.scm}, configuration file"
  8128. msgstr ""
  8129. #. type: cindex
  8130. #: guix-git/doc/guix.texi:4383 guix-git/doc/guix.texi:4980
  8131. #, no-wrap
  8132. msgid "configuration file for channels"
  8133. msgstr ""
  8134. #. type: table
  8135. #: guix-git/doc/guix.texi:4387
  8136. msgid "These options are provided for convenience, but you can also specify your configuration in the @file{~/.config/guix/channels.scm} file or using the @option{--channels} option (see below)."
  8137. msgstr ""
  8138. #. type: item
  8139. #: guix-git/doc/guix.texi:4388 guix-git/doc/guix.texi:4540
  8140. #, no-wrap
  8141. msgid "--channels=@var{file}"
  8142. msgstr ""
  8143. #. type: itemx
  8144. #: guix-git/doc/guix.texi:4389 guix-git/doc/guix.texi:4541
  8145. #, no-wrap
  8146. msgid "-C @var{file}"
  8147. msgstr ""
  8148. #. type: table
  8149. #: guix-git/doc/guix.texi:4395
  8150. msgid "Read the list of channels from @var{file} instead of @file{~/.config/guix/channels.scm} or @file{/etc/guix/channels.scm}. @var{file} must contain Scheme code that evaluates to a list of channel objects. @xref{Channels}, for more information."
  8151. msgstr ""
  8152. #. type: cindex
  8153. #: guix-git/doc/guix.texi:4396
  8154. #, no-wrap
  8155. msgid "channel news"
  8156. msgstr ""
  8157. #. type: item
  8158. #: guix-git/doc/guix.texi:4397
  8159. #, no-wrap
  8160. msgid "--news"
  8161. msgstr ""
  8162. #. type: itemx
  8163. #: guix-git/doc/guix.texi:4398 guix-git/doc/guix.texi:5806
  8164. #: guix-git/doc/guix.texi:33161
  8165. #, no-wrap
  8166. msgid "-N"
  8167. msgstr ""
  8168. #. type: table
  8169. #: guix-git/doc/guix.texi:4402
  8170. msgid "Display the list of packages added or upgraded since the previous generation, as well as, occasionally, news written by channel authors for their users (@pxref{Channels, Writing Channel News})."
  8171. msgstr ""
  8172. #. type: table
  8173. #: guix-git/doc/guix.texi:4406
  8174. msgid "The package information is the same as displayed upon @command{guix pull} completion, but without ellipses; it is also similar to the output of @command{guix pull -l} for the last generation (see below)."
  8175. msgstr ""
  8176. #. type: table
  8177. #: guix-git/doc/guix.texi:4413
  8178. msgid "List all the generations of @file{~/.config/guix/current} or, if @var{pattern} is provided, the subset of generations that match @var{pattern}. The syntax of @var{pattern} is the same as with @code{guix package --list-generations} (@pxref{Invoking guix package})."
  8179. msgstr ""
  8180. #. type: table
  8181. #: guix-git/doc/guix.texi:4420
  8182. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  8183. msgstr ""
  8184. #. type: table
  8185. #: guix-git/doc/guix.texi:4444
  8186. msgid "If the current generation matches, it is @emph{not} deleted."
  8187. msgstr ""
  8188. #. type: table
  8189. #: guix-git/doc/guix.texi:4450
  8190. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  8191. msgstr ""
  8192. #. type: table
  8193. #: guix-git/doc/guix.texi:4454
  8194. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  8195. msgstr ""
  8196. #. type: item
  8197. #: guix-git/doc/guix.texi:4455 guix-git/doc/guix.texi:10243
  8198. #, no-wrap
  8199. msgid "--dry-run"
  8200. msgstr ""
  8201. #. type: itemx
  8202. #: guix-git/doc/guix.texi:4456 guix-git/doc/guix.texi:10244
  8203. #: guix-git/doc/guix.texi:12094
  8204. #, no-wrap
  8205. msgid "-n"
  8206. msgstr ""
  8207. #. type: table
  8208. #: guix-git/doc/guix.texi:4459
  8209. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  8210. msgstr ""
  8211. #. type: item
  8212. #: guix-git/doc/guix.texi:4460 guix-git/doc/guix.texi:33180
  8213. #, no-wrap
  8214. msgid "--allow-downgrades"
  8215. msgstr ""
  8216. #. type: table
  8217. #: guix-git/doc/guix.texi:4463
  8218. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  8219. msgstr ""
  8220. #. type: cindex
  8221. #: guix-git/doc/guix.texi:4464
  8222. #, no-wrap
  8223. msgid "downgrade attacks, protection against"
  8224. msgstr ""
  8225. #. type: table
  8226. #: guix-git/doc/guix.texi:4469
  8227. msgid "By default, @command{guix pull} protects against so-called ``downgrade attacks'' whereby the Git repository of a channel would be reset to an earlier or unrelated revision of itself, potentially leading you to install older, known-vulnerable versions of software packages."
  8228. msgstr ""
  8229. #. type: quotation
  8230. #: guix-git/doc/guix.texi:4473 guix-git/doc/guix.texi:33194
  8231. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  8232. msgstr ""
  8233. #. type: item
  8234. #: guix-git/doc/guix.texi:4475
  8235. #, no-wrap
  8236. msgid "--disable-authentication"
  8237. msgstr ""
  8238. #. type: table
  8239. #: guix-git/doc/guix.texi:4477
  8240. msgid "Allow pulling channel code without authenticating it."
  8241. msgstr ""
  8242. #. type: cindex
  8243. #: guix-git/doc/guix.texi:4478 guix-git/doc/guix.texi:5125
  8244. #, no-wrap
  8245. msgid "authentication, of channel code"
  8246. msgstr ""
  8247. #. type: table
  8248. #: guix-git/doc/guix.texi:4483
  8249. msgid "By default, @command{guix pull} authenticates code downloaded from channels by verifying that its commits are signed by authorized developers, and raises an error if this is not the case. This option instructs it to not perform any such verification."
  8250. msgstr ""
  8251. #. type: quotation
  8252. #: guix-git/doc/guix.texi:4487
  8253. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  8254. msgstr ""
  8255. #. type: itemx
  8256. #: guix-git/doc/guix.texi:4490 guix-git/doc/guix.texi:5789
  8257. #: guix-git/doc/guix.texi:6160 guix-git/doc/guix.texi:10794
  8258. #: guix-git/doc/guix.texi:12239 guix-git/doc/guix.texi:12490
  8259. #: guix-git/doc/guix.texi:13157 guix-git/doc/guix.texi:33109
  8260. #, no-wrap
  8261. msgid "-s @var{system}"
  8262. msgstr ""
  8263. #. type: table
  8264. #: guix-git/doc/guix.texi:4493 guix-git/doc/guix.texi:6163
  8265. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  8266. msgstr ""
  8267. #. type: table
  8268. #: guix-git/doc/guix.texi:4497
  8269. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  8270. msgstr ""
  8271. #. type: Plain text
  8272. #: guix-git/doc/guix.texi:4503
  8273. msgid "The @dfn{channel} mechanism allows you to instruct @command{guix pull} which repository and branch to pull from, as well as @emph{additional} repositories containing package modules that should be deployed. @xref{Channels}, for more information."
  8274. msgstr ""
  8275. #. type: Plain text
  8276. #: guix-git/doc/guix.texi:4506
  8277. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  8278. msgstr ""
  8279. #. type: section
  8280. #: guix-git/doc/guix.texi:4508
  8281. #, no-wrap
  8282. msgid "Invoking @command{guix time-machine}"
  8283. msgstr ""
  8284. #. type: command{#1}
  8285. #: guix-git/doc/guix.texi:4510
  8286. #, no-wrap
  8287. msgid "guix time-machine"
  8288. msgstr ""
  8289. #. type: cindex
  8290. #: guix-git/doc/guix.texi:4511 guix-git/doc/guix.texi:5083
  8291. #, no-wrap
  8292. msgid "pinning, channels"
  8293. msgstr ""
  8294. #. type: cindex
  8295. #: guix-git/doc/guix.texi:4512 guix-git/doc/guix.texi:4694
  8296. #: guix-git/doc/guix.texi:5084
  8297. #, no-wrap
  8298. msgid "replicating Guix"
  8299. msgstr ""
  8300. #. type: cindex
  8301. #: guix-git/doc/guix.texi:4513 guix-git/doc/guix.texi:5085
  8302. #, no-wrap
  8303. msgid "reproducibility, of Guix"
  8304. msgstr ""
  8305. #. type: Plain text
  8306. #: guix-git/doc/guix.texi:4521
  8307. msgid "The @command{guix time-machine} command provides access to other revisions of Guix, for example to install older versions of packages, or to reproduce a computation in an identical environment. The revision of Guix to be used is defined by a commit or by a channel description file created by @command{guix describe} (@pxref{Invoking guix describe})."
  8308. msgstr ""
  8309. #. type: Plain text
  8310. #: guix-git/doc/guix.texi:4523 guix-git/doc/guix.texi:5538
  8311. #: guix-git/doc/guix.texi:6283 guix-git/doc/guix.texi:10040
  8312. #: guix-git/doc/guix.texi:10163 guix-git/doc/guix.texi:11085
  8313. #: guix-git/doc/guix.texi:11162 guix-git/doc/guix.texi:12069
  8314. #: guix-git/doc/guix.texi:12548 guix-git/doc/guix.texi:12911
  8315. #: guix-git/doc/guix.texi:13000 guix-git/doc/guix.texi:13039
  8316. #: guix-git/doc/guix.texi:13136
  8317. msgid "The general syntax is:"
  8318. msgstr ""
  8319. #. type: example
  8320. #: guix-git/doc/guix.texi:4526
  8321. #, no-wrap
  8322. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  8323. msgstr ""
  8324. #. type: Plain text
  8325. #: guix-git/doc/guix.texi:4531
  8326. msgid "where @var{command} and @var{arg}@dots{} are passed unmodified to the @command{guix} command of the specified revision. The @var{options} that define this revision are the same as for @command{guix pull} (@pxref{Invoking guix pull}):"
  8327. msgstr ""
  8328. #. type: table
  8329. #: guix-git/doc/guix.texi:4539
  8330. msgid "Use the @code{guix} channel from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal string), or @var{branch}."
  8331. msgstr ""
  8332. #. type: table
  8333. #: guix-git/doc/guix.texi:4545
  8334. msgid "Read the list of channels from @var{file}. @var{file} must contain Scheme code that evaluates to a list of channel objects. @xref{Channels} for more information."
  8335. msgstr ""
  8336. #. type: Plain text
  8337. #: guix-git/doc/guix.texi:4549
  8338. msgid "As for @command{guix pull}, the absence of any options means that the latest commit on the master branch will be used. The command"
  8339. msgstr ""
  8340. #. type: example
  8341. #: guix-git/doc/guix.texi:4552
  8342. #, no-wrap
  8343. msgid "guix time-machine -- build hello\n"
  8344. msgstr ""
  8345. #. type: Plain text
  8346. #: guix-git/doc/guix.texi:4557
  8347. msgid "will thus build the package @code{hello} as defined in the master branch, which is in general a newer revision of Guix than you have installed. Time travel works in both directions!"
  8348. msgstr ""
  8349. #. type: Plain text
  8350. #: guix-git/doc/guix.texi:4561
  8351. msgid "Note that @command{guix time-machine} can trigger builds of channels and their dependencies, and these are controlled by the standard build options (@pxref{Common Build Options})."
  8352. msgstr ""
  8353. #. type: quotation
  8354. #: guix-git/doc/guix.texi:4569
  8355. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  8356. msgstr ""
  8357. #. type: cindex
  8358. #: guix-git/doc/guix.texi:4571 guix-git/doc/guix.texi:10077
  8359. #, no-wrap
  8360. msgid "inferiors"
  8361. msgstr ""
  8362. #. type: cindex
  8363. #: guix-git/doc/guix.texi:4572
  8364. #, no-wrap
  8365. msgid "composition of Guix revisions"
  8366. msgstr ""
  8367. #. type: Plain text
  8368. #: guix-git/doc/guix.texi:4577
  8369. msgid "Sometimes you might need to mix packages from the revision of Guix you're currently running with packages available in a different revision of Guix. Guix @dfn{inferiors} allow you to achieve that by composing different Guix revisions in arbitrary ways."
  8370. msgstr ""
  8371. #. type: cindex
  8372. #: guix-git/doc/guix.texi:4578 guix-git/doc/guix.texi:4643
  8373. #, no-wrap
  8374. msgid "inferior packages"
  8375. msgstr ""
  8376. #. type: Plain text
  8377. #: guix-git/doc/guix.texi:4584
  8378. msgid "Technically, an ``inferior'' is essentially a separate Guix process connected to your main Guix process through a REPL (@pxref{Invoking guix repl}). The @code{(guix inferior)} module allows you to create inferiors and to communicate with them. It also provides a high-level interface to browse and manipulate the packages that an inferior provides---@dfn{inferior packages}."
  8379. msgstr ""
  8380. #. type: Plain text
  8381. #: guix-git/doc/guix.texi:4594
  8382. msgid "When combined with channels (@pxref{Channels}), inferiors provide a simple way to interact with a separate revision of Guix. For example, let's assume you want to install in your profile the current @code{guile} package, along with the @code{guile-json} as it existed in an older revision of Guix---perhaps because the newer @code{guile-json} has an incompatible API and you want to run your code against the old API@. To do that, you could write a manifest for use by @code{guix package --manifest} (@pxref{Invoking guix package}); in that manifest, you would create an inferior for that old Guix revision you care about, and you would look up the @code{guile-json} package in the inferior:"
  8383. msgstr ""
  8384. #. type: lisp
  8385. #: guix-git/doc/guix.texi:4598
  8386. #, no-wrap
  8387. msgid ""
  8388. "(use-modules (guix inferior) (guix channels)\n"
  8389. " (srfi srfi-1)) ;for 'first'\n"
  8390. "\n"
  8391. msgstr ""
  8392. #. type: lisp
  8393. #: guix-git/doc/guix.texi:4607
  8394. #, no-wrap
  8395. msgid ""
  8396. "(define channels\n"
  8397. " ;; This is the old revision from which we want to\n"
  8398. " ;; extract guile-json.\n"
  8399. " (list (channel\n"
  8400. " (name 'guix)\n"
  8401. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  8402. " (commit\n"
  8403. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  8404. "\n"
  8405. msgstr ""
  8406. #. type: lisp
  8407. #: guix-git/doc/guix.texi:4611
  8408. #, no-wrap
  8409. msgid ""
  8410. "(define inferior\n"
  8411. " ;; An inferior representing the above revision.\n"
  8412. " (inferior-for-channels channels))\n"
  8413. "\n"
  8414. msgstr ""
  8415. #. type: lisp
  8416. #: guix-git/doc/guix.texi:4617
  8417. #, no-wrap
  8418. msgid ""
  8419. ";; Now create a manifest with the current \"guile\" package\n"
  8420. ";; and the old \"guile-json\" package.\n"
  8421. "(packages->manifest\n"
  8422. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  8423. " (specification->package \"guile\")))\n"
  8424. msgstr ""
  8425. #. type: Plain text
  8426. #: guix-git/doc/guix.texi:4622
  8427. msgid "On its first run, @command{guix package --manifest} might have to build the channel you specified before it can create the inferior; subsequent runs will be much faster because the Guix revision will be cached."
  8428. msgstr ""
  8429. #. type: Plain text
  8430. #: guix-git/doc/guix.texi:4625
  8431. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  8432. msgstr ""
  8433. #. type: deffn
  8434. #: guix-git/doc/guix.texi:4626
  8435. #, no-wrap
  8436. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  8437. msgstr ""
  8438. #. type: deffn
  8439. #: guix-git/doc/guix.texi:4631
  8440. msgid "[#:cache-directory] [#:ttl] Return an inferior for @var{channels}, a list of channels. Use the cache at @var{cache-directory}, where entries can be reclaimed after @var{ttl} seconds. This procedure opens a new connection to the build daemon."
  8441. msgstr ""
  8442. #. type: deffn
  8443. #: guix-git/doc/guix.texi:4634
  8444. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  8445. msgstr ""
  8446. #. type: deffn
  8447. #: guix-git/doc/guix.texi:4636
  8448. #, no-wrap
  8449. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  8450. msgstr ""
  8451. #. type: deffn
  8452. #: guix-git/doc/guix.texi:4641
  8453. msgid "[#:command \"bin/guix\"] Open the inferior Guix in @var{directory}, running @code{@var{directory}/@var{command} repl} or equivalent. Return @code{#f} if the inferior could not be launched."
  8454. msgstr ""
  8455. #. type: Plain text
  8456. #: guix-git/doc/guix.texi:4646
  8457. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  8458. msgstr ""
  8459. #. type: deffn
  8460. #: guix-git/doc/guix.texi:4647
  8461. #, no-wrap
  8462. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  8463. msgstr ""
  8464. #. type: deffn
  8465. #: guix-git/doc/guix.texi:4649
  8466. msgid "Return the list of packages known to @var{inferior}."
  8467. msgstr ""
  8468. #. type: deffn
  8469. #: guix-git/doc/guix.texi:4651
  8470. #, no-wrap
  8471. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  8472. msgstr ""
  8473. #. type: deffn
  8474. #: guix-git/doc/guix.texi:4656
  8475. msgid "[@var{version}] Return the sorted list of inferior packages matching @var{name} in @var{inferior}, with highest version numbers first. If @var{version} is true, return only packages with a version number prefixed by @var{version}."
  8476. msgstr ""
  8477. #. type: deffn
  8478. #: guix-git/doc/guix.texi:4658
  8479. #, no-wrap
  8480. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  8481. msgstr ""
  8482. #. type: deffn
  8483. #: guix-git/doc/guix.texi:4660
  8484. msgid "Return true if @var{obj} is an inferior package."
  8485. msgstr ""
  8486. #. type: deffn
  8487. #: guix-git/doc/guix.texi:4662
  8488. #, no-wrap
  8489. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  8490. msgstr ""
  8491. #. type: deffnx
  8492. #: guix-git/doc/guix.texi:4663
  8493. #, no-wrap
  8494. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  8495. msgstr ""
  8496. #. type: deffnx
  8497. #: guix-git/doc/guix.texi:4664
  8498. #, no-wrap
  8499. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  8500. msgstr ""
  8501. #. type: deffnx
  8502. #: guix-git/doc/guix.texi:4665
  8503. #, no-wrap
  8504. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  8505. msgstr ""
  8506. #. type: deffnx
  8507. #: guix-git/doc/guix.texi:4666
  8508. #, no-wrap
  8509. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  8510. msgstr ""
  8511. #. type: deffnx
  8512. #: guix-git/doc/guix.texi:4667
  8513. #, no-wrap
  8514. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  8515. msgstr ""
  8516. #. type: deffnx
  8517. #: guix-git/doc/guix.texi:4668
  8518. #, no-wrap
  8519. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  8520. msgstr ""
  8521. #. type: deffnx
  8522. #: guix-git/doc/guix.texi:4669
  8523. #, no-wrap
  8524. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  8525. msgstr ""
  8526. #. type: deffnx
  8527. #: guix-git/doc/guix.texi:4670
  8528. #, no-wrap
  8529. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  8530. msgstr ""
  8531. #. type: deffnx
  8532. #: guix-git/doc/guix.texi:4671
  8533. #, no-wrap
  8534. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  8535. msgstr ""
  8536. #. type: deffnx
  8537. #: guix-git/doc/guix.texi:4672
  8538. #, no-wrap
  8539. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  8540. msgstr ""
  8541. #. type: deffnx
  8542. #: guix-git/doc/guix.texi:4673
  8543. #, no-wrap
  8544. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  8545. msgstr ""
  8546. #. type: deffnx
  8547. #: guix-git/doc/guix.texi:4674
  8548. #, no-wrap
  8549. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  8550. msgstr ""
  8551. #. type: deffn
  8552. #: guix-git/doc/guix.texi:4679
  8553. msgid "These procedures are the counterpart of package record accessors (@pxref{package Reference}). Most of them work by querying the inferior @var{package} comes from, so the inferior must still be live when you call these procedures."
  8554. msgstr ""
  8555. #. type: Plain text
  8556. #: guix-git/doc/guix.texi:4689
  8557. msgid "Inferior packages can be used transparently like any other package or file-like object in G-expressions (@pxref{G-Expressions}). They are also transparently handled by the @code{packages->manifest} procedure, which is commonly used in manifests (@pxref{Invoking guix package, the @option{--manifest} option of @command{guix package}}). Thus you can insert an inferior package pretty much anywhere you would insert a regular package: in manifests, in the @code{packages} field of your @code{operating-system} declaration, and so on."
  8558. msgstr ""
  8559. #. type: section
  8560. #: guix-git/doc/guix.texi:4691
  8561. #, no-wrap
  8562. msgid "Invoking @command{guix describe}"
  8563. msgstr ""
  8564. #. type: Plain text
  8565. #: guix-git/doc/guix.texi:4702
  8566. msgid "Often you may want to answer questions like: ``Which revision of Guix am I using?'' or ``Which channels am I using?'' This is useful information in many situations: if you want to @emph{replicate} an environment on a different machine or user account, if you want to report a bug or to determine what change in the channels you are using caused it, or if you want to record your system state for reproducibility purposes. The @command{guix describe} command answers these questions."
  8567. msgstr ""
  8568. #. type: Plain text
  8569. #: guix-git/doc/guix.texi:4706
  8570. msgid "When run from a @command{guix pull}ed @command{guix}, @command{guix describe} displays the channel(s) that it was built from, including their repository URL and commit IDs (@pxref{Channels}):"
  8571. msgstr ""
  8572. #. type: example
  8573. #: guix-git/doc/guix.texi:4714
  8574. #, no-wrap
  8575. msgid ""
  8576. "$ guix describe\n"
  8577. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  8578. " guix e0fa68c\n"
  8579. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8580. " branch: master\n"
  8581. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  8582. msgstr ""
  8583. #. type: Plain text
  8584. #: guix-git/doc/guix.texi:4723
  8585. msgid "If you're familiar with the Git version control system, this is similar in spirit to @command{git describe}; the output is also similar to that of @command{guix pull --list-generations}, but limited to the current generation (@pxref{Invoking guix pull, the @option{--list-generations} option}). Because the Git commit ID shown above unambiguously refers to a snapshot of Guix, this information is all it takes to describe the revision of Guix you're using, and also to replicate it."
  8586. msgstr ""
  8587. #. type: Plain text
  8588. #: guix-git/doc/guix.texi:4726
  8589. msgid "To make it easier to replicate Guix, @command{guix describe} can also be asked to return a list of channels instead of the human-readable description above:"
  8590. msgstr ""
  8591. #. type: example
  8592. #: guix-git/doc/guix.texi:4739
  8593. #, no-wrap
  8594. msgid ""
  8595. "$ guix describe -f channels\n"
  8596. "(list (channel\n"
  8597. " (name 'guix)\n"
  8598. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  8599. " (commit\n"
  8600. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  8601. " (introduction\n"
  8602. " (make-channel-introduction\n"
  8603. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  8604. " (openpgp-fingerprint\n"
  8605. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  8606. msgstr ""
  8607. #. type: Plain text
  8608. #: guix-git/doc/guix.texi:4748
  8609. msgid "You can save this to a file and feed it to @command{guix pull -C} on some other machine or at a later point in time, which will instantiate @emph{this exact Guix revision} (@pxref{Invoking guix pull, the @option{-C} option}). From there on, since you're able to deploy the same revision of Guix, you can just as well @emph{replicate a complete software environment}. We humbly think that this is @emph{awesome}, and we hope you'll like it too!"
  8610. msgstr ""
  8611. #. type: Plain text
  8612. #: guix-git/doc/guix.texi:4751
  8613. msgid "The details of the options supported by @command{guix describe} are as follows:"
  8614. msgstr ""
  8615. #. type: item
  8616. #: guix-git/doc/guix.texi:4753 guix-git/doc/guix.texi:5990
  8617. #: guix-git/doc/guix.texi:13269
  8618. #, no-wrap
  8619. msgid "--format=@var{format}"
  8620. msgstr ""
  8621. #. type: itemx
  8622. #: guix-git/doc/guix.texi:4754 guix-git/doc/guix.texi:5991
  8623. #: guix-git/doc/guix.texi:13270
  8624. #, no-wrap
  8625. msgid "-f @var{format}"
  8626. msgstr ""
  8627. #. type: table
  8628. #: guix-git/doc/guix.texi:4756 guix-git/doc/guix.texi:13272
  8629. msgid "Produce output in the specified @var{format}, one of:"
  8630. msgstr ""
  8631. #. type: item
  8632. #: guix-git/doc/guix.texi:4758
  8633. #, no-wrap
  8634. msgid "human"
  8635. msgstr ""
  8636. #. type: table
  8637. #: guix-git/doc/guix.texi:4760
  8638. msgid "produce human-readable output;"
  8639. msgstr ""
  8640. #. type: cindex
  8641. #: guix-git/doc/guix.texi:4760 guix-git/doc/guix.texi:4978
  8642. #, no-wrap
  8643. msgid "channels"
  8644. msgstr ""
  8645. #. type: table
  8646. #: guix-git/doc/guix.texi:4764
  8647. msgid "produce a list of channel specifications that can be passed to @command{guix pull -C} or installed as @file{~/.config/guix/channels.scm} (@pxref{Invoking guix pull});"
  8648. msgstr ""
  8649. #. type: item
  8650. #: guix-git/doc/guix.texi:4764
  8651. #, no-wrap
  8652. msgid "channels-sans-intro"
  8653. msgstr ""
  8654. #. type: table
  8655. #: guix-git/doc/guix.texi:4770
  8656. msgid "like @code{channels}, but omit the @code{introduction} field; use it to produce a channel specification suitable for Guix version 1.1.0 or earlier---the @code{introduction} field has to do with channel authentication (@pxref{Channels, Channel Authentication}) and is not supported by these older versions;"
  8657. msgstr ""
  8658. #. type: item
  8659. #: guix-git/doc/guix.texi:4770 guix-git/doc/guix.texi:11348
  8660. #, no-wrap
  8661. msgid "json"
  8662. msgstr ""
  8663. #. type: cindex
  8664. #: guix-git/doc/guix.texi:4771
  8665. #, no-wrap
  8666. msgid "JSON"
  8667. msgstr ""
  8668. #. type: table
  8669. #: guix-git/doc/guix.texi:4773
  8670. msgid "produce a list of channel specifications in JSON format;"
  8671. msgstr ""
  8672. #. type: item
  8673. #: guix-git/doc/guix.texi:4773 guix-git/doc/guix.texi:13274
  8674. #, no-wrap
  8675. msgid "recutils"
  8676. msgstr ""
  8677. #. type: table
  8678. #: guix-git/doc/guix.texi:4775
  8679. msgid "produce a list of channel specifications in Recutils format."
  8680. msgstr ""
  8681. #. type: item
  8682. #: guix-git/doc/guix.texi:4777
  8683. #, no-wrap
  8684. msgid "--list-formats"
  8685. msgstr ""
  8686. #. type: table
  8687. #: guix-git/doc/guix.texi:4779
  8688. msgid "Display available formats for @option{--format} option."
  8689. msgstr ""
  8690. #. type: table
  8691. #: guix-git/doc/guix.texi:4783
  8692. msgid "Display information about @var{profile}."
  8693. msgstr ""
  8694. #. type: section
  8695. #: guix-git/doc/guix.texi:4786
  8696. #, no-wrap
  8697. msgid "Invoking @command{guix archive}"
  8698. msgstr ""
  8699. #. type: command{#1}
  8700. #: guix-git/doc/guix.texi:4788
  8701. #, no-wrap
  8702. msgid "guix archive"
  8703. msgstr ""
  8704. #. type: cindex
  8705. #: guix-git/doc/guix.texi:4789
  8706. #, no-wrap
  8707. msgid "archive"
  8708. msgstr "archív"
  8709. #. type: Plain text
  8710. #: guix-git/doc/guix.texi:4795
  8711. msgid "The @command{guix archive} command allows users to @dfn{export} files from the store into a single archive, and to later @dfn{import} them on a machine that runs Guix. In particular, it allows store files to be transferred from one machine to the store on another machine."
  8712. msgstr ""
  8713. #. type: quotation
  8714. #: guix-git/doc/guix.texi:4799
  8715. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  8716. msgstr ""
  8717. #. type: cindex
  8718. #: guix-git/doc/guix.texi:4801
  8719. #, no-wrap
  8720. msgid "exporting store items"
  8721. msgstr ""
  8722. #. type: Plain text
  8723. #: guix-git/doc/guix.texi:4803
  8724. msgid "To export store files as an archive to standard output, run:"
  8725. msgstr ""
  8726. #. type: example
  8727. #: guix-git/doc/guix.texi:4806
  8728. #, no-wrap
  8729. msgid "guix archive --export @var{options} @var{specifications}...\n"
  8730. msgstr ""
  8731. #. type: Plain text
  8732. #: guix-git/doc/guix.texi:4813
  8733. msgid "@var{specifications} may be either store file names or package specifications, as for @command{guix package} (@pxref{Invoking guix package}). For instance, the following command creates an archive containing the @code{gui} output of the @code{git} package and the main output of @code{emacs}:"
  8734. msgstr ""
  8735. #. type: example
  8736. #: guix-git/doc/guix.texi:4816
  8737. #, no-wrap
  8738. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  8739. msgstr ""
  8740. #. type: Plain text
  8741. #: guix-git/doc/guix.texi:4821
  8742. msgid "If the specified packages are not built yet, @command{guix archive} automatically builds them. The build process may be controlled with the common build options (@pxref{Common Build Options})."
  8743. msgstr ""
  8744. #. type: Plain text
  8745. #: guix-git/doc/guix.texi:4824
  8746. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  8747. msgstr ""
  8748. #. type: example
  8749. #: guix-git/doc/guix.texi:4827
  8750. #, no-wrap
  8751. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  8752. msgstr ""
  8753. #. type: Plain text
  8754. #: guix-git/doc/guix.texi:4832
  8755. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  8756. msgstr ""
  8757. #. type: example
  8758. #: guix-git/doc/guix.texi:4836
  8759. #, no-wrap
  8760. msgid ""
  8761. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  8762. " ssh the-machine guix archive --import\n"
  8763. msgstr ""
  8764. #. type: Plain text
  8765. #: guix-git/doc/guix.texi:4846
  8766. msgid "However, note that, in both examples, all of @code{emacs} and the profile as well as all of their dependencies are transferred (due to @option{-r}), regardless of what is already available in the store on the target machine. The @option{--missing} option can help figure out which items are missing from the target store. The @command{guix copy} command simplifies and optimizes this whole process, so this is probably what you should use in this case (@pxref{Invoking guix copy})."
  8767. msgstr ""
  8768. #. type: cindex
  8769. #: guix-git/doc/guix.texi:4847
  8770. #, no-wrap
  8771. msgid "nar, archive format"
  8772. msgstr ""
  8773. #. type: cindex
  8774. #: guix-git/doc/guix.texi:4848
  8775. #, no-wrap
  8776. msgid "normalized archive (nar)"
  8777. msgstr ""
  8778. #. type: cindex
  8779. #: guix-git/doc/guix.texi:4849
  8780. #, no-wrap
  8781. msgid "nar bundle, archive format"
  8782. msgstr ""
  8783. #. type: Plain text
  8784. #: guix-git/doc/guix.texi:4854
  8785. msgid "Each store item is written in the @dfn{normalized archive} or @dfn{nar} format (described below), and the output of @command{guix archive --export} (and input of @command{guix archive --import}) is a @dfn{nar bundle}."
  8786. msgstr ""
  8787. #. type: Plain text
  8788. #: guix-git/doc/guix.texi:4864
  8789. msgid "The nar format is comparable in spirit to `tar', but with differences that make it more appropriate for our purposes. First, rather than recording all Unix metadata for each file, the nar format only mentions the file type (regular, directory, or symbolic link); Unix permissions and owner/group are dismissed. Second, the order in which directory entries are stored always follows the order of file names according to the C locale collation order. This makes archive production fully deterministic."
  8790. msgstr ""
  8791. #. type: Plain text
  8792. #: guix-git/doc/guix.texi:4868
  8793. msgid "That nar bundle format is essentially the concatenation of zero or more nars along with metadata for each store item it contains: its file name, references, corresponding derivation, and a digital signature."
  8794. msgstr ""
  8795. #. type: Plain text
  8796. #: guix-git/doc/guix.texi:4874
  8797. msgid "When exporting, the daemon digitally signs the contents of the archive, and that digital signature is appended. When importing, the daemon verifies the signature and rejects the import in case of an invalid signature or if the signing key is not authorized."
  8798. msgstr ""
  8799. #. type: Plain text
  8800. #: guix-git/doc/guix.texi:4876
  8801. msgid "The main options are:"
  8802. msgstr ""
  8803. #. type: item
  8804. #: guix-git/doc/guix.texi:4878
  8805. #, no-wrap
  8806. msgid "--export"
  8807. msgstr ""
  8808. #. type: table
  8809. #: guix-git/doc/guix.texi:4881
  8810. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  8811. msgstr ""
  8812. #. type: table
  8813. #: guix-git/doc/guix.texi:4884
  8814. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  8815. msgstr ""
  8816. #. type: itemx
  8817. #: guix-git/doc/guix.texi:4885 guix-git/doc/guix.texi:11118
  8818. #: guix-git/doc/guix.texi:11220 guix-git/doc/guix.texi:11245
  8819. #: guix-git/doc/guix.texi:11423 guix-git/doc/guix.texi:11464
  8820. #: guix-git/doc/guix.texi:11511 guix-git/doc/guix.texi:11536
  8821. #: guix-git/doc/guix.texi:11552 guix-git/doc/guix.texi:11583
  8822. #, no-wrap
  8823. msgid "-r"
  8824. msgstr ""
  8825. #. type: item
  8826. #: guix-git/doc/guix.texi:4886 guix-git/doc/guix.texi:11117
  8827. #: guix-git/doc/guix.texi:11219 guix-git/doc/guix.texi:11244
  8828. #: guix-git/doc/guix.texi:11422 guix-git/doc/guix.texi:11463
  8829. #: guix-git/doc/guix.texi:11510 guix-git/doc/guix.texi:11535
  8830. #: guix-git/doc/guix.texi:11551 guix-git/doc/guix.texi:11582
  8831. #: guix-git/doc/guix.texi:11639
  8832. #, no-wrap
  8833. msgid "--recursive"
  8834. msgstr ""
  8835. #. type: table
  8836. #: guix-git/doc/guix.texi:4891
  8837. msgid "When combined with @option{--export}, this instructs @command{guix archive} to include dependencies of the given items in the archive. Thus, the resulting archive is self-contained: it contains the closure of the exported store items."
  8838. msgstr ""
  8839. #. type: item
  8840. #: guix-git/doc/guix.texi:4892
  8841. #, no-wrap
  8842. msgid "--import"
  8843. msgstr ""
  8844. #. type: table
  8845. #: guix-git/doc/guix.texi:4897
  8846. msgid "Read an archive from the standard input, and import the files listed therein into the store. Abort if the archive has an invalid digital signature, or if it is signed by a public key not among the authorized keys (see @option{--authorize} below)."
  8847. msgstr ""
  8848. #. type: item
  8849. #: guix-git/doc/guix.texi:4898
  8850. #, no-wrap
  8851. msgid "--missing"
  8852. msgstr ""
  8853. #. type: table
  8854. #: guix-git/doc/guix.texi:4902
  8855. msgid "Read a list of store file names from the standard input, one per line, and write on the standard output the subset of these files missing from the store."
  8856. msgstr ""
  8857. #. type: item
  8858. #: guix-git/doc/guix.texi:4903
  8859. #, no-wrap
  8860. msgid "--generate-key[=@var{parameters}]"
  8861. msgstr ""
  8862. #. type: cindex
  8863. #: guix-git/doc/guix.texi:4904
  8864. #, no-wrap
  8865. msgid "signing, archives"
  8866. msgstr ""
  8867. #. type: table
  8868. #: guix-git/doc/guix.texi:4911
  8869. msgid "Generate a new key pair for the daemon. This is a prerequisite before archives can be exported with @option{--export}. This operation is usually instantaneous but it can take time if the system's entropy pool needs to be refilled. On Guix System, @code{guix-service-type} takes care of generating this key pair the first boot."
  8870. msgstr ""
  8871. #. type: table
  8872. #: guix-git/doc/guix.texi:4921
  8873. msgid "The generated key pair is typically stored under @file{/etc/guix}, in @file{signing-key.pub} (public key) and @file{signing-key.sec} (private key, which must be kept secret). When @var{parameters} is omitted, an ECDSA key using the Ed25519 curve is generated, or, for Libgcrypt versions before 1.6.0, it is a 4096-bit RSA key. Alternatively, @var{parameters} can specify @code{genkey} parameters suitable for Libgcrypt (@pxref{General public-key related Functions, @code{gcry_pk_genkey},, gcrypt, The Libgcrypt Reference Manual})."
  8874. msgstr ""
  8875. #. type: item
  8876. #: guix-git/doc/guix.texi:4922
  8877. #, no-wrap
  8878. msgid "--authorize"
  8879. msgstr ""
  8880. #. type: cindex
  8881. #: guix-git/doc/guix.texi:4923
  8882. #, no-wrap
  8883. msgid "authorizing, archives"
  8884. msgstr ""
  8885. #. type: table
  8886. #: guix-git/doc/guix.texi:4927
  8887. msgid "Authorize imports signed by the public key passed on standard input. The public key must be in ``s-expression advanced format''---i.e., the same format as the @file{signing-key.pub} file."
  8888. msgstr ""
  8889. #. type: table
  8890. #: guix-git/doc/guix.texi:4934
  8891. msgid "The list of authorized keys is kept in the human-editable file @file{/etc/guix/acl}. The file contains @url{https://people.csail.mit.edu/rivest/Sexp.txt, ``advanced-format s-expressions''} and is structured as an access-control list in the @url{https://theworld.com/~cme/spki.txt, Simple Public-Key Infrastructure (SPKI)}."
  8892. msgstr ""
  8893. #. type: item
  8894. #: guix-git/doc/guix.texi:4935
  8895. #, no-wrap
  8896. msgid "--extract=@var{directory}"
  8897. msgstr ""
  8898. #. type: itemx
  8899. #: guix-git/doc/guix.texi:4936
  8900. #, no-wrap
  8901. msgid "-x @var{directory}"
  8902. msgstr ""
  8903. #. type: table
  8904. #: guix-git/doc/guix.texi:4940
  8905. msgid "Read a single-item archive as served by substitute servers (@pxref{Substitutes}) and extract it to @var{directory}. This is a low-level operation needed in only very narrow use cases; see below."
  8906. msgstr ""
  8907. #. type: table
  8908. #: guix-git/doc/guix.texi:4943
  8909. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER}} to @file{/tmp/emacs}:"
  8910. msgstr ""
  8911. #. type: example
  8912. #: guix-git/doc/guix.texi:4948
  8913. #, no-wrap
  8914. msgid ""
  8915. "$ wget -O - \\\n"
  8916. " https://@value{SUBSTITUTE-SERVER}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  8917. " | gunzip | guix archive -x /tmp/emacs\n"
  8918. msgstr ""
  8919. #. type: table
  8920. #: guix-git/doc/guix.texi:4955
  8921. msgid "Single-item archives are different from multiple-item archives produced by @command{guix archive --export}; they contain a single store item, and they do @emph{not} embed a signature. Thus this operation does @emph{no} signature verification and its output should be considered unsafe."
  8922. msgstr ""
  8923. #. type: table
  8924. #: guix-git/doc/guix.texi:4959
  8925. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  8926. msgstr ""
  8927. #. type: item
  8928. #: guix-git/doc/guix.texi:4960
  8929. #, no-wrap
  8930. msgid "--list"
  8931. msgstr ""
  8932. #. type: itemx
  8933. #: guix-git/doc/guix.texi:4961 guix-git/doc/guix.texi:11410
  8934. #: guix-git/doc/guix.texi:11457
  8935. #, no-wrap
  8936. msgid "-t"
  8937. msgstr ""
  8938. #. type: table
  8939. #: guix-git/doc/guix.texi:4965
  8940. msgid "Read a single-item archive as served by substitute servers (@pxref{Substitutes}) and print the list of files it contains, as in this example:"
  8941. msgstr ""
  8942. #. type: example
  8943. #: guix-git/doc/guix.texi:4970
  8944. #, no-wrap
  8945. msgid ""
  8946. "$ wget -O - \\\n"
  8947. " https://@value{SUBSTITUTE-SERVER}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  8948. " | lzip -d | guix archive -t\n"
  8949. msgstr ""
  8950. #. type: cindex
  8951. #: guix-git/doc/guix.texi:4981
  8952. #, no-wrap
  8953. msgid "@command{guix pull}, configuration file"
  8954. msgstr ""
  8955. #. type: cindex
  8956. #: guix-git/doc/guix.texi:4982
  8957. #, no-wrap
  8958. msgid "configuration of @command{guix pull}"
  8959. msgstr ""
  8960. #. type: Plain text
  8961. #: guix-git/doc/guix.texi:4993
  8962. msgid "Guix and its package collection are updated by running @command{guix pull} (@pxref{Invoking guix pull}). By default @command{guix pull} downloads and deploys Guix itself from the official GNU@tie{}Guix repository. This can be customized by defining @dfn{channels} in the @file{~/.config/guix/channels.scm} file. A channel specifies a URL and branch of a Git repository to be deployed, and @command{guix pull} can be instructed to pull from one or more channels. In other words, channels can be used to @emph{customize} and to @emph{extend} Guix, as we will see below. Guix is able to take into account security concerns and deal with authenticated updates."
  8963. msgstr ""
  8964. #. type: cindex
  8965. #: guix-git/doc/guix.texi:5011
  8966. #, no-wrap
  8967. msgid "extending the package collection (channels)"
  8968. msgstr ""
  8969. #. type: cindex
  8970. #: guix-git/doc/guix.texi:5012
  8971. #, no-wrap
  8972. msgid "variant packages (channels)"
  8973. msgstr ""
  8974. #. type: Plain text
  8975. #: guix-git/doc/guix.texi:5016
  8976. msgid "You can specify @emph{additional channels} to pull from. To use a channel, write @code{~/.config/guix/channels.scm} to instruct @command{guix pull} to pull from it @emph{in addition} to the default Guix channel(s):"
  8977. msgstr ""
  8978. #. type: vindex
  8979. #: guix-git/doc/guix.texi:5017
  8980. #, no-wrap
  8981. msgid "%default-channels"
  8982. msgstr ""
  8983. #. type: lisp
  8984. #: guix-git/doc/guix.texi:5024
  8985. #, no-wrap
  8986. msgid ""
  8987. ";; Add variant packages to those Guix provides.\n"
  8988. "(cons (channel\n"
  8989. " (name 'variant-packages)\n"
  8990. " (url \"https://example.org/variant-packages.git\"))\n"
  8991. " %default-channels)\n"
  8992. msgstr ""
  8993. #. type: Plain text
  8994. #: guix-git/doc/guix.texi:5034
  8995. msgid "Note that the snippet above is (as always!)@: Scheme code; we use @code{cons} to add a channel the list of channels that the variable @code{%default-channels} is bound to (@pxref{Pairs, @code{cons} and lists,, guile, GNU Guile Reference Manual}). With this file in place, @command{guix pull} builds not only Guix but also the package modules from your own repository. The result in @file{~/.config/guix/current} is the union of Guix with your own package modules:"
  8996. msgstr ""
  8997. #. type: example
  8998. #: guix-git/doc/guix.texi:5049
  8999. #, no-wrap
  9000. msgid ""
  9001. "$ guix pull --list-generations\n"
  9002. "@dots{}\n"
  9003. "Generation 19\tAug 27 2018 16:20:48\n"
  9004. " guix d894ab8\n"
  9005. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9006. " branch: master\n"
  9007. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9008. " variant-packages dd3df5e\n"
  9009. " repository URL: https://example.org/variant-packages.git\n"
  9010. " branch: master\n"
  9011. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9012. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9013. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9014. msgstr ""
  9015. #. type: Plain text
  9016. #: guix-git/doc/guix.texi:5057
  9017. msgid "The output of @command{guix pull} above shows that Generation@tie{}19 includes both Guix and packages from the @code{variant-personal-packages} channel. Among the new and upgraded packages that are listed, some like @code{variant-gimp} and @code{variant-emacs-with-cool-features} might come from @code{variant-packages}, while others come from the Guix default channel."
  9018. msgstr ""
  9019. #. type: Plain text
  9020. #: guix-git/doc/guix.texi:5066
  9021. msgid "The channel called @code{guix} specifies where Guix itself---its command-line tools as well as its package collection---should be downloaded. For instance, suppose you want to update from another copy of the Guix repository at @code{example.org}, and specifically the @code{super-hacks} branch, you can write in @code{~/.config/guix/channels.scm} this specification:"
  9022. msgstr ""
  9023. #. type: lisp
  9024. #: guix-git/doc/guix.texi:5073
  9025. #, no-wrap
  9026. msgid ""
  9027. ";; Tell 'guix pull' to use another repo.\n"
  9028. "(list (channel\n"
  9029. " (name 'guix)\n"
  9030. " (url \"https://example.org/another-guix.git\")\n"
  9031. " (branch \"super-hacks\")))\n"
  9032. msgstr ""
  9033. #. type: Plain text
  9034. #: guix-git/doc/guix.texi:5079
  9035. msgid "From there on, @command{guix pull} will fetch code from the @code{super-hacks} branch of the repository at @code{example.org}. The authentication concern is addressed below ((@pxref{Channel Authentication})."
  9036. msgstr ""
  9037. #. type: Plain text
  9038. #: guix-git/doc/guix.texi:5090
  9039. msgid "The @command{guix pull --list-generations} output above shows precisely which commits were used to build this instance of Guix. We can thus replicate it, say, on another machine, by providing a channel specification in @file{~/.config/guix/channels.scm} that is ``pinned'' to these commits:"
  9040. msgstr ""
  9041. #. type: lisp
  9042. #: guix-git/doc/guix.texi:5101
  9043. #, no-wrap
  9044. msgid ""
  9045. ";; Deploy specific commits of my channels of interest.\n"
  9046. "(list (channel\n"
  9047. " (name 'guix)\n"
  9048. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9049. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9050. " (channel\n"
  9051. " (name 'variant-packages)\n"
  9052. " (url \"https://example.org/variant-packages.git\")\n"
  9053. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9054. msgstr ""
  9055. #. type: Plain text
  9056. #: guix-git/doc/guix.texi:5108
  9057. msgid "The @command{guix describe --format=channels} command can even generate this list of channels directly (@pxref{Invoking guix describe}). The resulting file can be used with the -C options of @command{guix pull} (@pxref{Invoking guix pull}) or @command{guix time-machine} (@pxref{Invoking guix time-machine})."
  9058. msgstr ""
  9059. #. type: Plain text
  9060. #: guix-git/doc/guix.texi:5115
  9061. msgid "At this point the two machines run the @emph{exact same Guix}, with access to the @emph{exact same packages}. The output of @command{guix build gimp} on one machine will be exactly the same, bit for bit, as the output of the same command on the other machine. It also means both machines have access to all the source code of Guix and, transitively, to all the source code of every package it defines."
  9062. msgstr ""
  9063. #. type: Plain text
  9064. #: guix-git/doc/guix.texi:5120
  9065. msgid "This gives you super powers, allowing you to track the provenance of binary artifacts with very fine grain, and to reproduce software environments at will---some sort of ``meta reproducibility'' capabilities, if you will. @xref{Inferiors}, for another way to take advantage of these super powers."
  9066. msgstr ""
  9067. #. type: anchor{#1}
  9068. #: guix-git/doc/guix.texi:5125
  9069. msgid "channel-authentication"
  9070. msgstr ""
  9071. #. type: Plain text
  9072. #: guix-git/doc/guix.texi:5131
  9073. msgid "The @command{guix pull} and @command{guix time-machine} commands @dfn{authenticate} the code retrieved from channels: they make sure each commit that is fetched is signed by an authorized developer. The goal is to protect from unauthorized modifications to the channel that would lead users to run malicious code."
  9074. msgstr ""
  9075. #. type: Plain text
  9076. #: guix-git/doc/guix.texi:5136
  9077. msgid "As a user, you must provide a @dfn{channel introduction} in your channels file so that Guix knows how to authenticate its first commit. A channel specification, including its introduction, looks something along these lines:"
  9078. msgstr ""
  9079. #. type: lisp
  9080. #: guix-git/doc/guix.texi:5146
  9081. #, no-wrap
  9082. msgid ""
  9083. "(channel\n"
  9084. " (name 'some-channel)\n"
  9085. " (url \"https://example.org/some-channel.git\")\n"
  9086. " (introduction\n"
  9087. " (make-channel-introduction\n"
  9088. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9089. " (openpgp-fingerprint\n"
  9090. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9091. msgstr ""
  9092. #. type: Plain text
  9093. #: guix-git/doc/guix.texi:5152
  9094. msgid "The specification above shows the name and URL of the channel. The call to @code{make-channel-introduction} above specifies that authentication of this channel starts at commit @code{6f0d8cc@dots{}}, which is signed by the OpenPGP key with fingerprint @code{CABB A931@dots{}}."
  9095. msgstr ""
  9096. #. type: Plain text
  9097. #: guix-git/doc/guix.texi:5158
  9098. msgid "For the main channel, called @code{guix}, you automatically get that information from your Guix installation. For other channels, include the channel introduction provided by the channel authors in your @file{channels.scm} file. Make sure you retrieve the channel introduction from a trusted source since that is the root of your trust."
  9099. msgstr ""
  9100. #. type: Plain text
  9101. #: guix-git/doc/guix.texi:5160
  9102. msgid "If you're curious about the authentication mechanics, read on!"
  9103. msgstr ""
  9104. #. type: Plain text
  9105. #: guix-git/doc/guix.texi:5171
  9106. msgid "When running @command{guix pull}, Guix will first compile the definitions of every available package. This is an expensive operation for which substitutes (@pxref{Substitutes}) may be available. The following snippet in @file{channels.scm} will ensure that @command{guix pull} uses the latest commit with available substitutes for the package definitions: this is done by querying the continuous integration server at @url{https://ci.guix.gnu.org}."
  9107. msgstr ""
  9108. #. type: lisp
  9109. #: guix-git/doc/guix.texi:5174
  9110. #, no-wrap
  9111. msgid ""
  9112. "(use-modules (guix ci))\n"
  9113. "\n"
  9114. msgstr ""
  9115. #. type: lisp
  9116. #: guix-git/doc/guix.texi:5178
  9117. #, no-wrap
  9118. msgid ""
  9119. "(list (channel-with-substitutes-available\n"
  9120. " %default-guix-channel\n"
  9121. " \"https://ci.guix.gnu.org\"))\n"
  9122. msgstr ""
  9123. #. type: Plain text
  9124. #: guix-git/doc/guix.texi:5185
  9125. msgid "Note that this does not mean that all the packages that you will install after running @command{guix pull} will have available substitutes. It only ensures that @command{guix pull} will not try to compile package definitions. This is particularly useful when using machines with limited resources."
  9126. msgstr ""
  9127. #. type: cindex
  9128. #: guix-git/doc/guix.texi:5189
  9129. #, no-wrap
  9130. msgid "personal packages (channels)"
  9131. msgstr ""
  9132. #. type: cindex
  9133. #: guix-git/doc/guix.texi:5190
  9134. #, no-wrap
  9135. msgid "channels, for personal packages"
  9136. msgstr ""
  9137. #. type: Plain text
  9138. #: guix-git/doc/guix.texi:5198
  9139. msgid "Let's say you have a bunch of custom package variants or personal packages that you think would make little sense to contribute to the Guix project, but would like to have these packages transparently available to you at the command line. You would first write modules containing those package definitions (@pxref{Package Modules}), maintain them in a Git repository, and then you and anyone else can use it as an additional channel to get packages from. Neat, no?"
  9140. msgstr ""
  9141. #. type: quotation
  9142. #: guix-git/doc/guix.texi:5202 guix-git/doc/guix.texi:13624
  9143. #: guix-git/doc/guix.texi:19579 guix-git/doc/guix.texi:19586
  9144. #, no-wrap
  9145. msgid "Warning"
  9146. msgstr ""
  9147. #. type: quotation
  9148. #: guix-git/doc/guix.texi:5206
  9149. msgid "Before you, dear user, shout---``woow this is @emph{soooo coool}!''---and publish your personal channel to the world, we would like to share a few words of caution:"
  9150. msgstr ""
  9151. #. type: itemize
  9152. #: guix-git/doc/guix.texi:5214
  9153. msgid "Before publishing a channel, please consider contributing your package definitions to Guix proper (@pxref{Contributing}). Guix as a project is open to free software of all sorts, and packages in Guix proper are readily available to all Guix users and benefit from the project's quality assurance process."
  9154. msgstr ""
  9155. #. type: itemize
  9156. #: guix-git/doc/guix.texi:5223
  9157. msgid "When you maintain package definitions outside Guix, we, Guix developers, consider that @emph{the compatibility burden is on you}. Remember that package modules and package definitions are just Scheme code that uses various programming interfaces (APIs). We want to remain free to change these APIs to keep improving Guix, possibly in ways that break your channel. We never change APIs gratuitously, but we will @emph{not} commit to freezing APIs either."
  9158. msgstr ""
  9159. #. type: itemize
  9160. #: guix-git/doc/guix.texi:5227
  9161. msgid "Corollary: if you're using an external channel and that channel breaks, please @emph{report the issue to the channel authors}, not to the Guix project."
  9162. msgstr ""
  9163. #. type: quotation
  9164. #: guix-git/doc/guix.texi:5234
  9165. msgid "You've been warned! Having said this, we believe external channels are a practical way to exert your freedom to augment Guix' package collection and to share your improvements, which are basic tenets of @uref{https://www.gnu.org/philosophy/free-sw.html, free software}. Please email us at @email{guix-devel@@gnu.org} if you'd like to discuss this."
  9166. msgstr ""
  9167. #. type: Plain text
  9168. #: guix-git/doc/guix.texi:5246
  9169. msgid "To create a channel, create a Git repository containing your own package modules and make it available. The repository can contain anything, but a useful channel will contain Guile modules that export packages. Once you start using a channel, Guix will behave as if the root directory of that channel's Git repository has been added to the Guile load path (@pxref{Load Paths,,, guile, GNU Guile Reference Manual}). For example, if your channel contains a file at @file{my-packages/my-tools.scm} that defines a Guile module, then the module will be available under the name @code{(my-packages my-tools)}, and you will be able to use it like any other module (@pxref{Modules,,, guile, GNU Guile Reference Manual})."
  9170. msgstr ""
  9171. #. type: Plain text
  9172. #: guix-git/doc/guix.texi:5251
  9173. msgid "As a channel author, consider bundling authentication material with your channel so that users can authenticate it. @xref{Channel Authentication}, and @ref{Specifying Channel Authorizations}, for info on how to do it."
  9174. msgstr ""
  9175. #. type: cindex
  9176. #: guix-git/doc/guix.texi:5256
  9177. #, no-wrap
  9178. msgid "subdirectory, channels"
  9179. msgstr ""
  9180. #. type: Plain text
  9181. #: guix-git/doc/guix.texi:5260
  9182. msgid "As a channel author, you may want to keep your channel modules in a sub-directory. If your modules are in the sub-directory @file{guix}, you must add a meta-data file @file{.guix-channel} that contains:"
  9183. msgstr ""
  9184. #. type: lisp
  9185. #: guix-git/doc/guix.texi:5265
  9186. #, no-wrap
  9187. msgid ""
  9188. "(channel\n"
  9189. " (version 0)\n"
  9190. " (directory \"guix\"))\n"
  9191. msgstr ""
  9192. #. type: cindex
  9193. #: guix-git/doc/guix.texi:5270
  9194. #, no-wrap
  9195. msgid "dependencies, channels"
  9196. msgstr ""
  9197. #. type: cindex
  9198. #: guix-git/doc/guix.texi:5271
  9199. #, no-wrap
  9200. msgid "meta-data, channels"
  9201. msgstr ""
  9202. #. type: Plain text
  9203. #: guix-git/doc/guix.texi:5276
  9204. msgid "Channel authors may decide to augment a package collection provided by other channels. They can declare their channel to be dependent on other channels in a meta-data file @file{.guix-channel}, which is to be placed in the root of the channel repository."
  9205. msgstr ""
  9206. #. type: Plain text
  9207. #: guix-git/doc/guix.texi:5278
  9208. msgid "The meta-data file should contain a simple S-expression like this:"
  9209. msgstr ""
  9210. #. type: lisp
  9211. #: guix-git/doc/guix.texi:5286
  9212. #, no-wrap
  9213. msgid ""
  9214. "(channel\n"
  9215. " (version 0)\n"
  9216. " (dependencies\n"
  9217. " (channel\n"
  9218. " (name some-collection)\n"
  9219. " (url \"https://example.org/first-collection.git\")\n"
  9220. "\n"
  9221. msgstr ""
  9222. #. type: lisp
  9223. #: guix-git/doc/guix.texi:5298
  9224. #, no-wrap
  9225. msgid ""
  9226. " ;; The 'introduction' bit below is optional: you would\n"
  9227. " ;; provide it for dependencies that can be authenticated.\n"
  9228. " (introduction\n"
  9229. " (channel-introduction\n"
  9230. " (version 0)\n"
  9231. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  9232. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9233. " (channel\n"
  9234. " (name some-other-collection)\n"
  9235. " (url \"https://example.org/second-collection.git\")\n"
  9236. " (branch \"testing\"))))\n"
  9237. msgstr ""
  9238. #. type: Plain text
  9239. #: guix-git/doc/guix.texi:5304
  9240. msgid "In the above example this channel is declared to depend on two other channels, which will both be fetched automatically. The modules provided by the channel will be compiled in an environment where the modules of all these declared channels are available."
  9241. msgstr ""
  9242. #. type: Plain text
  9243. #: guix-git/doc/guix.texi:5308
  9244. msgid "For the sake of reliability and maintainability, you should avoid dependencies on channels that you don't control, and you should aim to keep the number of dependencies to a minimum."
  9245. msgstr ""
  9246. #. type: cindex
  9247. #: guix-git/doc/guix.texi:5312
  9248. #, no-wrap
  9249. msgid "channel authorizations"
  9250. msgstr ""
  9251. #. type: anchor{#1}
  9252. #: guix-git/doc/guix.texi:5326
  9253. msgid "channel-authorizations"
  9254. msgstr ""
  9255. #. type: Plain text
  9256. #: guix-git/doc/guix.texi:5326
  9257. msgid "As we saw above, Guix ensures the source code it pulls from channels comes from authorized developers. As a channel author, you need to specify the list of authorized developers in the @file{.guix-authorizations} file in the channel's Git repository. The authentication rule is simple: each commit must be signed by a key listed in the @file{.guix-authorizations} file of its parent commit(s)@footnote{Git commits form a @dfn{directed acyclic graph} (DAG). Each commit can have zero or more parents; ``regular'' commits have one parent and merge commits have two parent commits. Read @uref{https://eagain.net/articles/git-for-computer-scientists/, @i{Git for Computer Scientists}} for a great overview.} The @file{.guix-authorizations} file looks like this:"
  9258. msgstr ""
  9259. #. type: lisp
  9260. #: guix-git/doc/guix.texi:5329
  9261. #, no-wrap
  9262. msgid ""
  9263. ";; Example '.guix-authorizations' file.\n"
  9264. "\n"
  9265. msgstr ""
  9266. #. type: lisp
  9267. #: guix-git/doc/guix.texi:5332
  9268. #, no-wrap
  9269. msgid ""
  9270. "(authorizations\n"
  9271. " (version 0) ;current file format version\n"
  9272. "\n"
  9273. msgstr ""
  9274. #. type: lisp
  9275. #: guix-git/doc/guix.texi:5339
  9276. #, no-wrap
  9277. msgid ""
  9278. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  9279. " (name \"alice\"))\n"
  9280. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  9281. " (name \"bob\"))\n"
  9282. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  9283. " (name \"charlie\"))))\n"
  9284. msgstr ""
  9285. #. type: Plain text
  9286. #: guix-git/doc/guix.texi:5343
  9287. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  9288. msgstr ""
  9289. #. type: Plain text
  9290. #: guix-git/doc/guix.texi:5348
  9291. msgid "This authentication rule creates a chicken-and-egg issue: how do we authenticate the first commit? Related to that: how do we deal with channels whose repository history contains unsigned commits and lack @file{.guix-authorizations}? And how do we fork existing channels?"
  9292. msgstr ""
  9293. #. type: cindex
  9294. #: guix-git/doc/guix.texi:5349
  9295. #, no-wrap
  9296. msgid "channel introduction"
  9297. msgstr ""
  9298. #. type: Plain text
  9299. #: guix-git/doc/guix.texi:5356
  9300. msgid "Channel introductions answer these questions by describing the first commit of a channel that should be authenticated. The first time a channel is fetched with @command{guix pull} or @command{guix time-machine}, the command looks up the introductory commit and verifies that it is signed by the specified OpenPGP key. From then on, it authenticates commits according to the rule above."
  9301. msgstr ""
  9302. #. type: Plain text
  9303. #: guix-git/doc/guix.texi:5363
  9304. msgid "Additionally, your channel must provide all the OpenPGP keys that were ever mentioned in @file{.guix-authorizations}, stored as @file{.key} files, which can be either binary or ``ASCII-armored''. By default, those @file{.key} files are searched for in the branch named @code{keyring} but you can specify a different branch name in @code{.guix-channel} like so:"
  9305. msgstr ""
  9306. #. type: lisp
  9307. #: guix-git/doc/guix.texi:5368
  9308. #, no-wrap
  9309. msgid ""
  9310. "(channel\n"
  9311. " (version 0)\n"
  9312. " (keyring-reference \"my-keyring-branch\"))\n"
  9313. msgstr ""
  9314. #. type: Plain text
  9315. #: guix-git/doc/guix.texi:5372
  9316. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  9317. msgstr ""
  9318. #. type: enumerate
  9319. #: guix-git/doc/guix.texi:5378
  9320. msgid "Export the OpenPGP keys of past and present committers with @command{gpg --export} and store them in @file{.key} files, by default in a branch named @code{keyring} (we recommend making it an @dfn{orphan branch})."
  9321. msgstr ""
  9322. #. type: enumerate
  9323. #: guix-git/doc/guix.texi:5383
  9324. msgid "Introduce an initial @file{.guix-authorizations} in the channel's repository. Do that in a signed commit (@pxref{Commit Access}, for information on how to sign Git commits.)"
  9325. msgstr ""
  9326. #. type: enumerate
  9327. #: guix-git/doc/guix.texi:5389
  9328. msgid "Advertise the channel introduction, for instance on your channel's web page. The channel introduction, as we saw above, is the commit/key pair---i.e., the commit that introduced @file{.guix-authorizations}, and the fingerprint of the OpenPGP used to sign it."
  9329. msgstr ""
  9330. #. type: Plain text
  9331. #: guix-git/doc/guix.texi:5394
  9332. msgid "Before pushing to your public Git repository, you can run @command{guix git-authenticate} to verify that you did sign all the commits you are about to push with an authorized key:"
  9333. msgstr ""
  9334. #. type: example
  9335. #: guix-git/doc/guix.texi:5397
  9336. #, no-wrap
  9337. msgid "guix git authenticate @var{commit} @var{signer}\n"
  9338. msgstr ""
  9339. #. type: Plain text
  9340. #: guix-git/doc/guix.texi:5402
  9341. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  9342. msgstr ""
  9343. #. type: Plain text
  9344. #: guix-git/doc/guix.texi:5409
  9345. msgid "Publishing a signed channel requires discipline: any mistake, such as an unsigned commit or a commit signed by an unauthorized key, will prevent users from pulling from your channel---well, that's the whole point of authentication! Pay attention to merges in particular: merge commits are considered authentic if and only if they are signed by a key present in the @file{.guix-authorizations} file of @emph{both} branches."
  9346. msgstr ""
  9347. #. type: cindex
  9348. #: guix-git/doc/guix.texi:5413
  9349. #, no-wrap
  9350. msgid "primary URL, channels"
  9351. msgstr ""
  9352. #. type: Plain text
  9353. #: guix-git/doc/guix.texi:5416
  9354. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  9355. msgstr ""
  9356. #. type: lisp
  9357. #: guix-git/doc/guix.texi:5421
  9358. #, no-wrap
  9359. msgid ""
  9360. "(channel\n"
  9361. " (version 0)\n"
  9362. " (url \"https://example.org/guix.git\"))\n"
  9363. msgstr ""
  9364. #. type: Plain text
  9365. #: guix-git/doc/guix.texi:5428
  9366. msgid "This allows @command{guix pull} to determine whether it is pulling code from a mirror of the channel; when that is the case, it warns the user that the mirror might be stale and displays the primary URL@. That way, users cannot be tricked into fetching code from a stale mirror that does not receive security updates."
  9367. msgstr ""
  9368. #. type: Plain text
  9369. #: guix-git/doc/guix.texi:5432
  9370. msgid "This feature only makes sense for authenticated repositories, such as the official @code{guix} channel, for which @command{guix pull} ensures the code it fetches is authentic."
  9371. msgstr ""
  9372. #. type: cindex
  9373. #: guix-git/doc/guix.texi:5436
  9374. #, no-wrap
  9375. msgid "news, for channels"
  9376. msgstr ""
  9377. #. type: Plain text
  9378. #: guix-git/doc/guix.texi:5440
  9379. msgid "Channel authors may occasionally want to communicate to their users information about important changes in the channel. You'd send them all an email, but that's not convenient."
  9380. msgstr ""
  9381. #. type: Plain text
  9382. #: guix-git/doc/guix.texi:5445
  9383. msgid "Instead, channels can provide a @dfn{news file}; when the channel users run @command{guix pull}, that news file is automatically read and @command{guix pull --news} can display the announcements that correspond to the new commits that have been pulled, if any."
  9384. msgstr ""
  9385. #. type: Plain text
  9386. #: guix-git/doc/guix.texi:5448
  9387. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  9388. msgstr ""
  9389. #. type: lisp
  9390. #: guix-git/doc/guix.texi:5453
  9391. #, no-wrap
  9392. msgid ""
  9393. "(channel\n"
  9394. " (version 0)\n"
  9395. " (news-file \"etc/news.txt\"))\n"
  9396. msgstr ""
  9397. #. type: Plain text
  9398. #: guix-git/doc/guix.texi:5457
  9399. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  9400. msgstr ""
  9401. #. type: lisp
  9402. #: guix-git/doc/guix.texi:5470
  9403. #, no-wrap
  9404. msgid ""
  9405. "(channel-news\n"
  9406. " (version 0)\n"
  9407. " (entry (tag \"the-bug-fix\")\n"
  9408. " (title (en \"Fixed terrible bug\")\n"
  9409. " (fr \"Oh la la\"))\n"
  9410. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  9411. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  9412. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  9413. " (title (en \"Added a great package\")\n"
  9414. " (ca \"Què vol dir guix?\"))\n"
  9415. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  9416. msgstr ""
  9417. #. type: Plain text
  9418. #: guix-git/doc/guix.texi:5477
  9419. msgid "While the news file is using the Scheme syntax, avoid naming it with a @file{.scm} extension or else it will get picked up when building the channel and yield an error since it is not a valid module. Alternatively, you can move the channel module to a subdirectory and store the news file in another directory."
  9420. msgstr ""
  9421. #. type: Plain text
  9422. #: guix-git/doc/guix.texi:5482
  9423. msgid "The file consists of a list of @dfn{news entries}. Each entry is associated with a commit or tag: it describes changes made in this commit, possibly in preceding commits as well. Users see entries only the first time they obtain the commit the entry refers to."
  9424. msgstr ""
  9425. #. type: Plain text
  9426. #: guix-git/doc/guix.texi:5488
  9427. msgid "The @code{title} field should be a one-line summary while @code{body} can be arbitrarily long, and both can contain Texinfo markup (@pxref{Overview,,, texinfo, GNU Texinfo}). Both the title and body are a list of language tag/message tuples, which allows @command{guix pull} to display news in the language that corresponds to the user's locale."
  9428. msgstr ""
  9429. #. type: Plain text
  9430. #: guix-git/doc/guix.texi:5494
  9431. msgid "If you want to translate news using a gettext-based workflow, you can extract translatable strings with @command{xgettext} (@pxref{xgettext Invocation,,, gettext, GNU Gettext Utilities}). For example, assuming you write news entries in English first, the command below creates a PO file containing the strings to translate:"
  9432. msgstr ""
  9433. #. type: example
  9434. #: guix-git/doc/guix.texi:5497
  9435. #, no-wrap
  9436. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  9437. msgstr ""
  9438. #. type: Plain text
  9439. #: guix-git/doc/guix.texi:5501
  9440. msgid "To sum up, yes, you could use your channel as a blog. But beware, this is @emph{not quite} what your users might expect."
  9441. msgstr ""
  9442. #. type: cindex
  9443. #: guix-git/doc/guix.texi:5506
  9444. #, no-wrap
  9445. msgid "software development"
  9446. msgstr ""
  9447. #. type: Plain text
  9448. #: guix-git/doc/guix.texi:5510
  9449. msgid "If you are a software developer, Guix provides tools that you should find helpful---independently of the language you're developing in. This is what this chapter is about."
  9450. msgstr ""
  9451. #. type: Plain text
  9452. #: guix-git/doc/guix.texi:5516
  9453. msgid "The @command{guix environment} command provides a convenient way to set up @dfn{development environments} containing all the dependencies and tools necessary to work on the software package of your choice. The @command{guix pack} command allows you to create @dfn{application bundles} that can be easily distributed to users who do not run Guix."
  9454. msgstr ""
  9455. #. type: section
  9456. #: guix-git/doc/guix.texi:5525
  9457. #, no-wrap
  9458. msgid "Invoking @command{guix environment}"
  9459. msgstr ""
  9460. #. type: cindex
  9461. #: guix-git/doc/guix.texi:5527
  9462. #, no-wrap
  9463. msgid "reproducible build environments"
  9464. msgstr ""
  9465. #. type: cindex
  9466. #: guix-git/doc/guix.texi:5528
  9467. #, no-wrap
  9468. msgid "development environments"
  9469. msgstr ""
  9470. #. type: command{#1}
  9471. #: guix-git/doc/guix.texi:5529
  9472. #, no-wrap
  9473. msgid "guix environment"
  9474. msgstr ""
  9475. #. type: cindex
  9476. #: guix-git/doc/guix.texi:5530
  9477. #, no-wrap
  9478. msgid "environment, package build environment"
  9479. msgstr ""
  9480. #. type: Plain text
  9481. #: guix-git/doc/guix.texi:5536
  9482. msgid "The purpose of @command{guix environment} is to assist hackers in creating reproducible development environments without polluting their package profile. The @command{guix environment} tool takes one or more packages, builds all of their inputs, and creates a shell environment to use them."
  9483. msgstr ""
  9484. #. type: example
  9485. #: guix-git/doc/guix.texi:5541
  9486. #, no-wrap
  9487. msgid "guix environment @var{options} @var{package}@dots{}\n"
  9488. msgstr ""
  9489. #. type: Plain text
  9490. #: guix-git/doc/guix.texi:5545
  9491. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  9492. msgstr ""
  9493. #. type: example
  9494. #: guix-git/doc/guix.texi:5548
  9495. #, no-wrap
  9496. msgid "guix environment guile\n"
  9497. msgstr ""
  9498. #. type: Plain text
  9499. #: guix-git/doc/guix.texi:5565
  9500. msgid "If the needed dependencies are not built yet, @command{guix environment} automatically builds them. The environment of the new shell is an augmented version of the environment that @command{guix environment} was run in. It contains the necessary search paths for building the given package added to the existing environment variables. To create a ``pure'' environment, in which the original environment variables have been unset, use the @option{--pure} option@footnote{Users sometimes wrongfully augment environment variables such as @env{PATH} in their @file{~/.bashrc} file. As a consequence, when @command{guix environment} launches it, Bash may read @file{~/.bashrc}, thereby introducing ``impurities'' in these environment variables. It is an error to define such environment variables in @file{.bashrc}; instead, they should be defined in @file{.bash_profile}, which is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files.}."
  9501. msgstr ""
  9502. #. type: Plain text
  9503. #: guix-git/doc/guix.texi:5571
  9504. msgid "Exiting from a Guix environment is the same as exiting from the shell, and will place the user back in the old environment before @command{guix environment} was invoked. The next garbage collection (@pxref{Invoking guix gc}) will clean up packages that were installed from within the environment and are no longer used outside of it."
  9505. msgstr ""
  9506. #. type: vindex
  9507. #: guix-git/doc/guix.texi:5572
  9508. #, no-wrap
  9509. msgid "GUIX_ENVIRONMENT"
  9510. msgstr ""
  9511. #. type: Plain text
  9512. #: guix-git/doc/guix.texi:5578
  9513. msgid "@command{guix environment} defines the @env{GUIX_ENVIRONMENT} variable in the shell it spawns; its value is the file name of the profile of this environment. This allows users to, say, define a specific prompt for development environments in their @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}):"
  9514. msgstr ""
  9515. #. type: example
  9516. #: guix-git/doc/guix.texi:5584
  9517. #, no-wrap
  9518. msgid ""
  9519. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  9520. "then\n"
  9521. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  9522. "fi\n"
  9523. msgstr ""
  9524. #. type: Plain text
  9525. #: guix-git/doc/guix.texi:5588
  9526. msgid "...@: or to browse the profile:"
  9527. msgstr ""
  9528. #. type: example
  9529. #: guix-git/doc/guix.texi:5591
  9530. #, no-wrap
  9531. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  9532. msgstr ""
  9533. #. type: Plain text
  9534. #: guix-git/doc/guix.texi:5597
  9535. msgid "Additionally, more than one package may be specified, in which case the union of the inputs for the given packages are used. For example, the command below spawns a shell where all of the dependencies of both Guile and Emacs are available:"
  9536. msgstr ""
  9537. #. type: example
  9538. #: guix-git/doc/guix.texi:5600
  9539. #, no-wrap
  9540. msgid "guix environment guile emacs\n"
  9541. msgstr ""
  9542. #. type: Plain text
  9543. #: guix-git/doc/guix.texi:5605
  9544. msgid "Sometimes an interactive shell session is not desired. An arbitrary command may be invoked by placing the @code{--} token to separate the command from the rest of the arguments:"
  9545. msgstr ""
  9546. #. type: example
  9547. #: guix-git/doc/guix.texi:5608
  9548. #, no-wrap
  9549. msgid "guix environment guile -- make -j4\n"
  9550. msgstr ""
  9551. #. type: Plain text
  9552. #: guix-git/doc/guix.texi:5614
  9553. msgid "In other situations, it is more convenient to specify the list of packages needed in the environment. For example, the following command runs @command{python} from an environment containing Python@tie{}2.7 and NumPy:"
  9554. msgstr ""
  9555. #. type: example
  9556. #: guix-git/doc/guix.texi:5617
  9557. #, no-wrap
  9558. msgid "guix environment --ad-hoc python2-numpy python-2.7 -- python\n"
  9559. msgstr ""
  9560. #. type: Plain text
  9561. #: guix-git/doc/guix.texi:5628
  9562. msgid "Furthermore, one might want the dependencies of a package and also some additional packages that are not build-time or runtime dependencies, but are useful when developing nonetheless. Because of this, the @option{--ad-hoc} flag is positional. Packages appearing before @option{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment. Packages appearing after are interpreted as packages that will be added to the environment directly. For example, the following command creates a Guix development environment that additionally includes Git and strace:"
  9563. msgstr ""
  9564. #. type: example
  9565. #: guix-git/doc/guix.texi:5631
  9566. #, no-wrap
  9567. msgid "guix environment --pure guix --ad-hoc git strace\n"
  9568. msgstr ""
  9569. #. type: item
  9570. #: guix-git/doc/guix.texi:5633 guix-git/doc/guix.texi:5794
  9571. #: guix-git/doc/guix.texi:13025 guix-git/doc/guix.texi:33068
  9572. #, no-wrap
  9573. msgid "container"
  9574. msgstr ""
  9575. #. type: Plain text
  9576. #: guix-git/doc/guix.texi:5641
  9577. msgid "Sometimes it is desirable to isolate the environment as much as possible, for maximal purity and reproducibility. In particular, when using Guix on a host distro that is not Guix System, it is desirable to prevent access to @file{/usr/bin} and other system-wide resources from the development environment. For example, the following command spawns a Guile REPL in a ``container'' where only the store and the current working directory are mounted:"
  9578. msgstr ""
  9579. #. type: example
  9580. #: guix-git/doc/guix.texi:5644
  9581. #, no-wrap
  9582. msgid "guix environment --ad-hoc --container guile -- guile\n"
  9583. msgstr ""
  9584. #. type: quotation
  9585. #: guix-git/doc/guix.texi:5648
  9586. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  9587. msgstr ""
  9588. #. type: cindex
  9589. #: guix-git/doc/guix.texi:5650
  9590. #, no-wrap
  9591. msgid "certificates"
  9592. msgstr ""
  9593. #. type: Plain text
  9594. #: guix-git/doc/guix.texi:5657
  9595. msgid "Another typical use case for containers is to run security-sensitive applications such as a web browser. To run Eolie, we must expose and share some files and directories; we include @code{nss-certs} and expose @file{/etc/ssl/certs/} for HTTPS authentication; finally we preserve the @env{DISPLAY} environment variable since containerized graphical applications won't display without it."
  9596. msgstr ""
  9597. #. type: example
  9598. #: guix-git/doc/guix.texi:5664
  9599. #, no-wrap
  9600. msgid ""
  9601. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  9602. " --expose=/etc/machine-id \\\n"
  9603. " --expose=/etc/ssl/certs/ \\\n"
  9604. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  9605. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  9606. msgstr ""
  9607. #. type: Plain text
  9608. #: guix-git/doc/guix.texi:5667
  9609. msgid "The available options are summarized below."
  9610. msgstr ""
  9611. #. type: item
  9612. #: guix-git/doc/guix.texi:5669 guix-git/doc/guix.texi:6205
  9613. #: guix-git/doc/guix.texi:10863 guix-git/doc/guix.texi:33165
  9614. #, no-wrap
  9615. msgid "--root=@var{file}"
  9616. msgstr ""
  9617. #. type: itemx
  9618. #: guix-git/doc/guix.texi:5670 guix-git/doc/guix.texi:6206
  9619. #: guix-git/doc/guix.texi:10864 guix-git/doc/guix.texi:33166
  9620. #, no-wrap
  9621. msgid "-r @var{file}"
  9622. msgstr ""
  9623. #. type: cindex
  9624. #: guix-git/doc/guix.texi:5671
  9625. #, no-wrap
  9626. msgid "persistent environment"
  9627. msgstr ""
  9628. #. type: cindex
  9629. #: guix-git/doc/guix.texi:5672
  9630. #, no-wrap
  9631. msgid "garbage collector root, for environments"
  9632. msgstr ""
  9633. #. type: table
  9634. #: guix-git/doc/guix.texi:5675
  9635. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  9636. msgstr ""
  9637. #. type: table
  9638. #: guix-git/doc/guix.texi:5678
  9639. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  9640. msgstr ""
  9641. #. type: table
  9642. #: guix-git/doc/guix.texi:5684
  9643. msgid "When this option is omitted, the environment is protected from garbage collection only for the duration of the @command{guix environment} session. This means that next time you recreate the same environment, you could have to rebuild or re-download packages. @xref{Invoking guix gc}, for more on GC roots."
  9644. msgstr ""
  9645. #. type: item
  9646. #: guix-git/doc/guix.texi:5685 guix-git/doc/guix.texi:6137
  9647. #: guix-git/doc/guix.texi:10709 guix-git/doc/guix.texi:11684
  9648. #: guix-git/doc/guix.texi:12479 guix-git/doc/guix.texi:33100
  9649. #, no-wrap
  9650. msgid "--expression=@var{expr}"
  9651. msgstr ""
  9652. #. type: itemx
  9653. #: guix-git/doc/guix.texi:5686 guix-git/doc/guix.texi:6138
  9654. #: guix-git/doc/guix.texi:10710 guix-git/doc/guix.texi:11685
  9655. #: guix-git/doc/guix.texi:12480 guix-git/doc/guix.texi:33101
  9656. #, no-wrap
  9657. msgid "-e @var{expr}"
  9658. msgstr ""
  9659. #. type: table
  9660. #: guix-git/doc/guix.texi:5689
  9661. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  9662. msgstr ""
  9663. #. type: table
  9664. #: guix-git/doc/guix.texi:5691
  9665. msgid "For example, running:"
  9666. msgstr ""
  9667. #. type: example
  9668. #: guix-git/doc/guix.texi:5694
  9669. #, no-wrap
  9670. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  9671. msgstr ""
  9672. #. type: table
  9673. #: guix-git/doc/guix.texi:5698
  9674. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  9675. msgstr ""
  9676. #. type: table
  9677. #: guix-git/doc/guix.texi:5700
  9678. msgid "Running:"
  9679. msgstr ""
  9680. #. type: example
  9681. #: guix-git/doc/guix.texi:5703
  9682. #, no-wrap
  9683. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  9684. msgstr ""
  9685. #. type: table
  9686. #: guix-git/doc/guix.texi:5706
  9687. msgid "starts a shell with all the base system packages available."
  9688. msgstr ""
  9689. #. type: table
  9690. #: guix-git/doc/guix.texi:5709
  9691. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  9692. msgstr ""
  9693. #. type: example
  9694. #: guix-git/doc/guix.texi:5712
  9695. #, no-wrap
  9696. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  9697. msgstr ""
  9698. #. type: item
  9699. #: guix-git/doc/guix.texi:5714
  9700. #, no-wrap
  9701. msgid "--load=@var{file}"
  9702. msgstr ""
  9703. #. type: itemx
  9704. #: guix-git/doc/guix.texi:5715
  9705. #, no-wrap
  9706. msgid "-l @var{file}"
  9707. msgstr ""
  9708. #. type: table
  9709. #: guix-git/doc/guix.texi:5718
  9710. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  9711. msgstr ""
  9712. #. type: lisp
  9713. #: guix-git/doc/guix.texi:5724
  9714. #, no-wrap
  9715. msgid "@verbatiminclude environment-gdb.scm\n"
  9716. msgstr ""
  9717. #. type: table
  9718. #: guix-git/doc/guix.texi:5731
  9719. msgid "Create an environment for the packages contained in the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  9720. msgstr ""
  9721. #. type: table
  9722. #: guix-git/doc/guix.texi:5735
  9723. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  9724. msgstr ""
  9725. #. type: item
  9726. #: guix-git/doc/guix.texi:5736
  9727. #, no-wrap
  9728. msgid "--ad-hoc"
  9729. msgstr ""
  9730. #. type: table
  9731. #: guix-git/doc/guix.texi:5741
  9732. msgid "Include all specified packages in the resulting environment, as if an @i{ad hoc} package were defined with them as inputs. This option is useful for quickly creating an environment without having to write a package expression to contain the desired inputs."
  9733. msgstr ""
  9734. #. type: table
  9735. #: guix-git/doc/guix.texi:5743
  9736. msgid "For instance, the command:"
  9737. msgstr ""
  9738. #. type: example
  9739. #: guix-git/doc/guix.texi:5746
  9740. #, no-wrap
  9741. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  9742. msgstr ""
  9743. #. type: table
  9744. #: guix-git/doc/guix.texi:5750
  9745. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  9746. msgstr ""
  9747. #. type: table
  9748. #: guix-git/doc/guix.texi:5755
  9749. msgid "Note that this example implicitly asks for the default output of @code{guile} and @code{guile-sdl}, but it is possible to ask for a specific output---e.g., @code{glib:bin} asks for the @code{bin} output of @code{glib} (@pxref{Packages with Multiple Outputs})."
  9750. msgstr ""
  9751. #. type: table
  9752. #: guix-git/doc/guix.texi:5761
  9753. msgid "This option may be composed with the default behavior of @command{guix environment}. Packages appearing before @option{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment, the default behavior. Packages appearing after are interpreted as packages that will be added to the environment directly."
  9754. msgstr ""
  9755. #. type: item
  9756. #: guix-git/doc/guix.texi:5762
  9757. #, no-wrap
  9758. msgid "--pure"
  9759. msgstr ""
  9760. #. type: table
  9761. #: guix-git/doc/guix.texi:5766
  9762. msgid "Unset existing environment variables when building the new environment, except those specified with @option{--preserve} (see below). This has the effect of creating an environment in which search paths only contain package inputs."
  9763. msgstr ""
  9764. #. type: item
  9765. #: guix-git/doc/guix.texi:5767
  9766. #, no-wrap
  9767. msgid "--preserve=@var{regexp}"
  9768. msgstr ""
  9769. #. type: itemx
  9770. #: guix-git/doc/guix.texi:5768
  9771. #, no-wrap
  9772. msgid "-E @var{regexp}"
  9773. msgstr ""
  9774. #. type: table
  9775. #: guix-git/doc/guix.texi:5773
  9776. msgid "When used alongside @option{--pure}, preserve the environment variables matching @var{regexp}---in other words, put them on a ``white list'' of environment variables that must be preserved. This option can be repeated several times."
  9777. msgstr ""
  9778. #. type: example
  9779. #: guix-git/doc/guix.texi:5777
  9780. #, no-wrap
  9781. msgid ""
  9782. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  9783. " -- mpirun @dots{}\n"
  9784. msgstr ""
  9785. #. type: table
  9786. #: guix-git/doc/guix.texi:5783
  9787. msgid "This example runs @command{mpirun} in a context where the only environment variables defined are @env{PATH}, environment variables whose name starts with @samp{SLURM}, as well as the usual ``precious'' variables (@env{HOME}, @env{USER}, etc.)."
  9788. msgstr ""
  9789. #. type: item
  9790. #: guix-git/doc/guix.texi:5784
  9791. #, no-wrap
  9792. msgid "--search-paths"
  9793. msgstr ""
  9794. #. type: table
  9795. #: guix-git/doc/guix.texi:5787
  9796. msgid "Display the environment variable definitions that make up the environment."
  9797. msgstr ""
  9798. #. type: table
  9799. #: guix-git/doc/guix.texi:5791
  9800. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  9801. msgstr ""
  9802. #. type: item
  9803. #: guix-git/doc/guix.texi:5792
  9804. #, no-wrap
  9805. msgid "--container"
  9806. msgstr ""
  9807. #. type: itemx
  9808. #: guix-git/doc/guix.texi:5793
  9809. #, no-wrap
  9810. msgid "-C"
  9811. msgstr ""
  9812. #. type: table
  9813. #: guix-git/doc/guix.texi:5800
  9814. msgid "Run @var{command} within an isolated container. The current working directory outside the container is mapped inside the container. Additionally, unless overridden with @option{--user}, a dummy home directory is created that matches the current user's home directory, and @file{/etc/passwd} is configured accordingly."
  9815. msgstr ""
  9816. #. type: table
  9817. #: guix-git/doc/guix.texi:5804
  9818. msgid "The spawned process runs as the current user outside the container. Inside the container, it has the same UID and GID as the current user, unless @option{--user} is passed (see below)."
  9819. msgstr ""
  9820. #. type: item
  9821. #: guix-git/doc/guix.texi:5805 guix-git/doc/guix.texi:33160
  9822. #, no-wrap
  9823. msgid "--network"
  9824. msgstr ""
  9825. #. type: table
  9826. #: guix-git/doc/guix.texi:5810
  9827. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  9828. msgstr ""
  9829. #. type: item
  9830. #: guix-git/doc/guix.texi:5811
  9831. #, no-wrap
  9832. msgid "--link-profile"
  9833. msgstr ""
  9834. #. type: itemx
  9835. #: guix-git/doc/guix.texi:5812
  9836. #, no-wrap
  9837. msgid "-P"
  9838. msgstr ""
  9839. #. type: table
  9840. #: guix-git/doc/guix.texi:5820
  9841. msgid "For containers, link the environment profile to @file{~/.guix-profile} within the container and set @code{GUIX_ENVIRONMENT} to that. This is equivalent to making @file{~/.guix-profile} a symlink to the actual profile within the container. Linking will fail and abort the environment if the directory already exists, which will certainly be the case if @command{guix environment} was invoked in the user's home directory."
  9842. msgstr ""
  9843. #. type: table
  9844. #: guix-git/doc/guix.texi:5826
  9845. msgid "Certain packages are configured to look in @file{~/.guix-profile} for configuration files and data;@footnote{For example, the @code{fontconfig} package inspects @file{~/.guix-profile/share/fonts} for additional fonts.} @option{--link-profile} allows these programs to behave as expected within the environment."
  9846. msgstr ""
  9847. #. type: item
  9848. #: guix-git/doc/guix.texi:5827 guix-git/doc/guix.texi:12612
  9849. #, no-wrap
  9850. msgid "--user=@var{user}"
  9851. msgstr ""
  9852. #. type: itemx
  9853. #: guix-git/doc/guix.texi:5828 guix-git/doc/guix.texi:12613
  9854. #, no-wrap
  9855. msgid "-u @var{user}"
  9856. msgstr ""
  9857. #. type: table
  9858. #: guix-git/doc/guix.texi:5835
  9859. msgid "For containers, use the username @var{user} in place of the current user. The generated @file{/etc/passwd} entry within the container will contain the name @var{user}, the home directory will be @file{/home/@var{user}}, and no user GECOS data will be copied. Furthermore, the UID and GID inside the container are 1000. @var{user} need not exist on the system."
  9860. msgstr ""
  9861. #. type: table
  9862. #: guix-git/doc/guix.texi:5840
  9863. msgid "Additionally, any shared or exposed path (see @option{--share} and @option{--expose} respectively) whose target is within the current user's home directory will be remapped relative to @file{/home/USER}; this includes the automatic mapping of the current working directory."
  9864. msgstr ""
  9865. #. type: example
  9866. #: guix-git/doc/guix.texi:5847
  9867. #, no-wrap
  9868. msgid ""
  9869. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  9870. "cd $HOME/wd\n"
  9871. "guix environment --container --user=foo \\\n"
  9872. " --expose=$HOME/test \\\n"
  9873. " --expose=/tmp/target=$HOME/target\n"
  9874. msgstr ""
  9875. #. type: table
  9876. #: guix-git/doc/guix.texi:5852
  9877. msgid "While this will limit the leaking of user identity through home paths and each of the user fields, this is only one useful component of a broader privacy/anonymity solution---not one in and of itself."
  9878. msgstr ""
  9879. #. type: item
  9880. #: guix-git/doc/guix.texi:5853
  9881. #, no-wrap
  9882. msgid "--no-cwd"
  9883. msgstr ""
  9884. #. type: table
  9885. #: guix-git/doc/guix.texi:5860
  9886. msgid "For containers, the default behavior is to share the current working directory with the isolated container and immediately change to that directory within the container. If this is undesirable, @option{--no-cwd} will cause the current working directory to @emph{not} be automatically shared and will change to the user's home directory within the container instead. See also @option{--user}."
  9887. msgstr ""
  9888. #. type: item
  9889. #: guix-git/doc/guix.texi:5861
  9890. #, no-wrap
  9891. msgid "--expose=@var{source}[=@var{target}]"
  9892. msgstr ""
  9893. #. type: itemx
  9894. #: guix-git/doc/guix.texi:5862
  9895. #, no-wrap
  9896. msgid "--share=@var{source}[=@var{target}]"
  9897. msgstr ""
  9898. #. type: table
  9899. #: guix-git/doc/guix.texi:5868
  9900. msgid "For containers, @option{--expose} (resp. @option{--share}) exposes the file system @var{source} from the host system as the read-only (resp. writable) file system @var{target} within the container. If @var{target} is not specified, @var{source} is used as the target mount point in the container."
  9901. msgstr ""
  9902. #. type: table
  9903. #: guix-git/doc/guix.texi:5872
  9904. msgid "The example below spawns a Guile REPL in a container in which the user's home directory is accessible read-only via the @file{/exchange} directory:"
  9905. msgstr ""
  9906. #. type: example
  9907. #: guix-git/doc/guix.texi:5875
  9908. #, no-wrap
  9909. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  9910. msgstr ""
  9911. #. type: Plain text
  9912. #: guix-git/doc/guix.texi:5883
  9913. msgid "@command{guix environment} also supports all of the common build options that @command{guix build} supports (@pxref{Common Build Options}) as well as package transformation options (@pxref{Package Transformation Options})."
  9914. msgstr ""
  9915. #. type: section
  9916. #: guix-git/doc/guix.texi:5885
  9917. #, no-wrap
  9918. msgid "Invoking @command{guix pack}"
  9919. msgstr ""
  9920. #. type: Plain text
  9921. #: guix-git/doc/guix.texi:5891
  9922. msgid "Occasionally you want to pass software to people who are not (yet!) lucky enough to be using Guix. You'd tell them to run @command{guix package -i @var{something}}, but that's not possible in this case. This is where @command{guix pack} comes in."
  9923. msgstr ""
  9924. #. type: quotation
  9925. #: guix-git/doc/guix.texi:5896
  9926. msgid "If you are looking for ways to exchange binaries among machines that already run Guix, @pxref{Invoking guix copy}, @ref{Invoking guix publish}, and @ref{Invoking guix archive}."
  9927. msgstr ""
  9928. #. type: cindex
  9929. #: guix-git/doc/guix.texi:5898
  9930. #, no-wrap
  9931. msgid "pack"
  9932. msgstr ""
  9933. #. type: cindex
  9934. #: guix-git/doc/guix.texi:5899
  9935. #, no-wrap
  9936. msgid "bundle"
  9937. msgstr ""
  9938. #. type: cindex
  9939. #: guix-git/doc/guix.texi:5900
  9940. #, no-wrap
  9941. msgid "application bundle"
  9942. msgstr ""
  9943. #. type: cindex
  9944. #: guix-git/doc/guix.texi:5901
  9945. #, no-wrap
  9946. msgid "software bundle"
  9947. msgstr ""
  9948. #. type: Plain text
  9949. #: guix-git/doc/guix.texi:5910
  9950. msgid "The @command{guix pack} command creates a shrink-wrapped @dfn{pack} or @dfn{software bundle}: it creates a tarball or some other archive containing the binaries of the software you're interested in, and all its dependencies. The resulting archive can be used on any machine that does not have Guix, and people can run the exact same binaries as those you have with Guix. The pack itself is created in a bit-reproducible fashion, so anyone can verify that it really contains the build results that you pretend to be shipping."
  9951. msgstr ""
  9952. #. type: Plain text
  9953. #: guix-git/doc/guix.texi:5913
  9954. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  9955. msgstr ""
  9956. #. type: example
  9957. #: guix-git/doc/guix.texi:5918
  9958. #, no-wrap
  9959. msgid ""
  9960. "$ guix pack guile emacs geiser\n"
  9961. "@dots{}\n"
  9962. "/gnu/store/@dots{}-pack.tar.gz\n"
  9963. msgstr ""
  9964. #. type: Plain text
  9965. #: guix-git/doc/guix.texi:5926
  9966. msgid "The result here is a tarball containing a @file{/gnu/store} directory with all the relevant packages. The resulting tarball contains a @dfn{profile} with the three packages of interest; the profile is the same as would be created by @command{guix package -i}. It is this mechanism that is used to create Guix's own standalone binary tarball (@pxref{Binary Installation})."
  9967. msgstr ""
  9968. #. type: Plain text
  9969. #: guix-git/doc/guix.texi:5931
  9970. msgid "Users of this pack would have to run @file{/gnu/store/@dots{}-profile/bin/guile} to run Guile, which you may find inconvenient. To work around it, you can create, say, a @file{/opt/gnu/bin} symlink to the profile:"
  9971. msgstr ""
  9972. #. type: example
  9973. #: guix-git/doc/guix.texi:5934
  9974. #, no-wrap
  9975. msgid "guix pack -S /opt/gnu/bin=bin guile emacs geiser\n"
  9976. msgstr ""
  9977. #. type: Plain text
  9978. #: guix-git/doc/guix.texi:5938
  9979. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  9980. msgstr ""
  9981. #. type: cindex
  9982. #: guix-git/doc/guix.texi:5939
  9983. #, no-wrap
  9984. msgid "relocatable binaries, with @command{guix pack}"
  9985. msgstr ""
  9986. #. type: Plain text
  9987. #: guix-git/doc/guix.texi:5947
  9988. msgid "What if the recipient of your pack does not have root privileges on their machine, and thus cannot unpack it in the root file system? In that case, you will want to use the @option{--relocatable} option (see below). This option produces @dfn{relocatable binaries}, meaning they they can be placed anywhere in the file system hierarchy: in the example above, users can unpack your tarball in their home directory and directly run @file{./opt/gnu/bin/guile}."
  9989. msgstr ""
  9990. #. type: cindex
  9991. #: guix-git/doc/guix.texi:5948
  9992. #, no-wrap
  9993. msgid "Docker, build an image with guix pack"
  9994. msgstr ""
  9995. #. type: Plain text
  9996. #: guix-git/doc/guix.texi:5951
  9997. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  9998. msgstr ""
  9999. #. type: example
  10000. #: guix-git/doc/guix.texi:5954
  10001. #, no-wrap
  10002. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  10003. msgstr ""
  10004. #. type: Plain text
  10005. #: guix-git/doc/guix.texi:5959
  10006. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  10007. msgstr ""
  10008. #. type: example
  10009. #: guix-git/doc/guix.texi:5963
  10010. #, no-wrap
  10011. msgid ""
  10012. "docker load < @var{file}\n"
  10013. "docker run -ti guile-guile-readline /bin/guile\n"
  10014. msgstr ""
  10015. #. type: Plain text
  10016. #: guix-git/doc/guix.texi:5970
  10017. msgid "where @var{file} is the image returned by @var{guix pack}, and @code{guile-guile-readline} is its ``image tag''. See the @uref{https://docs.docker.com/engine/reference/commandline/load/, Docker documentation} for more information."
  10018. msgstr ""
  10019. #. type: cindex
  10020. #: guix-git/doc/guix.texi:5971
  10021. #, no-wrap
  10022. msgid "Singularity, build an image with guix pack"
  10023. msgstr ""
  10024. #. type: cindex
  10025. #: guix-git/doc/guix.texi:5972
  10026. #, no-wrap
  10027. msgid "SquashFS, build an image with guix pack"
  10028. msgstr ""
  10029. #. type: Plain text
  10030. #: guix-git/doc/guix.texi:5975
  10031. msgid "Yet another option is to produce a SquashFS image with the following command:"
  10032. msgstr ""
  10033. #. type: example
  10034. #: guix-git/doc/guix.texi:5978
  10035. #, no-wrap
  10036. msgid "guix pack -f squashfs bash guile emacs geiser\n"
  10037. msgstr ""
  10038. #. type: Plain text
  10039. #: guix-git/doc/guix.texi:5986
  10040. msgid "The result is a SquashFS file system image that can either be mounted or directly be used as a file system container image with the @uref{https://www.sylabs.io/docs/, Singularity container execution environment}, using commands like @command{singularity shell} or @command{singularity exec}."
  10041. msgstr ""
  10042. #. type: Plain text
  10043. #: guix-git/doc/guix.texi:5988
  10044. msgid "Several command-line options allow you to customize your pack:"
  10045. msgstr ""
  10046. #. type: table
  10047. #: guix-git/doc/guix.texi:5993
  10048. msgid "Produce a pack in the given @var{format}."
  10049. msgstr ""
  10050. #. type: table
  10051. #: guix-git/doc/guix.texi:5995
  10052. msgid "The available formats are:"
  10053. msgstr ""
  10054. #. type: item
  10055. #: guix-git/doc/guix.texi:5997
  10056. #, no-wrap
  10057. msgid "tarball"
  10058. msgstr ""
  10059. #. type: table
  10060. #: guix-git/doc/guix.texi:6000
  10061. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  10062. msgstr ""
  10063. #. type: item
  10064. #: guix-git/doc/guix.texi:6001
  10065. #, no-wrap
  10066. msgid "docker"
  10067. msgstr ""
  10068. #. type: table
  10069. #: guix-git/doc/guix.texi:6007
  10070. msgid "This produces a tarball that follows the @uref{https://github.com/docker/docker/blob/master/image/spec/v1.2.md, Docker Image Specification}. The ``repository name'' as it appears in the output of the @command{docker images} command is computed from package names passed on the command line or in the manifest file."
  10071. msgstr ""
  10072. #. type: item
  10073. #: guix-git/doc/guix.texi:6008
  10074. #, no-wrap
  10075. msgid "squashfs"
  10076. msgstr ""
  10077. #. type: table
  10078. #: guix-git/doc/guix.texi:6012
  10079. msgid "This produces a SquashFS image containing all the specified binaries and symlinks, as well as empty mount points for virtual file systems like procfs."
  10080. msgstr ""
  10081. #. type: quotation
  10082. #: guix-git/doc/guix.texi:6018
  10083. msgid "Singularity @emph{requires} you to provide @file{/bin/sh} in the image. For that reason, @command{guix pack -f squashfs} always implies @code{-S /bin=bin}. Thus, your @command{guix pack} invocation must always start with something like:"
  10084. msgstr ""
  10085. #. type: example
  10086. #: guix-git/doc/guix.texi:6021
  10087. #, no-wrap
  10088. msgid "guix pack -f squashfs bash @dots{}\n"
  10089. msgstr ""
  10090. #. type: quotation
  10091. #: guix-git/doc/guix.texi:6026
  10092. msgid "If you forget the @code{bash} (or similar) package, @command{singularity run} and @command{singularity exec} will fail with an unhelpful ``no such file or directory'' message."
  10093. msgstr ""
  10094. #. type: cindex
  10095. #: guix-git/doc/guix.texi:6029
  10096. #, no-wrap
  10097. msgid "relocatable binaries"
  10098. msgstr ""
  10099. #. type: item
  10100. #: guix-git/doc/guix.texi:6030
  10101. #, no-wrap
  10102. msgid "--relocatable"
  10103. msgstr ""
  10104. #. type: table
  10105. #: guix-git/doc/guix.texi:6034
  10106. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  10107. msgstr ""
  10108. #. type: table
  10109. #: guix-git/doc/guix.texi:6042
  10110. msgid "When this option is passed once, the resulting binaries require support for @dfn{user namespaces} in the kernel Linux; when passed @emph{twice}@footnote{Here's a trick to memorize it: @code{-RR}, which adds PRoot support, can be thought of as the abbreviation of ``Really Relocatable''. Neat, isn't it?}, relocatable binaries fall to back to other techniques if user namespaces are unavailable, and essentially work anywhere---see below for the implications."
  10111. msgstr ""
  10112. #. type: table
  10113. #: guix-git/doc/guix.texi:6044
  10114. msgid "For example, if you create a pack containing Bash with:"
  10115. msgstr ""
  10116. #. type: example
  10117. #: guix-git/doc/guix.texi:6047
  10118. #, no-wrap
  10119. msgid "guix pack -RR -S /mybin=bin bash\n"
  10120. msgstr ""
  10121. #. type: table
  10122. #: guix-git/doc/guix.texi:6052
  10123. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  10124. msgstr ""
  10125. #. type: example
  10126. #: guix-git/doc/guix.texi:6056
  10127. #, no-wrap
  10128. msgid ""
  10129. "tar xf pack.tar.gz\n"
  10130. "./mybin/sh\n"
  10131. msgstr ""
  10132. #. type: table
  10133. #: guix-git/doc/guix.texi:6064
  10134. msgid "In that shell, if you type @code{ls /gnu/store}, you'll notice that @file{/gnu/store} shows up and contains all the dependencies of @code{bash}, even though the machine actually lacks @file{/gnu/store} altogether! That is probably the simplest way to deploy Guix-built software on a non-Guix machine."
  10135. msgstr ""
  10136. #. type: quotation
  10137. #: guix-git/doc/guix.texi:6070
  10138. msgid "By default, relocatable binaries rely on the @dfn{user namespace} feature of the kernel Linux, which allows unprivileged users to mount or change root. Old versions of Linux did not support it, and some GNU/Linux distributions turn it off."
  10139. msgstr ""
  10140. #. type: quotation
  10141. #: guix-git/doc/guix.texi:6076
  10142. msgid "To produce relocatable binaries that work even in the absence of user namespaces, pass @option{--relocatable} or @option{-R} @emph{twice}. In that case, binaries will try user namespace support and fall back to another @dfn{execution engine} if user namespaces are not supported. The following execution engines are supported:"
  10143. msgstr ""
  10144. #. type: item
  10145. #: guix-git/doc/guix.texi:6078 guix-git/doc/guix.texi:16223
  10146. #, no-wrap
  10147. msgid "default"
  10148. msgstr ""
  10149. #. type: table
  10150. #: guix-git/doc/guix.texi:6081
  10151. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  10152. msgstr ""
  10153. #. type: item
  10154. #: guix-git/doc/guix.texi:6082
  10155. #, no-wrap
  10156. msgid "performance"
  10157. msgstr ""
  10158. #. type: table
  10159. #: guix-git/doc/guix.texi:6085
  10160. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  10161. msgstr ""
  10162. #. type: item
  10163. #: guix-git/doc/guix.texi:6086
  10164. #, no-wrap
  10165. msgid "userns"
  10166. msgstr ""
  10167. #. type: table
  10168. #: guix-git/doc/guix.texi:6089
  10169. msgid "Run the program through user namespaces and abort if they are not supported."
  10170. msgstr ""
  10171. #. type: item
  10172. #: guix-git/doc/guix.texi:6090
  10173. #, no-wrap
  10174. msgid "proot"
  10175. msgstr ""
  10176. #. type: table
  10177. #: guix-git/doc/guix.texi:6097
  10178. msgid "Run through PRoot. The @uref{https://proot-me.github.io/, PRoot} program provides the necessary support for file system virtualization. It achieves that by using the @code{ptrace} system call on the running program. This approach has the advantage to work without requiring special kernel support, but it incurs run-time overhead every time a system call is made."
  10179. msgstr ""
  10180. #. type: item
  10181. #: guix-git/doc/guix.texi:6098
  10182. #, no-wrap
  10183. msgid "fakechroot"
  10184. msgstr ""
  10185. #. type: table
  10186. #: guix-git/doc/guix.texi:6106
  10187. msgid "Run through Fakechroot. @uref{https://github.com/dex4er/fakechroot/, Fakechroot} virtualizes file system accesses by intercepting calls to C library functions such as @code{open}, @code{stat}, @code{exec}, and so on. Unlike PRoot, it incurs very little overhead. However, it does not always work: for example, some file system accesses made from within the C library are not intercepted, and file system accesses made @i{via} direct syscalls are not intercepted either, leading to erratic behavior."
  10188. msgstr ""
  10189. #. type: vindex
  10190. #: guix-git/doc/guix.texi:6108
  10191. #, no-wrap
  10192. msgid "GUIX_EXECUTION_ENGINE"
  10193. msgstr ""
  10194. #. type: quotation
  10195. #: guix-git/doc/guix.texi:6112
  10196. msgid "When running a wrapped program, you can explicitly request one of the execution engines listed above by setting the @env{GUIX_EXECUTION_ENGINE} environment variable accordingly."
  10197. msgstr ""
  10198. #. type: cindex
  10199. #: guix-git/doc/guix.texi:6114
  10200. #, no-wrap
  10201. msgid "entry point, for Docker images"
  10202. msgstr ""
  10203. #. type: item
  10204. #: guix-git/doc/guix.texi:6115
  10205. #, no-wrap
  10206. msgid "--entry-point=@var{command}"
  10207. msgstr ""
  10208. #. type: table
  10209. #: guix-git/doc/guix.texi:6120
  10210. msgid "Use @var{command} as the @dfn{entry point} of the resulting pack, if the pack format supports it---currently @code{docker} and @code{squashfs} (Singularity) support it. @var{command} must be relative to the profile contained in the pack."
  10211. msgstr ""
  10212. #. type: table
  10213. #: guix-git/doc/guix.texi:6124
  10214. msgid "The entry point specifies the command that tools like @code{docker run} or @code{singularity run} automatically start by default. For example, you can do:"
  10215. msgstr ""
  10216. #. type: example
  10217. #: guix-git/doc/guix.texi:6127
  10218. #, no-wrap
  10219. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  10220. msgstr ""
  10221. #. type: table
  10222. #: guix-git/doc/guix.texi:6131
  10223. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  10224. msgstr ""
  10225. #. type: example
  10226. #: guix-git/doc/guix.texi:6135
  10227. #, no-wrap
  10228. msgid ""
  10229. "docker load -i pack.tar.gz\n"
  10230. "docker run @var{image-id}\n"
  10231. msgstr ""
  10232. #. type: table
  10233. #: guix-git/doc/guix.texi:6140 guix-git/doc/guix.texi:11687
  10234. #: guix-git/doc/guix.texi:12482
  10235. msgid "Consider the package @var{expr} evaluates to."
  10236. msgstr ""
  10237. #. type: table
  10238. #: guix-git/doc/guix.texi:6144
  10239. msgid "This has the same purpose as the same-named option in @command{guix build} (@pxref{Additional Build Options, @option{--expression} in @command{guix build}})."
  10240. msgstr ""
  10241. #. type: table
  10242. #: guix-git/doc/guix.texi:6150
  10243. msgid "Use the packages contained in the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  10244. msgstr ""
  10245. #. type: table
  10246. #: guix-git/doc/guix.texi:6158
  10247. msgid "This has a similar purpose as the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files. It allows you to define a collection of packages once and use it both for creating profiles and for creating archives for use on machines that do not have Guix installed. Note that you can specify @emph{either} a manifest file @emph{or} a list of packages, but not both."
  10248. msgstr ""
  10249. #. type: item
  10250. #: guix-git/doc/guix.texi:6164 guix-git/doc/guix.texi:10827
  10251. #, no-wrap
  10252. msgid "--target=@var{triplet}"
  10253. msgstr ""
  10254. #. type: cindex
  10255. #: guix-git/doc/guix.texi:6165 guix-git/doc/guix.texi:6616
  10256. #: guix-git/doc/guix.texi:10828
  10257. #, no-wrap
  10258. msgid "cross-compilation"
  10259. msgstr ""
  10260. #. type: table
  10261. #: guix-git/doc/guix.texi:6169
  10262. msgid "Cross-build for @var{triplet}, which must be a valid GNU triplet, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying target triplets, GNU configuration triplets,, autoconf, Autoconf})."
  10263. msgstr ""
  10264. #. type: item
  10265. #: guix-git/doc/guix.texi:6170
  10266. #, no-wrap
  10267. msgid "--compression=@var{tool}"
  10268. msgstr ""
  10269. #. type: itemx
  10270. #: guix-git/doc/guix.texi:6171
  10271. #, no-wrap
  10272. msgid "-C @var{tool}"
  10273. msgstr ""
  10274. #. type: table
  10275. #: guix-git/doc/guix.texi:6175
  10276. msgid "Compress the resulting tarball using @var{tool}---one of @code{gzip}, @code{zstd}, @code{bzip2}, @code{xz}, @code{lzip}, or @code{none} for no compression."
  10277. msgstr ""
  10278. #. type: item
  10279. #: guix-git/doc/guix.texi:6176
  10280. #, no-wrap
  10281. msgid "--symlink=@var{spec}"
  10282. msgstr ""
  10283. #. type: itemx
  10284. #: guix-git/doc/guix.texi:6177
  10285. #, no-wrap
  10286. msgid "-S @var{spec}"
  10287. msgstr ""
  10288. #. type: table
  10289. #: guix-git/doc/guix.texi:6180
  10290. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  10291. msgstr ""
  10292. #. type: table
  10293. #: guix-git/doc/guix.texi:6184
  10294. msgid "@var{spec} has the form @code{@var{source}=@var{target}}, where @var{source} is the symlink that will be created and @var{target} is the symlink target."
  10295. msgstr ""
  10296. #. type: table
  10297. #: guix-git/doc/guix.texi:6187
  10298. msgid "For instance, @code{-S /opt/gnu/bin=bin} creates a @file{/opt/gnu/bin} symlink pointing to the @file{bin} sub-directory of the profile."
  10299. msgstr ""
  10300. #. type: item
  10301. #: guix-git/doc/guix.texi:6188 guix-git/doc/guix.texi:33119
  10302. #, no-wrap
  10303. msgid "--save-provenance"
  10304. msgstr ""
  10305. #. type: table
  10306. #: guix-git/doc/guix.texi:6192
  10307. msgid "Save provenance information for the packages passed on the command line. Provenance information includes the URL and commit of the channels in use (@pxref{Channels})."
  10308. msgstr ""
  10309. #. type: table
  10310. #: guix-git/doc/guix.texi:6198
  10311. msgid "Provenance information is saved in the @file{/gnu/store/@dots{}-profile/manifest} file in the pack, along with the usual package metadata---the name and version of each package, their propagated inputs, and so on. It is useful information to the recipient of the pack, who then knows how the pack was (supposedly) obtained."
  10312. msgstr ""
  10313. #. type: table
  10314. #: guix-git/doc/guix.texi:6204
  10315. msgid "This option is not enabled by default because, like timestamps, provenance information contributes nothing to the build process. In other words, there is an infinity of channel URLs and commit IDs that can lead to the same pack. Recording such ``silent'' metadata in the output thus potentially breaks the source-to-binary bitwise reproducibility property."
  10316. msgstr ""
  10317. #. type: cindex
  10318. #: guix-git/doc/guix.texi:6207
  10319. #, no-wrap
  10320. msgid "garbage collector root, for packs"
  10321. msgstr ""
  10322. #. type: table
  10323. #: guix-git/doc/guix.texi:6210
  10324. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  10325. msgstr ""
  10326. #. type: item
  10327. #: guix-git/doc/guix.texi:6211
  10328. #, no-wrap
  10329. msgid "--localstatedir"
  10330. msgstr ""
  10331. #. type: itemx
  10332. #: guix-git/doc/guix.texi:6212
  10333. #, no-wrap
  10334. msgid "--profile-name=@var{name}"
  10335. msgstr ""
  10336. #. type: table
  10337. #: guix-git/doc/guix.texi:6217
  10338. msgid "Include the ``local state directory'', @file{/var/guix}, in the resulting pack, and notably the @file{/var/guix/profiles/per-user/root/@var{name}} profile---by default @var{name} is @code{guix-profile}, which corresponds to @file{~root/.guix-profile}."
  10339. msgstr ""
  10340. #. type: table
  10341. #: guix-git/doc/guix.texi:6223
  10342. msgid "@file{/var/guix} contains the store database (@pxref{The Store}) as well as garbage-collector roots (@pxref{Invoking guix gc}). Providing it in the pack means that the store is ``complete'' and manageable by Guix; not providing it pack means that the store is ``dead'': items cannot be added to it or removed from it after extraction of the pack."
  10343. msgstr ""
  10344. #. type: table
  10345. #: guix-git/doc/guix.texi:6226
  10346. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  10347. msgstr ""
  10348. #. type: item
  10349. #: guix-git/doc/guix.texi:6227 guix-git/doc/guix.texi:33113
  10350. #, no-wrap
  10351. msgid "--derivation"
  10352. msgstr ""
  10353. #. type: itemx
  10354. #: guix-git/doc/guix.texi:6228 guix-git/doc/guix.texi:10859
  10355. #: guix-git/doc/guix.texi:33114
  10356. #, no-wrap
  10357. msgid "-d"
  10358. msgstr ""
  10359. #. type: table
  10360. #: guix-git/doc/guix.texi:6230
  10361. msgid "Print the name of the derivation that builds the pack."
  10362. msgstr ""
  10363. #. type: table
  10364. #: guix-git/doc/guix.texi:6234
  10365. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  10366. msgstr ""
  10367. #. type: Plain text
  10368. #: guix-git/doc/guix.texi:6239
  10369. msgid "In addition, @command{guix pack} supports all the common build options (@pxref{Common Build Options}) and all the package transformation options (@pxref{Package Transformation Options})."
  10370. msgstr ""
  10371. #. type: cindex
  10372. #: guix-git/doc/guix.texi:6244
  10373. #, no-wrap
  10374. msgid "GCC"
  10375. msgstr ""
  10376. #. type: cindex
  10377. #: guix-git/doc/guix.texi:6245
  10378. #, no-wrap
  10379. msgid "ld-wrapper"
  10380. msgstr ""
  10381. #. type: cindex
  10382. #: guix-git/doc/guix.texi:6246
  10383. #, no-wrap
  10384. msgid "linker wrapper"
  10385. msgstr ""
  10386. #. type: cindex
  10387. #: guix-git/doc/guix.texi:6247
  10388. #, no-wrap
  10389. msgid "toolchain, for C development"
  10390. msgstr ""
  10391. #. type: cindex
  10392. #: guix-git/doc/guix.texi:6248
  10393. #, no-wrap
  10394. msgid "toolchain, for Fortran development"
  10395. msgstr ""
  10396. #. type: Plain text
  10397. #: guix-git/doc/guix.texi:6255
  10398. msgid "If you need a complete toolchain for compiling and linking C or C++ source code, use the @code{gcc-toolchain} package. This package provides a complete GCC toolchain for C/C++ development, including GCC itself, the GNU C Library (headers and binaries, plus debugging symbols in the @code{debug} output), Binutils, and a linker wrapper."
  10399. msgstr ""
  10400. #. type: Plain text
  10401. #: guix-git/doc/guix.texi:6261
  10402. msgid "The wrapper's purpose is to inspect the @code{-L} and @code{-l} switches passed to the linker, add corresponding @code{-rpath} arguments, and invoke the actual linker with this new set of arguments. You can instruct the wrapper to refuse to link against libraries not in the store by setting the @env{GUIX_LD_WRAPPER_ALLOW_IMPURITIES} environment variable to @code{no}."
  10403. msgstr ""
  10404. #. type: Plain text
  10405. #: guix-git/doc/guix.texi:6265
  10406. msgid "The package @code{gfortran-toolchain} provides a complete GCC toolchain for Fortran development. For other languages, please use @samp{guix search gcc toolchain} (@pxref{guix-search,, Invoking guix package})."
  10407. msgstr ""
  10408. #. type: section
  10409. #: guix-git/doc/guix.texi:6268
  10410. #, no-wrap
  10411. msgid "Invoking @command{guix git authenticate}"
  10412. msgstr ""
  10413. #. type: Plain text
  10414. #: guix-git/doc/guix.texi:6276
  10415. msgid "The @command{guix git authenticate} command authenticates a Git checkout following the same rule as for channels (@pxref{channel-authentication, channel authentication}). That is, starting from a given commit, it ensures that all subsequent commits are signed by an OpenPGP key whose fingerprint appears in the @file{.guix-authorizations} file of its parent commit(s)."
  10416. msgstr ""
  10417. #. type: Plain text
  10418. #: guix-git/doc/guix.texi:6281
  10419. msgid "You will find this command useful if you maintain a channel. But in fact, this authentication mechanism is useful in a broader context, so you might want to use it for Git repositories that have nothing to do with Guix."
  10420. msgstr ""
  10421. #. type: example
  10422. #: guix-git/doc/guix.texi:6286
  10423. #, no-wrap
  10424. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  10425. msgstr ""
  10426. #. type: Plain text
  10427. #: guix-git/doc/guix.texi:6295
  10428. msgid "By default, this command authenticates the Git checkout in the current directory; it outputs nothing and exits with exit code zero on success and non-zero on failure. @var{commit} above denotes the first commit where authentication takes place, and @var{signer} is the OpenPGP fingerprint of public key used to sign @var{commit}. Together, they form a ``channel introduction'' (@pxref{channel-authentication, channel introduction}). The options below allow you to fine-tune the process."
  10429. msgstr ""
  10430. #. type: item
  10431. #: guix-git/doc/guix.texi:6297
  10432. #, no-wrap
  10433. msgid "--repository=@var{directory}"
  10434. msgstr ""
  10435. #. type: itemx
  10436. #: guix-git/doc/guix.texi:6298
  10437. #, no-wrap
  10438. msgid "-r @var{directory}"
  10439. msgstr ""
  10440. #. type: table
  10441. #: guix-git/doc/guix.texi:6301
  10442. msgid "Open the Git repository in @var{directory} instead of the current directory."
  10443. msgstr ""
  10444. #. type: item
  10445. #: guix-git/doc/guix.texi:6302
  10446. #, no-wrap
  10447. msgid "--keyring=@var{reference}"
  10448. msgstr ""
  10449. #. type: itemx
  10450. #: guix-git/doc/guix.texi:6303
  10451. #, no-wrap
  10452. msgid "-k @var{reference}"
  10453. msgstr ""
  10454. #. type: table
  10455. #: guix-git/doc/guix.texi:6309
  10456. msgid "Load OpenPGP keyring from @var{reference}, the reference of a branch such as @code{origin/keyring} or @code{my-keyring}. The branch must contain OpenPGP public keys in @file{.key} files, either in binary form or ``ASCII-armored''. By default the keyring is loaded from the branch named @code{keyring}."
  10457. msgstr ""
  10458. #. type: item
  10459. #: guix-git/doc/guix.texi:6310
  10460. #, no-wrap
  10461. msgid "--stats"
  10462. msgstr ""
  10463. #. type: table
  10464. #: guix-git/doc/guix.texi:6312
  10465. msgid "Display commit signing statistics upon completion."
  10466. msgstr ""
  10467. #. type: item
  10468. #: guix-git/doc/guix.texi:6313
  10469. #, no-wrap
  10470. msgid "--cache-key=@var{key}"
  10471. msgstr ""
  10472. #. type: table
  10473. #: guix-git/doc/guix.texi:6317
  10474. msgid "Previously-authenticated commits are cached in a file under @file{~/.cache/guix/authentication}. This option forces the cache to be stored in file @var{key} in that directory."
  10475. msgstr ""
  10476. #. type: item
  10477. #: guix-git/doc/guix.texi:6318
  10478. #, no-wrap
  10479. msgid "--historical-authorizations=@var{file}"
  10480. msgstr ""
  10481. #. type: table
  10482. #: guix-git/doc/guix.texi:6325
  10483. msgid "By default, any commit whose parent commit(s) lack the @file{.guix-authorizations} file is considered inauthentic. In contrast, this option considers the authorizations in @var{file} for any commit that lacks @file{.guix-authorizations}. The format of @var{file} is the same as that of @file{.guix-authorizations} (@pxref{channel-authorizations, @file{.guix-authorizations} format})."
  10484. msgstr ""
  10485. #. type: Plain text
  10486. #: guix-git/doc/guix.texi:6338
  10487. msgid "GNU Guix provides several Scheme programming interfaces (APIs) to define, build, and query packages. The first interface allows users to write high-level package definitions. These definitions refer to familiar packaging concepts, such as the name and version of a package, its build system, and its dependencies. These definitions can then be turned into concrete build actions."
  10488. msgstr ""
  10489. #. type: Plain text
  10490. #: guix-git/doc/guix.texi:6344
  10491. msgid "Build actions are performed by the Guix daemon, on behalf of users. In a standard setup, the daemon has write access to the store---the @file{/gnu/store} directory---whereas users do not. The recommended setup also has the daemon perform builds in chroots, under specific build users, to minimize interference with the rest of the system."
  10492. msgstr ""
  10493. #. type: Plain text
  10494. #: guix-git/doc/guix.texi:6353
  10495. msgid "Lower-level APIs are available to interact with the daemon and the store. To instruct the daemon to perform a build action, users actually provide it with a @dfn{derivation}. A derivation is a low-level representation of the build actions to be taken, and the environment in which they should occur---derivations are to package definitions what assembly is to C programs. The term ``derivation'' comes from the fact that build results @emph{derive} from them."
  10496. msgstr ""
  10497. #. type: Plain text
  10498. #: guix-git/doc/guix.texi:6356
  10499. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  10500. msgstr ""
  10501. #. type: menuentry
  10502. #: guix-git/doc/guix.texi:6369
  10503. msgid "Programming Guix in Guile"
  10504. msgstr ""
  10505. #. type: Plain text
  10506. #: guix-git/doc/guix.texi:6385
  10507. msgid "From a programming viewpoint, the package definitions of the GNU distribution are provided by Guile modules in the @code{(gnu packages @dots{})} name space@footnote{Note that packages under the @code{(gnu packages @dots{})} module name space are not necessarily ``GNU packages''. This module naming scheme follows the usual Guile module naming convention: @code{gnu} means that these modules are distributed as part of the GNU system, and @code{packages} identifies modules that define packages.} (@pxref{Modules, Guile modules,, guile, GNU Guile Reference Manual}). For instance, the @code{(gnu packages emacs)} module exports a variable named @code{emacs}, which is bound to a @code{<package>} object (@pxref{Defining Packages})."
  10508. msgstr ""
  10509. #. type: Plain text
  10510. #: guix-git/doc/guix.texi:6392
  10511. msgid "The @code{(gnu packages @dots{})} module name space is automatically scanned for packages by the command-line tools. For instance, when running @code{guix install emacs}, all the @code{(gnu packages @dots{})} modules are scanned until one that exports a package object whose name is @code{emacs} is found. This package search facility is implemented in the @code{(gnu packages)} module."
  10512. msgstr ""
  10513. #. type: cindex
  10514. #: guix-git/doc/guix.texi:6394
  10515. #, no-wrap
  10516. msgid "package module search path"
  10517. msgstr ""
  10518. #. type: Plain text
  10519. #: guix-git/doc/guix.texi:6403
  10520. msgid "Users can store package definitions in modules with different names---e.g., @code{(my-packages emacs)}@footnote{Note that the file name and module name must match. For instance, the @code{(my-packages emacs)} module must be stored in a @file{my-packages/emacs.scm} file relative to the load path specified with @option{--load-path} or @env{GUIX_PACKAGE_PATH}. @xref{Modules and the File System,,, guile, GNU Guile Reference Manual}, for details.}. There are two ways to make these package definitions visible to the user interfaces:"
  10521. msgstr ""
  10522. #. type: enumerate
  10523. #: guix-git/doc/guix.texi:6410
  10524. msgid "By adding the directory containing your package modules to the search path with the @code{-L} flag of @command{guix package} and other commands (@pxref{Common Build Options}), or by setting the @env{GUIX_PACKAGE_PATH} environment variable described below."
  10525. msgstr ""
  10526. #. type: enumerate
  10527. #: guix-git/doc/guix.texi:6416
  10528. msgid "By defining a @dfn{channel} and configuring @command{guix pull} so that it pulls from it. A channel is essentially a Git repository containing package modules. @xref{Channels}, for more information on how to define and use channels."
  10529. msgstr ""
  10530. #. type: Plain text
  10531. #: guix-git/doc/guix.texi:6419
  10532. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  10533. msgstr ""
  10534. #. type: defvr
  10535. #: guix-git/doc/guix.texi:6420
  10536. #, no-wrap
  10537. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  10538. msgstr ""
  10539. #. type: defvr
  10540. #: guix-git/doc/guix.texi:6424
  10541. msgid "This is a colon-separated list of directories to search for additional package modules. Directories listed in this variable take precedence over the own modules of the distribution."
  10542. msgstr ""
  10543. #. type: Plain text
  10544. #: guix-git/doc/guix.texi:6432
  10545. msgid "The distribution is fully @dfn{bootstrapped} and @dfn{self-contained}: each package is built based solely on other packages in the distribution. The root of this dependency graph is a small set of @dfn{bootstrap binaries}, provided by the @code{(gnu packages bootstrap)} module. For more information on bootstrapping, @pxref{Bootstrapping}."
  10546. msgstr ""
  10547. #. type: Plain text
  10548. #: guix-git/doc/guix.texi:6440
  10549. msgid "The high-level interface to package definitions is implemented in the @code{(guix packages)} and @code{(guix build-system)} modules. As an example, the package definition, or @dfn{recipe}, for the GNU Hello package looks like this:"
  10550. msgstr ""
  10551. #. type: lisp
  10552. #: guix-git/doc/guix.texi:6448
  10553. #, no-wrap
  10554. msgid ""
  10555. "(define-module (gnu packages hello)\n"
  10556. " #:use-module (guix packages)\n"
  10557. " #:use-module (guix download)\n"
  10558. " #:use-module (guix build-system gnu)\n"
  10559. " #:use-module (guix licenses)\n"
  10560. " #:use-module (gnu packages gawk))\n"
  10561. "\n"
  10562. msgstr ""
  10563. #. type: lisp
  10564. #: guix-git/doc/guix.texi:6467
  10565. #, no-wrap
  10566. msgid ""
  10567. "(define-public hello\n"
  10568. " (package\n"
  10569. " (name \"hello\")\n"
  10570. " (version \"2.10\")\n"
  10571. " (source (origin\n"
  10572. " (method url-fetch)\n"
  10573. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  10574. " \".tar.gz\"))\n"
  10575. " (sha256\n"
  10576. " (base32\n"
  10577. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  10578. " (build-system gnu-build-system)\n"
  10579. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  10580. " (inputs `((\"gawk\" ,gawk)))\n"
  10581. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  10582. " (description \"Guess what GNU Hello prints!\")\n"
  10583. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  10584. " (license gpl3+)))\n"
  10585. msgstr ""
  10586. #. type: Plain text
  10587. #: guix-git/doc/guix.texi:6477
  10588. msgid "Without being a Scheme expert, the reader may have guessed the meaning of the various fields here. This expression binds the variable @code{hello} to a @code{<package>} object, which is essentially a record (@pxref{SRFI-9, Scheme records,, guile, GNU Guile Reference Manual}). This package object can be inspected using procedures found in the @code{(guix packages)} module; for instance, @code{(package-name hello)} returns---surprise!---@code{\"hello\"}."
  10589. msgstr ""
  10590. #. type: Plain text
  10591. #: guix-git/doc/guix.texi:6481
  10592. msgid "With luck, you may be able to import part or all of the definition of the package you are interested in from another repository, using the @code{guix import} command (@pxref{Invoking guix import})."
  10593. msgstr ""
  10594. #. type: Plain text
  10595. #: guix-git/doc/guix.texi:6487
  10596. msgid "In the example above, @code{hello} is defined in a module of its own, @code{(gnu packages hello)}. Technically, this is not strictly necessary, but it is convenient to do so: all the packages defined in modules under @code{(gnu packages @dots{})} are automatically known to the command-line tools (@pxref{Package Modules})."
  10597. msgstr ""
  10598. #. type: Plain text
  10599. #: guix-git/doc/guix.texi:6489
  10600. msgid "There are a few points worth noting in the above package definition:"
  10601. msgstr ""
  10602. #. type: itemize
  10603. #: guix-git/doc/guix.texi:6496
  10604. msgid "The @code{source} field of the package is an @code{<origin>} object (@pxref{origin Reference}, for the complete reference). Here, the @code{url-fetch} method from @code{(guix download)} is used, meaning that the source is a file to be downloaded over FTP or HTTP."
  10605. msgstr ""
  10606. #. type: itemize
  10607. #: guix-git/doc/guix.texi:6499
  10608. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  10609. msgstr ""
  10610. #. type: itemize
  10611. #: guix-git/doc/guix.texi:6506
  10612. msgid "The @code{sha256} field specifies the expected SHA256 hash of the file being downloaded. It is mandatory, and allows Guix to check the integrity of the file. The @code{(base32 @dots{})} form introduces the base32 representation of the hash. You can obtain this information with @code{guix download} (@pxref{Invoking guix download}) and @code{guix hash} (@pxref{Invoking guix hash})."
  10613. msgstr ""
  10614. #. type: cindex
  10615. #: guix-git/doc/guix.texi:6507
  10616. #, no-wrap
  10617. msgid "patches"
  10618. msgstr ""
  10619. #. type: itemize
  10620. #: guix-git/doc/guix.texi:6511
  10621. msgid "When needed, the @code{origin} form can also have a @code{patches} field listing patches to be applied, and a @code{snippet} field giving a Scheme expression to modify the source code."
  10622. msgstr ""
  10623. #. type: cindex
  10624. #: guix-git/doc/guix.texi:6513
  10625. #, no-wrap
  10626. msgid "GNU Build System"
  10627. msgstr ""
  10628. #. type: itemize
  10629. #: guix-git/doc/guix.texi:6519
  10630. msgid "The @code{build-system} field specifies the procedure to build the package (@pxref{Build Systems}). Here, @code{gnu-build-system} represents the familiar GNU Build System, where packages may be configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence."
  10631. msgstr ""
  10632. #. type: itemize
  10633. #: guix-git/doc/guix.texi:6523
  10634. msgid "When you start packaging non-trivial software, you may need tools to manipulate those build phases, manipulate files, and so on. @xref{Build Utilities}, for more on this."
  10635. msgstr ""
  10636. #. type: itemize
  10637. #: guix-git/doc/guix.texi:6529
  10638. msgid "The @code{arguments} field specifies options for the build system (@pxref{Build Systems}). Here it is interpreted by @code{gnu-build-system} as a request run @file{configure} with the @option{--enable-silent-rules} flag."
  10639. msgstr ""
  10640. #. type: findex
  10641. #: guix-git/doc/guix.texi:6530 guix-git/doc/guix.texi:6533
  10642. #, no-wrap
  10643. msgid "quote"
  10644. msgstr ""
  10645. #. type: cindex
  10646. #: guix-git/doc/guix.texi:6531
  10647. #, no-wrap
  10648. msgid "quoting"
  10649. msgstr ""
  10650. #. type: findex
  10651. #: guix-git/doc/guix.texi:6532
  10652. #, no-wrap
  10653. msgid "'"
  10654. msgstr ""
  10655. #. type: itemize
  10656. #: guix-git/doc/guix.texi:6541
  10657. msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. @xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, for details. Here the value of the @code{arguments} field is a list of arguments passed to the build system down the road, as with @code{apply} (@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual})."
  10658. msgstr ""
  10659. #. type: itemize
  10660. #: guix-git/doc/guix.texi:6547
  10661. msgid "The hash-colon (@code{#:}) sequence defines a Scheme @dfn{keyword} (@pxref{Keywords,,, guile, GNU Guile Reference Manual}), and @code{#:configure-flags} is a keyword used to pass a keyword argument to the build system (@pxref{Coding With Keywords,,, guile, GNU Guile Reference Manual})."
  10662. msgstr ""
  10663. #. type: itemize
  10664. #: guix-git/doc/guix.texi:6553
  10665. msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we define an input called @code{\"gawk\"} whose value is that of the @code{gawk} variable; @code{gawk} is itself bound to a @code{<package>} object."
  10666. msgstr ""
  10667. #. type: cindex
  10668. #: guix-git/doc/guix.texi:6554
  10669. #, no-wrap
  10670. msgid "backquote (quasiquote)"
  10671. msgstr ""
  10672. #. type: findex
  10673. #: guix-git/doc/guix.texi:6555
  10674. #, no-wrap
  10675. msgid "`"
  10676. msgstr ""
  10677. #. type: findex
  10678. #: guix-git/doc/guix.texi:6556
  10679. #, no-wrap
  10680. msgid "quasiquote"
  10681. msgstr ""
  10682. #. type: cindex
  10683. #: guix-git/doc/guix.texi:6557
  10684. #, no-wrap
  10685. msgid "comma (unquote)"
  10686. msgstr ""
  10687. #. type: findex
  10688. #: guix-git/doc/guix.texi:6558
  10689. #, no-wrap
  10690. msgid ","
  10691. msgstr ""
  10692. #. type: findex
  10693. #: guix-git/doc/guix.texi:6559
  10694. #, no-wrap
  10695. msgid "unquote"
  10696. msgstr ""
  10697. #. type: findex
  10698. #: guix-git/doc/guix.texi:6560
  10699. #, no-wrap
  10700. msgid ",@@"
  10701. msgstr ""
  10702. #. type: findex
  10703. #: guix-git/doc/guix.texi:6561
  10704. #, no-wrap
  10705. msgid "unquote-splicing"
  10706. msgstr ""
  10707. #. type: itemize
  10708. #: guix-git/doc/guix.texi:6567
  10709. msgid "Again, @code{`} (a backquote, synonymous with @code{quasiquote}) allows us to introduce a literal list in the @code{inputs} field, while @code{,} (a comma, synonymous with @code{unquote}) allows us to insert a value in that list (@pxref{Expression Syntax, unquote,, guile, GNU Guile Reference Manual})."
  10710. msgstr ""
  10711. #. type: itemize
  10712. #: guix-git/doc/guix.texi:6571
  10713. msgid "Note that GCC, Coreutils, Bash, and other essential tools do not need to be specified as inputs here. Instead, @code{gnu-build-system} takes care of ensuring that they are present (@pxref{Build Systems})."
  10714. msgstr ""
  10715. #. type: itemize
  10716. #: guix-git/doc/guix.texi:6575
  10717. msgid "However, any other dependencies need to be specified in the @code{inputs} field. Any dependency not specified here will simply be unavailable to the build process, possibly leading to a build failure."
  10718. msgstr ""
  10719. #. type: Plain text
  10720. #: guix-git/doc/guix.texi:6578
  10721. msgid "@xref{package Reference}, for a full description of possible fields."
  10722. msgstr ""
  10723. #. type: Plain text
  10724. #: guix-git/doc/guix.texi:6589
  10725. msgid "Once a package definition is in place, the package may actually be built using the @code{guix build} command-line tool (@pxref{Invoking guix build}), troubleshooting any build failures you encounter (@pxref{Debugging Build Failures}). You can easily jump back to the package definition using the @command{guix edit} command (@pxref{Invoking guix edit}). @xref{Packaging Guidelines}, for more information on how to test package definitions, and @ref{Invoking guix lint}, for information on how to check a definition for style conformance."
  10726. msgstr ""
  10727. #. type: vindex
  10728. #: guix-git/doc/guix.texi:6589
  10729. #, no-wrap
  10730. msgid "GUIX_PACKAGE_PATH"
  10731. msgstr ""
  10732. #. type: Plain text
  10733. #: guix-git/doc/guix.texi:6593
  10734. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  10735. msgstr ""
  10736. #. type: Plain text
  10737. #: guix-git/doc/guix.texi:6597
  10738. msgid "Finally, updating the package definition to a new upstream version can be partly automated by the @command{guix refresh} command (@pxref{Invoking guix refresh})."
  10739. msgstr ""
  10740. #. type: Plain text
  10741. #: guix-git/doc/guix.texi:6603
  10742. msgid "Behind the scenes, a derivation corresponding to the @code{<package>} object is first computed by the @code{package-derivation} procedure. That derivation is stored in a @file{.drv} file under @file{/gnu/store}. The build actions it prescribes may then be realized by using the @code{build-derivations} procedure (@pxref{The Store})."
  10743. msgstr ""
  10744. #. type: deffn
  10745. #: guix-git/doc/guix.texi:6604
  10746. #, no-wrap
  10747. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  10748. msgstr ""
  10749. #. type: deffn
  10750. #: guix-git/doc/guix.texi:6607
  10751. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  10752. msgstr ""
  10753. #. type: deffn
  10754. #: guix-git/doc/guix.texi:6613
  10755. msgid "@var{package} must be a valid @code{<package>} object, and @var{system} must be a string denoting the target system type---e.g., @code{\"x86_64-linux\"} for an x86_64 Linux-based GNU system. @var{store} must be a connection to the daemon, which operates on the store (@pxref{The Store})."
  10756. msgstr ""
  10757. #. type: Plain text
  10758. #: guix-git/doc/guix.texi:6619
  10759. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  10760. msgstr ""
  10761. #. type: deffn
  10762. #: guix-git/doc/guix.texi:6620
  10763. #, no-wrap
  10764. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  10765. msgstr ""
  10766. #. type: deffn
  10767. #: guix-git/doc/guix.texi:6624
  10768. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  10769. msgstr ""
  10770. #. type: deffn
  10771. #: guix-git/doc/guix.texi:6628
  10772. msgid "@var{target} must be a valid GNU triplet denoting the target hardware and operating system, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying Target Triplets,,, autoconf, Autoconf})."
  10773. msgstr ""
  10774. #. type: Plain text
  10775. #: guix-git/doc/guix.texi:6632
  10776. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  10777. msgstr ""
  10778. #. type: subsection
  10779. #: guix-git/doc/guix.texi:6640
  10780. #, no-wrap
  10781. msgid "@code{package} Reference"
  10782. msgstr ""
  10783. #. type: Plain text
  10784. #: guix-git/doc/guix.texi:6644
  10785. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  10786. msgstr ""
  10787. #. type: deftp
  10788. #: guix-git/doc/guix.texi:6645
  10789. #, no-wrap
  10790. msgid "{Data Type} package"
  10791. msgstr ""
  10792. #. type: deftp
  10793. #: guix-git/doc/guix.texi:6647
  10794. msgid "This is the data type representing a package recipe."
  10795. msgstr ""
  10796. #. type: table
  10797. #: guix-git/doc/guix.texi:6651
  10798. msgid "The name of the package, as a string."
  10799. msgstr ""
  10800. #. type: code{#1}
  10801. #: guix-git/doc/guix.texi:6652
  10802. #, no-wrap
  10803. msgid "version"
  10804. msgstr ""
  10805. #. type: table
  10806. #: guix-git/doc/guix.texi:6654
  10807. msgid "The version of the package, as a string."
  10808. msgstr ""
  10809. #. type: code{#1}
  10810. #: guix-git/doc/guix.texi:6655 guix-git/doc/guix.texi:11958
  10811. #: guix-git/doc/guix.texi:14203 guix-git/doc/guix.texi:14706
  10812. #, no-wrap
  10813. msgid "source"
  10814. msgstr ""
  10815. #. type: table
  10816. #: guix-git/doc/guix.texi:6662
  10817. msgid "An object telling how the source code for the package should be acquired. Most of the time, this is an @code{origin} object, which denotes a file fetched from the Internet (@pxref{origin Reference}). It can also be any other ``file-like'' object such as a @code{local-file}, which denotes a file from the local file system (@pxref{G-Expressions, @code{local-file}})."
  10818. msgstr ""
  10819. #. type: code{#1}
  10820. #: guix-git/doc/guix.texi:6663
  10821. #, no-wrap
  10822. msgid "build-system"
  10823. msgstr ""
  10824. #. type: table
  10825. #: guix-git/doc/guix.texi:6666
  10826. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  10827. msgstr ""
  10828. #. type: item
  10829. #: guix-git/doc/guix.texi:6667 guix-git/doc/guix.texi:16669
  10830. #, no-wrap
  10831. msgid "@code{arguments} (default: @code{'()})"
  10832. msgstr ""
  10833. #. type: table
  10834. #: guix-git/doc/guix.texi:6670
  10835. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  10836. msgstr ""
  10837. #. type: item
  10838. #: guix-git/doc/guix.texi:6671
  10839. #, no-wrap
  10840. msgid "@code{inputs} (default: @code{'()})"
  10841. msgstr ""
  10842. #. type: itemx
  10843. #: guix-git/doc/guix.texi:6672
  10844. #, no-wrap
  10845. msgid "@code{native-inputs} (default: @code{'()})"
  10846. msgstr ""
  10847. #. type: itemx
  10848. #: guix-git/doc/guix.texi:6673
  10849. #, no-wrap
  10850. msgid "@code{propagated-inputs} (default: @code{'()})"
  10851. msgstr ""
  10852. #. type: cindex
  10853. #: guix-git/doc/guix.texi:6674
  10854. #, no-wrap
  10855. msgid "inputs, of packages"
  10856. msgstr ""
  10857. #. type: table
  10858. #: guix-git/doc/guix.texi:6682
  10859. msgid "These fields list dependencies of the package. Each one is a list of tuples, where each tuple has a label for the input (a string) as its first element, a package, origin, or derivation as its second element, and optionally the name of the output thereof that should be used, which defaults to @code{\"out\"} (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:"
  10860. msgstr ""
  10861. #. type: lisp
  10862. #: guix-git/doc/guix.texi:6687
  10863. #, no-wrap
  10864. msgid ""
  10865. "`((\"libffi\" ,libffi)\n"
  10866. " (\"libunistring\" ,libunistring)\n"
  10867. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of Glib\n"
  10868. msgstr ""
  10869. #. type: cindex
  10870. #: guix-git/doc/guix.texi:6689
  10871. #, no-wrap
  10872. msgid "cross compilation, package dependencies"
  10873. msgstr ""
  10874. #. type: table
  10875. #: guix-git/doc/guix.texi:6695
  10876. msgid "The distinction between @code{native-inputs} and @code{inputs} is necessary when considering cross-compilation. When cross-compiling, dependencies listed in @code{inputs} are built for the @emph{target} architecture; conversely, dependencies listed in @code{native-inputs} are built for the architecture of the @emph{build} machine."
  10877. msgstr ""
  10878. #. type: table
  10879. #: guix-git/doc/guix.texi:6700
  10880. msgid "@code{native-inputs} is typically used to list tools needed at build time, but not at run time, such as Autoconf, Automake, pkg-config, Gettext, or Bison. @command{guix lint} can report likely mistakes in this area (@pxref{Invoking guix lint})."
  10881. msgstr ""
  10882. #. type: anchor{#1}
  10883. #: guix-git/doc/guix.texi:6708
  10884. msgid "package-propagated-inputs"
  10885. msgstr ""
  10886. #. type: table
  10887. #: guix-git/doc/guix.texi:6708
  10888. msgid "Lastly, @code{propagated-inputs} is similar to @code{inputs}, but the specified packages will be automatically installed to profiles (@pxref{Features, the role of profiles in Guix}) alongside the package they belong to (@pxref{package-cmd-propagated-inputs, @command{guix package}}, for information on how @command{guix package} deals with propagated inputs)."
  10889. msgstr ""
  10890. #. type: table
  10891. #: guix-git/doc/guix.texi:6712
  10892. msgid "For example this is necessary when packaging a C/C++ library that needs headers of another library to compile, or when a pkg-config file refers to another one @i{via} its @code{Requires} field."
  10893. msgstr ""
  10894. #. type: table
  10895. #: guix-git/doc/guix.texi:6719
  10896. msgid "Another example where @code{propagated-inputs} is useful is for languages that lack a facility to record the run-time search path akin to the @code{RUNPATH} of ELF files; this includes Guile, Python, Perl, and more. When packaging libraries written in those languages, ensure they can find library code they depend on at run time by listing run-time dependencies in @code{propagated-inputs} rather than @code{inputs}."
  10897. msgstr ""
  10898. #. type: item
  10899. #: guix-git/doc/guix.texi:6720
  10900. #, no-wrap
  10901. msgid "@code{outputs} (default: @code{'(\"out\")})"
  10902. msgstr ""
  10903. #. type: table
  10904. #: guix-git/doc/guix.texi:6723
  10905. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  10906. msgstr ""
  10907. #. type: item
  10908. #: guix-git/doc/guix.texi:6724
  10909. #, no-wrap
  10910. msgid "@code{native-search-paths} (default: @code{'()})"
  10911. msgstr ""
  10912. #. type: itemx
  10913. #: guix-git/doc/guix.texi:6725
  10914. #, no-wrap
  10915. msgid "@code{search-paths} (default: @code{'()})"
  10916. msgstr ""
  10917. #. type: table
  10918. #: guix-git/doc/guix.texi:6728
  10919. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package."
  10920. msgstr ""
  10921. #. type: item
  10922. #: guix-git/doc/guix.texi:6729
  10923. #, no-wrap
  10924. msgid "@code{replacement} (default: @code{#f})"
  10925. msgstr ""
  10926. #. type: table
  10927. #: guix-git/doc/guix.texi:6733
  10928. msgid "This must be either @code{#f} or a package object that will be used as a @dfn{replacement} for this package. @xref{Security Updates, grafts}, for details."
  10929. msgstr ""
  10930. #. type: item
  10931. #: guix-git/doc/guix.texi:6734 guix-git/doc/guix.texi:11950
  10932. #, no-wrap
  10933. msgid "synopsis"
  10934. msgstr ""
  10935. #. type: table
  10936. #: guix-git/doc/guix.texi:6736
  10937. msgid "A one-line description of the package."
  10938. msgstr ""
  10939. #. type: code{#1}
  10940. #: guix-git/doc/guix.texi:6737 guix-git/doc/guix.texi:11951
  10941. #: guix-git/doc/guix.texi:33811 guix-git/doc/guix.texi:33962
  10942. #, no-wrap
  10943. msgid "description"
  10944. msgstr ""
  10945. #. type: table
  10946. #: guix-git/doc/guix.texi:6739
  10947. msgid "A more elaborate description of the package."
  10948. msgstr ""
  10949. #. type: code{#1}
  10950. #: guix-git/doc/guix.texi:6740
  10951. #, no-wrap
  10952. msgid "license"
  10953. msgstr ""
  10954. #. type: cindex
  10955. #: guix-git/doc/guix.texi:6741
  10956. #, no-wrap
  10957. msgid "license, of packages"
  10958. msgstr ""
  10959. #. type: table
  10960. #: guix-git/doc/guix.texi:6744
  10961. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  10962. msgstr ""
  10963. #. type: itemx
  10964. #: guix-git/doc/guix.texi:6745 guix-git/doc/guix.texi:11959
  10965. #, no-wrap
  10966. msgid "home-page"
  10967. msgstr ""
  10968. #. type: table
  10969. #: guix-git/doc/guix.texi:6747
  10970. msgid "The URL to the home-page of the package, as a string."
  10971. msgstr ""
  10972. #. type: item
  10973. #: guix-git/doc/guix.texi:6748
  10974. #, no-wrap
  10975. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  10976. msgstr ""
  10977. #. type: table
  10978. #: guix-git/doc/guix.texi:6751
  10979. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  10980. msgstr ""
  10981. #. type: item
  10982. #: guix-git/doc/guix.texi:6752
  10983. #, no-wrap
  10984. msgid "@code{location} (default: source location of the @code{package} form)"
  10985. msgstr ""
  10986. #. type: table
  10987. #: guix-git/doc/guix.texi:6756
  10988. msgid "The source location of the package. It is useful to override this when inheriting from another package, in which case this field is not automatically corrected."
  10989. msgstr ""
  10990. #. type: deffn
  10991. #: guix-git/doc/guix.texi:6759
  10992. #, no-wrap
  10993. msgid "{Scheme Syntax} this-package"
  10994. msgstr ""
  10995. #. type: deffn
  10996. #: guix-git/doc/guix.texi:6762
  10997. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  10998. msgstr ""
  10999. #. type: deffn
  11000. #: guix-git/doc/guix.texi:6765
  11001. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  11002. msgstr ""
  11003. #. type: lisp
  11004. #: guix-git/doc/guix.texi:6770
  11005. #, no-wrap
  11006. msgid ""
  11007. "(package\n"
  11008. " (name \"guile\")\n"
  11009. " ;; ...\n"
  11010. "\n"
  11011. msgstr ""
  11012. #. type: lisp
  11013. #: guix-git/doc/guix.texi:6776
  11014. #, no-wrap
  11015. msgid ""
  11016. " ;; When cross-compiled, Guile, for example, depends on\n"
  11017. " ;; a native version of itself. Add it here.\n"
  11018. " (native-inputs (if (%current-target-system)\n"
  11019. " `((\"self\" ,this-package))\n"
  11020. " '())))\n"
  11021. msgstr ""
  11022. #. type: deffn
  11023. #: guix-git/doc/guix.texi:6779
  11024. msgid "It is an error to refer to @code{this-package} outside a package definition."
  11025. msgstr ""
  11026. #. type: Plain text
  11027. #: guix-git/doc/guix.texi:6785
  11028. msgid "Because packages are regular Scheme objects that capture a complete dependency graph and associated build procedures, it is often useful to write procedures that take a package and return a modified version thereof according to some parameters. Below are a few examples."
  11029. msgstr ""
  11030. #. type: cindex
  11031. #: guix-git/doc/guix.texi:6786
  11032. #, no-wrap
  11033. msgid "tool chain, choosing a package's tool chain"
  11034. msgstr ""
  11035. #. type: deffn
  11036. #: guix-git/doc/guix.texi:6787
  11037. #, no-wrap
  11038. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  11039. msgstr ""
  11040. #. type: deffn
  11041. #: guix-git/doc/guix.texi:6792
  11042. msgid "Return a variant of @var{package} that uses @var{toolchain} instead of the default GNU C/C++ toolchain. @var{toolchain} must be a list of inputs (label/package tuples) providing equivalent functionality, such as the @code{gcc-toolchain} package."
  11043. msgstr ""
  11044. #. type: deffn
  11045. #: guix-git/doc/guix.texi:6796
  11046. msgid "The example below returns a variant of the @code{hello} package built with GCC@tie{}10.x and the rest of the GNU tool chain (Binutils and the GNU C Library) instead of the default tool chain:"
  11047. msgstr ""
  11048. #. type: lisp
  11049. #: guix-git/doc/guix.texi:6800
  11050. #, no-wrap
  11051. msgid ""
  11052. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  11053. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  11054. msgstr ""
  11055. #. type: deffn
  11056. #: guix-git/doc/guix.texi:6808
  11057. msgid "The build tool chain is part of the @dfn{implicit inputs} of packages---it's usually not listed as part of the various ``inputs'' fields and is instead pulled in by the build system. Consequently, this procedure works by changing the build system of @var{package} so that it pulls in @var{toolchain} instead of the defaults. @ref{Build Systems}, for more on build systems."
  11058. msgstr ""
  11059. #. type: subsection
  11060. #: guix-git/doc/guix.texi:6811
  11061. #, no-wrap
  11062. msgid "@code{origin} Reference"
  11063. msgstr ""
  11064. #. type: Plain text
  11065. #: guix-git/doc/guix.texi:6819
  11066. msgid "This section documents @dfn{origins}. An @code{origin} declaration specifies data that must be ``produced''---downloaded, usually---and whose content hash is known in advance. Origins are primarily used to represent the source code of packages (@pxref{Defining Packages}). For that reason, the @code{origin} form allows you to declare patches to apply to the original source code as well as code snippets to modify it."
  11067. msgstr ""
  11068. #. type: deftp
  11069. #: guix-git/doc/guix.texi:6820
  11070. #, no-wrap
  11071. msgid "{Data Type} origin"
  11072. msgstr ""
  11073. #. type: deftp
  11074. #: guix-git/doc/guix.texi:6822
  11075. msgid "This is the data type representing a source code origin."
  11076. msgstr ""
  11077. #. type: code{#1}
  11078. #: guix-git/doc/guix.texi:6824 guix-git/doc/guix.texi:24843
  11079. #, no-wrap
  11080. msgid "uri"
  11081. msgstr ""
  11082. #. type: table
  11083. #: guix-git/doc/guix.texi:6829
  11084. msgid "An object containing the URI of the source. The object type depends on the @code{method} (see below). For example, when using the @var{url-fetch} method of @code{(guix download)}, the valid @code{uri} values are: a URL represented as a string, or a list thereof."
  11085. msgstr ""
  11086. #. type: cindex
  11087. #: guix-git/doc/guix.texi:6830
  11088. #, no-wrap
  11089. msgid "fixed-output derivations, for download"
  11090. msgstr ""
  11091. #. type: code{#1}
  11092. #: guix-git/doc/guix.texi:6831
  11093. #, no-wrap
  11094. msgid "method"
  11095. msgstr ""
  11096. #. type: table
  11097. #: guix-git/doc/guix.texi:6838
  11098. msgid "A monadic procedure that handles the given URI@. The procedure must accept at least three arguments: the value of the @code{uri} field and the hash algorithm and hash value specified by the @code{hash} field. It must return a store item or a derivation in the store monad (@pxref{The Store Monad}); most methods return a fixed-output derivation (@pxref{Derivations})."
  11099. msgstr ""
  11100. #. type: table
  11101. #: guix-git/doc/guix.texi:6842
  11102. msgid "Commonly used methods include @code{url-fetch}, which fetches data from a URL, and @code{git-fetch}, which fetches data from a Git repository (see below)."
  11103. msgstr ""
  11104. #. type: code{#1}
  11105. #: guix-git/doc/guix.texi:6843
  11106. #, no-wrap
  11107. msgid "sha256"
  11108. msgstr ""
  11109. #. type: table
  11110. #: guix-git/doc/guix.texi:6847
  11111. msgid "A bytevector containing the SHA-256 hash of the source. This is equivalent to providing a @code{content-hash} SHA256 object in the @code{hash} field described below."
  11112. msgstr ""
  11113. #. type: code{#1}
  11114. #: guix-git/doc/guix.texi:6848
  11115. #, no-wrap
  11116. msgid "hash"
  11117. msgstr ""
  11118. #. type: table
  11119. #: guix-git/doc/guix.texi:6851
  11120. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  11121. msgstr ""
  11122. #. type: table
  11123. #: guix-git/doc/guix.texi:6855
  11124. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  11125. msgstr ""
  11126. #. type: item
  11127. #: guix-git/doc/guix.texi:6856
  11128. #, no-wrap
  11129. msgid "@code{file-name} (default: @code{#f})"
  11130. msgstr ""
  11131. #. type: table
  11132. #: guix-git/doc/guix.texi:6862
  11133. msgid "The file name under which the source code should be saved. When this is @code{#f}, a sensible default value will be used in most cases. In case the source is fetched from a URL, the file name from the URL will be used. For version control checkouts, it is recommended to provide the file name explicitly because the default is not very descriptive."
  11134. msgstr ""
  11135. #. type: item
  11136. #: guix-git/doc/guix.texi:6863
  11137. #, no-wrap
  11138. msgid "@code{patches} (default: @code{'()})"
  11139. msgstr ""
  11140. #. type: table
  11141. #: guix-git/doc/guix.texi:6866
  11142. msgid "A list of file names, origins, or file-like objects (@pxref{G-Expressions, file-like objects}) pointing to patches to be applied to the source."
  11143. msgstr ""
  11144. #. type: table
  11145. #: guix-git/doc/guix.texi:6870
  11146. msgid "This list of patches must be unconditional. In particular, it cannot depend on the value of @code{%current-system} or @code{%current-target-system}."
  11147. msgstr ""
  11148. #. type: item
  11149. #: guix-git/doc/guix.texi:6871
  11150. #, no-wrap
  11151. msgid "@code{snippet} (default: @code{#f})"
  11152. msgstr ""
  11153. #. type: table
  11154. #: guix-git/doc/guix.texi:6875
  11155. msgid "A G-expression (@pxref{G-Expressions}) or S-expression that will be run in the source directory. This is a convenient way to modify the source, sometimes more convenient than a patch."
  11156. msgstr ""
  11157. #. type: item
  11158. #: guix-git/doc/guix.texi:6876
  11159. #, no-wrap
  11160. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  11161. msgstr ""
  11162. #. type: table
  11163. #: guix-git/doc/guix.texi:6879
  11164. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  11165. msgstr ""
  11166. #. type: item
  11167. #: guix-git/doc/guix.texi:6880
  11168. #, no-wrap
  11169. msgid "@code{patch-inputs} (default: @code{#f})"
  11170. msgstr ""
  11171. #. type: table
  11172. #: guix-git/doc/guix.texi:6884
  11173. msgid "Input packages or derivations to the patching process. When this is @code{#f}, the usual set of inputs necessary for patching are provided, such as GNU@tie{}Patch."
  11174. msgstr ""
  11175. #. type: item
  11176. #: guix-git/doc/guix.texi:6885 guix-git/doc/guix.texi:24716
  11177. #, no-wrap
  11178. msgid "@code{modules} (default: @code{'()})"
  11179. msgstr ""
  11180. #. type: table
  11181. #: guix-git/doc/guix.texi:6888
  11182. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  11183. msgstr ""
  11184. #. type: item
  11185. #: guix-git/doc/guix.texi:6889
  11186. #, no-wrap
  11187. msgid "@code{patch-guile} (default: @code{#f})"
  11188. msgstr ""
  11189. #. type: table
  11190. #: guix-git/doc/guix.texi:6892
  11191. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  11192. msgstr ""
  11193. #. type: deftp
  11194. #: guix-git/doc/guix.texi:6895
  11195. #, no-wrap
  11196. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  11197. msgstr ""
  11198. #. type: deftp
  11199. #: guix-git/doc/guix.texi:6899
  11200. msgid "Construct a content hash object for the given @var{algorithm}, and with @var{value} as its hash value. When @var{algorithm} is omitted, assume it is @code{sha256}."
  11201. msgstr ""
  11202. #. type: deftp
  11203. #: guix-git/doc/guix.texi:6902
  11204. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  11205. msgstr ""
  11206. #. type: deftp
  11207. #: guix-git/doc/guix.texi:6904
  11208. msgid "The following forms are all equivalent:"
  11209. msgstr ""
  11210. #. type: lisp
  11211. #: guix-git/doc/guix.texi:6913
  11212. #, no-wrap
  11213. msgid ""
  11214. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  11215. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  11216. " sha256)\n"
  11217. "(content-hash (base32\n"
  11218. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  11219. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  11220. " sha256)\n"
  11221. msgstr ""
  11222. #. type: deftp
  11223. #: guix-git/doc/guix.texi:6918
  11224. msgid "Technically, @code{content-hash} is currently implemented as a macro. It performs sanity checks at macro-expansion time, when possible, such as ensuring that @var{value} has the right size for @var{algorithm}."
  11225. msgstr ""
  11226. #. type: Plain text
  11227. #: guix-git/doc/guix.texi:6924
  11228. msgid "As we have seen above, how exactly the data an origin refers to is retrieved is determined by its @code{method} field. The @code{(guix download)} module provides the most common method, @code{url-fetch}, described below."
  11229. msgstr ""
  11230. #. type: deffn
  11231. #: guix-git/doc/guix.texi:6925
  11232. #, no-wrap
  11233. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  11234. msgstr ""
  11235. #. type: deffn
  11236. #: guix-git/doc/guix.texi:6933
  11237. msgid "[name] [#:executable? #f] Return a fixed-output derivation that fetches data from @var{url} (a string, or a list of strings denoting alternate URLs), which is expected to have hash @var{hash} of type @var{hash-algo} (a symbol). By default, the file name is the base name of URL; optionally, @var{name} can specify a different file name. When @var{executable?} is true, make the downloaded file executable."
  11238. msgstr ""
  11239. #. type: deffn
  11240. #: guix-git/doc/guix.texi:6936
  11241. msgid "When one of the URL starts with @code{mirror://}, then its host part is interpreted as the name of a mirror scheme, taken from @file{%mirror-file}."
  11242. msgstr ""
  11243. #. type: deffn
  11244. #: guix-git/doc/guix.texi:6939
  11245. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  11246. msgstr ""
  11247. #. type: Plain text
  11248. #: guix-git/doc/guix.texi:6945
  11249. msgid "Likewise, the @code{(guix git-download)} module defines the @code{git-fetch} origin method, which fetches data from a Git version control repository, and the @code{git-reference} data type to describe the repository and revision to fetch."
  11250. msgstr ""
  11251. #. type: deffn
  11252. #: guix-git/doc/guix.texi:6946
  11253. #, no-wrap
  11254. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  11255. msgstr ""
  11256. #. type: deffn
  11257. #: guix-git/doc/guix.texi:6951
  11258. msgid "Return a fixed-output derivation that fetches @var{ref}, a @code{<git-reference>} object. The output is expected to have recursive hash @var{hash} of type @var{hash-algo} (a symbol). Use @var{name} as the file name, or a generic name if @code{#f}."
  11259. msgstr ""
  11260. #. type: deftp
  11261. #: guix-git/doc/guix.texi:6953
  11262. #, no-wrap
  11263. msgid "{Data Type} git-reference"
  11264. msgstr ""
  11265. #. type: deftp
  11266. #: guix-git/doc/guix.texi:6956
  11267. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  11268. msgstr ""
  11269. #. type: code{#1}
  11270. #: guix-git/doc/guix.texi:6958 guix-git/doc/guix.texi:22478
  11271. #, no-wrap
  11272. msgid "url"
  11273. msgstr ""
  11274. #. type: table
  11275. #: guix-git/doc/guix.texi:6960
  11276. msgid "The URL of the Git repository to clone."
  11277. msgstr ""
  11278. #. type: code{#1}
  11279. #: guix-git/doc/guix.texi:6961
  11280. #, no-wrap
  11281. msgid "commit"
  11282. msgstr "úprava"
  11283. #. type: table
  11284. #: guix-git/doc/guix.texi:6965
  11285. msgid "This string denotes either the commit to fetch (a hexadecimal string, either the full SHA1 commit or a ``short'' commit string; the latter is not recommended) or the tag to fetch."
  11286. msgstr ""
  11287. #. type: item
  11288. #: guix-git/doc/guix.texi:6966
  11289. #, no-wrap
  11290. msgid "@code{recursive?} (default: @code{#f})"
  11291. msgstr ""
  11292. #. type: table
  11293. #: guix-git/doc/guix.texi:6968
  11294. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  11295. msgstr ""
  11296. #. type: deftp
  11297. #: guix-git/doc/guix.texi:6972
  11298. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  11299. msgstr ""
  11300. #. type: lisp
  11301. #: guix-git/doc/guix.texi:6977
  11302. #, no-wrap
  11303. msgid ""
  11304. "(git-reference\n"
  11305. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11306. " (commit \"v2.10\"))\n"
  11307. msgstr ""
  11308. #. type: deftp
  11309. #: guix-git/doc/guix.texi:6981
  11310. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  11311. msgstr ""
  11312. #. type: lisp
  11313. #: guix-git/doc/guix.texi:6986
  11314. #, no-wrap
  11315. msgid ""
  11316. "(git-reference\n"
  11317. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11318. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  11319. msgstr ""
  11320. #. type: Plain text
  11321. #: guix-git/doc/guix.texi:6992
  11322. msgid "For Mercurial repositories, the module @code{(guix hg-download)} defines the @code{hg-fetch} origin method and @code{hg-reference} data type for support of the Mercurial version control system."
  11323. msgstr ""
  11324. #. type: deffn
  11325. #: guix-git/doc/guix.texi:6993
  11326. #, no-wrap
  11327. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  11328. msgstr ""
  11329. #. type: deffn
  11330. #: guix-git/doc/guix.texi:6999
  11331. msgid "[name] Return a fixed-output derivation that fetches @var{ref}, a @code{<hg-reference>} object. The output is expected to have recursive hash @var{hash} of type @var{hash-algo} (a symbol). Use @var{name} as the file name, or a generic name if @code{#false}."
  11332. msgstr ""
  11333. #. type: cindex
  11334. #: guix-git/doc/guix.texi:7004
  11335. #, no-wrap
  11336. msgid "customizing packages"
  11337. msgstr ""
  11338. #. type: cindex
  11339. #: guix-git/doc/guix.texi:7005
  11340. #, no-wrap
  11341. msgid "variants, of packages"
  11342. msgstr ""
  11343. #. type: Plain text
  11344. #: guix-git/doc/guix.texi:7015
  11345. msgid "One of the nice things with Guix is that, given a package definition, you can easily @emph{derive} variants of that package---for a different upstream version, with different dependencies, different compilation options, and so on. Some of these custom packages can be defined straight from the command line (@pxref{Package Transformation Options}). This section describes how to define package variants in code. This can be useful in ``manifests'' (@pxref{profile-manifest, @option{--manifest}}) and in your own package collection (@pxref{Creating a Channel}), among others!"
  11346. msgstr ""
  11347. #. type: cindex
  11348. #: guix-git/doc/guix.texi:7016
  11349. #, no-wrap
  11350. msgid "inherit, for package definitions"
  11351. msgstr ""
  11352. #. type: Plain text
  11353. #: guix-git/doc/guix.texi:7023
  11354. msgid "As discussed earlier, packages are first-class objects in the Scheme language. The @code{(guix packages)} module provides the @code{package} construct to define new package objects (@pxref{package Reference}). The easiest way to define a package variant is using the @code{inherit} keyword together with @code{package}. This allows you to inherit from a package definition while overriding the fields you want."
  11355. msgstr ""
  11356. #. type: Plain text
  11357. #: guix-git/doc/guix.texi:7028
  11358. msgid "For example, given the @code{hello} variable, which contains a definition for the current version of GNU@tie{}Hello, here's how you would define a variant for version 2.2 (released in 2006, it's vintage!):"
  11359. msgstr ""
  11360. #. type: lisp
  11361. #: guix-git/doc/guix.texi:7031
  11362. #, no-wrap
  11363. msgid ""
  11364. "(use-modules (gnu packages base)) ;for 'hello'\n"
  11365. "\n"
  11366. msgstr ""
  11367. #. type: lisp
  11368. #: guix-git/doc/guix.texi:7043
  11369. #, no-wrap
  11370. msgid ""
  11371. "(define hello-2.2\n"
  11372. " (package\n"
  11373. " (inherit hello)\n"
  11374. " (version \"2.2\")\n"
  11375. " (source (origin\n"
  11376. " (method url-fetch)\n"
  11377. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11378. " \".tar.gz\"))\n"
  11379. " (sha256\n"
  11380. " (base32\n"
  11381. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  11382. msgstr ""
  11383. #. type: Plain text
  11384. #: guix-git/doc/guix.texi:7052
  11385. msgid "The example above corresponds to what the @option{--with-source} package transformation option does. Essentially @code{hello-2.2} preserves all the fields of @code{hello}, except @code{version} and @code{source}, which it overrides. Note that the original @code{hello} variable is still there, in the @code{(gnu packages base)} module, unchanged. When you define a custom package like this, you are really @emph{adding} a new package definition; the original one remains available."
  11386. msgstr ""
  11387. #. type: Plain text
  11388. #: guix-git/doc/guix.texi:7058
  11389. msgid "You can just as well define variants with a different set of dependencies than the original package. For example, the default @code{gdb} package depends on @code{guile}, but since that is an optional dependency, you can define a variant that removes that dependency like so:"
  11390. msgstr ""
  11391. #. type: lisp
  11392. #: guix-git/doc/guix.texi:7062
  11393. #, no-wrap
  11394. msgid ""
  11395. "(use-modules (gnu packages gdb) ;for 'gdb'\n"
  11396. " (srfi srfi-1)) ;for 'alist-delete'\n"
  11397. "\n"
  11398. msgstr ""
  11399. #. type: lisp
  11400. #: guix-git/doc/guix.texi:7068
  11401. #, no-wrap
  11402. msgid ""
  11403. "(define gdb-sans-guile\n"
  11404. " (package\n"
  11405. " (inherit gdb)\n"
  11406. " (inputs (alist-delete \"guile\"\n"
  11407. " (package-inputs gdb)))))\n"
  11408. msgstr ""
  11409. #. type: Plain text
  11410. #: guix-git/doc/guix.texi:7074
  11411. msgid "The @code{alist-delete} call above removes the tuple from the @code{inputs} field that has @code{\"guile\"} as its first element (@pxref{SRFI-1 Association Lists,,, guile, GNU Guile Reference Manual})."
  11412. msgstr ""
  11413. #. type: Plain text
  11414. #: guix-git/doc/guix.texi:7082
  11415. msgid "In some cases, you may find it useful to write functions (``procedures'', in Scheme parlance) that return a package based on some parameters. For example, consider the @code{luasocket} library for the Lua programming language. We want to create @code{luasocket} packages for major versions of Lua. One way to do that is to define a procedure that takes a Lua package and returns a @code{luasocket} package that depends on it:"
  11416. msgstr ""
  11417. #. type: lisp
  11418. #: guix-git/doc/guix.texi:7093
  11419. #, no-wrap
  11420. msgid ""
  11421. "(define (make-lua-socket name lua)\n"
  11422. " ;; Return a luasocket package built with LUA.\n"
  11423. " (package\n"
  11424. " (name name)\n"
  11425. " (version \"3.0\")\n"
  11426. " ;; several fields omitted\n"
  11427. " (inputs\n"
  11428. " `((\"lua\" ,lua)))\n"
  11429. " (synopsis \"Socket library for Lua\")))\n"
  11430. "\n"
  11431. msgstr ""
  11432. #. type: lisp
  11433. #: guix-git/doc/guix.texi:7096
  11434. #, no-wrap
  11435. msgid ""
  11436. "(define-public lua5.1-socket\n"
  11437. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  11438. "\n"
  11439. msgstr ""
  11440. #. type: lisp
  11441. #: guix-git/doc/guix.texi:7099
  11442. #, no-wrap
  11443. msgid ""
  11444. "(define-public lua5.2-socket\n"
  11445. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  11446. msgstr ""
  11447. #. type: Plain text
  11448. #: guix-git/doc/guix.texi:7107
  11449. msgid "Here we have defined packages @code{lua5.1-socket} and @code{lua5.2-socket} by calling @code{make-lua-socket} with different arguments. @xref{Procedures,,, guile, GNU Guile Reference Manual}, for more info on procedures. Having top-level public definitions for these two packages means that they can be referred to from the command line (@pxref{Package Modules})."
  11450. msgstr ""
  11451. #. type: cindex
  11452. #: guix-git/doc/guix.texi:7108
  11453. #, no-wrap
  11454. msgid "package transformations"
  11455. msgstr ""
  11456. #. type: Plain text
  11457. #: guix-git/doc/guix.texi:7113
  11458. msgid "These are pretty simple package variants. As a convenience, the @code{(guix transformations)} module provides a high-level interface that directly maps to the more sophisticated package transformation options (@pxref{Package Transformation Options}):"
  11459. msgstr ""
  11460. #. type: deffn
  11461. #: guix-git/doc/guix.texi:7114
  11462. #, no-wrap
  11463. msgid "{Scheme Procedure} options->transformation @var{opts}"
  11464. msgstr ""
  11465. #. type: deffn
  11466. #: guix-git/doc/guix.texi:7118
  11467. msgid "Return a procedure that, when passed an object to build (package, derivation, etc.), applies the transformations specified by @var{opts} and returns the resulting objects. @var{opts} must be a list of symbol/string pairs such as:"
  11468. msgstr ""
  11469. #. type: lisp
  11470. #: guix-git/doc/guix.texi:7122
  11471. #, no-wrap
  11472. msgid ""
  11473. "((with-branch . \"guile-gcrypt=master\")\n"
  11474. " (without-tests . \"libgcrypt\"))\n"
  11475. msgstr ""
  11476. #. type: deffn
  11477. #: guix-git/doc/guix.texi:7126
  11478. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  11479. msgstr ""
  11480. #. type: Plain text
  11481. #: guix-git/doc/guix.texi:7129
  11482. msgid "For instance, a manifest equivalent to this command:"
  11483. msgstr ""
  11484. #. type: example
  11485. #: guix-git/doc/guix.texi:7134
  11486. #, no-wrap
  11487. msgid ""
  11488. "guix build guix \\\n"
  11489. " --with-branch=guile-gcrypt=master \\\n"
  11490. " --with-debug-info=zlib\n"
  11491. msgstr ""
  11492. #. type: Plain text
  11493. #: guix-git/doc/guix.texi:7138
  11494. msgid "... would look like this:"
  11495. msgstr ""
  11496. #. type: lisp
  11497. #: guix-git/doc/guix.texi:7141
  11498. #, no-wrap
  11499. msgid ""
  11500. "(use-modules (guix transformations))\n"
  11501. "\n"
  11502. msgstr ""
  11503. #. type: lisp
  11504. #: guix-git/doc/guix.texi:7147
  11505. #, no-wrap
  11506. msgid ""
  11507. "(define transform\n"
  11508. " ;; The package transformation procedure.\n"
  11509. " (options->transformation\n"
  11510. " '((with-branch . \"guile-gcrypt=master\")\n"
  11511. " (with-debug-info . \"zlib\"))))\n"
  11512. "\n"
  11513. msgstr ""
  11514. #. type: lisp
  11515. #: guix-git/doc/guix.texi:7150
  11516. #, no-wrap
  11517. msgid ""
  11518. "(packages->manifest\n"
  11519. " (list (transform (specification->package \"guix\"))))\n"
  11520. msgstr ""
  11521. #. type: cindex
  11522. #: guix-git/doc/guix.texi:7152
  11523. #, no-wrap
  11524. msgid "input rewriting"
  11525. msgstr ""
  11526. #. type: cindex
  11527. #: guix-git/doc/guix.texi:7153
  11528. #, no-wrap
  11529. msgid "dependency graph rewriting"
  11530. msgstr ""
  11531. #. type: Plain text
  11532. #: guix-git/doc/guix.texi:7160
  11533. msgid "The @code{options->transformation} procedure is convenient, but it's perhaps also not as flexible as you may like. How is it implemented? The astute reader probably noticed that most package transformation options go beyond the superficial changes shown in the first examples of this section: they involve @dfn{input rewriting}, whereby the dependency graph of a package is rewritten by replacing specific inputs by others."
  11534. msgstr ""
  11535. #. type: Plain text
  11536. #: guix-git/doc/guix.texi:7164
  11537. msgid "Dependency graph rewriting, for the purposes of swapping packages in the graph, is what the @code{package-input-rewriting} procedure in @code{(guix packages)} implements."
  11538. msgstr ""
  11539. #. type: deffn
  11540. #: guix-git/doc/guix.texi:7165
  11541. #, no-wrap
  11542. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  11543. msgstr ""
  11544. #. type: deffn
  11545. #: guix-git/doc/guix.texi:7172
  11546. msgid "[@var{rewrite-name}] [#:deep? #t] Return a procedure that, when passed a package, replaces its direct and indirect dependencies, including implicit inputs when @var{deep?} is true, according to @var{replacements}. @var{replacements} is a list of package pairs; the first element of each pair is the package to replace, and the second one is the replacement."
  11547. msgstr ""
  11548. #. type: deffn
  11549. #: guix-git/doc/guix.texi:7175
  11550. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  11551. msgstr ""
  11552. #. type: table
  11553. #: guix-git/doc/guix.texi:7179 guix-git/doc/guix.texi:10505
  11554. msgid "Consider this example:"
  11555. msgstr ""
  11556. #. type: lisp
  11557. #: guix-git/doc/guix.texi:7185
  11558. #, no-wrap
  11559. msgid ""
  11560. "(define libressl-instead-of-openssl\n"
  11561. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  11562. " ;; recursively.\n"
  11563. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  11564. "\n"
  11565. msgstr ""
  11566. #. type: lisp
  11567. #: guix-git/doc/guix.texi:7188
  11568. #, no-wrap
  11569. msgid ""
  11570. "(define git-with-libressl\n"
  11571. " (libressl-instead-of-openssl git))\n"
  11572. msgstr ""
  11573. #. type: Plain text
  11574. #: guix-git/doc/guix.texi:7196
  11575. msgid "Here we first define a rewriting procedure that replaces @var{openssl} with @var{libressl}. Then we use it to define a @dfn{variant} of the @var{git} package that uses @var{libressl} instead of @var{openssl}. This is exactly what the @option{--with-input} command-line option does (@pxref{Package Transformation Options, @option{--with-input}})."
  11576. msgstr ""
  11577. #. type: Plain text
  11578. #: guix-git/doc/guix.texi:7199
  11579. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  11580. msgstr ""
  11581. #. type: deffn
  11582. #: guix-git/doc/guix.texi:7200
  11583. #, no-wrap
  11584. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  11585. msgstr ""
  11586. #. type: deffn
  11587. #: guix-git/doc/guix.texi:7207
  11588. msgid "Return a procedure that, given a package, applies the given @var{replacements} to all the package graph, including implicit inputs unless @var{deep?} is false. @var{replacements} is a list of spec/procedures pair; each spec is a package specification such as @code{\"gcc\"} or @code{\"guile@@2\"}, and each procedure takes a matching package and returns a replacement for that package."
  11589. msgstr ""
  11590. #. type: Plain text
  11591. #: guix-git/doc/guix.texi:7210
  11592. msgid "The example above could be rewritten this way:"
  11593. msgstr ""
  11594. #. type: lisp
  11595. #: guix-git/doc/guix.texi:7215
  11596. #, no-wrap
  11597. msgid ""
  11598. "(define libressl-instead-of-openssl\n"
  11599. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  11600. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  11601. msgstr ""
  11602. #. type: Plain text
  11603. #: guix-git/doc/guix.texi:7220
  11604. msgid "The key difference here is that, this time, packages are matched by spec and not by identity. In other words, any package in the graph that is called @code{openssl} will be replaced."
  11605. msgstr ""
  11606. #. type: Plain text
  11607. #: guix-git/doc/guix.texi:7224
  11608. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  11609. msgstr ""
  11610. #. type: deffn
  11611. #: guix-git/doc/guix.texi:7225
  11612. #, no-wrap
  11613. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  11614. msgstr ""
  11615. #. type: deffn
  11616. #: guix-git/doc/guix.texi:7230
  11617. msgid "Return a procedure that, given a package, applies @var{proc} to all the packages depended on and returns the resulting package. The procedure stops recursion when @var{cut?} returns true for a given package. When @var{deep?} is true, @var{proc} is applied to implicit inputs as well."
  11618. msgstr ""
  11619. #. type: cindex
  11620. #: guix-git/doc/guix.texi:7236
  11621. #, no-wrap
  11622. msgid "build system"
  11623. msgstr ""
  11624. #. type: Plain text
  11625. #: guix-git/doc/guix.texi:7241
  11626. msgid "Each package definition specifies a @dfn{build system} and arguments for that build system (@pxref{Defining Packages}). This @code{build-system} field represents the build procedure of the package, as well as implicit dependencies of that build procedure."
  11627. msgstr ""
  11628. #. type: Plain text
  11629. #: guix-git/doc/guix.texi:7245
  11630. msgid "Build systems are @code{<build-system>} objects. The interface to create and manipulate them is provided by the @code{(guix build-system)} module, and actual build systems are exported by specific modules."
  11631. msgstr ""
  11632. #. type: cindex
  11633. #: guix-git/doc/guix.texi:7246
  11634. #, no-wrap
  11635. msgid "bag (low-level package representation)"
  11636. msgstr ""
  11637. #. type: Plain text
  11638. #: guix-git/doc/guix.texi:7256
  11639. msgid "Under the hood, build systems first compile package objects to @dfn{bags}. A @dfn{bag} is like a package, but with less ornamentation---in other words, a bag is a lower-level representation of a package, which includes all the inputs of that package, including some that were implicitly added by the build system. This intermediate representation is then compiled to a derivation (@pxref{Derivations}). The @code{package-with-c-toolchain} is an example of a way to change the implicit inputs that a package's build system pulls in (@pxref{package Reference, @code{package-with-c-toolchain}})."
  11640. msgstr ""
  11641. #. type: Plain text
  11642. #: guix-git/doc/guix.texi:7264
  11643. msgid "Build systems accept an optional list of @dfn{arguments}. In package definitions, these are passed @i{via} the @code{arguments} field (@pxref{Defining Packages}). They are typically keyword arguments (@pxref{Optional Arguments, keyword arguments in Guile,, guile, GNU Guile Reference Manual}). The value of these arguments is usually evaluated in the @dfn{build stratum}---i.e., by a Guile process launched by the daemon (@pxref{Derivations})."
  11644. msgstr ""
  11645. #. type: Plain text
  11646. #: guix-git/doc/guix.texi:7268
  11647. msgid "The main build system is @code{gnu-build-system}, which implements the standard build procedure for GNU and many other packages. It is provided by the @code{(guix build-system gnu)} module."
  11648. msgstr ""
  11649. #. type: defvr
  11650. #: guix-git/doc/guix.texi:7269
  11651. #, no-wrap
  11652. msgid "{Scheme Variable} gnu-build-system"
  11653. msgstr ""
  11654. #. type: defvr
  11655. #: guix-git/doc/guix.texi:7273
  11656. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  11657. msgstr ""
  11658. #. type: cindex
  11659. #: guix-git/doc/guix.texi:7274 guix-git/doc/guix.texi:8200
  11660. #: guix-git/doc/guix.texi:8655
  11661. #, no-wrap
  11662. msgid "build phases"
  11663. msgstr ""
  11664. #. type: defvr
  11665. #: guix-git/doc/guix.texi:7281
  11666. msgid "In a nutshell, packages using it are configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence. In practice, a few additional steps are often needed. All these steps are split up in separate @dfn{phases}. @xref{Build Phases}, for more info on build phases and ways to customize them."
  11667. msgstr ""
  11668. #. type: defvr
  11669. #: guix-git/doc/guix.texi:7288
  11670. msgid "In addition, this build system ensures that the ``standard'' environment for GNU packages is available. This includes tools such as GCC, libc, Coreutils, Bash, Make, Diffutils, grep, and sed (see the @code{(guix build-system gnu)} module for a complete list). We call these the @dfn{implicit inputs} of a package, because package definitions do not have to mention them."
  11671. msgstr ""
  11672. #. type: defvr
  11673. #: guix-git/doc/guix.texi:7292
  11674. msgid "This build system supports a number of keyword arguments, which can be passed @i{via} the @code{arguments} field of a package. Here are some of the main parameters:"
  11675. msgstr ""
  11676. #. type: item
  11677. #: guix-git/doc/guix.texi:7294
  11678. #, no-wrap
  11679. msgid "#:phases"
  11680. msgstr ""
  11681. #. type: table
  11682. #: guix-git/doc/guix.texi:7297
  11683. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  11684. msgstr ""
  11685. #. type: item
  11686. #: guix-git/doc/guix.texi:7298
  11687. #, no-wrap
  11688. msgid "#:configure-flags"
  11689. msgstr ""
  11690. #. type: table
  11691. #: guix-git/doc/guix.texi:7301
  11692. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  11693. msgstr ""
  11694. #. type: item
  11695. #: guix-git/doc/guix.texi:7302
  11696. #, no-wrap
  11697. msgid "#:make-flags"
  11698. msgstr ""
  11699. #. type: table
  11700. #: guix-git/doc/guix.texi:7306
  11701. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  11702. msgstr ""
  11703. #. type: item
  11704. #: guix-git/doc/guix.texi:7307
  11705. #, no-wrap
  11706. msgid "#:out-of-source?"
  11707. msgstr ""
  11708. #. type: table
  11709. #: guix-git/doc/guix.texi:7310
  11710. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  11711. msgstr ""
  11712. #. type: table
  11713. #: guix-git/doc/guix.texi:7315
  11714. msgid "When it is true, the @code{configure} phase creates a separate build directory, changes to that directory, and runs the @code{configure} script from there. This is useful for packages that require it, such as @code{glibc}."
  11715. msgstr ""
  11716. #. type: item
  11717. #: guix-git/doc/guix.texi:7316
  11718. #, no-wrap
  11719. msgid "#:tests?"
  11720. msgstr ""
  11721. #. type: table
  11722. #: guix-git/doc/guix.texi:7319
  11723. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  11724. msgstr ""
  11725. #. type: item
  11726. #: guix-git/doc/guix.texi:7320
  11727. #, no-wrap
  11728. msgid "#:test-target"
  11729. msgstr ""
  11730. #. type: table
  11731. #: guix-git/doc/guix.texi:7323
  11732. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  11733. msgstr ""
  11734. #. type: item
  11735. #: guix-git/doc/guix.texi:7324
  11736. #, no-wrap
  11737. msgid "#:parallel-build?"
  11738. msgstr ""
  11739. #. type: itemx
  11740. #: guix-git/doc/guix.texi:7325
  11741. #, no-wrap
  11742. msgid "#:parallel-tests?"
  11743. msgstr ""
  11744. #. type: table
  11745. #: guix-git/doc/guix.texi:7332
  11746. msgid "These Boolean values specify whether to build, respectively run the test suite, in parallel, with the @code{-j} flag of @command{make}. When they are true, @code{make} is passed @code{-j@var{n}}, where @var{n} is the number specified as the @option{--cores} option of @command{guix-daemon} or that of the @command{guix} client command (@pxref{Common Build Options, @option{--cores}})."
  11747. msgstr ""
  11748. #. type: cindex
  11749. #: guix-git/doc/guix.texi:7333
  11750. #, no-wrap
  11751. msgid "RUNPATH, validation"
  11752. msgstr ""
  11753. #. type: item
  11754. #: guix-git/doc/guix.texi:7334
  11755. #, no-wrap
  11756. msgid "#:validate-runpath?"
  11757. msgstr ""
  11758. #. type: table
  11759. #: guix-git/doc/guix.texi:7338
  11760. msgid "This Boolean, @code{#t} by default, determines whether to ``validate'' the @code{RUNPATH} of ELF binaries (@code{.so} shared libraries as well as executables) previously installed by the @code{install} phase."
  11761. msgstr ""
  11762. #. type: table
  11763. #: guix-git/doc/guix.texi:7346
  11764. msgid "This validation step consists in making sure that all the shared libraries needed by an ELF binaries, which are listed as @code{DT_NEEDED} entries in its @code{PT_DYNAMIC} segment, appear in the @code{DT_RUNPATH} entry of that binary. In other words, it ensures that running or using those binaries will not result in a ``file not found'' error at run time. @xref{Options, @option{-rpath},, ld, The GNU Linker}, for more information on @code{RUNPATH}."
  11765. msgstr ""
  11766. #. type: item
  11767. #: guix-git/doc/guix.texi:7347
  11768. #, no-wrap
  11769. msgid "#:substitutable?"
  11770. msgstr ""
  11771. #. type: table
  11772. #: guix-git/doc/guix.texi:7351
  11773. msgid "This Boolean, @code{#t} by default, tells whether the package outputs should be substitutable---i.e., whether users should be able to obtain substitutes for them instead of building locally (@pxref{Substitutes})."
  11774. msgstr ""
  11775. #. type: item
  11776. #: guix-git/doc/guix.texi:7352
  11777. #, no-wrap
  11778. msgid "#:allowed-references"
  11779. msgstr ""
  11780. #. type: itemx
  11781. #: guix-git/doc/guix.texi:7353
  11782. #, no-wrap
  11783. msgid "#:disallowed-references"
  11784. msgstr ""
  11785. #. type: table
  11786. #: guix-git/doc/guix.texi:7358
  11787. msgid "When true, these arguments must be a list of dependencies that must not appear among the references of the build results. If, upon build completion, some of these references are retained, the build process fails."
  11788. msgstr ""
  11789. #. type: table
  11790. #: guix-git/doc/guix.texi:7363
  11791. msgid "This is useful to ensure that a package does not erroneously keep a reference to some of it build-time inputs, in cases where doing so would, for example, unnecessarily increase its size (@pxref{Invoking guix size})."
  11792. msgstr ""
  11793. #. type: defvr
  11794. #: guix-git/doc/guix.texi:7366
  11795. msgid "Most other build systems support these keyword arguments."
  11796. msgstr ""
  11797. #. type: Plain text
  11798. #: guix-git/doc/guix.texi:7373
  11799. msgid "Other @code{<build-system>} objects are defined to support other conventions and tools used by free software packages. They inherit most of @code{gnu-build-system}, and differ mainly in the set of inputs implicitly added to the build process, and in the list of phases executed. Some of these build systems are listed below."
  11800. msgstr ""
  11801. #. type: defvr
  11802. #: guix-git/doc/guix.texi:7374
  11803. #, no-wrap
  11804. msgid "{Scheme Variable} ant-build-system"
  11805. msgstr ""
  11806. #. type: defvr
  11807. #: guix-git/doc/guix.texi:7378
  11808. msgid "This variable is exported by @code{(guix build-system ant)}. It implements the build procedure for Java packages that can be built with @url{https://ant.apache.org/, Ant build tool}."
  11809. msgstr ""
  11810. #. type: defvr
  11811. #: guix-git/doc/guix.texi:7383
  11812. msgid "It adds both @code{ant} and the @dfn{Java Development Kit} (JDK) as provided by the @code{icedtea} package to the set of inputs. Different packages can be specified with the @code{#:ant} and @code{#:jdk} parameters, respectively."
  11813. msgstr ""
  11814. #. type: defvr
  11815. #: guix-git/doc/guix.texi:7389
  11816. msgid "When the original package does not provide a suitable Ant build file, the parameter @code{#:jar-name} can be used to generate a minimal Ant build file @file{build.xml} with tasks to build the specified jar archive. In this case the parameter @code{#:source-dir} can be used to specify the source sub-directory, defaulting to ``src''."
  11817. msgstr ""
  11818. #. type: defvr
  11819. #: guix-git/doc/guix.texi:7397
  11820. msgid "The @code{#:main-class} parameter can be used with the minimal ant buildfile to specify the main class of the resulting jar. This makes the jar file executable. The @code{#:test-include} parameter can be used to specify the list of junit tests to run. It defaults to @code{(list \"**/*Test.java\")}. The @code{#:test-exclude} can be used to disable some tests. It defaults to @code{(list \"**/Abstract*.java\")}, because abstract classes cannot be run as tests."
  11821. msgstr ""
  11822. #. type: defvr
  11823. #: guix-git/doc/guix.texi:7401
  11824. msgid "The parameter @code{#:build-target} can be used to specify the Ant task that should be run during the @code{build} phase. By default the ``jar'' task will be run."
  11825. msgstr ""
  11826. #. type: defvr
  11827. #: guix-git/doc/guix.texi:7404
  11828. #, no-wrap
  11829. msgid "{Scheme Variable} android-ndk-build-system"
  11830. msgstr ""
  11831. #. type: cindex
  11832. #: guix-git/doc/guix.texi:7405
  11833. #, no-wrap
  11834. msgid "Android distribution"
  11835. msgstr ""
  11836. #. type: cindex
  11837. #: guix-git/doc/guix.texi:7406
  11838. #, no-wrap
  11839. msgid "Android NDK build system"
  11840. msgstr ""
  11841. #. type: defvr
  11842. #: guix-git/doc/guix.texi:7410
  11843. msgid "This variable is exported by @code{(guix build-system android-ndk)}. It implements a build procedure for Android NDK (native development kit) packages using a Guix-specific build process."
  11844. msgstr ""
  11845. #. type: defvr
  11846. #: guix-git/doc/guix.texi:7414
  11847. msgid "The build system assumes that packages install their public interface (header) files to the subdirectory @file{include} of the @code{out} output and their libraries to the subdirectory @file{lib} the @code{out} output."
  11848. msgstr ""
  11849. #. type: defvr
  11850. #: guix-git/doc/guix.texi:7417
  11851. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  11852. msgstr ""
  11853. #. type: defvr
  11854. #: guix-git/doc/guix.texi:7420
  11855. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  11856. msgstr ""
  11857. #. type: defvr
  11858. #: guix-git/doc/guix.texi:7423
  11859. #, no-wrap
  11860. msgid "{Scheme Variable} asdf-build-system/source"
  11861. msgstr ""
  11862. #. type: defvrx
  11863. #: guix-git/doc/guix.texi:7424
  11864. #, no-wrap
  11865. msgid "{Scheme Variable} asdf-build-system/sbcl"
  11866. msgstr ""
  11867. #. type: defvrx
  11868. #: guix-git/doc/guix.texi:7425
  11869. #, no-wrap
  11870. msgid "{Scheme Variable} asdf-build-system/ecl"
  11871. msgstr ""
  11872. #. type: defvr
  11873. #: guix-git/doc/guix.texi:7431
  11874. msgid "These variables, exported by @code{(guix build-system asdf)}, implement build procedures for Common Lisp packages using @url{https://common-lisp.net/project/asdf/, ``ASDF''}. ASDF is a system definition facility for Common Lisp programs and libraries."
  11875. msgstr ""
  11876. #. type: defvr
  11877. #: guix-git/doc/guix.texi:7438
  11878. msgid "The @code{asdf-build-system/source} system installs the packages in source form, and can be loaded using any common lisp implementation, via ASDF@. The others, such as @code{asdf-build-system/sbcl}, install binary systems in the format which a particular implementation understands. These build systems can also be used to produce executable programs, or lisp images which contain a set of packages pre-loaded."
  11879. msgstr ""
  11880. #. type: defvr
  11881. #: guix-git/doc/guix.texi:7442
  11882. msgid "The build system uses naming conventions. For binary packages, the package name should be prefixed with the lisp implementation, such as @code{sbcl-} for @code{asdf-build-system/sbcl}."
  11883. msgstr ""
  11884. #. type: defvr
  11885. #: guix-git/doc/guix.texi:7446
  11886. msgid "Additionally, the corresponding source package should be labeled using the same convention as python packages (see @ref{Python Modules}), using the @code{cl-} prefix."
  11887. msgstr ""
  11888. #. type: defvr
  11889. #: guix-git/doc/guix.texi:7454
  11890. msgid "In order to create executable programs and images, the build-side procedures @code{build-program} and @code{build-image} can be used. They should be called in a build phase after the @code{create-asdf-configuration} phase, so that the system which was just built can be used within the resulting image. @code{build-program} requires a list of Common Lisp expressions to be passed as the @code{#:entry-program} argument."
  11891. msgstr ""
  11892. #. type: defvr
  11893. #: guix-git/doc/guix.texi:7463
  11894. msgid "By default, all the @file{.asd} files present in the sources are read to find system definitions. The @code{#:asd-files} parameter can be used to specify the list of @file{.asd} files to read. Furthermore, if the package defines a system for its tests in a separate file, it will be loaded before the tests are run if it is specified by the @code{#:test-asd-file} parameter. If it is not set, the files @code{<system>-tests.asd}, @code{<system>-test.asd}, @code{tests.asd}, and @code{test.asd} will be tried if they exist."
  11895. msgstr ""
  11896. #. type: defvr
  11897. #: guix-git/doc/guix.texi:7468
  11898. msgid "If for some reason the package must be named in a different way than the naming conventions suggest, or if several systems must be compiled, the @code{#:asd-systems} parameter can be used to specify the list of system names."
  11899. msgstr ""
  11900. #. type: defvr
  11901. #: guix-git/doc/guix.texi:7471
  11902. #, no-wrap
  11903. msgid "{Scheme Variable} cargo-build-system"
  11904. msgstr ""
  11905. #. type: cindex
  11906. #: guix-git/doc/guix.texi:7472
  11907. #, no-wrap
  11908. msgid "Rust programming language"
  11909. msgstr ""
  11910. #. type: cindex
  11911. #: guix-git/doc/guix.texi:7473
  11912. #, no-wrap
  11913. msgid "Cargo (Rust build system)"
  11914. msgstr ""
  11915. #. type: defvr
  11916. #: guix-git/doc/guix.texi:7477
  11917. msgid "This variable is exported by @code{(guix build-system cargo)}. It supports builds of packages using Cargo, the build tool of the @uref{https://www.rust-lang.org, Rust programming language}."
  11918. msgstr ""
  11919. #. type: defvr
  11920. #: guix-git/doc/guix.texi:7480
  11921. msgid "It adds @code{rustc} and @code{cargo} to the set of inputs. A different Rust package can be specified with the @code{#:rust} parameter."
  11922. msgstr ""
  11923. #. type: defvr
  11924. #: guix-git/doc/guix.texi:7490
  11925. msgid "Regular cargo dependencies should be added to the package definition similarly to other packages; those needed only at build time to native-inputs, others to inputs. If you need to add source-only crates then you should add them to via the @code{#:cargo-inputs} parameter as a list of name and spec pairs, where the spec can be a package or a source definition. Note that the spec must evaluate to a path to a gzipped tarball which includes a @code{Cargo.toml} file at its root, or it will be ignored. Similarly, cargo dev-dependencies should be added to the package definition via the @code{#:cargo-development-inputs} parameter."
  11926. msgstr ""
  11927. #. type: defvr
  11928. #: guix-git/doc/guix.texi:7500
  11929. msgid "In its @code{configure} phase, this build system will make any source inputs specified in the @code{#:cargo-inputs} and @code{#:cargo-development-inputs} parameters available to cargo. It will also remove an included @code{Cargo.lock} file to be recreated by @code{cargo} during the @code{build} phase. The @code{package} phase will run @code{cargo package} to create a source crate for future use. The @code{install} phase installs the binaries defined by the crate. Unless @code{install-source? #f} is defined it will also install a source crate repository of itself and unpacked sources, to ease in future hacking on rust packages."
  11930. msgstr ""
  11931. #. type: defvr
  11932. #: guix-git/doc/guix.texi:7502
  11933. #, no-wrap
  11934. msgid "{Scheme Variable} chicken-build-system"
  11935. msgstr ""
  11936. #. type: defvr
  11937. #: guix-git/doc/guix.texi:7507
  11938. msgid "This variable is exported by @code{(guix build-system chicken)}. It builds @uref{https://call-cc.org/, CHICKEN Scheme} modules, also called ``eggs'' or ``extensions''. CHICKEN generates C source code, which then gets compiled by a C compiler, in this case GCC."
  11939. msgstr ""
  11940. #. type: defvr
  11941. #: guix-git/doc/guix.texi:7510
  11942. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  11943. msgstr ""
  11944. #. type: defvr
  11945. #: guix-git/doc/guix.texi:7514
  11946. msgid "The build system can't (yet) deduce the egg's name automatically, so just like with @code{go-build-system} and its @code{#:import-path}, you should define @code{#:egg-name} in the package's @code{arguments} field."
  11947. msgstr ""
  11948. #. type: defvr
  11949. #: guix-git/doc/guix.texi:7516
  11950. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  11951. msgstr ""
  11952. #. type: lisp
  11953. #: guix-git/doc/guix.texi:7519
  11954. #, no-wrap
  11955. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  11956. msgstr ""
  11957. #. type: defvr
  11958. #: guix-git/doc/guix.texi:7524
  11959. msgid "Egg dependencies must be defined in @code{propagated-inputs}, not @code{inputs} because CHICKEN doesn't embed absolute references in compiled eggs. Test dependencies should go to @code{native-inputs}, as usual."
  11960. msgstr ""
  11961. #. type: defvr
  11962. #: guix-git/doc/guix.texi:7526
  11963. #, no-wrap
  11964. msgid "{Scheme Variable} copy-build-system"
  11965. msgstr ""
  11966. #. type: defvr
  11967. #: guix-git/doc/guix.texi:7530
  11968. msgid "This variable is exported by @code{(guix build-system copy)}. It supports builds of simple packages that don't require much compiling, mostly just moving files around."
  11969. msgstr ""
  11970. #. type: defvr
  11971. #: guix-git/doc/guix.texi:7535
  11972. msgid "It adds much of the @code{gnu-build-system} packages to the set of inputs. Because of this, the @code{copy-build-system} does not require all the boilerplate code often needed for the @code{trivial-build-system}."
  11973. msgstr ""
  11974. #. type: defvr
  11975. #: guix-git/doc/guix.texi:7540
  11976. msgid "To further simplify the file installation process, an @code{#:install-plan} argument is exposed to let the packager specify which files go where. The install plan is a list of @code{(@var{source} @var{target} [@var{filters}])}. @var{filters} are optional."
  11977. msgstr ""
  11978. #. type: item
  11979. #: guix-git/doc/guix.texi:7542
  11980. #, no-wrap
  11981. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  11982. msgstr ""
  11983. #. type: item
  11984. #: guix-git/doc/guix.texi:7544
  11985. #, no-wrap
  11986. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  11987. msgstr ""
  11988. #. type: item
  11989. #: guix-git/doc/guix.texi:7545
  11990. #, no-wrap
  11991. msgid "Otherwise install @var{source} as @var{target}."
  11992. msgstr ""
  11993. #. type: item
  11994. #: guix-git/doc/guix.texi:7548
  11995. #, no-wrap
  11996. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  11997. msgstr ""
  11998. #. type: itemize
  11999. #: guix-git/doc/guix.texi:7551
  12000. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  12001. msgstr ""
  12002. #. type: item
  12003. #: guix-git/doc/guix.texi:7552
  12004. #, no-wrap
  12005. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  12006. msgstr ""
  12007. #. type: item
  12008. #: guix-git/doc/guix.texi:7553
  12009. #, no-wrap
  12010. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  12011. msgstr ""
  12012. #. type: itemize
  12013. #: guix-git/doc/guix.texi:7556
  12014. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  12015. msgstr ""
  12016. #. type: item
  12017. #: guix-git/doc/guix.texi:7557
  12018. #, no-wrap
  12019. msgid "With @code{#:include}, install all the files which the path suffix matches"
  12020. msgstr ""
  12021. #. type: itemize
  12022. #: guix-git/doc/guix.texi:7559
  12023. msgid "at least one of the elements in the given list."
  12024. msgstr ""
  12025. #. type: item
  12026. #: guix-git/doc/guix.texi:7559
  12027. #, no-wrap
  12028. msgid "With @code{#:include-regexp}, install all the files which the"
  12029. msgstr ""
  12030. #. type: itemize
  12031. #: guix-git/doc/guix.texi:7562
  12032. msgid "subpaths match at least one of the regular expressions in the given list."
  12033. msgstr ""
  12034. #. type: item
  12035. #: guix-git/doc/guix.texi:7562
  12036. #, no-wrap
  12037. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  12038. msgstr ""
  12039. #. type: itemize
  12040. #: guix-git/doc/guix.texi:7567
  12041. msgid "are the complement of their inclusion counterpart. Without @code{#:include} flags, install all files but those matching the exclusion filters. If both inclusions and exclusions are specified, the exclusions are done on top of the inclusions."
  12042. msgstr ""
  12043. #. type: itemize
  12044. #: guix-git/doc/guix.texi:7571
  12045. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  12046. msgstr ""
  12047. #. type: defvr
  12048. #: guix-git/doc/guix.texi:7574
  12049. msgid "Examples:"
  12050. msgstr ""
  12051. #. type: item
  12052. #: guix-git/doc/guix.texi:7576
  12053. #, no-wrap
  12054. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  12055. msgstr ""
  12056. #. type: item
  12057. #: guix-git/doc/guix.texi:7577
  12058. #, no-wrap
  12059. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  12060. msgstr ""
  12061. #. type: item
  12062. #: guix-git/doc/guix.texi:7578
  12063. #, no-wrap
  12064. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  12065. msgstr ""
  12066. #. type: itemize
  12067. #: guix-git/doc/guix.texi:7580
  12068. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  12069. msgstr ""
  12070. #. type: item
  12071. #: guix-git/doc/guix.texi:7580
  12072. #, no-wrap
  12073. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  12074. msgstr ""
  12075. #. type: itemize
  12076. #: guix-git/doc/guix.texi:7582
  12077. msgid "@file{share/my-app/sub/file}."
  12078. msgstr ""
  12079. #. type: item
  12080. #: guix-git/doc/guix.texi:7582
  12081. #, no-wrap
  12082. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  12083. msgstr ""
  12084. #. type: itemize
  12085. #: guix-git/doc/guix.texi:7584
  12086. msgid "@file{share/my-app/file}."
  12087. msgstr ""
  12088. #. type: cindex
  12089. #: guix-git/doc/guix.texi:7588
  12090. #, no-wrap
  12091. msgid "Clojure (programming language)"
  12092. msgstr ""
  12093. #. type: cindex
  12094. #: guix-git/doc/guix.texi:7589
  12095. #, no-wrap
  12096. msgid "simple Clojure build system"
  12097. msgstr ""
  12098. #. type: defvr
  12099. #: guix-git/doc/guix.texi:7590
  12100. #, no-wrap
  12101. msgid "{Scheme Variable} clojure-build-system"
  12102. msgstr ""
  12103. #. type: defvr
  12104. #: guix-git/doc/guix.texi:7595
  12105. msgid "This variable is exported by @code{(guix build-system clojure)}. It implements a simple build procedure for @uref{https://clojure.org/, Clojure} packages using plain old @code{compile} in Clojure. Cross-compilation is not supported yet."
  12106. msgstr ""
  12107. #. type: defvr
  12108. #: guix-git/doc/guix.texi:7599
  12109. msgid "It adds @code{clojure}, @code{icedtea} and @code{zip} to the set of inputs. Different packages can be specified with the @code{#:clojure}, @code{#:jdk} and @code{#:zip} parameters, respectively."
  12110. msgstr ""
  12111. #. type: defvr
  12112. #: guix-git/doc/guix.texi:7605
  12113. msgid "A list of source directories, test directories and jar names can be specified with the @code{#:source-dirs}, @code{#:test-dirs} and @code{#:jar-names} parameters, respectively. Compile directory and main class can be specified with the @code{#:compile-dir} and @code{#:main-class} parameters, respectively. Other parameters are documented below."
  12114. msgstr ""
  12115. #. type: defvr
  12116. #: guix-git/doc/guix.texi:7608
  12117. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  12118. msgstr ""
  12119. #. type: item
  12120. #: guix-git/doc/guix.texi:7611 guix-git/doc/guix.texi:8163
  12121. #: guix-git/doc/guix.texi:8210 guix-git/doc/guix.texi:8279
  12122. #: guix-git/doc/guix.texi:32905
  12123. #, no-wrap
  12124. msgid "build"
  12125. msgstr ""
  12126. #. type: table
  12127. #: guix-git/doc/guix.texi:7620
  12128. msgid "This phase calls @code{compile} in Clojure to compile source files and runs @command{jar} to create jars from both source files and compiled files according to the include list and exclude list specified in @code{#:aot-include} and @code{#:aot-exclude}, respectively. The exclude list has priority over the include list. These lists consist of symbols representing Clojure libraries or the special keyword @code{#:all} representing all Clojure libraries found under the source directories. The parameter @code{#:omit-source?} decides if source should be included into the jars."
  12129. msgstr ""
  12130. #. type: item
  12131. #: guix-git/doc/guix.texi:7621 guix-git/doc/guix.texi:8167
  12132. #: guix-git/doc/guix.texi:8284
  12133. #, no-wrap
  12134. msgid "check"
  12135. msgstr ""
  12136. #. type: table
  12137. #: guix-git/doc/guix.texi:7628
  12138. msgid "This phase runs tests according to the include list and exclude list specified in @code{#:test-include} and @code{#:test-exclude}, respectively. Their meanings are analogous to that of @code{#:aot-include} and @code{#:aot-exclude}, except that the special keyword @code{#:all} now stands for all Clojure libraries found under the test directories. The parameter @code{#:tests?} decides if tests should be run."
  12139. msgstr ""
  12140. #. type: item
  12141. #: guix-git/doc/guix.texi:7629 guix-git/doc/guix.texi:8171
  12142. #: guix-git/doc/guix.texi:8214 guix-git/doc/guix.texi:8290
  12143. #, no-wrap
  12144. msgid "install"
  12145. msgstr ""
  12146. #. type: table
  12147. #: guix-git/doc/guix.texi:7631
  12148. msgid "This phase installs all jars built previously."
  12149. msgstr ""
  12150. #. type: defvr
  12151. #: guix-git/doc/guix.texi:7634
  12152. msgid "Apart from the above, this build system also contains an additional phase:"
  12153. msgstr ""
  12154. #. type: item
  12155. #: guix-git/doc/guix.texi:7637
  12156. #, no-wrap
  12157. msgid "install-doc"
  12158. msgstr ""
  12159. #. type: table
  12160. #: guix-git/doc/guix.texi:7642
  12161. msgid "This phase installs all top-level files with base name matching @code{%doc-regex}. A different regex can be specified with the @code{#:doc-regex} parameter. All files (recursively) inside the documentation directories specified in @code{#:doc-dirs} are installed as well."
  12162. msgstr ""
  12163. #. type: defvr
  12164. #: guix-git/doc/guix.texi:7645
  12165. #, no-wrap
  12166. msgid "{Scheme Variable} cmake-build-system"
  12167. msgstr ""
  12168. #. type: defvr
  12169. #: guix-git/doc/guix.texi:7649
  12170. msgid "This variable is exported by @code{(guix build-system cmake)}. It implements the build procedure for packages using the @url{https://www.cmake.org, CMake build tool}."
  12171. msgstr ""
  12172. #. type: defvr
  12173. #: guix-git/doc/guix.texi:7653
  12174. msgid "It automatically adds the @code{cmake} package to the set of inputs. Which package is used can be specified with the @code{#:cmake} parameter."
  12175. msgstr ""
  12176. #. type: defvr
  12177. #: guix-git/doc/guix.texi:7660
  12178. msgid "The @code{#:configure-flags} parameter is taken as a list of flags passed to the @command{cmake} command. The @code{#:build-type} parameter specifies in abstract terms the flags passed to the compiler; it defaults to @code{\"RelWithDebInfo\"} (short for ``release mode with debugging information''), which roughly means that code is compiled with @code{-O2 -g}, as is the case for Autoconf-based packages by default."
  12179. msgstr ""
  12180. #. type: defvr
  12181. #: guix-git/doc/guix.texi:7662
  12182. #, no-wrap
  12183. msgid "{Scheme Variable} dune-build-system"
  12184. msgstr ""
  12185. #. type: defvr
  12186. #: guix-git/doc/guix.texi:7669
  12187. msgid "This variable is exported by @code{(guix build-system dune)}. It supports builds of packages using @uref{https://dune.build/, Dune}, a build tool for the OCaml programming language. It is implemented as an extension of the @code{ocaml-build-system} which is described below. As such, the @code{#:ocaml} and @code{#:findlib} parameters can be passed to this build system."
  12188. msgstr ""
  12189. #. type: defvr
  12190. #: guix-git/doc/guix.texi:7673
  12191. msgid "It automatically adds the @code{dune} package to the set of inputs. Which package is used can be specified with the @code{#:dune} parameter."
  12192. msgstr ""
  12193. #. type: defvr
  12194. #: guix-git/doc/guix.texi:7677
  12195. msgid "There is no @code{configure} phase because dune packages typically don't need to be configured. The @code{#:build-flags} parameter is taken as a list of flags passed to the @code{dune} command during the build."
  12196. msgstr ""
  12197. #. type: defvr
  12198. #: guix-git/doc/guix.texi:7681
  12199. msgid "The @code{#:jbuild?} parameter can be passed to use the @code{jbuild} command instead of the more recent @code{dune} command while building a package. Its default value is @code{#f}."
  12200. msgstr ""
  12201. #. type: defvr
  12202. #: guix-git/doc/guix.texi:7686
  12203. msgid "The @code{#:package} parameter can be passed to specify a package name, which is useful when a package contains multiple packages and you want to build only one of them. This is equivalent to passing the @code{-p} argument to @code{dune}."
  12204. msgstr ""
  12205. #. type: defvr
  12206. #: guix-git/doc/guix.texi:7688
  12207. #, no-wrap
  12208. msgid "{Scheme Variable} go-build-system"
  12209. msgstr ""
  12210. #. type: defvr
  12211. #: guix-git/doc/guix.texi:7693
  12212. msgid "This variable is exported by @code{(guix build-system go)}. It implements a build procedure for Go packages using the standard @url{https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies, Go build mechanisms}."
  12213. msgstr ""
  12214. #. type: defvr
  12215. #: guix-git/doc/guix.texi:7704
  12216. msgid "The user is expected to provide a value for the key @code{#:import-path} and, in some cases, @code{#:unpack-path}. The @url{https://golang.org/doc/code.html#ImportPaths, import path} corresponds to the file system path expected by the package's build scripts and any referring packages, and provides a unique way to refer to a Go package. It is typically based on a combination of the package source code's remote URI and file system hierarchy structure. In some cases, you will need to unpack the package's source code to a different directory structure than the one indicated by the import path, and @code{#:unpack-path} should be used in such cases."
  12217. msgstr ""
  12218. #. type: defvr
  12219. #: guix-git/doc/guix.texi:7709
  12220. msgid "Packages that provide Go libraries should install their source code into the built output. The key @code{#:install-source?}, which defaults to @code{#t}, controls whether or not the source code is installed. It can be set to @code{#f} for packages that only provide executable files."
  12221. msgstr ""
  12222. #. type: defvr
  12223. #: guix-git/doc/guix.texi:7711
  12224. #, no-wrap
  12225. msgid "{Scheme Variable} glib-or-gtk-build-system"
  12226. msgstr ""
  12227. #. type: defvr
  12228. #: guix-git/doc/guix.texi:7714
  12229. msgid "This variable is exported by @code{(guix build-system glib-or-gtk)}. It is intended for use with packages making use of GLib or GTK+."
  12230. msgstr ""
  12231. #. type: defvr
  12232. #: guix-git/doc/guix.texi:7717
  12233. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  12234. msgstr ""
  12235. #. type: item
  12236. #: guix-git/doc/guix.texi:7719 guix-git/doc/guix.texi:8187
  12237. #, no-wrap
  12238. msgid "glib-or-gtk-wrap"
  12239. msgstr ""
  12240. #. type: table
  12241. #: guix-git/doc/guix.texi:7726
  12242. msgid "The phase @code{glib-or-gtk-wrap} ensures that programs in @file{bin/} are able to find GLib ``schemas'' and @uref{https://developer.gnome.org/gtk3/stable/gtk-running.html, GTK+ modules}. This is achieved by wrapping the programs in launch scripts that appropriately set the @env{XDG_DATA_DIRS} and @env{GTK_PATH} environment variables."
  12243. msgstr ""
  12244. #. type: table
  12245. #: guix-git/doc/guix.texi:7733
  12246. msgid "It is possible to exclude specific package outputs from that wrapping process by listing their names in the @code{#:glib-or-gtk-wrap-excluded-outputs} parameter. This is useful when an output is known not to contain any GLib or GTK+ binaries, and where wrapping would gratuitously add a dependency of that output on GLib and GTK+."
  12247. msgstr ""
  12248. #. type: item
  12249. #: guix-git/doc/guix.texi:7734 guix-git/doc/guix.texi:8191
  12250. #, no-wrap
  12251. msgid "glib-or-gtk-compile-schemas"
  12252. msgstr ""
  12253. #. type: table
  12254. #: guix-git/doc/guix.texi:7742
  12255. msgid "The phase @code{glib-or-gtk-compile-schemas} makes sure that all @uref{https://developer.gnome.org/gio/stable/glib-compile-schemas.html, GSettings schemas} of GLib are compiled. Compilation is performed by the @command{glib-compile-schemas} program. It is provided by the package @code{glib:bin} which is automatically imported by the build system. The @code{glib} package providing @command{glib-compile-schemas} can be specified with the @code{#:glib} parameter."
  12256. msgstr ""
  12257. #. type: defvr
  12258. #: guix-git/doc/guix.texi:7745
  12259. msgid "Both phases are executed after the @code{install} phase."
  12260. msgstr ""
  12261. #. type: defvr
  12262. #: guix-git/doc/guix.texi:7747
  12263. #, no-wrap
  12264. msgid "{Scheme Variable} guile-build-system"
  12265. msgstr ""
  12266. #. type: defvr
  12267. #: guix-git/doc/guix.texi:7754
  12268. msgid "This build system is for Guile packages that consist exclusively of Scheme code and that are so lean that they don't even have a makefile, let alone a @file{configure} script. It compiles Scheme code using @command{guild compile} (@pxref{Compilation,,, guile, GNU Guile Reference Manual}) and installs the @file{.scm} and @file{.go} files in the right place. It also installs documentation."
  12269. msgstr ""
  12270. #. type: defvr
  12271. #: guix-git/doc/guix.texi:7757
  12272. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  12273. msgstr ""
  12274. #. type: defvr
  12275. #: guix-git/doc/guix.texi:7760
  12276. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  12277. msgstr ""
  12278. #. type: defvr
  12279. #: guix-git/doc/guix.texi:7762
  12280. #, no-wrap
  12281. msgid "{Scheme Variable} julia-build-system"
  12282. msgstr ""
  12283. #. type: defvr
  12284. #: guix-git/doc/guix.texi:7769
  12285. msgid "This variable is exported by @code{(guix build-system julia)}. It implements the build procedure used by @uref{https://julialang.org/, julia} packages, which essentially is similar to running @samp{julia -e 'using Pkg; Pkg.add(package)'} in an environment where @env{JULIA_LOAD_PATH} contains the paths to all Julia package inputs. Tests are run by calling @code{/test/runtests.jl}."
  12286. msgstr ""
  12287. #. type: defvr
  12288. #: guix-git/doc/guix.texi:7773
  12289. msgid "The Julia package name is read from the file @file{Project.toml}. This value can be overridden by passing the argument @code{#:julia-package-name} (which must be correctly capitalized)."
  12290. msgstr ""
  12291. #. type: defvr
  12292. #: guix-git/doc/guix.texi:7777
  12293. msgid "Julia packages usually manage their binary dependencies via @code{JLLWrappers.jl}, a Julia package that creates a module (named after the wrapped library followed by @code{_jll.jl}."
  12294. msgstr ""
  12295. #. type: defvr
  12296. #: guix-git/doc/guix.texi:7782
  12297. msgid "To add the binary path @code{_jll.jl} packages, you need to patch the files under @file{src/wrappers/}, replacing the call to the macro @code{JLLWrappers.@@generate_wrapper_header}, adding as a second argument containing the store path the binary."
  12298. msgstr ""
  12299. #. type: defvr
  12300. #: guix-git/doc/guix.texi:7786
  12301. msgid "As an example, in the MbedTLS Julia package, we add a build phase (@pxref{Build Phases}) to insert the absolute file name of the wrapped MbedTLS package:"
  12302. msgstr ""
  12303. #. type: lisp
  12304. #: guix-git/doc/guix.texi:7798
  12305. #, no-wrap
  12306. msgid ""
  12307. "(add-after 'unpack 'override-binary-path\n"
  12308. " (lambda* (#:key inputs #:allow-other-keys)\n"
  12309. " (for-each (lambda (wrapper)\n"
  12310. " (substitute* wrapper\n"
  12311. " ((\"generate_wrapper_header.*\")\n"
  12312. " (string-append\n"
  12313. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  12314. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  12315. " ;; There's a Julia file for each platform, override them all.\n"
  12316. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  12317. msgstr ""
  12318. #. type: defvr
  12319. #: guix-git/doc/guix.texi:7806
  12320. msgid "Some older packages that aren't using @file{Package.toml} yet, will require this file to be created, too. The function @code{julia-create-package-toml} helps creating the file. You need to pass the outputs and the source of the package, it's name (the same as the @code{file-name} parameter), the package uuid, the package version, and a list of dependencies specified by their name and their uuid."
  12321. msgstr ""
  12322. #. type: defvr
  12323. #: guix-git/doc/guix.texi:7808
  12324. #, no-wrap
  12325. msgid "{Scheme Variable} maven-build-system"
  12326. msgstr ""
  12327. #. type: defvr
  12328. #: guix-git/doc/guix.texi:7815
  12329. msgid "This variable is exported by @code{(guix build-system maven)}. It implements a build procedure for @uref{https://maven.apache.org, Maven} packages. Maven is a dependency and lifecycle management tool for Java. A user of Maven specifies dependencies and plugins in a @file{pom.xml} file that Maven reads. When Maven does not have one of the dependencies or plugins in its repository, it will download them and use them to build the package."
  12330. msgstr ""
  12331. #. type: defvr
  12332. #: guix-git/doc/guix.texi:7825
  12333. msgid "The maven build system ensures that maven will not try to download any dependency by running in offline mode. Maven will fail if a dependency is missing. Before running Maven, the @file{pom.xml} (and subprojects) are modified to specify the version of dependencies and plugins that match the versions available in the guix build environment. Dependencies and plugins must be installed in the fake maven repository at @file{lib/m2}, and are symlinked into a proper repository before maven is run. Maven is instructed to use that repository for the build and installs built artifacts there. Changed files are copied to the @file{lib/m2} directory of the package output."
  12334. msgstr ""
  12335. #. type: defvr
  12336. #: guix-git/doc/guix.texi:7828
  12337. msgid "You can specify a @file{pom.xml} file with the @code{#:pom-file} argument, or let the build system use the default @file{pom.xml} file in the sources."
  12338. msgstr ""
  12339. #. type: defvr
  12340. #: guix-git/doc/guix.texi:7834
  12341. msgid "In case you need to specify a dependency's version manually, you can use the @code{#:local-packages} argument. It takes an association list where the key is the groupId of the package and its value is an association list where the key is the artifactId of the package and its value is the version you want to override in the @file{pom.xml}."
  12342. msgstr ""
  12343. #. type: defvr
  12344. #: guix-git/doc/guix.texi:7840
  12345. msgid "Some packages use dependencies or plugins that are not useful at runtime nor at build time in Guix. You can alter the @file{pom.xml} file to remove them using the @code{#:exclude} argument. Its value is an association list where the key is the groupId of the plugin or dependency you want to remove, and the value is a list of artifactId you want to remove."
  12346. msgstr ""
  12347. #. type: defvr
  12348. #: guix-git/doc/guix.texi:7843
  12349. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  12350. msgstr ""
  12351. #. type: defvr
  12352. #: guix-git/doc/guix.texi:7848
  12353. msgid "The @code{#:maven-plugins} argument is a list of maven plugins used during the build, with the same format as the @code{inputs} fields of the package declaration. Its default value is @code{(default-maven-plugins)} which is also exported."
  12354. msgstr ""
  12355. #. type: defvr
  12356. #: guix-git/doc/guix.texi:7850
  12357. #, no-wrap
  12358. msgid "{Scheme Variable} minify-build-system"
  12359. msgstr ""
  12360. #. type: defvr
  12361. #: guix-git/doc/guix.texi:7853
  12362. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  12363. msgstr ""
  12364. #. type: defvr
  12365. #: guix-git/doc/guix.texi:7859
  12366. msgid "It adds @code{uglify-js} to the set of inputs and uses it to compress all JavaScript files in the @file{src} directory. A different minifier package can be specified with the @code{#:uglify-js} parameter, but it is expected that the package writes the minified code to the standard output."
  12367. msgstr ""
  12368. #. type: defvr
  12369. #: guix-git/doc/guix.texi:7863
  12370. msgid "When the input JavaScript files are not all located in the @file{src} directory, the parameter @code{#:javascript-files} can be used to specify a list of file names to feed to the minifier."
  12371. msgstr ""
  12372. #. type: defvr
  12373. #: guix-git/doc/guix.texi:7865
  12374. #, no-wrap
  12375. msgid "{Scheme Variable} ocaml-build-system"
  12376. msgstr ""
  12377. #. type: defvr
  12378. #: guix-git/doc/guix.texi:7871
  12379. msgid "This variable is exported by @code{(guix build-system ocaml)}. It implements a build procedure for @uref{https://ocaml.org, OCaml} packages, which consists of choosing the correct set of commands to run for each package. OCaml packages can expect many different commands to be run. This build system will try some of them."
  12380. msgstr ""
  12381. #. type: defvr
  12382. #: guix-git/doc/guix.texi:7881
  12383. msgid "When the package has a @file{setup.ml} file present at the top-level, it will run @code{ocaml setup.ml -configure}, @code{ocaml setup.ml -build} and @code{ocaml setup.ml -install}. The build system will assume that this file was generated by @uref{http://oasis.forge.ocamlcore.org/, OASIS} and will take care of setting the prefix and enabling tests if they are not disabled. You can pass configure and build flags with the @code{#:configure-flags} and @code{#:build-flags}. The @code{#:test-flags} key can be passed to change the set of flags used to enable tests. The @code{#:use-make?} key can be used to bypass this system in the build and install phases."
  12384. msgstr ""
  12385. #. type: defvr
  12386. #: guix-git/doc/guix.texi:7886
  12387. msgid "When the package has a @file{configure} file, it is assumed that it is a hand-made configure script that requires a different argument format than in the @code{gnu-build-system}. You can add more flags with the @code{#:configure-flags} key."
  12388. msgstr ""
  12389. #. type: defvr
  12390. #: guix-git/doc/guix.texi:7890
  12391. msgid "When the package has a @file{Makefile} file (or @code{#:use-make?} is @code{#t}), it will be used and more flags can be passed to the build and install phases with the @code{#:make-flags} key."
  12392. msgstr ""
  12393. #. type: defvr
  12394. #: guix-git/doc/guix.texi:7898
  12395. msgid "Finally, some packages do not have these files and use a somewhat standard location for its build system. In that case, the build system will run @code{ocaml pkg/pkg.ml} or @code{ocaml pkg/build.ml} and take care of providing the path to the required findlib module. Additional flags can be passed via the @code{#:build-flags} key. Install is taken care of by @command{opam-installer}. In this case, the @code{opam} package must be added to the @code{native-inputs} field of the package definition."
  12396. msgstr ""
  12397. #. type: defvr
  12398. #: guix-git/doc/guix.texi:7906
  12399. msgid "Note that most OCaml packages assume they will be installed in the same directory as OCaml, which is not what we want in guix. In particular, they will install @file{.so} files in their module's directory, which is usually fine because it is in the OCaml compiler directory. In guix though, these libraries cannot be found and we use @env{CAML_LD_LIBRARY_PATH}. This variable points to @file{lib/ocaml/site-lib/stubslibs} and this is where @file{.so} libraries should be installed."
  12400. msgstr ""
  12401. #. type: defvr
  12402. #: guix-git/doc/guix.texi:7908
  12403. #, no-wrap
  12404. msgid "{Scheme Variable} python-build-system"
  12405. msgstr ""
  12406. #. type: defvr
  12407. #: guix-git/doc/guix.texi:7913
  12408. msgid "This variable is exported by @code{(guix build-system python)}. It implements the more or less standard build procedure used by Python packages, which consists in running @code{python setup.py build} and then @code{python setup.py install --prefix=/gnu/store/@dots{}}."
  12409. msgstr ""
  12410. #. type: defvr
  12411. #: guix-git/doc/guix.texi:7917
  12412. msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @env{PYTHONPATH} environment variable points to all the Python libraries they depend on."
  12413. msgstr ""
  12414. #. type: defvr
  12415. #: guix-git/doc/guix.texi:7923
  12416. msgid "Which Python package is used to perform the build can be specified with the @code{#:python} parameter. This is a useful way to force a package to be built for a specific version of the Python interpreter, which might be necessary if the package is only compatible with a single interpreter version."
  12417. msgstr ""
  12418. #. type: defvr
  12419. #: guix-git/doc/guix.texi:7928
  12420. msgid "By default guix calls @code{setup.py} under control of @code{setuptools}, much like @command{pip} does. Some packages are not compatible with setuptools (and pip), thus you can disable this by setting the @code{#:use-setuptools?} parameter to @code{#f}."
  12421. msgstr ""
  12422. #. type: defvr
  12423. #: guix-git/doc/guix.texi:7930
  12424. #, no-wrap
  12425. msgid "{Scheme Variable} perl-build-system"
  12426. msgstr ""
  12427. #. type: defvr
  12428. #: guix-git/doc/guix.texi:7942
  12429. msgid "This variable is exported by @code{(guix build-system perl)}. It implements the standard build procedure for Perl packages, which either consists in running @code{perl Build.PL --prefix=/gnu/store/@dots{}}, followed by @code{Build} and @code{Build install}; or in running @code{perl Makefile.PL PREFIX=/gnu/store/@dots{}}, followed by @code{make} and @code{make install}, depending on which of @code{Build.PL} or @code{Makefile.PL} is present in the package distribution. Preference is given to the former if both @code{Build.PL} and @code{Makefile.PL} exist in the package distribution. This preference can be reversed by specifying @code{#t} for the @code{#:make-maker?} parameter."
  12430. msgstr ""
  12431. #. type: defvr
  12432. #: guix-git/doc/guix.texi:7946
  12433. msgid "The initial @code{perl Makefile.PL} or @code{perl Build.PL} invocation passes flags specified by the @code{#:make-maker-flags} or @code{#:module-build-flags} parameter, respectively."
  12434. msgstr ""
  12435. #. type: defvr
  12436. #: guix-git/doc/guix.texi:7948
  12437. msgid "Which Perl package is used can be specified with @code{#:perl}."
  12438. msgstr ""
  12439. #. type: defvr
  12440. #: guix-git/doc/guix.texi:7950
  12441. #, no-wrap
  12442. msgid "{Scheme Variable} renpy-build-system"
  12443. msgstr ""
  12444. #. type: defvr
  12445. #: guix-git/doc/guix.texi:7954
  12446. msgid "This variable is exported by @code{(guix build-system renpy)}. It implements the more or less standard build procedure used by Ren'py games, which consists of loading @code{#:game} once, thereby creating bytecode for it."
  12447. msgstr ""
  12448. #. type: defvr
  12449. #: guix-git/doc/guix.texi:7957
  12450. msgid "It further creates a wrapper script in @code{bin/} and a desktop entry in @code{share/applications}, both of which can be used to launch the game."
  12451. msgstr ""
  12452. #. type: defvr
  12453. #: guix-git/doc/guix.texi:7961
  12454. msgid "Which Ren'py package is used can be specified with @code{#:renpy}. Games can also be installed in outputs other than ``out'' by using @code{#:output}."
  12455. msgstr ""
  12456. #. type: defvr
  12457. #: guix-git/doc/guix.texi:7963
  12458. #, no-wrap
  12459. msgid "{Scheme Variable} qt-build-system"
  12460. msgstr ""
  12461. #. type: defvr
  12462. #: guix-git/doc/guix.texi:7966
  12463. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  12464. msgstr ""
  12465. #. type: defvr
  12466. #: guix-git/doc/guix.texi:7969
  12467. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  12468. msgstr ""
  12469. #. type: item
  12470. #: guix-git/doc/guix.texi:7971
  12471. #, no-wrap
  12472. msgid "check-setup"
  12473. msgstr ""
  12474. #. type: table
  12475. #: guix-git/doc/guix.texi:7978
  12476. msgid "The phase @code{check-setup} prepares the environment for running the checks as commonly used by Qt test programs. For now this only sets some environment variables: @code{QT_QPA_PLATFORM=offscreen}, @code{DBUS_FATAL_WARNINGS=0} and @code{CTEST_OUTPUT_ON_FAILURE=1}."
  12477. msgstr ""
  12478. #. type: table
  12479. #: guix-git/doc/guix.texi:7981
  12480. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  12481. msgstr ""
  12482. #. type: item
  12483. #: guix-git/doc/guix.texi:7982
  12484. #, no-wrap
  12485. msgid "qt-wrap"
  12486. msgstr ""
  12487. #. type: table
  12488. #: guix-git/doc/guix.texi:7988
  12489. msgid "The phase @code{qt-wrap} searches for Qt5 plugin paths, QML paths and some XDG in the inputs and output. In case some path is found, all programs in the output's @file{bin/}, @file{sbin/}, @file{libexec/} and @file{lib/libexec/} directories are wrapped in scripts defining the necessary environment variables."
  12490. msgstr ""
  12491. #. type: table
  12492. #: guix-git/doc/guix.texi:7994
  12493. msgid "It is possible to exclude specific package outputs from that wrapping process by listing their names in the @code{#:qt-wrap-excluded-outputs} parameter. This is useful when an output is known not to contain any Qt binaries, and where wrapping would gratuitously add a dependency of that output on Qt, KDE, or such."
  12494. msgstr ""
  12495. #. type: table
  12496. #: guix-git/doc/guix.texi:7996
  12497. msgid "This phase is added after the @code{install} phase."
  12498. msgstr ""
  12499. #. type: defvr
  12500. #: guix-git/doc/guix.texi:7999
  12501. #, no-wrap
  12502. msgid "{Scheme Variable} r-build-system"
  12503. msgstr ""
  12504. #. type: defvr
  12505. #: guix-git/doc/guix.texi:8007
  12506. msgid "This variable is exported by @code{(guix build-system r)}. It implements the build procedure used by @uref{https://r-project.org, R} packages, which essentially is little more than running @samp{R CMD INSTALL --library=/gnu/store/@dots{}} in an environment where @env{R_LIBS_SITE} contains the paths to all R package inputs. Tests are run after installation using the R function @code{tools::testInstalledPackage}."
  12507. msgstr ""
  12508. #. type: defvr
  12509. #: guix-git/doc/guix.texi:8009
  12510. #, no-wrap
  12511. msgid "{Scheme Variable} rakudo-build-system"
  12512. msgstr ""
  12513. #. type: defvr
  12514. #: guix-git/doc/guix.texi:8017
  12515. msgid "This variable is exported by @code{(guix build-system rakudo)}. It implements the build procedure used by @uref{https://rakudo.org/, Rakudo} for @uref{https://perl6.org/, Perl6} packages. It installs the package to @code{/gnu/store/@dots{}/NAME-VERSION/share/perl6} and installs the binaries, library files and the resources, as well as wrap the files under the @code{bin/} directory. Tests can be skipped by passing @code{#f} to the @code{tests?} parameter."
  12516. msgstr ""
  12517. #. type: defvr
  12518. #: guix-git/doc/guix.texi:8025
  12519. msgid "Which rakudo package is used can be specified with @code{rakudo}. Which perl6-tap-harness package used for the tests can be specified with @code{#:prove6} or removed by passing @code{#f} to the @code{with-prove6?} parameter. Which perl6-zef package used for tests and installing can be specified with @code{#:zef} or removed by passing @code{#f} to the @code{with-zef?} parameter."
  12520. msgstr ""
  12521. #. type: defvr
  12522. #: guix-git/doc/guix.texi:8027
  12523. #, no-wrap
  12524. msgid "{Scheme Variable} texlive-build-system"
  12525. msgstr ""
  12526. #. type: defvr
  12527. #: guix-git/doc/guix.texi:8032
  12528. msgid "This variable is exported by @code{(guix build-system texlive)}. It is used to build TeX packages in batch mode with a specified engine. The build system sets the @env{TEXINPUTS} variable to find all TeX source files in the inputs."
  12529. msgstr ""
  12530. #. type: defvr
  12531. #: guix-git/doc/guix.texi:8041
  12532. msgid "By default it runs @code{luatex} on all files ending on @code{ins}. A different engine and format can be specified with the @code{#:tex-format} argument. Different build targets can be specified with the @code{#:build-targets} argument, which expects a list of file names. The build system adds only @code{texlive-bin} and @code{texlive-latex-base} (both from @code{(gnu packages tex}) to the inputs. Both can be overridden with the arguments @code{#:texlive-bin} and @code{#:texlive-latex-base}, respectively."
  12533. msgstr ""
  12534. #. type: defvr
  12535. #: guix-git/doc/guix.texi:8044
  12536. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  12537. msgstr ""
  12538. #. type: defvr
  12539. #: guix-git/doc/guix.texi:8046
  12540. #, no-wrap
  12541. msgid "{Scheme Variable} ruby-build-system"
  12542. msgstr ""
  12543. #. type: defvr
  12544. #: guix-git/doc/guix.texi:8050
  12545. msgid "This variable is exported by @code{(guix build-system ruby)}. It implements the RubyGems build procedure used by Ruby packages, which involves running @code{gem build} followed by @code{gem install}."
  12546. msgstr ""
  12547. #. type: defvr
  12548. #: guix-git/doc/guix.texi:8058
  12549. msgid "The @code{source} field of a package that uses this build system typically references a gem archive, since this is the format that Ruby developers use when releasing their software. The build system unpacks the gem archive, potentially patches the source, runs the test suite, repackages the gem, and installs it. Additionally, directories and tarballs may be referenced to allow building unreleased gems from Git or a traditional source release tarball."
  12550. msgstr ""
  12551. #. type: defvr
  12552. #: guix-git/doc/guix.texi:8062
  12553. msgid "Which Ruby package is used can be specified with the @code{#:ruby} parameter. A list of additional flags to be passed to the @command{gem} command can be specified with the @code{#:gem-flags} parameter."
  12554. msgstr ""
  12555. #. type: defvr
  12556. #: guix-git/doc/guix.texi:8064
  12557. #, no-wrap
  12558. msgid "{Scheme Variable} waf-build-system"
  12559. msgstr ""
  12560. #. type: defvr
  12561. #: guix-git/doc/guix.texi:8070
  12562. msgid "This variable is exported by @code{(guix build-system waf)}. It implements a build procedure around the @code{waf} script. The common phases---@code{configure}, @code{build}, and @code{install}---are implemented by passing their names as arguments to the @code{waf} script."
  12563. msgstr ""
  12564. #. type: defvr
  12565. #: guix-git/doc/guix.texi:8074
  12566. msgid "The @code{waf} script is executed by the Python interpreter. Which Python package is used to run the script can be specified with the @code{#:python} parameter."
  12567. msgstr ""
  12568. #. type: defvr
  12569. #: guix-git/doc/guix.texi:8076
  12570. #, no-wrap
  12571. msgid "{Scheme Variable} scons-build-system"
  12572. msgstr ""
  12573. #. type: defvr
  12574. #: guix-git/doc/guix.texi:8082
  12575. msgid "This variable is exported by @code{(guix build-system scons)}. It implements the build procedure used by the SCons software construction tool. This build system runs @code{scons} to build the package, @code{scons test} to run tests, and then @code{scons install} to install the package."
  12576. msgstr ""
  12577. #. type: defvr
  12578. #: guix-git/doc/guix.texi:8089
  12579. msgid "Additional flags to be passed to @code{scons} can be specified with the @code{#:scons-flags} parameter. The default build and install targets can be overridden with @code{#:build-targets} and @code{#:install-targets} respectively. The version of Python used to run SCons can be specified by selecting the appropriate SCons package with the @code{#:scons} parameter."
  12580. msgstr ""
  12581. #. type: defvr
  12582. #: guix-git/doc/guix.texi:8091
  12583. #, no-wrap
  12584. msgid "{Scheme Variable} haskell-build-system"
  12585. msgstr ""
  12586. #. type: defvr
  12587. #: guix-git/doc/guix.texi:8105
  12588. msgid "This variable is exported by @code{(guix build-system haskell)}. It implements the Cabal build procedure used by Haskell packages, which involves running @code{runhaskell Setup.hs configure --prefix=/gnu/store/@dots{}} and @code{runhaskell Setup.hs build}. Instead of installing the package by running @code{runhaskell Setup.hs install}, to avoid trying to register libraries in the read-only compiler store directory, the build system uses @code{runhaskell Setup.hs copy}, followed by @code{runhaskell Setup.hs register}. In addition, the build system generates the package documentation by running @code{runhaskell Setup.hs haddock}, unless @code{#:haddock? #f} is passed. Optional Haddock parameters can be passed with the help of the @code{#:haddock-flags} parameter. If the file @code{Setup.hs} is not found, the build system looks for @code{Setup.lhs} instead."
  12589. msgstr ""
  12590. #. type: defvr
  12591. #: guix-git/doc/guix.texi:8108
  12592. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  12593. msgstr ""
  12594. #. type: defvr
  12595. #: guix-git/doc/guix.texi:8110
  12596. #, no-wrap
  12597. msgid "{Scheme Variable} dub-build-system"
  12598. msgstr ""
  12599. #. type: defvr
  12600. #: guix-git/doc/guix.texi:8115
  12601. msgid "This variable is exported by @code{(guix build-system dub)}. It implements the Dub build procedure used by D packages, which involves running @code{dub build} and @code{dub run}. Installation is done by copying the files manually."
  12602. msgstr ""
  12603. #. type: defvr
  12604. #: guix-git/doc/guix.texi:8118
  12605. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  12606. msgstr ""
  12607. #. type: anchor{#1}
  12608. #: guix-git/doc/guix.texi:8121
  12609. msgid "emacs-build-system"
  12610. msgstr ""
  12611. #. type: defvr
  12612. #: guix-git/doc/guix.texi:8121
  12613. #, no-wrap
  12614. msgid "{Scheme Variable} emacs-build-system"
  12615. msgstr ""
  12616. #. type: defvr
  12617. #: guix-git/doc/guix.texi:8125
  12618. msgid "This variable is exported by @code{(guix build-system emacs)}. It implements an installation procedure similar to the packaging system of Emacs itself (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  12619. msgstr ""
  12620. #. type: defvr
  12621. #: guix-git/doc/guix.texi:8131
  12622. msgid "It first creates the @code{@code{package}-autoloads.el} file, then it byte compiles all Emacs Lisp files. Differently from the Emacs packaging system, the Info documentation files are moved to the standard documentation directory and the @file{dir} file is deleted. The Elisp package files are installed directly under @file{share/emacs/site-lisp}."
  12623. msgstr ""
  12624. #. type: defvr
  12625. #: guix-git/doc/guix.texi:8133
  12626. #, no-wrap
  12627. msgid "{Scheme Variable} font-build-system"
  12628. msgstr ""
  12629. #. type: defvr
  12630. #: guix-git/doc/guix.texi:8139
  12631. msgid "This variable is exported by @code{(guix build-system font)}. It implements an installation procedure for font packages where upstream provides pre-compiled TrueType, OpenType, etc.@: font files that merely need to be copied into place. It copies font files to standard locations in the output directory."
  12632. msgstr ""
  12633. #. type: defvr
  12634. #: guix-git/doc/guix.texi:8141
  12635. #, no-wrap
  12636. msgid "{Scheme Variable} meson-build-system"
  12637. msgstr ""
  12638. #. type: defvr
  12639. #: guix-git/doc/guix.texi:8145
  12640. msgid "This variable is exported by @code{(guix build-system meson)}. It implements the build procedure for packages that use @url{https://mesonbuild.com, Meson} as their build system."
  12641. msgstr ""
  12642. #. type: defvr
  12643. #: guix-git/doc/guix.texi:8151
  12644. msgid "It adds both Meson and @uref{https://ninja-build.org/, Ninja} to the set of inputs, and they can be changed with the parameters @code{#:meson} and @code{#:ninja} if needed. The default Meson is @code{meson-for-build}, which is special because it doesn't clear the @code{RUNPATH} of binaries and libraries when they are installed."
  12645. msgstr ""
  12646. #. type: defvr
  12647. #: guix-git/doc/guix.texi:8154
  12648. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  12649. msgstr ""
  12650. #. type: item
  12651. #: guix-git/doc/guix.texi:8157 guix-git/doc/guix.texi:8206
  12652. #: guix-git/doc/guix.texi:8274
  12653. #, no-wrap
  12654. msgid "configure"
  12655. msgstr ""
  12656. #. type: table
  12657. #: guix-git/doc/guix.texi:8162
  12658. msgid "The phase runs @code{meson} with the flags specified in @code{#:configure-flags}. The flag @option{--buildtype} is always set to @code{debugoptimized} unless something else is specified in @code{#:build-type}."
  12659. msgstr ""
  12660. #. type: table
  12661. #: guix-git/doc/guix.texi:8166
  12662. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  12663. msgstr ""
  12664. #. type: table
  12665. #: guix-git/doc/guix.texi:8170
  12666. msgid "The phase runs @code{ninja} with the target specified in @code{#:test-target}, which is @code{\"test\"} by default."
  12667. msgstr ""
  12668. #. type: table
  12669. #: guix-git/doc/guix.texi:8173
  12670. msgid "The phase runs @code{ninja install} and can not be changed."
  12671. msgstr ""
  12672. #. type: defvr
  12673. #: guix-git/doc/guix.texi:8176
  12674. msgid "Apart from that, the build system also adds the following phases:"
  12675. msgstr ""
  12676. #. type: item
  12677. #: guix-git/doc/guix.texi:8179
  12678. #, no-wrap
  12679. msgid "fix-runpath"
  12680. msgstr ""
  12681. #. type: table
  12682. #: guix-git/doc/guix.texi:8186
  12683. msgid "This phase ensures that all binaries can find the libraries they need. It searches for required libraries in subdirectories of the package being built, and adds those to @code{RUNPATH} where needed. It also removes references to libraries left over from the build phase by @code{meson-for-build}, such as test dependencies, that aren't actually required for the program to run."
  12684. msgstr ""
  12685. #. type: table
  12686. #: guix-git/doc/guix.texi:8190 guix-git/doc/guix.texi:8194
  12687. msgid "This phase is the phase provided by @code{glib-or-gtk-build-system}, and it is not enabled by default. It can be enabled with @code{#:glib-or-gtk?}."
  12688. msgstr ""
  12689. #. type: defvr
  12690. #: guix-git/doc/guix.texi:8197
  12691. #, no-wrap
  12692. msgid "{Scheme Variable} linux-module-build-system"
  12693. msgstr ""
  12694. #. type: defvr
  12695. #: guix-git/doc/guix.texi:8199
  12696. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  12697. msgstr ""
  12698. #. type: defvr
  12699. #: guix-git/doc/guix.texi:8203
  12700. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  12701. msgstr ""
  12702. #. type: table
  12703. #: guix-git/doc/guix.texi:8209
  12704. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  12705. msgstr ""
  12706. #. type: table
  12707. #: guix-git/doc/guix.texi:8213
  12708. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  12709. msgstr ""
  12710. #. type: table
  12711. #: guix-git/doc/guix.texi:8217
  12712. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  12713. msgstr ""
  12714. #. type: defvr
  12715. #: guix-git/doc/guix.texi:8222
  12716. msgid "It is possible and useful to specify the Linux kernel to use for building the module (in the @code{arguments} form of a package using the @code{linux-module-build-system}, use the key @code{#:linux} to specify it)."
  12717. msgstr ""
  12718. #. type: defvr
  12719. #: guix-git/doc/guix.texi:8224
  12720. #, no-wrap
  12721. msgid "{Scheme Variable} node-build-system"
  12722. msgstr ""
  12723. #. type: defvr
  12724. #: guix-git/doc/guix.texi:8229
  12725. msgid "This variable is exported by @code{(guix build-system node)}. It implements the build procedure used by @uref{https://nodejs.org, Node.js}, which implements an approximation of the @code{npm install} command, followed by an @code{npm test} command."
  12726. msgstr ""
  12727. #. type: defvr
  12728. #: guix-git/doc/guix.texi:8233
  12729. msgid "Which Node.js package is used to interpret the @code{npm} commands can be specified with the @code{#:node} parameter which defaults to @code{node}."
  12730. msgstr ""
  12731. #. type: Plain text
  12732. #: guix-git/doc/guix.texi:8239
  12733. msgid "Lastly, for packages that do not need anything as sophisticated, a ``trivial'' build system is provided. It is trivial in the sense that it provides basically no support: it does not pull any implicit inputs, and does not have a notion of build phases."
  12734. msgstr ""
  12735. #. type: defvr
  12736. #: guix-git/doc/guix.texi:8240
  12737. #, no-wrap
  12738. msgid "{Scheme Variable} trivial-build-system"
  12739. msgstr ""
  12740. #. type: defvr
  12741. #: guix-git/doc/guix.texi:8242
  12742. msgid "This variable is exported by @code{(guix build-system trivial)}."
  12743. msgstr ""
  12744. #. type: defvr
  12745. #: guix-git/doc/guix.texi:8247
  12746. msgid "This build system requires a @code{#:builder} argument. This argument must be a Scheme expression that builds the package output(s)---as with @code{build-expression->derivation} (@pxref{Derivations, @code{build-expression->derivation}})."
  12747. msgstr ""
  12748. #. type: cindex
  12749. #: guix-git/doc/guix.texi:8252
  12750. #, no-wrap
  12751. msgid "build phases, for packages"
  12752. msgstr ""
  12753. #. type: Plain text
  12754. #: guix-git/doc/guix.texi:8258
  12755. msgid "Almost all package build systems implement a notion @dfn{build phases}: a sequence of actions that the build system executes, when you build the package, leading to the installed byproducts in the store. A notable exception is the ``bare-bones'' @code{trivial-build-system} (@pxref{Build Systems})."
  12756. msgstr ""
  12757. #. type: Plain text
  12758. #: guix-git/doc/guix.texi:8262
  12759. msgid "As discussed in the previous section, those build systems provide a standard list of phases. For @code{gnu-build-system}, the main build phases are the following:"
  12760. msgstr ""
  12761. #. type: item
  12762. #: guix-git/doc/guix.texi:8264
  12763. #, no-wrap
  12764. msgid "unpack"
  12765. msgstr ""
  12766. #. type: table
  12767. #: guix-git/doc/guix.texi:8268
  12768. msgid "Unpack the source tarball, and change the current directory to the extracted source tree. If the source is actually a directory, copy it to the build tree, and enter that directory."
  12769. msgstr ""
  12770. #. type: item
  12771. #: guix-git/doc/guix.texi:8269
  12772. #, no-wrap
  12773. msgid "patch-source-shebangs"
  12774. msgstr ""
  12775. #. type: table
  12776. #: guix-git/doc/guix.texi:8273
  12777. msgid "Patch shebangs encountered in source files so they refer to the right store file names. For instance, this changes @code{#!/bin/sh} to @code{#!/gnu/store/@dots{}-bash-4.3/bin/sh}."
  12778. msgstr ""
  12779. #. type: table
  12780. #: guix-git/doc/guix.texi:8278
  12781. msgid "Run the @file{configure} script with a number of default options, such as @option{--prefix=/gnu/store/@dots{}}, as well as the options specified by the @code{#:configure-flags} argument."
  12782. msgstr ""
  12783. #. type: table
  12784. #: guix-git/doc/guix.texi:8283
  12785. msgid "Run @code{make} with the list of flags specified with @code{#:make-flags}. If the @code{#:parallel-build?} argument is true (the default), build with @code{make -j}."
  12786. msgstr ""
  12787. #. type: table
  12788. #: guix-git/doc/guix.texi:8289
  12789. msgid "Run @code{make check}, or some other target specified with @code{#:test-target}, unless @code{#:tests? #f} is passed. If the @code{#:parallel-tests?} argument is true (the default), run @code{make check -j}."
  12790. msgstr ""
  12791. #. type: table
  12792. #: guix-git/doc/guix.texi:8292
  12793. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  12794. msgstr ""
  12795. #. type: item
  12796. #: guix-git/doc/guix.texi:8293
  12797. #, no-wrap
  12798. msgid "patch-shebangs"
  12799. msgstr ""
  12800. #. type: table
  12801. #: guix-git/doc/guix.texi:8295
  12802. msgid "Patch shebangs on the installed executable files."
  12803. msgstr ""
  12804. #. type: item
  12805. #: guix-git/doc/guix.texi:8296
  12806. #, no-wrap
  12807. msgid "strip"
  12808. msgstr ""
  12809. #. type: table
  12810. #: guix-git/doc/guix.texi:8300
  12811. msgid "Strip debugging symbols from ELF files (unless @code{#:strip-binaries?} is false), copying them to the @code{debug} output when available (@pxref{Installing Debugging Files})."
  12812. msgstr ""
  12813. #. type: Plain text
  12814. #: guix-git/doc/guix.texi:8309
  12815. msgid "Other build systems have similar phases, with some variations. For example, @code{cmake-build-system} has same-named phases but its @code{configure} phases runs @code{cmake} instead of @code{./configure}. Others, such as @code{python-build-system}, have a wholly different list of standard phases. All this code runs on the @dfn{build side}: it is evaluated when you actually build the package, in a dedicated build process spawned by the build daemon (@pxref{Invoking guix-daemon})."
  12816. msgstr ""
  12817. #. type: Plain text
  12818. #: guix-git/doc/guix.texi:8316
  12819. msgid "Build phases are represented as association lists or ``alists'' (@pxref{Association Lists,,, guile, GNU Guile Reference Manual}) where each key is a symbol for the name of the phase and the associated value is a procedure that accepts an arbitrary number of arguments. By convention, those procedures receive information about the build in the form of @dfn{keyword parameters}, which they can use or ignore."
  12820. msgstr ""
  12821. #. type: vindex
  12822. #: guix-git/doc/guix.texi:8317
  12823. #, no-wrap
  12824. msgid "%standard-phases"
  12825. msgstr ""
  12826. #. type: Plain text
  12827. #: guix-git/doc/guix.texi:8323
  12828. msgid "For example, here is how @code{(guix build gnu-build-system)} defines @code{%standard-phases}, the variable holding its alist of build phases@footnote{We present a simplified view of those build phases, but do take a look at @code{(guix build gnu-build-system)} to see all the details!}:"
  12829. msgstr ""
  12830. #. type: lisp
  12831. #: guix-git/doc/guix.texi:8326
  12832. #, no-wrap
  12833. msgid ""
  12834. ";; The build phases of 'gnu-build-system'.\n"
  12835. "\n"
  12836. msgstr ""
  12837. #. type: lisp
  12838. #: guix-git/doc/guix.texi:8330
  12839. #, no-wrap
  12840. msgid ""
  12841. "(define* (unpack #:key source #:allow-other-keys)\n"
  12842. " ;; Extract the source tarball.\n"
  12843. " (invoke \"tar\" \"xvf\" source))\n"
  12844. "\n"
  12845. msgstr ""
  12846. #. type: lisp
  12847. #: guix-git/doc/guix.texi:8336
  12848. #, no-wrap
  12849. msgid ""
  12850. "(define* (configure #:key outputs #:allow-other-keys)\n"
  12851. " ;; Run the 'configure' script. Install to output \"out\".\n"
  12852. " (let ((out (assoc-ref outputs \"out\")))\n"
  12853. " (invoke \"./configure\"\n"
  12854. " (string-append \"--prefix=\" out))))\n"
  12855. "\n"
  12856. msgstr ""
  12857. #. type: lisp
  12858. #: guix-git/doc/guix.texi:8340
  12859. #, no-wrap
  12860. msgid ""
  12861. "(define* (build #:allow-other-keys)\n"
  12862. " ;; Compile.\n"
  12863. " (invoke \"make\"))\n"
  12864. "\n"
  12865. msgstr ""
  12866. #. type: lisp
  12867. #: guix-git/doc/guix.texi:8347
  12868. #, no-wrap
  12869. msgid ""
  12870. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  12871. " #:allow-other-keys)\n"
  12872. " ;; Run the test suite.\n"
  12873. " (if tests?\n"
  12874. " (invoke \"make\" test-target)\n"
  12875. " (display \"test suite not run\\n\")))\n"
  12876. "\n"
  12877. msgstr ""
  12878. #. type: lisp
  12879. #: guix-git/doc/guix.texi:8351
  12880. #, no-wrap
  12881. msgid ""
  12882. "(define* (install #:allow-other-keys)\n"
  12883. " ;; Install files to the prefix 'configure' specified.\n"
  12884. " (invoke \"make\" \"install\"))\n"
  12885. "\n"
  12886. msgstr ""
  12887. #. type: lisp
  12888. #: guix-git/doc/guix.texi:8360
  12889. #, no-wrap
  12890. msgid ""
  12891. "(define %standard-phases\n"
  12892. " ;; The list of standard phases (quite a few are omitted\n"
  12893. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  12894. " (list (cons 'unpack unpack)\n"
  12895. " (cons 'configure configure)\n"
  12896. " (cons 'build build)\n"
  12897. " (cons 'check check)\n"
  12898. " (cons 'install install)))\n"
  12899. msgstr ""
  12900. #. type: Plain text
  12901. #: guix-git/doc/guix.texi:8370
  12902. msgid "This shows how @code{%standard-phases} is defined as a list of symbol/procedure pairs (@pxref{Pairs,,, guile, GNU Guile Reference Manual}). The first pair associates the @code{unpack} procedure with the @code{unpack} symbol---a name; the second pair defines the @code{configure} phase similarly, and so on. When building a package that uses @code{gnu-build-system} with its default list of phases, those phases are executed sequentially. You can see the name of each phase started and completed in the build log of packages that you build."
  12903. msgstr ""
  12904. #. type: Plain text
  12905. #: guix-git/doc/guix.texi:8376
  12906. msgid "Let's now look at the procedures themselves. Each one is defined with @code{define*}: @code{#:key} lists keyword parameters the procedure accepts, possibly with a default value, and @code{#:allow-other-keys} specifies that other keyword parameters are ignored (@pxref{Optional Arguments,,, guile, GNU Guile Reference Manual})."
  12907. msgstr ""
  12908. #. type: Plain text
  12909. #: guix-git/doc/guix.texi:8392
  12910. msgid "The @code{unpack} procedure honors the @code{source} parameter, which the build system uses to pass the file name of the source tarball (or version control checkout), and it ignores other parameters. The @code{configure} phase only cares about the @code{outputs} parameter, an alist mapping package output names to their store file name (@pxref{Packages with Multiple Outputs}). It extracts the file name of for @code{out}, the default output, and passes it to @command{./configure} as the installation prefix, meaning that @command{make install} will eventually copy all the files in that directory (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards}). @code{build} and @code{install} ignore all their arguments. @code{check} honors the @code{test-target} argument, which specifies the name of the Makefile target to run tests; it prints a message and skips tests when @code{tests?} is false."
  12911. msgstr ""
  12912. #. type: cindex
  12913. #: guix-git/doc/guix.texi:8393
  12914. #, no-wrap
  12915. msgid "build phases, customizing"
  12916. msgstr ""
  12917. #. type: Plain text
  12918. #: guix-git/doc/guix.texi:8402
  12919. msgid "The list of phases used for a particular package can be changed with the @code{#:phases} parameter of the build system. Changing the set of build phases boils down to building a new alist of phases based on the @code{%standard-phases} alist described above. This can be done with standard alist procedures such as @code{alist-delete} (@pxref{SRFI-1 Association Lists,,, guile, GNU Guile Reference Manual}); however, it is more convenient to do so with @code{modify-phases} (@pxref{Build Utilities, @code{modify-phases}})."
  12920. msgstr ""
  12921. #. type: Plain text
  12922. #: guix-git/doc/guix.texi:8407
  12923. msgid "Here is an example of a package definition that removes the @code{configure} phase of @code{%standard-phases} and inserts a new phase before the @code{build} phase, called @code{set-prefix-in-makefile}:"
  12924. msgstr ""
  12925. #. type: lisp
  12926. #: guix-git/doc/guix.texi:8427
  12927. #, no-wrap
  12928. msgid ""
  12929. "(define-public example\n"
  12930. " (package\n"
  12931. " (name \"example\")\n"
  12932. " ;; other fields omitted\n"
  12933. " (build-system gnu-build-system)\n"
  12934. " (arguments\n"
  12935. " '(#:phases (modify-phases %standard-phases\n"
  12936. " (delete 'configure)\n"
  12937. " (add-before 'build 'set-prefix-in-makefile\n"
  12938. " (lambda* (#:key outputs #:allow-other-keys)\n"
  12939. " ;; Modify the makefile so that its\n"
  12940. " ;; 'PREFIX' variable points to \"out\".\n"
  12941. " (let ((out (assoc-ref outputs \"out\")))\n"
  12942. " (substitute* \"Makefile\"\n"
  12943. " ((\"PREFIX =.*\")\n"
  12944. " (string-append \"PREFIX = \"\n"
  12945. " out \"\\n\")))\n"
  12946. " #true))))))))\n"
  12947. msgstr ""
  12948. #. type: Plain text
  12949. #: guix-git/doc/guix.texi:8433
  12950. msgid "The new phase that is inserted is written as an anonymous procedure, introduced with @code{lambda*}; it honors the @code{outputs} parameter we have seen before. @xref{Build Utilities}, for more about the helpers used by this phase, and for more examples of @code{modify-phases}."
  12951. msgstr ""
  12952. #. type: cindex
  12953. #: guix-git/doc/guix.texi:8434 guix-git/doc/guix.texi:9407
  12954. #, no-wrap
  12955. msgid "code staging"
  12956. msgstr ""
  12957. #. type: cindex
  12958. #: guix-git/doc/guix.texi:8435 guix-git/doc/guix.texi:9408
  12959. #, no-wrap
  12960. msgid "staging, of code"
  12961. msgstr ""
  12962. #. type: Plain text
  12963. #: guix-git/doc/guix.texi:8442
  12964. msgid "Keep in mind that build phases are code evaluated at the time the package is actually built. This explains why the whole @code{modify-phases} expression above is quoted (it comes after the @code{'} or apostrophe): it is @dfn{staged} for later execution. @xref{G-Expressions}, for an explanation of code staging and the @dfn{code strata} involved."
  12965. msgstr ""
  12966. #. type: Plain text
  12967. #: guix-git/doc/guix.texi:8452
  12968. msgid "As soon as you start writing non-trivial package definitions (@pxref{Defining Packages}) or other build actions (@pxref{G-Expressions}), you will likely start looking for helpers for ``shell-like'' actions---creating directories, copying and deleting files recursively, manipulating build phases, and so on. The @code{(guix build utils)} module provides such utility procedures."
  12969. msgstr ""
  12970. #. type: Plain text
  12971. #: guix-git/doc/guix.texi:8456
  12972. msgid "Most build systems load @code{(guix build utils)} (@pxref{Build Systems}). Thus, when writing custom build phases for your package definitions, you can usually assume those procedures are in scope."
  12973. msgstr ""
  12974. #. type: Plain text
  12975. #: guix-git/doc/guix.texi:8461
  12976. msgid "When writing G-expressions, you can import @code{(guix build utils)} on the ``build side'' using @code{with-imported-modules} and then put it in scope with the @code{use-modules} form (@pxref{Using Guile Modules,,, guile, GNU Guile Reference Manual}):"
  12977. msgstr ""
  12978. #. type: lisp
  12979. #: guix-git/doc/guix.texi:8468
  12980. #, no-wrap
  12981. msgid ""
  12982. "(with-imported-modules '((guix build utils)) ;import it\n"
  12983. " (computed-file \"empty-tree\"\n"
  12984. " #~(begin\n"
  12985. " ;; Put it in scope.\n"
  12986. " (use-modules (guix build utils))\n"
  12987. "\n"
  12988. msgstr ""
  12989. #. type: lisp
  12990. #: guix-git/doc/guix.texi:8471
  12991. #, no-wrap
  12992. msgid ""
  12993. " ;; Happily use its 'mkdir-p' procedure.\n"
  12994. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  12995. msgstr ""
  12996. #. type: Plain text
  12997. #: guix-git/doc/guix.texi:8475
  12998. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  12999. msgstr ""
  13000. #. type: subsection
  13001. #: guix-git/doc/guix.texi:8478
  13002. #, no-wrap
  13003. msgid "Dealing with Store File Names"
  13004. msgstr ""
  13005. #. type: Plain text
  13006. #: guix-git/doc/guix.texi:8481
  13007. msgid "This section documents procedures that deal with store file names."
  13008. msgstr ""
  13009. #. type: deffn
  13010. #: guix-git/doc/guix.texi:8482
  13011. #, no-wrap
  13012. msgid "{Scheme Procedure} %store-directory"
  13013. msgstr ""
  13014. #. type: deffn
  13015. #: guix-git/doc/guix.texi:8484
  13016. msgid "Return the directory name of the store."
  13017. msgstr ""
  13018. #. type: deffn
  13019. #: guix-git/doc/guix.texi:8486
  13020. #, no-wrap
  13021. msgid "{Scheme Procedure} store-file-name? @var{file}"
  13022. msgstr ""
  13023. #. type: deffn
  13024. #: guix-git/doc/guix.texi:8488
  13025. msgid "Return true if @var{file} is in the store."
  13026. msgstr ""
  13027. #. type: deffn
  13028. #: guix-git/doc/guix.texi:8490
  13029. #, no-wrap
  13030. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  13031. msgstr ""
  13032. #. type: deffn
  13033. #: guix-git/doc/guix.texi:8493
  13034. msgid "Strip the @file{/gnu/store} and hash from @var{file}, a store file name. The result is typically a @code{\"@var{package}-@var{version}\"} string."
  13035. msgstr ""
  13036. #. type: deffn
  13037. #: guix-git/doc/guix.texi:8495
  13038. #, no-wrap
  13039. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  13040. msgstr ""
  13041. #. type: deffn
  13042. #: guix-git/doc/guix.texi:8500
  13043. msgid "Given @var{name}, a package name like @code{\"foo-0.9.1b\"}, return two values: @code{\"foo\"} and @code{\"0.9.1b\"}. When the version part is unavailable, @var{name} and @code{#f} are returned. The first hyphen followed by a digit is considered to introduce the version part."
  13044. msgstr ""
  13045. #. type: subsection
  13046. #: guix-git/doc/guix.texi:8502
  13047. #, no-wrap
  13048. msgid "File Types"
  13049. msgstr ""
  13050. #. type: Plain text
  13051. #: guix-git/doc/guix.texi:8505
  13052. msgid "The procedures below deal with files and file types."
  13053. msgstr ""
  13054. #. type: deffn
  13055. #: guix-git/doc/guix.texi:8506
  13056. #, no-wrap
  13057. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  13058. msgstr ""
  13059. #. type: deffn
  13060. #: guix-git/doc/guix.texi:8508
  13061. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  13062. msgstr ""
  13063. #. type: deffn
  13064. #: guix-git/doc/guix.texi:8510
  13065. #, no-wrap
  13066. msgid "{Scheme Procedure} executable-file? @var{file}"
  13067. msgstr ""
  13068. #. type: deffn
  13069. #: guix-git/doc/guix.texi:8512
  13070. msgid "Return @code{#t} if @var{file} exists and is executable."
  13071. msgstr ""
  13072. #. type: deffn
  13073. #: guix-git/doc/guix.texi:8514
  13074. #, no-wrap
  13075. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  13076. msgstr ""
  13077. #. type: deffn
  13078. #: guix-git/doc/guix.texi:8516
  13079. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  13080. msgstr ""
  13081. #. type: deffn
  13082. #: guix-git/doc/guix.texi:8518
  13083. #, no-wrap
  13084. msgid "{Scheme Procedure} elf-file? @var{file}"
  13085. msgstr ""
  13086. #. type: deffnx
  13087. #: guix-git/doc/guix.texi:8519
  13088. #, no-wrap
  13089. msgid "{Scheme Procedure} ar-file? @var{file}"
  13090. msgstr ""
  13091. #. type: deffnx
  13092. #: guix-git/doc/guix.texi:8520
  13093. #, no-wrap
  13094. msgid "{Scheme Procedure} gzip-file? @var{file}"
  13095. msgstr ""
  13096. #. type: deffn
  13097. #: guix-git/doc/guix.texi:8523
  13098. msgid "Return @code{#t} if @var{file} is, respectively, an ELF file, an @code{ar} archive (such as a @file{.a} static library), or a gzip file."
  13099. msgstr ""
  13100. #. type: deffn
  13101. #: guix-git/doc/guix.texi:8525
  13102. #, no-wrap
  13103. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  13104. msgstr ""
  13105. #. type: deffn
  13106. #: guix-git/doc/guix.texi:8529
  13107. msgid "If @var{file} is a gzip file, reset its embedded timestamp (as with @command{gzip --no-name}) and return true. Otherwise return @code{#f}. When @var{keep-mtime?} is true, preserve @var{file}'s modification time."
  13108. msgstr ""
  13109. #. type: subsection
  13110. #: guix-git/doc/guix.texi:8531
  13111. #, no-wrap
  13112. msgid "File Manipulation"
  13113. msgstr ""
  13114. #. type: Plain text
  13115. #: guix-git/doc/guix.texi:8538
  13116. msgid "The following procedures and macros help create, modify, and delete files. They provide functionality comparable to common shell utilities such as @command{mkdir -p}, @command{cp -r}, @command{rm -r}, and @command{sed}. They complement Guile's extensive, but low-level, file system interface (@pxref{POSIX,,, guile, GNU Guile Reference Manual})."
  13117. msgstr ""
  13118. #. type: deffn
  13119. #: guix-git/doc/guix.texi:8539
  13120. #, no-wrap
  13121. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  13122. msgstr ""
  13123. #. type: deffn
  13124. #: guix-git/doc/guix.texi:8541
  13125. msgid "Run @var{body} with @var{directory} as the process's current directory."
  13126. msgstr ""
  13127. #. type: deffn
  13128. #: guix-git/doc/guix.texi:8548
  13129. msgid "Essentially, this macro changes the current directory to @var{directory} before evaluating @var{body}, using @code{chdir} (@pxref{Processes,,, guile, GNU Guile Reference Manual}). It changes back to the initial directory when the dynamic extent of @var{body} is left, be it @i{via} normal procedure return or @i{via} a non-local exit such as an exception."
  13130. msgstr ""
  13131. #. type: deffn
  13132. #: guix-git/doc/guix.texi:8550
  13133. #, no-wrap
  13134. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  13135. msgstr ""
  13136. #. type: deffn
  13137. #: guix-git/doc/guix.texi:8552
  13138. msgid "Create directory @var{dir} and all its ancestors."
  13139. msgstr ""
  13140. #. type: deffn
  13141. #: guix-git/doc/guix.texi:8554
  13142. #, no-wrap
  13143. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  13144. msgstr ""
  13145. #. type: deffn
  13146. #: guix-git/doc/guix.texi:8557
  13147. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  13148. msgstr ""
  13149. #. type: deffn
  13150. #: guix-git/doc/guix.texi:8559
  13151. #, no-wrap
  13152. msgid "{Scheme Procedure} make-file-writable @var{file}"
  13153. msgstr ""
  13154. #. type: deffn
  13155. #: guix-git/doc/guix.texi:8561
  13156. msgid "Make @var{file} writable for its owner."
  13157. msgstr ""
  13158. #. type: deffn
  13159. #: guix-git/doc/guix.texi:8563
  13160. #, no-wrap
  13161. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  13162. msgstr ""
  13163. #. type: deffn
  13164. #: guix-git/doc/guix.texi:8570
  13165. msgid "[#:log (current-output-port)] [#:follow-symlinks? #f] [#:keep-mtime? #f] Copy @var{source} directory to @var{destination}. Follow symlinks if @var{follow-symlinks?} is true; otherwise, just preserve them. When @var{keep-mtime?} is true, keep the modification time of the files in @var{source} on those of @var{destination}. Write verbose output to the @var{log} port."
  13166. msgstr ""
  13167. #. type: deffn
  13168. #: guix-git/doc/guix.texi:8572
  13169. #, no-wrap
  13170. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  13171. msgstr ""
  13172. #. type: deffn
  13173. #: guix-git/doc/guix.texi:8577
  13174. msgid "[#:follow-mounts? #f] Delete @var{dir} recursively, like @command{rm -rf}, without following symlinks. Don't follow mount points either, unless @var{follow-mounts?} is true. Report but ignore errors."
  13175. msgstr ""
  13176. #. type: deffn
  13177. #: guix-git/doc/guix.texi:8579
  13178. #, no-wrap
  13179. msgid "{Scheme Syntax} substitute* @var{file} @"
  13180. msgstr ""
  13181. #. type: deffn
  13182. #: guix-git/doc/guix.texi:8584
  13183. msgid "((@var{regexp} @var{match-var}@dots{}) @var{body}@dots{}) @dots{} Substitute @var{regexp} in @var{file} by the string returned by @var{body}. @var{body} is evaluated with each @var{match-var} bound to the corresponding positional regexp sub-expression. For example:"
  13184. msgstr ""
  13185. #. type: lisp
  13186. #: guix-git/doc/guix.texi:8591
  13187. #, no-wrap
  13188. msgid ""
  13189. "(substitute* file\n"
  13190. " ((\"hello\")\n"
  13191. " \"good morning\\n\")\n"
  13192. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  13193. " (string-append \"baz\" letter end)))\n"
  13194. msgstr ""
  13195. #. type: deffn
  13196. #: guix-git/doc/guix.texi:8597
  13197. msgid "Here, anytime a line of @var{file} contains @code{hello}, it is replaced by @code{good morning}. Anytime a line of @var{file} matches the second regexp, @code{all} is bound to the complete match, @code{letters} is bound to the first sub-expression, and @code{end} is bound to the last one."
  13198. msgstr ""
  13199. #. type: deffn
  13200. #: guix-git/doc/guix.texi:8600
  13201. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  13202. msgstr ""
  13203. #. type: deffn
  13204. #: guix-git/doc/guix.texi:8603
  13205. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  13206. msgstr ""
  13207. #. type: deffn
  13208. #: guix-git/doc/guix.texi:8606
  13209. msgid "Be careful about using @code{$} to match the end of a line; by itself it won't match the terminating newline of a line."
  13210. msgstr ""
  13211. #. type: subsection
  13212. #: guix-git/doc/guix.texi:8608
  13213. #, no-wrap
  13214. msgid "File Search"
  13215. msgstr ""
  13216. #. type: cindex
  13217. #: guix-git/doc/guix.texi:8610
  13218. #, no-wrap
  13219. msgid "file, searching"
  13220. msgstr ""
  13221. #. type: Plain text
  13222. #: guix-git/doc/guix.texi:8612
  13223. msgid "This section documents procedures to search and filter files."
  13224. msgstr ""
  13225. #. type: deffn
  13226. #: guix-git/doc/guix.texi:8613
  13227. #, no-wrap
  13228. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  13229. msgstr ""
  13230. #. type: deffn
  13231. #: guix-git/doc/guix.texi:8616
  13232. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  13233. msgstr ""
  13234. #. type: deffn
  13235. #: guix-git/doc/guix.texi:8618
  13236. #, no-wrap
  13237. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  13238. msgstr ""
  13239. #. type: deffn
  13240. #: guix-git/doc/guix.texi:8629
  13241. msgid "[#:stat lstat] [#:directories? #f] [#:fail-on-error? #f] Return the lexicographically sorted list of files under @var{dir} for which @var{pred} returns true. @var{pred} is passed two arguments: the absolute file name, and its stat buffer; the default predicate always returns true. @var{pred} can also be a regular expression, in which case it is equivalent to @code{(file-name-predicate @var{pred})}. @var{stat} is used to obtain file information; using @code{lstat} means that symlinks are not followed. If @var{directories?} is true, then directories will also be included. If @var{fail-on-error?} is true, raise an exception upon error."
  13242. msgstr ""
  13243. #. type: Plain text
  13244. #: guix-git/doc/guix.texi:8633
  13245. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  13246. msgstr ""
  13247. #. type: lisp
  13248. #: guix-git/doc/guix.texi:8638
  13249. #, no-wrap
  13250. msgid ""
  13251. ";; List all the regular files in the current directory.\n"
  13252. "(find-files \".\")\n"
  13253. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  13254. "\n"
  13255. msgstr ""
  13256. #. type: lisp
  13257. #: guix-git/doc/guix.texi:8642
  13258. #, no-wrap
  13259. msgid ""
  13260. ";; List all the .scm files under gnu/services.\n"
  13261. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  13262. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  13263. "\n"
  13264. msgstr ""
  13265. #. type: lisp
  13266. #: guix-git/doc/guix.texi:8646
  13267. #, no-wrap
  13268. msgid ""
  13269. ";; List ar files in the current directory.\n"
  13270. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  13271. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  13272. msgstr ""
  13273. #. type: deffn
  13274. #: guix-git/doc/guix.texi:8648
  13275. #, no-wrap
  13276. msgid "{Scheme Procedure} which @var{program}"
  13277. msgstr ""
  13278. #. type: deffn
  13279. #: guix-git/doc/guix.texi:8651
  13280. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  13281. msgstr ""
  13282. #. type: Plain text
  13283. #: guix-git/doc/guix.texi:8662
  13284. msgid "The @code{(guix build utils)} also contains tools to manipulate build phases as used by build systems (@pxref{Build Systems}). Build phases are represented as association lists or ``alists'' (@pxref{Association Lists,,, guile, GNU Guile Reference Manual}) where each key is a symbol naming the phase and the associated value is a procedure (@pxref{Build Phases})."
  13285. msgstr ""
  13286. #. type: Plain text
  13287. #: guix-git/doc/guix.texi:8666
  13288. msgid "Guile core and the @code{(srfi srfi-1)} module both provide tools to manipulate alists. The @code{(guix build utils)} module complements those with tools written with build phases in mind."
  13289. msgstr ""
  13290. #. type: cindex
  13291. #: guix-git/doc/guix.texi:8667
  13292. #, no-wrap
  13293. msgid "build phases, modifying"
  13294. msgstr ""
  13295. #. type: deffn
  13296. #: guix-git/doc/guix.texi:8668
  13297. #, no-wrap
  13298. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  13299. msgstr ""
  13300. #. type: deffn
  13301. #: guix-git/doc/guix.texi:8671
  13302. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  13303. msgstr ""
  13304. #. type: lisp
  13305. #: guix-git/doc/guix.texi:8677
  13306. #, no-wrap
  13307. msgid ""
  13308. "(delete @var{old-phase-name})\n"
  13309. "(replace @var{old-phase-name} @var{new-phase})\n"
  13310. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13311. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13312. msgstr ""
  13313. #. type: deffn
  13314. #: guix-git/doc/guix.texi:8681
  13315. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  13316. msgstr ""
  13317. #. type: Plain text
  13318. #: guix-git/doc/guix.texi:8692
  13319. msgid "The example below is taken from the definition of the @code{grep} package. It adds a phase to run after the @code{install} phase, called @code{fix-egrep-and-fgrep}. That phase is a procedure (@code{lambda*} is for anonymous procedures) that takes a @code{#:outputs} keyword argument and ignores extra keyword arguments (@pxref{Optional Arguments,,, guile, GNU Guile Reference Manual}, for more on @code{lambda*} and optional and keyword arguments.) The phase uses @code{substitute*} to modify the installed @file{egrep} and @file{fgrep} scripts so that they refer to @code{grep} by its absolute file name:"
  13320. msgstr ""
  13321. #. type: lisp
  13322. #: guix-git/doc/guix.texi:8706
  13323. #, no-wrap
  13324. msgid ""
  13325. "(modify-phases %standard-phases\n"
  13326. " (add-after 'install 'fix-egrep-and-fgrep\n"
  13327. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  13328. " ;; absolute file name instead of searching for it in $PATH.\n"
  13329. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13330. " (let* ((out (assoc-ref outputs \"out\"))\n"
  13331. " (bin (string-append out \"/bin\")))\n"
  13332. " (substitute* (list (string-append bin \"/egrep\")\n"
  13333. " (string-append bin \"/fgrep\"))\n"
  13334. " ((\"^exec grep\")\n"
  13335. " (string-append \"exec \" bin \"/grep\")))\n"
  13336. " #t))))\n"
  13337. msgstr ""
  13338. #. type: Plain text
  13339. #: guix-git/doc/guix.texi:8713
  13340. msgid "In the example below, phases are modified in two ways: the standard @code{configure} phase is deleted, presumably because the package does not have a @file{configure} script or anything similar, and the default @code{install} phase is replaced by one that manually copies the executable files to be installed:"
  13341. msgstr ""
  13342. #. type: lisp
  13343. #: guix-git/doc/guix.texi:8726
  13344. #, no-wrap
  13345. msgid ""
  13346. "(modify-phases %standard-phases\n"
  13347. " (delete 'configure) ;no 'configure' script\n"
  13348. " (replace 'install\n"
  13349. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13350. " ;; The package's Makefile doesn't provide an \"install\"\n"
  13351. " ;; rule so do it by ourselves.\n"
  13352. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  13353. " \"/bin\")))\n"
  13354. " (install-file \"footswitch\" bin)\n"
  13355. " (install-file \"scythe\" bin)\n"
  13356. " #t))))\n"
  13357. msgstr ""
  13358. #. type: cindex
  13359. #: guix-git/doc/guix.texi:8734
  13360. #, no-wrap
  13361. msgid "store items"
  13362. msgstr ""
  13363. #. type: cindex
  13364. #: guix-git/doc/guix.texi:8735
  13365. #, no-wrap
  13366. msgid "store paths"
  13367. msgstr ""
  13368. #. type: Plain text
  13369. #: guix-git/doc/guix.texi:8746
  13370. msgid "Conceptually, the @dfn{store} is the place where derivations that have been built successfully are stored---by default, @file{/gnu/store}. Sub-directories in the store are referred to as @dfn{store items} or sometimes @dfn{store paths}. The store has an associated database that contains information such as the store paths referred to by each store path, and the list of @emph{valid} store items---results of successful builds. This database resides in @file{@var{localstatedir}/guix/db}, where @var{localstatedir} is the state directory specified @i{via} @option{--localstatedir} at configure time, usually @file{/var}."
  13371. msgstr ""
  13372. #. type: Plain text
  13373. #: guix-git/doc/guix.texi:8751
  13374. msgid "The store is @emph{always} accessed by the daemon on behalf of its clients (@pxref{Invoking guix-daemon}). To manipulate the store, clients connect to the daemon over a Unix-domain socket, send requests to it, and read the result---these are remote procedure calls, or RPCs."
  13375. msgstr ""
  13376. #. type: quotation
  13377. #: guix-git/doc/guix.texi:8756
  13378. msgid "Users must @emph{never} modify files under @file{/gnu/store} directly. This would lead to inconsistencies and break the immutability assumptions of Guix's functional model (@pxref{Introduction})."
  13379. msgstr ""
  13380. #. type: quotation
  13381. #: guix-git/doc/guix.texi:8760
  13382. msgid "@xref{Invoking guix gc, @command{guix gc --verify}}, for information on how to check the integrity of the store and attempt recovery from accidental modifications."
  13383. msgstr ""
  13384. #. type: Plain text
  13385. #: guix-git/doc/guix.texi:8767
  13386. msgid "The @code{(guix store)} module provides procedures to connect to the daemon, and to perform RPCs. These are described below. By default, @code{open-connection}, and thus all the @command{guix} commands, connect to the local daemon or to the URI specified by the @env{GUIX_DAEMON_SOCKET} environment variable."
  13387. msgstr ""
  13388. #. type: defvr
  13389. #: guix-git/doc/guix.texi:8768
  13390. #, no-wrap
  13391. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  13392. msgstr ""
  13393. #. type: defvr
  13394. #: guix-git/doc/guix.texi:8773
  13395. msgid "When set, the value of this variable should be a file name or a URI designating the daemon endpoint. When it is a file name, it denotes a Unix-domain socket to connect to. In addition to file names, the supported URI schemes are:"
  13396. msgstr ""
  13397. #. type: code{#1}
  13398. #: guix-git/doc/guix.texi:8775 guix-git/doc/guix.texi:24475
  13399. #, no-wrap
  13400. msgid "file"
  13401. msgstr ""
  13402. #. type: itemx
  13403. #: guix-git/doc/guix.texi:8776
  13404. #, no-wrap
  13405. msgid "unix"
  13406. msgstr ""
  13407. #. type: table
  13408. #: guix-git/doc/guix.texi:8780
  13409. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  13410. msgstr ""
  13411. #. type: item
  13412. #: guix-git/doc/guix.texi:8781
  13413. #, no-wrap
  13414. msgid "guix"
  13415. msgstr ""
  13416. #. type: table
  13417. #: guix-git/doc/guix.texi:8789
  13418. msgid "These URIs denote connections over TCP/IP, without encryption nor authentication of the remote host. The URI must specify the host name and optionally a port number (by default port 44146 is used):"
  13419. msgstr ""
  13420. #. type: example
  13421. #: guix-git/doc/guix.texi:8792
  13422. #, no-wrap
  13423. msgid "guix://master.guix.example.org:1234\n"
  13424. msgstr ""
  13425. #. type: table
  13426. #: guix-git/doc/guix.texi:8797
  13427. msgid "This setup is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon at @code{master.guix.example.org}."
  13428. msgstr ""
  13429. #. type: table
  13430. #: guix-git/doc/guix.texi:8801
  13431. msgid "The @option{--listen} option of @command{guix-daemon} can be used to instruct it to listen for TCP connections (@pxref{Invoking guix-daemon, @option{--listen}})."
  13432. msgstr ""
  13433. #. type: item
  13434. #: guix-git/doc/guix.texi:8802
  13435. #, no-wrap
  13436. msgid "ssh"
  13437. msgstr ""
  13438. #. type: cindex
  13439. #: guix-git/doc/guix.texi:8803
  13440. #, no-wrap
  13441. msgid "SSH access to build daemons"
  13442. msgstr ""
  13443. #. type: table
  13444. #: guix-git/doc/guix.texi:8809
  13445. msgid "These URIs allow you to connect to a remote daemon over SSH@. This feature requires Guile-SSH (@pxref{Requirements}) and a working @command{guile} binary in @env{PATH} on the destination machine. It supports public key and GSSAPI authentication. A typical URL might look like this:"
  13446. msgstr ""
  13447. #. type: example
  13448. #: guix-git/doc/guix.texi:8812
  13449. #, no-wrap
  13450. msgid "ssh://charlie@@guix.example.org:22\n"
  13451. msgstr ""
  13452. #. type: table
  13453. #: guix-git/doc/guix.texi:8816
  13454. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  13455. msgstr ""
  13456. #. type: defvr
  13457. #: guix-git/doc/guix.texi:8819
  13458. msgid "Additional URI schemes may be supported in the future."
  13459. msgstr ""
  13460. #. type: quotation
  13461. #: guix-git/doc/guix.texi:8826
  13462. msgid "The ability to connect to remote build daemons is considered experimental as of @value{VERSION}. Please get in touch with us to share any problems or suggestions you may have (@pxref{Contributing})."
  13463. msgstr ""
  13464. #. type: deffn
  13465. #: guix-git/doc/guix.texi:8829
  13466. #, no-wrap
  13467. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  13468. msgstr ""
  13469. #. type: deffn
  13470. #: guix-git/doc/guix.texi:8834
  13471. msgid "Connect to the daemon over the Unix-domain socket at @var{uri} (a string). When @var{reserve-space?} is true, instruct it to reserve a little bit of extra space on the file system so that the garbage collector can still operate should the disk become full. Return a server object."
  13472. msgstr ""
  13473. #. type: deffn
  13474. #: guix-git/doc/guix.texi:8837
  13475. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  13476. msgstr ""
  13477. #. type: deffn
  13478. #: guix-git/doc/guix.texi:8839
  13479. #, no-wrap
  13480. msgid "{Scheme Procedure} close-connection @var{server}"
  13481. msgstr ""
  13482. #. type: deffn
  13483. #: guix-git/doc/guix.texi:8841
  13484. msgid "Close the connection to @var{server}."
  13485. msgstr ""
  13486. #. type: defvr
  13487. #: guix-git/doc/guix.texi:8843
  13488. #, no-wrap
  13489. msgid "{Scheme Variable} current-build-output-port"
  13490. msgstr ""
  13491. #. type: defvr
  13492. #: guix-git/doc/guix.texi:8846
  13493. msgid "This variable is bound to a SRFI-39 parameter, which refers to the port where build and error logs sent by the daemon should be written."
  13494. msgstr ""
  13495. #. type: Plain text
  13496. #: guix-git/doc/guix.texi:8850
  13497. msgid "Procedures that make RPCs all take a server object as their first argument."
  13498. msgstr ""
  13499. #. type: deffn
  13500. #: guix-git/doc/guix.texi:8851
  13501. #, no-wrap
  13502. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  13503. msgstr ""
  13504. #. type: cindex
  13505. #: guix-git/doc/guix.texi:8852
  13506. #, no-wrap
  13507. msgid "invalid store items"
  13508. msgstr ""
  13509. #. type: deffn
  13510. #: guix-git/doc/guix.texi:8857
  13511. msgid "Return @code{#t} when @var{path} designates a valid store item and @code{#f} otherwise (an invalid item may exist on disk but still be invalid, for instance because it is the result of an aborted or failed build)."
  13512. msgstr ""
  13513. #. type: deffn
  13514. #: guix-git/doc/guix.texi:8860
  13515. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  13516. msgstr ""
  13517. #. type: deffn
  13518. #: guix-git/doc/guix.texi:8862
  13519. #, no-wrap
  13520. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  13521. msgstr ""
  13522. #. type: deffn
  13523. #: guix-git/doc/guix.texi:8866
  13524. msgid "Add @var{text} under file @var{name} in the store, and return its store path. @var{references} is the list of store paths referred to by the resulting store path."
  13525. msgstr ""
  13526. #. type: deffn
  13527. #: guix-git/doc/guix.texi:8868
  13528. #, no-wrap
  13529. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  13530. msgstr ""
  13531. #. type: deffn
  13532. #: guix-git/doc/guix.texi:8873
  13533. msgid "[@var{mode}] Build @var{derivations}, a list of @code{<derivation>} objects, @file{.drv} file names, or derivation/output pairs, using the specified @var{mode}---@code{(build-mode normal)} by default."
  13534. msgstr ""
  13535. #. type: Plain text
  13536. #: guix-git/doc/guix.texi:8879
  13537. msgid "Note that the @code{(guix monads)} module provides a monad as well as monadic versions of the above procedures, with the goal of making it more convenient to work with code that accesses the store (@pxref{The Store Monad})."
  13538. msgstr ""
  13539. #. type: i{#1}
  13540. #: guix-git/doc/guix.texi:8882
  13541. msgid "This section is currently incomplete."
  13542. msgstr ""
  13543. #. type: cindex
  13544. #: guix-git/doc/guix.texi:8886
  13545. #, no-wrap
  13546. msgid "derivations"
  13547. msgstr ""
  13548. #. type: Plain text
  13549. #: guix-git/doc/guix.texi:8890
  13550. msgid "Low-level build actions and the environment in which they are performed are represented by @dfn{derivations}. A derivation contains the following pieces of information:"
  13551. msgstr ""
  13552. #. type: itemize
  13553. #: guix-git/doc/guix.texi:8895
  13554. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  13555. msgstr ""
  13556. #. type: cindex
  13557. #: guix-git/doc/guix.texi:8897
  13558. #, no-wrap
  13559. msgid "build-time dependencies"
  13560. msgstr ""
  13561. #. type: cindex
  13562. #: guix-git/doc/guix.texi:8898
  13563. #, no-wrap
  13564. msgid "dependencies, build-time"
  13565. msgstr ""
  13566. #. type: itemize
  13567. #: guix-git/doc/guix.texi:8902
  13568. msgid "The inputs of the derivations---i.e., its build-time dependencies---which may be other derivations or plain files in the store (patches, build scripts, etc.)."
  13569. msgstr ""
  13570. #. type: itemize
  13571. #: guix-git/doc/guix.texi:8905
  13572. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  13573. msgstr ""
  13574. #. type: itemize
  13575. #: guix-git/doc/guix.texi:8909
  13576. msgid "The file name of a build script in the store, along with the arguments to be passed."
  13577. msgstr ""
  13578. #. type: itemize
  13579. #: guix-git/doc/guix.texi:8912
  13580. msgid "A list of environment variables to be defined."
  13581. msgstr ""
  13582. #. type: cindex
  13583. #: guix-git/doc/guix.texi:8915
  13584. #, no-wrap
  13585. msgid "derivation path"
  13586. msgstr ""
  13587. #. type: Plain text
  13588. #: guix-git/doc/guix.texi:8923
  13589. msgid "Derivations allow clients of the daemon to communicate build actions to the store. They exist in two forms: as an in-memory representation, both on the client- and daemon-side, and as files in the store whose name end in @file{.drv}---these files are referred to as @dfn{derivation paths}. Derivations paths can be passed to the @code{build-derivations} procedure to perform the build actions they prescribe (@pxref{The Store})."
  13590. msgstr ""
  13591. #. type: cindex
  13592. #: guix-git/doc/guix.texi:8924
  13593. #, no-wrap
  13594. msgid "fixed-output derivations"
  13595. msgstr ""
  13596. #. type: Plain text
  13597. #: guix-git/doc/guix.texi:8931
  13598. msgid "Operations such as file downloads and version-control checkouts for which the expected content hash is known in advance are modeled as @dfn{fixed-output derivations}. Unlike regular derivations, the outputs of a fixed-output derivation are independent of its inputs---e.g., a source code download produces the same result regardless of the download method and tools being used."
  13599. msgstr ""
  13600. #. type: item
  13601. #: guix-git/doc/guix.texi:8932 guix-git/doc/guix.texi:12392
  13602. #, no-wrap
  13603. msgid "references"
  13604. msgstr ""
  13605. #. type: cindex
  13606. #: guix-git/doc/guix.texi:8933
  13607. #, no-wrap
  13608. msgid "run-time dependencies"
  13609. msgstr ""
  13610. #. type: cindex
  13611. #: guix-git/doc/guix.texi:8934
  13612. #, no-wrap
  13613. msgid "dependencies, run-time"
  13614. msgstr ""
  13615. #. type: Plain text
  13616. #: guix-git/doc/guix.texi:8941
  13617. msgid "The outputs of derivations---i.e., the build results---have a set of @dfn{references}, as reported by the @code{references} RPC or the @command{guix gc --references} command (@pxref{Invoking guix gc}). References are the set of run-time dependencies of the build results. References are a subset of the inputs of the derivation; this subset is automatically computed by the build daemon by scanning all the files in the outputs."
  13618. msgstr ""
  13619. #. type: Plain text
  13620. #: guix-git/doc/guix.texi:8946
  13621. msgid "The @code{(guix derivations)} module provides a representation of derivations as Scheme objects, along with procedures to create and otherwise manipulate derivations. The lowest-level primitive to create a derivation is the @code{derivation} procedure:"
  13622. msgstr ""
  13623. #. type: deffn
  13624. #: guix-git/doc/guix.texi:8947
  13625. #, no-wrap
  13626. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  13627. msgstr ""
  13628. #. type: deffn
  13629. #: guix-git/doc/guix.texi:8956
  13630. msgid "@var{args} [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:inputs '()] [#:env-vars '()] @ [#:system (%current-system)] [#:references-graphs #f] @ [#:allowed-references #f] [#:disallowed-references #f] @ [#:leaked-env-vars #f] [#:local-build? #f] @ [#:substitutable? #t] [#:properties '()] Build a derivation with the given arguments, and return the resulting @code{<derivation>} object."
  13631. msgstr ""
  13632. #. type: deffn
  13633. #: guix-git/doc/guix.texi:8963
  13634. msgid "When @var{hash} and @var{hash-algo} are given, a @dfn{fixed-output derivation} is created---i.e., one whose result is known in advance, such as a file download. If, in addition, @var{recursive?} is true, then that fixed output may be an executable file or a directory and @var{hash} must be the hash of an archive containing this output."
  13635. msgstr ""
  13636. #. type: deffn
  13637. #: guix-git/doc/guix.texi:8968
  13638. msgid "When @var{references-graphs} is true, it must be a list of file name/store path pairs. In that case, the reference graph of each store path is exported in the build environment in the corresponding file, in a simple text format."
  13639. msgstr ""
  13640. #. type: deffn
  13641. #: guix-git/doc/guix.texi:8973
  13642. msgid "When @var{allowed-references} is true, it must be a list of store items or outputs that the derivation's output may refer to. Likewise, @var{disallowed-references}, if true, must be a list of things the outputs may @emph{not} refer to."
  13643. msgstr ""
  13644. #. type: deffn
  13645. #: guix-git/doc/guix.texi:8980
  13646. msgid "When @var{leaked-env-vars} is true, it must be a list of strings denoting environment variables that are allowed to ``leak'' from the daemon's environment to the build environment. This is only applicable to fixed-output derivations---i.e., when @var{hash} is true. The main use is to allow variables such as @code{http_proxy} to be passed to derivations that download files."
  13647. msgstr ""
  13648. #. type: deffn
  13649. #: guix-git/doc/guix.texi:8985
  13650. msgid "When @var{local-build?} is true, declare that the derivation is not a good candidate for offloading and should rather be built locally (@pxref{Daemon Offload Setup}). This is the case for small derivations where the costs of data transfers would outweigh the benefits."
  13651. msgstr ""
  13652. #. type: deffn
  13653. #: guix-git/doc/guix.texi:8990
  13654. msgid "When @var{substitutable?} is false, declare that substitutes of the derivation's output should not be used (@pxref{Substitutes}). This is useful, for instance, when building packages that capture details of the host CPU instruction set."
  13655. msgstr ""
  13656. #. type: deffn
  13657. #: guix-git/doc/guix.texi:8993
  13658. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  13659. msgstr ""
  13660. #. type: Plain text
  13661. #: guix-git/doc/guix.texi:8999
  13662. msgid "Here's an example with a shell script as its builder, assuming @var{store} is an open connection to the daemon, and @var{bash} points to a Bash executable in the store:"
  13663. msgstr ""
  13664. #. type: lisp
  13665. #: guix-git/doc/guix.texi:9004
  13666. #, no-wrap
  13667. msgid ""
  13668. "(use-modules (guix utils)\n"
  13669. " (guix store)\n"
  13670. " (guix derivations))\n"
  13671. "\n"
  13672. msgstr ""
  13673. #. type: lisp
  13674. #: guix-git/doc/guix.texi:9013
  13675. #, no-wrap
  13676. msgid ""
  13677. "(let ((builder ; add the Bash script to the store\n"
  13678. " (add-text-to-store store \"my-builder.sh\"\n"
  13679. " \"echo hello world > $out\\n\" '())))\n"
  13680. " (derivation store \"foo\"\n"
  13681. " bash `(\"-e\" ,builder)\n"
  13682. " #:inputs `((,bash) (,builder))\n"
  13683. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  13684. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  13685. msgstr ""
  13686. #. type: Plain text
  13687. #: guix-git/doc/guix.texi:9020
  13688. msgid "As can be guessed, this primitive is cumbersome to use directly. A better approach is to write build scripts in Scheme, of course! The best course of action for that is to write the build code as a ``G-expression'', and to pass it to @code{gexp->derivation}. For more information, @pxref{G-Expressions}."
  13689. msgstr ""
  13690. #. type: Plain text
  13691. #: guix-git/doc/guix.texi:9025
  13692. msgid "Once upon a time, @code{gexp->derivation} did not exist and constructing derivations with build code written in Scheme was achieved with @code{build-expression->derivation}, documented below. This procedure is now deprecated in favor of the much nicer @code{gexp->derivation}."
  13693. msgstr ""
  13694. #. type: deffn
  13695. #: guix-git/doc/guix.texi:9026
  13696. #, no-wrap
  13697. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  13698. msgstr ""
  13699. #. type: deffn
  13700. #: guix-git/doc/guix.texi:9042
  13701. msgid "@var{name} @var{exp} @ [#:system (%current-system)] [#:inputs '()] @ [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f] Return a derivation that executes Scheme expression @var{exp} as a builder for derivation @var{name}. @var{inputs} must be a list of @code{(name drv-path sub-drv)} tuples; when @var{sub-drv} is omitted, @code{\"out\"} is assumed. @var{modules} is a list of names of Guile modules from the current search path to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}."
  13702. msgstr ""
  13703. #. type: deffn
  13704. #: guix-git/doc/guix.texi:9050
  13705. msgid "@var{exp} is evaluated in an environment where @code{%outputs} is bound to a list of output/path pairs, and where @code{%build-inputs} is bound to a list of string/output-path pairs made from @var{inputs}. Optionally, @var{env-vars} is a list of string pairs specifying the name and value of environment variables visible to the builder. The builder terminates by passing the result of @var{exp} to @code{exit}; thus, when @var{exp} returns @code{#f}, the build is considered to have failed."
  13706. msgstr ""
  13707. #. type: deffn
  13708. #: guix-git/doc/guix.texi:9054
  13709. msgid "@var{exp} is built using @var{guile-for-build} (a derivation). When @var{guile-for-build} is omitted or is @code{#f}, the value of the @code{%guile-for-build} fluid is used instead."
  13710. msgstr ""
  13711. #. type: deffn
  13712. #: guix-git/doc/guix.texi:9059
  13713. msgid "See the @code{derivation} procedure for the meaning of @var{references-graphs}, @var{allowed-references}, @var{disallowed-references}, @var{local-build?}, and @var{substitutable?}."
  13714. msgstr ""
  13715. #. type: Plain text
  13716. #: guix-git/doc/guix.texi:9064
  13717. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  13718. msgstr ""
  13719. #. type: lisp
  13720. #: guix-git/doc/guix.texi:9072
  13721. #, no-wrap
  13722. msgid ""
  13723. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  13724. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  13725. " (call-with-output-file (string-append out \"/test\")\n"
  13726. " (lambda (p)\n"
  13727. " (display '(hello guix) p))))))\n"
  13728. " (build-expression->derivation store \"goo\" builder))\n"
  13729. "\n"
  13730. msgstr ""
  13731. #. type: lisp
  13732. #: guix-git/doc/guix.texi:9074
  13733. #, no-wrap
  13734. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  13735. msgstr ""
  13736. #. type: cindex
  13737. #: guix-git/doc/guix.texi:9080
  13738. #, no-wrap
  13739. msgid "monad"
  13740. msgstr ""
  13741. #. type: Plain text
  13742. #: guix-git/doc/guix.texi:9086
  13743. msgid "The procedures that operate on the store described in the previous sections all take an open connection to the build daemon as their first argument. Although the underlying model is functional, they either have side effects or depend on the current state of the store."
  13744. msgstr ""
  13745. #. type: Plain text
  13746. #: guix-git/doc/guix.texi:9092
  13747. msgid "The former is inconvenient: the connection to the build daemon has to be carried around in all those functions, making it impossible to compose functions that do not take that parameter with functions that do. The latter can be problematic: since store operations have side effects and/or depend on external state, they have to be properly sequenced."
  13748. msgstr ""
  13749. #. type: cindex
  13750. #: guix-git/doc/guix.texi:9093
  13751. #, no-wrap
  13752. msgid "monadic values"
  13753. msgstr ""
  13754. #. type: cindex
  13755. #: guix-git/doc/guix.texi:9094
  13756. #, no-wrap
  13757. msgid "monadic functions"
  13758. msgstr ""
  13759. #. type: Plain text
  13760. #: guix-git/doc/guix.texi:9104
  13761. msgid "This is where the @code{(guix monads)} module comes in. This module provides a framework for working with @dfn{monads}, and a particularly useful monad for our uses, the @dfn{store monad}. Monads are a construct that allows two things: associating ``context'' with values (in our case, the context is the store), and building sequences of computations (here computations include accesses to the store). Values in a monad---values that carry this additional context---are called @dfn{monadic values}; procedures that return such values are called @dfn{monadic procedures}."
  13762. msgstr ""
  13763. #. type: Plain text
  13764. #: guix-git/doc/guix.texi:9106
  13765. msgid "Consider this ``normal'' procedure:"
  13766. msgstr ""
  13767. #. type: lisp
  13768. #: guix-git/doc/guix.texi:9115
  13769. #, no-wrap
  13770. msgid ""
  13771. "(define (sh-symlink store)\n"
  13772. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  13773. " (let* ((drv (package-derivation store bash))\n"
  13774. " (out (derivation->output-path drv))\n"
  13775. " (sh (string-append out \"/bin/bash\")))\n"
  13776. " (build-expression->derivation store \"sh\"\n"
  13777. " `(symlink ,sh %output))))\n"
  13778. msgstr ""
  13779. #. type: Plain text
  13780. #: guix-git/doc/guix.texi:9119
  13781. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  13782. msgstr ""
  13783. #. type: lisp
  13784. #: guix-git/doc/guix.texi:9127
  13785. #, no-wrap
  13786. msgid ""
  13787. "(define (sh-symlink)\n"
  13788. " ;; Same, but return a monadic value.\n"
  13789. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  13790. " (gexp->derivation \"sh\"\n"
  13791. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  13792. " #$output))))\n"
  13793. msgstr ""
  13794. #. type: Plain text
  13795. #: guix-git/doc/guix.texi:9134
  13796. msgid "There are several things to note in the second version: the @code{store} parameter is now implicit and is ``threaded'' in the calls to the @code{package->derivation} and @code{gexp->derivation} monadic procedures, and the monadic value returned by @code{package->derivation} is @dfn{bound} using @code{mlet} instead of plain @code{let}."
  13797. msgstr ""
  13798. #. type: Plain text
  13799. #: guix-git/doc/guix.texi:9138
  13800. msgid "As it turns out, the call to @code{package->derivation} can even be omitted since it will take place implicitly, as we will see later (@pxref{G-Expressions}):"
  13801. msgstr ""
  13802. #. type: lisp
  13803. #: guix-git/doc/guix.texi:9144
  13804. #, no-wrap
  13805. msgid ""
  13806. "(define (sh-symlink)\n"
  13807. " (gexp->derivation \"sh\"\n"
  13808. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  13809. " #$output)))\n"
  13810. msgstr ""
  13811. #. type: Plain text
  13812. #: guix-git/doc/guix.texi:9153
  13813. msgid "Calling the monadic @code{sh-symlink} has no effect. As someone once said, ``you exit a monad like you exit a building on fire: by running''. So, to exit the monad and get the desired effect, one must use @code{run-with-store}:"
  13814. msgstr ""
  13815. #. type: lisp
  13816. #: guix-git/doc/guix.texi:9157
  13817. #, no-wrap
  13818. msgid ""
  13819. "(run-with-store (open-connection) (sh-symlink))\n"
  13820. "@result{} /gnu/store/...-sh-symlink\n"
  13821. msgstr ""
  13822. #. type: Plain text
  13823. #: guix-git/doc/guix.texi:9163
  13824. msgid "Note that the @code{(guix monad-repl)} module extends the Guile REPL with new ``meta-commands'' to make it easier to deal with monadic procedures: @code{run-in-store}, and @code{enter-store-monad}. The former is used to ``run'' a single monadic value through the store:"
  13825. msgstr ""
  13826. #. type: example
  13827. #: guix-git/doc/guix.texi:9167
  13828. #, no-wrap
  13829. msgid ""
  13830. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  13831. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  13832. msgstr ""
  13833. #. type: Plain text
  13834. #: guix-git/doc/guix.texi:9171
  13835. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  13836. msgstr ""
  13837. #. type: example
  13838. #: guix-git/doc/guix.texi:9180
  13839. #, no-wrap
  13840. msgid ""
  13841. "scheme@@(guile-user)> ,enter-store-monad\n"
  13842. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  13843. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  13844. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  13845. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  13846. "store-monad@@(guile-user) [1]> ,q\n"
  13847. "scheme@@(guile-user)>\n"
  13848. msgstr ""
  13849. #. type: Plain text
  13850. #: guix-git/doc/guix.texi:9185
  13851. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  13852. msgstr ""
  13853. #. type: Plain text
  13854. #: guix-git/doc/guix.texi:9188
  13855. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  13856. msgstr ""
  13857. #. type: deffn
  13858. #: guix-git/doc/guix.texi:9189
  13859. #, no-wrap
  13860. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  13861. msgstr ""
  13862. #. type: deffn
  13863. #: guix-git/doc/guix.texi:9192
  13864. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  13865. msgstr ""
  13866. #. type: deffn
  13867. #: guix-git/doc/guix.texi:9194
  13868. #, no-wrap
  13869. msgid "{Scheme Syntax} return @var{val}"
  13870. msgstr ""
  13871. #. type: deffn
  13872. #: guix-git/doc/guix.texi:9196
  13873. msgid "Return a monadic value that encapsulates @var{val}."
  13874. msgstr ""
  13875. #. type: deffn
  13876. #: guix-git/doc/guix.texi:9198
  13877. #, no-wrap
  13878. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  13879. msgstr ""
  13880. #. type: deffn
  13881. #: guix-git/doc/guix.texi:9205
  13882. msgid "@dfn{Bind} monadic value @var{mval}, passing its ``contents'' to monadic procedures @var{mproc}@dots{}@footnote{This operation is commonly referred to as ``bind'', but that name denotes an unrelated procedure in Guile. Thus we use this somewhat cryptic symbol inherited from the Haskell language.}. There can be one @var{mproc} or several of them, as in this example:"
  13883. msgstr ""
  13884. #. type: lisp
  13885. #: guix-git/doc/guix.texi:9213
  13886. #, no-wrap
  13887. msgid ""
  13888. "(run-with-state\n"
  13889. " (with-monad %state-monad\n"
  13890. " (>>= (return 1)\n"
  13891. " (lambda (x) (return (+ 1 x)))\n"
  13892. " (lambda (x) (return (* 2 x)))))\n"
  13893. " 'some-state)\n"
  13894. "\n"
  13895. msgstr ""
  13896. #. type: lisp
  13897. #: guix-git/doc/guix.texi:9216
  13898. #, no-wrap
  13899. msgid ""
  13900. "@result{} 4\n"
  13901. "@result{} some-state\n"
  13902. msgstr ""
  13903. #. type: deffn
  13904. #: guix-git/doc/guix.texi:9219
  13905. #, no-wrap
  13906. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  13907. msgstr ""
  13908. #. type: deffn
  13909. #: guix-git/doc/guix.texi:9221
  13910. msgid "@var{body} ..."
  13911. msgstr ""
  13912. #. type: deffnx
  13913. #: guix-git/doc/guix.texi:9221
  13914. #, no-wrap
  13915. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  13916. msgstr ""
  13917. #. type: deffn
  13918. #: guix-git/doc/guix.texi:9233
  13919. msgid "@var{body} ... Bind the variables @var{var} to the monadic values @var{mval} in @var{body}, which is a sequence of expressions. As with the bind operator, this can be thought of as ``unpacking'' the raw, non-monadic value ``contained'' in @var{mval} and making @var{var} refer to that raw, non-monadic value within the scope of the @var{body}. The form (@var{var} -> @var{val}) binds @var{var} to the ``normal'' value @var{val}, as per @code{let}. The binding operations occur in sequence from left to right. The last expression of @var{body} must be a monadic expression, and its result will become the result of the @code{mlet} or @code{mlet*} when run in the @var{monad}."
  13920. msgstr ""
  13921. #. type: deffn
  13922. #: guix-git/doc/guix.texi:9236
  13923. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  13924. msgstr ""
  13925. #. type: deffn
  13926. #: guix-git/doc/guix.texi:9238
  13927. #, no-wrap
  13928. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  13929. msgstr ""
  13930. #. type: deffn
  13931. #: guix-git/doc/guix.texi:9242
  13932. msgid "Bind @var{mexp} and the following monadic expressions in sequence, returning the result of the last expression. Every expression in the sequence must be a monadic expression."
  13933. msgstr ""
  13934. #. type: deffn
  13935. #: guix-git/doc/guix.texi:9246
  13936. msgid "This is akin to @code{mlet}, except that the return values of the monadic expressions are ignored. In that sense, it is analogous to @code{begin}, but applied to monadic expressions."
  13937. msgstr ""
  13938. #. type: deffn
  13939. #: guix-git/doc/guix.texi:9248
  13940. #, no-wrap
  13941. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  13942. msgstr ""
  13943. #. type: deffn
  13944. #: guix-git/doc/guix.texi:9253
  13945. msgid "When @var{condition} is true, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is false, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression."
  13946. msgstr ""
  13947. #. type: deffn
  13948. #: guix-git/doc/guix.texi:9255
  13949. #, no-wrap
  13950. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  13951. msgstr ""
  13952. #. type: deffn
  13953. #: guix-git/doc/guix.texi:9260
  13954. msgid "When @var{condition} is false, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is true, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression."
  13955. msgstr ""
  13956. #. type: cindex
  13957. #: guix-git/doc/guix.texi:9262
  13958. #, no-wrap
  13959. msgid "state monad"
  13960. msgstr ""
  13961. #. type: Plain text
  13962. #: guix-git/doc/guix.texi:9266
  13963. msgid "The @code{(guix monads)} module provides the @dfn{state monad}, which allows an additional value---the state---to be @emph{threaded} through monadic procedure calls."
  13964. msgstr ""
  13965. #. type: defvr
  13966. #: guix-git/doc/guix.texi:9267
  13967. #, no-wrap
  13968. msgid "{Scheme Variable} %state-monad"
  13969. msgstr ""
  13970. #. type: defvr
  13971. #: guix-git/doc/guix.texi:9270
  13972. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  13973. msgstr ""
  13974. #. type: defvr
  13975. #: guix-git/doc/guix.texi:9274
  13976. msgid "Consider the example below. The @code{square} procedure returns a value in the state monad. It returns the square of its argument, but also increments the current state value:"
  13977. msgstr ""
  13978. #. type: lisp
  13979. #: guix-git/doc/guix.texi:9281
  13980. #, no-wrap
  13981. msgid ""
  13982. "(define (square x)\n"
  13983. " (mlet %state-monad ((count (current-state)))\n"
  13984. " (mbegin %state-monad\n"
  13985. " (set-current-state (+ 1 count))\n"
  13986. " (return (* x x)))))\n"
  13987. "\n"
  13988. msgstr ""
  13989. #. type: lisp
  13990. #: guix-git/doc/guix.texi:9285
  13991. #, no-wrap
  13992. msgid ""
  13993. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  13994. "@result{} (0 1 4)\n"
  13995. "@result{} 3\n"
  13996. msgstr ""
  13997. #. type: defvr
  13998. #: guix-git/doc/guix.texi:9289
  13999. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  14000. msgstr ""
  14001. #. type: deffn
  14002. #: guix-git/doc/guix.texi:9291
  14003. #, no-wrap
  14004. msgid "{Monadic Procedure} current-state"
  14005. msgstr ""
  14006. #. type: deffn
  14007. #: guix-git/doc/guix.texi:9293
  14008. msgid "Return the current state as a monadic value."
  14009. msgstr ""
  14010. #. type: deffn
  14011. #: guix-git/doc/guix.texi:9295
  14012. #, no-wrap
  14013. msgid "{Monadic Procedure} set-current-state @var{value}"
  14014. msgstr ""
  14015. #. type: deffn
  14016. #: guix-git/doc/guix.texi:9298
  14017. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  14018. msgstr ""
  14019. #. type: deffn
  14020. #: guix-git/doc/guix.texi:9300
  14021. #, no-wrap
  14022. msgid "{Monadic Procedure} state-push @var{value}"
  14023. msgstr ""
  14024. #. type: deffn
  14025. #: guix-git/doc/guix.texi:9303
  14026. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  14027. msgstr ""
  14028. #. type: deffn
  14029. #: guix-git/doc/guix.texi:9305
  14030. #, no-wrap
  14031. msgid "{Monadic Procedure} state-pop"
  14032. msgstr ""
  14033. #. type: deffn
  14034. #: guix-git/doc/guix.texi:9308
  14035. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  14036. msgstr ""
  14037. #. type: deffn
  14038. #: guix-git/doc/guix.texi:9310
  14039. #, no-wrap
  14040. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  14041. msgstr ""
  14042. #. type: deffn
  14043. #: guix-git/doc/guix.texi:9313
  14044. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  14045. msgstr ""
  14046. #. type: Plain text
  14047. #: guix-git/doc/guix.texi:9317
  14048. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  14049. msgstr ""
  14050. #. type: defvr
  14051. #: guix-git/doc/guix.texi:9318
  14052. #, no-wrap
  14053. msgid "{Scheme Variable} %store-monad"
  14054. msgstr ""
  14055. #. type: defvr
  14056. #: guix-git/doc/guix.texi:9320
  14057. msgid "The store monad---an alias for @code{%state-monad}."
  14058. msgstr ""
  14059. #. type: defvr
  14060. #: guix-git/doc/guix.texi:9324
  14061. msgid "Values in the store monad encapsulate accesses to the store. When its effect is needed, a value of the store monad must be ``evaluated'' by passing it to the @code{run-with-store} procedure (see below)."
  14062. msgstr ""
  14063. #. type: deffn
  14064. #: guix-git/doc/guix.texi:9326
  14065. #, no-wrap
  14066. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  14067. msgstr ""
  14068. #. type: deffn
  14069. #: guix-git/doc/guix.texi:9329
  14070. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  14071. msgstr ""
  14072. #. type: deffn
  14073. #: guix-git/doc/guix.texi:9331
  14074. #, no-wrap
  14075. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  14076. msgstr ""
  14077. #. type: deffn
  14078. #: guix-git/doc/guix.texi:9335
  14079. msgid "Return as a monadic value the absolute file name in the store of the file containing @var{text}, a string. @var{references} is a list of store items that the resulting text file refers to; it defaults to the empty list."
  14080. msgstr ""
  14081. #. type: deffn
  14082. #: guix-git/doc/guix.texi:9337
  14083. #, no-wrap
  14084. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  14085. msgstr ""
  14086. #. type: deffn
  14087. #: guix-git/doc/guix.texi:9341
  14088. msgid "Return as a monadic value the absolute file name in the store of the file containing @var{data}, a bytevector. @var{references} is a list of store items that the resulting binary file refers to; it defaults to the empty list."
  14089. msgstr ""
  14090. #. type: deffn
  14091. #: guix-git/doc/guix.texi:9343
  14092. #, no-wrap
  14093. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  14094. msgstr ""
  14095. #. type: deffn
  14096. #: guix-git/doc/guix.texi:9348
  14097. msgid "[#:recursive? #t] [#:select? (const #t)] Return the name of @var{file} once interned in the store. Use @var{name} as its store name, or the basename of @var{file} if @var{name} is omitted."
  14098. msgstr ""
  14099. #. type: deffn
  14100. #: guix-git/doc/guix.texi:9352 guix-git/doc/guix.texi:9775
  14101. msgid "When @var{recursive?} is true, the contents of @var{file} are added recursively; if @var{file} designates a flat file and @var{recursive?} is true, its contents are added, and its permission bits are kept."
  14102. msgstr ""
  14103. #. type: deffn
  14104. #: guix-git/doc/guix.texi:9357 guix-git/doc/guix.texi:9780
  14105. msgid "When @var{recursive?} is true, call @code{(@var{select?} @var{file} @var{stat})} for each directory entry, where @var{file} is the entry's absolute file name and @var{stat} is the result of @code{lstat}; exclude entries for which @var{select?} does not return true."
  14106. msgstr ""
  14107. #. type: deffn
  14108. #: guix-git/doc/guix.texi:9359
  14109. msgid "The example below adds a file to the store, under two different names:"
  14110. msgstr ""
  14111. #. type: lisp
  14112. #: guix-git/doc/guix.texi:9365
  14113. #, no-wrap
  14114. msgid ""
  14115. "(run-with-store (open-connection)\n"
  14116. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  14117. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  14118. " (return (list a b))))\n"
  14119. "\n"
  14120. msgstr ""
  14121. #. type: lisp
  14122. #: guix-git/doc/guix.texi:9367
  14123. #, no-wrap
  14124. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  14125. msgstr ""
  14126. #. type: Plain text
  14127. #: guix-git/doc/guix.texi:9373
  14128. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  14129. msgstr ""
  14130. #. type: deffn
  14131. #: guix-git/doc/guix.texi:9374
  14132. #, no-wrap
  14133. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  14134. msgstr ""
  14135. #. type: deffn
  14136. #: guix-git/doc/guix.texi:9382
  14137. msgid "[#:system (%current-system)] [#:target #f] @ [#:output \"out\"] Return as a monadic value in the absolute file name of @var{file} within the @var{output} directory of @var{package}. When @var{file} is omitted, return the name of the @var{output} directory of @var{package}. When @var{target} is true, use it as a cross-compilation target triplet."
  14138. msgstr ""
  14139. #. type: deffn
  14140. #: guix-git/doc/guix.texi:9386
  14141. msgid "Note that this procedure does @emph{not} build @var{package}. Thus, the result might or might not designate an existing file. We recommend not using this procedure unless you know what you are doing."
  14142. msgstr ""
  14143. #. type: deffn
  14144. #: guix-git/doc/guix.texi:9388
  14145. #, no-wrap
  14146. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  14147. msgstr ""
  14148. #. type: deffnx
  14149. #: guix-git/doc/guix.texi:9389
  14150. #, no-wrap
  14151. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  14152. msgstr ""
  14153. #. type: deffn
  14154. #: guix-git/doc/guix.texi:9393
  14155. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  14156. msgstr ""
  14157. #. type: cindex
  14158. #: guix-git/doc/guix.texi:9399
  14159. #, no-wrap
  14160. msgid "G-expression"
  14161. msgstr ""
  14162. #. type: cindex
  14163. #: guix-git/doc/guix.texi:9400
  14164. #, no-wrap
  14165. msgid "build code quoting"
  14166. msgstr ""
  14167. #. type: Plain text
  14168. #: guix-git/doc/guix.texi:9406
  14169. msgid "So we have ``derivations'', which represent a sequence of build actions to be performed to produce an item in the store (@pxref{Derivations}). These build actions are performed when asking the daemon to actually build the derivations; they are run by the daemon in a container (@pxref{Invoking guix-daemon})."
  14170. msgstr ""
  14171. #. type: cindex
  14172. #: guix-git/doc/guix.texi:9409
  14173. #, no-wrap
  14174. msgid "strata of code"
  14175. msgstr ""
  14176. #. type: Plain text
  14177. #: guix-git/doc/guix.texi:9421
  14178. msgid "It should come as no surprise that we like to write these build actions in Scheme. When we do that, we end up with two @dfn{strata} of Scheme code@footnote{The term @dfn{stratum} in this context was coined by Manuel Serrano et al.@: in the context of their work on Hop. Oleg Kiselyov, who has written insightful @url{http://okmij.org/ftp/meta-programming/#meta-scheme, essays and code on this topic}, refers to this kind of code generation as @dfn{staging}.}: the ``host code''---code that defines packages, talks to the daemon, etc.---and the ``build code''---code that actually performs build actions, such as making directories, invoking @command{make}, and so on (@pxref{Build Phases})."
  14179. msgstr ""
  14180. #. type: Plain text
  14181. #: guix-git/doc/guix.texi:9428
  14182. msgid "To describe a derivation and its build actions, one typically needs to embed build code inside host code. It boils down to manipulating build code as data, and the homoiconicity of Scheme---code has a direct representation as data---comes in handy for that. But we need more than the normal @code{quasiquote} mechanism in Scheme to construct build expressions."
  14183. msgstr ""
  14184. #. type: Plain text
  14185. #: guix-git/doc/guix.texi:9437
  14186. msgid "The @code{(guix gexp)} module implements @dfn{G-expressions}, a form of S-expressions adapted to build expressions. G-expressions, or @dfn{gexps}, consist essentially of three syntactic forms: @code{gexp}, @code{ungexp}, and @code{ungexp-splicing} (or simply: @code{#~}, @code{#$}, and @code{#$@@}), which are comparable to @code{quasiquote}, @code{unquote}, and @code{unquote-splicing}, respectively (@pxref{Expression Syntax, @code{quasiquote},, guile, GNU Guile Reference Manual}). However, there are major differences:"
  14187. msgstr ""
  14188. #. type: itemize
  14189. #: guix-git/doc/guix.texi:9442
  14190. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  14191. msgstr ""
  14192. #. type: itemize
  14193. #: guix-git/doc/guix.texi:9447
  14194. msgid "When a high-level object such as a package or derivation is unquoted inside a gexp, the result is as if its output file name had been introduced."
  14195. msgstr ""
  14196. #. type: itemize
  14197. #: guix-git/doc/guix.texi:9452
  14198. msgid "Gexps carry information about the packages or derivations they refer to, and these dependencies are automatically added as inputs to the build processes that use them."
  14199. msgstr ""
  14200. #. type: cindex
  14201. #: guix-git/doc/guix.texi:9454 guix-git/doc/guix.texi:10011
  14202. #, no-wrap
  14203. msgid "lowering, of high-level objects in gexps"
  14204. msgstr ""
  14205. #. type: Plain text
  14206. #: guix-git/doc/guix.texi:9464
  14207. msgid "This mechanism is not limited to package and derivation objects: @dfn{compilers} able to ``lower'' other high-level objects to derivations or files in the store can be defined, such that these objects can also be inserted into gexps. For example, a useful type of high-level objects that can be inserted in a gexp is ``file-like objects'', which make it easy to add files to the store and to refer to them in derivations and such (see @code{local-file} and @code{plain-file} below)."
  14208. msgstr ""
  14209. #. type: Plain text
  14210. #: guix-git/doc/guix.texi:9466
  14211. msgid "To illustrate the idea, here is an example of a gexp:"
  14212. msgstr ""
  14213. #. type: lisp
  14214. #: guix-git/doc/guix.texi:9474
  14215. #, no-wrap
  14216. msgid ""
  14217. "(define build-exp\n"
  14218. " #~(begin\n"
  14219. " (mkdir #$output)\n"
  14220. " (chdir #$output)\n"
  14221. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  14222. " \"list-files\")))\n"
  14223. msgstr ""
  14224. #. type: Plain text
  14225. #: guix-git/doc/guix.texi:9479
  14226. msgid "This gexp can be passed to @code{gexp->derivation}; we obtain a derivation that builds a directory containing exactly one symlink to @file{/gnu/store/@dots{}-coreutils-8.22/bin/ls}:"
  14227. msgstr ""
  14228. #. type: lisp
  14229. #: guix-git/doc/guix.texi:9482
  14230. #, no-wrap
  14231. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  14232. msgstr ""
  14233. #. type: Plain text
  14234. #: guix-git/doc/guix.texi:9490
  14235. msgid "As one would expect, the @code{\"/gnu/store/@dots{}-coreutils-8.22\"} string is substituted to the reference to the @var{coreutils} package in the actual build code, and @var{coreutils} is automatically made an input to the derivation. Likewise, @code{#$output} (equivalent to @code{(ungexp output)}) is replaced by a string containing the directory name of the output of the derivation."
  14236. msgstr ""
  14237. #. type: cindex
  14238. #: guix-git/doc/guix.texi:9491
  14239. #, no-wrap
  14240. msgid "cross compilation"
  14241. msgstr ""
  14242. #. type: Plain text
  14243. #: guix-git/doc/guix.texi:9497
  14244. msgid "In a cross-compilation context, it is useful to distinguish between references to the @emph{native} build of a package---that can run on the host---versus references to cross builds of a package. To that end, the @code{#+} plays the same role as @code{#$}, but is a reference to a native package build:"
  14245. msgstr ""
  14246. #. type: lisp
  14247. #: guix-git/doc/guix.texi:9508
  14248. #, no-wrap
  14249. msgid ""
  14250. "(gexp->derivation \"vi\"\n"
  14251. " #~(begin\n"
  14252. " (mkdir #$output)\n"
  14253. " (mkdir (string-append #$output \"/bin\"))\n"
  14254. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  14255. " \"-s\"\n"
  14256. " (string-append #$emacs \"/bin/emacs\")\n"
  14257. " (string-append #$output \"/bin/vi\")))\n"
  14258. " #:target \"aarch64-linux-gnu\")\n"
  14259. msgstr ""
  14260. #. type: Plain text
  14261. #: guix-git/doc/guix.texi:9514
  14262. msgid "In the example above, the native build of @var{coreutils} is used, so that @command{ln} can actually run on the host; but then the cross-compiled build of @var{emacs} is referenced."
  14263. msgstr ""
  14264. #. type: cindex
  14265. #: guix-git/doc/guix.texi:9515
  14266. #, no-wrap
  14267. msgid "imported modules, for gexps"
  14268. msgstr ""
  14269. #. type: findex
  14270. #: guix-git/doc/guix.texi:9516
  14271. #, no-wrap
  14272. msgid "with-imported-modules"
  14273. msgstr ""
  14274. #. type: Plain text
  14275. #: guix-git/doc/guix.texi:9521
  14276. msgid "Another gexp feature is @dfn{imported modules}: sometimes you want to be able to use certain Guile modules from the ``host environment'' in the gexp, so those modules should be imported in the ``build environment''. The @code{with-imported-modules} form allows you to express that:"
  14277. msgstr ""
  14278. #. type: lisp
  14279. #: guix-git/doc/guix.texi:9532
  14280. #, no-wrap
  14281. msgid ""
  14282. "(let ((build (with-imported-modules '((guix build utils))\n"
  14283. " #~(begin\n"
  14284. " (use-modules (guix build utils))\n"
  14285. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  14286. " (gexp->derivation \"empty-dir\"\n"
  14287. " #~(begin\n"
  14288. " #$build\n"
  14289. " (display \"success!\\n\")\n"
  14290. " #t)))\n"
  14291. msgstr ""
  14292. #. type: Plain text
  14293. #: guix-git/doc/guix.texi:9538
  14294. msgid "In this example, the @code{(guix build utils)} module is automatically pulled into the isolated build environment of our gexp, such that @code{(use-modules (guix build utils))} works as expected."
  14295. msgstr ""
  14296. #. type: cindex
  14297. #: guix-git/doc/guix.texi:9539
  14298. #, no-wrap
  14299. msgid "module closure"
  14300. msgstr ""
  14301. #. type: findex
  14302. #: guix-git/doc/guix.texi:9540
  14303. #, no-wrap
  14304. msgid "source-module-closure"
  14305. msgstr ""
  14306. #. type: Plain text
  14307. #: guix-git/doc/guix.texi:9547
  14308. msgid "Usually you want the @emph{closure} of the module to be imported---i.e., the module itself and all the modules it depends on---rather than just the module; failing to do that, attempts to use the module will fail because of missing dependent modules. The @code{source-module-closure} procedure computes the closure of a module by looking at its source file headers, which comes in handy in this case:"
  14309. msgstr ""
  14310. #. type: lisp
  14311. #: guix-git/doc/guix.texi:9550
  14312. #, no-wrap
  14313. msgid ""
  14314. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  14315. "\n"
  14316. msgstr ""
  14317. #. type: lisp
  14318. #: guix-git/doc/guix.texi:9559
  14319. #, no-wrap
  14320. msgid ""
  14321. "(with-imported-modules (source-module-closure\n"
  14322. " '((guix build utils)\n"
  14323. " (gnu build vm)))\n"
  14324. " (gexp->derivation \"something-with-vms\"\n"
  14325. " #~(begin\n"
  14326. " (use-modules (guix build utils)\n"
  14327. " (gnu build vm))\n"
  14328. " @dots{})))\n"
  14329. msgstr ""
  14330. #. type: cindex
  14331. #: guix-git/doc/guix.texi:9561
  14332. #, no-wrap
  14333. msgid "extensions, for gexps"
  14334. msgstr ""
  14335. #. type: findex
  14336. #: guix-git/doc/guix.texi:9562
  14337. #, no-wrap
  14338. msgid "with-extensions"
  14339. msgstr ""
  14340. #. type: Plain text
  14341. #: guix-git/doc/guix.texi:9567
  14342. msgid "In the same vein, sometimes you want to import not just pure-Scheme modules, but also ``extensions'' such as Guile bindings to C libraries or other ``full-blown'' packages. Say you need the @code{guile-json} package available on the build side, here's how you would do it:"
  14343. msgstr ""
  14344. #. type: lisp
  14345. #: guix-git/doc/guix.texi:9570
  14346. #, no-wrap
  14347. msgid ""
  14348. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  14349. "\n"
  14350. msgstr ""
  14351. #. type: lisp
  14352. #: guix-git/doc/guix.texi:9576
  14353. #, no-wrap
  14354. msgid ""
  14355. "(with-extensions (list guile-json)\n"
  14356. " (gexp->derivation \"something-with-json\"\n"
  14357. " #~(begin\n"
  14358. " (use-modules (json))\n"
  14359. " @dots{})))\n"
  14360. msgstr ""
  14361. #. type: Plain text
  14362. #: guix-git/doc/guix.texi:9579
  14363. msgid "The syntactic form to construct gexps is summarized below."
  14364. msgstr ""
  14365. #. type: deffn
  14366. #: guix-git/doc/guix.texi:9580
  14367. #, no-wrap
  14368. msgid "{Scheme Syntax} #~@var{exp}"
  14369. msgstr ""
  14370. #. type: deffnx
  14371. #: guix-git/doc/guix.texi:9581
  14372. #, no-wrap
  14373. msgid "{Scheme Syntax} (gexp @var{exp})"
  14374. msgstr ""
  14375. #. type: deffn
  14376. #: guix-git/doc/guix.texi:9584
  14377. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  14378. msgstr ""
  14379. #. type: item
  14380. #: guix-git/doc/guix.texi:9586
  14381. #, no-wrap
  14382. msgid "#$@var{obj}"
  14383. msgstr ""
  14384. #. type: itemx
  14385. #: guix-git/doc/guix.texi:9587
  14386. #, no-wrap
  14387. msgid "(ungexp @var{obj})"
  14388. msgstr ""
  14389. #. type: table
  14390. #: guix-git/doc/guix.texi:9592
  14391. msgid "Introduce a reference to @var{obj}. @var{obj} may have one of the supported types, for example a package or a derivation, in which case the @code{ungexp} form is replaced by its output file name---e.g., @code{\"/gnu/store/@dots{}-coreutils-8.22}."
  14392. msgstr ""
  14393. #. type: table
  14394. #: guix-git/doc/guix.texi:9595
  14395. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  14396. msgstr ""
  14397. #. type: table
  14398. #: guix-git/doc/guix.texi:9598
  14399. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  14400. msgstr ""
  14401. #. type: table
  14402. #: guix-git/doc/guix.texi:9600
  14403. msgid "If @var{obj} is another kind of object, it is inserted as is."
  14404. msgstr ""
  14405. #. type: item
  14406. #: guix-git/doc/guix.texi:9601
  14407. #, no-wrap
  14408. msgid "#$@var{obj}:@var{output}"
  14409. msgstr ""
  14410. #. type: itemx
  14411. #: guix-git/doc/guix.texi:9602
  14412. #, no-wrap
  14413. msgid "(ungexp @var{obj} @var{output})"
  14414. msgstr ""
  14415. #. type: table
  14416. #: guix-git/doc/guix.texi:9606
  14417. msgid "This is like the form above, but referring explicitly to the @var{output} of @var{obj}---this is useful when @var{obj} produces multiple outputs (@pxref{Packages with Multiple Outputs})."
  14418. msgstr ""
  14419. #. type: item
  14420. #: guix-git/doc/guix.texi:9607
  14421. #, no-wrap
  14422. msgid "#+@var{obj}"
  14423. msgstr ""
  14424. #. type: itemx
  14425. #: guix-git/doc/guix.texi:9608
  14426. #, no-wrap
  14427. msgid "#+@var{obj}:output"
  14428. msgstr ""
  14429. #. type: itemx
  14430. #: guix-git/doc/guix.texi:9609
  14431. #, no-wrap
  14432. msgid "(ungexp-native @var{obj})"
  14433. msgstr ""
  14434. #. type: itemx
  14435. #: guix-git/doc/guix.texi:9610
  14436. #, no-wrap
  14437. msgid "(ungexp-native @var{obj} @var{output})"
  14438. msgstr ""
  14439. #. type: table
  14440. #: guix-git/doc/guix.texi:9613
  14441. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  14442. msgstr ""
  14443. #. type: item
  14444. #: guix-git/doc/guix.texi:9614
  14445. #, no-wrap
  14446. msgid "#$output[:@var{output}]"
  14447. msgstr ""
  14448. #. type: itemx
  14449. #: guix-git/doc/guix.texi:9615
  14450. #, no-wrap
  14451. msgid "(ungexp output [@var{output}])"
  14452. msgstr ""
  14453. #. type: table
  14454. #: guix-git/doc/guix.texi:9618
  14455. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  14456. msgstr ""
  14457. #. type: table
  14458. #: guix-git/doc/guix.texi:9620
  14459. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  14460. msgstr ""
  14461. #. type: item
  14462. #: guix-git/doc/guix.texi:9621
  14463. #, no-wrap
  14464. msgid "#$@@@var{lst}"
  14465. msgstr ""
  14466. #. type: itemx
  14467. #: guix-git/doc/guix.texi:9622
  14468. #, no-wrap
  14469. msgid "(ungexp-splicing @var{lst})"
  14470. msgstr ""
  14471. #. type: table
  14472. #: guix-git/doc/guix.texi:9625
  14473. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  14474. msgstr ""
  14475. #. type: item
  14476. #: guix-git/doc/guix.texi:9626
  14477. #, no-wrap
  14478. msgid "#+@@@var{lst}"
  14479. msgstr ""
  14480. #. type: itemx
  14481. #: guix-git/doc/guix.texi:9627
  14482. #, no-wrap
  14483. msgid "(ungexp-native-splicing @var{lst})"
  14484. msgstr ""
  14485. #. type: table
  14486. #: guix-git/doc/guix.texi:9630
  14487. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  14488. msgstr ""
  14489. #. type: deffn
  14490. #: guix-git/doc/guix.texi:9635
  14491. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  14492. msgstr ""
  14493. #. type: deffn
  14494. #: guix-git/doc/guix.texi:9637
  14495. #, no-wrap
  14496. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  14497. msgstr ""
  14498. #. type: deffn
  14499. #: guix-git/doc/guix.texi:9640
  14500. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  14501. msgstr ""
  14502. #. type: deffn
  14503. #: guix-git/doc/guix.texi:9644
  14504. msgid "Each item in @var{modules} can be the name of a module, such as @code{(guix build utils)}, or it can be a module name, followed by an arrow, followed by a file-like object:"
  14505. msgstr ""
  14506. #. type: lisp
  14507. #: guix-git/doc/guix.texi:9650
  14508. #, no-wrap
  14509. msgid ""
  14510. "`((guix build utils)\n"
  14511. " (guix gcrypt)\n"
  14512. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  14513. " #~(define-module @dots{}))))\n"
  14514. msgstr ""
  14515. #. type: deffn
  14516. #: guix-git/doc/guix.texi:9655
  14517. msgid "In the example above, the first two modules are taken from the search path, and the last one is created from the given file-like object."
  14518. msgstr ""
  14519. #. type: deffn
  14520. #: guix-git/doc/guix.texi:9659
  14521. msgid "This form has @emph{lexical} scope: it has an effect on the gexps directly defined in @var{body}@dots{}, but not on those defined, say, in procedures called from @var{body}@dots{}."
  14522. msgstr ""
  14523. #. type: deffn
  14524. #: guix-git/doc/guix.texi:9661
  14525. #, no-wrap
  14526. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  14527. msgstr ""
  14528. #. type: deffn
  14529. #: guix-git/doc/guix.texi:9666
  14530. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{extensions} in their build and execution environment. @var{extensions} is typically a list of package objects such as those defined in the @code{(gnu packages guile)} module."
  14531. msgstr ""
  14532. #. type: deffn
  14533. #: guix-git/doc/guix.texi:9671
  14534. msgid "Concretely, the packages listed in @var{extensions} are added to the load path while compiling imported modules in @var{body}@dots{}; they are also added to the load path of the gexp returned by @var{body}@dots{}."
  14535. msgstr ""
  14536. #. type: deffn
  14537. #: guix-git/doc/guix.texi:9673
  14538. #, no-wrap
  14539. msgid "{Scheme Procedure} gexp? @var{obj}"
  14540. msgstr ""
  14541. #. type: deffn
  14542. #: guix-git/doc/guix.texi:9675
  14543. msgid "Return @code{#t} if @var{obj} is a G-expression."
  14544. msgstr ""
  14545. #. type: Plain text
  14546. #: guix-git/doc/guix.texi:9681
  14547. msgid "G-expressions are meant to be written to disk, either as code building some derivation, or as plain files in the store. The monadic procedures below allow you to do that (@pxref{The Store Monad}, for more information about monads)."
  14548. msgstr ""
  14549. #. type: deffn
  14550. #: guix-git/doc/guix.texi:9682
  14551. #, no-wrap
  14552. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  14553. msgstr ""
  14554. #. type: deffn
  14555. #: guix-git/doc/guix.texi:9700
  14556. msgid "[#:system (%current-system)] [#:target #f] [#:graft? #t] @ [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:module-path @code{%load-path}] @ [#:effective-version \"2.2\"] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:leaked-env-vars #f] @ [#:script-name (string-append @var{name} \"-builder\")] @ [#:deprecation-warnings #f] @ [#:local-build? #f] [#:substitutable? #t] @ [#:properties '()] [#:guile-for-build #f] Return a derivation @var{name} that runs @var{exp} (a gexp) with @var{guile-for-build} (a derivation) on @var{system}; @var{exp} is stored in a file called @var{script-name}. When @var{target} is true, it is used as the cross-compilation target triplet for packages referred to by @var{exp}."
  14557. msgstr ""
  14558. #. type: deffn
  14559. #: guix-git/doc/guix.texi:9708
  14560. msgid "@var{modules} is deprecated in favor of @code{with-imported-modules}. Its meaning is to make @var{modules} available in the evaluation context of @var{exp}; @var{modules} is a list of names of Guile modules searched in @var{module-path} to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}."
  14561. msgstr ""
  14562. #. type: deffn
  14563. #: guix-git/doc/guix.texi:9711
  14564. msgid "@var{effective-version} determines the string to use when adding extensions of @var{exp} (see @code{with-extensions}) to the search path---e.g., @code{\"2.2\"}."
  14565. msgstr ""
  14566. #. type: deffn
  14567. #: guix-git/doc/guix.texi:9714
  14568. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  14569. msgstr ""
  14570. #. type: deffn
  14571. #: guix-git/doc/guix.texi:9717
  14572. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  14573. msgstr ""
  14574. #. type: example
  14575. #: guix-git/doc/guix.texi:9724
  14576. #, no-wrap
  14577. msgid ""
  14578. "(@var{file-name} @var{package})\n"
  14579. "(@var{file-name} @var{package} @var{output})\n"
  14580. "(@var{file-name} @var{derivation})\n"
  14581. "(@var{file-name} @var{derivation} @var{output})\n"
  14582. "(@var{file-name} @var{store-item})\n"
  14583. msgstr ""
  14584. #. type: deffn
  14585. #: guix-git/doc/guix.texi:9730
  14586. msgid "The right-hand-side of each element of @var{references-graphs} is automatically made an input of the build process of @var{exp}. In the build environment, each @var{file-name} contains the reference graph of the corresponding item, in a simple text format."
  14587. msgstr ""
  14588. #. type: deffn
  14589. #: guix-git/doc/guix.texi:9736
  14590. msgid "@var{allowed-references} must be either @code{#f} or a list of output names and packages. In the latter case, the list denotes store items that the result is allowed to refer to. Any reference to another store item will lead to a build error. Similarly for @var{disallowed-references}, which can list items that must not be referenced by the outputs."
  14591. msgstr ""
  14592. #. type: deffn
  14593. #: guix-git/doc/guix.texi:9739
  14594. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  14595. msgstr ""
  14596. #. type: deffn
  14597. #: guix-git/doc/guix.texi:9741
  14598. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  14599. msgstr ""
  14600. #. type: cindex
  14601. #: guix-git/doc/guix.texi:9743
  14602. #, no-wrap
  14603. msgid "file-like objects"
  14604. msgstr ""
  14605. #. type: Plain text
  14606. #: guix-git/doc/guix.texi:9748
  14607. msgid "The @code{local-file}, @code{plain-file}, @code{computed-file}, @code{program-file}, and @code{scheme-file} procedures below return @dfn{file-like objects}. That is, when unquoted in a G-expression, these objects lead to a file in the store. Consider this G-expression:"
  14608. msgstr ""
  14609. #. type: lisp
  14610. #: guix-git/doc/guix.texi:9752
  14611. #, no-wrap
  14612. msgid ""
  14613. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  14614. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  14615. msgstr ""
  14616. #. type: Plain text
  14617. #: guix-git/doc/guix.texi:9761
  14618. msgid "The effect here is to ``intern'' @file{/tmp/my-nscd.conf} by copying it to the store. Once expanded, for instance @i{via} @code{gexp->derivation}, the G-expression refers to that copy under @file{/gnu/store}; thus, modifying or removing the file in @file{/tmp} does not have any effect on what the G-expression does. @code{plain-file} can be used similarly; it differs in that the file content is directly passed as a string."
  14619. msgstr ""
  14620. #. type: deffn
  14621. #: guix-git/doc/guix.texi:9762
  14622. #, no-wrap
  14623. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  14624. msgstr ""
  14625. #. type: deffn
  14626. #: guix-git/doc/guix.texi:9771
  14627. msgid "[#:recursive? #f] [#:select? (const #t)] Return an object representing local file @var{file} to add to the store; this object can be used in a gexp. If @var{file} is a literal string denoting a relative file name, it is looked up relative to the source file where it appears; if @var{file} is not a literal string, it is looked up relative to the current working directory at run time. @var{file} will be added to the store under @var{name}--by default the base name of @var{file}."
  14628. msgstr ""
  14629. #. type: deffn
  14630. #: guix-git/doc/guix.texi:9783
  14631. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  14632. msgstr ""
  14633. #. type: deffn
  14634. #: guix-git/doc/guix.texi:9785
  14635. #, no-wrap
  14636. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  14637. msgstr ""
  14638. #. type: deffn
  14639. #: guix-git/doc/guix.texi:9788
  14640. msgid "Return an object representing a text file called @var{name} with the given @var{content} (a string or a bytevector) to be added to the store."
  14641. msgstr ""
  14642. #. type: deffn
  14643. #: guix-git/doc/guix.texi:9790
  14644. msgid "This is the declarative counterpart of @code{text-file}."
  14645. msgstr ""
  14646. #. type: deffn
  14647. #: guix-git/doc/guix.texi:9792
  14648. #, no-wrap
  14649. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  14650. msgstr ""
  14651. #. type: deffn
  14652. #: guix-git/doc/guix.texi:9799
  14653. msgid "[#:local-build? #t] [#:options '()] Return an object representing the store item @var{name}, a file or directory computed by @var{gexp}. When @var{local-build?} is true (the default), the derivation is built locally. @var{options} is a list of additional arguments to pass to @code{gexp->derivation}."
  14654. msgstr ""
  14655. #. type: deffn
  14656. #: guix-git/doc/guix.texi:9801
  14657. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  14658. msgstr ""
  14659. #. type: deffn
  14660. #: guix-git/doc/guix.texi:9803
  14661. #, no-wrap
  14662. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  14663. msgstr ""
  14664. #. type: deffn
  14665. #: guix-git/doc/guix.texi:9809
  14666. msgid "[#:guile (default-guile)] [#:module-path %load-path] @ [#:system (%current-system)] [#:target #f] Return an executable script @var{name} that runs @var{exp} using @var{guile}, with @var{exp}'s imported modules in its search path. Look up @var{exp}'s modules in @var{module-path}."
  14667. msgstr ""
  14668. #. type: deffn
  14669. #: guix-git/doc/guix.texi:9812
  14670. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  14671. msgstr ""
  14672. #. type: lisp
  14673. #: guix-git/doc/guix.texi:9815
  14674. #, no-wrap
  14675. msgid ""
  14676. "(use-modules (guix gexp) (gnu packages base))\n"
  14677. "\n"
  14678. msgstr ""
  14679. #. type: lisp
  14680. #: guix-git/doc/guix.texi:9819
  14681. #, no-wrap
  14682. msgid ""
  14683. "(gexp->script \"list-files\"\n"
  14684. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  14685. " \"ls\"))\n"
  14686. msgstr ""
  14687. #. type: deffn
  14688. #: guix-git/doc/guix.texi:9824
  14689. msgid "When ``running'' it through the store (@pxref{The Store Monad, @code{run-with-store}}), we obtain a derivation that produces an executable file @file{/gnu/store/@dots{}-list-files} along these lines:"
  14690. msgstr ""
  14691. #. type: example
  14692. #: guix-git/doc/guix.texi:9829
  14693. #, no-wrap
  14694. msgid ""
  14695. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  14696. "!#\n"
  14697. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  14698. msgstr ""
  14699. #. type: deffn
  14700. #: guix-git/doc/guix.texi:9832
  14701. #, no-wrap
  14702. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  14703. msgstr ""
  14704. #. type: deffn
  14705. #: guix-git/doc/guix.texi:9837
  14706. msgid "[#:guile #f] [#:module-path %load-path] Return an object representing the executable store item @var{name} that runs @var{gexp}. @var{guile} is the Guile package used to execute that script. Imported modules of @var{gexp} are looked up in @var{module-path}."
  14707. msgstr ""
  14708. #. type: deffn
  14709. #: guix-git/doc/guix.texi:9839
  14710. msgid "This is the declarative counterpart of @code{gexp->script}."
  14711. msgstr ""
  14712. #. type: deffn
  14713. #: guix-git/doc/guix.texi:9841
  14714. #, no-wrap
  14715. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  14716. msgstr ""
  14717. #. type: deffn
  14718. #: guix-git/doc/guix.texi:9848
  14719. msgid "[#:set-load-path? #t] [#:module-path %load-path] @ [#:splice? #f] @ [#:guile (default-guile)] Return a derivation that builds a file @var{name} containing @var{exp}. When @var{splice?} is true, @var{exp} is considered to be a list of expressions that will be spliced in the resulting file."
  14720. msgstr ""
  14721. #. type: deffn
  14722. #: guix-git/doc/guix.texi:9853
  14723. msgid "When @var{set-load-path?} is true, emit code in the resulting file to set @code{%load-path} and @code{%load-compiled-path} to honor @var{exp}'s imported modules. Look up @var{exp}'s modules in @var{module-path}."
  14724. msgstr ""
  14725. #. type: deffn
  14726. #: guix-git/doc/guix.texi:9856
  14727. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  14728. msgstr ""
  14729. #. type: deffn
  14730. #: guix-git/doc/guix.texi:9858
  14731. #, no-wrap
  14732. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  14733. msgstr ""
  14734. #. type: deffn
  14735. #: guix-git/doc/guix.texi:9862
  14736. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  14737. msgstr ""
  14738. #. type: deffn
  14739. #: guix-git/doc/guix.texi:9864
  14740. msgid "This is the declarative counterpart of @code{gexp->file}."
  14741. msgstr ""
  14742. #. type: deffn
  14743. #: guix-git/doc/guix.texi:9866
  14744. #, no-wrap
  14745. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  14746. msgstr ""
  14747. #. type: deffn
  14748. #: guix-git/doc/guix.texi:9872
  14749. msgid "Return as a monadic value a derivation that builds a text file containing all of @var{text}. @var{text} may list, in addition to strings, objects of any type that can be used in a gexp: packages, derivations, local file objects, etc. The resulting store file holds references to all these."
  14750. msgstr ""
  14751. #. type: deffn
  14752. #: guix-git/doc/guix.texi:9877
  14753. msgid "This variant should be preferred over @code{text-file} anytime the file to create will reference items from the store. This is typically the case when building a configuration file that embeds store file names, like this:"
  14754. msgstr ""
  14755. #. type: lisp
  14756. #: guix-git/doc/guix.texi:9885
  14757. #, no-wrap
  14758. msgid ""
  14759. "(define (profile.sh)\n"
  14760. " ;; Return the name of a shell script in the store that\n"
  14761. " ;; initializes the 'PATH' environment variable.\n"
  14762. " (text-file* \"profile.sh\"\n"
  14763. " \"export PATH=\" coreutils \"/bin:\"\n"
  14764. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  14765. msgstr ""
  14766. #. type: deffn
  14767. #: guix-git/doc/guix.texi:9890
  14768. msgid "In this example, the resulting @file{/gnu/store/@dots{}-profile.sh} file will reference @var{coreutils}, @var{grep}, and @var{sed}, thereby preventing them from being garbage-collected during its lifetime."
  14769. msgstr ""
  14770. #. type: deffn
  14771. #: guix-git/doc/guix.texi:9892
  14772. #, no-wrap
  14773. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  14774. msgstr ""
  14775. #. type: deffn
  14776. #: guix-git/doc/guix.texi:9896
  14777. msgid "Return an object representing store file @var{name} containing @var{text}. @var{text} is a sequence of strings and file-like objects, as in:"
  14778. msgstr ""
  14779. #. type: lisp
  14780. #: guix-git/doc/guix.texi:9900
  14781. #, no-wrap
  14782. msgid ""
  14783. "(mixed-text-file \"profile\"\n"
  14784. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  14785. msgstr ""
  14786. #. type: deffn
  14787. #: guix-git/doc/guix.texi:9903
  14788. msgid "This is the declarative counterpart of @code{text-file*}."
  14789. msgstr ""
  14790. #. type: deffn
  14791. #: guix-git/doc/guix.texi:9905
  14792. #, no-wrap
  14793. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  14794. msgstr ""
  14795. #. type: deffn
  14796. #: guix-git/doc/guix.texi:9910
  14797. msgid "Return a @code{<computed-file>} that builds a directory containing all of @var{files}. Each item in @var{files} must be a two-element list where the first element is the file name to use in the new directory, and the second element is a gexp denoting the target file. Here's an example:"
  14798. msgstr ""
  14799. #. type: lisp
  14800. #: guix-git/doc/guix.texi:9917
  14801. #, no-wrap
  14802. msgid ""
  14803. "(file-union \"etc\"\n"
  14804. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  14805. " \"127.0.0.1 localhost\"))\n"
  14806. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  14807. " \"alias ls='ls --color=auto'\"))))\n"
  14808. msgstr ""
  14809. #. type: deffn
  14810. #: guix-git/doc/guix.texi:9920
  14811. msgid "This yields an @code{etc} directory containing these two files."
  14812. msgstr ""
  14813. #. type: deffn
  14814. #: guix-git/doc/guix.texi:9922
  14815. #, no-wrap
  14816. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  14817. msgstr ""
  14818. #. type: deffn
  14819. #: guix-git/doc/guix.texi:9925
  14820. msgid "Return a directory that is the union of @var{things}, where @var{things} is a list of file-like objects denoting directories. For example:"
  14821. msgstr ""
  14822. #. type: lisp
  14823. #: guix-git/doc/guix.texi:9928
  14824. #, no-wrap
  14825. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  14826. msgstr ""
  14827. #. type: deffn
  14828. #: guix-git/doc/guix.texi:9931
  14829. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  14830. msgstr ""
  14831. #. type: deffn
  14832. #: guix-git/doc/guix.texi:9933
  14833. #, no-wrap
  14834. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  14835. msgstr ""
  14836. #. type: deffn
  14837. #: guix-git/doc/guix.texi:9937
  14838. msgid "Return a file-like object that expands to the concatenation of @var{obj} and @var{suffix}, where @var{obj} is a lowerable object and each @var{suffix} is a string."
  14839. msgstr ""
  14840. #. type: deffn
  14841. #: guix-git/doc/guix.texi:9939
  14842. msgid "As an example, consider this gexp:"
  14843. msgstr ""
  14844. #. type: lisp
  14845. #: guix-git/doc/guix.texi:9944
  14846. #, no-wrap
  14847. msgid ""
  14848. "(gexp->script \"run-uname\"\n"
  14849. " #~(system* #$(file-append coreutils\n"
  14850. " \"/bin/uname\")))\n"
  14851. msgstr ""
  14852. #. type: deffn
  14853. #: guix-git/doc/guix.texi:9947
  14854. msgid "The same effect could be achieved with:"
  14855. msgstr ""
  14856. #. type: lisp
  14857. #: guix-git/doc/guix.texi:9952
  14858. #, no-wrap
  14859. msgid ""
  14860. "(gexp->script \"run-uname\"\n"
  14861. " #~(system* (string-append #$coreutils\n"
  14862. " \"/bin/uname\")))\n"
  14863. msgstr ""
  14864. #. type: deffn
  14865. #: guix-git/doc/guix.texi:9958
  14866. msgid "There is one difference though: in the @code{file-append} case, the resulting script contains the absolute file name as a string, whereas in the second case, the resulting script contains a @code{(string-append @dots{})} expression to construct the file name @emph{at run time}."
  14867. msgstr ""
  14868. #. type: deffn
  14869. #: guix-git/doc/guix.texi:9960
  14870. #, no-wrap
  14871. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  14872. msgstr ""
  14873. #. type: deffnx
  14874. #: guix-git/doc/guix.texi:9961
  14875. #, no-wrap
  14876. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  14877. msgstr ""
  14878. #. type: deffn
  14879. #: guix-git/doc/guix.texi:9964
  14880. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  14881. msgstr ""
  14882. #. type: deffn
  14883. #: guix-git/doc/guix.texi:9969
  14884. msgid "In the second case, additionally bind @var{target} to the current cross-compilation target---a GNU triplet such as @code{\"arm-linux-gnueabihf\"}---or @code{#f} if we are not cross-compiling."
  14885. msgstr ""
  14886. #. type: deffn
  14887. #: guix-git/doc/guix.texi:9972
  14888. msgid "@code{let-system} is useful in the occasional case where the object spliced into the gexp depends on the target system, as in this example:"
  14889. msgstr ""
  14890. #. type: lisp
  14891. #: guix-git/doc/guix.texi:9983
  14892. #, no-wrap
  14893. msgid ""
  14894. "#~(system*\n"
  14895. " #+(let-system system\n"
  14896. " (cond ((string-prefix? \"armhf-\" system)\n"
  14897. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  14898. " ((string-prefix? \"x86_64-\" system)\n"
  14899. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  14900. " (else\n"
  14901. " (error \"dunno!\"))))\n"
  14902. " \"-net\" \"user\" #$image)\n"
  14903. msgstr ""
  14904. #. type: deffn
  14905. #: guix-git/doc/guix.texi:9986
  14906. #, no-wrap
  14907. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  14908. msgstr ""
  14909. #. type: deffn
  14910. #: guix-git/doc/guix.texi:9992
  14911. msgid "This macro is similar to the @code{parameterize} form for dynamically-bound @dfn{parameters} (@pxref{Parameters,,, guile, GNU Guile Reference Manual}). The key difference is that it takes effect when the file-like object returned by @var{exp} is lowered to a derivation or store item."
  14912. msgstr ""
  14913. #. type: deffn
  14914. #: guix-git/doc/guix.texi:9995
  14915. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  14916. msgstr ""
  14917. #. type: lisp
  14918. #: guix-git/doc/guix.texi:9999
  14919. #, no-wrap
  14920. msgid ""
  14921. "(with-parameters ((%current-system \"i686-linux\"))\n"
  14922. " coreutils)\n"
  14923. msgstr ""
  14924. #. type: deffn
  14925. #: guix-git/doc/guix.texi:10003
  14926. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  14927. msgstr ""
  14928. #. type: Plain text
  14929. #: guix-git/doc/guix.texi:10010
  14930. msgid "Of course, in addition to gexps embedded in ``host'' code, there are also modules containing build tools. To make it clear that they are meant to be used in the build stratum, these modules are kept in the @code{(guix build @dots{})} name space."
  14931. msgstr ""
  14932. #. type: Plain text
  14933. #: guix-git/doc/guix.texi:10016
  14934. msgid "Internally, high-level objects are @dfn{lowered}, using their compiler, to either derivations or store items. For instance, lowering a package yields a derivation, and lowering a @code{plain-file} yields a store item. This is achieved using the @code{lower-object} monadic procedure."
  14935. msgstr ""
  14936. #. type: deffn
  14937. #: guix-git/doc/guix.texi:10017
  14938. #, no-wrap
  14939. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  14940. msgstr ""
  14941. #. type: deffn
  14942. #: guix-git/doc/guix.texi:10023
  14943. msgid "[#:target #f] Return as a value in @code{%store-monad} the derivation or store item corresponding to @var{obj} for @var{system}, cross-compiling for @var{target} if @var{target} is true. @var{obj} must be an object that has an associated gexp compiler, such as a @code{<package>}."
  14944. msgstr ""
  14945. #. type: section
  14946. #: guix-git/doc/guix.texi:10026
  14947. #, no-wrap
  14948. msgid "Invoking @command{guix repl}"
  14949. msgstr ""
  14950. #. type: cindex
  14951. #: guix-git/doc/guix.texi:10028
  14952. #, no-wrap
  14953. msgid "REPL, read-eval-print loop, script"
  14954. msgstr ""
  14955. #. type: Plain text
  14956. #: guix-git/doc/guix.texi:10038
  14957. msgid "The @command{guix repl} command makes it easier to program Guix in Guile by launching a Guile @dfn{read-eval-print loop} (REPL) for interactive programming (@pxref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}), or by running Guile scripts (@pxref{Running Guile Scripts,,, guile, GNU Guile Reference Manual}). Compared to just launching the @command{guile} command, @command{guix repl} guarantees that all the Guix modules and all its dependencies are available in the search path."
  14958. msgstr ""
  14959. #. type: example
  14960. #: guix-git/doc/guix.texi:10043
  14961. #, no-wrap
  14962. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  14963. msgstr ""
  14964. #. type: Plain text
  14965. #: guix-git/doc/guix.texi:10047
  14966. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  14967. msgstr ""
  14968. #. type: example
  14969. #: guix-git/doc/guix.texi:10050
  14970. #, no-wrap
  14971. msgid "guix repl my-script.scm\n"
  14972. msgstr ""
  14973. #. type: Plain text
  14974. #: guix-git/doc/guix.texi:10054
  14975. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  14976. msgstr ""
  14977. #. type: example
  14978. #: guix-git/doc/guix.texi:10057
  14979. #, no-wrap
  14980. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  14981. msgstr ""
  14982. #. type: Plain text
  14983. #: guix-git/doc/guix.texi:10062
  14984. msgid "To make a script executable directly from the shell, using the guix executable that is on the user's search path, add the following two lines at the top of the script:"
  14985. msgstr ""
  14986. #. type: example
  14987. #: guix-git/doc/guix.texi:10066
  14988. #, no-wrap
  14989. msgid ""
  14990. "@code{#!/usr/bin/env -S guix repl --}\n"
  14991. "@code{!#}\n"
  14992. msgstr ""
  14993. #. type: Plain text
  14994. #: guix-git/doc/guix.texi:10069
  14995. msgid "Without a file name argument, a Guile REPL is started:"
  14996. msgstr ""
  14997. #. type: example
  14998. #: guix-git/doc/guix.texi:10075
  14999. #, no-wrap
  15000. msgid ""
  15001. "$ guix repl\n"
  15002. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  15003. "scheme@@(guile-user)> coreutils\n"
  15004. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  15005. msgstr ""
  15006. #. type: Plain text
  15007. #: guix-git/doc/guix.texi:10082
  15008. msgid "In addition, @command{guix repl} implements a simple machine-readable REPL protocol for use by @code{(guix inferior)}, a facility to interact with @dfn{inferiors}, separate processes running a potentially different revision of Guix."
  15009. msgstr ""
  15010. #. type: Plain text
  15011. #: guix-git/doc/guix.texi:10084
  15012. msgid "The available options are as follows:"
  15013. msgstr ""
  15014. #. type: item
  15015. #: guix-git/doc/guix.texi:10086 guix-git/doc/guix.texi:12448
  15016. #, no-wrap
  15017. msgid "--type=@var{type}"
  15018. msgstr ""
  15019. #. type: itemx
  15020. #: guix-git/doc/guix.texi:10087 guix-git/doc/guix.texi:12449
  15021. #: guix-git/doc/guix.texi:33138
  15022. #, no-wrap
  15023. msgid "-t @var{type}"
  15024. msgstr ""
  15025. #. type: table
  15026. #: guix-git/doc/guix.texi:10089
  15027. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  15028. msgstr ""
  15029. #. type: item
  15030. #: guix-git/doc/guix.texi:10091
  15031. #, no-wrap
  15032. msgid "guile"
  15033. msgstr ""
  15034. #. type: table
  15035. #: guix-git/doc/guix.texi:10093
  15036. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  15037. msgstr ""
  15038. #. type: item
  15039. #: guix-git/doc/guix.texi:10093
  15040. #, no-wrap
  15041. msgid "machine"
  15042. msgstr ""
  15043. #. type: table
  15044. #: guix-git/doc/guix.texi:10096
  15045. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  15046. msgstr ""
  15047. #. type: table
  15048. #: guix-git/doc/guix.texi:10102
  15049. msgid "By default, @command{guix repl} reads from standard input and writes to standard output. When this option is passed, it will instead listen for connections on @var{endpoint}. Here are examples of valid options:"
  15050. msgstr ""
  15051. #. type: item
  15052. #: guix-git/doc/guix.texi:10104
  15053. #, no-wrap
  15054. msgid "--listen=tcp:37146"
  15055. msgstr ""
  15056. #. type: table
  15057. #: guix-git/doc/guix.texi:10106
  15058. msgid "Accept connections on localhost on port 37146."
  15059. msgstr ""
  15060. #. type: item
  15061. #: guix-git/doc/guix.texi:10107
  15062. #, no-wrap
  15063. msgid "--listen=unix:/tmp/socket"
  15064. msgstr ""
  15065. #. type: table
  15066. #: guix-git/doc/guix.texi:10109
  15067. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  15068. msgstr ""
  15069. #. type: item
  15070. #: guix-git/doc/guix.texi:10111 guix-git/doc/guix.texi:10215
  15071. #: guix-git/doc/guix.texi:11917 guix-git/doc/guix.texi:12097
  15072. #: guix-git/doc/guix.texi:12242 guix-git/doc/guix.texi:12496
  15073. #, no-wrap
  15074. msgid "--load-path=@var{directory}"
  15075. msgstr ""
  15076. #. type: itemx
  15077. #: guix-git/doc/guix.texi:10112 guix-git/doc/guix.texi:10216
  15078. #: guix-git/doc/guix.texi:12098 guix-git/doc/guix.texi:12243
  15079. #: guix-git/doc/guix.texi:12497
  15080. #, no-wrap
  15081. msgid "-L @var{directory}"
  15082. msgstr ""
  15083. #. type: table
  15084. #: guix-git/doc/guix.texi:10115 guix-git/doc/guix.texi:10219
  15085. #: guix-git/doc/guix.texi:11920 guix-git/doc/guix.texi:12101
  15086. #: guix-git/doc/guix.texi:12246 guix-git/doc/guix.texi:12500
  15087. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  15088. msgstr ""
  15089. #. type: table
  15090. #: guix-git/doc/guix.texi:10118
  15091. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  15092. msgstr ""
  15093. #. type: itemx
  15094. #: guix-git/doc/guix.texi:10119 guix-git/doc/guix.texi:10678
  15095. #, no-wrap
  15096. msgid "-q"
  15097. msgstr ""
  15098. #. type: table
  15099. #: guix-git/doc/guix.texi:10122
  15100. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  15101. msgstr ""
  15102. #. type: Plain text
  15103. #: guix-git/doc/guix.texi:10132
  15104. msgid "This section describes Guix command-line utilities. Some of them are primarily targeted at developers and users who write new package definitions, while others are more generally useful. They complement the Scheme programming interface of Guix in a convenient way."
  15105. msgstr ""
  15106. #. type: cindex
  15107. #: guix-git/doc/guix.texi:10154
  15108. #, no-wrap
  15109. msgid "package building"
  15110. msgstr ""
  15111. #. type: command{#1}
  15112. #: guix-git/doc/guix.texi:10155
  15113. #, no-wrap
  15114. msgid "guix build"
  15115. msgstr ""
  15116. #. type: Plain text
  15117. #: guix-git/doc/guix.texi:10161
  15118. msgid "The @command{guix build} command builds packages or derivations and their dependencies, and prints the resulting store paths. Note that it does not modify the user's profile---this is the job of the @command{guix package} command (@pxref{Invoking guix package}). Thus, it is mainly useful for distribution developers."
  15119. msgstr ""
  15120. #. type: example
  15121. #: guix-git/doc/guix.texi:10166
  15122. #, no-wrap
  15123. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  15124. msgstr ""
  15125. #. type: Plain text
  15126. #: guix-git/doc/guix.texi:10171
  15127. msgid "As an example, the following command builds the latest versions of Emacs and of Guile, displays their build logs, and finally displays the resulting directories:"
  15128. msgstr ""
  15129. #. type: example
  15130. #: guix-git/doc/guix.texi:10174
  15131. #, no-wrap
  15132. msgid "guix build emacs guile\n"
  15133. msgstr ""
  15134. #. type: Plain text
  15135. #: guix-git/doc/guix.texi:10177
  15136. msgid "Similarly, the following command builds all the available packages:"
  15137. msgstr ""
  15138. #. type: example
  15139. #: guix-git/doc/guix.texi:10181
  15140. #, no-wrap
  15141. msgid ""
  15142. "guix build --quiet --keep-going \\\n"
  15143. " $(guix package -A | cut -f1,2 --output-delimiter=@@)\n"
  15144. msgstr ""
  15145. #. type: Plain text
  15146. #: guix-git/doc/guix.texi:10189
  15147. msgid "@var{package-or-derivation} may be either the name of a package found in the software distribution such as @code{coreutils} or @code{coreutils@@8.20}, or a derivation such as @file{/gnu/store/@dots{}-coreutils-8.19.drv}. In the former case, a package with the corresponding name (and optionally version) is searched for among the GNU distribution modules (@pxref{Package Modules})."
  15148. msgstr ""
  15149. #. type: Plain text
  15150. #: guix-git/doc/guix.texi:10194
  15151. msgid "Alternatively, the @option{--expression} option may be used to specify a Scheme expression that evaluates to a package; this is useful when disambiguating among several same-named packages or package variants is needed."
  15152. msgstr ""
  15153. #. type: Plain text
  15154. #: guix-git/doc/guix.texi:10197
  15155. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  15156. msgstr ""
  15157. #. type: Plain text
  15158. #: guix-git/doc/guix.texi:10212
  15159. msgid "A number of options that control the build process are common to @command{guix build} and other commands that can spawn builds, such as @command{guix package} or @command{guix archive}. These are the following:"
  15160. msgstr ""
  15161. #. type: table
  15162. #: guix-git/doc/guix.texi:10222 guix-git/doc/guix.texi:11923
  15163. #: guix-git/doc/guix.texi:12104 guix-git/doc/guix.texi:12249
  15164. #: guix-git/doc/guix.texi:12503
  15165. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  15166. msgstr ""
  15167. #. type: item
  15168. #: guix-git/doc/guix.texi:10223
  15169. #, no-wrap
  15170. msgid "--keep-failed"
  15171. msgstr ""
  15172. #. type: itemx
  15173. #: guix-git/doc/guix.texi:10224
  15174. #, no-wrap
  15175. msgid "-K"
  15176. msgstr ""
  15177. #. type: table
  15178. #: guix-git/doc/guix.texi:10230
  15179. msgid "Keep the build tree of failed builds. Thus, if a build fails, its build tree is kept under @file{/tmp}, in a directory whose name is shown at the end of the build log. This is useful when debugging build issues. @xref{Debugging Build Failures}, for tips and tricks on how to debug build issues."
  15180. msgstr ""
  15181. #. type: table
  15182. #: guix-git/doc/guix.texi:10234
  15183. msgid "This option implies @option{--no-offload}, and it has no effect when connecting to a remote daemon with a @code{guix://} URI (@pxref{The Store, the @env{GUIX_DAEMON_SOCKET} variable})."
  15184. msgstr ""
  15185. #. type: item
  15186. #: guix-git/doc/guix.texi:10235
  15187. #, no-wrap
  15188. msgid "--keep-going"
  15189. msgstr ""
  15190. #. type: itemx
  15191. #: guix-git/doc/guix.texi:10236
  15192. #, no-wrap
  15193. msgid "-k"
  15194. msgstr ""
  15195. #. type: table
  15196. #: guix-git/doc/guix.texi:10239
  15197. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  15198. msgstr ""
  15199. #. type: table
  15200. #: guix-git/doc/guix.texi:10242
  15201. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  15202. msgstr ""
  15203. #. type: table
  15204. #: guix-git/doc/guix.texi:10246
  15205. msgid "Do not build the derivations."
  15206. msgstr ""
  15207. #. type: anchor{#1}
  15208. #: guix-git/doc/guix.texi:10248
  15209. msgid "fallback-option"
  15210. msgstr ""
  15211. #. type: item
  15212. #: guix-git/doc/guix.texi:10248
  15213. #, no-wrap
  15214. msgid "--fallback"
  15215. msgstr ""
  15216. #. type: table
  15217. #: guix-git/doc/guix.texi:10251
  15218. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  15219. msgstr ""
  15220. #. type: anchor{#1}
  15221. #: guix-git/doc/guix.texi:10257
  15222. msgid "client-substitute-urls"
  15223. msgstr ""
  15224. #. type: table
  15225. #: guix-git/doc/guix.texi:10257
  15226. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs, overriding the default list of URLs of @command{guix-daemon} (@pxref{daemon-substitute-urls,, @command{guix-daemon} URLs})."
  15227. msgstr ""
  15228. #. type: table
  15229. #: guix-git/doc/guix.texi:10261
  15230. msgid "This means that substitutes may be downloaded from @var{urls}, provided they are signed by a key authorized by the system administrator (@pxref{Substitutes})."
  15231. msgstr ""
  15232. #. type: table
  15233. #: guix-git/doc/guix.texi:10264
  15234. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  15235. msgstr ""
  15236. #. type: item
  15237. #: guix-git/doc/guix.texi:10270
  15238. #, no-wrap
  15239. msgid "--no-grafts"
  15240. msgstr ""
  15241. #. type: table
  15242. #: guix-git/doc/guix.texi:10274
  15243. msgid "Do not ``graft'' packages. In practice, this means that package updates available as grafts are not applied. @xref{Security Updates}, for more information on grafts."
  15244. msgstr ""
  15245. #. type: item
  15246. #: guix-git/doc/guix.texi:10275
  15247. #, no-wrap
  15248. msgid "--rounds=@var{n}"
  15249. msgstr ""
  15250. #. type: table
  15251. #: guix-git/doc/guix.texi:10278
  15252. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  15253. msgstr ""
  15254. #. type: table
  15255. #: guix-git/doc/guix.texi:10283
  15256. msgid "This is a useful way to detect non-deterministic builds processes. Non-deterministic build processes are a problem because they make it practically impossible for users to @emph{verify} whether third-party binaries are genuine. @xref{Invoking guix challenge}, for more."
  15257. msgstr ""
  15258. #. type: table
  15259. #: guix-git/doc/guix.texi:10299
  15260. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  15261. msgstr ""
  15262. #. type: table
  15263. #: guix-git/doc/guix.texi:10306
  15264. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  15265. msgstr ""
  15266. #. type: cindex
  15267. #: guix-git/doc/guix.texi:10309
  15268. #, no-wrap
  15269. msgid "verbosity, of the command-line tools"
  15270. msgstr ""
  15271. #. type: cindex
  15272. #: guix-git/doc/guix.texi:10310
  15273. #, no-wrap
  15274. msgid "build logs, verbosity"
  15275. msgstr ""
  15276. #. type: item
  15277. #: guix-git/doc/guix.texi:10311
  15278. #, no-wrap
  15279. msgid "-v @var{level}"
  15280. msgstr ""
  15281. #. type: itemx
  15282. #: guix-git/doc/guix.texi:10312
  15283. #, no-wrap
  15284. msgid "--verbosity=@var{level}"
  15285. msgstr ""
  15286. #. type: table
  15287. #: guix-git/doc/guix.texi:10317
  15288. msgid "Use the given verbosity @var{level}, an integer. Choosing 0 means that no output is produced, 1 is for quiet output; 2 is similar to 1 but it additionally displays download URLs; 3 shows all the build log output on standard error."
  15289. msgstr ""
  15290. #. type: table
  15291. #: guix-git/doc/guix.texi:10322
  15292. msgid "Allow the use of up to @var{n} CPU cores for the build. The special value @code{0} means to use as many CPU cores as available."
  15293. msgstr ""
  15294. #. type: table
  15295. #: guix-git/doc/guix.texi:10328
  15296. msgid "Allow at most @var{n} build jobs in parallel. @xref{Invoking guix-daemon, @option{--max-jobs}}, for details about this option and the equivalent @command{guix-daemon} option."
  15297. msgstr ""
  15298. #. type: item
  15299. #: guix-git/doc/guix.texi:10329
  15300. #, no-wrap
  15301. msgid "--debug=@var{level}"
  15302. msgstr ""
  15303. #. type: table
  15304. #: guix-git/doc/guix.texi:10333
  15305. msgid "Produce debugging output coming from the build daemon. @var{level} must be an integer between 0 and 5; higher means more verbose output. Setting a level of 4 or more may be helpful when debugging setup issues with the build daemon."
  15306. msgstr ""
  15307. #. type: Plain text
  15308. #: guix-git/doc/guix.texi:10340
  15309. msgid "Behind the scenes, @command{guix build} is essentially an interface to the @code{package-derivation} procedure of the @code{(guix packages)} module, and to the @code{build-derivations} procedure of the @code{(guix derivations)} module."
  15310. msgstr ""
  15311. #. type: Plain text
  15312. #: guix-git/doc/guix.texi:10344
  15313. msgid "In addition to options explicitly passed on the command line, @command{guix build} and other @command{guix} commands that support building honor the @env{GUIX_BUILD_OPTIONS} environment variable."
  15314. msgstr ""
  15315. #. type: defvr
  15316. #: guix-git/doc/guix.texi:10345
  15317. #, no-wrap
  15318. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  15319. msgstr ""
  15320. #. type: defvr
  15321. #: guix-git/doc/guix.texi:10350
  15322. msgid "Users can define this variable to a list of command line options that will automatically be used by @command{guix build} and other @command{guix} commands that can perform builds, as in the example below:"
  15323. msgstr ""
  15324. #. type: example
  15325. #: guix-git/doc/guix.texi:10353
  15326. #, no-wrap
  15327. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  15328. msgstr ""
  15329. #. type: defvr
  15330. #: guix-git/doc/guix.texi:10357
  15331. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  15332. msgstr ""
  15333. #. type: cindex
  15334. #: guix-git/doc/guix.texi:10363
  15335. #, no-wrap
  15336. msgid "package variants"
  15337. msgstr ""
  15338. #. type: Plain text
  15339. #: guix-git/doc/guix.texi:10371
  15340. msgid "Another set of command-line options supported by @command{guix build} and also @command{guix package} are @dfn{package transformation options}. These are options that make it possible to define @dfn{package variants}---for instance, packages built from different source code. This is a convenient way to create customized packages on the fly without having to type in the definitions of package variants (@pxref{Defining Packages})."
  15341. msgstr ""
  15342. #. type: Plain text
  15343. #: guix-git/doc/guix.texi:10375
  15344. msgid "Package transformation options are preserved across upgrades: @command{guix upgrade} attempts to apply transformation options initially used when creating the profile to the upgraded packages."
  15345. msgstr ""
  15346. #. type: Plain text
  15347. #: guix-git/doc/guix.texi:10380
  15348. msgid "The available options are listed below. Most commands support them and also support a @option{--help-transform} option that lists all the available options and a synopsis (these options are not shown in the @option{--help} output for brevity)."
  15349. msgstr ""
  15350. #. type: item
  15351. #: guix-git/doc/guix.texi:10383
  15352. #, no-wrap
  15353. msgid "--with-source=@var{source}"
  15354. msgstr ""
  15355. #. type: itemx
  15356. #: guix-git/doc/guix.texi:10384
  15357. #, no-wrap
  15358. msgid "--with-source=@var{package}=@var{source}"
  15359. msgstr ""
  15360. #. type: itemx
  15361. #: guix-git/doc/guix.texi:10385
  15362. #, no-wrap
  15363. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  15364. msgstr ""
  15365. #. type: table
  15366. #: guix-git/doc/guix.texi:10390
  15367. msgid "Use @var{source} as the source of @var{package}, and @var{version} as its version number. @var{source} must be a file name or a URL, as for @command{guix download} (@pxref{Invoking guix download})."
  15368. msgstr ""
  15369. #. type: table
  15370. #: guix-git/doc/guix.texi:10396
  15371. msgid "When @var{package} is omitted, it is taken to be the package name specified on the command line that matches the base of @var{source}---e.g., if @var{source} is @code{/src/guile-2.0.10.tar.gz}, the corresponding package is @code{guile}."
  15372. msgstr ""
  15373. #. type: table
  15374. #: guix-git/doc/guix.texi:10399
  15375. msgid "Likewise, when @var{version} is omitted, the version string is inferred from @var{source}; in the previous example, it is @code{2.0.10}."
  15376. msgstr ""
  15377. #. type: table
  15378. #: guix-git/doc/guix.texi:10404
  15379. msgid "This option allows users to try out versions of packages other than the one provided by the distribution. The example below downloads @file{ed-1.7.tar.gz} from a GNU mirror and uses that as the source for the @code{ed} package:"
  15380. msgstr ""
  15381. #. type: example
  15382. #: guix-git/doc/guix.texi:10407
  15383. #, no-wrap
  15384. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  15385. msgstr ""
  15386. #. type: table
  15387. #: guix-git/doc/guix.texi:10411
  15388. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  15389. msgstr ""
  15390. #. type: example
  15391. #: guix-git/doc/guix.texi:10414
  15392. #, no-wrap
  15393. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  15394. msgstr ""
  15395. #. type: table
  15396. #: guix-git/doc/guix.texi:10417
  15397. msgid "@dots{} or to build from a checkout in a pristine environment:"
  15398. msgstr ""
  15399. #. type: example
  15400. #: guix-git/doc/guix.texi:10421
  15401. #, no-wrap
  15402. msgid ""
  15403. "$ git clone git://git.sv.gnu.org/guix.git\n"
  15404. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  15405. msgstr ""
  15406. #. type: item
  15407. #: guix-git/doc/guix.texi:10423
  15408. #, no-wrap
  15409. msgid "--with-input=@var{package}=@var{replacement}"
  15410. msgstr ""
  15411. #. type: table
  15412. #: guix-git/doc/guix.texi:10428
  15413. msgid "Replace dependency on @var{package} by a dependency on @var{replacement}. @var{package} must be a package name, and @var{replacement} must be a package specification such as @code{guile} or @code{guile@@1.8}."
  15414. msgstr ""
  15415. #. type: table
  15416. #: guix-git/doc/guix.texi:10432
  15417. msgid "For instance, the following command builds Guix, but replaces its dependency on the current stable version of Guile with a dependency on the legacy version of Guile, @code{guile@@2.0}:"
  15418. msgstr ""
  15419. #. type: example
  15420. #: guix-git/doc/guix.texi:10435
  15421. #, no-wrap
  15422. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  15423. msgstr ""
  15424. #. type: table
  15425. #: guix-git/doc/guix.texi:10440
  15426. msgid "This is a recursive, deep replacement. So in this example, both @code{guix} and its dependency @code{guile-json} (which also depends on @code{guile}) get rebuilt against @code{guile@@2.0}."
  15427. msgstr ""
  15428. #. type: table
  15429. #: guix-git/doc/guix.texi:10443
  15430. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  15431. msgstr ""
  15432. #. type: item
  15433. #: guix-git/doc/guix.texi:10444
  15434. #, no-wrap
  15435. msgid "--with-graft=@var{package}=@var{replacement}"
  15436. msgstr ""
  15437. #. type: table
  15438. #: guix-git/doc/guix.texi:10450
  15439. msgid "This is similar to @option{--with-input} but with an important difference: instead of rebuilding the whole dependency chain, @var{replacement} is built and then @dfn{grafted} onto the binaries that were initially referring to @var{package}. @xref{Security Updates}, for more information on grafts."
  15440. msgstr ""
  15441. #. type: table
  15442. #: guix-git/doc/guix.texi:10454
  15443. msgid "For example, the command below grafts version 3.5.4 of GnuTLS onto Wget and all its dependencies, replacing references to the version of GnuTLS they currently refer to:"
  15444. msgstr ""
  15445. #. type: example
  15446. #: guix-git/doc/guix.texi:10457
  15447. #, no-wrap
  15448. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  15449. msgstr ""
  15450. #. type: table
  15451. #: guix-git/doc/guix.texi:10466
  15452. msgid "This has the advantage of being much faster than rebuilding everything. But there is a caveat: it works if and only if @var{package} and @var{replacement} are strictly compatible---for example, if they provide a library, the application binary interface (ABI) of those libraries must be compatible. If @var{replacement} is somehow incompatible with @var{package}, then the resulting package may be unusable. Use with care!"
  15453. msgstr ""
  15454. #. type: cindex
  15455. #: guix-git/doc/guix.texi:10467 guix-git/doc/guix.texi:34481
  15456. #, no-wrap
  15457. msgid "debugging info, rebuilding"
  15458. msgstr ""
  15459. #. type: item
  15460. #: guix-git/doc/guix.texi:10468
  15461. #, no-wrap
  15462. msgid "--with-debug-info=@var{package}"
  15463. msgstr ""
  15464. #. type: table
  15465. #: guix-git/doc/guix.texi:10473
  15466. msgid "Build @var{package} in a way that preserves its debugging info and graft it onto packages that depend on it. This is useful if @var{package} does not already provide debugging info as a @code{debug} output (@pxref{Installing Debugging Files})."
  15467. msgstr ""
  15468. #. type: table
  15469. #: guix-git/doc/guix.texi:10479
  15470. msgid "For example, suppose you're experiencing a crash in Inkscape and would like to see what's up in GLib, a library deep down in Inkscape's dependency graph. GLib lacks a @code{debug} output, so debugging is tough. Fortunately, you rebuild GLib with debugging info and tack it on Inkscape:"
  15471. msgstr ""
  15472. #. type: example
  15473. #: guix-git/doc/guix.texi:10482 guix-git/doc/guix.texi:34512
  15474. #, no-wrap
  15475. msgid "guix install inkscape --with-debug-info=glib\n"
  15476. msgstr ""
  15477. #. type: table
  15478. #: guix-git/doc/guix.texi:10486
  15479. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  15480. msgstr ""
  15481. #. type: quotation
  15482. #: guix-git/doc/guix.texi:10492
  15483. msgid "Under the hood, this option works by passing the @samp{#:strip-binaries? #f} to the build system of the package of interest (@pxref{Build Systems}). Most build systems support that option but some do not. In that case, an error is raised."
  15484. msgstr ""
  15485. #. type: quotation
  15486. #: guix-git/doc/guix.texi:10496
  15487. msgid "Likewise, if a C/C++ package is built without @code{-g} (which is rarely the case), debugging info will remain unavailable even when @code{#:strip-binaries?} is false."
  15488. msgstr ""
  15489. #. type: cindex
  15490. #: guix-git/doc/guix.texi:10498
  15491. #, no-wrap
  15492. msgid "tool chain, changing the build tool chain of a package"
  15493. msgstr ""
  15494. #. type: item
  15495. #: guix-git/doc/guix.texi:10499
  15496. #, no-wrap
  15497. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  15498. msgstr ""
  15499. #. type: table
  15500. #: guix-git/doc/guix.texi:10503
  15501. msgid "This option changes the compilation of @var{package} and everything that depends on it so that they get built with @var{toolchain} instead of the default GNU tool chain for C/C++."
  15502. msgstr ""
  15503. #. type: example
  15504. #: guix-git/doc/guix.texi:10510
  15505. #, no-wrap
  15506. msgid ""
  15507. "guix build octave-cli \\\n"
  15508. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  15509. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  15510. msgstr ""
  15511. #. type: table
  15512. #: guix-git/doc/guix.texi:10517
  15513. msgid "The command above builds a variant of the @code{fftw} and @code{fftwf} packages using version 10 of @code{gcc-toolchain} instead of the default tool chain, and then builds a variant of the GNU@tie{}Octave command-line interface using them. GNU@tie{}Octave itself is also built with @code{gcc-toolchain@@10}."
  15514. msgstr ""
  15515. #. type: table
  15516. #: guix-git/doc/guix.texi:10521
  15517. msgid "This other example builds the Hardware Locality (@code{hwloc}) library and its dependents up to @code{intel-mpi-benchmarks} with the Clang C compiler:"
  15518. msgstr ""
  15519. #. type: example
  15520. #: guix-git/doc/guix.texi:10525
  15521. #, no-wrap
  15522. msgid ""
  15523. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  15524. " intel-mpi-benchmarks\n"
  15525. msgstr ""
  15526. #. type: quotation
  15527. #: guix-git/doc/guix.texi:10534
  15528. msgid "There can be application binary interface (ABI) incompatibilities among tool chains. This is particularly true of the C++ standard library and run-time support libraries such as that of OpenMP@. By rebuilding all dependents with the same tool chain, @option{--with-c-toolchain} minimizes the risks of incompatibility but cannot entirely eliminate them. Choose @var{package} wisely."
  15529. msgstr ""
  15530. #. type: item
  15531. #: guix-git/doc/guix.texi:10536
  15532. #, no-wrap
  15533. msgid "--with-git-url=@var{package}=@var{url}"
  15534. msgstr ""
  15535. #. type: cindex
  15536. #: guix-git/doc/guix.texi:10537
  15537. #, no-wrap
  15538. msgid "Git, using the latest commit"
  15539. msgstr ""
  15540. #. type: cindex
  15541. #: guix-git/doc/guix.texi:10538
  15542. #, no-wrap
  15543. msgid "latest commit, building"
  15544. msgstr ""
  15545. #. type: table
  15546. #: guix-git/doc/guix.texi:10542
  15547. msgid "Build @var{package} from the latest commit of the @code{master} branch of the Git repository at @var{url}. Git sub-modules of the repository are fetched, recursively."
  15548. msgstr ""
  15549. #. type: table
  15550. #: guix-git/doc/guix.texi:10545
  15551. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  15552. msgstr ""
  15553. #. type: example
  15554. #: guix-git/doc/guix.texi:10549
  15555. #, no-wrap
  15556. msgid ""
  15557. "guix build python-numpy \\\n"
  15558. " --with-git-url=python=https://github.com/python/cpython\n"
  15559. msgstr ""
  15560. #. type: table
  15561. #: guix-git/doc/guix.texi:10553
  15562. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  15563. msgstr ""
  15564. #. type: cindex
  15565. #: guix-git/doc/guix.texi:10554 guix-git/doc/guix.texi:27180
  15566. #, no-wrap
  15567. msgid "continuous integration"
  15568. msgstr ""
  15569. #. type: table
  15570. #: guix-git/doc/guix.texi:10560
  15571. msgid "Obviously, since it uses the latest commit of the given branch, the result of such a command varies over time. Nevertheless it is a convenient way to rebuild entire software stacks against the latest commit of one or more packages. This is particularly useful in the context of continuous integration (CI)."
  15572. msgstr ""
  15573. #. type: table
  15574. #: guix-git/doc/guix.texi:10564
  15575. msgid "Checkouts are kept in a cache under @file{~/.cache/guix/checkouts} to speed up consecutive accesses to the same repository. You may want to clean it up once in a while to save disk space."
  15576. msgstr ""
  15577. #. type: item
  15578. #: guix-git/doc/guix.texi:10565
  15579. #, no-wrap
  15580. msgid "--with-branch=@var{package}=@var{branch}"
  15581. msgstr ""
  15582. #. type: table
  15583. #: guix-git/doc/guix.texi:10571
  15584. msgid "Build @var{package} from the latest commit of @var{branch}. If the @code{source} field of @var{package} is an origin with the @code{git-fetch} method (@pxref{origin Reference}) or a @code{git-checkout} object, the repository URL is taken from that @code{source}. Otherwise you have to use @option{--with-git-url} to specify the URL of the Git repository."
  15585. msgstr ""
  15586. #. type: table
  15587. #: guix-git/doc/guix.texi:10576
  15588. msgid "For instance, the following command builds @code{guile-sqlite3} from the latest commit of its @code{master} branch, and then builds @code{guix} (which depends on it) and @code{cuirass} (which depends on @code{guix}) against this specific @code{guile-sqlite3} build:"
  15589. msgstr ""
  15590. #. type: example
  15591. #: guix-git/doc/guix.texi:10579
  15592. #, no-wrap
  15593. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  15594. msgstr ""
  15595. #. type: item
  15596. #: guix-git/doc/guix.texi:10581
  15597. #, no-wrap
  15598. msgid "--with-commit=@var{package}=@var{commit}"
  15599. msgstr ""
  15600. #. type: table
  15601. #: guix-git/doc/guix.texi:10585
  15602. msgid "This is similar to @option{--with-branch}, except that it builds from @var{commit} rather than the tip of a branch. @var{commit} must be a valid Git commit SHA1 identifier or a tag."
  15603. msgstr ""
  15604. #. type: item
  15605. #: guix-git/doc/guix.texi:10586
  15606. #, no-wrap
  15607. msgid "--with-patch=@var{package}=@var{file}"
  15608. msgstr ""
  15609. #. type: table
  15610. #: guix-git/doc/guix.texi:10593
  15611. msgid "Add @var{file} to the list of patches applied to @var{package}, where @var{package} is a spec such as @code{python@@3.8} or @code{glibc}. @var{file} must contain a patch; it is applied with the flags specified in the @code{origin} of @var{package} (@pxref{origin Reference}), which by default includes @code{-p1} (@pxref{patch Directories,,, diffutils, Comparing and Merging Files})."
  15612. msgstr ""
  15613. #. type: table
  15614. #: guix-git/doc/guix.texi:10596
  15615. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  15616. msgstr ""
  15617. #. type: example
  15618. #: guix-git/doc/guix.texi:10599
  15619. #, no-wrap
  15620. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  15621. msgstr ""
  15622. #. type: table
  15623. #: guix-git/doc/guix.texi:10603
  15624. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  15625. msgstr ""
  15626. #. type: cindex
  15627. #: guix-git/doc/guix.texi:10604
  15628. #, no-wrap
  15629. msgid "upstream, latest version"
  15630. msgstr ""
  15631. #. type: item
  15632. #: guix-git/doc/guix.texi:10605
  15633. #, no-wrap
  15634. msgid "--with-latest=@var{package}"
  15635. msgstr ""
  15636. #. type: table
  15637. #: guix-git/doc/guix.texi:10610
  15638. msgid "So you like living on the bleeding edge? This option is for you! It replaces occurrences of @var{package} in the dependency graph with its latest upstream version, as reported by @command{guix refresh} (@pxref{Invoking guix refresh})."
  15639. msgstr ""
  15640. #. type: table
  15641. #: guix-git/doc/guix.texi:10614
  15642. msgid "It does so by determining the latest upstream release of @var{package} (if possible), downloading it, and authenticating it @emph{if} it comes with an OpenPGP signature."
  15643. msgstr ""
  15644. #. type: table
  15645. #: guix-git/doc/guix.texi:10617
  15646. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  15647. msgstr ""
  15648. #. type: example
  15649. #: guix-git/doc/guix.texi:10620
  15650. #, no-wrap
  15651. msgid "guix build guix --with-latest=guile-json\n"
  15652. msgstr ""
  15653. #. type: table
  15654. #: guix-git/doc/guix.texi:10629
  15655. msgid "There are limitations. First, in cases where the tool cannot or does not know how to authenticate source code, you are at risk of running malicious code; a warning is emitted in this case. Second, this option simply changes the source used in the existing package definitions, which is not always sufficient: there might be additional dependencies that need to be added, patches to apply, and more generally the quality assurance work that Guix developers normally do will be missing."
  15656. msgstr ""
  15657. #. type: table
  15658. #: guix-git/doc/guix.texi:10634
  15659. msgid "You've been warned! In all the other cases, it's a snappy way to stay on top. We encourage you to submit patches updating the actual package definitions once you have successfully tested an upgrade (@pxref{Contributing})."
  15660. msgstr ""
  15661. #. type: cindex
  15662. #: guix-git/doc/guix.texi:10635
  15663. #, no-wrap
  15664. msgid "test suite, skipping"
  15665. msgstr ""
  15666. #. type: item
  15667. #: guix-git/doc/guix.texi:10636
  15668. #, no-wrap
  15669. msgid "--without-tests=@var{package}"
  15670. msgstr ""
  15671. #. type: table
  15672. #: guix-git/doc/guix.texi:10642
  15673. msgid "Build @var{package} without running its tests. This can be useful in situations where you want to skip the lengthy test suite of a intermediate package, or if a package's test suite fails in a non-deterministic fashion. It should be used with care because running the test suite is a good way to ensure a package is working as intended."
  15674. msgstr ""
  15675. #. type: table
  15676. #: guix-git/doc/guix.texi:10646
  15677. msgid "Turning off tests leads to a different store item. Consequently, when using this option, anything that depends on @var{package} must be rebuilt, as in this example:"
  15678. msgstr ""
  15679. #. type: example
  15680. #: guix-git/doc/guix.texi:10649
  15681. #, no-wrap
  15682. msgid "guix install --without-tests=python python-notebook\n"
  15683. msgstr ""
  15684. #. type: table
  15685. #: guix-git/doc/guix.texi:10655
  15686. msgid "The command above installs @code{python-notebook} on top of @code{python} built without running its test suite. To do so, it also rebuilds everything that depends on @code{python}, including @code{python-notebook} itself."
  15687. msgstr ""
  15688. #. type: table
  15689. #: guix-git/doc/guix.texi:10661
  15690. msgid "Internally, @option{--without-tests} relies on changing the @code{#:tests?} option of a package's @code{check} phase (@pxref{Build Systems}). Note that some packages use a customized @code{check} phase that does not respect a @code{#:tests? #f} setting. Therefore, @option{--without-tests} has no effect on these packages."
  15691. msgstr ""
  15692. #. type: Plain text
  15693. #: guix-git/doc/guix.texi:10668
  15694. msgid "Wondering how to achieve the same effect using Scheme code, for example in your manifest, or how to write your own package transformation? @xref{Defining Package Variants}, for an overview of the programming interfaces available."
  15695. msgstr ""
  15696. #. type: Plain text
  15697. #: guix-git/doc/guix.texi:10674
  15698. msgid "The command-line options presented below are specific to @command{guix build}."
  15699. msgstr ""
  15700. #. type: item
  15701. #: guix-git/doc/guix.texi:10677
  15702. #, no-wrap
  15703. msgid "--quiet"
  15704. msgstr ""
  15705. #. type: table
  15706. #: guix-git/doc/guix.texi:10682
  15707. msgid "Build quietly, without displaying the build log; this is equivalent to @option{--verbosity=0}. Upon completion, the build log is kept in @file{/var} (or similar) and can always be retrieved using the @option{--log-file} option."
  15708. msgstr ""
  15709. #. type: item
  15710. #: guix-git/doc/guix.texi:10683
  15711. #, no-wrap
  15712. msgid "--file=@var{file}"
  15713. msgstr ""
  15714. #. type: table
  15715. #: guix-git/doc/guix.texi:10687
  15716. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  15717. msgstr ""
  15718. #. type: table
  15719. #: guix-git/doc/guix.texi:10690
  15720. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  15721. msgstr ""
  15722. #. type: table
  15723. #: guix-git/doc/guix.texi:10699
  15724. msgid "The @var{file} may also contain a JSON representation of one or more package definitions. Running @code{guix build -f} on @file{hello.json} with the following contents would result in building the packages @code{myhello} and @code{greeter}:"
  15725. msgstr ""
  15726. #. type: item
  15727. #: guix-git/doc/guix.texi:10704
  15728. #, no-wrap
  15729. msgid "--manifest=@var{manifest}"
  15730. msgstr ""
  15731. #. type: itemx
  15732. #: guix-git/doc/guix.texi:10705
  15733. #, no-wrap
  15734. msgid "-m @var{manifest}"
  15735. msgstr ""
  15736. #. type: table
  15737. #: guix-git/doc/guix.texi:10708
  15738. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  15739. msgstr ""
  15740. #. type: table
  15741. #: guix-git/doc/guix.texi:10712
  15742. msgid "Build the package or derivation @var{expr} evaluates to."
  15743. msgstr ""
  15744. #. type: table
  15745. #: guix-git/doc/guix.texi:10716
  15746. msgid "For example, @var{expr} may be @code{(@@ (gnu packages guile) guile-1.8)}, which unambiguously designates this specific variant of version 1.8 of Guile."
  15747. msgstr ""
  15748. #. type: table
  15749. #: guix-git/doc/guix.texi:10720
  15750. msgid "Alternatively, @var{expr} may be a G-expression, in which case it is used as a build program passed to @code{gexp->derivation} (@pxref{G-Expressions})."
  15751. msgstr ""
  15752. #. type: table
  15753. #: guix-git/doc/guix.texi:10724
  15754. msgid "Lastly, @var{expr} may refer to a zero-argument monadic procedure (@pxref{The Store Monad}). The procedure must return a derivation as a monadic value, which is then passed through @code{run-with-store}."
  15755. msgstr ""
  15756. #. type: item
  15757. #: guix-git/doc/guix.texi:10725
  15758. #, no-wrap
  15759. msgid "--source"
  15760. msgstr ""
  15761. #. type: itemx
  15762. #: guix-git/doc/guix.texi:10726
  15763. #, no-wrap
  15764. msgid "-S"
  15765. msgstr ""
  15766. #. type: table
  15767. #: guix-git/doc/guix.texi:10729
  15768. msgid "Build the source derivations of the packages, rather than the packages themselves."
  15769. msgstr ""
  15770. #. type: table
  15771. #: guix-git/doc/guix.texi:10733
  15772. msgid "For instance, @code{guix build -S gcc} returns something like @file{/gnu/store/@dots{}-gcc-4.7.2.tar.bz2}, which is the GCC source tarball."
  15773. msgstr ""
  15774. #. type: table
  15775. #: guix-git/doc/guix.texi:10737
  15776. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  15777. msgstr ""
  15778. #. type: cindex
  15779. #: guix-git/doc/guix.texi:10738
  15780. #, no-wrap
  15781. msgid "source, verification"
  15782. msgstr ""
  15783. #. type: table
  15784. #: guix-git/doc/guix.texi:10744
  15785. msgid "As with other derivations, the result of building a source derivation can be verified using the @option{--check} option (@pxref{build-check}). This is useful to validate that a (potentially already built or substituted, thus cached) package source matches against its declared hash."
  15786. msgstr ""
  15787. #. type: table
  15788. #: guix-git/doc/guix.texi:10749
  15789. msgid "Note that @command{guix build -S} compiles the sources only of the specified packages. They do not include the sources of statically linked dependencies and by themselves are insufficient for reproducing the packages."
  15790. msgstr ""
  15791. #. type: item
  15792. #: guix-git/doc/guix.texi:10750
  15793. #, no-wrap
  15794. msgid "--sources"
  15795. msgstr ""
  15796. #. type: table
  15797. #: guix-git/doc/guix.texi:10757
  15798. msgid "Fetch and return the source of @var{package-or-derivation} and all their dependencies, recursively. This is a handy way to obtain a local copy of all the source code needed to build @var{packages}, allowing you to eventually build them even without network access. It is an extension of the @option{--source} option and can accept one of the following optional argument values:"
  15799. msgstr ""
  15800. #. type: item
  15801. #: guix-git/doc/guix.texi:10759 guix-git/doc/guix.texi:12303
  15802. #, no-wrap
  15803. msgid "package"
  15804. msgstr ""
  15805. #. type: table
  15806. #: guix-git/doc/guix.texi:10762
  15807. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  15808. msgstr ""
  15809. #. type: item
  15810. #: guix-git/doc/guix.texi:10763 guix-git/doc/guix.texi:18249
  15811. #, no-wrap
  15812. msgid "all"
  15813. msgstr ""
  15814. #. type: table
  15815. #: guix-git/doc/guix.texi:10766
  15816. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  15817. msgstr ""
  15818. #. type: example
  15819. #: guix-git/doc/guix.texi:10772
  15820. #, no-wrap
  15821. msgid ""
  15822. "$ guix build --sources tzdata\n"
  15823. "The following derivations will be built:\n"
  15824. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  15825. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  15826. msgstr ""
  15827. #. type: item
  15828. #: guix-git/doc/guix.texi:10774
  15829. #, no-wrap
  15830. msgid "transitive"
  15831. msgstr ""
  15832. #. type: table
  15833. #: guix-git/doc/guix.texi:10778
  15834. msgid "Build the source derivations of all packages, as well of all transitive inputs to the packages. This can be used e.g.@: to prefetch package source for later offline building."
  15835. msgstr ""
  15836. #. type: example
  15837. #: guix-git/doc/guix.texi:10789
  15838. #, no-wrap
  15839. msgid ""
  15840. "$ guix build --sources=transitive tzdata\n"
  15841. "The following derivations will be built:\n"
  15842. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  15843. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  15844. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  15845. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  15846. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  15847. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  15848. "@dots{}\n"
  15849. msgstr ""
  15850. #. type: table
  15851. #: guix-git/doc/guix.texi:10799
  15852. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host. The @command{guix build} command allows you to repeat this option several times, in which case it builds for all the specified systems; other commands ignore extraneous @option{-s} options."
  15853. msgstr ""
  15854. #. type: quotation
  15855. #: guix-git/doc/guix.texi:10804
  15856. msgid "The @option{--system} flag is for @emph{native} compilation and must not be confused with cross-compilation. See @option{--target} below for information on cross-compilation."
  15857. msgstr ""
  15858. #. type: table
  15859. #: guix-git/doc/guix.texi:10811
  15860. msgid "An example use of this is on Linux-based systems, which can emulate different personalities. For instance, passing @option{--system=i686-linux} on an @code{x86_64-linux} system or @option{--system=armhf-linux} on an @code{aarch64-linux} system allows you to build packages in a complete 32-bit environment."
  15861. msgstr ""
  15862. #. type: quotation
  15863. #: guix-git/doc/guix.texi:10816
  15864. msgid "Building for an @code{armhf-linux} system is unconditionally enabled on @code{aarch64-linux} machines, although certain aarch64 chipsets do not allow for this functionality, notably the ThunderX."
  15865. msgstr ""
  15866. #. type: table
  15867. #: guix-git/doc/guix.texi:10822
  15868. msgid "Similarly, when transparent emulation with QEMU and @code{binfmt_misc} is enabled (@pxref{Virtualization Services, @code{qemu-binfmt-service-type}}), you can build for any system for which a QEMU @code{binfmt_misc} handler is installed."
  15869. msgstr ""
  15870. #. type: table
  15871. #: guix-git/doc/guix.texi:10826
  15872. msgid "Builds for a system other than that of the machine you are using can also be offloaded to a remote machine of the right architecture. @xref{Daemon Offload Setup}, for more information on offloading."
  15873. msgstr ""
  15874. #. type: table
  15875. #: guix-git/doc/guix.texi:10832
  15876. msgid "Cross-build for @var{triplet}, which must be a valid GNU triplet, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying Target Triplets, GNU configuration triplets,, autoconf, Autoconf})."
  15877. msgstr ""
  15878. #. type: anchor{#1}
  15879. #: guix-git/doc/guix.texi:10834
  15880. msgid "build-check"
  15881. msgstr ""
  15882. #. type: item
  15883. #: guix-git/doc/guix.texi:10834
  15884. #, no-wrap
  15885. msgid "--check"
  15886. msgstr ""
  15887. #. type: cindex
  15888. #: guix-git/doc/guix.texi:10835
  15889. #, no-wrap
  15890. msgid "determinism, checking"
  15891. msgstr ""
  15892. #. type: cindex
  15893. #: guix-git/doc/guix.texi:10836
  15894. #, no-wrap
  15895. msgid "reproducibility, checking"
  15896. msgstr ""
  15897. #. type: table
  15898. #: guix-git/doc/guix.texi:10840
  15899. msgid "Rebuild @var{package-or-derivation}, which are already available in the store, and raise an error if the build results are not bit-for-bit identical."
  15900. msgstr ""
  15901. #. type: table
  15902. #: guix-git/doc/guix.texi:10845
  15903. msgid "This mechanism allows you to check whether previously installed substitutes are genuine (@pxref{Substitutes}), or whether the build result of a package is deterministic. @xref{Invoking guix challenge}, for more background information and tools."
  15904. msgstr ""
  15905. #. type: item
  15906. #: guix-git/doc/guix.texi:10850
  15907. #, no-wrap
  15908. msgid "--repair"
  15909. msgstr ""
  15910. #. type: cindex
  15911. #: guix-git/doc/guix.texi:10851
  15912. #, no-wrap
  15913. msgid "repairing store items"
  15914. msgstr ""
  15915. #. type: table
  15916. #: guix-git/doc/guix.texi:10855
  15917. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  15918. msgstr ""
  15919. #. type: table
  15920. #: guix-git/doc/guix.texi:10857
  15921. msgid "This operation is not atomic and thus restricted to @code{root}."
  15922. msgstr ""
  15923. #. type: item
  15924. #: guix-git/doc/guix.texi:10858
  15925. #, no-wrap
  15926. msgid "--derivations"
  15927. msgstr ""
  15928. #. type: table
  15929. #: guix-git/doc/guix.texi:10862
  15930. msgid "Return the derivation paths, not the output paths, of the given packages."
  15931. msgstr ""
  15932. #. type: cindex
  15933. #: guix-git/doc/guix.texi:10865
  15934. #, no-wrap
  15935. msgid "GC roots, adding"
  15936. msgstr ""
  15937. #. type: cindex
  15938. #: guix-git/doc/guix.texi:10866
  15939. #, no-wrap
  15940. msgid "garbage collector roots, adding"
  15941. msgstr ""
  15942. #. type: table
  15943. #: guix-git/doc/guix.texi:10869 guix-git/doc/guix.texi:33169
  15944. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  15945. msgstr ""
  15946. #. type: table
  15947. #: guix-git/doc/guix.texi:10875
  15948. msgid "Consequently, the results of this @command{guix build} invocation are protected from garbage collection until @var{file} is removed. When that option is omitted, build results are eligible for garbage collection as soon as the build completes. @xref{Invoking guix gc}, for more on GC roots."
  15949. msgstr ""
  15950. #. type: item
  15951. #: guix-git/doc/guix.texi:10876
  15952. #, no-wrap
  15953. msgid "--log-file"
  15954. msgstr ""
  15955. #. type: cindex
  15956. #: guix-git/doc/guix.texi:10877
  15957. #, no-wrap
  15958. msgid "build logs, access"
  15959. msgstr ""
  15960. #. type: table
  15961. #: guix-git/doc/guix.texi:10881
  15962. msgid "Return the build log file names or URLs for the given @var{package-or-derivation}, or raise an error if build logs are missing."
  15963. msgstr ""
  15964. #. type: table
  15965. #: guix-git/doc/guix.texi:10884
  15966. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  15967. msgstr ""
  15968. #. type: example
  15969. #: guix-git/doc/guix.texi:10890
  15970. #, no-wrap
  15971. msgid ""
  15972. "guix build --log-file $(guix build -d guile)\n"
  15973. "guix build --log-file $(guix build guile)\n"
  15974. "guix build --log-file guile\n"
  15975. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  15976. msgstr ""
  15977. #. type: table
  15978. #: guix-git/doc/guix.texi:10895
  15979. msgid "If a log is unavailable locally, and unless @option{--no-substitutes} is passed, the command looks for a corresponding log on one of the substitute servers (as specified with @option{--substitute-urls})."
  15980. msgstr ""
  15981. #. type: table
  15982. #: guix-git/doc/guix.texi:10898
  15983. msgid "So for instance, imagine you want to see the build log of GDB on MIPS, but you are actually on an @code{x86_64} machine:"
  15984. msgstr ""
  15985. #. type: example
  15986. #: guix-git/doc/guix.texi:10902
  15987. #, no-wrap
  15988. msgid ""
  15989. "$ guix build --log-file gdb -s aarch64-linux\n"
  15990. "https://@value{SUBSTITUTE-SERVER}/log/@dots{}-gdb-7.10\n"
  15991. msgstr ""
  15992. #. type: table
  15993. #: guix-git/doc/guix.texi:10905
  15994. msgid "You can freely access a huge library of build logs!"
  15995. msgstr ""
  15996. #. type: cindex
  15997. #: guix-git/doc/guix.texi:10910
  15998. #, no-wrap
  15999. msgid "build failures, debugging"
  16000. msgstr ""
  16001. #. type: Plain text
  16002. #: guix-git/doc/guix.texi:10916
  16003. msgid "When defining a new package (@pxref{Defining Packages}), you will probably find yourself spending some time debugging and tweaking the build until it succeeds. To do that, you need to operate the build commands yourself in an environment as close as possible to the one the build daemon uses."
  16004. msgstr ""
  16005. #. type: Plain text
  16006. #: guix-git/doc/guix.texi:10921
  16007. msgid "To that end, the first thing to do is to use the @option{--keep-failed} or @option{-K} option of @command{guix build}, which will keep the failed build tree in @file{/tmp} or whatever directory you specified as @env{TMPDIR} (@pxref{Common Build Options, @option{--keep-failed}})."
  16008. msgstr ""
  16009. #. type: Plain text
  16010. #: guix-git/doc/guix.texi:10927
  16011. msgid "From there on, you can @command{cd} to the failed build tree and source the @file{environment-variables} file, which contains all the environment variable definitions that were in place when the build failed. So let's say you're debugging a build failure in package @code{foo}; a typical session would look like this:"
  16012. msgstr ""
  16013. #. type: example
  16014. #: guix-git/doc/guix.texi:10934
  16015. #, no-wrap
  16016. msgid ""
  16017. "$ guix build foo -K\n"
  16018. "@dots{} @i{build fails}\n"
  16019. "$ cd /tmp/guix-build-foo.drv-0\n"
  16020. "$ source ./environment-variables\n"
  16021. "$ cd foo-1.2\n"
  16022. msgstr ""
  16023. #. type: Plain text
  16024. #: guix-git/doc/guix.texi:10938
  16025. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  16026. msgstr ""
  16027. #. type: Plain text
  16028. #: guix-git/doc/guix.texi:10944
  16029. msgid "Sometimes it happens that, for example, a package's tests pass when you run them manually but they fail when the daemon runs them. This can happen because the daemon runs builds in containers where, unlike in our environment above, network access is missing, @file{/bin/sh} does not exist, etc. (@pxref{Build Environment Setup})."
  16030. msgstr ""
  16031. #. type: Plain text
  16032. #: guix-git/doc/guix.texi:10947
  16033. msgid "In such cases, you may need to run inspect the build process from within a container similar to the one the build daemon creates:"
  16034. msgstr ""
  16035. #. type: example
  16036. #: guix-git/doc/guix.texi:10955
  16037. #, no-wrap
  16038. msgid ""
  16039. "$ guix build -K foo\n"
  16040. "@dots{}\n"
  16041. "$ cd /tmp/guix-build-foo.drv-0\n"
  16042. "$ guix environment --no-grafts -C foo --ad-hoc strace gdb\n"
  16043. "[env]# source ./environment-variables\n"
  16044. "[env]# cd foo-1.2\n"
  16045. msgstr ""
  16046. #. type: Plain text
  16047. #: guix-git/doc/guix.texi:10964
  16048. msgid "Here, @command{guix environment -C} creates a container and spawns a new shell in it (@pxref{Invoking guix environment}). The @command{--ad-hoc strace gdb} part adds the @command{strace} and @command{gdb} commands to the container, which you may find handy while debugging. The @option{--no-grafts} option makes sure we get the exact same environment, with ungrafted packages (@pxref{Security Updates}, for more info on grafts)."
  16049. msgstr ""
  16050. #. type: Plain text
  16051. #: guix-git/doc/guix.texi:10967
  16052. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  16053. msgstr ""
  16054. #. type: example
  16055. #: guix-git/doc/guix.texi:10970
  16056. #, no-wrap
  16057. msgid "[env]# rm /bin/sh\n"
  16058. msgstr ""
  16059. #. type: Plain text
  16060. #: guix-git/doc/guix.texi:10974
  16061. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix environment}.)"
  16062. msgstr ""
  16063. #. type: Plain text
  16064. #: guix-git/doc/guix.texi:10977
  16065. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  16066. msgstr ""
  16067. #. type: example
  16068. #: guix-git/doc/guix.texi:10980
  16069. #, no-wrap
  16070. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  16071. msgstr ""
  16072. #. type: Plain text
  16073. #: guix-git/doc/guix.texi:10985
  16074. msgid "In this way, not only you will have reproduced the environment variables the daemon uses, you will also be running the build process in a container similar to the one the daemon uses."
  16075. msgstr ""
  16076. #. type: section
  16077. #: guix-git/doc/guix.texi:10988
  16078. #, no-wrap
  16079. msgid "Invoking @command{guix edit}"
  16080. msgstr ""
  16081. #. type: command{#1}
  16082. #: guix-git/doc/guix.texi:10990
  16083. #, no-wrap
  16084. msgid "guix edit"
  16085. msgstr ""
  16086. #. type: cindex
  16087. #: guix-git/doc/guix.texi:10991
  16088. #, no-wrap
  16089. msgid "package definition, editing"
  16090. msgstr ""
  16091. #. type: Plain text
  16092. #: guix-git/doc/guix.texi:10996
  16093. msgid "So many packages, so many source files! The @command{guix edit} command facilitates the life of users and packagers by pointing their editor at the source file containing the definition of the specified packages. For instance:"
  16094. msgstr ""
  16095. #. type: example
  16096. #: guix-git/doc/guix.texi:10999
  16097. #, no-wrap
  16098. msgid "guix edit gcc@@4.9 vim\n"
  16099. msgstr ""
  16100. #. type: Plain text
  16101. #: guix-git/doc/guix.texi:11005
  16102. msgid "launches the program specified in the @env{VISUAL} or in the @env{EDITOR} environment variable to view the recipe of GCC@tie{}4.9.3 and that of Vim."
  16103. msgstr ""
  16104. #. type: Plain text
  16105. #: guix-git/doc/guix.texi:11011
  16106. msgid "If you are using a Guix Git checkout (@pxref{Building from Git}), or have created your own packages on @env{GUIX_PACKAGE_PATH} (@pxref{Package Modules}), you will be able to edit the package recipes. In other cases, you will be able to examine the read-only recipes for packages currently in the store."
  16107. msgstr ""
  16108. #. type: Plain text
  16109. #: guix-git/doc/guix.texi:11016
  16110. msgid "Instead of @env{GUIX_PACKAGE_PATH}, the command-line option @option{--load-path=@var{directory}} (or in short @option{-L @var{directory}}) allows you to add @var{directory} to the front of the package module search path and so make your own packages visible."
  16111. msgstr ""
  16112. #. type: section
  16113. #: guix-git/doc/guix.texi:11018
  16114. #, no-wrap
  16115. msgid "Invoking @command{guix download}"
  16116. msgstr ""
  16117. #. type: command{#1}
  16118. #: guix-git/doc/guix.texi:11020
  16119. #, no-wrap
  16120. msgid "guix download"
  16121. msgstr ""
  16122. #. type: cindex
  16123. #: guix-git/doc/guix.texi:11021
  16124. #, no-wrap
  16125. msgid "downloading package sources"
  16126. msgstr ""
  16127. #. type: Plain text
  16128. #: guix-git/doc/guix.texi:11028
  16129. msgid "When writing a package definition, developers typically need to download a source tarball, compute its SHA256 hash, and write that hash in the package definition (@pxref{Defining Packages}). The @command{guix download} tool helps with this task: it downloads a file from the given URI, adds it to the store, and prints both its file name in the store and its SHA256 hash."
  16130. msgstr ""
  16131. #. type: Plain text
  16132. #: guix-git/doc/guix.texi:11035
  16133. msgid "The fact that the downloaded file is added to the store saves bandwidth: when the developer eventually tries to build the newly defined package with @command{guix build}, the source tarball will not have to be downloaded again because it is already in the store. It is also a convenient way to temporarily stash files, which may be deleted eventually (@pxref{Invoking guix gc})."
  16134. msgstr ""
  16135. #. type: Plain text
  16136. #: guix-git/doc/guix.texi:11043
  16137. msgid "The @command{guix download} command supports the same URIs as used in package definitions. In particular, it supports @code{mirror://} URIs. @code{https} URIs (HTTP over TLS) are supported @emph{provided} the Guile bindings for GnuTLS are available in the user's environment; when they are not available, an error is raised. @xref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile}, for more information."
  16138. msgstr ""
  16139. #. type: Plain text
  16140. #: guix-git/doc/guix.texi:11048
  16141. msgid "@command{guix download} verifies HTTPS server certificates by loading the certificates of X.509 authorities from the directory pointed to by the @env{SSL_CERT_DIR} environment variable (@pxref{X.509 Certificates}), unless @option{--no-check-certificate} is used."
  16142. msgstr ""
  16143. #. type: Plain text
  16144. #: guix-git/doc/guix.texi:11050 guix-git/doc/guix.texi:12602
  16145. msgid "The following options are available:"
  16146. msgstr ""
  16147. #. type: item
  16148. #: guix-git/doc/guix.texi:11052 guix-git/doc/guix.texi:11096
  16149. #, no-wrap
  16150. msgid "--hash=@var{algorithm}"
  16151. msgstr ""
  16152. #. type: itemx
  16153. #: guix-git/doc/guix.texi:11053 guix-git/doc/guix.texi:11097
  16154. #, no-wrap
  16155. msgid "-H @var{algorithm}"
  16156. msgstr ""
  16157. #. type: table
  16158. #: guix-git/doc/guix.texi:11056
  16159. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  16160. msgstr ""
  16161. #. type: item
  16162. #: guix-git/doc/guix.texi:11057 guix-git/doc/guix.texi:11106
  16163. #, no-wrap
  16164. msgid "--format=@var{fmt}"
  16165. msgstr ""
  16166. #. type: itemx
  16167. #: guix-git/doc/guix.texi:11058 guix-git/doc/guix.texi:11107
  16168. #, no-wrap
  16169. msgid "-f @var{fmt}"
  16170. msgstr ""
  16171. #. type: table
  16172. #: guix-git/doc/guix.texi:11061
  16173. msgid "Write the hash in the format specified by @var{fmt}. For more information on the valid values for @var{fmt}, @pxref{Invoking guix hash}."
  16174. msgstr ""
  16175. #. type: item
  16176. #: guix-git/doc/guix.texi:11062
  16177. #, no-wrap
  16178. msgid "--no-check-certificate"
  16179. msgstr ""
  16180. #. type: table
  16181. #: guix-git/doc/guix.texi:11064
  16182. msgid "Do not validate the X.509 certificates of HTTPS servers."
  16183. msgstr ""
  16184. #. type: table
  16185. #: guix-git/doc/guix.texi:11068
  16186. msgid "When using this option, you have @emph{absolutely no guarantee} that you are communicating with the authentic server responsible for the given URL, which makes you vulnerable to ``man-in-the-middle'' attacks."
  16187. msgstr ""
  16188. #. type: item
  16189. #: guix-git/doc/guix.texi:11069
  16190. #, no-wrap
  16191. msgid "--output=@var{file}"
  16192. msgstr ""
  16193. #. type: itemx
  16194. #: guix-git/doc/guix.texi:11070
  16195. #, no-wrap
  16196. msgid "-o @var{file}"
  16197. msgstr ""
  16198. #. type: table
  16199. #: guix-git/doc/guix.texi:11073
  16200. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  16201. msgstr ""
  16202. #. type: section
  16203. #: guix-git/doc/guix.texi:11076
  16204. #, no-wrap
  16205. msgid "Invoking @command{guix hash}"
  16206. msgstr ""
  16207. #. type: command{#1}
  16208. #: guix-git/doc/guix.texi:11078
  16209. #, no-wrap
  16210. msgid "guix hash"
  16211. msgstr ""
  16212. #. type: Plain text
  16213. #: guix-git/doc/guix.texi:11083
  16214. msgid "The @command{guix hash} command computes the hash of a file. It is primarily a convenience tool for anyone contributing to the distribution: it computes the cryptographic hash of a file, which can be used in the definition of a package (@pxref{Defining Packages})."
  16215. msgstr ""
  16216. #. type: example
  16217. #: guix-git/doc/guix.texi:11088
  16218. #, no-wrap
  16219. msgid "guix hash @var{option} @var{file}\n"
  16220. msgstr ""
  16221. #. type: Plain text
  16222. #: guix-git/doc/guix.texi:11093
  16223. msgid "When @var{file} is @code{-} (a hyphen), @command{guix hash} computes the hash of data read from standard input. @command{guix hash} has the following options:"
  16224. msgstr ""
  16225. #. type: table
  16226. #: guix-git/doc/guix.texi:11100
  16227. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  16228. msgstr ""
  16229. #. type: table
  16230. #: guix-git/doc/guix.texi:11105
  16231. msgid "@var{algorithm} must the name of a cryptographic hash algorithm supported by Libgcrypt @i{via} Guile-Gcrypt---e.g., @code{sha512} or @code{sha3-256} (@pxref{Hash Functions,,, guile-gcrypt, Guile-Gcrypt Reference Manual})."
  16232. msgstr ""
  16233. #. type: table
  16234. #: guix-git/doc/guix.texi:11109
  16235. msgid "Write the hash in the format specified by @var{fmt}."
  16236. msgstr ""
  16237. #. type: table
  16238. #: guix-git/doc/guix.texi:11112
  16239. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  16240. msgstr ""
  16241. #. type: table
  16242. #: guix-git/doc/guix.texi:11116
  16243. msgid "If the @option{--format} option is not specified, @command{guix hash} will output the hash in @code{nix-base32}. This representation is used in the definitions of packages."
  16244. msgstr ""
  16245. #. type: table
  16246. #: guix-git/doc/guix.texi:11120
  16247. msgid "Compute the hash on @var{file} recursively."
  16248. msgstr ""
  16249. #. type: table
  16250. #: guix-git/doc/guix.texi:11129
  16251. msgid "In this case, the hash is computed on an archive containing @var{file}, including its children if it is a directory. Some of the metadata of @var{file} is part of the archive; for instance, when @var{file} is a regular file, the hash is different depending on whether @var{file} is executable or not. Metadata such as time stamps has no impact on the hash (@pxref{Invoking guix archive})."
  16252. msgstr ""
  16253. #. type: item
  16254. #: guix-git/doc/guix.texi:11130
  16255. #, no-wrap
  16256. msgid "--exclude-vcs"
  16257. msgstr ""
  16258. #. type: itemx
  16259. #: guix-git/doc/guix.texi:11131 guix-git/doc/guix.texi:12089
  16260. #, no-wrap
  16261. msgid "-x"
  16262. msgstr ""
  16263. #. type: table
  16264. #: guix-git/doc/guix.texi:11134
  16265. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  16266. msgstr ""
  16267. #. type: vindex
  16268. #: guix-git/doc/guix.texi:11135
  16269. #, no-wrap
  16270. msgid "git-fetch"
  16271. msgstr ""
  16272. #. type: table
  16273. #: guix-git/doc/guix.texi:11139
  16274. msgid "As an example, here is how you would compute the hash of a Git checkout, which is useful when using the @code{git-fetch} method (@pxref{origin Reference}):"
  16275. msgstr ""
  16276. #. type: example
  16277. #: guix-git/doc/guix.texi:11144
  16278. #, no-wrap
  16279. msgid ""
  16280. "$ git clone http://example.org/foo.git\n"
  16281. "$ cd foo\n"
  16282. "$ guix hash -rx .\n"
  16283. msgstr ""
  16284. #. type: cindex
  16285. #: guix-git/doc/guix.texi:11148 guix-git/doc/guix.texi:11153
  16286. #, no-wrap
  16287. msgid "Invoking @command{guix import}"
  16288. msgstr ""
  16289. #. type: cindex
  16290. #: guix-git/doc/guix.texi:11150
  16291. #, no-wrap
  16292. msgid "importing packages"
  16293. msgstr ""
  16294. #. type: cindex
  16295. #: guix-git/doc/guix.texi:11151
  16296. #, no-wrap
  16297. msgid "package import"
  16298. msgstr ""
  16299. #. type: cindex
  16300. #: guix-git/doc/guix.texi:11152
  16301. #, no-wrap
  16302. msgid "package conversion"
  16303. msgstr ""
  16304. #. type: Plain text
  16305. #: guix-git/doc/guix.texi:11160
  16306. msgid "The @command{guix import} command is useful for people who would like to add a package to the distribution with as little work as possible---a legitimate demand. The command knows of a few repositories from which it can ``import'' package metadata. The result is a package definition, or a template thereof, in the format we know (@pxref{Defining Packages})."
  16307. msgstr ""
  16308. #. type: example
  16309. #: guix-git/doc/guix.texi:11165
  16310. #, no-wrap
  16311. msgid "guix import @var{importer} @var{options}@dots{}\n"
  16312. msgstr ""
  16313. #. type: Plain text
  16314. #: guix-git/doc/guix.texi:11170
  16315. msgid "@var{importer} specifies the source from which to import package metadata, and @var{options} specifies a package identifier and other options specific to @var{importer}."
  16316. msgstr ""
  16317. #. type: Plain text
  16318. #: guix-git/doc/guix.texi:11174
  16319. msgid "Some of the importers rely on the ability to run the @command{gpgv} command. For these, GnuPG must be installed and in @code{$PATH}; run @code{guix install gnupg} if needed."
  16320. msgstr ""
  16321. #. type: Plain text
  16322. #: guix-git/doc/guix.texi:11176
  16323. msgid "Currently, the available ``importers'' are:"
  16324. msgstr ""
  16325. #. type: item
  16326. #: guix-git/doc/guix.texi:11178 guix-git/doc/guix.texi:11736
  16327. #, no-wrap
  16328. msgid "gnu"
  16329. msgstr ""
  16330. #. type: table
  16331. #: guix-git/doc/guix.texi:11182
  16332. msgid "Import metadata for the given GNU package. This provides a template for the latest version of that GNU package, including the hash of its source tarball, and its canonical synopsis and description."
  16333. msgstr ""
  16334. #. type: table
  16335. #: guix-git/doc/guix.texi:11185
  16336. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  16337. msgstr ""
  16338. #. type: table
  16339. #: guix-git/doc/guix.texi:11188
  16340. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  16341. msgstr ""
  16342. #. type: example
  16343. #: guix-git/doc/guix.texi:11191
  16344. #, no-wrap
  16345. msgid "guix import gnu hello\n"
  16346. msgstr ""
  16347. #. type: table
  16348. #: guix-git/doc/guix.texi:11194 guix-git/doc/guix.texi:11404
  16349. #: guix-git/doc/guix.texi:11454 guix-git/doc/guix.texi:11483
  16350. msgid "Specific command-line options are:"
  16351. msgstr ""
  16352. #. type: item
  16353. #: guix-git/doc/guix.texi:11196 guix-git/doc/guix.texi:11897
  16354. #, no-wrap
  16355. msgid "--key-download=@var{policy}"
  16356. msgstr ""
  16357. #. type: table
  16358. #: guix-git/doc/guix.texi:11200
  16359. msgid "As for @command{guix refresh}, specify the policy to handle missing OpenPGP keys when verifying the package signature. @xref{Invoking guix refresh, @option{--key-download}}."
  16360. msgstr ""
  16361. #. type: item
  16362. #: guix-git/doc/guix.texi:11202 guix-git/doc/guix.texi:11203
  16363. #: guix-git/doc/guix.texi:11758
  16364. #, no-wrap
  16365. msgid "pypi"
  16366. msgstr ""
  16367. #. type: table
  16368. #: guix-git/doc/guix.texi:11210
  16369. msgid "Import metadata from the @uref{https://pypi.python.org/, Python Package Index}. Information is taken from the JSON-formatted description available at @code{pypi.python.org} and usually includes all the relevant information, including package dependencies. For maximum efficiency, it is recommended to install the @command{unzip} utility, so that the importer can unzip Python wheels and gather data from them."
  16370. msgstr ""
  16371. #. type: table
  16372. #: guix-git/doc/guix.texi:11213
  16373. msgid "The command below imports metadata for the @code{itsdangerous} Python package:"
  16374. msgstr ""
  16375. #. type: example
  16376. #: guix-git/doc/guix.texi:11216
  16377. #, no-wrap
  16378. msgid "guix import pypi itsdangerous\n"
  16379. msgstr ""
  16380. #. type: table
  16381. #: guix-git/doc/guix.texi:11224 guix-git/doc/guix.texi:11249
  16382. #: guix-git/doc/guix.texi:11427 guix-git/doc/guix.texi:11468
  16383. #: guix-git/doc/guix.texi:11515 guix-git/doc/guix.texi:11540
  16384. #: guix-git/doc/guix.texi:11556 guix-git/doc/guix.texi:11587
  16385. msgid "Traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix."
  16386. msgstr ""
  16387. #. type: item
  16388. #: guix-git/doc/guix.texi:11226 guix-git/doc/guix.texi:11227
  16389. #: guix-git/doc/guix.texi:11760
  16390. #, no-wrap
  16391. msgid "gem"
  16392. msgstr ""
  16393. #. type: table
  16394. #: guix-git/doc/guix.texi:11236
  16395. msgid "Import metadata from @uref{https://rubygems.org/, RubyGems}. Information is taken from the JSON-formatted description available at @code{rubygems.org} and includes most relevant information, including runtime dependencies. There are some caveats, however. The metadata doesn't distinguish between synopses and descriptions, so the same string is used for both fields. Additionally, the details of non-Ruby dependencies required to build native extensions is unavailable and left as an exercise to the packager."
  16396. msgstr ""
  16397. #. type: table
  16398. #: guix-git/doc/guix.texi:11238
  16399. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  16400. msgstr ""
  16401. #. type: example
  16402. #: guix-git/doc/guix.texi:11241
  16403. #, no-wrap
  16404. msgid "guix import gem rails\n"
  16405. msgstr ""
  16406. #. type: item
  16407. #: guix-git/doc/guix.texi:11251 guix-git/doc/guix.texi:11756
  16408. #, no-wrap
  16409. msgid "cpan"
  16410. msgstr ""
  16411. #. type: cindex
  16412. #: guix-git/doc/guix.texi:11252
  16413. #, no-wrap
  16414. msgid "CPAN"
  16415. msgstr ""
  16416. #. type: table
  16417. #: guix-git/doc/guix.texi:11260
  16418. msgid "Import metadata from @uref{https://www.metacpan.org/, MetaCPAN}. Information is taken from the JSON-formatted metadata provided through @uref{https://fastapi.metacpan.org/, MetaCPAN's API} and includes most relevant information, such as module dependencies. License information should be checked closely. If Perl is available in the store, then the @code{corelist} utility will be used to filter core modules out of the list of dependencies."
  16419. msgstr ""
  16420. #. type: table
  16421. #: guix-git/doc/guix.texi:11263
  16422. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  16423. msgstr ""
  16424. #. type: example
  16425. #: guix-git/doc/guix.texi:11266
  16426. #, no-wrap
  16427. msgid "guix import cpan Acme::Boolean\n"
  16428. msgstr ""
  16429. #. type: item
  16430. #: guix-git/doc/guix.texi:11268 guix-git/doc/guix.texi:11752
  16431. #, no-wrap
  16432. msgid "cran"
  16433. msgstr ""
  16434. #. type: cindex
  16435. #: guix-git/doc/guix.texi:11269
  16436. #, no-wrap
  16437. msgid "CRAN"
  16438. msgstr ""
  16439. #. type: cindex
  16440. #: guix-git/doc/guix.texi:11270
  16441. #, no-wrap
  16442. msgid "Bioconductor"
  16443. msgstr ""
  16444. #. type: table
  16445. #: guix-git/doc/guix.texi:11274
  16446. msgid "Import metadata from @uref{https://cran.r-project.org/, CRAN}, the central repository for the @uref{https://r-project.org, GNU@tie{}R statistical and graphical environment}."
  16447. msgstr ""
  16448. #. type: table
  16449. #: guix-git/doc/guix.texi:11276
  16450. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  16451. msgstr ""
  16452. #. type: table
  16453. #: guix-git/doc/guix.texi:11278
  16454. msgid "The command command below imports metadata for the Cairo R package:"
  16455. msgstr ""
  16456. #. type: example
  16457. #: guix-git/doc/guix.texi:11281
  16458. #, no-wrap
  16459. msgid "guix import cran Cairo\n"
  16460. msgstr ""
  16461. #. type: table
  16462. #: guix-git/doc/guix.texi:11286
  16463. msgid "When @option{--recursive} is added, the importer will traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix."
  16464. msgstr ""
  16465. #. type: table
  16466. #: guix-git/doc/guix.texi:11293
  16467. msgid "When @option{--style=specification} is added, the importer will generate package definitions whose inputs are package specifications instead of references to package variables. This is useful when generated package definitions are to be appended to existing user modules, as the list of used package modules need not be changed. The default is @option{--style=variable}."
  16468. msgstr ""
  16469. #. type: table
  16470. #: guix-git/doc/guix.texi:11298
  16471. msgid "When @option{--archive=bioconductor} is added, metadata is imported from @uref{https://www.bioconductor.org/, Bioconductor}, a repository of R packages for the analysis and comprehension of high-throughput genomic data in bioinformatics."
  16472. msgstr ""
  16473. #. type: table
  16474. #: guix-git/doc/guix.texi:11301
  16475. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  16476. msgstr ""
  16477. #. type: table
  16478. #: guix-git/doc/guix.texi:11303
  16479. msgid "The command below imports metadata for the GenomicRanges R package:"
  16480. msgstr ""
  16481. #. type: example
  16482. #: guix-git/doc/guix.texi:11306
  16483. #, no-wrap
  16484. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  16485. msgstr ""
  16486. #. type: table
  16487. #: guix-git/doc/guix.texi:11311
  16488. msgid "Finally, you can also import R packages that have not yet been published on CRAN or Bioconductor as long as they are in a git repository. Use @option{--archive=git} followed by the URL of the git repository:"
  16489. msgstr ""
  16490. #. type: example
  16491. #: guix-git/doc/guix.texi:11314
  16492. #, no-wrap
  16493. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  16494. msgstr ""
  16495. #. type: item
  16496. #: guix-git/doc/guix.texi:11316
  16497. #, no-wrap
  16498. msgid "texlive"
  16499. msgstr ""
  16500. #. type: cindex
  16501. #: guix-git/doc/guix.texi:11317
  16502. #, no-wrap
  16503. msgid "TeX Live"
  16504. msgstr ""
  16505. #. type: cindex
  16506. #: guix-git/doc/guix.texi:11318
  16507. #, no-wrap
  16508. msgid "CTAN"
  16509. msgstr ""
  16510. #. type: table
  16511. #: guix-git/doc/guix.texi:11322
  16512. msgid "Import metadata from @uref{https://www.ctan.org/, CTAN}, the comprehensive TeX archive network for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}."
  16513. msgstr ""
  16514. #. type: table
  16515. #: guix-git/doc/guix.texi:11327
  16516. msgid "Information about the package is obtained through the XML API provided by CTAN, while the source code is downloaded from the SVN repository of the Tex Live project. This is done because the CTAN does not keep versioned archives."
  16517. msgstr ""
  16518. #. type: table
  16519. #: guix-git/doc/guix.texi:11330
  16520. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  16521. msgstr ""
  16522. #. type: example
  16523. #: guix-git/doc/guix.texi:11333
  16524. #, no-wrap
  16525. msgid "guix import texlive fontspec\n"
  16526. msgstr ""
  16527. #. type: table
  16528. #: guix-git/doc/guix.texi:11339
  16529. msgid "When @option{--archive=@var{directory}} is added, the source code is downloaded not from the @file{latex} sub-directory of the @file{texmf-dist/source} tree in the TeX Live SVN repository, but from the specified sibling @var{directory} under the same root."
  16530. msgstr ""
  16531. #. type: table
  16532. #: guix-git/doc/guix.texi:11343
  16533. msgid "The command below imports metadata for the @code{ifxetex} package from CTAN while fetching the sources from the directory @file{texmf/source/generic}:"
  16534. msgstr ""
  16535. #. type: example
  16536. #: guix-git/doc/guix.texi:11346
  16537. #, no-wrap
  16538. msgid "guix import texlive --archive=generic ifxetex\n"
  16539. msgstr ""
  16540. #. type: cindex
  16541. #: guix-git/doc/guix.texi:11349
  16542. #, no-wrap
  16543. msgid "JSON, import"
  16544. msgstr ""
  16545. #. type: table
  16546. #: guix-git/doc/guix.texi:11352
  16547. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  16548. msgstr ""
  16549. #. type: example
  16550. #: guix-git/doc/guix.texi:11365
  16551. #, no-wrap
  16552. msgid ""
  16553. "@{\n"
  16554. " \"name\": \"hello\",\n"
  16555. " \"version\": \"2.10\",\n"
  16556. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  16557. " \"build-system\": \"gnu\",\n"
  16558. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  16559. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  16560. " \"description\": \"GNU Hello prints a greeting.\",\n"
  16561. " \"license\": \"GPL-3.0+\",\n"
  16562. " \"native-inputs\": [\"gettext\"]\n"
  16563. "@}\n"
  16564. msgstr ""
  16565. #. type: table
  16566. #: guix-git/doc/guix.texi:11371
  16567. msgid "The field names are the same as for the @code{<package>} record (@xref{Defining Packages}). References to other packages are provided as JSON lists of quoted package specification strings such as @code{guile} or @code{guile@@2.0}."
  16568. msgstr ""
  16569. #. type: table
  16570. #: guix-git/doc/guix.texi:11374
  16571. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  16572. msgstr ""
  16573. #. type: example
  16574. #: guix-git/doc/guix.texi:11387
  16575. #, no-wrap
  16576. msgid ""
  16577. "@{\n"
  16578. " @dots{}\n"
  16579. " \"source\": @{\n"
  16580. " \"method\": \"url-fetch\",\n"
  16581. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  16582. " \"sha256\": @{\n"
  16583. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  16584. " @}\n"
  16585. " @}\n"
  16586. " @dots{}\n"
  16587. "@}\n"
  16588. msgstr ""
  16589. #. type: table
  16590. #: guix-git/doc/guix.texi:11391
  16591. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  16592. msgstr ""
  16593. #. type: example
  16594. #: guix-git/doc/guix.texi:11394
  16595. #, no-wrap
  16596. msgid "guix import json hello.json\n"
  16597. msgstr ""
  16598. #. type: item
  16599. #: guix-git/doc/guix.texi:11396 guix-git/doc/guix.texi:11397
  16600. #: guix-git/doc/guix.texi:11764
  16601. #, no-wrap
  16602. msgid "hackage"
  16603. msgstr ""
  16604. #. type: table
  16605. #: guix-git/doc/guix.texi:11402
  16606. msgid "Import metadata from the Haskell community's central package archive @uref{https://hackage.haskell.org/, Hackage}. Information is taken from Cabal files and includes all the relevant information, including package dependencies."
  16607. msgstr ""
  16608. #. type: item
  16609. #: guix-git/doc/guix.texi:11406
  16610. #, no-wrap
  16611. msgid "--stdin"
  16612. msgstr ""
  16613. #. type: itemx
  16614. #: guix-git/doc/guix.texi:11407
  16615. #, no-wrap
  16616. msgid "-s"
  16617. msgstr ""
  16618. #. type: table
  16619. #: guix-git/doc/guix.texi:11409
  16620. msgid "Read a Cabal file from standard input."
  16621. msgstr ""
  16622. #. type: item
  16623. #: guix-git/doc/guix.texi:11409 guix-git/doc/guix.texi:11456
  16624. #, no-wrap
  16625. msgid "--no-test-dependencies"
  16626. msgstr ""
  16627. #. type: table
  16628. #: guix-git/doc/guix.texi:11412 guix-git/doc/guix.texi:11459
  16629. msgid "Do not include dependencies required only by the test suites."
  16630. msgstr ""
  16631. #. type: item
  16632. #: guix-git/doc/guix.texi:11412
  16633. #, no-wrap
  16634. msgid "--cabal-environment=@var{alist}"
  16635. msgstr ""
  16636. #. type: itemx
  16637. #: guix-git/doc/guix.texi:11413
  16638. #, no-wrap
  16639. msgid "-e @var{alist}"
  16640. msgstr ""
  16641. #. type: table
  16642. #: guix-git/doc/guix.texi:11422
  16643. msgid "@var{alist} is a Scheme alist defining the environment in which the Cabal conditionals are evaluated. The accepted keys are: @code{os}, @code{arch}, @code{impl} and a string representing the name of a flag. The value associated with a flag has to be either the symbol @code{true} or @code{false}. The value associated with other keys has to conform to the Cabal file format definition. The default value associated with the keys @code{os}, @code{arch} and @code{impl} is @samp{linux}, @samp{x86_64} and @samp{ghc}, respectively."
  16644. msgstr ""
  16645. #. type: table
  16646. #: guix-git/doc/guix.texi:11432
  16647. msgid "The command below imports metadata for the latest version of the HTTP Haskell package without including test dependencies and specifying the value of the flag @samp{network-uri} as @code{false}:"
  16648. msgstr ""
  16649. #. type: example
  16650. #: guix-git/doc/guix.texi:11435
  16651. #, no-wrap
  16652. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  16653. msgstr ""
  16654. #. type: table
  16655. #: guix-git/doc/guix.texi:11439
  16656. msgid "A specific package version may optionally be specified by following the package name by an at-sign and a version number as in the following example:"
  16657. msgstr ""
  16658. #. type: example
  16659. #: guix-git/doc/guix.texi:11442
  16660. #, no-wrap
  16661. msgid "guix import hackage mtl@@2.1.3.1\n"
  16662. msgstr ""
  16663. #. type: item
  16664. #: guix-git/doc/guix.texi:11444 guix-git/doc/guix.texi:11445
  16665. #: guix-git/doc/guix.texi:11766
  16666. #, no-wrap
  16667. msgid "stackage"
  16668. msgstr ""
  16669. #. type: table
  16670. #: guix-git/doc/guix.texi:11452
  16671. msgid "The @code{stackage} importer is a wrapper around the @code{hackage} one. It takes a package name, looks up the package version included in a long-term support (LTS) @uref{https://www.stackage.org, Stackage} release and uses the @code{hackage} importer to retrieve its metadata. Note that it is up to you to select an LTS release compatible with the GHC compiler used by Guix."
  16672. msgstr ""
  16673. #. type: item
  16674. #: guix-git/doc/guix.texi:11459
  16675. #, no-wrap
  16676. msgid "--lts-version=@var{version}"
  16677. msgstr ""
  16678. #. type: itemx
  16679. #: guix-git/doc/guix.texi:11460
  16680. #, no-wrap
  16681. msgid "-l @var{version}"
  16682. msgstr ""
  16683. #. type: table
  16684. #: guix-git/doc/guix.texi:11463
  16685. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  16686. msgstr ""
  16687. #. type: table
  16688. #: guix-git/doc/guix.texi:11472
  16689. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  16690. msgstr ""
  16691. #. type: example
  16692. #: guix-git/doc/guix.texi:11475
  16693. #, no-wrap
  16694. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  16695. msgstr ""
  16696. #. type: item
  16697. #: guix-git/doc/guix.texi:11477 guix-git/doc/guix.texi:11478
  16698. #: guix-git/doc/guix.texi:11750
  16699. #, no-wrap
  16700. msgid "elpa"
  16701. msgstr ""
  16702. #. type: table
  16703. #: guix-git/doc/guix.texi:11481
  16704. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  16705. msgstr ""
  16706. #. type: item
  16707. #: guix-git/doc/guix.texi:11485
  16708. #, no-wrap
  16709. msgid "--archive=@var{repo}"
  16710. msgstr ""
  16711. #. type: itemx
  16712. #: guix-git/doc/guix.texi:11486
  16713. #, no-wrap
  16714. msgid "-a @var{repo}"
  16715. msgstr ""
  16716. #. type: table
  16717. #: guix-git/doc/guix.texi:11490
  16718. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  16719. msgstr ""
  16720. #. type: itemize
  16721. #: guix-git/doc/guix.texi:11494
  16722. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  16723. msgstr ""
  16724. #. type: itemize
  16725. #: guix-git/doc/guix.texi:11500
  16726. msgid "Packages from @code{elpa.gnu.org} are signed with one of the keys contained in the GnuPG keyring at @file{share/emacs/25.1/etc/package-keyring.gpg} (or similar) in the @code{emacs} package (@pxref{Package Installation, ELPA package signatures,, emacs, The GNU Emacs Manual})."
  16727. msgstr ""
  16728. #. type: itemize
  16729. #: guix-git/doc/guix.texi:11504
  16730. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  16731. msgstr ""
  16732. #. type: itemize
  16733. #: guix-git/doc/guix.texi:11508
  16734. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  16735. msgstr ""
  16736. #. type: item
  16737. #: guix-git/doc/guix.texi:11517 guix-git/doc/guix.texi:11518
  16738. #: guix-git/doc/guix.texi:11768
  16739. #, no-wrap
  16740. msgid "crate"
  16741. msgstr ""
  16742. #. type: table
  16743. #: guix-git/doc/guix.texi:11521
  16744. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  16745. msgstr ""
  16746. #. type: example
  16747. #: guix-git/doc/guix.texi:11524
  16748. #, no-wrap
  16749. msgid "guix import crate blake2-rfc\n"
  16750. msgstr ""
  16751. #. type: table
  16752. #: guix-git/doc/guix.texi:11527
  16753. msgid "The crate importer also allows you to specify a version string:"
  16754. msgstr ""
  16755. #. type: example
  16756. #: guix-git/doc/guix.texi:11530
  16757. #, no-wrap
  16758. msgid "guix import crate constant-time-eq@@0.1.0\n"
  16759. msgstr ""
  16760. #. type: table
  16761. #: guix-git/doc/guix.texi:11533 guix-git/doc/guix.texi:11549
  16762. #: guix-git/doc/guix.texi:11580
  16763. msgid "Additional options include:"
  16764. msgstr ""
  16765. #. type: item
  16766. #: guix-git/doc/guix.texi:11542
  16767. #, no-wrap
  16768. msgid "opam"
  16769. msgstr ""
  16770. #. type: cindex
  16771. #: guix-git/doc/guix.texi:11543
  16772. #, no-wrap
  16773. msgid "OPAM"
  16774. msgstr ""
  16775. #. type: cindex
  16776. #: guix-git/doc/guix.texi:11544
  16777. #, no-wrap
  16778. msgid "OCaml"
  16779. msgstr ""
  16780. #. type: table
  16781. #: guix-git/doc/guix.texi:11547
  16782. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  16783. msgstr ""
  16784. #. type: item
  16785. #: guix-git/doc/guix.texi:11556
  16786. #, no-wrap
  16787. msgid "--repo"
  16788. msgstr ""
  16789. #. type: table
  16790. #: guix-git/doc/guix.texi:11558
  16791. msgid "Select the given repository (a repository name). Possible values include:"
  16792. msgstr ""
  16793. #. type: item
  16794. #: guix-git/doc/guix.texi:11559
  16795. #, no-wrap
  16796. msgid "@code{opam}, the default opam repository,"
  16797. msgstr ""
  16798. #. type: item
  16799. #: guix-git/doc/guix.texi:11560
  16800. #, no-wrap
  16801. msgid "@code{coq} or @code{coq-released}, the stable repository for coq packages,"
  16802. msgstr ""
  16803. #. type: item
  16804. #: guix-git/doc/guix.texi:11561
  16805. #, no-wrap
  16806. msgid "@code{coq-core-dev}, the repository that contains development versions of coq,"
  16807. msgstr ""
  16808. #. type: item
  16809. #: guix-git/doc/guix.texi:11562
  16810. #, no-wrap
  16811. msgid "@code{coq-extra-dev}, the repository that contains development versions"
  16812. msgstr ""
  16813. #. type: itemize
  16814. #: guix-git/doc/guix.texi:11564
  16815. msgid "of coq packages."
  16816. msgstr ""
  16817. #. type: cindex
  16818. #: guix-git/doc/guix.texi:11567 guix-git/doc/guix.texi:11568
  16819. #, no-wrap
  16820. msgid "go"
  16821. msgstr ""
  16822. #. type: table
  16823. #: guix-git/doc/guix.texi:11571
  16824. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  16825. msgstr ""
  16826. #. type: example
  16827. #: guix-git/doc/guix.texi:11574
  16828. #, no-wrap
  16829. msgid "guix import go gopkg.in/yaml.v2\n"
  16830. msgstr ""
  16831. #. type: table
  16832. #: guix-git/doc/guix.texi:11578
  16833. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  16834. msgstr ""
  16835. #. type: item
  16836. #: guix-git/doc/guix.texi:11587
  16837. #, no-wrap
  16838. msgid "--pin-versions"
  16839. msgstr ""
  16840. #. type: table
  16841. #: guix-git/doc/guix.texi:11595
  16842. msgid "When using this option, the importer preserves the exact versions of the Go modules dependencies instead of using their latest available versions. This can be useful when attempting to import packages that recursively depend on former versions of themselves to build. When using this mode, the symbol of the package is made by appending the version to its name, so that multiple versions of the same package can coexist."
  16843. msgstr ""
  16844. #. type: Plain text
  16845. #: guix-git/doc/guix.texi:11601
  16846. msgid "The structure of the @command{guix import} code is modular. It would be useful to have more importers for other package formats, and your help is welcome here (@pxref{Contributing})."
  16847. msgstr ""
  16848. #. type: section
  16849. #: guix-git/doc/guix.texi:11603
  16850. #, no-wrap
  16851. msgid "Invoking @command{guix refresh}"
  16852. msgstr ""
  16853. #. type: command{#1}
  16854. #: guix-git/doc/guix.texi:11605
  16855. #, no-wrap
  16856. msgid "guix refresh"
  16857. msgstr ""
  16858. #. type: Plain text
  16859. #: guix-git/doc/guix.texi:11613
  16860. msgid "The primary audience of the @command{guix refresh} command is packagers. As a user, you may be interested in the @option{--with-latest} option, which can bring you package update superpowers built upon @command{guix refresh} (@pxref{Package Transformation Options, @option{--with-latest}}). By default, @command{guix refresh} reports any packages provided by the distribution that are outdated compared to the latest upstream version, like this:"
  16861. msgstr ""
  16862. #. type: example
  16863. #: guix-git/doc/guix.texi:11618
  16864. #, no-wrap
  16865. msgid ""
  16866. "$ guix refresh\n"
  16867. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  16868. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  16869. msgstr ""
  16870. #. type: Plain text
  16871. #: guix-git/doc/guix.texi:11622
  16872. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  16873. msgstr ""
  16874. #. type: example
  16875. #: guix-git/doc/guix.texi:11627
  16876. #, no-wrap
  16877. msgid ""
  16878. "$ guix refresh coreutils guile guile-ssh\n"
  16879. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  16880. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  16881. msgstr ""
  16882. #. type: Plain text
  16883. #: guix-git/doc/guix.texi:11636
  16884. msgid "@command{guix refresh} browses the upstream repository of each package and determines the highest version number of the releases therein. The command knows how to update specific types of packages: GNU packages, ELPA packages, etc.---see the documentation for @option{--type} below. There are many packages, though, for which it lacks a method to determine whether a new upstream release is available. However, the mechanism is extensible, so feel free to get in touch with us to add a new method!"
  16885. msgstr ""
  16886. #. type: table
  16887. #: guix-git/doc/guix.texi:11641
  16888. msgid "Consider the packages specified, and all the packages upon which they depend."
  16889. msgstr ""
  16890. #. type: example
  16891. #: guix-git/doc/guix.texi:11649
  16892. #, no-wrap
  16893. msgid ""
  16894. "$ guix refresh --recursive coreutils\n"
  16895. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  16896. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  16897. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  16898. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  16899. "@dots{}\n"
  16900. msgstr ""
  16901. #. type: Plain text
  16902. #: guix-git/doc/guix.texi:11657
  16903. msgid "Sometimes the upstream name differs from the package name used in Guix, and @command{guix refresh} needs a little help. Most updaters honor the @code{upstream-name} property in package definitions, which can be used to that effect:"
  16904. msgstr ""
  16905. #. type: lisp
  16906. #: guix-git/doc/guix.texi:11664
  16907. #, no-wrap
  16908. msgid ""
  16909. "(define-public network-manager\n"
  16910. " (package\n"
  16911. " (name \"network-manager\")\n"
  16912. " ;; @dots{}\n"
  16913. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  16914. msgstr ""
  16915. #. type: Plain text
  16916. #: guix-git/doc/guix.texi:11673
  16917. msgid "When passed @option{--update}, it modifies distribution source files to update the version numbers and source tarball hashes of those package recipes (@pxref{Defining Packages}). This is achieved by downloading each package's latest source tarball and its associated OpenPGP signature, authenticating the downloaded tarball against its signature using @command{gpgv}, and finally computing its hash---note that GnuPG must be installed and in @code{$PATH}; run @code{guix install gnupg} if needed."
  16918. msgstr ""
  16919. #. type: Plain text
  16920. #: guix-git/doc/guix.texi:11679
  16921. msgid "When the public key used to sign the tarball is missing from the user's keyring, an attempt is made to automatically retrieve it from a public key server; when this is successful, the key is added to the user's keyring; otherwise, @command{guix refresh} reports an error."
  16922. msgstr ""
  16923. #. type: Plain text
  16924. #: guix-git/doc/guix.texi:11681
  16925. msgid "The following options are supported:"
  16926. msgstr ""
  16927. #. type: table
  16928. #: guix-git/doc/guix.texi:11689 guix-git/doc/guix.texi:12484
  16929. msgid "This is useful to precisely refer to a package, as in this example:"
  16930. msgstr ""
  16931. #. type: example
  16932. #: guix-git/doc/guix.texi:11692
  16933. #, no-wrap
  16934. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  16935. msgstr ""
  16936. #. type: table
  16937. #: guix-git/doc/guix.texi:11696
  16938. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  16939. msgstr ""
  16940. #. type: item
  16941. #: guix-git/doc/guix.texi:11697
  16942. #, no-wrap
  16943. msgid "--update"
  16944. msgstr ""
  16945. #. type: itemx
  16946. #: guix-git/doc/guix.texi:11698
  16947. #, no-wrap
  16948. msgid "-u"
  16949. msgstr ""
  16950. #. type: table
  16951. #: guix-git/doc/guix.texi:11702
  16952. msgid "Update distribution source files (package recipes) in place. This is usually run from a checkout of the Guix source tree (@pxref{Running Guix Before It Is Installed}):"
  16953. msgstr ""
  16954. #. type: example
  16955. #: guix-git/doc/guix.texi:11705
  16956. #, no-wrap
  16957. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  16958. msgstr ""
  16959. #. type: table
  16960. #: guix-git/doc/guix.texi:11708
  16961. msgid "@xref{Defining Packages}, for more information on package definitions."
  16962. msgstr ""
  16963. #. type: item
  16964. #: guix-git/doc/guix.texi:11709
  16965. #, no-wrap
  16966. msgid "--select=[@var{subset}]"
  16967. msgstr ""
  16968. #. type: itemx
  16969. #: guix-git/doc/guix.texi:11710
  16970. #, no-wrap
  16971. msgid "-s @var{subset}"
  16972. msgstr ""
  16973. #. type: table
  16974. #: guix-git/doc/guix.texi:11713
  16975. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  16976. msgstr ""
  16977. #. type: table
  16978. #: guix-git/doc/guix.texi:11720
  16979. msgid "The @code{core} subset refers to all the packages at the core of the distribution---i.e., packages that are used to build ``everything else''. This includes GCC, libc, Binutils, Bash, etc. Usually, changing one of these packages in the distribution entails a rebuild of all the others. Thus, such updates are an inconvenience to users in terms of build time or bandwidth used to achieve the upgrade."
  16980. msgstr ""
  16981. #. type: table
  16982. #: guix-git/doc/guix.texi:11724
  16983. msgid "The @code{non-core} subset refers to the remaining packages. It is typically useful in cases where an update of the core packages would be inconvenient."
  16984. msgstr ""
  16985. #. type: table
  16986. #: guix-git/doc/guix.texi:11729
  16987. msgid "Select all the packages from the manifest in @var{file}. This is useful to check if any packages of the user manifest can be updated."
  16988. msgstr ""
  16989. #. type: item
  16990. #: guix-git/doc/guix.texi:11730
  16991. #, no-wrap
  16992. msgid "--type=@var{updater}"
  16993. msgstr ""
  16994. #. type: itemx
  16995. #: guix-git/doc/guix.texi:11731
  16996. #, no-wrap
  16997. msgid "-t @var{updater}"
  16998. msgstr ""
  16999. #. type: table
  17000. #: guix-git/doc/guix.texi:11734
  17001. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  17002. msgstr ""
  17003. #. type: table
  17004. #: guix-git/doc/guix.texi:11738
  17005. msgid "the updater for GNU packages;"
  17006. msgstr ""
  17007. #. type: item
  17008. #: guix-git/doc/guix.texi:11738
  17009. #, no-wrap
  17010. msgid "savannah"
  17011. msgstr ""
  17012. #. type: table
  17013. #: guix-git/doc/guix.texi:11740
  17014. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  17015. msgstr ""
  17016. #. type: item
  17017. #: guix-git/doc/guix.texi:11740
  17018. #, no-wrap
  17019. msgid "sourceforge"
  17020. msgstr ""
  17021. #. type: table
  17022. #: guix-git/doc/guix.texi:11742
  17023. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  17024. msgstr ""
  17025. #. type: item
  17026. #: guix-git/doc/guix.texi:11742
  17027. #, no-wrap
  17028. msgid "gnome"
  17029. msgstr ""
  17030. #. type: table
  17031. #: guix-git/doc/guix.texi:11744
  17032. msgid "the updater for GNOME packages;"
  17033. msgstr ""
  17034. #. type: item
  17035. #: guix-git/doc/guix.texi:11744
  17036. #, no-wrap
  17037. msgid "kde"
  17038. msgstr ""
  17039. #. type: table
  17040. #: guix-git/doc/guix.texi:11746
  17041. msgid "the updater for KDE packages;"
  17042. msgstr ""
  17043. #. type: item
  17044. #: guix-git/doc/guix.texi:11746
  17045. #, no-wrap
  17046. msgid "xorg"
  17047. msgstr ""
  17048. #. type: table
  17049. #: guix-git/doc/guix.texi:11748
  17050. msgid "the updater for X.org packages;"
  17051. msgstr ""
  17052. #. type: item
  17053. #: guix-git/doc/guix.texi:11748
  17054. #, no-wrap
  17055. msgid "kernel.org"
  17056. msgstr ""
  17057. #. type: table
  17058. #: guix-git/doc/guix.texi:11750
  17059. msgid "the updater for packages hosted on kernel.org;"
  17060. msgstr ""
  17061. #. type: table
  17062. #: guix-git/doc/guix.texi:11752
  17063. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  17064. msgstr ""
  17065. #. type: table
  17066. #: guix-git/doc/guix.texi:11754
  17067. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  17068. msgstr ""
  17069. #. type: item
  17070. #: guix-git/doc/guix.texi:11754
  17071. #, no-wrap
  17072. msgid "bioconductor"
  17073. msgstr ""
  17074. #. type: table
  17075. #: guix-git/doc/guix.texi:11756
  17076. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  17077. msgstr ""
  17078. #. type: table
  17079. #: guix-git/doc/guix.texi:11758
  17080. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  17081. msgstr ""
  17082. #. type: table
  17083. #: guix-git/doc/guix.texi:11760
  17084. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  17085. msgstr ""
  17086. #. type: table
  17087. #: guix-git/doc/guix.texi:11762
  17088. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  17089. msgstr ""
  17090. #. type: item
  17091. #: guix-git/doc/guix.texi:11762
  17092. #, no-wrap
  17093. msgid "github"
  17094. msgstr ""
  17095. #. type: table
  17096. #: guix-git/doc/guix.texi:11764
  17097. msgid "the updater for @uref{https://github.com, GitHub} packages."
  17098. msgstr ""
  17099. #. type: table
  17100. #: guix-git/doc/guix.texi:11766
  17101. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  17102. msgstr ""
  17103. #. type: table
  17104. #: guix-git/doc/guix.texi:11768
  17105. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  17106. msgstr ""
  17107. #. type: table
  17108. #: guix-git/doc/guix.texi:11770
  17109. msgid "the updater for @uref{https://crates.io, Crates} packages."
  17110. msgstr ""
  17111. #. type: item
  17112. #: guix-git/doc/guix.texi:11770
  17113. #, no-wrap
  17114. msgid "launchpad"
  17115. msgstr ""
  17116. #. type: table
  17117. #: guix-git/doc/guix.texi:11772
  17118. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  17119. msgstr ""
  17120. #. type: item
  17121. #: guix-git/doc/guix.texi:11772
  17122. #, no-wrap
  17123. msgid "generic-html"
  17124. msgstr ""
  17125. #. type: table
  17126. #: guix-git/doc/guix.texi:11775
  17127. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  17128. msgstr ""
  17129. #. type: table
  17130. #: guix-git/doc/guix.texi:11779
  17131. msgid "For instance, the following command only checks for updates of Emacs packages hosted at @code{elpa.gnu.org} and for updates of CRAN packages:"
  17132. msgstr ""
  17133. #. type: example
  17134. #: guix-git/doc/guix.texi:11784
  17135. #, no-wrap
  17136. msgid ""
  17137. "$ guix refresh --type=elpa,cran\n"
  17138. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  17139. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  17140. msgstr ""
  17141. #. type: item
  17142. #: guix-git/doc/guix.texi:11786
  17143. #, no-wrap
  17144. msgid "--list-updaters"
  17145. msgstr ""
  17146. #. type: itemx
  17147. #: guix-git/doc/guix.texi:11787
  17148. #, no-wrap
  17149. msgid "-L"
  17150. msgstr ""
  17151. #. type: table
  17152. #: guix-git/doc/guix.texi:11789
  17153. msgid "List available updaters and exit (see @option{--type} above)."
  17154. msgstr ""
  17155. #. type: table
  17156. #: guix-git/doc/guix.texi:11792
  17157. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  17158. msgstr ""
  17159. #. type: Plain text
  17160. #: guix-git/doc/guix.texi:11796
  17161. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  17162. msgstr ""
  17163. #. type: example
  17164. #: guix-git/doc/guix.texi:11799
  17165. #, no-wrap
  17166. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  17167. msgstr ""
  17168. #. type: Plain text
  17169. #: guix-git/doc/guix.texi:11806
  17170. msgid "The command above specifically updates the @code{emacs} and @code{idutils} packages. The @option{--select} option would have no effect in this case. You might also want to update definitions that correspond to the packages installed in your profile:"
  17171. msgstr ""
  17172. #. type: example
  17173. #: guix-git/doc/guix.texi:11810
  17174. #, no-wrap
  17175. msgid ""
  17176. "$ ./pre-inst-env guix refresh -u \\\n"
  17177. " $(guix package --list-installed | cut -f1)\n"
  17178. msgstr ""
  17179. #. type: Plain text
  17180. #: guix-git/doc/guix.texi:11816
  17181. msgid "When considering whether to upgrade a package, it is sometimes convenient to know which packages would be affected by the upgrade and should be checked for compatibility. For this the following option may be used when passing @command{guix refresh} one or more package names:"
  17182. msgstr ""
  17183. #. type: item
  17184. #: guix-git/doc/guix.texi:11819
  17185. #, no-wrap
  17186. msgid "--list-dependent"
  17187. msgstr ""
  17188. #. type: itemx
  17189. #: guix-git/doc/guix.texi:11820 guix-git/doc/guix.texi:12079
  17190. #, no-wrap
  17191. msgid "-l"
  17192. msgstr ""
  17193. #. type: table
  17194. #: guix-git/doc/guix.texi:11823
  17195. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  17196. msgstr ""
  17197. #. type: table
  17198. #: guix-git/doc/guix.texi:11827
  17199. msgid "@xref{Invoking guix graph, the @code{reverse-package} type of @command{guix graph}}, for information on how to visualize the list of dependents of a package."
  17200. msgstr ""
  17201. #. type: Plain text
  17202. #: guix-git/doc/guix.texi:11833
  17203. msgid "Be aware that the @option{--list-dependent} option only @emph{approximates} the rebuilds that would be required as a result of an upgrade. More rebuilds might be required under some circumstances."
  17204. msgstr ""
  17205. #. type: example
  17206. #: guix-git/doc/guix.texi:11838
  17207. #, no-wrap
  17208. msgid ""
  17209. "$ guix refresh --list-dependent flex\n"
  17210. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  17211. "hop@@2.4.0 geiser@@0.4 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  17212. msgstr ""
  17213. #. type: Plain text
  17214. #: guix-git/doc/guix.texi:11842
  17215. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  17216. msgstr ""
  17217. #. type: item
  17218. #: guix-git/doc/guix.texi:11845
  17219. #, no-wrap
  17220. msgid "--list-transitive"
  17221. msgstr ""
  17222. #. type: table
  17223. #: guix-git/doc/guix.texi:11847
  17224. msgid "List all the packages which one or more packages depend upon."
  17225. msgstr ""
  17226. #. type: example
  17227. #: guix-git/doc/guix.texi:11852
  17228. #, no-wrap
  17229. msgid ""
  17230. "$ guix refresh --list-transitive flex\n"
  17231. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  17232. "bison@@3.0.5 indent@@2.2.10 tar@@1.30 gzip@@1.9 bzip2@@1.0.6 xz@@5.2.4 file@@5.33 @dots{}\n"
  17233. msgstr ""
  17234. #. type: Plain text
  17235. #: guix-git/doc/guix.texi:11858
  17236. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  17237. msgstr ""
  17238. #. type: Plain text
  17239. #: guix-git/doc/guix.texi:11860
  17240. msgid "The following options can be used to customize GnuPG operation:"
  17241. msgstr ""
  17242. #. type: item
  17243. #: guix-git/doc/guix.texi:11863
  17244. #, no-wrap
  17245. msgid "--gpg=@var{command}"
  17246. msgstr ""
  17247. #. type: table
  17248. #: guix-git/doc/guix.texi:11866
  17249. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  17250. msgstr ""
  17251. #. type: item
  17252. #: guix-git/doc/guix.texi:11867
  17253. #, no-wrap
  17254. msgid "--keyring=@var{file}"
  17255. msgstr ""
  17256. #. type: table
  17257. #: guix-git/doc/guix.texi:11873
  17258. msgid "Use @var{file} as the keyring for upstream keys. @var{file} must be in the @dfn{keybox format}. Keybox files usually have a name ending in @file{.kbx} and the GNU@tie{}Privacy Guard (GPG) can manipulate these files (@pxref{kbxutil, @command{kbxutil},, gnupg, Using the GNU Privacy Guard}, for information on a tool to manipulate keybox files)."
  17259. msgstr ""
  17260. #. type: table
  17261. #: guix-git/doc/guix.texi:11879
  17262. msgid "When this option is omitted, @command{guix refresh} uses @file{~/.config/guix/upstream/trustedkeys.kbx} as the keyring for upstream signing keys. OpenPGP signatures are checked against keys from this keyring; missing keys are downloaded to this keyring as well (see @option{--key-download} below)."
  17263. msgstr ""
  17264. #. type: table
  17265. #: guix-git/doc/guix.texi:11882
  17266. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  17267. msgstr ""
  17268. #. type: example
  17269. #: guix-git/doc/guix.texi:11885
  17270. #, no-wrap
  17271. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  17272. msgstr ""
  17273. #. type: table
  17274. #: guix-git/doc/guix.texi:11888
  17275. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  17276. msgstr ""
  17277. #. type: example
  17278. #: guix-git/doc/guix.texi:11892
  17279. #, no-wrap
  17280. msgid ""
  17281. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  17282. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  17283. msgstr ""
  17284. #. type: table
  17285. #: guix-git/doc/guix.texi:11896
  17286. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  17287. msgstr ""
  17288. #. type: table
  17289. #: guix-git/doc/guix.texi:11900
  17290. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  17291. msgstr ""
  17292. #. type: item
  17293. #: guix-git/doc/guix.texi:11902 guix-git/doc/guix.texi:20769
  17294. #, no-wrap
  17295. msgid "always"
  17296. msgstr ""
  17297. #. type: table
  17298. #: guix-git/doc/guix.texi:11905
  17299. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  17300. msgstr ""
  17301. #. type: item
  17302. #: guix-git/doc/guix.texi:11906 guix-git/doc/guix.texi:20771
  17303. #, no-wrap
  17304. msgid "never"
  17305. msgstr ""
  17306. #. type: table
  17307. #: guix-git/doc/guix.texi:11908
  17308. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  17309. msgstr ""
  17310. #. type: item
  17311. #: guix-git/doc/guix.texi:11909
  17312. #, no-wrap
  17313. msgid "interactive"
  17314. msgstr ""
  17315. #. type: table
  17316. #: guix-git/doc/guix.texi:11912
  17317. msgid "When a package signed with an unknown OpenPGP key is encountered, ask the user whether to download it or not. This is the default behavior."
  17318. msgstr ""
  17319. #. type: item
  17320. #: guix-git/doc/guix.texi:11914
  17321. #, no-wrap
  17322. msgid "--key-server=@var{host}"
  17323. msgstr ""
  17324. #. type: table
  17325. #: guix-git/doc/guix.texi:11916
  17326. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  17327. msgstr ""
  17328. #. type: Plain text
  17329. #: guix-git/doc/guix.texi:11936
  17330. msgid "The @code{github} updater uses the @uref{https://developer.github.com/v3/, GitHub API} to query for new releases. When used repeatedly e.g.@: when refreshing all packages, GitHub will eventually refuse to answer any further API requests. By default 60 API requests per hour are allowed, and a full refresh on all GitHub packages in Guix requires more than this. Authentication with GitHub through the use of an API token alleviates these limits. To use an API token, set the environment variable @env{GUIX_GITHUB_TOKEN} to a token procured from @uref{https://github.com/settings/tokens} or otherwise."
  17331. msgstr ""
  17332. #. type: section
  17333. #: guix-git/doc/guix.texi:11939
  17334. #, no-wrap
  17335. msgid "Invoking @command{guix lint}"
  17336. msgstr ""
  17337. #. type: command{#1}
  17338. #: guix-git/doc/guix.texi:11941
  17339. #, no-wrap
  17340. msgid "guix lint"
  17341. msgstr ""
  17342. #. type: cindex
  17343. #: guix-git/doc/guix.texi:11942
  17344. #, no-wrap
  17345. msgid "package, checking for errors"
  17346. msgstr ""
  17347. #. type: Plain text
  17348. #: guix-git/doc/guix.texi:11948
  17349. msgid "The @command{guix lint} command is meant to help package developers avoid common errors and use a consistent style. It runs a number of checks on a given set of packages in order to find common mistakes in their definitions. Available @dfn{checkers} include (see @option{--list-checkers} for a complete list):"
  17350. msgstr ""
  17351. #. type: table
  17352. #: guix-git/doc/guix.texi:11954
  17353. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  17354. msgstr ""
  17355. #. type: item
  17356. #: guix-git/doc/guix.texi:11955
  17357. #, no-wrap
  17358. msgid "inputs-should-be-native"
  17359. msgstr ""
  17360. #. type: table
  17361. #: guix-git/doc/guix.texi:11957
  17362. msgid "Identify inputs that should most likely be native inputs."
  17363. msgstr ""
  17364. #. type: itemx
  17365. #: guix-git/doc/guix.texi:11960
  17366. #, no-wrap
  17367. msgid "mirror-url"
  17368. msgstr ""
  17369. #. type: itemx
  17370. #: guix-git/doc/guix.texi:11961
  17371. #, no-wrap
  17372. msgid "github-url"
  17373. msgstr ""
  17374. #. type: itemx
  17375. #: guix-git/doc/guix.texi:11962
  17376. #, no-wrap
  17377. msgid "source-file-name"
  17378. msgstr ""
  17379. #. type: table
  17380. #: guix-git/doc/guix.texi:11969
  17381. msgid "Probe @code{home-page} and @code{source} URLs and report those that are invalid. Suggest a @code{mirror://} URL when applicable. If the @code{source} URL redirects to a GitHub URL, recommend usage of the GitHub URL@. Check that the source file name is meaningful, e.g.@: is not just a version number or ``git-checkout'', without a declared @code{file-name} (@pxref{origin Reference})."
  17382. msgstr ""
  17383. #. type: item
  17384. #: guix-git/doc/guix.texi:11970
  17385. #, no-wrap
  17386. msgid "source-unstable-tarball"
  17387. msgstr ""
  17388. #. type: table
  17389. #: guix-git/doc/guix.texi:11974
  17390. msgid "Parse the @code{source} URL to determine if a tarball from GitHub is autogenerated or if it is a release tarball. Unfortunately GitHub's autogenerated tarballs are sometimes regenerated."
  17391. msgstr ""
  17392. #. type: table
  17393. #: guix-git/doc/guix.texi:11978
  17394. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  17395. msgstr ""
  17396. #. type: item
  17397. #: guix-git/doc/guix.texi:11979
  17398. #, no-wrap
  17399. msgid "profile-collisions"
  17400. msgstr ""
  17401. #. type: table
  17402. #: guix-git/doc/guix.texi:11985
  17403. msgid "Check whether installing the given packages in a profile would lead to collisions. Collisions occur when several packages with the same name but a different version or a different store file name are propagated. @xref{package Reference, @code{propagated-inputs}}, for more information on propagated inputs."
  17404. msgstr ""
  17405. #. type: item
  17406. #: guix-git/doc/guix.texi:11986
  17407. #, no-wrap
  17408. msgid "archival"
  17409. msgstr ""
  17410. #. type: cindex
  17411. #: guix-git/doc/guix.texi:11987
  17412. #, no-wrap
  17413. msgid "Software Heritage, source code archive"
  17414. msgstr ""
  17415. #. type: cindex
  17416. #: guix-git/doc/guix.texi:11988
  17417. #, no-wrap
  17418. msgid "archival of source code, Software Heritage"
  17419. msgstr ""
  17420. #. type: table
  17421. #: guix-git/doc/guix.texi:11991
  17422. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  17423. msgstr ""
  17424. #. type: table
  17425. #: guix-git/doc/guix.texi:11999
  17426. msgid "When the source code that is not archived comes from a version-control system (VCS)---e.g., it's obtained with @code{git-fetch}, send Software Heritage a ``save'' request so that it eventually archives it. This ensures that the source will remain available in the long term, and that Guix can fall back to Software Heritage should the source code disappear from its original host. The status of recent ``save'' requests can be @uref{https://archive.softwareheritage.org/save/#requests, viewed on-line}."
  17427. msgstr ""
  17428. #. type: table
  17429. #: guix-git/doc/guix.texi:12004
  17430. msgid "When source code is a tarball obtained with @code{url-fetch}, simply print a message when it is not archived. As of this writing, Software Heritage does not allow requests to save arbitrary tarballs; we are working on ways to ensure that non-VCS source code is also archived."
  17431. msgstr ""
  17432. #. type: table
  17433. #: guix-git/doc/guix.texi:12010
  17434. msgid "Software Heritage @uref{https://archive.softwareheritage.org/api/#rate-limiting, limits the request rate per IP address}. When the limit is reached, @command{guix lint} prints a message and the @code{archival} checker stops doing anything until that limit has been reset."
  17435. msgstr ""
  17436. #. type: item
  17437. #: guix-git/doc/guix.texi:12011
  17438. #, no-wrap
  17439. msgid "cve"
  17440. msgstr ""
  17441. #. type: cindex
  17442. #: guix-git/doc/guix.texi:12012 guix-git/doc/guix.texi:34545
  17443. #, no-wrap
  17444. msgid "security vulnerabilities"
  17445. msgstr ""
  17446. #. type: cindex
  17447. #: guix-git/doc/guix.texi:12013
  17448. #, no-wrap
  17449. msgid "CVE, Common Vulnerabilities and Exposures"
  17450. msgstr ""
  17451. #. type: table
  17452. #: guix-git/doc/guix.texi:12018
  17453. msgid "Report known vulnerabilities found in the Common Vulnerabilities and Exposures (CVE) databases of the current and past year @uref{https://nvd.nist.gov/vuln/data-feeds, published by the US NIST}."
  17454. msgstr ""
  17455. #. type: table
  17456. #: guix-git/doc/guix.texi:12020
  17457. msgid "To view information about a particular vulnerability, visit pages such as:"
  17458. msgstr ""
  17459. #. type: indicateurl{#1}
  17460. #: guix-git/doc/guix.texi:12024
  17461. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  17462. msgstr ""
  17463. #. type: indicateurl{#1}
  17464. #: guix-git/doc/guix.texi:12026
  17465. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  17466. msgstr ""
  17467. #. type: table
  17468. #: guix-git/doc/guix.texi:12031
  17469. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  17470. msgstr ""
  17471. #. type: table
  17472. #: guix-git/doc/guix.texi:12036
  17473. msgid "Package developers can specify in package recipes the @uref{https://nvd.nist.gov/products/cpe,Common Platform Enumeration (CPE)} name and version of the package when they differ from the name or version that Guix uses, as in this example:"
  17474. msgstr ""
  17475. #. type: lisp
  17476. #: guix-git/doc/guix.texi:12044
  17477. #, no-wrap
  17478. msgid ""
  17479. "(package\n"
  17480. " (name \"grub\")\n"
  17481. " ;; @dots{}\n"
  17482. " ;; CPE calls this package \"grub2\".\n"
  17483. " (properties '((cpe-name . \"grub2\")\n"
  17484. " (cpe-version . \"2.3\"))))\n"
  17485. msgstr ""
  17486. #. type: table
  17487. #: guix-git/doc/guix.texi:12051
  17488. msgid "Some entries in the CVE database do not specify which version of a package they apply to, and would thus ``stick around'' forever. Package developers who found CVE alerts and verified they can be ignored can declare them as in this example:"
  17489. msgstr ""
  17490. #. type: lisp
  17491. #: guix-git/doc/guix.texi:12061
  17492. #, no-wrap
  17493. msgid ""
  17494. "(package\n"
  17495. " (name \"t1lib\")\n"
  17496. " ;; @dots{}\n"
  17497. " ;; These CVEs no longer apply and can be safely ignored.\n"
  17498. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  17499. " \"CVE-2011-1553\"\n"
  17500. " \"CVE-2011-1554\"\n"
  17501. " \"CVE-2011-5244\")))))\n"
  17502. msgstr ""
  17503. #. type: item
  17504. #: guix-git/doc/guix.texi:12063
  17505. #, no-wrap
  17506. msgid "formatting"
  17507. msgstr ""
  17508. #. type: table
  17509. #: guix-git/doc/guix.texi:12066
  17510. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  17511. msgstr ""
  17512. #. type: example
  17513. #: guix-git/doc/guix.texi:12072
  17514. #, no-wrap
  17515. msgid "guix lint @var{options} @var{package}@dots{}\n"
  17516. msgstr ""
  17517. #. type: Plain text
  17518. #: guix-git/doc/guix.texi:12076
  17519. msgid "If no package is given on the command line, then all packages are checked. The @var{options} may be zero or more of the following:"
  17520. msgstr ""
  17521. #. type: item
  17522. #: guix-git/doc/guix.texi:12078
  17523. #, no-wrap
  17524. msgid "--list-checkers"
  17525. msgstr ""
  17526. #. type: table
  17527. #: guix-git/doc/guix.texi:12082
  17528. msgid "List and describe all the available checkers that will be run on packages and exit."
  17529. msgstr ""
  17530. #. type: item
  17531. #: guix-git/doc/guix.texi:12083
  17532. #, no-wrap
  17533. msgid "--checkers"
  17534. msgstr ""
  17535. #. type: itemx
  17536. #: guix-git/doc/guix.texi:12084
  17537. #, no-wrap
  17538. msgid "-c"
  17539. msgstr ""
  17540. #. type: table
  17541. #: guix-git/doc/guix.texi:12087
  17542. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  17543. msgstr ""
  17544. #. type: item
  17545. #: guix-git/doc/guix.texi:12088
  17546. #, no-wrap
  17547. msgid "--exclude"
  17548. msgstr ""
  17549. #. type: table
  17550. #: guix-git/doc/guix.texi:12092
  17551. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  17552. msgstr ""
  17553. #. type: item
  17554. #: guix-git/doc/guix.texi:12093
  17555. #, no-wrap
  17556. msgid "--no-network"
  17557. msgstr ""
  17558. #. type: table
  17559. #: guix-git/doc/guix.texi:12096
  17560. msgid "Only enable the checkers that do not depend on Internet access."
  17561. msgstr ""
  17562. #. type: section
  17563. #: guix-git/doc/guix.texi:12108
  17564. #, no-wrap
  17565. msgid "Invoking @command{guix size}"
  17566. msgstr ""
  17567. #. type: code{#1}
  17568. #: guix-git/doc/guix.texi:12110 guix-git/doc/guix.texi:33481
  17569. #, no-wrap
  17570. msgid "size"
  17571. msgstr ""
  17572. #. type: cindex
  17573. #: guix-git/doc/guix.texi:12111
  17574. #, no-wrap
  17575. msgid "package size"
  17576. msgstr ""
  17577. #. type: command{#1}
  17578. #: guix-git/doc/guix.texi:12113
  17579. #, no-wrap
  17580. msgid "guix size"
  17581. msgstr ""
  17582. #. type: Plain text
  17583. #: guix-git/doc/guix.texi:12120
  17584. msgid "The @command{guix size} command helps package developers profile the disk usage of packages. It is easy to overlook the impact of an additional dependency added to a package, or the impact of using a single output for a package that could easily be split (@pxref{Packages with Multiple Outputs}). Such are the typical issues that @command{guix size} can highlight."
  17585. msgstr ""
  17586. #. type: Plain text
  17587. #: guix-git/doc/guix.texi:12125
  17588. msgid "The command can be passed one or more package specifications such as @code{gcc@@4.8} or @code{guile:debug}, or a file name in the store. Consider this example:"
  17589. msgstr ""
  17590. #. type: example
  17591. #: guix-git/doc/guix.texi:12138
  17592. #, no-wrap
  17593. msgid ""
  17594. "$ guix size coreutils\n"
  17595. "store item total self\n"
  17596. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  17597. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  17598. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  17599. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  17600. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  17601. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  17602. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  17603. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  17604. "total: 78.9 MiB\n"
  17605. msgstr ""
  17606. #. type: Plain text
  17607. #: guix-git/doc/guix.texi:12144
  17608. msgid "The store items listed here constitute the @dfn{transitive closure} of Coreutils---i.e., Coreutils and all its dependencies, recursively---as would be returned by:"
  17609. msgstr ""
  17610. #. type: example
  17611. #: guix-git/doc/guix.texi:12147
  17612. #, no-wrap
  17613. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  17614. msgstr ""
  17615. #. type: Plain text
  17616. #: guix-git/doc/guix.texi:12155
  17617. msgid "Here the output shows three columns next to store items. The first column, labeled ``total'', shows the size in mebibytes (MiB) of the closure of the store item---that is, its own size plus the size of all its dependencies. The next column, labeled ``self'', shows the size of the item itself. The last column shows the ratio of the size of the item itself to the space occupied by all the items listed here."
  17618. msgstr ""
  17619. #. type: Plain text
  17620. #: guix-git/doc/guix.texi:12161
  17621. msgid "In this example, we see that the closure of Coreutils weighs in at 79@tie{}MiB, most of which is taken by libc and GCC's run-time support libraries. (That libc and GCC's libraries represent a large fraction of the closure is not a problem @i{per se} because they are always available on the system anyway.)"
  17622. msgstr ""
  17623. #. type: Plain text
  17624. #: guix-git/doc/guix.texi:12164
  17625. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  17626. msgstr ""
  17627. #. type: example
  17628. #: guix-git/doc/guix.texi:12167
  17629. #, no-wrap
  17630. msgid "guix size $(guix system build config.scm)\n"
  17631. msgstr ""
  17632. #. type: Plain text
  17633. #: guix-git/doc/guix.texi:12177
  17634. msgid "When the package(s) passed to @command{guix size} are available in the store@footnote{More precisely, @command{guix size} looks for the @emph{ungrafted} variant of the given package(s), as returned by @code{guix build @var{package} --no-grafts}. @xref{Security Updates}, for information on grafts.}, @command{guix size} queries the daemon to determine its dependencies, and measures its size in the store, similar to @command{du -ms --apparent-size} (@pxref{du invocation,,, coreutils, GNU Coreutils})."
  17635. msgstr ""
  17636. #. type: Plain text
  17637. #: guix-git/doc/guix.texi:12182
  17638. msgid "When the given packages are @emph{not} in the store, @command{guix size} reports information based on the available substitutes (@pxref{Substitutes}). This makes it possible it to profile disk usage of store items that are not even on disk, only available remotely."
  17639. msgstr ""
  17640. #. type: Plain text
  17641. #: guix-git/doc/guix.texi:12184
  17642. msgid "You can also specify several package names:"
  17643. msgstr ""
  17644. #. type: example
  17645. #: guix-git/doc/guix.texi:12194
  17646. #, no-wrap
  17647. msgid ""
  17648. "$ guix size coreutils grep sed bash\n"
  17649. "store item total self\n"
  17650. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  17651. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  17652. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  17653. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  17654. "@dots{}\n"
  17655. "total: 102.3 MiB\n"
  17656. msgstr ""
  17657. #. type: Plain text
  17658. #: guix-git/doc/guix.texi:12200
  17659. msgid "In this example we see that the combination of the four packages takes 102.3@tie{}MiB in total, which is much less than the sum of each closure since they have a lot of dependencies in common."
  17660. msgstr ""
  17661. #. type: Plain text
  17662. #: guix-git/doc/guix.texi:12206
  17663. msgid "When looking at the profile returned by @command{guix size}, you may find yourself wondering why a given package shows up in the profile at all. To understand it, you can use @command{guix graph --path -t references} to display the shortest path between the two packages (@pxref{Invoking guix graph})."
  17664. msgstr ""
  17665. #. type: Plain text
  17666. #: guix-git/doc/guix.texi:12208
  17667. msgid "The available options are:"
  17668. msgstr ""
  17669. #. type: table
  17670. #: guix-git/doc/guix.texi:12214
  17671. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  17672. msgstr ""
  17673. #. type: item
  17674. #: guix-git/doc/guix.texi:12215
  17675. #, no-wrap
  17676. msgid "--sort=@var{key}"
  17677. msgstr ""
  17678. #. type: table
  17679. #: guix-git/doc/guix.texi:12217
  17680. msgid "Sort lines according to @var{key}, one of the following options:"
  17681. msgstr ""
  17682. #. type: item
  17683. #: guix-git/doc/guix.texi:12219
  17684. #, no-wrap
  17685. msgid "self"
  17686. msgstr "sám"
  17687. #. type: table
  17688. #: guix-git/doc/guix.texi:12221
  17689. msgid "the size of each item (the default);"
  17690. msgstr ""
  17691. #. type: table
  17692. #: guix-git/doc/guix.texi:12223
  17693. msgid "the total size of the item's closure."
  17694. msgstr ""
  17695. #. type: item
  17696. #: guix-git/doc/guix.texi:12225
  17697. #, no-wrap
  17698. msgid "--map-file=@var{file}"
  17699. msgstr ""
  17700. #. type: table
  17701. #: guix-git/doc/guix.texi:12227
  17702. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  17703. msgstr ""
  17704. #. type: table
  17705. #: guix-git/doc/guix.texi:12229
  17706. msgid "For the example above, the map looks like this:"
  17707. msgstr ""
  17708. #. type: table
  17709. #: guix-git/doc/guix.texi:12232
  17710. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  17711. msgstr ""
  17712. #. type: table
  17713. #: guix-git/doc/guix.texi:12237
  17714. msgid "This option requires that @uref{https://wingolog.org/software/guile-charting/, Guile-Charting} be installed and visible in Guile's module search path. When that is not the case, @command{guix size} fails as it tries to load it."
  17715. msgstr ""
  17716. #. type: table
  17717. #: guix-git/doc/guix.texi:12241
  17718. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  17719. msgstr ""
  17720. #. type: section
  17721. #: guix-git/doc/guix.texi:12252
  17722. #, no-wrap
  17723. msgid "Invoking @command{guix graph}"
  17724. msgstr ""
  17725. #. type: cindex
  17726. #: guix-git/doc/guix.texi:12254
  17727. #, no-wrap
  17728. msgid "DAG"
  17729. msgstr ""
  17730. #. type: command{#1}
  17731. #: guix-git/doc/guix.texi:12255
  17732. #, no-wrap
  17733. msgid "guix graph"
  17734. msgstr ""
  17735. #. type: Plain text
  17736. #: guix-git/doc/guix.texi:12270
  17737. msgid "Packages and their dependencies form a @dfn{graph}, specifically a directed acyclic graph (DAG). It can quickly become difficult to have a mental model of the package DAG, so the @command{guix graph} command provides a visual representation of the DAG@. By default, @command{guix graph} emits a DAG representation in the input format of @uref{https://www.graphviz.org/, Graphviz}, so its output can be passed directly to the @command{dot} command of Graphviz. It can also emit an HTML page with embedded JavaScript code to display a ``chord diagram'' in a Web browser, using the @uref{https://d3js.org/, d3.js} library, or emit Cypher queries to construct a graph in a graph database supporting the @uref{https://www.opencypher.org/, openCypher} query language. With @option{--path}, it simply displays the shortest path between two packages. The general syntax is:"
  17738. msgstr ""
  17739. #. type: example
  17740. #: guix-git/doc/guix.texi:12273
  17741. #, no-wrap
  17742. msgid "guix graph @var{options} @var{package}@dots{}\n"
  17743. msgstr ""
  17744. #. type: Plain text
  17745. #: guix-git/doc/guix.texi:12278
  17746. msgid "For example, the following command generates a PDF file representing the package DAG for the GNU@tie{}Core Utilities, showing its build-time dependencies:"
  17747. msgstr ""
  17748. #. type: example
  17749. #: guix-git/doc/guix.texi:12281
  17750. #, no-wrap
  17751. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  17752. msgstr ""
  17753. #. type: Plain text
  17754. #: guix-git/doc/guix.texi:12284
  17755. msgid "The output looks like this:"
  17756. msgstr ""
  17757. #. type: Plain text
  17758. #: guix-git/doc/guix.texi:12286
  17759. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  17760. msgstr ""
  17761. #. type: Plain text
  17762. #: guix-git/doc/guix.texi:12288
  17763. msgid "Nice little graph, no?"
  17764. msgstr ""
  17765. #. type: Plain text
  17766. #: guix-git/doc/guix.texi:12291
  17767. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  17768. msgstr ""
  17769. #. type: example
  17770. #: guix-git/doc/guix.texi:12294
  17771. #, no-wrap
  17772. msgid "guix graph coreutils | xdot -\n"
  17773. msgstr ""
  17774. #. type: Plain text
  17775. #: guix-git/doc/guix.texi:12301
  17776. msgid "But there is more than one graph! The one above is concise: it is the graph of package objects, omitting implicit inputs such as GCC, libc, grep, etc. It is often useful to have such a concise graph, but sometimes one may want to see more details. @command{guix graph} supports several types of graphs, allowing you to choose the level of detail:"
  17777. msgstr ""
  17778. #. type: table
  17779. #: guix-git/doc/guix.texi:12307
  17780. msgid "This is the default type used in the example above. It shows the DAG of package objects, excluding implicit dependencies. It is concise, but filters out many details."
  17781. msgstr ""
  17782. #. type: item
  17783. #: guix-git/doc/guix.texi:12308
  17784. #, no-wrap
  17785. msgid "reverse-package"
  17786. msgstr ""
  17787. #. type: table
  17788. #: guix-git/doc/guix.texi:12310
  17789. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  17790. msgstr ""
  17791. #. type: example
  17792. #: guix-git/doc/guix.texi:12313
  17793. #, no-wrap
  17794. msgid "guix graph --type=reverse-package ocaml\n"
  17795. msgstr ""
  17796. #. type: table
  17797. #: guix-git/doc/guix.texi:12318
  17798. msgid "...@: yields the graph of packages that @emph{explicitly} depend on OCaml (if you are also interested in cases where OCaml is an implicit dependency, see @code{reverse-bag} below)."
  17799. msgstr ""
  17800. #. type: table
  17801. #: guix-git/doc/guix.texi:12323
  17802. msgid "Note that for core packages this can yield huge graphs. If all you want is to know the number of packages that depend on a given package, use @command{guix refresh --list-dependent} (@pxref{Invoking guix refresh, @option{--list-dependent}})."
  17803. msgstr ""
  17804. #. type: item
  17805. #: guix-git/doc/guix.texi:12324
  17806. #, no-wrap
  17807. msgid "bag-emerged"
  17808. msgstr ""
  17809. #. type: table
  17810. #: guix-git/doc/guix.texi:12326
  17811. msgid "This is the package DAG, @emph{including} implicit inputs."
  17812. msgstr ""
  17813. #. type: table
  17814. #: guix-git/doc/guix.texi:12328
  17815. msgid "For instance, the following command:"
  17816. msgstr ""
  17817. #. type: example
  17818. #: guix-git/doc/guix.texi:12331
  17819. #, no-wrap
  17820. msgid "guix graph --type=bag-emerged coreutils\n"
  17821. msgstr ""
  17822. #. type: table
  17823. #: guix-git/doc/guix.texi:12334
  17824. msgid "...@: yields this bigger graph:"
  17825. msgstr ""
  17826. #. type: table
  17827. #: guix-git/doc/guix.texi:12336
  17828. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  17829. msgstr ""
  17830. #. type: table
  17831. #: guix-git/doc/guix.texi:12339
  17832. msgid "At the bottom of the graph, we see all the implicit inputs of @var{gnu-build-system} (@pxref{Build Systems, @code{gnu-build-system}})."
  17833. msgstr ""
  17834. #. type: table
  17835. #: guix-git/doc/guix.texi:12343
  17836. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  17837. msgstr ""
  17838. #. type: item
  17839. #: guix-git/doc/guix.texi:12344
  17840. #, no-wrap
  17841. msgid "bag"
  17842. msgstr ""
  17843. #. type: table
  17844. #: guix-git/doc/guix.texi:12347
  17845. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  17846. msgstr ""
  17847. #. type: item
  17848. #: guix-git/doc/guix.texi:12348
  17849. #, no-wrap
  17850. msgid "bag-with-origins"
  17851. msgstr ""
  17852. #. type: table
  17853. #: guix-git/doc/guix.texi:12350
  17854. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  17855. msgstr ""
  17856. #. type: item
  17857. #: guix-git/doc/guix.texi:12351
  17858. #, no-wrap
  17859. msgid "reverse-bag"
  17860. msgstr ""
  17861. #. type: table
  17862. #: guix-git/doc/guix.texi:12354
  17863. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  17864. msgstr ""
  17865. #. type: example
  17866. #: guix-git/doc/guix.texi:12357
  17867. #, no-wrap
  17868. msgid "guix graph -t reverse-bag dune\n"
  17869. msgstr ""
  17870. #. type: table
  17871. #: guix-git/doc/guix.texi:12364
  17872. msgid "...@: yields the graph of all packages that depend on Dune, directly or indirectly. Since Dune is an @emph{implicit} dependency of many packages @i{via} @code{dune-build-system}, this shows a large number of packages, whereas @code{reverse-package} would show very few if any."
  17873. msgstr ""
  17874. #. type: table
  17875. #: guix-git/doc/guix.texi:12370
  17876. msgid "This is the most detailed representation: It shows the DAG of derivations (@pxref{Derivations}) and plain store items. Compared to the above representation, many additional nodes are visible, including build scripts, patches, Guile modules, etc."
  17877. msgstr ""
  17878. #. type: table
  17879. #: guix-git/doc/guix.texi:12373
  17880. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  17881. msgstr ""
  17882. #. type: example
  17883. #: guix-git/doc/guix.texi:12376
  17884. #, no-wrap
  17885. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  17886. msgstr ""
  17887. #. type: item
  17888. #: guix-git/doc/guix.texi:12378
  17889. #, no-wrap
  17890. msgid "module"
  17891. msgstr ""
  17892. #. type: table
  17893. #: guix-git/doc/guix.texi:12382
  17894. msgid "This is the graph of @dfn{package modules} (@pxref{Package Modules}). For example, the following command shows the graph for the package module that defines the @code{guile} package:"
  17895. msgstr ""
  17896. #. type: example
  17897. #: guix-git/doc/guix.texi:12385
  17898. #, no-wrap
  17899. msgid "guix graph -t module guile | xdot -\n"
  17900. msgstr ""
  17901. #. type: Plain text
  17902. #: guix-git/doc/guix.texi:12390
  17903. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  17904. msgstr ""
  17905. #. type: table
  17906. #: guix-git/doc/guix.texi:12395
  17907. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  17908. msgstr ""
  17909. #. type: table
  17910. #: guix-git/doc/guix.texi:12398
  17911. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  17912. msgstr ""
  17913. #. type: table
  17914. #: guix-git/doc/guix.texi:12402
  17915. msgid "Here you can also pass a store file name instead of a package name. For example, the command below produces the reference graph of your profile (which can be big!):"
  17916. msgstr ""
  17917. #. type: example
  17918. #: guix-git/doc/guix.texi:12405
  17919. #, no-wrap
  17920. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  17921. msgstr ""
  17922. #. type: item
  17923. #: guix-git/doc/guix.texi:12407
  17924. #, no-wrap
  17925. msgid "referrers"
  17926. msgstr ""
  17927. #. type: table
  17928. #: guix-git/doc/guix.texi:12410
  17929. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  17930. msgstr ""
  17931. #. type: table
  17932. #: guix-git/doc/guix.texi:12416
  17933. msgid "This relies exclusively on local information from your store. For instance, let us suppose that the current Inkscape is available in 10 profiles on your machine; @command{guix graph -t referrers inkscape} will show a graph rooted at Inkscape and with those 10 profiles linked to it."
  17934. msgstr ""
  17935. #. type: table
  17936. #: guix-git/doc/guix.texi:12419
  17937. msgid "It can help determine what is preventing a store item from being garbage collected."
  17938. msgstr ""
  17939. #. type: cindex
  17940. #: guix-git/doc/guix.texi:12422
  17941. #, no-wrap
  17942. msgid "shortest path, between packages"
  17943. msgstr ""
  17944. #. type: Plain text
  17945. #: guix-git/doc/guix.texi:12429
  17946. msgid "Often, the graph of the package you are interested in does not fit on your screen, and anyway all you want to know is @emph{why} that package actually depends on some seemingly unrelated package. The @option{--path} option instructs @command{guix graph} to display the shortest path between two packages (or derivations, or store items, etc.):"
  17947. msgstr ""
  17948. #. type: example
  17949. #: guix-git/doc/guix.texi:12443
  17950. #, no-wrap
  17951. msgid ""
  17952. "$ guix graph --path emacs libunistring\n"
  17953. "emacs@@26.3\n"
  17954. "mailutils@@3.9\n"
  17955. "libunistring@@0.9.10\n"
  17956. "$ guix graph --path -t derivation emacs libunistring\n"
  17957. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  17958. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  17959. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  17960. "$ guix graph --path -t references emacs libunistring\n"
  17961. "/gnu/store/@dots{}-emacs-26.3\n"
  17962. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  17963. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  17964. msgstr ""
  17965. #. type: Plain text
  17966. #: guix-git/doc/guix.texi:12446
  17967. msgid "The available options are the following:"
  17968. msgstr ""
  17969. #. type: table
  17970. #: guix-git/doc/guix.texi:12452
  17971. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  17972. msgstr ""
  17973. #. type: item
  17974. #: guix-git/doc/guix.texi:12453
  17975. #, no-wrap
  17976. msgid "--list-types"
  17977. msgstr ""
  17978. #. type: table
  17979. #: guix-git/doc/guix.texi:12455
  17980. msgid "List the supported graph types."
  17981. msgstr ""
  17982. #. type: item
  17983. #: guix-git/doc/guix.texi:12456
  17984. #, no-wrap
  17985. msgid "--backend=@var{backend}"
  17986. msgstr ""
  17987. #. type: itemx
  17988. #: guix-git/doc/guix.texi:12457
  17989. #, no-wrap
  17990. msgid "-b @var{backend}"
  17991. msgstr ""
  17992. #. type: table
  17993. #: guix-git/doc/guix.texi:12459
  17994. msgid "Produce a graph using the selected @var{backend}."
  17995. msgstr ""
  17996. #. type: item
  17997. #: guix-git/doc/guix.texi:12460
  17998. #, no-wrap
  17999. msgid "--list-backends"
  18000. msgstr ""
  18001. #. type: table
  18002. #: guix-git/doc/guix.texi:12462
  18003. msgid "List the supported graph backends."
  18004. msgstr ""
  18005. #. type: table
  18006. #: guix-git/doc/guix.texi:12464
  18007. msgid "Currently, the available backends are Graphviz and d3.js."
  18008. msgstr ""
  18009. #. type: item
  18010. #: guix-git/doc/guix.texi:12465
  18011. #, no-wrap
  18012. msgid "--path"
  18013. msgstr ""
  18014. #. type: table
  18015. #: guix-git/doc/guix.texi:12470
  18016. msgid "Display the shortest path between two nodes of the type specified by @option{--type}. The example below shows the shortest path between @code{libreoffice} and @code{llvm} according to the references of @code{libreoffice}:"
  18017. msgstr ""
  18018. #. type: example
  18019. #: guix-git/doc/guix.texi:12477
  18020. #, no-wrap
  18021. msgid ""
  18022. "$ guix graph --path -t references libreoffice llvm\n"
  18023. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  18024. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  18025. "/gnu/store/@dots{}-mesa-19.3.4\n"
  18026. "/gnu/store/@dots{}-llvm-9.0.1\n"
  18027. msgstr ""
  18028. #. type: example
  18029. #: guix-git/doc/guix.texi:12487
  18030. #, no-wrap
  18031. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  18032. msgstr ""
  18033. #. type: table
  18034. #: guix-git/doc/guix.texi:12492
  18035. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  18036. msgstr ""
  18037. #. type: table
  18038. #: guix-git/doc/guix.texi:12495
  18039. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  18040. msgstr ""
  18041. #. type: Plain text
  18042. #: guix-git/doc/guix.texi:12511
  18043. msgid "On top of that, @command{guix graph} supports all the usual package transformation options (@pxref{Package Transformation Options}). This makes it easy to view the effect of a graph-rewriting transformation such as @option{--with-input}. For example, the command below outputs the graph of @code{git} once @code{openssl} has been replaced by @code{libressl} everywhere in the graph:"
  18044. msgstr ""
  18045. #. type: example
  18046. #: guix-git/doc/guix.texi:12514
  18047. #, no-wrap
  18048. msgid "guix graph git --with-input=openssl=libressl\n"
  18049. msgstr ""
  18050. #. type: Plain text
  18051. #: guix-git/doc/guix.texi:12517
  18052. msgid "So many possibilities, so much fun!"
  18053. msgstr ""
  18054. #. type: section
  18055. #: guix-git/doc/guix.texi:12519
  18056. #, no-wrap
  18057. msgid "Invoking @command{guix publish}"
  18058. msgstr ""
  18059. #. type: command{#1}
  18060. #: guix-git/doc/guix.texi:12521
  18061. #, no-wrap
  18062. msgid "guix publish"
  18063. msgstr ""
  18064. #. type: Plain text
  18065. #: guix-git/doc/guix.texi:12525
  18066. msgid "The purpose of @command{guix publish} is to enable users to easily share their store with others, who can then use it as a substitute server (@pxref{Substitutes})."
  18067. msgstr ""
  18068. #. type: Plain text
  18069. #: guix-git/doc/guix.texi:12531
  18070. msgid "When @command{guix publish} runs, it spawns an HTTP server which allows anyone with network access to obtain substitutes from it. This means that any machine running Guix can also act as if it were a build farm, since the HTTP interface is compatible with Cuirass, the software behind the @code{@value{SUBSTITUTE-SERVER}} build farm."
  18071. msgstr ""
  18072. #. type: Plain text
  18073. #: guix-git/doc/guix.texi:12537
  18074. msgid "For security, each substitute is signed, allowing recipients to check their authenticity and integrity (@pxref{Substitutes}). Because @command{guix publish} uses the signing key of the system, which is only readable by the system administrator, it must be started as root; the @option{--user} option makes it drop root privileges early on."
  18075. msgstr ""
  18076. #. type: Plain text
  18077. #: guix-git/doc/guix.texi:12541
  18078. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  18079. msgstr ""
  18080. #. type: Plain text
  18081. #: guix-git/doc/guix.texi:12546
  18082. msgid "When the @option{--advertise} option is passed, the server advertises its availability on the local network using multicast DNS (mDNS) and DNS service discovery (DNS-SD), currently @i{via} Guile-Avahi (@pxref{Top,,, guile-avahi, Using Avahi in Guile Scheme Programs})."
  18083. msgstr ""
  18084. #. type: example
  18085. #: guix-git/doc/guix.texi:12551
  18086. #, no-wrap
  18087. msgid "guix publish @var{options}@dots{}\n"
  18088. msgstr ""
  18089. #. type: Plain text
  18090. #: guix-git/doc/guix.texi:12555
  18091. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  18092. msgstr ""
  18093. #. type: example
  18094. #: guix-git/doc/guix.texi:12558
  18095. #, no-wrap
  18096. msgid "guix publish\n"
  18097. msgstr ""
  18098. #. type: Plain text
  18099. #: guix-git/doc/guix.texi:12562
  18100. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  18101. msgstr ""
  18102. #. type: Plain text
  18103. #: guix-git/doc/guix.texi:12570
  18104. msgid "By default, @command{guix publish} compresses archives on the fly as it serves them. This ``on-the-fly'' mode is convenient in that it requires no setup and is immediately available. However, when serving lots of clients, we recommend using the @option{--cache} option, which enables caching of the archives before they are sent to clients---see below for details. The @command{guix weather} command provides a handy way to check what a server provides (@pxref{Invoking guix weather})."
  18105. msgstr ""
  18106. #. type: Plain text
  18107. #: guix-git/doc/guix.texi:12577
  18108. msgid "As a bonus, @command{guix publish} also serves as a content-addressed mirror for source files referenced in @code{origin} records (@pxref{origin Reference}). For instance, assuming @command{guix publish} is running on @code{example.org}, the following URL returns the raw @file{hello-2.10.tar.gz} file with the given SHA256 hash (represented in @code{nix-base32} format, @pxref{Invoking guix hash}):"
  18109. msgstr ""
  18110. #. type: example
  18111. #: guix-git/doc/guix.texi:12580
  18112. #, no-wrap
  18113. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  18114. msgstr ""
  18115. #. type: Plain text
  18116. #: guix-git/doc/guix.texi:12584
  18117. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  18118. msgstr ""
  18119. #. type: cindex
  18120. #: guix-git/doc/guix.texi:12585
  18121. #, no-wrap
  18122. msgid "build logs, publication"
  18123. msgstr ""
  18124. #. type: Plain text
  18125. #: guix-git/doc/guix.texi:12587
  18126. msgid "Build logs are available from @code{/log} URLs like:"
  18127. msgstr ""
  18128. #. type: example
  18129. #: guix-git/doc/guix.texi:12590
  18130. #, no-wrap
  18131. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  18132. msgstr ""
  18133. #. type: Plain text
  18134. #: guix-git/doc/guix.texi:12600
  18135. msgid "When @command{guix-daemon} is configured to save compressed build logs, as is the case by default (@pxref{Invoking guix-daemon}), @code{/log} URLs return the compressed log as-is, with an appropriate @code{Content-Type} and/or @code{Content-Encoding} header. We recommend running @command{guix-daemon} with @option{--log-compression=gzip} since Web browsers can automatically decompress it, which is not the case with Bzip2 compression."
  18136. msgstr ""
  18137. #. type: item
  18138. #: guix-git/doc/guix.texi:12604
  18139. #, no-wrap
  18140. msgid "--port=@var{port}"
  18141. msgstr ""
  18142. #. type: itemx
  18143. #: guix-git/doc/guix.texi:12605
  18144. #, no-wrap
  18145. msgid "-p @var{port}"
  18146. msgstr ""
  18147. #. type: table
  18148. #: guix-git/doc/guix.texi:12607
  18149. msgid "Listen for HTTP requests on @var{port}."
  18150. msgstr ""
  18151. #. type: item
  18152. #: guix-git/doc/guix.texi:12608
  18153. #, no-wrap
  18154. msgid "--listen=@var{host}"
  18155. msgstr ""
  18156. #. type: table
  18157. #: guix-git/doc/guix.texi:12611
  18158. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  18159. msgstr ""
  18160. #. type: table
  18161. #: guix-git/doc/guix.texi:12616
  18162. msgid "Change privileges to @var{user} as soon as possible---i.e., once the server socket is open and the signing key has been read."
  18163. msgstr ""
  18164. #. type: item
  18165. #: guix-git/doc/guix.texi:12617
  18166. #, no-wrap
  18167. msgid "--compression[=@var{method}[:@var{level}]]"
  18168. msgstr ""
  18169. #. type: itemx
  18170. #: guix-git/doc/guix.texi:12618
  18171. #, no-wrap
  18172. msgid "-C [@var{method}[:@var{level}]]"
  18173. msgstr ""
  18174. #. type: table
  18175. #: guix-git/doc/guix.texi:12622
  18176. msgid "Compress data using the given @var{method} and @var{level}. @var{method} is one of @code{lzip}, @code{zstd}, and @code{gzip}; when @var{method} is omitted, @code{gzip} is used."
  18177. msgstr ""
  18178. #. type: table
  18179. #: guix-git/doc/guix.texi:12626
  18180. msgid "When @var{level} is zero, disable compression. The range 1 to 9 corresponds to different compression levels: 1 is the fastest, and 9 is the best (CPU-intensive). The default is 3."
  18181. msgstr ""
  18182. #. type: table
  18183. #: guix-git/doc/guix.texi:12633
  18184. msgid "Usually, @code{lzip} compresses noticeably better than @code{gzip} for a small increase in CPU usage; see @uref{https://nongnu.org/lzip/lzip_benchmark.html,benchmarks on the lzip Web page}. However, @code{lzip} achieves low decompression throughput (on the order of 50@tie{}MiB/s on modern hardware), which can be a bottleneck for someone who downloads over a fast network connection."
  18185. msgstr ""
  18186. #. type: table
  18187. #: guix-git/doc/guix.texi:12637
  18188. msgid "The compression ratio of @code{zstd} is between that of @code{lzip} and that of @code{gzip}; its main advantage is a @uref{https://facebook.github.io/zstd/,high decompression speed}."
  18189. msgstr ""
  18190. #. type: table
  18191. #: guix-git/doc/guix.texi:12646
  18192. msgid "Unless @option{--cache} is used, compression occurs on the fly and the compressed streams are not cached. Thus, to reduce load on the machine that runs @command{guix publish}, it may be a good idea to choose a low compression level, to run @command{guix publish} behind a caching proxy, or to use @option{--cache}. Using @option{--cache} has the advantage that it allows @command{guix publish} to add @code{Content-Length} HTTP header to its responses."
  18193. msgstr ""
  18194. #. type: table
  18195. #: guix-git/doc/guix.texi:12651
  18196. msgid "This option can be repeated, in which case every substitute gets compressed using all the selected methods, and all of them are advertised. This is useful when users may not support all the compression methods: they can select the one they support."
  18197. msgstr ""
  18198. #. type: item
  18199. #: guix-git/doc/guix.texi:12652
  18200. #, no-wrap
  18201. msgid "--cache=@var{directory}"
  18202. msgstr ""
  18203. #. type: itemx
  18204. #: guix-git/doc/guix.texi:12653
  18205. #, no-wrap
  18206. msgid "-c @var{directory}"
  18207. msgstr ""
  18208. #. type: table
  18209. #: guix-git/doc/guix.texi:12656
  18210. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  18211. msgstr ""
  18212. #. type: table
  18213. #: guix-git/doc/guix.texi:12664
  18214. msgid "When this option is omitted, archives and meta-data are created on-the-fly. This can reduce the available bandwidth, especially when compression is enabled, since this may become CPU-bound. Another drawback of the default mode is that the length of archives is not known in advance, so @command{guix publish} does not add a @code{Content-Length} HTTP header to its responses, which in turn prevents clients from knowing the amount of data being downloaded."
  18215. msgstr ""
  18216. #. type: table
  18217. #: guix-git/doc/guix.texi:12672
  18218. msgid "Conversely, when @option{--cache} is used, the first request for a store item (@i{via} a @code{.narinfo} URL) triggers a background process to @dfn{bake} the archive---computing its @code{.narinfo} and compressing the archive, if needed. Once the archive is cached in @var{directory}, subsequent requests succeed and are served directly from the cache, which guarantees that clients get the best possible bandwidth."
  18219. msgstr ""
  18220. #. type: table
  18221. #: guix-git/doc/guix.texi:12679
  18222. msgid "That first @code{.narinfo} request nonetheless returns 200, provided the requested store item is ``small enough'', below the cache bypass threshold---see @option{--cache-bypass-threshold} below. That way, clients do not have to wait until the archive is baked. For larger store items, the first @code{.narinfo} request returns 404, meaning that clients have to wait until the archive is baked."
  18223. msgstr ""
  18224. #. type: table
  18225. #: guix-git/doc/guix.texi:12683
  18226. msgid "The ``baking'' process is performed by worker threads. By default, one thread per CPU core is created, but this can be customized. See @option{--workers} below."
  18227. msgstr ""
  18228. #. type: table
  18229. #: guix-git/doc/guix.texi:12686
  18230. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  18231. msgstr ""
  18232. #. type: item
  18233. #: guix-git/doc/guix.texi:12687
  18234. #, no-wrap
  18235. msgid "--workers=@var{N}"
  18236. msgstr ""
  18237. #. type: table
  18238. #: guix-git/doc/guix.texi:12690
  18239. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  18240. msgstr ""
  18241. #. type: item
  18242. #: guix-git/doc/guix.texi:12691
  18243. #, no-wrap
  18244. msgid "--ttl=@var{ttl}"
  18245. msgstr ""
  18246. #. type: table
  18247. #: guix-git/doc/guix.texi:12695
  18248. msgid "Produce @code{Cache-Control} HTTP headers that advertise a time-to-live (TTL) of @var{ttl}. @var{ttl} must denote a duration: @code{5d} means 5 days, @code{1m} means 1 month, and so on."
  18249. msgstr ""
  18250. #. type: table
  18251. #: guix-git/doc/guix.texi:12700
  18252. msgid "This allows the user's Guix to keep substitute information in cache for @var{ttl}. However, note that @code{guix publish} does not itself guarantee that the store items it provides will indeed remain available for as long as @var{ttl}."
  18253. msgstr ""
  18254. #. type: table
  18255. #: guix-git/doc/guix.texi:12704
  18256. msgid "Additionally, when @option{--cache} is used, cached entries that have not been accessed for @var{ttl} and that no longer have a corresponding item in the store, may be deleted."
  18257. msgstr ""
  18258. #. type: item
  18259. #: guix-git/doc/guix.texi:12705
  18260. #, no-wrap
  18261. msgid "--cache-bypass-threshold=@var{size}"
  18262. msgstr ""
  18263. #. type: table
  18264. #: guix-git/doc/guix.texi:12710
  18265. msgid "When used in conjunction with @option{--cache}, store items smaller than @var{size} are immediately available, even when they are not yet in cache. @var{size} is a size in bytes, or it can be suffixed by @code{M} for megabytes and so on. The default is @code{10M}."
  18266. msgstr ""
  18267. #. type: table
  18268. #: guix-git/doc/guix.texi:12715
  18269. msgid "``Cache bypass'' allows you to reduce the publication delay for clients at the expense of possibly additional I/O and CPU use on the server side: depending on the client access patterns, those store items can end up being baked several times until a copy is available in cache."
  18270. msgstr ""
  18271. #. type: table
  18272. #: guix-git/doc/guix.texi:12719
  18273. msgid "Increasing the threshold may be useful for sites that have few users, or to guarantee that users get substitutes even for store items that are not popular."
  18274. msgstr ""
  18275. #. type: item
  18276. #: guix-git/doc/guix.texi:12720
  18277. #, no-wrap
  18278. msgid "--nar-path=@var{path}"
  18279. msgstr ""
  18280. #. type: table
  18281. #: guix-git/doc/guix.texi:12723
  18282. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  18283. msgstr ""
  18284. #. type: table
  18285. #: guix-git/doc/guix.texi:12727
  18286. msgid "By default, nars are served at a URL such as @code{/nar/gzip/@dots{}-coreutils-8.25}. This option allows you to change the @code{/nar} part to @var{path}."
  18287. msgstr ""
  18288. #. type: item
  18289. #: guix-git/doc/guix.texi:12728
  18290. #, no-wrap
  18291. msgid "--public-key=@var{file}"
  18292. msgstr ""
  18293. #. type: itemx
  18294. #: guix-git/doc/guix.texi:12729
  18295. #, no-wrap
  18296. msgid "--private-key=@var{file}"
  18297. msgstr ""
  18298. #. type: table
  18299. #: guix-git/doc/guix.texi:12732 guix-git/doc/guix.texi:27359
  18300. #: guix-git/doc/guix.texi:27393
  18301. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  18302. msgstr ""
  18303. #. type: table
  18304. #: guix-git/doc/guix.texi:12739
  18305. msgid "The files must correspond to the same key pair (the private key is used for signing and the public key is merely advertised in the signature metadata). They must contain keys in the canonical s-expression format as produced by @command{guix archive --generate-key} (@pxref{Invoking guix archive}). By default, @file{/etc/guix/signing-key.pub} and @file{/etc/guix/signing-key.sec} are used."
  18306. msgstr ""
  18307. #. type: item
  18308. #: guix-git/doc/guix.texi:12740
  18309. #, no-wrap
  18310. msgid "--repl[=@var{port}]"
  18311. msgstr ""
  18312. #. type: itemx
  18313. #: guix-git/doc/guix.texi:12741
  18314. #, no-wrap
  18315. msgid "-r [@var{port}]"
  18316. msgstr ""
  18317. #. type: table
  18318. #: guix-git/doc/guix.texi:12745
  18319. msgid "Spawn a Guile REPL server (@pxref{REPL Servers,,, guile, GNU Guile Reference Manual}) on @var{port} (37146 by default). This is used primarily for debugging a running @command{guix publish} server."
  18320. msgstr ""
  18321. #. type: Plain text
  18322. #: guix-git/doc/guix.texi:12751
  18323. msgid "Enabling @command{guix publish} on Guix System is a one-liner: just instantiate a @code{guix-publish-service-type} service in the @code{services} field of the @code{operating-system} declaration (@pxref{guix-publish-service-type, @code{guix-publish-service-type}})."
  18324. msgstr ""
  18325. #. type: Plain text
  18326. #: guix-git/doc/guix.texi:12754
  18327. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  18328. msgstr ""
  18329. #. type: itemize
  18330. #: guix-git/doc/guix.texi:12758
  18331. msgid "If your host distro uses the systemd init system:"
  18332. msgstr ""
  18333. #. type: example
  18334. #: guix-git/doc/guix.texi:12763
  18335. #, no-wrap
  18336. msgid ""
  18337. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  18338. " /etc/systemd/system/\n"
  18339. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  18340. msgstr ""
  18341. #. type: example
  18342. #: guix-git/doc/guix.texi:12771
  18343. #, no-wrap
  18344. msgid ""
  18345. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  18346. "# start guix-publish\n"
  18347. msgstr ""
  18348. #. type: itemize
  18349. #: guix-git/doc/guix.texi:12775
  18350. msgid "Otherwise, proceed similarly with your distro's init system."
  18351. msgstr ""
  18352. #. type: section
  18353. #: guix-git/doc/guix.texi:12778
  18354. #, no-wrap
  18355. msgid "Invoking @command{guix challenge}"
  18356. msgstr ""
  18357. #. type: cindex
  18358. #: guix-git/doc/guix.texi:12781
  18359. #, no-wrap
  18360. msgid "verifiable builds"
  18361. msgstr ""
  18362. #. type: command{#1}
  18363. #: guix-git/doc/guix.texi:12782
  18364. #, no-wrap
  18365. msgid "guix challenge"
  18366. msgstr ""
  18367. #. type: cindex
  18368. #: guix-git/doc/guix.texi:12783
  18369. #, no-wrap
  18370. msgid "challenge"
  18371. msgstr ""
  18372. #. type: Plain text
  18373. #: guix-git/doc/guix.texi:12788
  18374. msgid "Do the binaries provided by this server really correspond to the source code it claims to build? Is a package build process deterministic? These are the questions the @command{guix challenge} command attempts to answer."
  18375. msgstr ""
  18376. #. type: Plain text
  18377. #: guix-git/doc/guix.texi:12796
  18378. msgid "The former is obviously an important question: Before using a substitute server (@pxref{Substitutes}), one had better @emph{verify} that it provides the right binaries, and thus @emph{challenge} it. The latter is what enables the former: If package builds are deterministic, then independent builds of the package should yield the exact same result, bit for bit; if a server provides a binary different from the one obtained locally, it may be either corrupt or malicious."
  18379. msgstr ""
  18380. #. type: Plain text
  18381. #: guix-git/doc/guix.texi:12805
  18382. msgid "We know that the hash that shows up in @file{/gnu/store} file names is the hash of all the inputs of the process that built the file or directory---compilers, libraries, build scripts, etc. (@pxref{Introduction}). Assuming deterministic build processes, one store file name should map to exactly one build output. @command{guix challenge} checks whether there is, indeed, a single mapping by comparing the build outputs of several independent builds of any given store item."
  18383. msgstr ""
  18384. #. type: Plain text
  18385. #: guix-git/doc/guix.texi:12807
  18386. msgid "The command output looks like this:"
  18387. msgstr ""
  18388. #. type: smallexample
  18389. #: guix-git/doc/guix.texi:12819
  18390. #, no-wrap
  18391. msgid ""
  18392. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER} https://guix.example.org\"\n"
  18393. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER}'... 100.0%\n"
  18394. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  18395. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  18396. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  18397. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  18398. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  18399. " differing files:\n"
  18400. " /lib/libcrypto.so.1.1\n"
  18401. " /lib/libssl.so.1.1\n"
  18402. "\n"
  18403. msgstr ""
  18404. #. type: smallexample
  18405. #: guix-git/doc/guix.texi:12826
  18406. #, no-wrap
  18407. msgid ""
  18408. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  18409. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  18410. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  18411. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  18412. " differing file:\n"
  18413. " /libexec/git-core/git-fsck\n"
  18414. "\n"
  18415. msgstr ""
  18416. #. type: smallexample
  18417. #: guix-git/doc/guix.texi:12833
  18418. #, no-wrap
  18419. msgid ""
  18420. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  18421. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  18422. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  18423. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  18424. " differing file:\n"
  18425. " /share/man/man1/pius.1.gz\n"
  18426. "\n"
  18427. msgstr ""
  18428. #. type: smallexample
  18429. #: guix-git/doc/guix.texi:12835
  18430. #, no-wrap
  18431. msgid ""
  18432. "@dots{}\n"
  18433. "\n"
  18434. msgstr ""
  18435. #. type: smallexample
  18436. #: guix-git/doc/guix.texi:12840
  18437. #, no-wrap
  18438. msgid ""
  18439. "6,406 store items were analyzed:\n"
  18440. " - 4,749 (74.1%) were identical\n"
  18441. " - 525 (8.2%) differed\n"
  18442. " - 1,132 (17.7%) were inconclusive\n"
  18443. msgstr ""
  18444. #. type: Plain text
  18445. #: guix-git/doc/guix.texi:12848
  18446. msgid "In this example, @command{guix challenge} first scans the store to determine the set of locally-built derivations---as opposed to store items that were downloaded from a substitute server---and then queries all the substitute servers. It then reports those store items for which the servers obtained a result different from the local build."
  18447. msgstr ""
  18448. #. type: cindex
  18449. #: guix-git/doc/guix.texi:12849
  18450. #, no-wrap
  18451. msgid "non-determinism, in package builds"
  18452. msgstr ""
  18453. #. type: Plain text
  18454. #: guix-git/doc/guix.texi:12860
  18455. msgid "As an example, @code{guix.example.org} always gets a different answer. Conversely, @code{@value{SUBSTITUTE-SERVER}} agrees with local builds, except in the case of Git. This might indicate that the build process of Git is non-deterministic, meaning that its output varies as a function of various things that Guix does not fully control, in spite of building packages in isolated environments (@pxref{Features}). Most common sources of non-determinism include the addition of timestamps in build results, the inclusion of random numbers, and directory listings sorted by inode number. See @uref{https://reproducible-builds.org/docs/}, for more information."
  18456. msgstr ""
  18457. #. type: Plain text
  18458. #: guix-git/doc/guix.texi:12863
  18459. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  18460. msgstr ""
  18461. #. type: example
  18462. #: guix-git/doc/guix.texi:12868
  18463. #, no-wrap
  18464. msgid ""
  18465. "guix challenge git \\\n"
  18466. " --diff=diffoscope \\\n"
  18467. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER} https://guix.example.org\"\n"
  18468. msgstr ""
  18469. #. type: Plain text
  18470. #: guix-git/doc/guix.texi:12872
  18471. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  18472. msgstr ""
  18473. #. type: Plain text
  18474. #: guix-git/doc/guix.texi:12875
  18475. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  18476. msgstr ""
  18477. #. type: example
  18478. #: guix-git/doc/guix.texi:12880
  18479. #, no-wrap
  18480. msgid ""
  18481. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  18482. " | lzip -d | guix archive -x /tmp/git\n"
  18483. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  18484. msgstr ""
  18485. #. type: Plain text
  18486. #: guix-git/doc/guix.texi:12889
  18487. msgid "This command shows the difference between the files resulting from the local build, and the files resulting from the build on @code{@value{SUBSTITUTE-SERVER}} (@pxref{Overview, Comparing and Merging Files,, diffutils, Comparing and Merging Files}). The @command{diff} command works great for text files. When binary files differ, a better option is @uref{https://diffoscope.org/, Diffoscope}, a tool that helps visualize differences for all kinds of files."
  18488. msgstr ""
  18489. #. type: Plain text
  18490. #: guix-git/doc/guix.texi:12897
  18491. msgid "Once you have done that work, you can tell whether the differences are due to a non-deterministic build process or to a malicious server. We try hard to remove sources of non-determinism in packages to make it easier to verify substitutes, but of course, this is a process that involves not just Guix, but a large part of the free software community. In the meantime, @command{guix challenge} is one tool to help address the problem."
  18492. msgstr ""
  18493. #. type: Plain text
  18494. #: guix-git/doc/guix.texi:12901
  18495. msgid "If you are writing packages for Guix, you are encouraged to check whether @code{@value{SUBSTITUTE-SERVER}} and other substitute servers obtain the same build result as you did with:"
  18496. msgstr ""
  18497. #. type: example
  18498. #: guix-git/doc/guix.texi:12904
  18499. #, no-wrap
  18500. msgid "$ guix challenge @var{package}\n"
  18501. msgstr ""
  18502. #. type: Plain text
  18503. #: guix-git/doc/guix.texi:12909
  18504. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  18505. msgstr ""
  18506. #. type: example
  18507. #: guix-git/doc/guix.texi:12914
  18508. #, no-wrap
  18509. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  18510. msgstr ""
  18511. #. type: Plain text
  18512. #: guix-git/doc/guix.texi:12921
  18513. msgid "When a difference is found between the hash of a locally-built item and that of a server-provided substitute, or among substitutes provided by different servers, the command displays it as in the example above and its exit code is 2 (other non-zero exit codes denote other kinds of errors)."
  18514. msgstr ""
  18515. #. type: Plain text
  18516. #: guix-git/doc/guix.texi:12923
  18517. msgid "The one option that matters is:"
  18518. msgstr ""
  18519. #. type: table
  18520. #: guix-git/doc/guix.texi:12929
  18521. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  18522. msgstr ""
  18523. #. type: item
  18524. #: guix-git/doc/guix.texi:12930
  18525. #, no-wrap
  18526. msgid "--diff=@var{mode}"
  18527. msgstr ""
  18528. #. type: table
  18529. #: guix-git/doc/guix.texi:12932
  18530. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  18531. msgstr ""
  18532. #. type: item
  18533. #: guix-git/doc/guix.texi:12934
  18534. #, no-wrap
  18535. msgid "@code{simple} (the default)"
  18536. msgstr ""
  18537. #. type: table
  18538. #: guix-git/doc/guix.texi:12936
  18539. msgid "Show the list of files that differ."
  18540. msgstr ""
  18541. #. type: code{#1}
  18542. #: guix-git/doc/guix.texi:12937
  18543. #, no-wrap
  18544. msgid "diffoscope"
  18545. msgstr ""
  18546. #. type: var{#1}
  18547. #: guix-git/doc/guix.texi:12938
  18548. #, no-wrap
  18549. msgid "command"
  18550. msgstr ""
  18551. #. type: table
  18552. #: guix-git/doc/guix.texi:12941
  18553. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  18554. msgstr ""
  18555. #. type: table
  18556. #: guix-git/doc/guix.texi:12944
  18557. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  18558. msgstr ""
  18559. #. type: item
  18560. #: guix-git/doc/guix.texi:12945 guix-git/doc/guix.texi:16257
  18561. #: guix-git/doc/guix.texi:18246
  18562. #, no-wrap
  18563. msgid "none"
  18564. msgstr ""
  18565. #. type: table
  18566. #: guix-git/doc/guix.texi:12947
  18567. msgid "Do not show further details about the differences."
  18568. msgstr ""
  18569. #. type: table
  18570. #: guix-git/doc/guix.texi:12952
  18571. msgid "Thus, unless @option{--diff=none} is passed, @command{guix challenge} downloads the store items from the given substitute servers so that it can compare them."
  18572. msgstr ""
  18573. #. type: item
  18574. #: guix-git/doc/guix.texi:12953
  18575. #, no-wrap
  18576. msgid "--verbose"
  18577. msgstr ""
  18578. #. type: itemx
  18579. #: guix-git/doc/guix.texi:12954
  18580. #, no-wrap
  18581. msgid "-v"
  18582. msgstr ""
  18583. #. type: table
  18584. #: guix-git/doc/guix.texi:12957
  18585. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  18586. msgstr ""
  18587. #. type: section
  18588. #: guix-git/doc/guix.texi:12961
  18589. #, no-wrap
  18590. msgid "Invoking @command{guix copy}"
  18591. msgstr ""
  18592. #. type: cindex
  18593. #: guix-git/doc/guix.texi:12963
  18594. #, no-wrap
  18595. msgid "copy, of store items, over SSH"
  18596. msgstr ""
  18597. #. type: cindex
  18598. #: guix-git/doc/guix.texi:12964
  18599. #, no-wrap
  18600. msgid "SSH, copy of store items"
  18601. msgstr ""
  18602. #. type: cindex
  18603. #: guix-git/doc/guix.texi:12965
  18604. #, no-wrap
  18605. msgid "sharing store items across machines"
  18606. msgstr ""
  18607. #. type: cindex
  18608. #: guix-git/doc/guix.texi:12966
  18609. #, no-wrap
  18610. msgid "transferring store items across machines"
  18611. msgstr ""
  18612. #. type: Plain text
  18613. #: guix-git/doc/guix.texi:12973
  18614. msgid "The @command{guix copy} command copies items from the store of one machine to that of another machine over a secure shell (SSH) connection@footnote{This command is available only when Guile-SSH was found. @xref{Requirements}, for details.}. For example, the following command copies the @code{coreutils} package, the user's profile, and all their dependencies over to @var{host}, logged in as @var{user}:"
  18615. msgstr ""
  18616. #. type: example
  18617. #: guix-git/doc/guix.texi:12977
  18618. #, no-wrap
  18619. msgid ""
  18620. "guix copy --to=@var{user}@@@var{host} \\\n"
  18621. " coreutils $(readlink -f ~/.guix-profile)\n"
  18622. msgstr ""
  18623. #. type: Plain text
  18624. #: guix-git/doc/guix.texi:12981
  18625. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  18626. msgstr ""
  18627. #. type: Plain text
  18628. #: guix-git/doc/guix.texi:12984
  18629. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  18630. msgstr ""
  18631. #. type: example
  18632. #: guix-git/doc/guix.texi:12987
  18633. #, no-wrap
  18634. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  18635. msgstr ""
  18636. #. type: Plain text
  18637. #: guix-git/doc/guix.texi:12992
  18638. msgid "The SSH connection is established using the Guile-SSH client, which is compatible with OpenSSH: it honors @file{~/.ssh/known_hosts} and @file{~/.ssh/config}, and uses the SSH agent for authentication."
  18639. msgstr ""
  18640. #. type: Plain text
  18641. #: guix-git/doc/guix.texi:12998
  18642. msgid "The key used to sign items that are sent must be accepted by the remote machine. Likewise, the key used by the remote machine to sign items you are retrieving must be in @file{/etc/guix/acl} so it is accepted by your own daemon. @xref{Invoking guix archive}, for more information about store item authentication."
  18643. msgstr ""
  18644. #. type: example
  18645. #: guix-git/doc/guix.texi:13003
  18646. #, no-wrap
  18647. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  18648. msgstr ""
  18649. #. type: Plain text
  18650. #: guix-git/doc/guix.texi:13006
  18651. msgid "You must always specify one of the following options:"
  18652. msgstr ""
  18653. #. type: item
  18654. #: guix-git/doc/guix.texi:13008
  18655. #, no-wrap
  18656. msgid "--to=@var{spec}"
  18657. msgstr ""
  18658. #. type: itemx
  18659. #: guix-git/doc/guix.texi:13009
  18660. #, no-wrap
  18661. msgid "--from=@var{spec}"
  18662. msgstr ""
  18663. #. type: table
  18664. #: guix-git/doc/guix.texi:13013
  18665. msgid "Specify the host to send to or receive from. @var{spec} must be an SSH spec such as @code{example.org}, @code{charlie@@example.org}, or @code{charlie@@example.org:2222}."
  18666. msgstr ""
  18667. #. type: Plain text
  18668. #: guix-git/doc/guix.texi:13017
  18669. msgid "The @var{items} can be either package names, such as @code{gimp}, or store items, such as @file{/gnu/store/@dots{}-idutils-4.6}."
  18670. msgstr ""
  18671. #. type: Plain text
  18672. #: guix-git/doc/guix.texi:13021
  18673. msgid "When specifying the name of a package to send, it is first built if needed, unless @option{--dry-run} was specified. Common build options are supported (@pxref{Common Build Options})."
  18674. msgstr ""
  18675. #. type: section
  18676. #: guix-git/doc/guix.texi:13024
  18677. #, no-wrap
  18678. msgid "Invoking @command{guix container}"
  18679. msgstr ""
  18680. #. type: command{#1}
  18681. #: guix-git/doc/guix.texi:13026
  18682. #, no-wrap
  18683. msgid "guix container"
  18684. msgstr ""
  18685. #. type: quotation
  18686. #: guix-git/doc/guix.texi:13030
  18687. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  18688. msgstr ""
  18689. #. type: Plain text
  18690. #: guix-git/doc/guix.texi:13037
  18691. msgid "The purpose of @command{guix container} is to manipulate processes running within an isolated environment, commonly known as a ``container'', typically created by the @command{guix environment} (@pxref{Invoking guix environment}) and @command{guix system container} (@pxref{Invoking guix system}) commands."
  18692. msgstr ""
  18693. #. type: example
  18694. #: guix-git/doc/guix.texi:13042
  18695. #, no-wrap
  18696. msgid "guix container @var{action} @var{options}@dots{}\n"
  18697. msgstr ""
  18698. #. type: Plain text
  18699. #: guix-git/doc/guix.texi:13046
  18700. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  18701. msgstr ""
  18702. #. type: Plain text
  18703. #: guix-git/doc/guix.texi:13048
  18704. msgid "The following actions are available:"
  18705. msgstr ""
  18706. #. type: item
  18707. #: guix-git/doc/guix.texi:13050
  18708. #, no-wrap
  18709. msgid "exec"
  18710. msgstr ""
  18711. #. type: table
  18712. #: guix-git/doc/guix.texi:13052
  18713. msgid "Execute a command within the context of a running container."
  18714. msgstr ""
  18715. #. type: table
  18716. #: guix-git/doc/guix.texi:13054
  18717. msgid "The syntax is:"
  18718. msgstr ""
  18719. #. type: example
  18720. #: guix-git/doc/guix.texi:13057
  18721. #, no-wrap
  18722. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  18723. msgstr ""
  18724. #. type: table
  18725. #: guix-git/doc/guix.texi:13063
  18726. msgid "@var{pid} specifies the process ID of the running container. @var{program} specifies an executable file name within the root file system of the container. @var{arguments} are the additional options that will be passed to @var{program}."
  18727. msgstr ""
  18728. #. type: table
  18729. #: guix-git/doc/guix.texi:13067
  18730. msgid "The following command launches an interactive login shell inside a Guix system container, started by @command{guix system container}, and whose process ID is 9001:"
  18731. msgstr ""
  18732. #. type: example
  18733. #: guix-git/doc/guix.texi:13070
  18734. #, no-wrap
  18735. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  18736. msgstr ""
  18737. #. type: table
  18738. #: guix-git/doc/guix.texi:13074
  18739. msgid "Note that the @var{pid} cannot be the parent process of a container. It must be PID 1 of the container or one of its child processes."
  18740. msgstr ""
  18741. #. type: section
  18742. #: guix-git/doc/guix.texi:13078
  18743. #, no-wrap
  18744. msgid "Invoking @command{guix weather}"
  18745. msgstr ""
  18746. #. type: Plain text
  18747. #: guix-git/doc/guix.texi:13087
  18748. msgid "Occasionally you're grumpy because substitutes are lacking and you end up building packages by yourself (@pxref{Substitutes}). The @command{guix weather} command reports on substitute availability on the specified servers so you can have an idea of whether you'll be grumpy today. It can sometimes be useful info as a user, but it is primarily useful to people running @command{guix publish} (@pxref{Invoking guix publish})."
  18749. msgstr ""
  18750. #. type: cindex
  18751. #: guix-git/doc/guix.texi:13088
  18752. #, no-wrap
  18753. msgid "statistics, for substitutes"
  18754. msgstr ""
  18755. #. type: cindex
  18756. #: guix-git/doc/guix.texi:13089
  18757. #, no-wrap
  18758. msgid "availability of substitutes"
  18759. msgstr ""
  18760. #. type: cindex
  18761. #: guix-git/doc/guix.texi:13090
  18762. #, no-wrap
  18763. msgid "substitute availability"
  18764. msgstr ""
  18765. #. type: cindex
  18766. #: guix-git/doc/guix.texi:13091
  18767. #, no-wrap
  18768. msgid "weather, substitute availability"
  18769. msgstr ""
  18770. #. type: Plain text
  18771. #: guix-git/doc/guix.texi:13093
  18772. msgid "Here's a sample run:"
  18773. msgstr ""
  18774. #. type: example
  18775. #: guix-git/doc/guix.texi:13105
  18776. #, no-wrap
  18777. msgid ""
  18778. "$ guix weather --substitute-urls=https://guix.example.org\n"
  18779. "computing 5,872 package derivations for x86_64-linux...\n"
  18780. "looking for 6,128 store items on https://guix.example.org..\n"
  18781. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  18782. "https://guix.example.org\n"
  18783. " 43.4% substitutes available (2,658 out of 6,128)\n"
  18784. " 7,032.5 MiB of nars (compressed)\n"
  18785. " 19,824.2 MiB on disk (uncompressed)\n"
  18786. " 0.030 seconds per request (182.9 seconds in total)\n"
  18787. " 33.5 requests per second\n"
  18788. "\n"
  18789. msgstr ""
  18790. #. type: example
  18791. #: guix-git/doc/guix.texi:13115
  18792. #, no-wrap
  18793. msgid ""
  18794. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  18795. " 867 queued builds\n"
  18796. " x86_64-linux: 518 (59.7%)\n"
  18797. " i686-linux: 221 (25.5%)\n"
  18798. " aarch64-linux: 128 (14.8%)\n"
  18799. " build rate: 23.41 builds per hour\n"
  18800. " x86_64-linux: 11.16 builds per hour\n"
  18801. " i686-linux: 6.03 builds per hour\n"
  18802. " aarch64-linux: 6.41 builds per hour\n"
  18803. msgstr ""
  18804. #. type: cindex
  18805. #: guix-git/doc/guix.texi:13117
  18806. #, no-wrap
  18807. msgid "continuous integration, statistics"
  18808. msgstr ""
  18809. #. type: Plain text
  18810. #: guix-git/doc/guix.texi:13128
  18811. msgid "As you can see, it reports the fraction of all the packages for which substitutes are available on the server---regardless of whether substitutes are enabled, and regardless of whether this server's signing key is authorized. It also reports the size of the compressed archives (``nars'') provided by the server, the size the corresponding store items occupy in the store (assuming deduplication is turned off), and the server's throughput. The second part gives continuous integration (CI) statistics, if the server supports it. In addition, using the @option{--coverage} option, @command{guix weather} can list ``important'' package substitutes missing on the server (see below)."
  18812. msgstr ""
  18813. #. type: Plain text
  18814. #: guix-git/doc/guix.texi:13134
  18815. msgid "To achieve that, @command{guix weather} queries over HTTP(S) meta-data (@dfn{narinfos}) for all the relevant store items. Like @command{guix challenge}, it ignores signatures on those substitutes, which is innocuous since the command only gathers statistics and cannot install those substitutes."
  18816. msgstr ""
  18817. #. type: example
  18818. #: guix-git/doc/guix.texi:13139
  18819. #, no-wrap
  18820. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  18821. msgstr ""
  18822. #. type: Plain text
  18823. #: guix-git/doc/guix.texi:13147
  18824. msgid "When @var{packages} is omitted, @command{guix weather} checks the availability of substitutes for @emph{all} the packages, or for those specified with @option{--manifest}; otherwise it only considers the specified packages. It is also possible to query specific system types with @option{--system}. @command{guix weather} exits with a non-zero code when the fraction of available substitutes is below 100%."
  18825. msgstr ""
  18826. #. type: Plain text
  18827. #: guix-git/doc/guix.texi:13149
  18828. msgid "The available options are listed below."
  18829. msgstr ""
  18830. #. type: table
  18831. #: guix-git/doc/guix.texi:13155
  18832. msgid "@var{urls} is the space-separated list of substitute server URLs to query. When this option is omitted, the default set of substitute servers is queried."
  18833. msgstr ""
  18834. #. type: table
  18835. #: guix-git/doc/guix.texi:13161
  18836. msgid "Query substitutes for @var{system}---e.g., @code{aarch64-linux}. This option can be repeated, in which case @command{guix weather} will query substitutes for several system types."
  18837. msgstr ""
  18838. #. type: table
  18839. #: guix-git/doc/guix.texi:13167
  18840. msgid "Instead of querying substitutes for all the packages, only ask for those specified in @var{file}. @var{file} must contain a @dfn{manifest}, as with the @code{-m} option of @command{guix package} (@pxref{Invoking guix package})."
  18841. msgstr ""
  18842. #. type: table
  18843. #: guix-git/doc/guix.texi:13170
  18844. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  18845. msgstr ""
  18846. #. type: item
  18847. #: guix-git/doc/guix.texi:13171
  18848. #, no-wrap
  18849. msgid "--coverage[=@var{count}]"
  18850. msgstr ""
  18851. #. type: itemx
  18852. #: guix-git/doc/guix.texi:13172
  18853. #, no-wrap
  18854. msgid "-c [@var{count}]"
  18855. msgstr ""
  18856. #. type: table
  18857. #: guix-git/doc/guix.texi:13178
  18858. msgid "Report on substitute coverage for packages: list packages with at least @var{count} dependents (zero by default) for which substitutes are unavailable. Dependent packages themselves are not listed: if @var{b} depends on @var{a} and @var{a} has no substitutes, only @var{a} is listed, even though @var{b} usually lacks substitutes as well. The result looks like this:"
  18859. msgstr ""
  18860. #. type: example
  18861. #: guix-git/doc/guix.texi:13192
  18862. #, no-wrap
  18863. msgid ""
  18864. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URL} -c 10\n"
  18865. "computing 8,983 package derivations for x86_64-linux...\n"
  18866. "looking for 9,343 store items on @value{SUBSTITUTE-URL}...\n"
  18867. "updating substitutes from '@value{SUBSTITUTE-URL}'... 100.0%\n"
  18868. "@value{SUBSTITUTE-URL}\n"
  18869. " 64.7% substitutes available (6,047 out of 9,343)\n"
  18870. "@dots{}\n"
  18871. "2502 packages are missing from '@value{SUBSTITUTE-URL}' for 'x86_64-linux', among which:\n"
  18872. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  18873. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  18874. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  18875. " @dots{}\n"
  18876. msgstr ""
  18877. #. type: table
  18878. #: guix-git/doc/guix.texi:13198
  18879. msgid "What this example shows is that @code{kcoreaddons} and presumably the 58 packages that depend on it have no substitutes at @code{@value{SUBSTITUTE-SERVER}}; likewise for @code{qgpgme} and the 46 packages that depend on it."
  18880. msgstr ""
  18881. #. type: table
  18882. #: guix-git/doc/guix.texi:13202
  18883. msgid "If you are a Guix developer, or if you are taking care of this build farm, you'll probably want to have a closer look at these packages: they may simply fail to build."
  18884. msgstr ""
  18885. #. type: item
  18886. #: guix-git/doc/guix.texi:13203
  18887. #, no-wrap
  18888. msgid "--display-missing"
  18889. msgstr ""
  18890. #. type: table
  18891. #: guix-git/doc/guix.texi:13205
  18892. msgid "Display the list of store items for which substitutes are missing."
  18893. msgstr ""
  18894. #. type: section
  18895. #: guix-git/doc/guix.texi:13208
  18896. #, no-wrap
  18897. msgid "Invoking @command{guix processes}"
  18898. msgstr ""
  18899. #. type: Plain text
  18900. #: guix-git/doc/guix.texi:13216
  18901. msgid "The @command{guix processes} command can be useful to developers and system administrators, especially on multi-user machines and on build farms: it lists the current sessions (connections to the daemon), as well as information about the processes involved@footnote{Remote sessions, when @command{guix-daemon} is started with @option{--listen} specifying a TCP endpoint, are @emph{not} listed.}. Here's an example of the information it returns:"
  18902. msgstr ""
  18903. #. type: example
  18904. #: guix-git/doc/guix.texi:13222
  18905. #, no-wrap
  18906. msgid ""
  18907. "$ sudo guix processes\n"
  18908. "SessionPID: 19002\n"
  18909. "ClientPID: 19090\n"
  18910. "ClientCommand: guix environment --ad-hoc python\n"
  18911. "\n"
  18912. msgstr ""
  18913. #. type: example
  18914. #: guix-git/doc/guix.texi:13226
  18915. #, no-wrap
  18916. msgid ""
  18917. "SessionPID: 19402\n"
  18918. "ClientPID: 19367\n"
  18919. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  18920. "\n"
  18921. msgstr ""
  18922. #. type: example
  18923. #: guix-git/doc/guix.texi:13239
  18924. #, no-wrap
  18925. msgid ""
  18926. "SessionPID: 19444\n"
  18927. "ClientPID: 19419\n"
  18928. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  18929. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  18930. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  18931. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  18932. "ChildPID: 20495\n"
  18933. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  18934. "ChildPID: 27733\n"
  18935. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  18936. "ChildPID: 27793\n"
  18937. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  18938. msgstr ""
  18939. #. type: Plain text
  18940. #: guix-git/doc/guix.texi:13246
  18941. msgid "In this example we see that @command{guix-daemon} has three clients: @command{guix environment}, @command{guix publish}, and the Cuirass continuous integration tool; their process identifier (PID) is given by the @code{ClientPID} field. The @code{SessionPID} field gives the PID of the @command{guix-daemon} sub-process of this particular session."
  18942. msgstr ""
  18943. #. type: Plain text
  18944. #: guix-git/doc/guix.texi:13253
  18945. msgid "The @code{LockHeld} fields show which store items are currently locked by this session, which corresponds to store items being built or substituted (the @code{LockHeld} field is not displayed when @command{guix processes} is not running as root). Last, by looking at the @code{ChildPID} and @code{ChildCommand} fields, we understand that these three builds are being offloaded (@pxref{Daemon Offload Setup})."
  18946. msgstr ""
  18947. #. type: Plain text
  18948. #: guix-git/doc/guix.texi:13258
  18949. msgid "The output is in Recutils format so we can use the handy @command{recsel} command to select sessions of interest (@pxref{Selection Expressions,,, recutils, GNU recutils manual}). As an example, the command shows the command line and PID of the client that triggered the build of a Perl package:"
  18950. msgstr ""
  18951. #. type: example
  18952. #: guix-git/doc/guix.texi:13264
  18953. #, no-wrap
  18954. msgid ""
  18955. "$ sudo guix processes | \\\n"
  18956. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  18957. "ClientPID: 19419\n"
  18958. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  18959. msgstr ""
  18960. #. type: Plain text
  18961. #: guix-git/doc/guix.texi:13267
  18962. msgid "Additional options are listed below."
  18963. msgstr ""
  18964. #. type: table
  18965. #: guix-git/doc/guix.texi:13277
  18966. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  18967. msgstr ""
  18968. #. type: item
  18969. #: guix-git/doc/guix.texi:13278
  18970. #, no-wrap
  18971. msgid "normalized"
  18972. msgstr ""
  18973. #. type: table
  18974. #: guix-git/doc/guix.texi:13285
  18975. msgid "Normalize the output records into record sets (@pxref{Record Sets,,, recutils, GNU recutils manual}). Normalizing into record sets allows joins across record types. The example below lists the PID of each @code{ChildProcess} and the associated PID for @code{Session} that spawned the @code{ChildProcess} where the @code{Session} was started using @command{guix build}."
  18976. msgstr ""
  18977. #. type: example
  18978. #: guix-git/doc/guix.texi:13295
  18979. #, no-wrap
  18980. msgid ""
  18981. "$ guix processes --format=normalized | \\\n"
  18982. " recsel \\\n"
  18983. " -j Session \\\n"
  18984. " -t ChildProcess \\\n"
  18985. " -p Session.PID,PID \\\n"
  18986. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  18987. "PID: 4435\n"
  18988. "Session_PID: 4278\n"
  18989. "\n"
  18990. msgstr ""
  18991. #. type: example
  18992. #: guix-git/doc/guix.texi:13298
  18993. #, no-wrap
  18994. msgid ""
  18995. "PID: 4554\n"
  18996. "Session_PID: 4278\n"
  18997. "\n"
  18998. msgstr ""
  18999. #. type: example
  19000. #: guix-git/doc/guix.texi:13301
  19001. #, no-wrap
  19002. msgid ""
  19003. "PID: 4646\n"
  19004. "Session_PID: 4278\n"
  19005. msgstr ""
  19006. #. type: cindex
  19007. #: guix-git/doc/guix.texi:13308
  19008. #, no-wrap
  19009. msgid "system configuration"
  19010. msgstr ""
  19011. #. type: Plain text
  19012. #: guix-git/doc/guix.texi:13314
  19013. msgid "Guix System supports a consistent whole-system configuration mechanism. By that we mean that all aspects of the global system configuration---such as the available system services, timezone and locale settings, user accounts---are declared in a single place. Such a @dfn{system configuration} can be @dfn{instantiated}---i.e., effected."
  19014. msgstr ""
  19015. #. type: Plain text
  19016. #: guix-git/doc/guix.texi:13324
  19017. msgid "One of the advantages of putting all the system configuration under the control of Guix is that it supports transactional system upgrades, and makes it possible to roll back to a previous system instantiation, should something go wrong with the new one (@pxref{Features}). Another advantage is that it makes it easy to replicate the exact same configuration across different machines, or at different points in time, without having to resort to additional administration tools layered on top of the own tools of the system."
  19018. msgstr ""
  19019. #. type: Plain text
  19020. #: guix-git/doc/guix.texi:13329
  19021. msgid "This section describes this mechanism. First we focus on the system administrator's viewpoint---explaining how the system is configured and instantiated. Then we show how this mechanism can be extended, for instance to support new system services."
  19022. msgstr ""
  19023. #. type: Plain text
  19024. #: guix-git/doc/guix.texi:13358
  19025. msgid "The operating system is configured by providing an @code{operating-system} declaration in a file that can then be passed to the @command{guix system} command (@pxref{Invoking guix system}). A simple setup, with the default system services, the default Linux-Libre kernel, initial RAM disk, and boot loader looks like this:"
  19026. msgstr ""
  19027. #. type: code{#1}
  19028. #: guix-git/doc/guix.texi:13359 guix-git/doc/guix.texi:33410
  19029. #, no-wrap
  19030. msgid "operating-system"
  19031. msgstr ""
  19032. #. type: include
  19033. #: guix-git/doc/guix.texi:13361
  19034. #, no-wrap
  19035. msgid "os-config-bare-bones.texi"
  19036. msgstr ""
  19037. #. type: Plain text
  19038. #: guix-git/doc/guix.texi:13368
  19039. msgid "This example should be self-describing. Some of the fields defined above, such as @code{host-name} and @code{bootloader}, are mandatory. Others, such as @code{packages} and @code{services}, can be omitted, in which case they get a default value."
  19040. msgstr ""
  19041. #. type: Plain text
  19042. #: guix-git/doc/guix.texi:13373
  19043. msgid "Below we discuss the effect of some of the most important fields (@pxref{operating-system Reference}, for details about all the available fields), and how to @dfn{instantiate} the operating system using @command{guix system}."
  19044. msgstr ""
  19045. #. type: unnumberedsubsec
  19046. #: guix-git/doc/guix.texi:13374
  19047. #, no-wrap
  19048. msgid "Bootloader"
  19049. msgstr ""
  19050. #. type: cindex
  19051. #: guix-git/doc/guix.texi:13376
  19052. #, no-wrap
  19053. msgid "legacy boot, on Intel machines"
  19054. msgstr ""
  19055. #. type: cindex
  19056. #: guix-git/doc/guix.texi:13377
  19057. #, no-wrap
  19058. msgid "BIOS boot, on Intel machines"
  19059. msgstr ""
  19060. #. type: cindex
  19061. #: guix-git/doc/guix.texi:13378
  19062. #, no-wrap
  19063. msgid "UEFI boot"
  19064. msgstr ""
  19065. #. type: cindex
  19066. #: guix-git/doc/guix.texi:13379
  19067. #, no-wrap
  19068. msgid "EFI boot"
  19069. msgstr ""
  19070. #. type: Plain text
  19071. #: guix-git/doc/guix.texi:13385
  19072. msgid "The @code{bootloader} field describes the method that will be used to boot your system. Machines based on Intel processors can boot in ``legacy'' BIOS mode, as in the example above. However, more recent machines rely instead on the @dfn{Unified Extensible Firmware Interface} (UEFI) to boot. In that case, the @code{bootloader} field should contain something along these lines:"
  19073. msgstr ""
  19074. #. type: lisp
  19075. #: guix-git/doc/guix.texi:13390
  19076. #, no-wrap
  19077. msgid ""
  19078. "(bootloader-configuration\n"
  19079. " (bootloader grub-efi-bootloader)\n"
  19080. " (target \"/boot/efi\"))\n"
  19081. msgstr ""
  19082. #. type: Plain text
  19083. #: guix-git/doc/guix.texi:13394
  19084. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  19085. msgstr ""
  19086. #. type: unnumberedsubsec
  19087. #: guix-git/doc/guix.texi:13395
  19088. #, no-wrap
  19089. msgid "Globally-Visible Packages"
  19090. msgstr ""
  19091. #. type: vindex
  19092. #: guix-git/doc/guix.texi:13397
  19093. #, no-wrap
  19094. msgid "%base-packages"
  19095. msgstr ""
  19096. #. type: Plain text
  19097. #: guix-git/doc/guix.texi:13410
  19098. msgid "The @code{packages} field lists packages that will be globally visible on the system, for all user accounts---i.e., in every user's @env{PATH} environment variable---in addition to the per-user profiles (@pxref{Invoking guix package}). The @code{%base-packages} variable provides all the tools one would expect for basic user and administrator tasks---including the GNU Core Utilities, the GNU Networking Utilities, the GNU Zile lightweight text editor, @command{find}, @command{grep}, etc. The example above adds GNU@tie{}Screen to those, taken from the @code{(gnu packages screen)} module (@pxref{Package Modules}). The @code{(list package output)} syntax can be used to add a specific output of a package:"
  19099. msgstr ""
  19100. #. type: lisp
  19101. #: guix-git/doc/guix.texi:13414
  19102. #, no-wrap
  19103. msgid ""
  19104. "(use-modules (gnu packages))\n"
  19105. "(use-modules (gnu packages dns))\n"
  19106. "\n"
  19107. msgstr ""
  19108. #. type: lisp
  19109. #: guix-git/doc/guix.texi:13419
  19110. #, no-wrap
  19111. msgid ""
  19112. "(operating-system\n"
  19113. " ;; ...\n"
  19114. " (packages (cons (list bind \"utils\")\n"
  19115. " %base-packages)))\n"
  19116. msgstr ""
  19117. #. type: findex
  19118. #: guix-git/doc/guix.texi:13421
  19119. #, no-wrap
  19120. msgid "specification->package"
  19121. msgstr ""
  19122. #. type: Plain text
  19123. #: guix-git/doc/guix.texi:13430
  19124. msgid "Referring to packages by variable name, like @code{bind} above, has the advantage of being unambiguous; it also allows typos and such to be diagnosed right away as ``unbound variables''. The downside is that one needs to know which module defines which package, and to augment the @code{use-package-modules} line accordingly. To avoid that, one can use the @code{specification->package} procedure of the @code{(gnu packages)} module, which returns the best package for a given name or name and version:"
  19125. msgstr ""
  19126. #. type: lisp
  19127. #: guix-git/doc/guix.texi:13433
  19128. #, no-wrap
  19129. msgid ""
  19130. "(use-modules (gnu packages))\n"
  19131. "\n"
  19132. msgstr ""
  19133. #. type: lisp
  19134. #: guix-git/doc/guix.texi:13439
  19135. #, no-wrap
  19136. msgid ""
  19137. "(operating-system\n"
  19138. " ;; ...\n"
  19139. " (packages (append (map specification->package\n"
  19140. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  19141. " %base-packages)))\n"
  19142. msgstr ""
  19143. #. type: unnumberedsubsec
  19144. #: guix-git/doc/guix.texi:13441
  19145. #, no-wrap
  19146. msgid "System Services"
  19147. msgstr ""
  19148. #. type: cindex
  19149. #: guix-git/doc/guix.texi:13443 guix-git/doc/guix.texi:32193
  19150. #: guix-git/doc/guix.texi:33635
  19151. #, no-wrap
  19152. msgid "services"
  19153. msgstr ""
  19154. #. type: vindex
  19155. #: guix-git/doc/guix.texi:13444
  19156. #, no-wrap
  19157. msgid "%base-services"
  19158. msgstr ""
  19159. #. type: Plain text
  19160. #: guix-git/doc/guix.texi:13454
  19161. msgid "The @code{services} field lists @dfn{system services} to be made available when the system starts (@pxref{Services}). The @code{operating-system} declaration above specifies that, in addition to the basic services, we want the OpenSSH secure shell daemon listening on port 2222 (@pxref{Networking Services, @code{openssh-service-type}}). Under the hood, @code{openssh-service-type} arranges so that @command{sshd} is started with the right command-line options, possibly with supporting configuration files generated as needed (@pxref{Defining Services})."
  19162. msgstr ""
  19163. #. type: cindex
  19164. #: guix-git/doc/guix.texi:13455
  19165. #, no-wrap
  19166. msgid "customization, of services"
  19167. msgstr ""
  19168. #. type: findex
  19169. #: guix-git/doc/guix.texi:13456
  19170. #, no-wrap
  19171. msgid "modify-services"
  19172. msgstr ""
  19173. #. type: Plain text
  19174. #: guix-git/doc/guix.texi:13460
  19175. msgid "Occasionally, instead of using the base services as is, you will want to customize them. To do this, use @code{modify-services} (@pxref{Service Reference, @code{modify-services}}) to modify the list."
  19176. msgstr ""
  19177. #. type: Plain text
  19178. #: guix-git/doc/guix.texi:13465
  19179. msgid "For example, suppose you want to modify @code{guix-daemon} and Mingetty (the console log-in) in the @code{%base-services} list (@pxref{Base Services, @code{%base-services}}). To do that, you can write the following in your operating system declaration:"
  19180. msgstr ""
  19181. #. type: lisp
  19182. #: guix-git/doc/guix.texi:13482
  19183. #, no-wrap
  19184. msgid ""
  19185. "(define %my-services\n"
  19186. " ;; My very own list of services.\n"
  19187. " (modify-services %base-services\n"
  19188. " (guix-service-type config =>\n"
  19189. " (guix-configuration\n"
  19190. " (inherit config)\n"
  19191. " ;; Fetch substitutes from example.org.\n"
  19192. " (substitute-urls\n"
  19193. " (list \"https://example.org/guix\"\n"
  19194. " \"https://ci.guix.gnu.org\"))))\n"
  19195. " (mingetty-service-type config =>\n"
  19196. " (mingetty-configuration\n"
  19197. " (inherit config)\n"
  19198. " ;; Automatially log in as \"guest\".\n"
  19199. " (auto-login \"guest\")))))\n"
  19200. "\n"
  19201. msgstr ""
  19202. #. type: lisp
  19203. #: guix-git/doc/guix.texi:13486
  19204. #, no-wrap
  19205. msgid ""
  19206. "(operating-system\n"
  19207. " ;; @dots{}\n"
  19208. " (services %my-services))\n"
  19209. msgstr ""
  19210. #. type: Plain text
  19211. #: guix-git/doc/guix.texi:13497
  19212. msgid "This changes the configuration---i.e., the service parameters---of the @code{guix-service-type} instance, and that of all the @code{mingetty-service-type} instances in the @code{%base-services} list. Observe how this is accomplished: first, we arrange for the original configuration to be bound to the identifier @code{config} in the @var{body}, and then we write the @var{body} so that it evaluates to the desired configuration. In particular, notice how we use @code{inherit} to create a new configuration which has the same values as the old configuration, but with a few modifications."
  19213. msgstr ""
  19214. #. type: Plain text
  19215. #: guix-git/doc/guix.texi:13504
  19216. msgid "The configuration for a typical ``desktop'' usage, with an encrypted root partition, the X11 display server, GNOME and Xfce (users can choose which of these desktop environments to use at the log-in screen by pressing @kbd{F1}), network management, power management, and more, would look like this:"
  19217. msgstr ""
  19218. #. type: include
  19219. #: guix-git/doc/guix.texi:13506
  19220. #, no-wrap
  19221. msgid "os-config-desktop.texi"
  19222. msgstr ""
  19223. #. type: Plain text
  19224. #: guix-git/doc/guix.texi:13511
  19225. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  19226. msgstr ""
  19227. #. type: include
  19228. #: guix-git/doc/guix.texi:13513
  19229. #, no-wrap
  19230. msgid "os-config-lightweight-desktop.texi"
  19231. msgstr ""
  19232. #. type: Plain text
  19233. #: guix-git/doc/guix.texi:13519
  19234. msgid "This example refers to the @file{/boot/efi} file system by its UUID, @code{1234-ABCD}. Replace this UUID with the right UUID on your system, as returned by the @command{blkid} command."
  19235. msgstr ""
  19236. #. type: Plain text
  19237. #: guix-git/doc/guix.texi:13523
  19238. msgid "@xref{Desktop Services}, for the exact list of services provided by @code{%desktop-services}. @xref{X.509 Certificates}, for background information about the @code{nss-certs} package that is used here."
  19239. msgstr ""
  19240. #. type: Plain text
  19241. #: guix-git/doc/guix.texi:13530
  19242. msgid "Again, @code{%desktop-services} is just a list of service objects. If you want to remove services from there, you can do so using the procedures for list filtering (@pxref{SRFI-1 Filtering and Partitioning,,, guile, GNU Guile Reference Manual}). For instance, the following expression returns a list that contains all the services in @code{%desktop-services} minus the Avahi service:"
  19243. msgstr ""
  19244. #. type: lisp
  19245. #: guix-git/doc/guix.texi:13535
  19246. #, no-wrap
  19247. msgid ""
  19248. "(remove (lambda (service)\n"
  19249. " (eq? (service-kind service) avahi-service-type))\n"
  19250. " %desktop-services)\n"
  19251. msgstr ""
  19252. #. type: Plain text
  19253. #: guix-git/doc/guix.texi:13538
  19254. msgid "Alternatively, the @code{modify-services} macro can be used:"
  19255. msgstr ""
  19256. #. type: lisp
  19257. #: guix-git/doc/guix.texi:13542
  19258. #, no-wrap
  19259. msgid ""
  19260. "(modify-services %desktop-services\n"
  19261. " (delete avahi-service-type))\n"
  19262. msgstr ""
  19263. #. type: unnumberedsubsec
  19264. #: guix-git/doc/guix.texi:13545
  19265. #, no-wrap
  19266. msgid "Instantiating the System"
  19267. msgstr ""
  19268. #. type: Plain text
  19269. #: guix-git/doc/guix.texi:13552
  19270. msgid "Assuming the @code{operating-system} declaration is stored in the @file{my-system-config.scm} file, the @command{guix system reconfigure my-system-config.scm} command instantiates that configuration, and makes it the default GRUB boot entry (@pxref{Invoking guix system})."
  19271. msgstr ""
  19272. #. type: Plain text
  19273. #: guix-git/doc/guix.texi:13560
  19274. msgid "The normal way to change the system configuration is by updating this file and re-running @command{guix system reconfigure}. One should never have to touch files in @file{/etc} or to run commands that modify the system state such as @command{useradd} or @command{grub-install}. In fact, you must avoid that since that would not only void your warranty but also prevent you from rolling back to previous versions of your system, should you ever need to."
  19275. msgstr ""
  19276. #. type: cindex
  19277. #: guix-git/doc/guix.texi:13561
  19278. #, no-wrap
  19279. msgid "roll-back, of the operating system"
  19280. msgstr ""
  19281. #. type: Plain text
  19282. #: guix-git/doc/guix.texi:13571
  19283. msgid "Speaking of roll-back, each time you run @command{guix system reconfigure}, a new @dfn{generation} of the system is created---without modifying or deleting previous generations. Old system generations get an entry in the bootloader boot menu, allowing you to boot them in case something went wrong with the latest generation. Reassuring, no? The @command{guix system list-generations} command lists the system generations available on disk. It is also possible to roll back the system via the commands @command{guix system roll-back} and @command{guix system switch-generation}."
  19284. msgstr ""
  19285. #. type: Plain text
  19286. #: guix-git/doc/guix.texi:13577
  19287. msgid "Although the @command{guix system reconfigure} command will not modify previous generations, you must take care when the current generation is not the latest (e.g., after invoking @command{guix system roll-back}), since the operation might overwrite a later generation (@pxref{Invoking guix system})."
  19288. msgstr ""
  19289. #. type: unnumberedsubsec
  19290. #: guix-git/doc/guix.texi:13578
  19291. #, no-wrap
  19292. msgid "The Programming Interface"
  19293. msgstr ""
  19294. #. type: Plain text
  19295. #: guix-git/doc/guix.texi:13583
  19296. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  19297. msgstr ""
  19298. #. type: deffn
  19299. #: guix-git/doc/guix.texi:13584
  19300. #, no-wrap
  19301. msgid "{Monadic Procedure} operating-system-derivation os"
  19302. msgstr ""
  19303. #. type: deffn
  19304. #: guix-git/doc/guix.texi:13587
  19305. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  19306. msgstr ""
  19307. #. type: deffn
  19308. #: guix-git/doc/guix.texi:13591
  19309. msgid "The output of the derivation is a single directory that refers to all the packages, configuration files, and other supporting files needed to instantiate @var{os}."
  19310. msgstr ""
  19311. #. type: Plain text
  19312. #: guix-git/doc/guix.texi:13596
  19313. msgid "This procedure is provided by the @code{(gnu system)} module. Along with @code{(gnu services)} (@pxref{Services}), this module contains the guts of Guix System. Make sure to visit it!"
  19314. msgstr ""
  19315. #. type: section
  19316. #: guix-git/doc/guix.texi:13599
  19317. #, no-wrap
  19318. msgid "@code{operating-system} Reference"
  19319. msgstr ""
  19320. #. type: Plain text
  19321. #: guix-git/doc/guix.texi:13604
  19322. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  19323. msgstr ""
  19324. #. type: deftp
  19325. #: guix-git/doc/guix.texi:13605
  19326. #, no-wrap
  19327. msgid "{Data Type} operating-system"
  19328. msgstr ""
  19329. #. type: deftp
  19330. #: guix-git/doc/guix.texi:13609
  19331. msgid "This is the data type representing an operating system configuration. By that, we mean all the global system configuration, not per-user configuration (@pxref{Using the Configuration System})."
  19332. msgstr ""
  19333. #. type: item
  19334. #: guix-git/doc/guix.texi:13611
  19335. #, no-wrap
  19336. msgid "@code{kernel} (default: @code{linux-libre})"
  19337. msgstr ""
  19338. #. type: table
  19339. #: guix-git/doc/guix.texi:13616
  19340. msgid "The package object of the operating system kernel to use@footnote{Currently only the Linux-libre kernel is fully supported. Using GNU@tie{}mach with the GNU@tie{}Hurd is experimental and only available when building a virtual machine disk image.}."
  19341. msgstr ""
  19342. #. type: code{#1}
  19343. #: guix-git/doc/guix.texi:13617 guix-git/doc/guix.texi:28901
  19344. #, no-wrap
  19345. msgid "hurd"
  19346. msgstr ""
  19347. #. type: item
  19348. #: guix-git/doc/guix.texi:13618
  19349. #, no-wrap
  19350. msgid "@code{hurd} (default: @code{#f})"
  19351. msgstr ""
  19352. #. type: table
  19353. #: guix-git/doc/guix.texi:13623
  19354. msgid "The package object of the Hurd to be started by the kernel. When this field is set, produce a GNU/Hurd operating system. In that case, @code{kernel} must also be set to the @code{gnumach} package---the microkernel the Hurd runs on."
  19355. msgstr ""
  19356. #. type: quotation
  19357. #: guix-git/doc/guix.texi:13626
  19358. msgid "This feature is experimental and only supported for disk images."
  19359. msgstr ""
  19360. #. type: item
  19361. #: guix-git/doc/guix.texi:13628
  19362. #, no-wrap
  19363. msgid "@code{kernel-loadable-modules} (default: '())"
  19364. msgstr ""
  19365. #. type: table
  19366. #: guix-git/doc/guix.texi:13631
  19367. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  19368. msgstr ""
  19369. #. type: item
  19370. #: guix-git/doc/guix.texi:13632
  19371. #, no-wrap
  19372. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  19373. msgstr ""
  19374. #. type: table
  19375. #: guix-git/doc/guix.texi:13635
  19376. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  19377. msgstr ""
  19378. #. type: code{#1}
  19379. #: guix-git/doc/guix.texi:13636 guix-git/doc/guix.texi:32406
  19380. #: guix-git/doc/guix.texi:32425
  19381. #, no-wrap
  19382. msgid "bootloader"
  19383. msgstr ""
  19384. #. type: table
  19385. #: guix-git/doc/guix.texi:13638
  19386. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  19387. msgstr ""
  19388. #. type: code{#1}
  19389. #: guix-git/doc/guix.texi:13639 guix-git/doc/guix.texi:32595
  19390. #, no-wrap
  19391. msgid "label"
  19392. msgstr ""
  19393. #. type: table
  19394. #: guix-git/doc/guix.texi:13642
  19395. msgid "This is the label (a string) as it appears in the bootloader's menu entry. The default label includes the kernel name and version."
  19396. msgstr ""
  19397. #. type: item
  19398. #: guix-git/doc/guix.texi:13643 guix-git/doc/guix.texi:18070
  19399. #: guix-git/doc/guix.texi:32525
  19400. #, no-wrap
  19401. msgid "@code{keyboard-layout} (default: @code{#f})"
  19402. msgstr ""
  19403. #. type: table
  19404. #: guix-git/doc/guix.texi:13648
  19405. msgid "This field specifies the keyboard layout to use in the console. It can be either @code{#f}, in which case the default keyboard layout is used (usually US English), or a @code{<keyboard-layout>} record. @xref{Keyboard Layout}, for more information."
  19406. msgstr ""
  19407. #. type: table
  19408. #: guix-git/doc/guix.texi:13653
  19409. msgid "This keyboard layout is in effect as soon as the kernel has booted. For instance, it is the keyboard layout in effect when you type a passphrase if your root file system is on a @code{luks-device-mapping} mapped device (@pxref{Mapped Devices})."
  19410. msgstr ""
  19411. #. type: quotation
  19412. #: guix-git/doc/guix.texi:13660
  19413. msgid "This does @emph{not} specify the keyboard layout used by the bootloader, nor that used by the graphical display server. @xref{Bootloader Configuration}, for information on how to specify the bootloader's keyboard layout. @xref{X Window}, for information on how to specify the keyboard layout used by the X Window System."
  19414. msgstr ""
  19415. #. type: item
  19416. #: guix-git/doc/guix.texi:13662
  19417. #, no-wrap
  19418. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  19419. msgstr ""
  19420. #. type: cindex
  19421. #: guix-git/doc/guix.texi:13663 guix-git/doc/guix.texi:32230
  19422. #: guix-git/doc/guix.texi:32334
  19423. #, no-wrap
  19424. msgid "initrd"
  19425. msgstr ""
  19426. #. type: cindex
  19427. #: guix-git/doc/guix.texi:13664 guix-git/doc/guix.texi:32231
  19428. #: guix-git/doc/guix.texi:32335
  19429. #, no-wrap
  19430. msgid "initial RAM disk"
  19431. msgstr ""
  19432. #. type: table
  19433. #: guix-git/doc/guix.texi:13667
  19434. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  19435. msgstr ""
  19436. #. type: item
  19437. #: guix-git/doc/guix.texi:13668
  19438. #, no-wrap
  19439. msgid "@code{initrd} (default: @code{base-initrd})"
  19440. msgstr ""
  19441. #. type: table
  19442. #: guix-git/doc/guix.texi:13672
  19443. msgid "A procedure that returns an initial RAM disk for the Linux kernel. This field is provided to support low-level customization and should rarely be needed for casual use. @xref{Initial RAM Disk}."
  19444. msgstr ""
  19445. #. type: item
  19446. #: guix-git/doc/guix.texi:13673
  19447. #, no-wrap
  19448. msgid "@code{firmware} (default: @code{%base-firmware})"
  19449. msgstr ""
  19450. #. type: cindex
  19451. #: guix-git/doc/guix.texi:13674
  19452. #, no-wrap
  19453. msgid "firmware"
  19454. msgstr ""
  19455. #. type: table
  19456. #: guix-git/doc/guix.texi:13676
  19457. msgid "List of firmware packages loadable by the operating system kernel."
  19458. msgstr ""
  19459. #. type: table
  19460. #: guix-git/doc/guix.texi:13681
  19461. msgid "The default includes firmware needed for Atheros- and Broadcom-based WiFi devices (Linux-libre modules @code{ath9k} and @code{b43-open}, respectively). @xref{Hardware Considerations}, for more info on supported hardware."
  19462. msgstr ""
  19463. #. type: code{#1}
  19464. #: guix-git/doc/guix.texi:13682 guix-git/doc/guix.texi:33429
  19465. #, no-wrap
  19466. msgid "host-name"
  19467. msgstr ""
  19468. #. type: table
  19469. #: guix-git/doc/guix.texi:13684
  19470. msgid "The host name."
  19471. msgstr ""
  19472. #. type: code{#1}
  19473. #: guix-git/doc/guix.texi:13685
  19474. #, no-wrap
  19475. msgid "hosts-file"
  19476. msgstr ""
  19477. #. type: cindex
  19478. #: guix-git/doc/guix.texi:13686
  19479. #, no-wrap
  19480. msgid "hosts file"
  19481. msgstr ""
  19482. #. type: table
  19483. #: guix-git/doc/guix.texi:13691
  19484. msgid "A file-like object (@pxref{G-Expressions, file-like objects}) for use as @file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}). The default is a file with entries for @code{localhost} and @var{host-name}."
  19485. msgstr ""
  19486. #. type: item
  19487. #: guix-git/doc/guix.texi:13692
  19488. #, no-wrap
  19489. msgid "@code{mapped-devices} (default: @code{'()})"
  19490. msgstr ""
  19491. #. type: table
  19492. #: guix-git/doc/guix.texi:13694
  19493. msgid "A list of mapped devices. @xref{Mapped Devices}."
  19494. msgstr ""
  19495. #. type: code{#1}
  19496. #: guix-git/doc/guix.texi:13695
  19497. #, no-wrap
  19498. msgid "file-systems"
  19499. msgstr ""
  19500. #. type: table
  19501. #: guix-git/doc/guix.texi:13697
  19502. msgid "A list of file systems. @xref{File Systems}."
  19503. msgstr ""
  19504. #. type: cindex
  19505. #: guix-git/doc/guix.texi:13698
  19506. #, no-wrap
  19507. msgid "swap devices"
  19508. msgstr ""
  19509. #. type: cindex
  19510. #: guix-git/doc/guix.texi:13699
  19511. #, no-wrap
  19512. msgid "swap space"
  19513. msgstr ""
  19514. #. type: item
  19515. #: guix-git/doc/guix.texi:13700
  19516. #, no-wrap
  19517. msgid "@code{swap-devices} (default: @code{'()})"
  19518. msgstr ""
  19519. #. type: table
  19520. #: guix-git/doc/guix.texi:13705
  19521. msgid "A list of UUIDs, file system labels, or strings identifying devices or files to be used for ``swap space'' (@pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}). Here are some examples:"
  19522. msgstr ""
  19523. #. type: item
  19524. #: guix-git/doc/guix.texi:13707
  19525. #, no-wrap
  19526. msgid "(list (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\"))"
  19527. msgstr ""
  19528. #. type: table
  19529. #: guix-git/doc/guix.texi:13711
  19530. msgid "Use the swap partition with the given UUID@. You can learn the UUID of a Linux swap partition by running @command{swaplabel @var{device}}, where @var{device} is the @file{/dev} file name of that partition."
  19531. msgstr ""
  19532. #. type: item
  19533. #: guix-git/doc/guix.texi:13712
  19534. #, no-wrap
  19535. msgid "(list (file-system-label \"swap\"))"
  19536. msgstr ""
  19537. #. type: table
  19538. #: guix-git/doc/guix.texi:13716
  19539. msgid "Use the partition with label @code{swap}. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition."
  19540. msgstr ""
  19541. #. type: item
  19542. #: guix-git/doc/guix.texi:13717
  19543. #, no-wrap
  19544. msgid "(list \"/swapfile\")"
  19545. msgstr ""
  19546. #. type: table
  19547. #: guix-git/doc/guix.texi:13719
  19548. msgid "Use the file @file{/swapfile} as swap space."
  19549. msgstr ""
  19550. #. type: item
  19551. #: guix-git/doc/guix.texi:13720
  19552. #, no-wrap
  19553. msgid "(list \"/dev/sda3\" \"/dev/sdb2\")"
  19554. msgstr ""
  19555. #. type: table
  19556. #: guix-git/doc/guix.texi:13724
  19557. msgid "Use the @file{/dev/sda3} and @file{/dev/sdb2} partitions as swap space. We recommend referring to swap devices by UUIDs or labels as shown above instead."
  19558. msgstr ""
  19559. #. type: table
  19560. #: guix-git/doc/guix.texi:13730
  19561. msgid "It is possible to specify a swap file in a file system on a mapped device (under @file{/dev/mapper}), provided that the necessary device mapping and file system are also specified. @xref{Mapped Devices} and @ref{File Systems}."
  19562. msgstr ""
  19563. #. type: item
  19564. #: guix-git/doc/guix.texi:13731
  19565. #, no-wrap
  19566. msgid "@code{users} (default: @code{%base-user-accounts})"
  19567. msgstr ""
  19568. #. type: itemx
  19569. #: guix-git/doc/guix.texi:13732
  19570. #, no-wrap
  19571. msgid "@code{groups} (default: @code{%base-groups})"
  19572. msgstr ""
  19573. #. type: table
  19574. #: guix-git/doc/guix.texi:13734
  19575. msgid "List of user accounts and groups. @xref{User Accounts}."
  19576. msgstr ""
  19577. #. type: table
  19578. #: guix-git/doc/guix.texi:13737
  19579. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  19580. msgstr ""
  19581. #. type: item
  19582. #: guix-git/doc/guix.texi:13738
  19583. #, no-wrap
  19584. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  19585. msgstr ""
  19586. #. type: table
  19587. #: guix-git/doc/guix.texi:13742
  19588. msgid "A list of target file name/file-like object tuples (@pxref{G-Expressions, file-like objects}). These are the skeleton files that will be added to the home directory of newly-created user accounts."
  19589. msgstr ""
  19590. #. type: table
  19591. #: guix-git/doc/guix.texi:13744
  19592. msgid "For instance, a valid value may look like this:"
  19593. msgstr ""
  19594. #. type: lisp
  19595. #: guix-git/doc/guix.texi:13750
  19596. #, no-wrap
  19597. msgid ""
  19598. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  19599. " (\".guile\" ,(plain-file \"guile\"\n"
  19600. " \"(use-modules (ice-9 readline))\n"
  19601. " (activate-readline)\")))\n"
  19602. msgstr ""
  19603. #. type: item
  19604. #: guix-git/doc/guix.texi:13752
  19605. #, no-wrap
  19606. msgid "@code{issue} (default: @code{%default-issue})"
  19607. msgstr ""
  19608. #. type: table
  19609. #: guix-git/doc/guix.texi:13755
  19610. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  19611. msgstr ""
  19612. #. type: item
  19613. #: guix-git/doc/guix.texi:13756
  19614. #, no-wrap
  19615. msgid "@code{packages} (default: @code{%base-packages})"
  19616. msgstr ""
  19617. #. type: table
  19618. #: guix-git/doc/guix.texi:13760
  19619. msgid "A list of packages to be installed in the global profile, which is accessible at @file{/run/current-system/profile}. Each element is either a package variable or a package/output tuple. Here's a simple example of both:"
  19620. msgstr ""
  19621. #. type: lisp
  19622. #: guix-git/doc/guix.texi:13765
  19623. #, no-wrap
  19624. msgid ""
  19625. "(cons* git ; the default \"out\" output\n"
  19626. " (list git \"send-email\") ; another output of git\n"
  19627. " %base-packages) ; the default set\n"
  19628. msgstr ""
  19629. #. type: table
  19630. #: guix-git/doc/guix.texi:13770
  19631. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  19632. msgstr ""
  19633. #. type: code{#1}
  19634. #: guix-git/doc/guix.texi:13771
  19635. #, no-wrap
  19636. msgid "timezone"
  19637. msgstr ""
  19638. #. type: table
  19639. #: guix-git/doc/guix.texi:13773
  19640. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  19641. msgstr ""
  19642. #. type: table
  19643. #: guix-git/doc/guix.texi:13777
  19644. msgid "You can run the @command{tzselect} command to find out which timezone string corresponds to your region. Choosing an invalid timezone name causes @command{guix system} to fail."
  19645. msgstr ""
  19646. #. type: item
  19647. #: guix-git/doc/guix.texi:13778 guix-git/doc/guix.texi:19681
  19648. #, no-wrap
  19649. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  19650. msgstr ""
  19651. #. type: table
  19652. #: guix-git/doc/guix.texi:13781
  19653. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  19654. msgstr ""
  19655. #. type: item
  19656. #: guix-git/doc/guix.texi:13782
  19657. #, no-wrap
  19658. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  19659. msgstr ""
  19660. #. type: table
  19661. #: guix-git/doc/guix.texi:13785
  19662. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  19663. msgstr ""
  19664. #. type: item
  19665. #: guix-git/doc/guix.texi:13786
  19666. #, no-wrap
  19667. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  19668. msgstr ""
  19669. #. type: table
  19670. #: guix-git/doc/guix.texi:13790
  19671. msgid "The list of GNU@tie{}libc packages whose locale data and tools are used to build the locale definitions. @xref{Locales}, for compatibility considerations that justify this option."
  19672. msgstr ""
  19673. #. type: item
  19674. #: guix-git/doc/guix.texi:13791
  19675. #, no-wrap
  19676. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  19677. msgstr ""
  19678. #. type: table
  19679. #: guix-git/doc/guix.texi:13795
  19680. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  19681. msgstr ""
  19682. #. type: item
  19683. #: guix-git/doc/guix.texi:13796
  19684. #, no-wrap
  19685. msgid "@code{services} (default: @code{%base-services})"
  19686. msgstr ""
  19687. #. type: table
  19688. #: guix-git/doc/guix.texi:13798
  19689. msgid "A list of service objects denoting system services. @xref{Services}."
  19690. msgstr ""
  19691. #. type: cindex
  19692. #: guix-git/doc/guix.texi:13799
  19693. #, no-wrap
  19694. msgid "essential services"
  19695. msgstr ""
  19696. #. type: item
  19697. #: guix-git/doc/guix.texi:13800
  19698. #, no-wrap
  19699. msgid "@code{essential-services} (default: ...)"
  19700. msgstr ""
  19701. #. type: table
  19702. #: guix-git/doc/guix.texi:13805
  19703. msgid "The list of ``essential services''---i.e., things like instances of @code{system-service-type} and @code{host-name-service-type} (@pxref{Service Reference}), which are derived from the operating system definition itself. As a user you should @emph{never} need to touch this field."
  19704. msgstr ""
  19705. #. type: item
  19706. #: guix-git/doc/guix.texi:13806
  19707. #, no-wrap
  19708. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  19709. msgstr ""
  19710. #. type: cindex
  19711. #: guix-git/doc/guix.texi:13807
  19712. #, no-wrap
  19713. msgid "PAM"
  19714. msgstr ""
  19715. #. type: cindex
  19716. #: guix-git/doc/guix.texi:13808
  19717. #, no-wrap
  19718. msgid "pluggable authentication modules"
  19719. msgstr ""
  19720. #. type: table
  19721. #: guix-git/doc/guix.texi:13811
  19722. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  19723. msgstr ""
  19724. #. type: item
  19725. #: guix-git/doc/guix.texi:13812
  19726. #, no-wrap
  19727. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  19728. msgstr ""
  19729. #. type: table
  19730. #: guix-git/doc/guix.texi:13815
  19731. msgid "List of string-valued G-expressions denoting setuid programs. @xref{Setuid Programs}."
  19732. msgstr ""
  19733. #. type: item
  19734. #: guix-git/doc/guix.texi:13816
  19735. #, no-wrap
  19736. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  19737. msgstr ""
  19738. #. type: cindex
  19739. #: guix-git/doc/guix.texi:13817
  19740. #, no-wrap
  19741. msgid "sudoers file"
  19742. msgstr ""
  19743. #. type: table
  19744. #: guix-git/doc/guix.texi:13820
  19745. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  19746. msgstr ""
  19747. #. type: table
  19748. #: guix-git/doc/guix.texi:13825
  19749. msgid "This file specifies which users can use the @command{sudo} command, what they are allowed to do, and what privileges they may gain. The default is that only @code{root} and members of the @code{wheel} group may use @code{sudo}."
  19750. msgstr ""
  19751. #. type: deffn
  19752. #: guix-git/doc/guix.texi:13828
  19753. #, no-wrap
  19754. msgid "{Scheme Syntax} this-operating-system"
  19755. msgstr ""
  19756. #. type: deffn
  19757. #: guix-git/doc/guix.texi:13831
  19758. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  19759. msgstr ""
  19760. #. type: deffn
  19761. #: guix-git/doc/guix.texi:13834
  19762. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  19763. msgstr ""
  19764. #. type: lisp
  19765. #: guix-git/doc/guix.texi:13837 guix-git/doc/guix.texi:17299
  19766. #, no-wrap
  19767. msgid ""
  19768. "(use-modules (gnu) (guix))\n"
  19769. "\n"
  19770. msgstr ""
  19771. #. type: lisp
  19772. #: guix-git/doc/guix.texi:13842
  19773. #, no-wrap
  19774. msgid ""
  19775. "(operating-system\n"
  19776. " ;; ...\n"
  19777. " (label (package-full-name\n"
  19778. " (operating-system-kernel this-operating-system))))\n"
  19779. msgstr ""
  19780. #. type: deffn
  19781. #: guix-git/doc/guix.texi:13846
  19782. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  19783. msgstr ""
  19784. #. type: Plain text
  19785. #: guix-git/doc/guix.texi:13857
  19786. msgid "The list of file systems to be mounted is specified in the @code{file-systems} field of the operating system declaration (@pxref{Using the Configuration System}). Each file system is declared using the @code{file-system} form, like this:"
  19787. msgstr ""
  19788. #. type: lisp
  19789. #: guix-git/doc/guix.texi:13863
  19790. #, no-wrap
  19791. msgid ""
  19792. "(file-system\n"
  19793. " (mount-point \"/home\")\n"
  19794. " (device \"/dev/sda3\")\n"
  19795. " (type \"ext4\"))\n"
  19796. msgstr ""
  19797. #. type: Plain text
  19798. #: guix-git/doc/guix.texi:13867
  19799. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  19800. msgstr ""
  19801. #. type: deftp
  19802. #: guix-git/doc/guix.texi:13868
  19803. #, no-wrap
  19804. msgid "{Data Type} file-system"
  19805. msgstr ""
  19806. #. type: deftp
  19807. #: guix-git/doc/guix.texi:13871
  19808. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  19809. msgstr ""
  19810. #. type: item
  19811. #: guix-git/doc/guix.texi:13873 guix-git/doc/guix.texi:14223
  19812. #, no-wrap
  19813. msgid "type"
  19814. msgstr ""
  19815. #. type: table
  19816. #: guix-git/doc/guix.texi:13876
  19817. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  19818. msgstr ""
  19819. #. type: code{#1}
  19820. #: guix-git/doc/guix.texi:13877
  19821. #, no-wrap
  19822. msgid "mount-point"
  19823. msgstr ""
  19824. #. type: table
  19825. #: guix-git/doc/guix.texi:13879
  19826. msgid "This designates the place where the file system is to be mounted."
  19827. msgstr ""
  19828. #. type: code{#1}
  19829. #: guix-git/doc/guix.texi:13880
  19830. #, no-wrap
  19831. msgid "device"
  19832. msgstr ""
  19833. #. type: table
  19834. #: guix-git/doc/guix.texi:13890
  19835. msgid "This names the ``source'' of the file system. It can be one of three things: a file system label, a file system UUID, or the name of a @file{/dev} node. Labels and UUIDs offer a way to refer to file systems without having to hard-code their actual device name@footnote{Note that, while it is tempting to use @file{/dev/disk/by-uuid} and similar device names to achieve the same result, this is not recommended: These special device nodes are created by the udev daemon and may be unavailable at the time the device is mounted.}."
  19836. msgstr ""
  19837. #. type: findex
  19838. #: guix-git/doc/guix.texi:13891
  19839. #, no-wrap
  19840. msgid "file-system-label"
  19841. msgstr ""
  19842. #. type: table
  19843. #: guix-git/doc/guix.texi:13896
  19844. msgid "File system labels are created using the @code{file-system-label} procedure, UUIDs are created using @code{uuid}, and @file{/dev} node are plain strings. Here's an example of a file system referred to by its label, as shown by the @command{e2label} command:"
  19845. msgstr ""
  19846. #. type: lisp
  19847. #: guix-git/doc/guix.texi:13902
  19848. #, no-wrap
  19849. msgid ""
  19850. "(file-system\n"
  19851. " (mount-point \"/home\")\n"
  19852. " (type \"ext4\")\n"
  19853. " (device (file-system-label \"my-home\")))\n"
  19854. msgstr ""
  19855. #. type: code{#1}
  19856. #: guix-git/doc/guix.texi:13904 guix-git/doc/guix.texi:31144
  19857. #: guix-git/doc/guix.texi:31160
  19858. #, no-wrap
  19859. msgid "uuid"
  19860. msgstr ""
  19861. #. type: table
  19862. #: guix-git/doc/guix.texi:13912
  19863. msgid "UUIDs are converted from their string representation (as shown by the @command{tune2fs -l} command) using the @code{uuid} form@footnote{The @code{uuid} form expects 16-byte UUIDs as defined in @uref{https://tools.ietf.org/html/rfc4122, RFC@tie{}4122}. This is the form of UUID used by the ext2 family of file systems and others, but it is different from ``UUIDs'' found in FAT file systems, for instance.}, like this:"
  19864. msgstr ""
  19865. #. type: lisp
  19866. #: guix-git/doc/guix.texi:13918
  19867. #, no-wrap
  19868. msgid ""
  19869. "(file-system\n"
  19870. " (mount-point \"/home\")\n"
  19871. " (type \"ext4\")\n"
  19872. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  19873. msgstr ""
  19874. #. type: table
  19875. #: guix-git/doc/guix.texi:13926
  19876. msgid "When the source of a file system is a mapped device (@pxref{Mapped Devices}), its @code{device} field @emph{must} refer to the mapped device name---e.g., @file{\"/dev/mapper/root-partition\"}. This is required so that the system knows that mounting the file system depends on having the corresponding device mapping established."
  19877. msgstr ""
  19878. #. type: item
  19879. #: guix-git/doc/guix.texi:13927
  19880. #, no-wrap
  19881. msgid "@code{flags} (default: @code{'()})"
  19882. msgstr ""
  19883. #. type: table
  19884. #: guix-git/doc/guix.texi:13937
  19885. msgid "This is a list of symbols denoting mount flags. Recognized flags include @code{read-only}, @code{bind-mount}, @code{no-dev} (disallow access to special files), @code{no-suid} (ignore setuid and setgid bits), @code{no-atime} (do not update file access times), @code{strict-atime} (update file access time), @code{lazy-time} (only update time on the in-memory version of the file inode), and @code{no-exec} (disallow program execution). @xref{Mount-Unmount-Remount,,, libc, The GNU C Library Reference Manual}, for more information on these flags."
  19886. msgstr ""
  19887. #. type: item
  19888. #: guix-git/doc/guix.texi:13938
  19889. #, no-wrap
  19890. msgid "@code{options} (default: @code{#f})"
  19891. msgstr ""
  19892. #. type: table
  19893. #: guix-git/doc/guix.texi:13947
  19894. msgid "This is either @code{#f}, or a string denoting mount options passed to the file system driver. @xref{Mount-Unmount-Remount,,, libc, The GNU C Library Reference Manual}, for details and run @command{man 8 mount} for options for various file systems. Note that the @code{file-system-options->alist} and @code{alist->file-system-options} procedures from @code{(gnu system file-systems)} can be used to convert file system options given as an association list to the string representation, and vice-versa."
  19895. msgstr ""
  19896. #. type: item
  19897. #: guix-git/doc/guix.texi:13948
  19898. #, no-wrap
  19899. msgid "@code{mount?} (default: @code{#t})"
  19900. msgstr ""
  19901. #. type: table
  19902. #: guix-git/doc/guix.texi:13953
  19903. msgid "This value indicates whether to automatically mount the file system when the system is brought up. When set to @code{#f}, the file system gets an entry in @file{/etc/fstab} (read by the @command{mount} command) but is not automatically mounted."
  19904. msgstr ""
  19905. #. type: item
  19906. #: guix-git/doc/guix.texi:13954
  19907. #, no-wrap
  19908. msgid "@code{needed-for-boot?} (default: @code{#f})"
  19909. msgstr ""
  19910. #. type: table
  19911. #: guix-git/doc/guix.texi:13959
  19912. msgid "This Boolean value indicates whether the file system is needed when booting. If that is true, then the file system is mounted when the initial RAM disk (initrd) is loaded. This is always the case, for instance, for the root file system."
  19913. msgstr ""
  19914. #. type: item
  19915. #: guix-git/doc/guix.texi:13960
  19916. #, no-wrap
  19917. msgid "@code{check?} (default: @code{#t})"
  19918. msgstr ""
  19919. #. type: table
  19920. #: guix-git/doc/guix.texi:13963
  19921. msgid "This Boolean indicates whether the file system needs to be checked for errors before being mounted."
  19922. msgstr ""
  19923. #. type: item
  19924. #: guix-git/doc/guix.texi:13964
  19925. #, no-wrap
  19926. msgid "@code{create-mount-point?} (default: @code{#f})"
  19927. msgstr ""
  19928. #. type: table
  19929. #: guix-git/doc/guix.texi:13966
  19930. msgid "When true, the mount point is created if it does not exist yet."
  19931. msgstr ""
  19932. #. type: item
  19933. #: guix-git/doc/guix.texi:13967
  19934. #, no-wrap
  19935. msgid "@code{mount-may-fail?} (default: @code{#f})"
  19936. msgstr ""
  19937. #. type: table
  19938. #: guix-git/doc/guix.texi:13972
  19939. msgid "When true, this indicates that mounting this file system can fail but that should not be considered an error. This is useful in unusual cases; an example of this is @code{efivarfs}, a file system that can only be mounted on EFI/UEFI systems."
  19940. msgstr ""
  19941. #. type: item
  19942. #: guix-git/doc/guix.texi:13973
  19943. #, no-wrap
  19944. msgid "@code{dependencies} (default: @code{'()})"
  19945. msgstr ""
  19946. #. type: table
  19947. #: guix-git/doc/guix.texi:13977
  19948. msgid "This is a list of @code{<file-system>} or @code{<mapped-device>} objects representing file systems that must be mounted or mapped devices that must be opened before (and unmounted or closed after) this one."
  19949. msgstr ""
  19950. #. type: table
  19951. #: guix-git/doc/guix.texi:13981
  19952. msgid "As an example, consider a hierarchy of mounts: @file{/sys/fs/cgroup} is a dependency of @file{/sys/fs/cgroup/cpu} and @file{/sys/fs/cgroup/memory}."
  19953. msgstr ""
  19954. #. type: table
  19955. #: guix-git/doc/guix.texi:13984
  19956. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  19957. msgstr ""
  19958. #. type: deffn
  19959. #: guix-git/doc/guix.texi:13987
  19960. #, no-wrap
  19961. msgid "{Scheme Procedure} file-system-label @var{str}"
  19962. msgstr ""
  19963. #. type: deffn
  19964. #: guix-git/doc/guix.texi:13990
  19965. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  19966. msgstr ""
  19967. #. type: lisp
  19968. #: guix-git/doc/guix.texi:13994
  19969. #, no-wrap
  19970. msgid ""
  19971. "(file-system-label \"home\")\n"
  19972. "@result{} #<file-system-label \"home\">\n"
  19973. msgstr ""
  19974. #. type: deffn
  19975. #: guix-git/doc/guix.texi:13998
  19976. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  19977. msgstr ""
  19978. #. type: Plain text
  19979. #: guix-git/doc/guix.texi:14002
  19980. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  19981. msgstr ""
  19982. #. type: defvr
  19983. #: guix-git/doc/guix.texi:14003
  19984. #, no-wrap
  19985. msgid "{Scheme Variable} %base-file-systems"
  19986. msgstr ""
  19987. #. type: defvr
  19988. #: guix-git/doc/guix.texi:14008
  19989. msgid "These are essential file systems that are required on normal systems, such as @code{%pseudo-terminal-file-system} and @code{%immutable-store} (see below). Operating system declarations should always contain at least these."
  19990. msgstr ""
  19991. #. type: defvr
  19992. #: guix-git/doc/guix.texi:14010
  19993. #, no-wrap
  19994. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  19995. msgstr ""
  19996. #. type: defvr
  19997. #: guix-git/doc/guix.texi:14016
  19998. msgid "This is the file system to be mounted as @file{/dev/pts}. It supports @dfn{pseudo-terminals} created @i{via} @code{openpty} and similar functions (@pxref{Pseudo-Terminals,,, libc, The GNU C Library Reference Manual}). Pseudo-terminals are used by terminal emulators such as @command{xterm}."
  19999. msgstr ""
  20000. #. type: defvr
  20001. #: guix-git/doc/guix.texi:14018
  20002. #, no-wrap
  20003. msgid "{Scheme Variable} %shared-memory-file-system"
  20004. msgstr ""
  20005. #. type: defvr
  20006. #: guix-git/doc/guix.texi:14022
  20007. msgid "This file system is mounted as @file{/dev/shm} and is used to support memory sharing across processes (@pxref{Memory-mapped I/O, @code{shm_open},, libc, The GNU C Library Reference Manual})."
  20008. msgstr ""
  20009. #. type: defvr
  20010. #: guix-git/doc/guix.texi:14024
  20011. #, no-wrap
  20012. msgid "{Scheme Variable} %immutable-store"
  20013. msgstr ""
  20014. #. type: defvr
  20015. #: guix-git/doc/guix.texi:14029
  20016. msgid "This file system performs a read-only ``bind mount'' of @file{/gnu/store}, making it read-only for all the users including @code{root}. This prevents against accidental modification by software running as @code{root} or by system administrators."
  20017. msgstr ""
  20018. #. type: defvr
  20019. #: guix-git/doc/guix.texi:14032
  20020. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  20021. msgstr ""
  20022. #. type: defvr
  20023. #: guix-git/doc/guix.texi:14034
  20024. #, no-wrap
  20025. msgid "{Scheme Variable} %binary-format-file-system"
  20026. msgstr ""
  20027. #. type: defvr
  20028. #: guix-git/doc/guix.texi:14038
  20029. msgid "The @code{binfmt_misc} file system, which allows handling of arbitrary executable file types to be delegated to user space. This requires the @code{binfmt.ko} kernel module to be loaded."
  20030. msgstr ""
  20031. #. type: defvr
  20032. #: guix-git/doc/guix.texi:14040
  20033. #, no-wrap
  20034. msgid "{Scheme Variable} %fuse-control-file-system"
  20035. msgstr ""
  20036. #. type: defvr
  20037. #: guix-git/doc/guix.texi:14044
  20038. msgid "The @code{fusectl} file system, which allows unprivileged users to mount and unmount user-space FUSE file systems. This requires the @code{fuse.ko} kernel module to be loaded."
  20039. msgstr ""
  20040. #. type: Plain text
  20041. #: guix-git/doc/guix.texi:14048
  20042. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  20043. msgstr ""
  20044. #. type: deffn
  20045. #: guix-git/doc/guix.texi:14049
  20046. #, no-wrap
  20047. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  20048. msgstr ""
  20049. #. type: deffn
  20050. #: guix-git/doc/guix.texi:14052
  20051. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  20052. msgstr ""
  20053. #. type: lisp
  20054. #: guix-git/doc/guix.texi:14056
  20055. #, no-wrap
  20056. msgid ""
  20057. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  20058. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  20059. "\n"
  20060. msgstr ""
  20061. #. type: lisp
  20062. #: guix-git/doc/guix.texi:14059
  20063. #, no-wrap
  20064. msgid ""
  20065. "(uuid \"1234-ABCD\" 'fat)\n"
  20066. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  20067. msgstr ""
  20068. #. type: deffn
  20069. #: guix-git/doc/guix.texi:14063
  20070. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  20071. msgstr ""
  20072. #. type: deffn
  20073. #: guix-git/doc/guix.texi:14066
  20074. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  20075. msgstr ""
  20076. #. type: subsection
  20077. #: guix-git/doc/guix.texi:14069 guix-git/doc/guix.texi:14070
  20078. #, no-wrap
  20079. msgid "Btrfs file system"
  20080. msgstr ""
  20081. #. type: Plain text
  20082. #: guix-git/doc/guix.texi:14076
  20083. msgid "The Btrfs has special features, such as subvolumes, that merit being explained in more details. The following section attempts to cover basic as well as complex uses of a Btrfs file system with the Guix System."
  20084. msgstr ""
  20085. #. type: Plain text
  20086. #: guix-git/doc/guix.texi:14079
  20087. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  20088. msgstr ""
  20089. #. type: lisp
  20090. #: guix-git/doc/guix.texi:14085
  20091. #, no-wrap
  20092. msgid ""
  20093. "(file-system\n"
  20094. " (mount-point \"/home\")\n"
  20095. " (type \"btrfs\")\n"
  20096. " (device (file-system-label \"my-home\")))\n"
  20097. msgstr ""
  20098. #. type: Plain text
  20099. #: guix-git/doc/guix.texi:14091
  20100. msgid "The example below is more complex, as it makes use of a Btrfs subvolume, named @code{rootfs}. The parent Btrfs file system is labeled @code{my-btrfs-pool}, and is located on an encrypted device (hence the dependency on @code{mapped-devices}):"
  20101. msgstr ""
  20102. #. type: lisp
  20103. #: guix-git/doc/guix.texi:14099
  20104. #, no-wrap
  20105. msgid ""
  20106. "(file-system\n"
  20107. " (device (file-system-label \"my-btrfs-pool\"))\n"
  20108. " (mount-point \"/\")\n"
  20109. " (type \"btrfs\")\n"
  20110. " (options \"subvol=rootfs\")\n"
  20111. " (dependencies mapped-devices))\n"
  20112. msgstr ""
  20113. #. type: Plain text
  20114. #: guix-git/doc/guix.texi:14110
  20115. msgid "Some bootloaders, for example GRUB, only mount a Btrfs partition at its top level during the early boot, and rely on their configuration to refer to the correct subvolume path within that top level. The bootloaders operating in this way typically produce their configuration on a running system where the Btrfs partitions are already mounted and where the subvolume information is readily available. As an example, @command{grub-mkconfig}, the configuration generator command shipped with GRUB, reads @file{/proc/self/mountinfo} to determine the top-level path of a subvolume."
  20116. msgstr ""
  20117. #. type: Plain text
  20118. #: guix-git/doc/guix.texi:14118
  20119. msgid "The Guix System produces a bootloader configuration using the operating system configuration as its sole input; it is therefore necessary to extract the subvolume name on which @file{/gnu/store} lives (if any) from that operating system configuration. To better illustrate, consider a subvolume named 'rootfs' which contains the root file system data. In such situation, the GRUB bootloader would only see the top level of the root Btrfs partition, e.g.:"
  20120. msgstr ""
  20121. #. type: example
  20122. #: guix-git/doc/guix.texi:14125
  20123. #, no-wrap
  20124. msgid ""
  20125. "/ (top level)\n"
  20126. "├── rootfs (subvolume directory)\n"
  20127. " ├── gnu (normal directory)\n"
  20128. " ├── store (normal directory)\n"
  20129. "[...]\n"
  20130. msgstr ""
  20131. #. type: Plain text
  20132. #: guix-git/doc/guix.texi:14130
  20133. msgid "Thus, the subvolume name must be prepended to the @file{/gnu/store} path of the kernel, initrd binaries and any other files referred to in the GRUB configuration that must be found during the early boot."
  20134. msgstr ""
  20135. #. type: Plain text
  20136. #: guix-git/doc/guix.texi:14133
  20137. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  20138. msgstr ""
  20139. #. type: example
  20140. #: guix-git/doc/guix.texi:14140
  20141. #, no-wrap
  20142. msgid ""
  20143. "/ (top level)\n"
  20144. "├── rootfs (subvolume)\n"
  20145. " ├── gnu (normal directory)\n"
  20146. " ├── store (subvolume)\n"
  20147. "[...]\n"
  20148. msgstr ""
  20149. #. type: Plain text
  20150. #: guix-git/doc/guix.texi:14147
  20151. msgid "This scenario would work without mounting the 'store' subvolume. Mounting 'rootfs' is sufficient, since the subvolume name matches its intended mount point in the file system hierarchy. Alternatively, the 'store' subvolume could be referred to by setting the @code{subvol} option to either @code{/rootfs/gnu/store} or @code{rootfs/gnu/store}."
  20152. msgstr ""
  20153. #. type: Plain text
  20154. #: guix-git/doc/guix.texi:14149
  20155. msgid "Finally, a more contrived example of nested subvolumes:"
  20156. msgstr ""
  20157. #. type: example
  20158. #: guix-git/doc/guix.texi:14156
  20159. #, no-wrap
  20160. msgid ""
  20161. "/ (top level)\n"
  20162. "├── root-snapshots (subvolume)\n"
  20163. " ├── root-current (subvolume)\n"
  20164. " ├── guix-store (subvolume)\n"
  20165. "[...]\n"
  20166. msgstr ""
  20167. #. type: Plain text
  20168. #: guix-git/doc/guix.texi:14163
  20169. msgid "Here, the 'guix-store' subvolume doesn't match its intended mount point, so it is necessary to mount it. The subvolume must be fully specified, by passing its file name to the @code{subvol} option. To illustrate, the 'guix-store' subvolume could be mounted on @file{/gnu/store} by using a file system declaration such as:"
  20170. msgstr ""
  20171. #. type: lisp
  20172. #: guix-git/doc/guix.texi:14171
  20173. #, no-wrap
  20174. msgid ""
  20175. "(file-system\n"
  20176. " (device (file-system-label \"btrfs-pool-1\"))\n"
  20177. " (mount-point \"/gnu/store\")\n"
  20178. " (type \"btrfs\")\n"
  20179. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  20180. "compress-force=zstd,space_cache=v2\"))\n"
  20181. msgstr ""
  20182. #. type: cindex
  20183. #: guix-git/doc/guix.texi:14176
  20184. #, no-wrap
  20185. msgid "device mapping"
  20186. msgstr ""
  20187. #. type: cindex
  20188. #: guix-git/doc/guix.texi:14177
  20189. #, no-wrap
  20190. msgid "mapped devices"
  20191. msgstr ""
  20192. #. type: Plain text
  20193. #: guix-git/doc/guix.texi:14194
  20194. msgid "The Linux kernel has a notion of @dfn{device mapping}: a block device, such as a hard disk partition, can be @dfn{mapped} into another device, usually in @code{/dev/mapper/}, with additional processing over the data that flows through it@footnote{Note that the GNU@tie{}Hurd makes no difference between the concept of a ``mapped device'' and that of a file system: both boil down to @emph{translating} input/output operations made on a file to operations on its backing store. Thus, the Hurd implements mapped devices, like file systems, using the generic @dfn{translator} mechanism (@pxref{Translators,,, hurd, The GNU Hurd Reference Manual}).}. A typical example is encryption device mapping: all writes to the mapped device are encrypted, and all reads are deciphered, transparently. Guix extends this notion by considering any device or set of devices that are @dfn{transformed} in some way to create a new device; for instance, RAID devices are obtained by @dfn{assembling} several other devices, such as hard disks or partitions, into a new one that behaves as one partition."
  20195. msgstr ""
  20196. #. type: Plain text
  20197. #: guix-git/doc/guix.texi:14197
  20198. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  20199. msgstr ""
  20200. #. type: deftp
  20201. #: guix-git/doc/guix.texi:14198
  20202. #, no-wrap
  20203. msgid "{Data Type} mapped-device"
  20204. msgstr ""
  20205. #. type: deftp
  20206. #: guix-git/doc/guix.texi:14201
  20207. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  20208. msgstr ""
  20209. #. type: table
  20210. #: guix-git/doc/guix.texi:14208
  20211. msgid "This is either a string specifying the name of the block device to be mapped, such as @code{\"/dev/sda3\"}, or a list of such strings when several devices need to be assembled for creating a new one. In case of LVM this is a string specifying name of the volume group to be mapped."
  20212. msgstr ""
  20213. #. type: code{#1}
  20214. #: guix-git/doc/guix.texi:14209 guix-git/doc/guix.texi:32498
  20215. #, no-wrap
  20216. msgid "target"
  20217. msgstr ""
  20218. #. type: table
  20219. #: guix-git/doc/guix.texi:14218
  20220. msgid "This string specifies the name of the resulting mapped device. For kernel mappers such as encrypted devices of type @code{luks-device-mapping}, specifying @code{\"my-partition\"} leads to the creation of the @code{\"/dev/mapper/my-partition\"} device. For RAID devices of type @code{raid-device-mapping}, the full device name such as @code{\"/dev/md0\"} needs to be given. LVM logical volumes of type @code{lvm-device-mapping} need to be specified as @code{\"VGNAME-LVNAME\"}."
  20221. msgstr ""
  20222. #. type: item
  20223. #: guix-git/doc/guix.texi:14219
  20224. #, no-wrap
  20225. msgid "targets"
  20226. msgstr ""
  20227. #. type: table
  20228. #: guix-git/doc/guix.texi:14222
  20229. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  20230. msgstr ""
  20231. #. type: table
  20232. #: guix-git/doc/guix.texi:14226
  20233. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  20234. msgstr ""
  20235. #. type: defvr
  20236. #: guix-git/doc/guix.texi:14229
  20237. #, no-wrap
  20238. msgid "{Scheme Variable} luks-device-mapping"
  20239. msgstr ""
  20240. #. type: defvr
  20241. #: guix-git/doc/guix.texi:14233
  20242. msgid "This defines LUKS block device encryption using the @command{cryptsetup} command from the package with the same name. It relies on the @code{dm-crypt} Linux kernel module."
  20243. msgstr ""
  20244. #. type: defvr
  20245. #: guix-git/doc/guix.texi:14235
  20246. #, no-wrap
  20247. msgid "{Scheme Variable} raid-device-mapping"
  20248. msgstr ""
  20249. #. type: defvr
  20250. #: guix-git/doc/guix.texi:14240
  20251. msgid "This defines a RAID device, which is assembled using the @code{mdadm} command from the package with the same name. It requires a Linux kernel module for the appropriate RAID level to be loaded, such as @code{raid456} for RAID-4, RAID-5 or RAID-6, or @code{raid10} for RAID-10."
  20252. msgstr ""
  20253. #. type: cindex
  20254. #: guix-git/doc/guix.texi:14242
  20255. #, no-wrap
  20256. msgid "LVM, logical volume manager"
  20257. msgstr ""
  20258. #. type: defvr
  20259. #: guix-git/doc/guix.texi:14243
  20260. #, no-wrap
  20261. msgid "{Scheme Variable} lvm-device-mapping"
  20262. msgstr ""
  20263. #. type: defvr
  20264. #: guix-git/doc/guix.texi:14248
  20265. msgid "This defines one or more logical volumes for the Linux @uref{https://www.sourceware.org/lvm2/, Logical Volume Manager (LVM)}. The volume group is activated by the @command{vgchange} command from the @code{lvm2} package."
  20266. msgstr ""
  20267. #. type: cindex
  20268. #: guix-git/doc/guix.texi:14250
  20269. #, no-wrap
  20270. msgid "disk encryption"
  20271. msgstr ""
  20272. #. type: cindex
  20273. #: guix-git/doc/guix.texi:14251
  20274. #, no-wrap
  20275. msgid "LUKS"
  20276. msgstr ""
  20277. #. type: Plain text
  20278. #: guix-git/doc/guix.texi:14259
  20279. msgid "The following example specifies a mapping from @file{/dev/sda3} to @file{/dev/mapper/home} using LUKS---the @url{https://gitlab.com/cryptsetup/cryptsetup,Linux Unified Key Setup}, a standard mechanism for disk encryption. The @file{/dev/mapper/home} device can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems})."
  20280. msgstr ""
  20281. #. type: lisp
  20282. #: guix-git/doc/guix.texi:14265
  20283. #, no-wrap
  20284. msgid ""
  20285. "(mapped-device\n"
  20286. " (source \"/dev/sda3\")\n"
  20287. " (target \"home\")\n"
  20288. " (type luks-device-mapping))\n"
  20289. msgstr ""
  20290. #. type: Plain text
  20291. #: guix-git/doc/guix.texi:14270
  20292. msgid "Alternatively, to become independent of device numbering, one may obtain the LUKS UUID (@dfn{unique identifier}) of the source device by a command like:"
  20293. msgstr ""
  20294. #. type: example
  20295. #: guix-git/doc/guix.texi:14273
  20296. #, no-wrap
  20297. msgid "cryptsetup luksUUID /dev/sda3\n"
  20298. msgstr ""
  20299. #. type: Plain text
  20300. #: guix-git/doc/guix.texi:14276
  20301. msgid "and use it as follows:"
  20302. msgstr ""
  20303. #. type: lisp
  20304. #: guix-git/doc/guix.texi:14282
  20305. #, no-wrap
  20306. msgid ""
  20307. "(mapped-device\n"
  20308. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  20309. " (target \"home\")\n"
  20310. " (type luks-device-mapping))\n"
  20311. msgstr ""
  20312. #. type: cindex
  20313. #: guix-git/doc/guix.texi:14284
  20314. #, no-wrap
  20315. msgid "swap encryption"
  20316. msgstr ""
  20317. #. type: Plain text
  20318. #: guix-git/doc/guix.texi:14290
  20319. msgid "It is also desirable to encrypt swap space, since swap space may contain sensitive data. One way to accomplish that is to use a swap file in a file system on a device mapped via LUKS encryption. In this way, the swap file is encrypted because the entire device is encrypted. @xref{Preparing for Installation,,Disk Partitioning}, for an example."
  20320. msgstr ""
  20321. #. type: Plain text
  20322. #: guix-git/doc/guix.texi:14293
  20323. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  20324. msgstr ""
  20325. #. type: lisp
  20326. #: guix-git/doc/guix.texi:14299
  20327. #, no-wrap
  20328. msgid ""
  20329. "(mapped-device\n"
  20330. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  20331. " (target \"/dev/md0\")\n"
  20332. " (type raid-device-mapping))\n"
  20333. msgstr ""
  20334. #. type: Plain text
  20335. #: guix-git/doc/guix.texi:14306
  20336. msgid "The @file{/dev/md0} device can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems}). Note that the RAID level need not be given; it is chosen during the initial creation and formatting of the RAID device and is determined automatically later."
  20337. msgstr ""
  20338. #. type: Plain text
  20339. #: guix-git/doc/guix.texi:14309
  20340. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  20341. msgstr ""
  20342. #. type: lisp
  20343. #: guix-git/doc/guix.texi:14315
  20344. #, no-wrap
  20345. msgid ""
  20346. "(mapped-device\n"
  20347. " (source \"vg0\")\n"
  20348. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  20349. " (type lvm-device-mapping))\n"
  20350. msgstr ""
  20351. #. type: Plain text
  20352. #: guix-git/doc/guix.texi:14320
  20353. msgid "Devices @file{/dev/mapper/vg0-alpha} and @file{/dev/mapper/vg0-beta} can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems})."
  20354. msgstr ""
  20355. #. type: cindex
  20356. #: guix-git/doc/guix.texi:14324
  20357. #, no-wrap
  20358. msgid "users"
  20359. msgstr ""
  20360. #. type: cindex
  20361. #: guix-git/doc/guix.texi:14325
  20362. #, no-wrap
  20363. msgid "accounts"
  20364. msgstr ""
  20365. #. type: cindex
  20366. #: guix-git/doc/guix.texi:14326
  20367. #, no-wrap
  20368. msgid "user accounts"
  20369. msgstr ""
  20370. #. type: Plain text
  20371. #: guix-git/doc/guix.texi:14330
  20372. msgid "User accounts and groups are entirely managed through the @code{operating-system} declaration. They are specified with the @code{user-account} and @code{user-group} forms:"
  20373. msgstr ""
  20374. #. type: lisp
  20375. #: guix-git/doc/guix.texi:14340
  20376. #, no-wrap
  20377. msgid ""
  20378. "(user-account\n"
  20379. " (name \"alice\")\n"
  20380. " (group \"users\")\n"
  20381. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  20382. " \"audio\" ;sound card\n"
  20383. " \"video\" ;video devices such as webcams\n"
  20384. " \"cdrom\")) ;the good ol' CD-ROM\n"
  20385. " (comment \"Bob's sister\"))\n"
  20386. msgstr ""
  20387. #. type: Plain text
  20388. #: guix-git/doc/guix.texi:14344
  20389. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  20390. msgstr ""
  20391. #. type: lisp
  20392. #: guix-git/doc/guix.texi:14352
  20393. #, no-wrap
  20394. msgid ""
  20395. "(user-account\n"
  20396. " (name \"bob\")\n"
  20397. " (group \"users\")\n"
  20398. " (comment \"Alice's bro\")\n"
  20399. " (shell (file-append zsh \"/bin/zsh\"))\n"
  20400. " (home-directory \"/home/robert\"))\n"
  20401. msgstr ""
  20402. #. type: Plain text
  20403. #: guix-git/doc/guix.texi:14361
  20404. msgid "When booting or upon completion of @command{guix system reconfigure}, the system ensures that only the user accounts and groups specified in the @code{operating-system} declaration exist, and with the specified properties. Thus, account or group creations or modifications made by directly invoking commands such as @command{useradd} are lost upon reconfiguration or reboot. This ensures that the system remains exactly as declared."
  20405. msgstr ""
  20406. #. type: deftp
  20407. #: guix-git/doc/guix.texi:14362
  20408. #, no-wrap
  20409. msgid "{Data Type} user-account"
  20410. msgstr ""
  20411. #. type: deftp
  20412. #: guix-git/doc/guix.texi:14365
  20413. msgid "Objects of this type represent user accounts. The following members may be specified:"
  20414. msgstr ""
  20415. #. type: table
  20416. #: guix-git/doc/guix.texi:14369
  20417. msgid "The name of the user account."
  20418. msgstr ""
  20419. #. type: itemx
  20420. #: guix-git/doc/guix.texi:14370 guix-git/doc/guix.texi:32184
  20421. #, no-wrap
  20422. msgid "group"
  20423. msgstr ""
  20424. #. type: cindex
  20425. #: guix-git/doc/guix.texi:14371 guix-git/doc/guix.texi:14450
  20426. #, no-wrap
  20427. msgid "groups"
  20428. msgstr ""
  20429. #. type: table
  20430. #: guix-git/doc/guix.texi:14374
  20431. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  20432. msgstr ""
  20433. #. type: item
  20434. #: guix-git/doc/guix.texi:14375
  20435. #, no-wrap
  20436. msgid "@code{supplementary-groups} (default: @code{'()})"
  20437. msgstr ""
  20438. #. type: table
  20439. #: guix-git/doc/guix.texi:14378
  20440. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  20441. msgstr ""
  20442. #. type: item
  20443. #: guix-git/doc/guix.texi:14379
  20444. #, no-wrap
  20445. msgid "@code{uid} (default: @code{#f})"
  20446. msgstr ""
  20447. #. type: table
  20448. #: guix-git/doc/guix.texi:14383
  20449. msgid "This is the user ID for this account (a number), or @code{#f}. In the latter case, a number is automatically chosen by the system when the account is created."
  20450. msgstr ""
  20451. #. type: item
  20452. #: guix-git/doc/guix.texi:14384
  20453. #, no-wrap
  20454. msgid "@code{comment} (default: @code{\"\"})"
  20455. msgstr ""
  20456. #. type: table
  20457. #: guix-git/doc/guix.texi:14386
  20458. msgid "A comment about the account, such as the account owner's full name."
  20459. msgstr ""
  20460. #. type: code{#1}
  20461. #: guix-git/doc/guix.texi:14387
  20462. #, no-wrap
  20463. msgid "home-directory"
  20464. msgstr ""
  20465. #. type: table
  20466. #: guix-git/doc/guix.texi:14389
  20467. msgid "This is the name of the home directory for the account."
  20468. msgstr ""
  20469. #. type: item
  20470. #: guix-git/doc/guix.texi:14390
  20471. #, no-wrap
  20472. msgid "@code{create-home-directory?} (default: @code{#t})"
  20473. msgstr ""
  20474. #. type: table
  20475. #: guix-git/doc/guix.texi:14393
  20476. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  20477. msgstr ""
  20478. #. type: item
  20479. #: guix-git/doc/guix.texi:14394
  20480. #, no-wrap
  20481. msgid "@code{shell} (default: Bash)"
  20482. msgstr ""
  20483. #. type: table
  20484. #: guix-git/doc/guix.texi:14398
  20485. msgid "This is a G-expression denoting the file name of a program to be used as the shell (@pxref{G-Expressions}). For example, you would refer to the Bash executable like this:"
  20486. msgstr ""
  20487. #. type: lisp
  20488. #: guix-git/doc/guix.texi:14401
  20489. #, no-wrap
  20490. msgid "(file-append bash \"/bin/bash\")\n"
  20491. msgstr ""
  20492. #. type: table
  20493. #: guix-git/doc/guix.texi:14405
  20494. msgid "... and to the Zsh executable like that:"
  20495. msgstr ""
  20496. #. type: lisp
  20497. #: guix-git/doc/guix.texi:14408
  20498. #, no-wrap
  20499. msgid "(file-append zsh \"/bin/zsh\")\n"
  20500. msgstr ""
  20501. #. type: item
  20502. #: guix-git/doc/guix.texi:14410 guix-git/doc/guix.texi:14468
  20503. #, no-wrap
  20504. msgid "@code{system?} (default: @code{#f})"
  20505. msgstr ""
  20506. #. type: table
  20507. #: guix-git/doc/guix.texi:14414
  20508. msgid "This Boolean value indicates whether the account is a ``system'' account. System accounts are sometimes treated specially; for instance, graphical login managers do not list them."
  20509. msgstr ""
  20510. #. type: anchor{#1}
  20511. #: guix-git/doc/guix.texi:14416
  20512. msgid "user-account-password"
  20513. msgstr ""
  20514. #. type: cindex
  20515. #: guix-git/doc/guix.texi:14416
  20516. #, no-wrap
  20517. msgid "password, for user accounts"
  20518. msgstr ""
  20519. #. type: item
  20520. #: guix-git/doc/guix.texi:14417 guix-git/doc/guix.texi:14472
  20521. #, no-wrap
  20522. msgid "@code{password} (default: @code{#f})"
  20523. msgstr ""
  20524. #. type: table
  20525. #: guix-git/doc/guix.texi:14423
  20526. msgid "You would normally leave this field to @code{#f}, initialize user passwords as @code{root} with the @command{passwd} command, and then let users change it with @command{passwd}. Passwords set with @command{passwd} are of course preserved across reboot and reconfiguration."
  20527. msgstr ""
  20528. #. type: table
  20529. #: guix-git/doc/guix.texi:14427
  20530. msgid "If you @emph{do} want to set an initial password for an account, then this field must contain the encrypted password, as a string. You can use the @code{crypt} procedure for this purpose:"
  20531. msgstr ""
  20532. #. type: lisp
  20533. #: guix-git/doc/guix.texi:14432
  20534. #, no-wrap
  20535. msgid ""
  20536. "(user-account\n"
  20537. " (name \"charlie\")\n"
  20538. " (group \"users\")\n"
  20539. "\n"
  20540. msgstr ""
  20541. #. type: lisp
  20542. #: guix-git/doc/guix.texi:14435
  20543. #, no-wrap
  20544. msgid ""
  20545. " ;; Specify a SHA-512-hashed initial password.\n"
  20546. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  20547. msgstr ""
  20548. #. type: quotation
  20549. #: guix-git/doc/guix.texi:14441
  20550. msgid "The hash of this initial password will be available in a file in @file{/gnu/store}, readable by all the users, so this method must be used with care."
  20551. msgstr ""
  20552. #. type: table
  20553. #: guix-git/doc/guix.texi:14446
  20554. msgid "@xref{Passphrase Storage,,, libc, The GNU C Library Reference Manual}, for more information on password encryption, and @ref{Encryption,,, guile, GNU Guile Reference Manual}, for information on Guile's @code{crypt} procedure."
  20555. msgstr ""
  20556. #. type: Plain text
  20557. #: guix-git/doc/guix.texi:14452
  20558. msgid "User group declarations are even simpler:"
  20559. msgstr ""
  20560. #. type: lisp
  20561. #: guix-git/doc/guix.texi:14455
  20562. #, no-wrap
  20563. msgid "(user-group (name \"students\"))\n"
  20564. msgstr ""
  20565. #. type: deftp
  20566. #: guix-git/doc/guix.texi:14457
  20567. #, no-wrap
  20568. msgid "{Data Type} user-group"
  20569. msgstr ""
  20570. #. type: deftp
  20571. #: guix-git/doc/guix.texi:14459
  20572. msgid "This type is for, well, user groups. There are just a few fields:"
  20573. msgstr ""
  20574. #. type: table
  20575. #: guix-git/doc/guix.texi:14463
  20576. msgid "The name of the group."
  20577. msgstr ""
  20578. #. type: item
  20579. #: guix-git/doc/guix.texi:14464 guix-git/doc/guix.texi:28988
  20580. #, no-wrap
  20581. msgid "@code{id} (default: @code{#f})"
  20582. msgstr ""
  20583. #. type: table
  20584. #: guix-git/doc/guix.texi:14467
  20585. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  20586. msgstr ""
  20587. #. type: table
  20588. #: guix-git/doc/guix.texi:14471
  20589. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  20590. msgstr ""
  20591. #. type: table
  20592. #: guix-git/doc/guix.texi:14475
  20593. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  20594. msgstr ""
  20595. #. type: Plain text
  20596. #: guix-git/doc/guix.texi:14481
  20597. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  20598. msgstr ""
  20599. #. type: defvr
  20600. #: guix-git/doc/guix.texi:14482
  20601. #, no-wrap
  20602. msgid "{Scheme Variable} %base-groups"
  20603. msgstr ""
  20604. #. type: defvr
  20605. #: guix-git/doc/guix.texi:14487
  20606. msgid "This is the list of basic user groups that users and/or packages expect to be present on the system. This includes groups such as ``root'', ``wheel'', and ``users'', as well as groups used to control access to specific devices such as ``audio'', ``disk'', and ``cdrom''."
  20607. msgstr ""
  20608. #. type: defvr
  20609. #: guix-git/doc/guix.texi:14489
  20610. #, no-wrap
  20611. msgid "{Scheme Variable} %base-user-accounts"
  20612. msgstr ""
  20613. #. type: defvr
  20614. #: guix-git/doc/guix.texi:14492
  20615. msgid "This is the list of basic system accounts that programs may expect to find on a GNU/Linux system, such as the ``nobody'' account."
  20616. msgstr ""
  20617. #. type: defvr
  20618. #: guix-git/doc/guix.texi:14495
  20619. msgid "Note that the ``root'' account is not included here. It is a special-case and is automatically added whether or not it is specified."
  20620. msgstr ""
  20621. #. type: cindex
  20622. #: guix-git/doc/guix.texi:14501
  20623. #, no-wrap
  20624. msgid "keymap"
  20625. msgstr ""
  20626. #. type: Plain text
  20627. #: guix-git/doc/guix.texi:14509
  20628. msgid "To specify what each key of your keyboard does, you need to tell the operating system what @dfn{keyboard layout} you want to use. The default, when nothing is specified, is the US English QWERTY layout for 105-key PC keyboards. However, German speakers will usually prefer the German QWERTZ layout, French speakers will want the AZERTY layout, and so on; hackers might prefer Dvorak or bépo, and they might even want to further customize the effect of some of the keys. This section explains how to get that done."
  20629. msgstr ""
  20630. #. type: cindex
  20631. #: guix-git/doc/guix.texi:14510
  20632. #, no-wrap
  20633. msgid "keyboard layout, definition"
  20634. msgstr ""
  20635. #. type: Plain text
  20636. #: guix-git/doc/guix.texi:14512
  20637. msgid "There are three components that will want to know about your keyboard layout:"
  20638. msgstr ""
  20639. #. type: itemize
  20640. #: guix-git/doc/guix.texi:14519
  20641. msgid "The @emph{bootloader} may want to know what keyboard layout you want to use (@pxref{Bootloader Configuration, @code{keyboard-layout}}). This is useful if you want, for instance, to make sure that you can type the passphrase of your encrypted root partition using the right layout."
  20642. msgstr ""
  20643. #. type: itemize
  20644. #: guix-git/doc/guix.texi:14524
  20645. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  20646. msgstr ""
  20647. #. type: itemize
  20648. #: guix-git/doc/guix.texi:14528
  20649. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  20650. msgstr ""
  20651. #. type: Plain text
  20652. #: guix-git/doc/guix.texi:14532
  20653. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  20654. msgstr ""
  20655. #. type: cindex
  20656. #: guix-git/doc/guix.texi:14533
  20657. #, no-wrap
  20658. msgid "XKB, keyboard layouts"
  20659. msgstr ""
  20660. #. type: Plain text
  20661. #: guix-git/doc/guix.texi:14541
  20662. msgid "Keyboard layouts are represented by records created by the @code{keyboard-layout} procedure of @code{(gnu system keyboard)}. Following the X Keyboard extension (XKB), each layout has four attributes: a name (often a language code such as ``fi'' for Finnish or ``jp'' for Japanese), an optional variant name, an optional keyboard model name, and a possibly empty list of additional options. In most cases the layout name is all you care about."
  20663. msgstr ""
  20664. #. type: deffn
  20665. #: guix-git/doc/guix.texi:14542
  20666. #, no-wrap
  20667. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  20668. msgstr ""
  20669. #. type: deffn
  20670. #: guix-git/doc/guix.texi:14545
  20671. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  20672. msgstr ""
  20673. #. type: deffn
  20674. #: guix-git/doc/guix.texi:14549
  20675. msgid "@var{name} must be a string such as @code{\"fr\"}; @var{variant} must be a string such as @code{\"bepo\"} or @code{\"nodeadkeys\"}. See the @code{xkeyboard-config} package for valid options."
  20676. msgstr ""
  20677. #. type: Plain text
  20678. #: guix-git/doc/guix.texi:14552
  20679. msgid "Here are a few examples:"
  20680. msgstr ""
  20681. #. type: lisp
  20682. #: guix-git/doc/guix.texi:14557
  20683. #, no-wrap
  20684. msgid ""
  20685. ";; The German QWERTZ layout. Here we assume a standard\n"
  20686. ";; \"pc105\" keyboard model.\n"
  20687. "(keyboard-layout \"de\")\n"
  20688. "\n"
  20689. msgstr ""
  20690. #. type: lisp
  20691. #: guix-git/doc/guix.texi:14560
  20692. #, no-wrap
  20693. msgid ""
  20694. ";; The bépo variant of the French layout.\n"
  20695. "(keyboard-layout \"fr\" \"bepo\")\n"
  20696. "\n"
  20697. msgstr ""
  20698. #. type: lisp
  20699. #: guix-git/doc/guix.texi:14563
  20700. #, no-wrap
  20701. msgid ""
  20702. ";; The Catalan layout.\n"
  20703. "(keyboard-layout \"es\" \"cat\")\n"
  20704. "\n"
  20705. msgstr ""
  20706. #. type: lisp
  20707. #: guix-git/doc/guix.texi:14566
  20708. #, no-wrap
  20709. msgid ""
  20710. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  20711. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  20712. "\n"
  20713. msgstr ""
  20714. #. type: lisp
  20715. #: guix-git/doc/guix.texi:14573
  20716. #, no-wrap
  20717. msgid ""
  20718. ";; The Latin American Spanish layout. In addition, the\n"
  20719. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  20720. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  20721. ";; accented letters.\n"
  20722. "(keyboard-layout \"latam\"\n"
  20723. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  20724. "\n"
  20725. msgstr ""
  20726. #. type: lisp
  20727. #: guix-git/doc/guix.texi:14576
  20728. #, no-wrap
  20729. msgid ""
  20730. ";; The Russian layout for a ThinkPad keyboard.\n"
  20731. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  20732. "\n"
  20733. msgstr ""
  20734. #. type: lisp
  20735. #: guix-git/doc/guix.texi:14581
  20736. #, no-wrap
  20737. msgid ""
  20738. ";; The \"US international\" layout, which is the US layout plus\n"
  20739. ";; dead keys to enter accented characters. This is for an\n"
  20740. ";; Apple MacBook keyboard.\n"
  20741. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  20742. msgstr ""
  20743. #. type: Plain text
  20744. #: guix-git/doc/guix.texi:14585
  20745. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  20746. msgstr ""
  20747. #. type: cindex
  20748. #: guix-git/doc/guix.texi:14586
  20749. #, no-wrap
  20750. msgid "keyboard layout, configuration"
  20751. msgstr ""
  20752. #. type: Plain text
  20753. #: guix-git/doc/guix.texi:14590
  20754. msgid "Let's say you want your system to use the Turkish keyboard layout throughout your system---bootloader, console, and Xorg. Here's what your system configuration would look like:"
  20755. msgstr ""
  20756. #. type: findex
  20757. #: guix-git/doc/guix.texi:14591
  20758. #, no-wrap
  20759. msgid "set-xorg-configuration"
  20760. msgstr ""
  20761. #. type: lisp
  20762. #: guix-git/doc/guix.texi:14595
  20763. #, no-wrap
  20764. msgid ""
  20765. ";; Using the Turkish layout for the bootloader, the console,\n"
  20766. ";; and for Xorg.\n"
  20767. "\n"
  20768. msgstr ""
  20769. #. type: lisp
  20770. #: guix-git/doc/guix.texi:14607
  20771. #, no-wrap
  20772. msgid ""
  20773. "(operating-system\n"
  20774. " ;; ...\n"
  20775. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  20776. " (bootloader (bootloader-configuration\n"
  20777. " (bootloader grub-efi-bootloader)\n"
  20778. " (target \"/boot/efi\")\n"
  20779. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  20780. " (services (cons (set-xorg-configuration\n"
  20781. " (xorg-configuration ;for Xorg\n"
  20782. " (keyboard-layout keyboard-layout)))\n"
  20783. " %desktop-services)))\n"
  20784. msgstr ""
  20785. #. type: Plain text
  20786. #: guix-git/doc/guix.texi:14614
  20787. msgid "In the example above, for GRUB and for Xorg, we just refer to the @code{keyboard-layout} field defined above, but we could just as well refer to a different layout. The @code{set-xorg-configuration} procedure communicates the desired Xorg configuration to the graphical log-in manager, by default GDM."
  20788. msgstr ""
  20789. #. type: Plain text
  20790. #: guix-git/doc/guix.texi:14617
  20791. msgid "We've discussed how to specify the @emph{default} keyboard layout of your system when it starts, but you can also adjust it at run time:"
  20792. msgstr ""
  20793. #. type: itemize
  20794. #: guix-git/doc/guix.texi:14622
  20795. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  20796. msgstr ""
  20797. #. type: itemize
  20798. #: guix-git/doc/guix.texi:14627
  20799. msgid "Under Xorg, the @command{setxkbmap} command (from the same-named package) allows you to change the current layout. For example, this is how you would change the layout to US Dvorak:"
  20800. msgstr ""
  20801. #. type: example
  20802. #: guix-git/doc/guix.texi:14630
  20803. #, no-wrap
  20804. msgid "setxkbmap us dvorak\n"
  20805. msgstr ""
  20806. #. type: itemize
  20807. #: guix-git/doc/guix.texi:14637
  20808. msgid "The @code{loadkeys} command changes the keyboard layout in effect in the Linux console. However, note that @code{loadkeys} does @emph{not} use the XKB keyboard layout categorization described above. The command below loads the French bépo layout:"
  20809. msgstr ""
  20810. #. type: example
  20811. #: guix-git/doc/guix.texi:14640
  20812. #, no-wrap
  20813. msgid "loadkeys fr-bepo\n"
  20814. msgstr ""
  20815. #. type: cindex
  20816. #: guix-git/doc/guix.texi:14646
  20817. #, no-wrap
  20818. msgid "locale"
  20819. msgstr ""
  20820. #. type: Plain text
  20821. #: guix-git/doc/guix.texi:14653
  20822. msgid "A @dfn{locale} defines cultural conventions for a particular language and region of the world (@pxref{Locales,,, libc, The GNU C Library Reference Manual}). Each locale has a name that typically has the form @code{@var{language}_@var{territory}.@var{codeset}}---e.g., @code{fr_LU.utf8} designates the locale for the French language, with cultural conventions from Luxembourg, and using the UTF-8 encoding."
  20823. msgstr ""
  20824. #. type: cindex
  20825. #: guix-git/doc/guix.texi:14654
  20826. #, no-wrap
  20827. msgid "locale definition"
  20828. msgstr ""
  20829. #. type: Plain text
  20830. #: guix-git/doc/guix.texi:14658
  20831. msgid "Usually, you will want to specify the default locale for the machine using the @code{locale} field of the @code{operating-system} declaration (@pxref{operating-system Reference, @code{locale}})."
  20832. msgstr ""
  20833. #. type: Plain text
  20834. #: guix-git/doc/guix.texi:14667
  20835. msgid "The selected locale is automatically added to the @dfn{locale definitions} known to the system if needed, with its codeset inferred from its name---e.g., @code{bo_CN.utf8} will be assumed to use the @code{UTF-8} codeset. Additional locale definitions can be specified in the @code{locale-definitions} slot of @code{operating-system}---this is useful, for instance, if the codeset could not be inferred from the locale name. The default set of locale definitions includes some widely used locales, but not all the available locales, in order to save space."
  20836. msgstr ""
  20837. #. type: Plain text
  20838. #: guix-git/doc/guix.texi:14670
  20839. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  20840. msgstr ""
  20841. #. type: lisp
  20842. #: guix-git/doc/guix.texi:14675
  20843. #, no-wrap
  20844. msgid ""
  20845. "(cons (locale-definition\n"
  20846. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  20847. " %default-locale-definitions)\n"
  20848. msgstr ""
  20849. #. type: Plain text
  20850. #: guix-git/doc/guix.texi:14679
  20851. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  20852. msgstr ""
  20853. #. type: lisp
  20854. #: guix-git/doc/guix.texi:14684
  20855. #, no-wrap
  20856. msgid ""
  20857. "(list (locale-definition\n"
  20858. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  20859. " (charset \"EUC-JP\")))\n"
  20860. msgstr ""
  20861. #. type: Plain text
  20862. #: guix-git/doc/guix.texi:14693
  20863. msgid "The compiled locale definitions are available at @file{/run/current-system/locale/X.Y}, where @code{X.Y} is the libc version, which is the default location where the GNU@tie{}libc provided by Guix looks for locale data. This can be overridden using the @env{LOCPATH} environment variable (@pxref{locales-and-locpath, @env{LOCPATH} and locale packages})."
  20864. msgstr ""
  20865. #. type: Plain text
  20866. #: guix-git/doc/guix.texi:14696
  20867. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  20868. msgstr ""
  20869. #. type: deftp
  20870. #: guix-git/doc/guix.texi:14697
  20871. #, no-wrap
  20872. msgid "{Data Type} locale-definition"
  20873. msgstr ""
  20874. #. type: deftp
  20875. #: guix-git/doc/guix.texi:14699
  20876. msgid "This is the data type of a locale definition."
  20877. msgstr ""
  20878. #. type: table
  20879. #: guix-git/doc/guix.texi:14705
  20880. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  20881. msgstr ""
  20882. #. type: table
  20883. #: guix-git/doc/guix.texi:14709
  20884. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  20885. msgstr ""
  20886. #. type: item
  20887. #: guix-git/doc/guix.texi:14710
  20888. #, no-wrap
  20889. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  20890. msgstr ""
  20891. #. type: table
  20892. #: guix-git/doc/guix.texi:14714
  20893. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  20894. msgstr ""
  20895. #. type: defvr
  20896. #: guix-git/doc/guix.texi:14718
  20897. #, no-wrap
  20898. msgid "{Scheme Variable} %default-locale-definitions"
  20899. msgstr ""
  20900. #. type: defvr
  20901. #: guix-git/doc/guix.texi:14722
  20902. msgid "A list of commonly used UTF-8 locales, used as the default value of the @code{locale-definitions} field of @code{operating-system} declarations."
  20903. msgstr ""
  20904. #. type: cindex
  20905. #: guix-git/doc/guix.texi:14723
  20906. #, no-wrap
  20907. msgid "locale name"
  20908. msgstr ""
  20909. #. type: cindex
  20910. #: guix-git/doc/guix.texi:14724
  20911. #, no-wrap
  20912. msgid "normalized codeset in locale names"
  20913. msgstr ""
  20914. #. type: defvr
  20915. #: guix-git/doc/guix.texi:14730
  20916. msgid "These locale definitions use the @dfn{normalized codeset} for the part that follows the dot in the name (@pxref{Using gettextized software, normalized codeset,, libc, The GNU C Library Reference Manual}). So for instance it has @code{uk_UA.utf8} but @emph{not}, say, @code{uk_UA.UTF-8}."
  20917. msgstr ""
  20918. #. type: subsection
  20919. #: guix-git/doc/guix.texi:14732
  20920. #, no-wrap
  20921. msgid "Locale Data Compatibility Considerations"
  20922. msgstr ""
  20923. #. type: cindex
  20924. #: guix-git/doc/guix.texi:14734
  20925. #, no-wrap
  20926. msgid "incompatibility, of locale data"
  20927. msgstr ""
  20928. #. type: Plain text
  20929. #: guix-git/doc/guix.texi:14741
  20930. msgid "@code{operating-system} declarations provide a @code{locale-libcs} field to specify the GNU@tie{}libc packages that are used to compile locale declarations (@pxref{operating-system Reference}). ``Why would I care?'', you may ask. Well, it turns out that the binary format of locale data is occasionally incompatible from one libc version to another."
  20931. msgstr ""
  20932. #. type: Plain text
  20933. #: guix-git/doc/guix.texi:14753
  20934. msgid "For instance, a program linked against libc version 2.21 is unable to read locale data produced with libc 2.22; worse, that program @emph{aborts} instead of simply ignoring the incompatible locale data@footnote{Versions 2.23 and later of GNU@tie{}libc will simply skip the incompatible locale data, which is already an improvement.}. Similarly, a program linked against libc 2.22 can read most, but not all, of the locale data from libc 2.21 (specifically, @env{LC_COLLATE} data is incompatible); thus calls to @code{setlocale} may fail, but programs will not abort."
  20935. msgstr ""
  20936. #. type: Plain text
  20937. #: guix-git/doc/guix.texi:14758
  20938. msgid "The ``problem'' with Guix is that users have a lot of freedom: They can choose whether and when to upgrade software in their profiles, and might be using a libc version different from the one the system administrator used to build the system-wide locale data."
  20939. msgstr ""
  20940. #. type: Plain text
  20941. #: guix-git/doc/guix.texi:14762
  20942. msgid "Fortunately, unprivileged users can also install their own locale data and define @env{GUIX_LOCPATH} accordingly (@pxref{locales-and-locpath, @env{GUIX_LOCPATH} and locale packages})."
  20943. msgstr ""
  20944. #. type: Plain text
  20945. #: guix-git/doc/guix.texi:14769
  20946. msgid "Still, it is best if the system-wide locale data at @file{/run/current-system/locale} is built for all the libc versions actually in use on the system, so that all the programs can access it---this is especially crucial on a multi-user system. To do that, the administrator can specify several libc packages in the @code{locale-libcs} field of @code{operating-system}:"
  20947. msgstr ""
  20948. #. type: lisp
  20949. #: guix-git/doc/guix.texi:14772
  20950. #, no-wrap
  20951. msgid ""
  20952. "(use-package-modules base)\n"
  20953. "\n"
  20954. msgstr ""
  20955. #. type: lisp
  20956. #: guix-git/doc/guix.texi:14776
  20957. #, no-wrap
  20958. msgid ""
  20959. "(operating-system\n"
  20960. " ;; @dots{}\n"
  20961. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  20962. msgstr ""
  20963. #. type: Plain text
  20964. #: guix-git/doc/guix.texi:14781
  20965. msgid "This example would lead to a system containing locale definitions for both libc 2.21 and the current version of libc in @file{/run/current-system/locale}."
  20966. msgstr ""
  20967. #. type: cindex
  20968. #: guix-git/doc/guix.texi:14786
  20969. #, no-wrap
  20970. msgid "system services"
  20971. msgstr ""
  20972. #. type: Plain text
  20973. #: guix-git/doc/guix.texi:14792
  20974. msgid "An important part of preparing an @code{operating-system} declaration is listing @dfn{system services} and their configuration (@pxref{Using the Configuration System}). System services are typically daemons launched when the system boots, or other actions needed at that time---e.g., configuring network access."
  20975. msgstr ""
  20976. #. type: Plain text
  20977. #: guix-git/doc/guix.texi:14799
  20978. msgid "Guix has a broad definition of ``service'' (@pxref{Service Composition}), but many services are managed by the GNU@tie{}Shepherd (@pxref{Shepherd Services}). On a running system, the @command{herd} command allows you to list the available services, show their status, start and stop them, or do other specific operations (@pxref{Jump Start,,, shepherd, The GNU Shepherd Manual}). For example:"
  20979. msgstr ""
  20980. #. type: example
  20981. #: guix-git/doc/guix.texi:14802
  20982. #, no-wrap
  20983. msgid "# herd status\n"
  20984. msgstr ""
  20985. #. type: Plain text
  20986. #: guix-git/doc/guix.texi:14807
  20987. msgid "The above command, run as @code{root}, lists the currently defined services. The @command{herd doc} command shows a synopsis of the given service and its associated actions:"
  20988. msgstr ""
  20989. #. type: example
  20990. #: guix-git/doc/guix.texi:14811
  20991. #, no-wrap
  20992. msgid ""
  20993. "# herd doc nscd\n"
  20994. "Run libc's name service cache daemon (nscd).\n"
  20995. "\n"
  20996. msgstr ""
  20997. #. type: example
  20998. #: guix-git/doc/guix.texi:14814
  20999. #, no-wrap
  21000. msgid ""
  21001. "# herd doc nscd action invalidate\n"
  21002. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  21003. msgstr ""
  21004. #. type: Plain text
  21005. #: guix-git/doc/guix.texi:14819
  21006. msgid "The @command{start}, @command{stop}, and @command{restart} sub-commands have the effect you would expect. For instance, the commands below stop the nscd service and restart the Xorg display server:"
  21007. msgstr ""
  21008. #. type: example
  21009. #: guix-git/doc/guix.texi:14826
  21010. #, no-wrap
  21011. msgid ""
  21012. "# herd stop nscd\n"
  21013. "Service nscd has been stopped.\n"
  21014. "# herd restart xorg-server\n"
  21015. "Service xorg-server has been stopped.\n"
  21016. "Service xorg-server has been started.\n"
  21017. msgstr ""
  21018. #. type: Plain text
  21019. #: guix-git/doc/guix.texi:14831
  21020. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  21021. msgstr ""
  21022. #. type: subsection
  21023. #: guix-git/doc/guix.texi:14866 guix-git/doc/guix.texi:22490
  21024. #: guix-git/doc/guix.texi:22491
  21025. #, no-wrap
  21026. msgid "File-Sharing Services"
  21027. msgstr ""
  21028. #. type: menuentry
  21029. #: guix-git/doc/guix.texi:14866
  21030. msgid "File-sharing services."
  21031. msgstr ""
  21032. #. type: Plain text
  21033. #: guix-git/doc/guix.texi:14874
  21034. msgid "The @code{(gnu services base)} module provides definitions for the basic services that one expects from the system. The services exported by this module are listed below."
  21035. msgstr ""
  21036. #. type: defvr
  21037. #: guix-git/doc/guix.texi:14875
  21038. #, no-wrap
  21039. msgid "{Scheme Variable} %base-services"
  21040. msgstr ""
  21041. #. type: defvr
  21042. #: guix-git/doc/guix.texi:14881
  21043. msgid "This variable contains a list of basic services (@pxref{Service Types and Services}, for more information on service objects) one would expect from the system: a login service (mingetty) on each tty, syslogd, the libc name service cache daemon (nscd), the udev device manager, and more."
  21044. msgstr ""
  21045. #. type: defvr
  21046. #: guix-git/doc/guix.texi:14886
  21047. msgid "This is the default value of the @code{services} field of @code{operating-system} declarations. Usually, when customizing a system, you will want to append services to @code{%base-services}, like this:"
  21048. msgstr ""
  21049. #. type: lisp
  21050. #: guix-git/doc/guix.texi:14891
  21051. #, no-wrap
  21052. msgid ""
  21053. "(append (list (service avahi-service-type)\n"
  21054. " (service openssh-service-type))\n"
  21055. " %base-services)\n"
  21056. msgstr ""
  21057. #. type: defvr
  21058. #: guix-git/doc/guix.texi:14894
  21059. #, no-wrap
  21060. msgid "{Scheme Variable} special-files-service-type"
  21061. msgstr ""
  21062. #. type: defvr
  21063. #: guix-git/doc/guix.texi:14897
  21064. msgid "This is the service that sets up ``special files'' such as @file{/bin/sh}; an instance of it is part of @code{%base-services}."
  21065. msgstr ""
  21066. #. type: defvr
  21067. #: guix-git/doc/guix.texi:14901
  21068. msgid "The value associated with @code{special-files-service-type} services must be a list of tuples where the first element is the ``special file'' and the second element is its target. By default it is:"
  21069. msgstr ""
  21070. #. type: file{#1}
  21071. #: guix-git/doc/guix.texi:14902
  21072. #, no-wrap
  21073. msgid "/bin/sh"
  21074. msgstr ""
  21075. #. type: cindex
  21076. #: guix-git/doc/guix.texi:14903
  21077. #, no-wrap
  21078. msgid "@file{sh}, in @file{/bin}"
  21079. msgstr ""
  21080. #. type: lisp
  21081. #: guix-git/doc/guix.texi:14906
  21082. #, no-wrap
  21083. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  21084. msgstr ""
  21085. #. type: file{#1}
  21086. #: guix-git/doc/guix.texi:14908
  21087. #, no-wrap
  21088. msgid "/usr/bin/env"
  21089. msgstr ""
  21090. #. type: cindex
  21091. #: guix-git/doc/guix.texi:14909
  21092. #, no-wrap
  21093. msgid "@file{env}, in @file{/usr/bin}"
  21094. msgstr ""
  21095. #. type: defvr
  21096. #: guix-git/doc/guix.texi:14912
  21097. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  21098. msgstr ""
  21099. #. type: lisp
  21100. #: guix-git/doc/guix.texi:14916
  21101. #, no-wrap
  21102. msgid ""
  21103. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  21104. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  21105. msgstr ""
  21106. #. type: defvr
  21107. #: guix-git/doc/guix.texi:14923
  21108. msgid "Since this is part of @code{%base-services}, you can use @code{modify-services} to customize the set of special files (@pxref{Service Reference, @code{modify-services}}). But the simple way to add a special file is @i{via} the @code{extra-special-file} procedure (see below)."
  21109. msgstr ""
  21110. #. type: deffn
  21111. #: guix-git/doc/guix.texi:14925
  21112. #, no-wrap
  21113. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  21114. msgstr ""
  21115. #. type: deffn
  21116. #: guix-git/doc/guix.texi:14927
  21117. msgid "Use @var{target} as the ``special file'' @var{file}."
  21118. msgstr ""
  21119. #. type: deffn
  21120. #: guix-git/doc/guix.texi:14931
  21121. msgid "For example, adding the following lines to the @code{services} field of your operating system declaration leads to a @file{/usr/bin/env} symlink:"
  21122. msgstr ""
  21123. #. type: lisp
  21124. #: guix-git/doc/guix.texi:14935
  21125. #, no-wrap
  21126. msgid ""
  21127. "(extra-special-file \"/usr/bin/env\"\n"
  21128. " (file-append coreutils \"/bin/env\"))\n"
  21129. msgstr ""
  21130. #. type: deffn
  21131. #: guix-git/doc/guix.texi:14938
  21132. #, no-wrap
  21133. msgid "{Scheme Procedure} host-name-service @var{name}"
  21134. msgstr ""
  21135. #. type: deffn
  21136. #: guix-git/doc/guix.texi:14940
  21137. msgid "Return a service that sets the host name to @var{name}."
  21138. msgstr ""
  21139. #. type: defvr
  21140. #: guix-git/doc/guix.texi:14942
  21141. #, no-wrap
  21142. msgid "{Scheme Variable} console-font-service-type"
  21143. msgstr ""
  21144. #. type: defvr
  21145. #: guix-git/doc/guix.texi:14947
  21146. msgid "Install the given fonts on the specified ttys (fonts are per virtual console on the kernel Linux). The value of this service is a list of tty/font pairs. The font can be the name of a font provided by the @code{kbd} package or any valid argument to @command{setfont}, as in this example:"
  21147. msgstr ""
  21148. #. type: lisp
  21149. #: guix-git/doc/guix.texi:14956
  21150. #, no-wrap
  21151. msgid ""
  21152. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  21153. " (\"tty2\" . ,(file-append\n"
  21154. " font-tamzen\n"
  21155. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  21156. " (\"tty3\" . ,(file-append\n"
  21157. " font-terminus\n"
  21158. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  21159. msgstr ""
  21160. #. type: deffn
  21161. #: guix-git/doc/guix.texi:14959
  21162. #, no-wrap
  21163. msgid "{Scheme Procedure} login-service @var{config}"
  21164. msgstr ""
  21165. #. type: deffn
  21166. #: guix-git/doc/guix.texi:14963
  21167. msgid "Return a service to run login according to @var{config}, a @code{<login-configuration>} object, which specifies the message of the day, among other things."
  21168. msgstr ""
  21169. #. type: deftp
  21170. #: guix-git/doc/guix.texi:14965
  21171. #, no-wrap
  21172. msgid "{Data Type} login-configuration"
  21173. msgstr ""
  21174. #. type: deftp
  21175. #: guix-git/doc/guix.texi:14967
  21176. msgid "This is the data type representing the configuration of login."
  21177. msgstr ""
  21178. #. type: code{#1}
  21179. #: guix-git/doc/guix.texi:14970
  21180. #, no-wrap
  21181. msgid "motd"
  21182. msgstr ""
  21183. #. type: cindex
  21184. #: guix-git/doc/guix.texi:14971
  21185. #, no-wrap
  21186. msgid "message of the day"
  21187. msgstr ""
  21188. #. type: table
  21189. #: guix-git/doc/guix.texi:14973
  21190. msgid "A file-like object containing the ``message of the day''."
  21191. msgstr ""
  21192. #. type: item
  21193. #: guix-git/doc/guix.texi:14974 guix-git/doc/guix.texi:17855
  21194. #, no-wrap
  21195. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  21196. msgstr ""
  21197. #. type: table
  21198. #: guix-git/doc/guix.texi:14977
  21199. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  21200. msgstr ""
  21201. #. type: deffn
  21202. #: guix-git/doc/guix.texi:14981
  21203. #, no-wrap
  21204. msgid "{Scheme Procedure} mingetty-service @var{config}"
  21205. msgstr ""
  21206. #. type: deffn
  21207. #: guix-git/doc/guix.texi:14985
  21208. msgid "Return a service to run mingetty according to @var{config}, a @code{<mingetty-configuration>} object, which specifies the tty to run, among other things."
  21209. msgstr ""
  21210. #. type: deftp
  21211. #: guix-git/doc/guix.texi:14987
  21212. #, no-wrap
  21213. msgid "{Data Type} mingetty-configuration"
  21214. msgstr ""
  21215. #. type: deftp
  21216. #: guix-git/doc/guix.texi:14990
  21217. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  21218. msgstr ""
  21219. #. type: code{#1}
  21220. #: guix-git/doc/guix.texi:14993 guix-git/doc/guix.texi:15032
  21221. #: guix-git/doc/guix.texi:31484
  21222. #, no-wrap
  21223. msgid "tty"
  21224. msgstr ""
  21225. #. type: table
  21226. #: guix-git/doc/guix.texi:14995
  21227. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  21228. msgstr ""
  21229. #. type: item
  21230. #: guix-git/doc/guix.texi:14996 guix-git/doc/guix.texi:15061
  21231. #: guix-git/doc/guix.texi:15220
  21232. #, no-wrap
  21233. msgid "@code{auto-login} (default: @code{#f})"
  21234. msgstr ""
  21235. #. type: table
  21236. #: guix-git/doc/guix.texi:15000
  21237. msgid "When true, this field must be a string denoting the user name under which the system automatically logs in. When it is @code{#f}, a user name and password must be entered to log in."
  21238. msgstr ""
  21239. #. type: item
  21240. #: guix-git/doc/guix.texi:15001
  21241. #, no-wrap
  21242. msgid "@code{login-program} (default: @code{#f})"
  21243. msgstr ""
  21244. #. type: table
  21245. #: guix-git/doc/guix.texi:15005
  21246. msgid "This must be either @code{#f}, in which case the default log-in program is used (@command{login} from the Shadow tool suite), or a gexp denoting the name of the log-in program."
  21247. msgstr ""
  21248. #. type: item
  21249. #: guix-git/doc/guix.texi:15006
  21250. #, no-wrap
  21251. msgid "@code{login-pause?} (default: @code{#f})"
  21252. msgstr ""
  21253. #. type: table
  21254. #: guix-git/doc/guix.texi:15009
  21255. msgid "When set to @code{#t} in conjunction with @var{auto-login}, the user will have to press a key before the log-in shell is launched."
  21256. msgstr ""
  21257. #. type: item
  21258. #: guix-git/doc/guix.texi:15010
  21259. #, no-wrap
  21260. msgid "@code{clear-on-logout?} (default: @code{#t})"
  21261. msgstr ""
  21262. #. type: table
  21263. #: guix-git/doc/guix.texi:15012
  21264. msgid "When set to @code{#t}, the screen will be cleared after logout."
  21265. msgstr ""
  21266. #. type: item
  21267. #: guix-git/doc/guix.texi:15013
  21268. #, no-wrap
  21269. msgid "@code{mingetty} (default: @var{mingetty})"
  21270. msgstr ""
  21271. #. type: table
  21272. #: guix-git/doc/guix.texi:15015
  21273. msgid "The Mingetty package to use."
  21274. msgstr ""
  21275. #. type: deffn
  21276. #: guix-git/doc/guix.texi:15019
  21277. #, no-wrap
  21278. msgid "{Scheme Procedure} agetty-service @var{config}"
  21279. msgstr ""
  21280. #. type: deffn
  21281. #: guix-git/doc/guix.texi:15023
  21282. msgid "Return a service to run agetty according to @var{config}, an @code{<agetty-configuration>} object, which specifies the tty to run, among other things."
  21283. msgstr ""
  21284. #. type: deftp
  21285. #: guix-git/doc/guix.texi:15025
  21286. #, no-wrap
  21287. msgid "{Data Type} agetty-configuration"
  21288. msgstr ""
  21289. #. type: deftp
  21290. #: guix-git/doc/guix.texi:15029
  21291. msgid "This is the data type representing the configuration of agetty, which implements virtual and serial console log-in. See the @code{agetty(8)} man page for more information."
  21292. msgstr ""
  21293. #. type: table
  21294. #: guix-git/doc/guix.texi:15036
  21295. msgid "The name of the console this agetty runs on, as a string---e.g., @code{\"ttyS0\"}. This argument is optional, it will default to a reasonable default serial port used by the kernel Linux."
  21296. msgstr ""
  21297. #. type: table
  21298. #: guix-git/doc/guix.texi:15040
  21299. msgid "For this, if there is a value for an option @code{agetty.tty} in the kernel command line, agetty will extract the device name of the serial port from it and use that."
  21300. msgstr ""
  21301. #. type: table
  21302. #: guix-git/doc/guix.texi:15044
  21303. msgid "If not and if there is a value for an option @code{console} with a tty in the Linux command line, agetty will extract the device name of the serial port from it and use that."
  21304. msgstr ""
  21305. #. type: table
  21306. #: guix-git/doc/guix.texi:15048
  21307. msgid "In both cases, agetty will leave the other serial device settings (baud rate etc.)@: alone---in the hope that Linux pinned them to the correct values."
  21308. msgstr ""
  21309. #. type: item
  21310. #: guix-git/doc/guix.texi:15049 guix-git/doc/guix.texi:31645
  21311. #, no-wrap
  21312. msgid "@code{baud-rate} (default: @code{#f})"
  21313. msgstr ""
  21314. #. type: table
  21315. #: guix-git/doc/guix.texi:15052
  21316. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  21317. msgstr ""
  21318. #. type: item
  21319. #: guix-git/doc/guix.texi:15053
  21320. #, no-wrap
  21321. msgid "@code{term} (default: @code{#f})"
  21322. msgstr ""
  21323. #. type: table
  21324. #: guix-git/doc/guix.texi:15056
  21325. msgid "A string containing the value used for the @env{TERM} environment variable."
  21326. msgstr ""
  21327. #. type: item
  21328. #: guix-git/doc/guix.texi:15057
  21329. #, no-wrap
  21330. msgid "@code{eight-bits?} (default: @code{#f})"
  21331. msgstr ""
  21332. #. type: table
  21333. #: guix-git/doc/guix.texi:15060
  21334. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  21335. msgstr ""
  21336. #. type: table
  21337. #: guix-git/doc/guix.texi:15064 guix-git/doc/guix.texi:15223
  21338. msgid "When passed a login name, as a string, the specified user will be logged in automatically without prompting for their login name or password."
  21339. msgstr ""
  21340. #. type: item
  21341. #: guix-git/doc/guix.texi:15065
  21342. #, no-wrap
  21343. msgid "@code{no-reset?} (default: @code{#f})"
  21344. msgstr ""
  21345. #. type: table
  21346. #: guix-git/doc/guix.texi:15067
  21347. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  21348. msgstr ""
  21349. #. type: item
  21350. #: guix-git/doc/guix.texi:15068
  21351. #, no-wrap
  21352. msgid "@code{host} (default: @code{#f})"
  21353. msgstr ""
  21354. #. type: table
  21355. #: guix-git/doc/guix.texi:15071
  21356. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  21357. msgstr ""
  21358. #. type: item
  21359. #: guix-git/doc/guix.texi:15072
  21360. #, no-wrap
  21361. msgid "@code{remote?} (default: @code{#f})"
  21362. msgstr ""
  21363. #. type: table
  21364. #: guix-git/doc/guix.texi:15076
  21365. msgid "When set to @code{#t} in conjunction with @var{host}, this will add an @code{-r} fakehost option to the command line of the login program specified in @var{login-program}."
  21366. msgstr ""
  21367. #. type: item
  21368. #: guix-git/doc/guix.texi:15077
  21369. #, no-wrap
  21370. msgid "@code{flow-control?} (default: @code{#f})"
  21371. msgstr ""
  21372. #. type: table
  21373. #: guix-git/doc/guix.texi:15079
  21374. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  21375. msgstr ""
  21376. #. type: item
  21377. #: guix-git/doc/guix.texi:15080
  21378. #, no-wrap
  21379. msgid "@code{no-issue?} (default: @code{#f})"
  21380. msgstr ""
  21381. #. type: table
  21382. #: guix-git/doc/guix.texi:15083
  21383. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  21384. msgstr ""
  21385. #. type: item
  21386. #: guix-git/doc/guix.texi:15084
  21387. #, no-wrap
  21388. msgid "@code{init-string} (default: @code{#f})"
  21389. msgstr ""
  21390. #. type: table
  21391. #: guix-git/doc/guix.texi:15087
  21392. msgid "This accepts a string that will be sent to the tty or modem before sending anything else. It can be used to initialize a modem."
  21393. msgstr ""
  21394. #. type: item
  21395. #: guix-git/doc/guix.texi:15088
  21396. #, no-wrap
  21397. msgid "@code{no-clear?} (default: @code{#f})"
  21398. msgstr ""
  21399. #. type: table
  21400. #: guix-git/doc/guix.texi:15091
  21401. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  21402. msgstr ""
  21403. #. type: item
  21404. #: guix-git/doc/guix.texi:15092
  21405. #, no-wrap
  21406. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  21407. msgstr ""
  21408. #. type: table
  21409. #: guix-git/doc/guix.texi:15096
  21410. msgid "This must be either a gexp denoting the name of a log-in program, or unset, in which case the default value is the @command{login} from the Shadow tool suite."
  21411. msgstr ""
  21412. #. type: item
  21413. #: guix-git/doc/guix.texi:15097
  21414. #, no-wrap
  21415. msgid "@code{local-line} (default: @code{#f})"
  21416. msgstr ""
  21417. #. type: table
  21418. #: guix-git/doc/guix.texi:15101
  21419. msgid "Control the CLOCAL line flag. This accepts one of three symbols as arguments, @code{'auto}, @code{'always}, or @code{'never}. If @code{#f}, the default value chosen by agetty is @code{'auto}."
  21420. msgstr ""
  21421. #. type: item
  21422. #: guix-git/doc/guix.texi:15102
  21423. #, no-wrap
  21424. msgid "@code{extract-baud?} (default: @code{#f})"
  21425. msgstr ""
  21426. #. type: table
  21427. #: guix-git/doc/guix.texi:15105
  21428. msgid "When set to @code{#t}, instruct agetty to try to extract the baud rate from the status messages produced by certain types of modems."
  21429. msgstr ""
  21430. #. type: item
  21431. #: guix-git/doc/guix.texi:15106
  21432. #, no-wrap
  21433. msgid "@code{skip-login?} (default: @code{#f})"
  21434. msgstr ""
  21435. #. type: table
  21436. #: guix-git/doc/guix.texi:15110
  21437. msgid "When set to @code{#t}, do not prompt the user for a login name. This can be used with @var{login-program} field to use non-standard login systems."
  21438. msgstr ""
  21439. #. type: item
  21440. #: guix-git/doc/guix.texi:15111
  21441. #, no-wrap
  21442. msgid "@code{no-newline?} (default: @code{#f})"
  21443. msgstr ""
  21444. #. type: table
  21445. #: guix-git/doc/guix.texi:15114
  21446. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  21447. msgstr ""
  21448. #. type: item
  21449. #: guix-git/doc/guix.texi:15116
  21450. #, no-wrap
  21451. msgid "@code{login-options} (default: @code{#f})"
  21452. msgstr ""
  21453. #. type: table
  21454. #: guix-git/doc/guix.texi:15121
  21455. msgid "This option accepts a string containing options that are passed to the login program. When used with the @var{login-program}, be aware that a malicious user could try to enter a login name containing embedded options that could be parsed by the login program."
  21456. msgstr ""
  21457. #. type: item
  21458. #: guix-git/doc/guix.texi:15122
  21459. #, no-wrap
  21460. msgid "@code{login-pause} (default: @code{#f})"
  21461. msgstr ""
  21462. #. type: table
  21463. #: guix-git/doc/guix.texi:15126
  21464. msgid "When set to @code{#t}, wait for any key before showing the login prompt. This can be used in conjunction with @var{auto-login} to save memory by lazily spawning shells."
  21465. msgstr ""
  21466. #. type: item
  21467. #: guix-git/doc/guix.texi:15127
  21468. #, no-wrap
  21469. msgid "@code{chroot} (default: @code{#f})"
  21470. msgstr ""
  21471. #. type: table
  21472. #: guix-git/doc/guix.texi:15130
  21473. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  21474. msgstr ""
  21475. #. type: item
  21476. #: guix-git/doc/guix.texi:15131
  21477. #, no-wrap
  21478. msgid "@code{hangup?} (default: @code{#f})"
  21479. msgstr ""
  21480. #. type: table
  21481. #: guix-git/doc/guix.texi:15134
  21482. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  21483. msgstr ""
  21484. #. type: item
  21485. #: guix-git/doc/guix.texi:15135
  21486. #, no-wrap
  21487. msgid "@code{keep-baud?} (default: @code{#f})"
  21488. msgstr ""
  21489. #. type: table
  21490. #: guix-git/doc/guix.texi:15139
  21491. msgid "When set to @code{#t}, try to keep the existing baud rate. The baud rates from @var{baud-rate} are used when agetty receives a @key{BREAK} character."
  21492. msgstr ""
  21493. #. type: item
  21494. #: guix-git/doc/guix.texi:15140
  21495. #, no-wrap
  21496. msgid "@code{timeout} (default: @code{#f})"
  21497. msgstr ""
  21498. #. type: table
  21499. #: guix-git/doc/guix.texi:15143
  21500. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  21501. msgstr ""
  21502. #. type: item
  21503. #: guix-git/doc/guix.texi:15144
  21504. #, no-wrap
  21505. msgid "@code{detect-case?} (default: @code{#f})"
  21506. msgstr ""
  21507. #. type: table
  21508. #: guix-git/doc/guix.texi:15150
  21509. msgid "When set to @code{#t}, turn on support for detecting an uppercase-only terminal. This setting will detect a login name containing only uppercase letters as indicating an uppercase-only terminal and turn on some upper-to-lower case conversions. Note that this will not support Unicode characters."
  21510. msgstr ""
  21511. #. type: item
  21512. #: guix-git/doc/guix.texi:15151
  21513. #, no-wrap
  21514. msgid "@code{wait-cr?} (default: @code{#f})"
  21515. msgstr ""
  21516. #. type: table
  21517. #: guix-git/doc/guix.texi:15156
  21518. msgid "When set to @code{#t}, wait for the user or modem to send a carriage-return or linefeed character before displaying @file{/etc/issue} or login prompt. This is typically used with the @var{init-string} option."
  21519. msgstr ""
  21520. #. type: item
  21521. #: guix-git/doc/guix.texi:15157
  21522. #, no-wrap
  21523. msgid "@code{no-hints?} (default: @code{#f})"
  21524. msgstr ""
  21525. #. type: table
  21526. #: guix-git/doc/guix.texi:15160
  21527. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  21528. msgstr ""
  21529. #. type: item
  21530. #: guix-git/doc/guix.texi:15161
  21531. #, no-wrap
  21532. msgid "@code{no-hostname?} (default: @code{#f})"
  21533. msgstr ""
  21534. #. type: table
  21535. #: guix-git/doc/guix.texi:15164
  21536. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  21537. msgstr ""
  21538. #. type: item
  21539. #: guix-git/doc/guix.texi:15165
  21540. #, no-wrap
  21541. msgid "@code{long-hostname?} (default: @code{#f})"
  21542. msgstr ""
  21543. #. type: table
  21544. #: guix-git/doc/guix.texi:15169
  21545. msgid "By default, the hostname is only printed until the first dot. When this option is set to @code{#t}, the fully qualified hostname by @code{gethostname} or @code{getaddrinfo} is shown."
  21546. msgstr ""
  21547. #. type: item
  21548. #: guix-git/doc/guix.texi:15170
  21549. #, no-wrap
  21550. msgid "@code{erase-characters} (default: @code{#f})"
  21551. msgstr ""
  21552. #. type: table
  21553. #: guix-git/doc/guix.texi:15173
  21554. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  21555. msgstr ""
  21556. #. type: item
  21557. #: guix-git/doc/guix.texi:15174
  21558. #, no-wrap
  21559. msgid "@code{kill-characters} (default: @code{#f})"
  21560. msgstr ""
  21561. #. type: table
  21562. #: guix-git/doc/guix.texi:15178
  21563. msgid "This option accepts a string that should be interpreted to mean ``ignore all previous characters'' (also called a ``kill'' character) when the user types their login name."
  21564. msgstr ""
  21565. #. type: item
  21566. #: guix-git/doc/guix.texi:15179
  21567. #, no-wrap
  21568. msgid "@code{chdir} (default: @code{#f})"
  21569. msgstr ""
  21570. #. type: table
  21571. #: guix-git/doc/guix.texi:15182
  21572. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  21573. msgstr ""
  21574. #. type: item
  21575. #: guix-git/doc/guix.texi:15183
  21576. #, no-wrap
  21577. msgid "@code{delay} (default: @code{#f})"
  21578. msgstr ""
  21579. #. type: table
  21580. #: guix-git/doc/guix.texi:15186
  21581. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  21582. msgstr ""
  21583. #. type: item
  21584. #: guix-git/doc/guix.texi:15187
  21585. #, no-wrap
  21586. msgid "@code{nice} (default: @code{#f})"
  21587. msgstr ""
  21588. #. type: table
  21589. #: guix-git/doc/guix.texi:15190
  21590. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  21591. msgstr ""
  21592. #. type: item
  21593. #: guix-git/doc/guix.texi:15191 guix-git/doc/guix.texi:15468
  21594. #: guix-git/doc/guix.texi:16330 guix-git/doc/guix.texi:23473
  21595. #: guix-git/doc/guix.texi:24949 guix-git/doc/guix.texi:27297
  21596. #: guix-git/doc/guix.texi:28084 guix-git/doc/guix.texi:29783
  21597. #: guix-git/doc/guix.texi:31975
  21598. #, no-wrap
  21599. msgid "@code{extra-options} (default: @code{'()})"
  21600. msgstr ""
  21601. #. type: table
  21602. #: guix-git/doc/guix.texi:15194
  21603. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  21604. msgstr ""
  21605. #. type: deffn
  21606. #: guix-git/doc/guix.texi:15198
  21607. #, no-wrap
  21608. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  21609. msgstr ""
  21610. #. type: deffn
  21611. #: guix-git/doc/guix.texi:15202
  21612. msgid "Return a service to run @uref{https://www.freedesktop.org/wiki/Software/kmscon,kmscon} according to @var{config}, a @code{<kmscon-configuration>} object, which specifies the tty to run, among other things."
  21613. msgstr ""
  21614. #. type: deftp
  21615. #: guix-git/doc/guix.texi:15204
  21616. #, no-wrap
  21617. msgid "{Data Type} kmscon-configuration"
  21618. msgstr ""
  21619. #. type: deftp
  21620. #: guix-git/doc/guix.texi:15207
  21621. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  21622. msgstr ""
  21623. #. type: code{#1}
  21624. #: guix-git/doc/guix.texi:15210
  21625. #, no-wrap
  21626. msgid "virtual-terminal"
  21627. msgstr ""
  21628. #. type: table
  21629. #: guix-git/doc/guix.texi:15212
  21630. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  21631. msgstr ""
  21632. #. type: item
  21633. #: guix-git/doc/guix.texi:15213
  21634. #, no-wrap
  21635. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  21636. msgstr ""
  21637. #. type: table
  21638. #: guix-git/doc/guix.texi:15216
  21639. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  21640. msgstr ""
  21641. #. type: item
  21642. #: guix-git/doc/guix.texi:15217
  21643. #, no-wrap
  21644. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  21645. msgstr ""
  21646. #. type: table
  21647. #: guix-git/doc/guix.texi:15219
  21648. msgid "A list of arguments to pass to @command{login}."
  21649. msgstr ""
  21650. #. type: item
  21651. #: guix-git/doc/guix.texi:15224
  21652. #, no-wrap
  21653. msgid "@code{hardware-acceleration?} (default: #f)"
  21654. msgstr ""
  21655. #. type: table
  21656. #: guix-git/doc/guix.texi:15226
  21657. msgid "Whether to use hardware acceleration."
  21658. msgstr ""
  21659. #. type: item
  21660. #: guix-git/doc/guix.texi:15227
  21661. #, no-wrap
  21662. msgid "@code{font-engine} (default: @code{\"pango\"})"
  21663. msgstr ""
  21664. #. type: table
  21665. #: guix-git/doc/guix.texi:15229
  21666. msgid "Font engine used in Kmscon."
  21667. msgstr ""
  21668. #. type: item
  21669. #: guix-git/doc/guix.texi:15230
  21670. #, no-wrap
  21671. msgid "@code{font-size} (default: @code{12})"
  21672. msgstr ""
  21673. #. type: table
  21674. #: guix-git/doc/guix.texi:15232
  21675. msgid "Font size used in Kmscon."
  21676. msgstr ""
  21677. #. type: item
  21678. #: guix-git/doc/guix.texi:15233
  21679. #, no-wrap
  21680. msgid "@code{kmscon} (default: @var{kmscon})"
  21681. msgstr ""
  21682. #. type: table
  21683. #: guix-git/doc/guix.texi:15235
  21684. msgid "The Kmscon package to use."
  21685. msgstr ""
  21686. #. type: cindex
  21687. #: guix-git/doc/guix.texi:15239
  21688. #, no-wrap
  21689. msgid "name service cache daemon"
  21690. msgstr ""
  21691. #. type: cindex
  21692. #: guix-git/doc/guix.texi:15240
  21693. #, no-wrap
  21694. msgid "nscd"
  21695. msgstr ""
  21696. #. type: deffn
  21697. #: guix-git/doc/guix.texi:15241
  21698. #, no-wrap
  21699. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  21700. msgstr ""
  21701. #. type: deffn
  21702. #: guix-git/doc/guix.texi:15246
  21703. msgid "[#:name-services '()] Return a service that runs the libc name service cache daemon (nscd) with the given @var{config}---an @code{<nscd-configuration>} object. @xref{Name Service Switch}, for an example."
  21704. msgstr ""
  21705. #. type: deffn
  21706. #: guix-git/doc/guix.texi:15248
  21707. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  21708. msgstr ""
  21709. #. type: item
  21710. #: guix-git/doc/guix.texi:15250
  21711. #, no-wrap
  21712. msgid "invalidate"
  21713. msgstr ""
  21714. #. type: cindex
  21715. #: guix-git/doc/guix.texi:15251
  21716. #, no-wrap
  21717. msgid "cache invalidation, nscd"
  21718. msgstr ""
  21719. #. type: cindex
  21720. #: guix-git/doc/guix.texi:15252
  21721. #, no-wrap
  21722. msgid "nscd, cache invalidation"
  21723. msgstr ""
  21724. #. type: table
  21725. #: guix-git/doc/guix.texi:15254
  21726. msgid "This invalidate the given cache. For instance, running:"
  21727. msgstr ""
  21728. #. type: example
  21729. #: guix-git/doc/guix.texi:15257
  21730. #, no-wrap
  21731. msgid "herd invalidate nscd hosts\n"
  21732. msgstr ""
  21733. #. type: table
  21734. #: guix-git/doc/guix.texi:15261
  21735. msgid "invalidates the host name lookup cache of nscd."
  21736. msgstr ""
  21737. #. type: item
  21738. #: guix-git/doc/guix.texi:15262
  21739. #, no-wrap
  21740. msgid "statistics"
  21741. msgstr ""
  21742. #. type: table
  21743. #: guix-git/doc/guix.texi:15265
  21744. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  21745. msgstr ""
  21746. #. type: defvr
  21747. #: guix-git/doc/guix.texi:15269
  21748. #, no-wrap
  21749. msgid "{Scheme Variable} %nscd-default-configuration"
  21750. msgstr ""
  21751. #. type: defvr
  21752. #: guix-git/doc/guix.texi:15273
  21753. msgid "This is the default @code{<nscd-configuration>} value (see below) used by @code{nscd-service}. It uses the caches defined by @code{%nscd-default-caches}; see below."
  21754. msgstr ""
  21755. #. type: deftp
  21756. #: guix-git/doc/guix.texi:15275
  21757. #, no-wrap
  21758. msgid "{Data Type} nscd-configuration"
  21759. msgstr ""
  21760. #. type: deftp
  21761. #: guix-git/doc/guix.texi:15278
  21762. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  21763. msgstr ""
  21764. #. type: item
  21765. #: guix-git/doc/guix.texi:15281
  21766. #, no-wrap
  21767. msgid "@code{name-services} (default: @code{'()})"
  21768. msgstr ""
  21769. #. type: table
  21770. #: guix-git/doc/guix.texi:15284
  21771. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  21772. msgstr ""
  21773. #. type: item
  21774. #: guix-git/doc/guix.texi:15285
  21775. #, no-wrap
  21776. msgid "@code{glibc} (default: @var{glibc})"
  21777. msgstr ""
  21778. #. type: table
  21779. #: guix-git/doc/guix.texi:15288
  21780. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  21781. msgstr ""
  21782. #. type: item
  21783. #: guix-git/doc/guix.texi:15289
  21784. #, no-wrap
  21785. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  21786. msgstr ""
  21787. #. type: table
  21788. #: guix-git/doc/guix.texi:15292
  21789. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  21790. msgstr ""
  21791. #. type: item
  21792. #: guix-git/doc/guix.texi:15293
  21793. #, no-wrap
  21794. msgid "@code{debug-level} (default: @code{0})"
  21795. msgstr ""
  21796. #. type: table
  21797. #: guix-git/doc/guix.texi:15296
  21798. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  21799. msgstr ""
  21800. #. type: item
  21801. #: guix-git/doc/guix.texi:15297
  21802. #, no-wrap
  21803. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  21804. msgstr ""
  21805. #. type: table
  21806. #: guix-git/doc/guix.texi:15300
  21807. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  21808. msgstr ""
  21809. #. type: deftp
  21810. #: guix-git/doc/guix.texi:15304
  21811. #, no-wrap
  21812. msgid "{Data Type} nscd-cache"
  21813. msgstr ""
  21814. #. type: deftp
  21815. #: guix-git/doc/guix.texi:15306
  21816. msgid "Data type representing a cache database of nscd and its parameters."
  21817. msgstr ""
  21818. #. type: cindex
  21819. #: guix-git/doc/guix.texi:15309 guix-git/doc/guix.texi:19637
  21820. #, no-wrap
  21821. msgid "database"
  21822. msgstr ""
  21823. #. type: table
  21824. #: guix-git/doc/guix.texi:15314
  21825. msgid "This is a symbol representing the name of the database to be cached. Valid values are @code{passwd}, @code{group}, @code{hosts}, and @code{services}, which designate the corresponding NSS database (@pxref{NSS Basics,,, libc, The GNU C Library Reference Manual})."
  21826. msgstr ""
  21827. #. type: code{#1}
  21828. #: guix-git/doc/guix.texi:15315
  21829. #, no-wrap
  21830. msgid "positive-time-to-live"
  21831. msgstr ""
  21832. #. type: itemx
  21833. #: guix-git/doc/guix.texi:15316
  21834. #, no-wrap
  21835. msgid "@code{negative-time-to-live} (default: @code{20})"
  21836. msgstr ""
  21837. #. type: table
  21838. #: guix-git/doc/guix.texi:15319
  21839. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  21840. msgstr ""
  21841. #. type: item
  21842. #: guix-git/doc/guix.texi:15320
  21843. #, no-wrap
  21844. msgid "@code{check-files?} (default: @code{#t})"
  21845. msgstr ""
  21846. #. type: table
  21847. #: guix-git/doc/guix.texi:15323
  21848. msgid "Whether to check for updates of the files corresponding to @var{database}."
  21849. msgstr ""
  21850. #. type: table
  21851. #: guix-git/doc/guix.texi:15327
  21852. msgid "For instance, when @var{database} is @code{hosts}, setting this flag instructs nscd to check for updates in @file{/etc/hosts} and to take them into account."
  21853. msgstr ""
  21854. #. type: item
  21855. #: guix-git/doc/guix.texi:15328
  21856. #, no-wrap
  21857. msgid "@code{persistent?} (default: @code{#t})"
  21858. msgstr ""
  21859. #. type: table
  21860. #: guix-git/doc/guix.texi:15330
  21861. msgid "Whether the cache should be stored persistently on disk."
  21862. msgstr ""
  21863. #. type: item
  21864. #: guix-git/doc/guix.texi:15331
  21865. #, no-wrap
  21866. msgid "@code{shared?} (default: @code{#t})"
  21867. msgstr ""
  21868. #. type: table
  21869. #: guix-git/doc/guix.texi:15333
  21870. msgid "Whether the cache should be shared among users."
  21871. msgstr ""
  21872. #. type: item
  21873. #: guix-git/doc/guix.texi:15334
  21874. #, no-wrap
  21875. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  21876. msgstr ""
  21877. #. type: table
  21878. #: guix-git/doc/guix.texi:15336
  21879. msgid "Maximum size in bytes of the database cache."
  21880. msgstr ""
  21881. #. type: defvr
  21882. #: guix-git/doc/guix.texi:15343
  21883. #, no-wrap
  21884. msgid "{Scheme Variable} %nscd-default-caches"
  21885. msgstr ""
  21886. #. type: defvr
  21887. #: guix-git/doc/guix.texi:15346
  21888. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  21889. msgstr ""
  21890. #. type: defvr
  21891. #: guix-git/doc/guix.texi:15352
  21892. msgid "It enables persistent and aggressive caching of service and host name lookups. The latter provides better host name lookup performance, resilience in the face of unreliable name servers, and also better privacy---often the result of host name lookups is in local cache, so external name servers do not even need to be queried."
  21893. msgstr ""
  21894. #. type: anchor{#1}
  21895. #: guix-git/doc/guix.texi:15355
  21896. msgid "syslog-configuration-type"
  21897. msgstr ""
  21898. #. type: cindex
  21899. #: guix-git/doc/guix.texi:15355 guix-git/doc/guix.texi:15371
  21900. #, no-wrap
  21901. msgid "syslog"
  21902. msgstr ""
  21903. #. type: cindex
  21904. #: guix-git/doc/guix.texi:15356 guix-git/doc/guix.texi:15930
  21905. #, no-wrap
  21906. msgid "logging"
  21907. msgstr ""
  21908. #. type: deftp
  21909. #: guix-git/doc/guix.texi:15357
  21910. #, no-wrap
  21911. msgid "{Data Type} syslog-configuration"
  21912. msgstr ""
  21913. #. type: deftp
  21914. #: guix-git/doc/guix.texi:15359
  21915. msgid "This data type represents the configuration of the syslog daemon."
  21916. msgstr ""
  21917. #. type: item
  21918. #: guix-git/doc/guix.texi:15361
  21919. #, no-wrap
  21920. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  21921. msgstr ""
  21922. #. type: table
  21923. #: guix-git/doc/guix.texi:15363
  21924. msgid "The syslog daemon to use."
  21925. msgstr ""
  21926. #. type: item
  21927. #: guix-git/doc/guix.texi:15364
  21928. #, no-wrap
  21929. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  21930. msgstr ""
  21931. #. type: table
  21932. #: guix-git/doc/guix.texi:15366
  21933. msgid "The syslog configuration file to use."
  21934. msgstr ""
  21935. #. type: anchor{#1}
  21936. #: guix-git/doc/guix.texi:15371
  21937. msgid "syslog-service"
  21938. msgstr ""
  21939. #. type: deffn
  21940. #: guix-git/doc/guix.texi:15372
  21941. #, no-wrap
  21942. msgid "{Scheme Procedure} syslog-service @var{config}"
  21943. msgstr ""
  21944. #. type: deffn
  21945. #: guix-git/doc/guix.texi:15374
  21946. msgid "Return a service that runs a syslog daemon according to @var{config}."
  21947. msgstr ""
  21948. #. type: deffn
  21949. #: guix-git/doc/guix.texi:15377
  21950. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  21951. msgstr ""
  21952. #. type: defvr
  21953. #: guix-git/doc/guix.texi:15379
  21954. #, no-wrap
  21955. msgid "{Scheme Variable} guix-service-type"
  21956. msgstr ""
  21957. #. type: defvr
  21958. #: guix-git/doc/guix.texi:15383
  21959. msgid "This is the type of the service that runs the build daemon, @command{guix-daemon} (@pxref{Invoking guix-daemon}). Its value must be a @code{guix-configuration} record as described below."
  21960. msgstr ""
  21961. #. type: anchor{#1}
  21962. #: guix-git/doc/guix.texi:15386
  21963. msgid "guix-configuration-type"
  21964. msgstr ""
  21965. #. type: deftp
  21966. #: guix-git/doc/guix.texi:15386
  21967. #, no-wrap
  21968. msgid "{Data Type} guix-configuration"
  21969. msgstr ""
  21970. #. type: deftp
  21971. #: guix-git/doc/guix.texi:15389
  21972. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  21973. msgstr ""
  21974. #. type: item
  21975. #: guix-git/doc/guix.texi:15391
  21976. #, no-wrap
  21977. msgid "@code{guix} (default: @var{guix})"
  21978. msgstr ""
  21979. #. type: table
  21980. #: guix-git/doc/guix.texi:15393 guix-git/doc/guix.texi:15667
  21981. msgid "The Guix package to use."
  21982. msgstr ""
  21983. #. type: item
  21984. #: guix-git/doc/guix.texi:15394
  21985. #, no-wrap
  21986. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  21987. msgstr ""
  21988. #. type: table
  21989. #: guix-git/doc/guix.texi:15396
  21990. msgid "Name of the group for build user accounts."
  21991. msgstr ""
  21992. #. type: item
  21993. #: guix-git/doc/guix.texi:15397
  21994. #, no-wrap
  21995. msgid "@code{build-accounts} (default: @code{10})"
  21996. msgstr ""
  21997. #. type: table
  21998. #: guix-git/doc/guix.texi:15399
  21999. msgid "Number of build user accounts to create."
  22000. msgstr ""
  22001. #. type: item
  22002. #: guix-git/doc/guix.texi:15400
  22003. #, no-wrap
  22004. msgid "@code{authorize-key?} (default: @code{#t})"
  22005. msgstr ""
  22006. #. type: table
  22007. #: guix-git/doc/guix.texi:15405
  22008. msgid "Whether to authorize the substitute keys listed in @code{authorized-keys}---by default that of @code{@value{SUBSTITUTE-SERVER}} (@pxref{Substitutes})."
  22009. msgstr ""
  22010. #. type: table
  22011. #: guix-git/doc/guix.texi:15411
  22012. msgid "When @code{authorize-key?} is true, @file{/etc/guix/acl} cannot be changed by invoking @command{guix archive --authorize}. You must instead adjust @code{guix-configuration} as you wish and reconfigure the system. This ensures that your operating system configuration file is self-contained."
  22013. msgstr ""
  22014. #. type: quotation
  22015. #: guix-git/doc/guix.texi:15418
  22016. msgid "When booting or reconfiguring to a system where @code{authorize-key?} is true, the existing @file{/etc/guix/acl} file is backed up as @file{/etc/guix/acl.bak} if it was determined to be a manually modified file. This is to facilitate migration from earlier versions, which allowed for in-place modifications to @file{/etc/guix/acl}."
  22017. msgstr ""
  22018. #. type: vindex
  22019. #: guix-git/doc/guix.texi:15420
  22020. #, no-wrap
  22021. msgid "%default-authorized-guix-keys"
  22022. msgstr ""
  22023. #. type: item
  22024. #: guix-git/doc/guix.texi:15421
  22025. #, no-wrap
  22026. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  22027. msgstr ""
  22028. #. type: table
  22029. #: guix-git/doc/guix.texi:15426
  22030. msgid "The list of authorized key files for archive imports, as a list of string-valued gexps (@pxref{Invoking guix archive}). By default, it contains that of @code{@value{SUBSTITUTE-SERVER}} (@pxref{Substitutes}). See @code{substitute-urls} below for an example on how to change it."
  22031. msgstr ""
  22032. #. type: item
  22033. #: guix-git/doc/guix.texi:15427
  22034. #, no-wrap
  22035. msgid "@code{use-substitutes?} (default: @code{#t})"
  22036. msgstr ""
  22037. #. type: table
  22038. #: guix-git/doc/guix.texi:15429
  22039. msgid "Whether to use substitutes."
  22040. msgstr ""
  22041. #. type: item
  22042. #: guix-git/doc/guix.texi:15430
  22043. #, no-wrap
  22044. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  22045. msgstr ""
  22046. #. type: table
  22047. #: guix-git/doc/guix.texi:15432
  22048. msgid "The list of URLs where to look for substitutes by default."
  22049. msgstr ""
  22050. #. type: table
  22051. #: guix-git/doc/guix.texi:15439
  22052. msgid "Suppose you would like to fetch substitutes from @code{guix.example.org} in addition to @code{@value{SUBSTITUTE-SERVER}}. You will need to do two things: (1) add @code{guix.example.org} to @code{substitute-urls}, and (2) authorize its signing key, having done appropriate checks (@pxref{Substitute Server Authorization}). The configuration below does exactly that:"
  22053. msgstr ""
  22054. #. type: lisp
  22055. #: guix-git/doc/guix.texi:15448
  22056. #, no-wrap
  22057. msgid ""
  22058. "(guix-configuration\n"
  22059. " (substitute-urls\n"
  22060. " (append (list \"https://guix.example.org\")\n"
  22061. " %default-substitute-urls))\n"
  22062. " (authorized-keys\n"
  22063. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  22064. " %default-authorized-guix-keys)))\n"
  22065. msgstr ""
  22066. #. type: table
  22067. #: guix-git/doc/guix.texi:15453
  22068. msgid "This example assumes that the file @file{./guix.example.org-key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  22069. msgstr ""
  22070. #. type: item
  22071. #: guix-git/doc/guix.texi:15454
  22072. #, no-wrap
  22073. msgid "@code{max-silent-time} (default: @code{0})"
  22074. msgstr ""
  22075. #. type: itemx
  22076. #: guix-git/doc/guix.texi:15455
  22077. #, no-wrap
  22078. msgid "@code{timeout} (default: @code{0})"
  22079. msgstr ""
  22080. #. type: table
  22081. #: guix-git/doc/guix.texi:15459
  22082. msgid "The number of seconds of silence and the number of seconds of activity, respectively, after which a build process times out. A value of zero disables the timeout."
  22083. msgstr ""
  22084. #. type: item
  22085. #: guix-git/doc/guix.texi:15460
  22086. #, no-wrap
  22087. msgid "@code{log-compression} (default: @code{'bzip2})"
  22088. msgstr ""
  22089. #. type: table
  22090. #: guix-git/doc/guix.texi:15463
  22091. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  22092. msgstr ""
  22093. #. type: item
  22094. #: guix-git/doc/guix.texi:15464
  22095. #, no-wrap
  22096. msgid "@code{discover?} (default: @code{#f})"
  22097. msgstr ""
  22098. #. type: table
  22099. #: guix-git/doc/guix.texi:15470
  22100. msgid "List of extra command-line options for @command{guix-daemon}."
  22101. msgstr ""
  22102. #. type: item
  22103. #: guix-git/doc/guix.texi:15471
  22104. #, no-wrap
  22105. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  22106. msgstr ""
  22107. #. type: table
  22108. #: guix-git/doc/guix.texi:15474
  22109. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  22110. msgstr ""
  22111. #. type: cindex
  22112. #: guix-git/doc/guix.texi:15475
  22113. #, no-wrap
  22114. msgid "HTTP proxy, for @code{guix-daemon}"
  22115. msgstr ""
  22116. #. type: cindex
  22117. #: guix-git/doc/guix.texi:15476
  22118. #, no-wrap
  22119. msgid "proxy, for @code{guix-daemon} HTTP access"
  22120. msgstr ""
  22121. #. type: item
  22122. #: guix-git/doc/guix.texi:15477
  22123. #, no-wrap
  22124. msgid "@code{http-proxy} (default: @code{#f})"
  22125. msgstr ""
  22126. #. type: table
  22127. #: guix-git/doc/guix.texi:15480
  22128. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  22129. msgstr ""
  22130. #. type: table
  22131. #: guix-git/doc/guix.texi:15483
  22132. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  22133. msgstr ""
  22134. #. type: example
  22135. #: guix-git/doc/guix.texi:15486
  22136. #, no-wrap
  22137. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  22138. msgstr ""
  22139. #. type: table
  22140. #: guix-git/doc/guix.texi:15489
  22141. msgid "To clear the proxy settings, run:"
  22142. msgstr ""
  22143. #. type: example
  22144. #: guix-git/doc/guix.texi:15492
  22145. #, no-wrap
  22146. msgid "herd set-http-proxy guix-daemon\n"
  22147. msgstr ""
  22148. #. type: item
  22149. #: guix-git/doc/guix.texi:15494
  22150. #, no-wrap
  22151. msgid "@code{tmpdir} (default: @code{#f})"
  22152. msgstr ""
  22153. #. type: table
  22154. #: guix-git/doc/guix.texi:15496
  22155. msgid "A directory path where the @command{guix-daemon} will perform builds."
  22156. msgstr ""
  22157. #. type: deffn
  22158. #: guix-git/doc/guix.texi:15500
  22159. #, no-wrap
  22160. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  22161. msgstr ""
  22162. #. type: deffn
  22163. #: guix-git/doc/guix.texi:15506
  22164. msgid "Run @var{udev}, which populates the @file{/dev} directory dynamically. udev rules can be provided as a list of files through the @var{rules} variable. The procedures @code{udev-rule}, @code{udev-rules-service} and @code{file->udev-rule} from @code{(gnu services base)} simplify the creation of such rule files."
  22165. msgstr ""
  22166. #. type: deffn
  22167. #: guix-git/doc/guix.texi:15509
  22168. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  22169. msgstr ""
  22170. #. type: deffn
  22171. #: guix-git/doc/guix.texi:15511
  22172. #, no-wrap
  22173. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  22174. msgstr ""
  22175. #. type: deffn
  22176. #: guix-git/doc/guix.texi:15514
  22177. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  22178. msgstr ""
  22179. #. type: deffn
  22180. #: guix-git/doc/guix.texi:15518
  22181. msgid "In the following example, a rule for a USB device is defined to be stored in the file @file{90-usb-thing.rules}. The rule runs a script upon detecting a USB device with a given product identifier."
  22182. msgstr ""
  22183. #. type: lisp
  22184. #: guix-git/doc/guix.texi:15526
  22185. #, no-wrap
  22186. msgid ""
  22187. "(define %example-udev-rule\n"
  22188. " (udev-rule\n"
  22189. " \"90-usb-thing.rules\"\n"
  22190. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  22191. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  22192. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  22193. msgstr ""
  22194. #. type: deffn
  22195. #: guix-git/doc/guix.texi:15529
  22196. #, no-wrap
  22197. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  22198. msgstr ""
  22199. #. type: deffn
  22200. #: guix-git/doc/guix.texi:15536
  22201. msgid "[#:groups @var{groups}] Return a service that extends @code{udev-service-type } with @var{rules} and @code{account-service-type} with @var{groups} as system groups. This works by creating a singleton service type @code{@var{name}-udev-rules}, of which the returned service is an instance."
  22202. msgstr ""
  22203. #. type: deffn
  22204. #: guix-git/doc/guix.texi:15539
  22205. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  22206. msgstr ""
  22207. #. type: lisp
  22208. #: guix-git/doc/guix.texi:15546
  22209. #, no-wrap
  22210. msgid ""
  22211. "(operating-system\n"
  22212. " ;; @dots{}\n"
  22213. " (services\n"
  22214. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  22215. " %desktop-services)))\n"
  22216. msgstr ""
  22217. #. type: deffn
  22218. #: guix-git/doc/guix.texi:15549
  22219. #, no-wrap
  22220. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  22221. msgstr ""
  22222. #. type: deffn
  22223. #: guix-git/doc/guix.texi:15552
  22224. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  22225. msgstr ""
  22226. #. type: deffn
  22227. #: guix-git/doc/guix.texi:15554
  22228. msgid "The following example showcases how we can use an existing rule file."
  22229. msgstr ""
  22230. #. type: lisp
  22231. #: guix-git/doc/guix.texi:15559
  22232. #, no-wrap
  22233. msgid ""
  22234. "(use-modules (guix download) ;for url-fetch\n"
  22235. " (guix packages) ;for origin\n"
  22236. " @dots{})\n"
  22237. "\n"
  22238. msgstr ""
  22239. #. type: lisp
  22240. #: guix-git/doc/guix.texi:15570
  22241. #, no-wrap
  22242. msgid ""
  22243. "(define %android-udev-rules\n"
  22244. " (file->udev-rule\n"
  22245. " \"51-android-udev.rules\"\n"
  22246. " (let ((version \"20170910\"))\n"
  22247. " (origin\n"
  22248. " (method url-fetch)\n"
  22249. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  22250. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  22251. " (sha256\n"
  22252. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  22253. msgstr ""
  22254. #. type: Plain text
  22255. #: guix-git/doc/guix.texi:15579
  22256. msgid "Additionally, Guix package definitions can be included in @var{rules} in order to extend the udev rules with the definitions found under their @file{lib/udev/rules.d} sub-directory. In lieu of the previous @var{file->udev-rule} example, we could have used the @var{android-udev-rules} package which exists in Guix in the @code{(gnu packages android)} module."
  22257. msgstr ""
  22258. #. type: Plain text
  22259. #: guix-git/doc/guix.texi:15588
  22260. msgid "The following example shows how to use the @var{android-udev-rules} package so that the Android tool @command{adb} can detect devices without root privileges. It also details how to create the @code{adbusers} group, which is required for the proper functioning of the rules defined within the @code{android-udev-rules} package. To create such a group, we must define it both as part of the @code{supplementary-groups} of our @code{user-account} declaration, as well as in the @var{groups} of the @code{udev-rules-service} procedure."
  22261. msgstr ""
  22262. #. type: lisp
  22263. #: guix-git/doc/guix.texi:15593
  22264. #, no-wrap
  22265. msgid ""
  22266. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  22267. " (gnu system shadow) ;for user-group\n"
  22268. " @dots{})\n"
  22269. "\n"
  22270. msgstr ""
  22271. #. type: lisp
  22272. #: guix-git/doc/guix.texi:15606
  22273. #, no-wrap
  22274. msgid ""
  22275. "(operating-system\n"
  22276. " ;; @dots{}\n"
  22277. " (users (cons (user-account\n"
  22278. " ;; @dots{}\n"
  22279. " (supplementary-groups\n"
  22280. " '(\"adbusers\" ;for adb\n"
  22281. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  22282. " ;; @dots{}\n"
  22283. " (services\n"
  22284. " (cons (udev-rules-service 'android android-udev-rules\n"
  22285. " #:groups '(\"adbusers\"))\n"
  22286. " %desktop-services)))\n"
  22287. msgstr ""
  22288. #. type: defvr
  22289. #: guix-git/doc/guix.texi:15608
  22290. #, no-wrap
  22291. msgid "{Scheme Variable} urandom-seed-service-type"
  22292. msgstr ""
  22293. #. type: defvr
  22294. #: guix-git/doc/guix.texi:15613
  22295. msgid "Save some entropy in @code{%random-seed-file} to seed @file{/dev/urandom} when rebooting. It also tries to seed @file{/dev/urandom} from @file{/dev/hwrng} while booting, if @file{/dev/hwrng} exists and is readable."
  22296. msgstr ""
  22297. #. type: defvr
  22298. #: guix-git/doc/guix.texi:15615
  22299. #, no-wrap
  22300. msgid "{Scheme Variable} %random-seed-file"
  22301. msgstr ""
  22302. #. type: defvr
  22303. #: guix-git/doc/guix.texi:15619
  22304. msgid "This is the name of the file where some random bytes are saved by @var{urandom-seed-service} to seed @file{/dev/urandom} when rebooting. It defaults to @file{/var/lib/random-seed}."
  22305. msgstr ""
  22306. #. type: cindex
  22307. #: guix-git/doc/guix.texi:15621
  22308. #, no-wrap
  22309. msgid "mouse"
  22310. msgstr ""
  22311. #. type: cindex
  22312. #: guix-git/doc/guix.texi:15622
  22313. #, no-wrap
  22314. msgid "gpm"
  22315. msgstr ""
  22316. #. type: defvr
  22317. #: guix-git/doc/guix.texi:15623
  22318. #, no-wrap
  22319. msgid "{Scheme Variable} gpm-service-type"
  22320. msgstr ""
  22321. #. type: defvr
  22322. #: guix-git/doc/guix.texi:15628
  22323. msgid "This is the type of the service that runs GPM, the @dfn{general-purpose mouse daemon}, which provides mouse support to the Linux console. GPM allows users to use the mouse in the console, notably to select, copy, and paste text."
  22324. msgstr ""
  22325. #. type: defvr
  22326. #: guix-git/doc/guix.texi:15631
  22327. msgid "The value for services of this type must be a @code{gpm-configuration} (see below). This service is not part of @code{%base-services}."
  22328. msgstr ""
  22329. #. type: deftp
  22330. #: guix-git/doc/guix.texi:15633
  22331. #, no-wrap
  22332. msgid "{Data Type} gpm-configuration"
  22333. msgstr ""
  22334. #. type: deftp
  22335. #: guix-git/doc/guix.texi:15635
  22336. msgid "Data type representing the configuration of GPM."
  22337. msgstr ""
  22338. #. type: item
  22339. #: guix-git/doc/guix.texi:15637
  22340. #, no-wrap
  22341. msgid "@code{options} (default: @code{%default-gpm-options})"
  22342. msgstr ""
  22343. #. type: table
  22344. #: guix-git/doc/guix.texi:15642
  22345. msgid "Command-line options passed to @command{gpm}. The default set of options instruct @command{gpm} to listen to mouse events on @file{/dev/input/mice}. @xref{Command Line,,, gpm, gpm manual}, for more information."
  22346. msgstr ""
  22347. #. type: item
  22348. #: guix-git/doc/guix.texi:15643
  22349. #, no-wrap
  22350. msgid "@code{gpm} (default: @code{gpm})"
  22351. msgstr ""
  22352. #. type: table
  22353. #: guix-git/doc/guix.texi:15645
  22354. msgid "The GPM package to use."
  22355. msgstr ""
  22356. #. type: anchor{#1}
  22357. #: guix-git/doc/guix.texi:15650
  22358. msgid "guix-publish-service-type"
  22359. msgstr ""
  22360. #. type: deffn
  22361. #: guix-git/doc/guix.texi:15650
  22362. #, no-wrap
  22363. msgid "{Scheme Variable} guix-publish-service-type"
  22364. msgstr ""
  22365. #. type: deffn
  22366. #: guix-git/doc/guix.texi:15654
  22367. msgid "This is the service type for @command{guix publish} (@pxref{Invoking guix publish}). Its value must be a @code{guix-publish-configuration} object, as described below."
  22368. msgstr ""
  22369. #. type: deffn
  22370. #: guix-git/doc/guix.texi:15658
  22371. msgid "This assumes that @file{/etc/guix} already contains a signing key pair as created by @command{guix archive --generate-key} (@pxref{Invoking guix archive}). If that is not the case, the service will fail to start."
  22372. msgstr ""
  22373. #. type: deftp
  22374. #: guix-git/doc/guix.texi:15660
  22375. #, no-wrap
  22376. msgid "{Data Type} guix-publish-configuration"
  22377. msgstr ""
  22378. #. type: deftp
  22379. #: guix-git/doc/guix.texi:15663
  22380. msgid "Data type representing the configuration of the @code{guix publish} service."
  22381. msgstr ""
  22382. #. type: item
  22383. #: guix-git/doc/guix.texi:15665
  22384. #, no-wrap
  22385. msgid "@code{guix} (default: @code{guix})"
  22386. msgstr ""
  22387. #. type: item
  22388. #: guix-git/doc/guix.texi:15668 guix-git/doc/guix.texi:29638
  22389. #, no-wrap
  22390. msgid "@code{port} (default: @code{80})"
  22391. msgstr ""
  22392. #. type: table
  22393. #: guix-git/doc/guix.texi:15670
  22394. msgid "The TCP port to listen for connections."
  22395. msgstr ""
  22396. #. type: item
  22397. #: guix-git/doc/guix.texi:15671 guix-git/doc/guix.texi:27277
  22398. #, no-wrap
  22399. msgid "@code{host} (default: @code{\"localhost\"})"
  22400. msgstr ""
  22401. #. type: table
  22402. #: guix-git/doc/guix.texi:15674
  22403. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  22404. msgstr ""
  22405. #. type: item
  22406. #: guix-git/doc/guix.texi:15675
  22407. #, no-wrap
  22408. msgid "@code{advertise?} (default: @code{#f})"
  22409. msgstr ""
  22410. #. type: table
  22411. #: guix-git/doc/guix.texi:15678
  22412. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  22413. msgstr ""
  22414. #. type: table
  22415. #: guix-git/doc/guix.texi:15682
  22416. msgid "This allows neighboring Guix devices with discovery on (see @code{guix-configuration} above) to discover this @command{guix publish} instance and to automatically download substitutes from it."
  22417. msgstr ""
  22418. #. type: item
  22419. #: guix-git/doc/guix.texi:15683
  22420. #, no-wrap
  22421. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  22422. msgstr ""
  22423. #. type: table
  22424. #: guix-git/doc/guix.texi:15687
  22425. msgid "This is a list of compression method/level tuple used when compressing substitutes. For example, to compress all substitutes with @emph{both} lzip at level 7 and gzip at level 9, write:"
  22426. msgstr ""
  22427. #. type: lisp
  22428. #: guix-git/doc/guix.texi:15690
  22429. #, no-wrap
  22430. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  22431. msgstr ""
  22432. #. type: table
  22433. #: guix-git/doc/guix.texi:15696
  22434. msgid "Level 9 achieves the best compression ratio at the expense of increased CPU usage, whereas level 1 achieves fast compression. @xref{Invoking guix publish}, for more information on the available compression methods and the tradeoffs involved."
  22435. msgstr ""
  22436. #. type: table
  22437. #: guix-git/doc/guix.texi:15698
  22438. msgid "An empty list disables compression altogether."
  22439. msgstr ""
  22440. #. type: item
  22441. #: guix-git/doc/guix.texi:15699
  22442. #, no-wrap
  22443. msgid "@code{nar-path} (default: @code{\"nar\"})"
  22444. msgstr ""
  22445. #. type: table
  22446. #: guix-git/doc/guix.texi:15702
  22447. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  22448. msgstr ""
  22449. #. type: item
  22450. #: guix-git/doc/guix.texi:15703
  22451. #, no-wrap
  22452. msgid "@code{cache} (default: @code{#f})"
  22453. msgstr ""
  22454. #. type: table
  22455. #: guix-git/doc/guix.texi:15709
  22456. msgid "When it is @code{#f}, disable caching and instead generate archives on demand. Otherwise, this should be the name of a directory---e.g., @code{\"/var/cache/guix/publish\"}---where @command{guix publish} caches archives and meta-data ready to be sent. @xref{Invoking guix publish, @option{--cache}}, for more information on the tradeoffs involved."
  22457. msgstr ""
  22458. #. type: item
  22459. #: guix-git/doc/guix.texi:15710
  22460. #, no-wrap
  22461. msgid "@code{workers} (default: @code{#f})"
  22462. msgstr ""
  22463. #. type: table
  22464. #: guix-git/doc/guix.texi:15714
  22465. msgid "When it is an integer, this is the number of worker threads used for caching; when @code{#f}, the number of processors is used. @xref{Invoking guix publish, @option{--workers}}, for more information."
  22466. msgstr ""
  22467. #. type: item
  22468. #: guix-git/doc/guix.texi:15715
  22469. #, no-wrap
  22470. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  22471. msgstr ""
  22472. #. type: table
  22473. #: guix-git/doc/guix.texi:15720
  22474. msgid "When @code{cache} is true, this is the maximum size in bytes of a store item for which @command{guix publish} may bypass its cache in case of a cache miss. @xref{Invoking guix publish, @option{--cache-bypass-threshold}}, for more information."
  22475. msgstr ""
  22476. #. type: item
  22477. #: guix-git/doc/guix.texi:15721
  22478. #, no-wrap
  22479. msgid "@code{ttl} (default: @code{#f})"
  22480. msgstr ""
  22481. #. type: table
  22482. #: guix-git/doc/guix.texi:15725
  22483. msgid "When it is an integer, this denotes the @dfn{time-to-live} in seconds of the published archives. @xref{Invoking guix publish, @option{--ttl}}, for more information."
  22484. msgstr ""
  22485. #. type: anchor{#1}
  22486. #: guix-git/doc/guix.texi:15729
  22487. msgid "rngd-service"
  22488. msgstr ""
  22489. #. type: deffn
  22490. #: guix-git/doc/guix.texi:15729
  22491. #, no-wrap
  22492. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  22493. msgstr ""
  22494. #. type: deffn
  22495. #: guix-git/doc/guix.texi:15734
  22496. msgid "[#:device \"/dev/hwrng\"] Return a service that runs the @command{rngd} program from @var{rng-tools} to add @var{device} to the kernel's entropy pool. The service will fail if @var{device} does not exist."
  22497. msgstr ""
  22498. #. type: anchor{#1}
  22499. #: guix-git/doc/guix.texi:15737
  22500. msgid "pam-limits-service"
  22501. msgstr ""
  22502. #. type: cindex
  22503. #: guix-git/doc/guix.texi:15737
  22504. #, no-wrap
  22505. msgid "session limits"
  22506. msgstr ""
  22507. #. type: cindex
  22508. #: guix-git/doc/guix.texi:15738
  22509. #, no-wrap
  22510. msgid "ulimit"
  22511. msgstr ""
  22512. #. type: cindex
  22513. #: guix-git/doc/guix.texi:15739
  22514. #, no-wrap
  22515. msgid "priority"
  22516. msgstr ""
  22517. #. type: cindex
  22518. #: guix-git/doc/guix.texi:15740
  22519. #, no-wrap
  22520. msgid "realtime"
  22521. msgstr ""
  22522. #. type: cindex
  22523. #: guix-git/doc/guix.texi:15741
  22524. #, no-wrap
  22525. msgid "jackd"
  22526. msgstr ""
  22527. #. type: cindex
  22528. #: guix-git/doc/guix.texi:15742
  22529. #, no-wrap
  22530. msgid "nofile"
  22531. msgstr ""
  22532. #. type: cindex
  22533. #: guix-git/doc/guix.texi:15743
  22534. #, no-wrap
  22535. msgid "open file descriptors"
  22536. msgstr ""
  22537. #. type: deffn
  22538. #: guix-git/doc/guix.texi:15744
  22539. #, no-wrap
  22540. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  22541. msgstr ""
  22542. #. type: deffn
  22543. #: guix-git/doc/guix.texi:15751
  22544. msgid "Return a service that installs a configuration file for the @uref{http://linux-pam.org/Linux-PAM-html/sag-pam_limits.html, @code{pam_limits} module}. The procedure optionally takes a list of @code{pam-limits-entry} values, which can be used to specify @code{ulimit} limits and @code{nice} priority limits to user sessions."
  22545. msgstr ""
  22546. #. type: deffn
  22547. #: guix-git/doc/guix.texi:15754
  22548. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  22549. msgstr ""
  22550. #. type: lisp
  22551. #: guix-git/doc/guix.texi:15760
  22552. #, no-wrap
  22553. msgid ""
  22554. "(pam-limits-service\n"
  22555. " (list\n"
  22556. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  22557. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  22558. msgstr ""
  22559. #. type: deffn
  22560. #: guix-git/doc/guix.texi:15766
  22561. msgid "The first entry increases the maximum realtime priority for non-privileged processes; the second entry lifts any restriction of the maximum address space that can be locked in memory. These settings are commonly used for real-time audio systems."
  22562. msgstr ""
  22563. #. type: deffn
  22564. #: guix-git/doc/guix.texi:15769
  22565. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  22566. msgstr ""
  22567. #. type: lisp
  22568. #: guix-git/doc/guix.texi:15774
  22569. #, no-wrap
  22570. msgid ""
  22571. "(pam-limits-service\n"
  22572. " (list\n"
  22573. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  22574. msgstr ""
  22575. #. type: deffn
  22576. #: guix-git/doc/guix.texi:15782
  22577. msgid "In the above example, the asterisk means the limit should apply to any user. It is important to ensure the chosen value doesn't exceed the maximum system value visible in the @file{/proc/sys/fs/file-max} file, else the users would be prevented from login in. For more information about the Pluggable Authentication Module (PAM) limits, refer to the @samp{pam_limits} man page from the @code{linux-pam} package."
  22578. msgstr ""
  22579. #. type: cindex
  22580. #: guix-git/doc/guix.texi:15787
  22581. #, no-wrap
  22582. msgid "cron"
  22583. msgstr ""
  22584. #. type: cindex
  22585. #: guix-git/doc/guix.texi:15788
  22586. #, no-wrap
  22587. msgid "mcron"
  22588. msgstr ""
  22589. #. type: cindex
  22590. #: guix-git/doc/guix.texi:15789
  22591. #, no-wrap
  22592. msgid "scheduling jobs"
  22593. msgstr ""
  22594. #. type: Plain text
  22595. #: guix-git/doc/guix.texi:15796
  22596. msgid "The @code{(gnu services mcron)} module provides an interface to GNU@tie{}mcron, a daemon to run jobs at scheduled times (@pxref{Top,,, mcron, GNU@tie{}mcron}). GNU@tie{}mcron is similar to the traditional Unix @command{cron} daemon; the main difference is that it is implemented in Guile Scheme, which provides a lot of flexibility when specifying the scheduling of jobs and their actions."
  22597. msgstr ""
  22598. #. type: Plain text
  22599. #: guix-git/doc/guix.texi:15804
  22600. msgid "The example below defines an operating system that runs the @command{updatedb} (@pxref{Invoking updatedb,,, find, Finding Files}) and the @command{guix gc} commands (@pxref{Invoking guix gc}) daily, as well as the @command{mkid} command on behalf of an unprivileged user (@pxref{mkid invocation,,, idutils, ID Database Utilities}). It uses gexps to introduce job definitions that are passed to mcron (@pxref{G-Expressions})."
  22601. msgstr ""
  22602. #. type: lisp
  22603. #: guix-git/doc/guix.texi:15808
  22604. #, no-wrap
  22605. msgid ""
  22606. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  22607. "(use-package-modules base idutils)\n"
  22608. "\n"
  22609. msgstr ""
  22610. #. type: lisp
  22611. #: guix-git/doc/guix.texi:15817
  22612. #, no-wrap
  22613. msgid ""
  22614. "(define updatedb-job\n"
  22615. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  22616. " ;; job's action as a Scheme procedure.\n"
  22617. " #~(job '(next-hour '(3))\n"
  22618. " (lambda ()\n"
  22619. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  22620. " \"updatedb\"\n"
  22621. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))))\n"
  22622. "\n"
  22623. msgstr ""
  22624. #. type: lisp
  22625. #: guix-git/doc/guix.texi:15823
  22626. #, no-wrap
  22627. msgid ""
  22628. "(define garbage-collector-job\n"
  22629. " ;; Collect garbage 5 minutes after midnight every day.\n"
  22630. " ;; The job's action is a shell command.\n"
  22631. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  22632. " \"guix gc -F 1G\"))\n"
  22633. "\n"
  22634. msgstr ""
  22635. #. type: lisp
  22636. #: guix-git/doc/guix.texi:15830
  22637. #, no-wrap
  22638. msgid ""
  22639. "(define idutils-job\n"
  22640. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  22641. " ;; and 19:15PM. This runs from the user's home directory.\n"
  22642. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  22643. " (string-append #$idutils \"/bin/mkid src\")\n"
  22644. " #:user \"charlie\"))\n"
  22645. "\n"
  22646. msgstr ""
  22647. #. type: lisp
  22648. #: guix-git/doc/guix.texi:15833
  22649. #, no-wrap
  22650. msgid ""
  22651. "(operating-system\n"
  22652. " ;; @dots{}\n"
  22653. "\n"
  22654. msgstr ""
  22655. #. type: lisp
  22656. #: guix-git/doc/guix.texi:15843
  22657. #, no-wrap
  22658. msgid ""
  22659. " ;; %BASE-SERVICES already includes an instance of\n"
  22660. " ;; 'mcron-service-type', which we extend with additional\n"
  22661. " ;; jobs using 'simple-service'.\n"
  22662. " (services (cons (simple-service 'my-cron-jobs\n"
  22663. " mcron-service-type\n"
  22664. " (list garbage-collector-job\n"
  22665. " updatedb-job\n"
  22666. " idutils-job))\n"
  22667. " %base-services)))\n"
  22668. msgstr ""
  22669. #. type: Plain text
  22670. #: guix-git/doc/guix.texi:15850
  22671. msgid "For more complex jobs defined in Scheme where you need control over the top level, for instance to introduce a @code{use-modules} form, you can move your code to a separate program using the @code{program-file} procedure of the @code{(guix gexp)} module (@pxref{G-Expressions}). The example below illustrates that."
  22672. msgstr ""
  22673. #. type: lisp
  22674. #: guix-git/doc/guix.texi:15866
  22675. #, no-wrap
  22676. msgid ""
  22677. "(define %battery-alert-job\n"
  22678. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  22679. " #~(job\n"
  22680. " '(next-minute (range 0 60 1))\n"
  22681. " #$(program-file\n"
  22682. " \"battery-alert.scm\"\n"
  22683. " (with-imported-modules (source-module-closure\n"
  22684. " '((guix build utils)))\n"
  22685. " #~(begin\n"
  22686. " (use-modules (guix build utils)\n"
  22687. " (ice-9 popen)\n"
  22688. " (ice-9 regex)\n"
  22689. " (ice-9 textual-ports)\n"
  22690. " (srfi srfi-2))\n"
  22691. "\n"
  22692. msgstr ""
  22693. #. type: lisp
  22694. #: guix-git/doc/guix.texi:15868
  22695. #, no-wrap
  22696. msgid ""
  22697. " (define %min-level 20)\n"
  22698. "\n"
  22699. msgstr ""
  22700. #. type: lisp
  22701. #: guix-git/doc/guix.texi:15879
  22702. #, no-wrap
  22703. msgid ""
  22704. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  22705. " (and-let* ((input-pipe (open-pipe*\n"
  22706. " OPEN_READ\n"
  22707. " #$(file-append acpi \"/bin/acpi\")))\n"
  22708. " (output (get-string-all input-pipe))\n"
  22709. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  22710. " (level (string->number (match:substring m 1)))\n"
  22711. " ((< level %min-level)))\n"
  22712. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  22713. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  22714. msgstr ""
  22715. #. type: Plain text
  22716. #: guix-git/doc/guix.texi:15884
  22717. msgid "@xref{Guile Syntax, mcron job specifications,, mcron, GNU@tie{}mcron}, for more information on mcron job specifications. Below is the reference of the mcron service."
  22718. msgstr ""
  22719. #. type: Plain text
  22720. #: guix-git/doc/guix.texi:15887
  22721. msgid "On a running system, you can use the @code{schedule} action of the service to visualize the mcron jobs that will be executed next:"
  22722. msgstr ""
  22723. #. type: example
  22724. #: guix-git/doc/guix.texi:15890
  22725. #, no-wrap
  22726. msgid "# herd schedule mcron\n"
  22727. msgstr ""
  22728. #. type: Plain text
  22729. #: guix-git/doc/guix.texi:15895
  22730. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  22731. msgstr ""
  22732. #. type: example
  22733. #: guix-git/doc/guix.texi:15898
  22734. #, no-wrap
  22735. msgid "# herd schedule mcron 10\n"
  22736. msgstr ""
  22737. #. type: defvr
  22738. #: guix-git/doc/guix.texi:15900
  22739. #, no-wrap
  22740. msgid "{Scheme Variable} mcron-service-type"
  22741. msgstr ""
  22742. #. type: defvr
  22743. #: guix-git/doc/guix.texi:15903
  22744. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  22745. msgstr ""
  22746. #. type: defvr
  22747. #: guix-git/doc/guix.texi:15908
  22748. msgid "This service type can be the target of a service extension that provides it additional job specifications (@pxref{Service Composition}). In other words, it is possible to define services that provide additional mcron jobs to run."
  22749. msgstr ""
  22750. #. type: deftp
  22751. #: guix-git/doc/guix.texi:15910
  22752. #, no-wrap
  22753. msgid "{Data Type} mcron-configuration"
  22754. msgstr ""
  22755. #. type: deftp
  22756. #: guix-git/doc/guix.texi:15912
  22757. msgid "Data type representing the configuration of mcron."
  22758. msgstr ""
  22759. #. type: item
  22760. #: guix-git/doc/guix.texi:15914
  22761. #, no-wrap
  22762. msgid "@code{mcron} (default: @var{mcron})"
  22763. msgstr ""
  22764. #. type: table
  22765. #: guix-git/doc/guix.texi:15916
  22766. msgid "The mcron package to use."
  22767. msgstr ""
  22768. #. type: code{#1}
  22769. #: guix-git/doc/guix.texi:15917 guix-git/doc/guix.texi:15986
  22770. #, no-wrap
  22771. msgid "jobs"
  22772. msgstr ""
  22773. #. type: table
  22774. #: guix-git/doc/guix.texi:15921
  22775. msgid "This is a list of gexps (@pxref{G-Expressions}), where each gexp corresponds to an mcron job specification (@pxref{Syntax, mcron job specifications,, mcron, GNU@tie{}mcron})."
  22776. msgstr ""
  22777. #. type: cindex
  22778. #: guix-git/doc/guix.texi:15928
  22779. #, no-wrap
  22780. msgid "rottlog"
  22781. msgstr ""
  22782. #. type: cindex
  22783. #: guix-git/doc/guix.texi:15929
  22784. #, no-wrap
  22785. msgid "log rotation"
  22786. msgstr ""
  22787. #. type: Plain text
  22788. #: guix-git/doc/guix.texi:15936
  22789. msgid "Log files such as those found in @file{/var/log} tend to grow endlessly, so it's a good idea to @dfn{rotate} them once in a while---i.e., archive their contents in separate files, possibly compressed. The @code{(gnu services admin)} module provides an interface to GNU@tie{}Rot[t]log, a log rotation tool (@pxref{Top,,, rottlog, GNU Rot[t]log Manual})."
  22790. msgstr ""
  22791. #. type: Plain text
  22792. #: guix-git/doc/guix.texi:15942
  22793. msgid "This service is part of @code{%base-services}, and thus enabled by default, with the default settings, for commonly encountered log files. The example below shows how to extend it with an additional @dfn{rotation}, should you need to do that (usually, services that produce log files already take care of that):"
  22794. msgstr ""
  22795. #. type: lisp
  22796. #: guix-git/doc/guix.texi:15946
  22797. #, no-wrap
  22798. msgid ""
  22799. "(use-modules (guix) (gnu))\n"
  22800. "(use-service-modules admin)\n"
  22801. "\n"
  22802. msgstr ""
  22803. #. type: lisp
  22804. #: guix-git/doc/guix.texi:15950
  22805. #, no-wrap
  22806. msgid ""
  22807. "(define my-log-files\n"
  22808. " ;; Log files that I want to rotate.\n"
  22809. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  22810. "\n"
  22811. msgstr ""
  22812. #. type: lisp
  22813. #: guix-git/doc/guix.texi:15959
  22814. #, no-wrap
  22815. msgid ""
  22816. "(operating-system\n"
  22817. " ;; @dots{}\n"
  22818. " (services (cons (simple-service 'rotate-my-stuff\n"
  22819. " rottlog-service-type\n"
  22820. " (list (log-rotation\n"
  22821. " (frequency 'daily)\n"
  22822. " (files my-log-files))))\n"
  22823. " %base-services)))\n"
  22824. msgstr ""
  22825. #. type: defvr
  22826. #: guix-git/doc/guix.texi:15961
  22827. #, no-wrap
  22828. msgid "{Scheme Variable} rottlog-service-type"
  22829. msgstr ""
  22830. #. type: defvr
  22831. #: guix-git/doc/guix.texi:15964
  22832. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  22833. msgstr ""
  22834. #. type: defvr
  22835. #: guix-git/doc/guix.texi:15967
  22836. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  22837. msgstr ""
  22838. #. type: defvr
  22839. #: guix-git/doc/guix.texi:15970
  22840. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  22841. msgstr ""
  22842. #. type: deftp
  22843. #: guix-git/doc/guix.texi:15972
  22844. #, no-wrap
  22845. msgid "{Data Type} rottlog-configuration"
  22846. msgstr ""
  22847. #. type: deftp
  22848. #: guix-git/doc/guix.texi:15974
  22849. msgid "Data type representing the configuration of rottlog."
  22850. msgstr ""
  22851. #. type: item
  22852. #: guix-git/doc/guix.texi:15976
  22853. #, no-wrap
  22854. msgid "@code{rottlog} (default: @code{rottlog})"
  22855. msgstr ""
  22856. #. type: table
  22857. #: guix-git/doc/guix.texi:15978
  22858. msgid "The Rottlog package to use."
  22859. msgstr ""
  22860. #. type: item
  22861. #: guix-git/doc/guix.texi:15979
  22862. #, no-wrap
  22863. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  22864. msgstr ""
  22865. #. type: table
  22866. #: guix-git/doc/guix.texi:15982
  22867. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  22868. msgstr ""
  22869. #. type: item
  22870. #: guix-git/doc/guix.texi:15983
  22871. #, no-wrap
  22872. msgid "@code{rotations} (default: @code{%default-rotations})"
  22873. msgstr ""
  22874. #. type: table
  22875. #: guix-git/doc/guix.texi:15985
  22876. msgid "A list of @code{log-rotation} objects as defined below."
  22877. msgstr ""
  22878. #. type: table
  22879. #: guix-git/doc/guix.texi:15989
  22880. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  22881. msgstr ""
  22882. #. type: deftp
  22883. #: guix-git/doc/guix.texi:15992
  22884. #, no-wrap
  22885. msgid "{Data Type} log-rotation"
  22886. msgstr ""
  22887. #. type: deftp
  22888. #: guix-git/doc/guix.texi:15994
  22889. msgid "Data type representing the rotation of a group of log files."
  22890. msgstr ""
  22891. #. type: deftp
  22892. #: guix-git/doc/guix.texi:15998
  22893. msgid "Taking an example from the Rottlog manual (@pxref{Period Related File Examples,,, rottlog, GNU Rot[t]log Manual}), a log rotation might be defined like this:"
  22894. msgstr ""
  22895. #. type: lisp
  22896. #: guix-git/doc/guix.texi:16007
  22897. #, no-wrap
  22898. msgid ""
  22899. "(log-rotation\n"
  22900. " (frequency 'daily)\n"
  22901. " (files '(\"/var/log/apache/*\"))\n"
  22902. " (options '(\"storedir apache-archives\"\n"
  22903. " \"rotate 6\"\n"
  22904. " \"notifempty\"\n"
  22905. " \"nocompress\")))\n"
  22906. msgstr ""
  22907. #. type: deftp
  22908. #: guix-git/doc/guix.texi:16010
  22909. msgid "The list of fields is as follows:"
  22910. msgstr ""
  22911. #. type: item
  22912. #: guix-git/doc/guix.texi:16012
  22913. #, no-wrap
  22914. msgid "@code{frequency} (default: @code{'weekly})"
  22915. msgstr ""
  22916. #. type: table
  22917. #: guix-git/doc/guix.texi:16014
  22918. msgid "The log rotation frequency, a symbol."
  22919. msgstr ""
  22920. #. type: code{#1}
  22921. #: guix-git/doc/guix.texi:16015
  22922. #, no-wrap
  22923. msgid "files"
  22924. msgstr ""
  22925. #. type: table
  22926. #: guix-git/doc/guix.texi:16017
  22927. msgid "The list of files or file glob patterns to rotate."
  22928. msgstr ""
  22929. #. type: item
  22930. #: guix-git/doc/guix.texi:16018
  22931. #, no-wrap
  22932. msgid "@code{options} (default: @code{'()})"
  22933. msgstr ""
  22934. #. type: table
  22935. #: guix-git/doc/guix.texi:16021
  22936. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  22937. msgstr ""
  22938. #. type: item
  22939. #: guix-git/doc/guix.texi:16022
  22940. #, no-wrap
  22941. msgid "@code{post-rotate} (default: @code{#f})"
  22942. msgstr ""
  22943. #. type: table
  22944. #: guix-git/doc/guix.texi:16024
  22945. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  22946. msgstr ""
  22947. #. type: defvr
  22948. #: guix-git/doc/guix.texi:16027
  22949. #, no-wrap
  22950. msgid "{Scheme Variable} %default-rotations"
  22951. msgstr ""
  22952. #. type: defvr
  22953. #: guix-git/doc/guix.texi:16030
  22954. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  22955. msgstr ""
  22956. #. type: defvr
  22957. #: guix-git/doc/guix.texi:16032
  22958. #, no-wrap
  22959. msgid "{Scheme Variable} %rotated-files"
  22960. msgstr ""
  22961. #. type: defvr
  22962. #: guix-git/doc/guix.texi:16036
  22963. msgid "The list of syslog-controlled files to be rotated. By default it is: @code{'(\"/var/log/messages\" \"/var/log/secure\" \"/var/log/debug\" \\ \"/var/log/maillog\")}."
  22964. msgstr ""
  22965. #. type: Plain text
  22966. #: guix-git/doc/guix.texi:16043
  22967. msgid "The @code{(gnu services networking)} module provides services to configure the network interface."
  22968. msgstr ""
  22969. #. type: cindex
  22970. #: guix-git/doc/guix.texi:16044
  22971. #, no-wrap
  22972. msgid "DHCP, networking service"
  22973. msgstr ""
  22974. #. type: defvr
  22975. #: guix-git/doc/guix.texi:16045
  22976. #, no-wrap
  22977. msgid "{Scheme Variable} dhcp-client-service-type"
  22978. msgstr ""
  22979. #. type: defvr
  22980. #: guix-git/doc/guix.texi:16049
  22981. msgid "This is the type of services that run @var{dhcp}, a Dynamic Host Configuration Protocol (DHCP) client, on all the non-loopback network interfaces. Its value is the DHCP client package to use, @code{isc-dhcp} by default."
  22982. msgstr ""
  22983. #. type: deffn
  22984. #: guix-git/doc/guix.texi:16051
  22985. #, no-wrap
  22986. msgid "{Scheme Procedure} dhcpd-service-type"
  22987. msgstr ""
  22988. #. type: deffn
  22989. #: guix-git/doc/guix.texi:16055
  22990. msgid "This type defines a service that runs a DHCP daemon. To create a service of this type, you must supply a @code{<dhcpd-configuration>}. For example:"
  22991. msgstr ""
  22992. #. type: lisp
  22993. #: guix-git/doc/guix.texi:16061
  22994. #, no-wrap
  22995. msgid ""
  22996. "(service dhcpd-service-type\n"
  22997. " (dhcpd-configuration\n"
  22998. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  22999. " (interfaces '(\"enp0s25\"))))\n"
  23000. msgstr ""
  23001. #. type: deftp
  23002. #: guix-git/doc/guix.texi:16064
  23003. #, no-wrap
  23004. msgid "{Data Type} dhcpd-configuration"
  23005. msgstr ""
  23006. #. type: item
  23007. #: guix-git/doc/guix.texi:16066
  23008. #, no-wrap
  23009. msgid "@code{package} (default: @code{isc-dhcp})"
  23010. msgstr ""
  23011. #. type: table
  23012. #: guix-git/doc/guix.texi:16071
  23013. msgid "The package that provides the DHCP daemon. This package is expected to provide the daemon at @file{sbin/dhcpd} relative to its output directory. The default package is the @uref{https://www.isc.org/products/DHCP, ISC's DHCP server}."
  23014. msgstr ""
  23015. #. type: item
  23016. #: guix-git/doc/guix.texi:16071 guix-git/doc/guix.texi:16327
  23017. #: guix-git/doc/guix.texi:21399
  23018. #, no-wrap
  23019. msgid "@code{config-file} (default: @code{#f})"
  23020. msgstr ""
  23021. #. type: table
  23022. #: guix-git/doc/guix.texi:16076
  23023. msgid "The configuration file to use. This is required. It will be passed to @code{dhcpd} via its @code{-cf} option. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). See @code{man dhcpd.conf} for details on the configuration file syntax."
  23024. msgstr ""
  23025. #. type: item
  23026. #: guix-git/doc/guix.texi:16076
  23027. #, no-wrap
  23028. msgid "@code{version} (default: @code{\"4\"})"
  23029. msgstr ""
  23030. #. type: table
  23031. #: guix-git/doc/guix.texi:16081
  23032. msgid "The DHCP version to use. The ISC DHCP server supports the values ``4'', ``6'', and ``4o6''. These correspond to the @code{dhcpd} program options @code{-4}, @code{-6}, and @code{-4o6}. See @code{man dhcpd} for details."
  23033. msgstr ""
  23034. #. type: item
  23035. #: guix-git/doc/guix.texi:16081
  23036. #, no-wrap
  23037. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  23038. msgstr ""
  23039. #. type: table
  23040. #: guix-git/doc/guix.texi:16084
  23041. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  23042. msgstr ""
  23043. #. type: item
  23044. #: guix-git/doc/guix.texi:16084
  23045. #, no-wrap
  23046. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  23047. msgstr ""
  23048. #. type: table
  23049. #: guix-git/doc/guix.texi:16087
  23050. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  23051. msgstr ""
  23052. #. type: item
  23053. #: guix-git/doc/guix.texi:16087
  23054. #, no-wrap
  23055. msgid "@code{interfaces} (default: @code{'()})"
  23056. msgstr ""
  23057. #. type: table
  23058. #: guix-git/doc/guix.texi:16093
  23059. msgid "The names of the network interfaces on which dhcpd should listen for broadcasts. If this list is not empty, then its elements (which must be strings) will be appended to the @code{dhcpd} invocation when starting the daemon. It may not be necessary to explicitly specify any interfaces here; see @code{man dhcpd} for details."
  23060. msgstr ""
  23061. #. type: defvr
  23062. #: guix-git/doc/guix.texi:16096
  23063. #, no-wrap
  23064. msgid "{Scheme Variable} static-networking-service-type"
  23065. msgstr ""
  23066. #. type: defvr
  23067. #: guix-git/doc/guix.texi:16099
  23068. msgid "This is the type for statically-configured network interfaces."
  23069. msgstr ""
  23070. #. type: deffn
  23071. #: guix-git/doc/guix.texi:16101
  23072. #, no-wrap
  23073. msgid "{Scheme Procedure} static-networking-service @var{interface} @var{ip} @"
  23074. msgstr ""
  23075. #. type: deffn
  23076. #: guix-git/doc/guix.texi:16109
  23077. msgid "[#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] @ [#:requirement @code{'(udev)}] Return a service that starts @var{interface} with address @var{ip}. If @var{netmask} is true, use it as the network mask. If @var{gateway} is true, it must be a string specifying the default network gateway. @var{requirement} can be used to declare a dependency on another service before configuring the interface."
  23078. msgstr ""
  23079. #. type: deffn
  23080. #: guix-git/doc/guix.texi:16114
  23081. msgid "This procedure can be called several times, one for each network interface of interest. Behind the scenes what it does is extend @code{static-networking-service-type} with additional network interfaces to handle."
  23082. msgstr ""
  23083. #. type: defvr
  23084. #: guix-git/doc/guix.texi:16116 guix-git/doc/guix.texi:28950
  23085. msgid "For example:"
  23086. msgstr ""
  23087. #. type: lisp
  23088. #: guix-git/doc/guix.texi:16121
  23089. #, no-wrap
  23090. msgid ""
  23091. "(static-networking-service \"eno1\" \"192.168.1.82\"\n"
  23092. " #:gateway \"192.168.1.2\"\n"
  23093. " #:name-servers '(\"192.168.1.2\"))\n"
  23094. msgstr ""
  23095. #. type: cindex
  23096. #: guix-git/doc/guix.texi:16124
  23097. #, no-wrap
  23098. msgid "wicd"
  23099. msgstr ""
  23100. #. type: cindex
  23101. #: guix-git/doc/guix.texi:16127
  23102. #, no-wrap
  23103. msgid "network management"
  23104. msgstr ""
  23105. #. type: deffn
  23106. #: guix-git/doc/guix.texi:16128
  23107. #, no-wrap
  23108. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  23109. msgstr ""
  23110. #. type: deffn
  23111. #: guix-git/doc/guix.texi:16131
  23112. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  23113. msgstr ""
  23114. #. type: deffn
  23115. #: guix-git/doc/guix.texi:16136
  23116. msgid "This service adds the @var{wicd} package to the global profile, providing several commands to interact with the daemon and configure networking: @command{wicd-client}, a graphical user interface, and the @command{wicd-cli} and @command{wicd-curses} user interfaces."
  23117. msgstr ""
  23118. #. type: cindex
  23119. #: guix-git/doc/guix.texi:16138
  23120. #, no-wrap
  23121. msgid "ModemManager"
  23122. msgstr ""
  23123. #. type: defvr
  23124. #: guix-git/doc/guix.texi:16140
  23125. #, no-wrap
  23126. msgid "{Scheme Variable} modem-manager-service-type"
  23127. msgstr ""
  23128. #. type: defvr
  23129. #: guix-git/doc/guix.texi:16145
  23130. msgid "This is the service type for the @uref{https://wiki.gnome.org/Projects/ModemManager, ModemManager} service. The value for this service type is a @code{modem-manager-configuration} record."
  23131. msgstr ""
  23132. #. type: defvr
  23133. #: guix-git/doc/guix.texi:16148 guix-git/doc/guix.texi:16177
  23134. #: guix-git/doc/guix.texi:16209
  23135. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  23136. msgstr ""
  23137. #. type: deftp
  23138. #: guix-git/doc/guix.texi:16150
  23139. #, no-wrap
  23140. msgid "{Data Type} modem-manager-configuration"
  23141. msgstr ""
  23142. #. type: deftp
  23143. #: guix-git/doc/guix.texi:16152
  23144. msgid "Data type representing the configuration of ModemManager."
  23145. msgstr ""
  23146. #. type: item
  23147. #: guix-git/doc/guix.texi:16154
  23148. #, no-wrap
  23149. msgid "@code{modem-manager} (default: @code{modem-manager})"
  23150. msgstr ""
  23151. #. type: table
  23152. #: guix-git/doc/guix.texi:16156
  23153. msgid "The ModemManager package to use."
  23154. msgstr ""
  23155. #. type: cindex
  23156. #: guix-git/doc/guix.texi:16160
  23157. #, no-wrap
  23158. msgid "USB_ModeSwitch"
  23159. msgstr ""
  23160. #. type: cindex
  23161. #: guix-git/doc/guix.texi:16161
  23162. #, no-wrap
  23163. msgid "Modeswitching"
  23164. msgstr ""
  23165. #. type: defvr
  23166. #: guix-git/doc/guix.texi:16163
  23167. #, no-wrap
  23168. msgid "{Scheme Variable} usb-modeswitch-service-type"
  23169. msgstr ""
  23170. #. type: defvr
  23171. #: guix-git/doc/guix.texi:16168
  23172. msgid "This is the service type for the @uref{https://www.draisberghof.de/usb_modeswitch/, USB_ModeSwitch} service. The value for this service type is a @code{usb-modeswitch-configuration} record."
  23173. msgstr ""
  23174. #. type: defvr
  23175. #: guix-git/doc/guix.texi:16174
  23176. msgid "When plugged in, some USB modems (and other USB devices) initially present themselves as a read-only storage medium and not as a modem. They need to be @dfn{modeswitched} before they are usable. The USB_ModeSwitch service type installs udev rules to automatically modeswitch these devices when they are plugged in."
  23177. msgstr ""
  23178. #. type: deftp
  23179. #: guix-git/doc/guix.texi:16179
  23180. #, no-wrap
  23181. msgid "{Data Type} usb-modeswitch-configuration"
  23182. msgstr ""
  23183. #. type: deftp
  23184. #: guix-git/doc/guix.texi:16181
  23185. msgid "Data type representing the configuration of USB_ModeSwitch."
  23186. msgstr ""
  23187. #. type: item
  23188. #: guix-git/doc/guix.texi:16183
  23189. #, no-wrap
  23190. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  23191. msgstr ""
  23192. #. type: table
  23193. #: guix-git/doc/guix.texi:16185
  23194. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  23195. msgstr ""
  23196. #. type: item
  23197. #: guix-git/doc/guix.texi:16186
  23198. #, no-wrap
  23199. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  23200. msgstr ""
  23201. #. type: table
  23202. #: guix-git/doc/guix.texi:16189
  23203. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  23204. msgstr ""
  23205. #. type: item
  23206. #: guix-git/doc/guix.texi:16190
  23207. #, no-wrap
  23208. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  23209. msgstr ""
  23210. #. type: table
  23211. #: guix-git/doc/guix.texi:16195
  23212. msgid "Which config file to use for the USB_ModeSwitch dispatcher. By default the config file shipped with USB_ModeSwitch is used which disables logging to @file{/var/log} among other default settings. If set to @code{#f}, no config file is used."
  23213. msgstr ""
  23214. #. type: cindex
  23215. #: guix-git/doc/guix.texi:16199
  23216. #, no-wrap
  23217. msgid "NetworkManager"
  23218. msgstr ""
  23219. #. type: defvr
  23220. #: guix-git/doc/guix.texi:16201
  23221. #, no-wrap
  23222. msgid "{Scheme Variable} network-manager-service-type"
  23223. msgstr ""
  23224. #. type: defvr
  23225. #: guix-git/doc/guix.texi:16206
  23226. msgid "This is the service type for the @uref{https://wiki.gnome.org/Projects/NetworkManager, NetworkManager} service. The value for this service type is a @code{network-manager-configuration} record."
  23227. msgstr ""
  23228. #. type: deftp
  23229. #: guix-git/doc/guix.texi:16211
  23230. #, no-wrap
  23231. msgid "{Data Type} network-manager-configuration"
  23232. msgstr ""
  23233. #. type: deftp
  23234. #: guix-git/doc/guix.texi:16213
  23235. msgid "Data type representing the configuration of NetworkManager."
  23236. msgstr ""
  23237. #. type: item
  23238. #: guix-git/doc/guix.texi:16215
  23239. #, no-wrap
  23240. msgid "@code{network-manager} (default: @code{network-manager})"
  23241. msgstr ""
  23242. #. type: table
  23243. #: guix-git/doc/guix.texi:16217
  23244. msgid "The NetworkManager package to use."
  23245. msgstr ""
  23246. #. type: item
  23247. #: guix-git/doc/guix.texi:16218
  23248. #, no-wrap
  23249. msgid "@code{dns} (default: @code{\"default\"})"
  23250. msgstr ""
  23251. #. type: table
  23252. #: guix-git/doc/guix.texi:16221
  23253. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  23254. msgstr ""
  23255. #. type: table
  23256. #: guix-git/doc/guix.texi:16226
  23257. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  23258. msgstr ""
  23259. #. type: item
  23260. #: guix-git/doc/guix.texi:16227
  23261. #, no-wrap
  23262. msgid "dnsmasq"
  23263. msgstr ""
  23264. #. type: table
  23265. #: guix-git/doc/guix.texi:16231
  23266. msgid "NetworkManager will run @code{dnsmasq} as a local caching nameserver, using a @dfn{conditional forwarding} configuration if you are connected to a VPN, and then update @code{resolv.conf} to point to the local nameserver."
  23267. msgstr ""
  23268. #. type: table
  23269. #: guix-git/doc/guix.texi:16237
  23270. msgid "With this setting, you can share your network connection. For example when you want to share your network connection to another laptop @i{via} an Ethernet cable, you can open @command{nm-connection-editor} and configure the Wired connection's method for IPv4 and IPv6 to be ``Shared to other computers'' and reestablish the connection (or reboot)."
  23271. msgstr ""
  23272. #. type: table
  23273. #: guix-git/doc/guix.texi:16244
  23274. msgid "You can also set up a @dfn{host-to-guest connection} to QEMU VMs (@pxref{Installing Guix in a VM}). With a host-to-guest connection, you can e.g.@: access a Web server running on the VM (@pxref{Web Services}) from a Web browser on your host system, or connect to the VM @i{via} SSH (@pxref{Networking Services, @code{openssh-service-type}}). To set up a host-to-guest connection, run this command once:"
  23275. msgstr ""
  23276. #. type: example
  23277. #: guix-git/doc/guix.texi:16251
  23278. #, no-wrap
  23279. msgid ""
  23280. "nmcli connection add type tun \\\n"
  23281. " connection.interface-name tap0 \\\n"
  23282. " tun.mode tap tun.owner $(id -u) \\\n"
  23283. " ipv4.method shared \\\n"
  23284. " ipv4.addresses 172.28.112.1/24\n"
  23285. msgstr ""
  23286. #. type: table
  23287. #: guix-git/doc/guix.texi:16256
  23288. msgid "Then each time you launch your QEMU VM (@pxref{Running Guix in a VM}), pass @option{-nic tap,ifname=tap0,script=no,downscript=no} to @command{qemu-system-...}."
  23289. msgstr ""
  23290. #. type: table
  23291. #: guix-git/doc/guix.texi:16259
  23292. msgid "NetworkManager will not modify @code{resolv.conf}."
  23293. msgstr ""
  23294. #. type: item
  23295. #: guix-git/doc/guix.texi:16261
  23296. #, no-wrap
  23297. msgid "@code{vpn-plugins} (default: @code{'()})"
  23298. msgstr ""
  23299. #. type: table
  23300. #: guix-git/doc/guix.texi:16265
  23301. msgid "This is the list of available plugins for virtual private networks (VPNs). An example of this is the @code{network-manager-openvpn} package, which allows NetworkManager to manage VPNs @i{via} OpenVPN."
  23302. msgstr ""
  23303. #. type: cindex
  23304. #: guix-git/doc/guix.texi:16269
  23305. #, no-wrap
  23306. msgid "Connman"
  23307. msgstr ""
  23308. #. type: deffn
  23309. #: guix-git/doc/guix.texi:16270
  23310. #, no-wrap
  23311. msgid "{Scheme Variable} connman-service-type"
  23312. msgstr ""
  23313. #. type: deffn
  23314. #: guix-git/doc/guix.texi:16273
  23315. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  23316. msgstr ""
  23317. #. type: deffn
  23318. #: guix-git/doc/guix.texi:16276
  23319. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  23320. msgstr ""
  23321. #. type: lisp
  23322. #: guix-git/doc/guix.texi:16281
  23323. #, no-wrap
  23324. msgid ""
  23325. "(service connman-service-type\n"
  23326. " (connman-configuration\n"
  23327. " (disable-vpn? #t)))\n"
  23328. msgstr ""
  23329. #. type: deffn
  23330. #: guix-git/doc/guix.texi:16284
  23331. msgid "See below for details about @code{connman-configuration}."
  23332. msgstr ""
  23333. #. type: deftp
  23334. #: guix-git/doc/guix.texi:16286
  23335. #, no-wrap
  23336. msgid "{Data Type} connman-configuration"
  23337. msgstr ""
  23338. #. type: deftp
  23339. #: guix-git/doc/guix.texi:16288
  23340. msgid "Data Type representing the configuration of connman."
  23341. msgstr ""
  23342. #. type: item
  23343. #: guix-git/doc/guix.texi:16290
  23344. #, no-wrap
  23345. msgid "@code{connman} (default: @var{connman})"
  23346. msgstr ""
  23347. #. type: table
  23348. #: guix-git/doc/guix.texi:16292
  23349. msgid "The connman package to use."
  23350. msgstr ""
  23351. #. type: item
  23352. #: guix-git/doc/guix.texi:16293
  23353. #, no-wrap
  23354. msgid "@code{disable-vpn?} (default: @code{#f})"
  23355. msgstr ""
  23356. #. type: table
  23357. #: guix-git/doc/guix.texi:16295
  23358. msgid "When true, disable connman's vpn plugin."
  23359. msgstr ""
  23360. #. type: cindex
  23361. #: guix-git/doc/guix.texi:16298
  23362. #, no-wrap
  23363. msgid "WPA Supplicant"
  23364. msgstr ""
  23365. #. type: defvr
  23366. #: guix-git/doc/guix.texi:16299
  23367. #, no-wrap
  23368. msgid "{Scheme Variable} wpa-supplicant-service-type"
  23369. msgstr ""
  23370. #. type: defvr
  23371. #: guix-git/doc/guix.texi:16303
  23372. msgid "This is the service type to run @url{https://w1.fi/wpa_supplicant/,WPA supplicant}, an authentication daemon required to authenticate against encrypted WiFi or ethernet networks."
  23373. msgstr ""
  23374. #. type: deftp
  23375. #: guix-git/doc/guix.texi:16305
  23376. #, no-wrap
  23377. msgid "{Data Type} wpa-supplicant-configuration"
  23378. msgstr ""
  23379. #. type: deftp
  23380. #: guix-git/doc/guix.texi:16307
  23381. msgid "Data type representing the configuration of WPA Supplicant."
  23382. msgstr ""
  23383. #. type: deftp
  23384. #: guix-git/doc/guix.texi:16309 guix-git/doc/guix.texi:30962
  23385. msgid "It takes the following parameters:"
  23386. msgstr ""
  23387. #. type: item
  23388. #: guix-git/doc/guix.texi:16311
  23389. #, no-wrap
  23390. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  23391. msgstr ""
  23392. #. type: table
  23393. #: guix-git/doc/guix.texi:16313
  23394. msgid "The WPA Supplicant package to use."
  23395. msgstr ""
  23396. #. type: item
  23397. #: guix-git/doc/guix.texi:16314
  23398. #, no-wrap
  23399. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  23400. msgstr ""
  23401. #. type: table
  23402. #: guix-git/doc/guix.texi:16316
  23403. msgid "List of services that should be started before WPA Supplicant starts."
  23404. msgstr ""
  23405. #. type: item
  23406. #: guix-git/doc/guix.texi:16317
  23407. #, no-wrap
  23408. msgid "@code{dbus?} (default: @code{#t})"
  23409. msgstr ""
  23410. #. type: table
  23411. #: guix-git/doc/guix.texi:16319
  23412. msgid "Whether to listen for requests on D-Bus."
  23413. msgstr ""
  23414. #. type: item
  23415. #: guix-git/doc/guix.texi:16320
  23416. #, no-wrap
  23417. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  23418. msgstr ""
  23419. #. type: table
  23420. #: guix-git/doc/guix.texi:16322
  23421. msgid "Where to store the PID file."
  23422. msgstr ""
  23423. #. type: item
  23424. #: guix-git/doc/guix.texi:16323 guix-git/doc/guix.texi:29407
  23425. #: guix-git/doc/guix.texi:29549
  23426. #, no-wrap
  23427. msgid "@code{interface} (default: @code{#f})"
  23428. msgstr ""
  23429. #. type: table
  23430. #: guix-git/doc/guix.texi:16326
  23431. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  23432. msgstr ""
  23433. #. type: table
  23434. #: guix-git/doc/guix.texi:16329
  23435. msgid "Optional configuration file to use."
  23436. msgstr ""
  23437. #. type: table
  23438. #: guix-git/doc/guix.texi:16332
  23439. msgid "List of additional command-line arguments to pass to the daemon."
  23440. msgstr ""
  23441. #. type: cindex
  23442. #: guix-git/doc/guix.texi:16335
  23443. #, no-wrap
  23444. msgid "hostapd service, for Wi-Fi access points"
  23445. msgstr ""
  23446. #. type: cindex
  23447. #: guix-git/doc/guix.texi:16336
  23448. #, no-wrap
  23449. msgid "Wi-Fi access points, hostapd service"
  23450. msgstr ""
  23451. #. type: defvr
  23452. #: guix-git/doc/guix.texi:16337
  23453. #, no-wrap
  23454. msgid "{Scheme Variable} hostapd-service-type"
  23455. msgstr ""
  23456. #. type: defvr
  23457. #: guix-git/doc/guix.texi:16342
  23458. msgid "This is the service type to run the @uref{https://w1.fi/hostapd/, hostapd} daemon to set up WiFi (IEEE 802.11) access points and authentication servers. Its associated value must be a @code{hostapd-configuration} as shown below:"
  23459. msgstr ""
  23460. #. type: lisp
  23461. #: guix-git/doc/guix.texi:16350
  23462. #, no-wrap
  23463. msgid ""
  23464. ";; Use wlan1 to run the access point for \"My Network\".\n"
  23465. "(service hostapd-service-type\n"
  23466. " (hostapd-configuration\n"
  23467. " (interface \"wlan1\")\n"
  23468. " (ssid \"My Network\")\n"
  23469. " (channel 12)))\n"
  23470. msgstr ""
  23471. #. type: deftp
  23472. #: guix-git/doc/guix.texi:16353
  23473. #, no-wrap
  23474. msgid "{Data Type} hostapd-configuration"
  23475. msgstr ""
  23476. #. type: deftp
  23477. #: guix-git/doc/guix.texi:16356
  23478. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  23479. msgstr ""
  23480. #. type: item
  23481. #: guix-git/doc/guix.texi:16358
  23482. #, no-wrap
  23483. msgid "@code{package} (default: @code{hostapd})"
  23484. msgstr ""
  23485. #. type: table
  23486. #: guix-git/doc/guix.texi:16360
  23487. msgid "The hostapd package to use."
  23488. msgstr ""
  23489. #. type: item
  23490. #: guix-git/doc/guix.texi:16361
  23491. #, no-wrap
  23492. msgid "@code{interface} (default: @code{\"wlan0\"})"
  23493. msgstr ""
  23494. #. type: table
  23495. #: guix-git/doc/guix.texi:16363
  23496. msgid "The network interface to run the WiFi access point."
  23497. msgstr ""
  23498. #. type: code{#1}
  23499. #: guix-git/doc/guix.texi:16364
  23500. #, no-wrap
  23501. msgid "ssid"
  23502. msgstr ""
  23503. #. type: table
  23504. #: guix-git/doc/guix.texi:16367
  23505. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  23506. msgstr ""
  23507. #. type: item
  23508. #: guix-git/doc/guix.texi:16368
  23509. #, no-wrap
  23510. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  23511. msgstr ""
  23512. #. type: table
  23513. #: guix-git/doc/guix.texi:16370
  23514. msgid "Whether to broadcast this SSID."
  23515. msgstr ""
  23516. #. type: item
  23517. #: guix-git/doc/guix.texi:16371
  23518. #, no-wrap
  23519. msgid "@code{channel} (default: @code{1})"
  23520. msgstr ""
  23521. #. type: table
  23522. #: guix-git/doc/guix.texi:16373
  23523. msgid "The WiFi channel to use."
  23524. msgstr ""
  23525. #. type: item
  23526. #: guix-git/doc/guix.texi:16374
  23527. #, no-wrap
  23528. msgid "@code{driver} (default: @code{\"nl80211\"})"
  23529. msgstr ""
  23530. #. type: table
  23531. #: guix-git/doc/guix.texi:16378
  23532. msgid "The driver interface type. @code{\"nl80211\"} is used with all Linux mac80211 drivers. Use @code{\"none\"} if building hostapd as a standalone RADIUS server that does # not control any wireless/wired driver."
  23533. msgstr ""
  23534. #. type: item
  23535. #: guix-git/doc/guix.texi:16379 guix-git/doc/guix.texi:22248
  23536. #: guix-git/doc/guix.texi:25098
  23537. #, no-wrap
  23538. msgid "@code{extra-settings} (default: @code{\"\"})"
  23539. msgstr ""
  23540. #. type: table
  23541. #: guix-git/doc/guix.texi:16383
  23542. msgid "Extra settings to append as-is to the hostapd configuration file. See @uref{https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf} for the configuration file reference."
  23543. msgstr ""
  23544. #. type: defvr
  23545. #: guix-git/doc/guix.texi:16386
  23546. #, no-wrap
  23547. msgid "{Scheme Variable} simulated-wifi-service-type"
  23548. msgstr ""
  23549. #. type: defvr
  23550. #: guix-git/doc/guix.texi:16393
  23551. msgid "This is the type of a service to simulate WiFi networking, which can be useful in virtual machines for testing purposes. The service loads the Linux kernel @uref{https://www.kernel.org/doc/html/latest/networking/mac80211_hwsim/mac80211_hwsim.html, @code{mac80211_hwsim} module} and starts hostapd to create a pseudo WiFi network that can be seen on @code{wlan0}, by default."
  23552. msgstr ""
  23553. #. type: defvr
  23554. #: guix-git/doc/guix.texi:16395
  23555. msgid "The service's value is a @code{hostapd-configuration} record."
  23556. msgstr ""
  23557. #. type: cindex
  23558. #: guix-git/doc/guix.texi:16397
  23559. #, no-wrap
  23560. msgid "iptables"
  23561. msgstr ""
  23562. #. type: defvr
  23563. #: guix-git/doc/guix.texi:16398
  23564. #, no-wrap
  23565. msgid "{Scheme Variable} iptables-service-type"
  23566. msgstr ""
  23567. #. type: defvr
  23568. #: guix-git/doc/guix.texi:16404
  23569. msgid "This is the service type to set up an iptables configuration. iptables is a packet filtering framework supported by the Linux kernel. This service supports configuring iptables for both IPv4 and IPv6. A simple example configuration rejecting all incoming connections except those to the ssh port 22 is shown below."
  23570. msgstr ""
  23571. #. type: lisp
  23572. #: guix-git/doc/guix.texi:16424
  23573. #, no-wrap
  23574. msgid ""
  23575. "(service iptables-service-type\n"
  23576. " (iptables-configuration\n"
  23577. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  23578. ":INPUT ACCEPT\n"
  23579. ":FORWARD ACCEPT\n"
  23580. ":OUTPUT ACCEPT\n"
  23581. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  23582. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  23583. "COMMIT\n"
  23584. "\"))\n"
  23585. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  23586. ":INPUT ACCEPT\n"
  23587. ":FORWARD ACCEPT\n"
  23588. ":OUTPUT ACCEPT\n"
  23589. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  23590. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  23591. "COMMIT\n"
  23592. "\"))))\n"
  23593. msgstr ""
  23594. #. type: deftp
  23595. #: guix-git/doc/guix.texi:16427
  23596. #, no-wrap
  23597. msgid "{Data Type} iptables-configuration"
  23598. msgstr ""
  23599. #. type: deftp
  23600. #: guix-git/doc/guix.texi:16429
  23601. msgid "The data type representing the configuration of iptables."
  23602. msgstr ""
  23603. #. type: item
  23604. #: guix-git/doc/guix.texi:16431
  23605. #, no-wrap
  23606. msgid "@code{iptables} (default: @code{iptables})"
  23607. msgstr ""
  23608. #. type: table
  23609. #: guix-git/doc/guix.texi:16434
  23610. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  23611. msgstr ""
  23612. #. type: item
  23613. #: guix-git/doc/guix.texi:16434
  23614. #, no-wrap
  23615. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  23616. msgstr ""
  23617. #. type: table
  23618. #: guix-git/doc/guix.texi:16438
  23619. msgid "The iptables rules to use. It will be passed to @code{iptables-restore}. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  23620. msgstr ""
  23621. #. type: item
  23622. #: guix-git/doc/guix.texi:16438
  23623. #, no-wrap
  23624. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  23625. msgstr ""
  23626. #. type: table
  23627. #: guix-git/doc/guix.texi:16442
  23628. msgid "The ip6tables rules to use. It will be passed to @code{ip6tables-restore}. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  23629. msgstr ""
  23630. #. type: cindex
  23631. #: guix-git/doc/guix.texi:16445
  23632. #, no-wrap
  23633. msgid "nftables"
  23634. msgstr ""
  23635. #. type: defvr
  23636. #: guix-git/doc/guix.texi:16446
  23637. #, no-wrap
  23638. msgid "{Scheme Variable} nftables-service-type"
  23639. msgstr ""
  23640. #. type: defvr
  23641. #: guix-git/doc/guix.texi:16454
  23642. msgid "This is the service type to set up a nftables configuration. nftables is a netfilter project that aims to replace the existing iptables, ip6tables, arptables and ebtables framework. It provides a new packet filtering framework, a new user-space utility @command{nft}, and a compatibility layer for iptables. This service comes with a default ruleset @code{%default-nftables-ruleset} that rejecting all incoming connections except those to the ssh port 22. To use it, simply write:"
  23643. msgstr ""
  23644. #. type: lisp
  23645. #: guix-git/doc/guix.texi:16457
  23646. #, no-wrap
  23647. msgid "(service nftables-service-type)\n"
  23648. msgstr ""
  23649. #. type: deftp
  23650. #: guix-git/doc/guix.texi:16460
  23651. #, no-wrap
  23652. msgid "{Data Type} nftables-configuration"
  23653. msgstr ""
  23654. #. type: deftp
  23655. #: guix-git/doc/guix.texi:16462
  23656. msgid "The data type representing the configuration of nftables."
  23657. msgstr ""
  23658. #. type: item
  23659. #: guix-git/doc/guix.texi:16464
  23660. #, no-wrap
  23661. msgid "@code{package} (default: @code{nftables})"
  23662. msgstr ""
  23663. #. type: table
  23664. #: guix-git/doc/guix.texi:16466
  23665. msgid "The nftables package that provides @command{nft}."
  23666. msgstr ""
  23667. #. type: item
  23668. #: guix-git/doc/guix.texi:16466
  23669. #, no-wrap
  23670. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  23671. msgstr ""
  23672. #. type: table
  23673. #: guix-git/doc/guix.texi:16469
  23674. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  23675. msgstr ""
  23676. #. type: cindex
  23677. #: guix-git/doc/guix.texi:16472
  23678. #, no-wrap
  23679. msgid "NTP (Network Time Protocol), service"
  23680. msgstr ""
  23681. #. type: cindex
  23682. #: guix-git/doc/guix.texi:16473
  23683. #, no-wrap
  23684. msgid "ntpd, service for the Network Time Protocol daemon"
  23685. msgstr ""
  23686. #. type: cindex
  23687. #: guix-git/doc/guix.texi:16474
  23688. #, no-wrap
  23689. msgid "real time clock"
  23690. msgstr ""
  23691. #. type: defvr
  23692. #: guix-git/doc/guix.texi:16475
  23693. #, no-wrap
  23694. msgid "{Scheme Variable} ntp-service-type"
  23695. msgstr ""
  23696. #. type: defvr
  23697. #: guix-git/doc/guix.texi:16479
  23698. msgid "This is the type of the service running the @uref{https://www.ntp.org, Network Time Protocol (NTP)} daemon, @command{ntpd}. The daemon will keep the system clock synchronized with that of the specified NTP servers."
  23699. msgstr ""
  23700. #. type: defvr
  23701. #: guix-git/doc/guix.texi:16482
  23702. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  23703. msgstr ""
  23704. #. type: deftp
  23705. #: guix-git/doc/guix.texi:16484
  23706. #, no-wrap
  23707. msgid "{Data Type} ntp-configuration"
  23708. msgstr ""
  23709. #. type: deftp
  23710. #: guix-git/doc/guix.texi:16486
  23711. msgid "This is the data type for the NTP service configuration."
  23712. msgstr ""
  23713. #. type: item
  23714. #: guix-git/doc/guix.texi:16488
  23715. #, no-wrap
  23716. msgid "@code{servers} (default: @code{%ntp-servers})"
  23717. msgstr ""
  23718. #. type: table
  23719. #: guix-git/doc/guix.texi:16492
  23720. msgid "This is the list of servers (@code{<ntp-server>} records) with which @command{ntpd} will be synchronized. See the @code{ntp-server} data type definition below."
  23721. msgstr ""
  23722. #. type: item
  23723. #: guix-git/doc/guix.texi:16493
  23724. #, no-wrap
  23725. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  23726. msgstr ""
  23727. #. type: table
  23728. #: guix-git/doc/guix.texi:16496
  23729. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  23730. msgstr ""
  23731. #. type: item
  23732. #: guix-git/doc/guix.texi:16497
  23733. #, no-wrap
  23734. msgid "@code{ntp} (default: @code{ntp})"
  23735. msgstr ""
  23736. #. type: table
  23737. #: guix-git/doc/guix.texi:16499
  23738. msgid "The NTP package to use."
  23739. msgstr ""
  23740. #. type: defvr
  23741. #: guix-git/doc/guix.texi:16502
  23742. #, no-wrap
  23743. msgid "{Scheme Variable} %ntp-servers"
  23744. msgstr ""
  23745. #. type: defvr
  23746. #: guix-git/doc/guix.texi:16505
  23747. msgid "List of host names used as the default NTP servers. These are servers of the @uref{https://www.ntppool.org/en/, NTP Pool Project}."
  23748. msgstr ""
  23749. #. type: deftp
  23750. #: guix-git/doc/guix.texi:16507
  23751. #, no-wrap
  23752. msgid "{Data Type} ntp-server"
  23753. msgstr ""
  23754. #. type: deftp
  23755. #: guix-git/doc/guix.texi:16509
  23756. msgid "The data type representing the configuration of a NTP server."
  23757. msgstr ""
  23758. #. type: item
  23759. #: guix-git/doc/guix.texi:16511
  23760. #, no-wrap
  23761. msgid "@code{type} (default: @code{'server})"
  23762. msgstr ""
  23763. #. type: table
  23764. #: guix-git/doc/guix.texi:16514
  23765. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  23766. msgstr ""
  23767. #. type: code{#1}
  23768. #: guix-git/doc/guix.texi:16515
  23769. #, no-wrap
  23770. msgid "address"
  23771. msgstr ""
  23772. #. type: table
  23773. #: guix-git/doc/guix.texi:16517
  23774. msgid "The address of the server, as a string."
  23775. msgstr ""
  23776. #. type: code{#1}
  23777. #: guix-git/doc/guix.texi:16518 guix-git/doc/guix.texi:31708
  23778. #: guix-git/doc/guix.texi:31728
  23779. #, no-wrap
  23780. msgid "options"
  23781. msgstr ""
  23782. #. type: table
  23783. #: guix-git/doc/guix.texi:16523
  23784. msgid "NTPD options to use with that specific server, given as a list of option names and/or of option names and values tuples. The following example define a server to use with the options @option{iburst} and @option{prefer}, as well as @option{version} 3 and a @option{maxpoll} time of 16 seconds."
  23785. msgstr ""
  23786. #. type: example
  23787. #: guix-git/doc/guix.texi:16529
  23788. #, no-wrap
  23789. msgid ""
  23790. "(ntp-server\n"
  23791. " (type 'server)\n"
  23792. " (address \"some.ntp.server.org\")\n"
  23793. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  23794. msgstr ""
  23795. #. type: cindex
  23796. #: guix-git/doc/guix.texi:16533
  23797. #, no-wrap
  23798. msgid "OpenNTPD"
  23799. msgstr ""
  23800. #. type: deffn
  23801. #: guix-git/doc/guix.texi:16534
  23802. #, no-wrap
  23803. msgid "{Scheme Procedure} openntpd-service-type"
  23804. msgstr ""
  23805. #. type: deffn
  23806. #: guix-git/doc/guix.texi:16538
  23807. msgid "Run the @command{ntpd}, the Network Time Protocol (NTP) daemon, as implemented by @uref{http://www.openntpd.org, OpenNTPD}. The daemon will keep the system clock synchronized with that of the given servers."
  23808. msgstr ""
  23809. #. type: lisp
  23810. #: guix-git/doc/guix.texi:16547
  23811. #, no-wrap
  23812. msgid ""
  23813. "(service\n"
  23814. " openntpd-service-type\n"
  23815. " (openntpd-configuration\n"
  23816. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  23817. " (sensor '(\"udcf0 correction 70000\"))\n"
  23818. " (constraint-from '(\"www.gnu.org\"))\n"
  23819. " (constraints-from '(\"https://www.google.com/\"))))\n"
  23820. "\n"
  23821. msgstr ""
  23822. #. type: defvr
  23823. #: guix-git/doc/guix.texi:16551
  23824. #, no-wrap
  23825. msgid "{Scheme Variable} %openntpd-servers"
  23826. msgstr ""
  23827. #. type: defvr
  23828. #: guix-git/doc/guix.texi:16554
  23829. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  23830. msgstr ""
  23831. #. type: deftp
  23832. #: guix-git/doc/guix.texi:16556
  23833. #, no-wrap
  23834. msgid "{Data Type} openntpd-configuration"
  23835. msgstr ""
  23836. #. type: item
  23837. #: guix-git/doc/guix.texi:16558
  23838. #, no-wrap
  23839. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  23840. msgstr ""
  23841. #. type: table
  23842. #: guix-git/doc/guix.texi:16560
  23843. msgid "The openntpd executable to use."
  23844. msgstr ""
  23845. #. type: item
  23846. #: guix-git/doc/guix.texi:16560
  23847. #, no-wrap
  23848. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  23849. msgstr ""
  23850. #. type: table
  23851. #: guix-git/doc/guix.texi:16562
  23852. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  23853. msgstr ""
  23854. #. type: item
  23855. #: guix-git/doc/guix.texi:16562
  23856. #, no-wrap
  23857. msgid "@code{query-from} (default: @code{'()})"
  23858. msgstr ""
  23859. #. type: table
  23860. #: guix-git/doc/guix.texi:16564
  23861. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  23862. msgstr ""
  23863. #. type: item
  23864. #: guix-git/doc/guix.texi:16564
  23865. #, no-wrap
  23866. msgid "@code{sensor} (default: @code{'()})"
  23867. msgstr ""
  23868. #. type: table
  23869. #: guix-git/doc/guix.texi:16569
  23870. msgid "Specify a list of timedelta sensor devices ntpd should use. @code{ntpd} will listen to each sensor that actually exists and ignore non-existent ones. See @uref{https://man.openbsd.org/ntpd.conf, upstream documentation} for more information."
  23871. msgstr ""
  23872. #. type: item
  23873. #: guix-git/doc/guix.texi:16569
  23874. #, no-wrap
  23875. msgid "@code{server} (default: @code{'()})"
  23876. msgstr ""
  23877. #. type: table
  23878. #: guix-git/doc/guix.texi:16571
  23879. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  23880. msgstr ""
  23881. #. type: item
  23882. #: guix-git/doc/guix.texi:16571
  23883. #, no-wrap
  23884. msgid "@code{servers} (default: @code{%openntp-servers})"
  23885. msgstr ""
  23886. #. type: table
  23887. #: guix-git/doc/guix.texi:16573
  23888. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  23889. msgstr ""
  23890. #. type: item
  23891. #: guix-git/doc/guix.texi:16573
  23892. #, no-wrap
  23893. msgid "@code{constraint-from} (default: @code{'()})"
  23894. msgstr ""
  23895. #. type: table
  23896. #: guix-git/doc/guix.texi:16580
  23897. msgid "@code{ntpd} can be configured to query the ‘Date’ from trusted HTTPS servers via TLS. This time information is not used for precision but acts as an authenticated constraint, thereby reducing the impact of unauthenticated NTP man-in-the-middle attacks. Specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint."
  23898. msgstr ""
  23899. #. type: item
  23900. #: guix-git/doc/guix.texi:16580
  23901. #, no-wrap
  23902. msgid "@code{constraints-from} (default: @code{'()})"
  23903. msgstr ""
  23904. #. type: table
  23905. #: guix-git/doc/guix.texi:16584
  23906. msgid "As with constraint from, specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint. Should the hostname resolve to multiple IP addresses, @code{ntpd} will calculate a median constraint from all of them."
  23907. msgstr ""
  23908. #. type: cindex
  23909. #: guix-git/doc/guix.texi:16587
  23910. #, no-wrap
  23911. msgid "inetd"
  23912. msgstr ""
  23913. #. type: deffn
  23914. #: guix-git/doc/guix.texi:16588
  23915. #, no-wrap
  23916. msgid "{Scheme variable} inetd-service-type"
  23917. msgstr ""
  23918. #. type: deffn
  23919. #: guix-git/doc/guix.texi:16593
  23920. msgid "This service runs the @command{inetd} (@pxref{inetd invocation,,, inetutils, GNU Inetutils}) daemon. @command{inetd} listens for connections on internet sockets, and lazily starts the specified server program when a connection is made on one of these sockets."
  23921. msgstr ""
  23922. #. type: deffn
  23923. #: guix-git/doc/guix.texi:16599
  23924. msgid "The value of this service is an @code{inetd-configuration} object. The following example configures the @command{inetd} daemon to provide the built-in @command{echo} service, as well as an smtp service which forwards smtp traffic over ssh to a server @code{smtp-server} behind a gateway @code{hostname}:"
  23925. msgstr ""
  23926. #. type: lisp
  23927. #: guix-git/doc/guix.texi:16622
  23928. #, no-wrap
  23929. msgid ""
  23930. "(service\n"
  23931. " inetd-service-type\n"
  23932. " (inetd-configuration\n"
  23933. " (entries (list\n"
  23934. " (inetd-entry\n"
  23935. " (name \"echo\")\n"
  23936. " (socket-type 'stream)\n"
  23937. " (protocol \"tcp\")\n"
  23938. " (wait? #f)\n"
  23939. " (user \"root\"))\n"
  23940. " (inetd-entry\n"
  23941. " (node \"127.0.0.1\")\n"
  23942. " (name \"smtp\")\n"
  23943. " (socket-type 'stream)\n"
  23944. " (protocol \"tcp\")\n"
  23945. " (wait? #f)\n"
  23946. " (user \"root\")\n"
  23947. " (program (file-append openssh \"/bin/ssh\"))\n"
  23948. " (arguments\n"
  23949. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  23950. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  23951. msgstr ""
  23952. #. type: deffn
  23953. #: guix-git/doc/guix.texi:16625
  23954. msgid "See below for more details about @code{inetd-configuration}."
  23955. msgstr ""
  23956. #. type: deftp
  23957. #: guix-git/doc/guix.texi:16627
  23958. #, no-wrap
  23959. msgid "{Data Type} inetd-configuration"
  23960. msgstr ""
  23961. #. type: deftp
  23962. #: guix-git/doc/guix.texi:16629
  23963. msgid "Data type representing the configuration of @command{inetd}."
  23964. msgstr ""
  23965. #. type: item
  23966. #: guix-git/doc/guix.texi:16631
  23967. #, no-wrap
  23968. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  23969. msgstr ""
  23970. #. type: table
  23971. #: guix-git/doc/guix.texi:16633
  23972. msgid "The @command{inetd} executable to use."
  23973. msgstr ""
  23974. #. type: item
  23975. #: guix-git/doc/guix.texi:16634 guix-git/doc/guix.texi:25932
  23976. #, no-wrap
  23977. msgid "@code{entries} (default: @code{'()})"
  23978. msgstr ""
  23979. #. type: table
  23980. #: guix-git/doc/guix.texi:16637
  23981. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  23982. msgstr ""
  23983. #. type: deftp
  23984. #: guix-git/doc/guix.texi:16640
  23985. #, no-wrap
  23986. msgid "{Data Type} inetd-entry"
  23987. msgstr ""
  23988. #. type: deftp
  23989. #: guix-git/doc/guix.texi:16644
  23990. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  23991. msgstr ""
  23992. #. type: item
  23993. #: guix-git/doc/guix.texi:16646
  23994. #, no-wrap
  23995. msgid "@code{node} (default: @code{#f})"
  23996. msgstr ""
  23997. #. type: table
  23998. #: guix-git/doc/guix.texi:16651
  23999. msgid "Optional string, a comma-separated list of local addresses @command{inetd} should use when listening for this service. @xref{Configuration file,,, inetutils, GNU Inetutils} for a complete description of all options."
  24000. msgstr ""
  24001. #. type: table
  24002. #: guix-git/doc/guix.texi:16653
  24003. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  24004. msgstr ""
  24005. #. type: code{#1}
  24006. #: guix-git/doc/guix.texi:16653
  24007. #, no-wrap
  24008. msgid "socket-type"
  24009. msgstr ""
  24010. #. type: table
  24011. #: guix-git/doc/guix.texi:16656
  24012. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  24013. msgstr ""
  24014. #. type: code{#1}
  24015. #: guix-git/doc/guix.texi:16656
  24016. #, no-wrap
  24017. msgid "protocol"
  24018. msgstr ""
  24019. #. type: table
  24020. #: guix-git/doc/guix.texi:16658
  24021. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  24022. msgstr ""
  24023. #. type: item
  24024. #: guix-git/doc/guix.texi:16658
  24025. #, no-wrap
  24026. msgid "@code{wait?} (default: @code{#t})"
  24027. msgstr ""
  24028. #. type: table
  24029. #: guix-git/doc/guix.texi:16661
  24030. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  24031. msgstr ""
  24032. #. type: table
  24033. #: guix-git/doc/guix.texi:16666
  24034. msgid "A string containing the user (and, optionally, group) name of the user as whom the server should run. The group name can be specified in a suffix, separated by a colon or period, i.e.@: @code{\"user\"}, @code{\"user:group\"} or @code{\"user.group\"}."
  24035. msgstr ""
  24036. #. type: item
  24037. #: guix-git/doc/guix.texi:16666
  24038. #, no-wrap
  24039. msgid "@code{program} (default: @code{\"internal\"})"
  24040. msgstr ""
  24041. #. type: table
  24042. #: guix-git/doc/guix.texi:16669
  24043. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  24044. msgstr ""
  24045. #. type: table
  24046. #: guix-git/doc/guix.texi:16674
  24047. msgid "A list strings or file-like objects, which are the server program's arguments, starting with the zeroth argument, i.e.@: the name of the program itself. For @command{inetd}'s internal services, this entry must be @code{'()} or @code{'(\"internal\")}."
  24048. msgstr ""
  24049. #. type: deftp
  24050. #: guix-git/doc/guix.texi:16678
  24051. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  24052. msgstr ""
  24053. #. type: cindex
  24054. #: guix-git/doc/guix.texi:16680
  24055. #, no-wrap
  24056. msgid "Tor"
  24057. msgstr ""
  24058. #. type: defvr
  24059. #: guix-git/doc/guix.texi:16681
  24060. #, no-wrap
  24061. msgid "{Scheme Variable} tor-service-type"
  24062. msgstr ""
  24063. #. type: defvr
  24064. #: guix-git/doc/guix.texi:16686
  24065. msgid "This is the type for a service that runs the @uref{https://torproject.org, Tor} anonymous networking daemon. The service is configured using a @code{<tor-configuration>} record. By default, the Tor daemon runs as the @code{tor} unprivileged user, which is a member of the @code{tor} group."
  24066. msgstr ""
  24067. #. type: deftp
  24068. #: guix-git/doc/guix.texi:16689
  24069. #, no-wrap
  24070. msgid "{Data Type} tor-configuration"
  24071. msgstr ""
  24072. #. type: item
  24073. #: guix-git/doc/guix.texi:16691
  24074. #, no-wrap
  24075. msgid "@code{tor} (default: @code{tor})"
  24076. msgstr ""
  24077. #. type: table
  24078. #: guix-git/doc/guix.texi:16696
  24079. msgid "The package that provides the Tor daemon. This package is expected to provide the daemon at @file{bin/tor} relative to its output directory. The default package is the @uref{https://www.torproject.org, Tor Project's} implementation."
  24080. msgstr ""
  24081. #. type: item
  24082. #: guix-git/doc/guix.texi:16697
  24083. #, no-wrap
  24084. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  24085. msgstr ""
  24086. #. type: table
  24087. #: guix-git/doc/guix.texi:16703
  24088. msgid "The configuration file to use. It will be appended to a default configuration file, and the final configuration file will be passed to @code{tor} via its @code{-f} option. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). See @code{man tor} for details on the configuration file syntax."
  24089. msgstr ""
  24090. #. type: item
  24091. #: guix-git/doc/guix.texi:16704
  24092. #, no-wrap
  24093. msgid "@code{hidden-services} (default: @code{'()})"
  24094. msgstr ""
  24095. #. type: table
  24096. #: guix-git/doc/guix.texi:16710
  24097. msgid "The list of @code{<hidden-service>} records to use. For any hidden service you include in this list, appropriate configuration to enable the hidden service will be automatically added to the default configuration file. You may conveniently create @code{<hidden-service>} records using the @code{tor-hidden-service} procedure described below."
  24098. msgstr ""
  24099. #. type: item
  24100. #: guix-git/doc/guix.texi:16711
  24101. #, no-wrap
  24102. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  24103. msgstr ""
  24104. #. type: table
  24105. #: guix-git/doc/guix.texi:16718
  24106. msgid "The default socket type that Tor should use for its SOCKS socket. This must be either @code{'tcp} or @code{'unix}. If it is @code{'tcp}, then by default Tor will listen on TCP port 9050 on the loopback interface (i.e., localhost). If it is @code{'unix}, then Tor will listen on the UNIX domain socket @file{/var/run/tor/socks-sock}, which will be made writable by members of the @code{tor} group."
  24107. msgstr ""
  24108. #. type: table
  24109. #: guix-git/doc/guix.texi:16723
  24110. msgid "If you want to customize the SOCKS socket in more detail, leave @code{socks-socket-type} at its default value of @code{'tcp} and use @code{config-file} to override the default by providing your own @code{SocksPort} option."
  24111. msgstr ""
  24112. #. type: item
  24113. #: guix-git/doc/guix.texi:16724
  24114. #, no-wrap
  24115. msgid "@code{control-socket?} (default: @code{#f})"
  24116. msgstr ""
  24117. #. type: table
  24118. #: guix-git/doc/guix.texi:16730
  24119. msgid "Whether or not to provide a ``control socket'' by which Tor can be controlled to, for instance, dynamically instantiate tor onion services. If @code{#t}, Tor will listen for control commands on the UNIX domain socket @file{/var/run/tor/control-sock}, which will be made writable by members of the @code{tor} group."
  24120. msgstr ""
  24121. #. type: cindex
  24122. #: guix-git/doc/guix.texi:16734
  24123. #, no-wrap
  24124. msgid "hidden service"
  24125. msgstr ""
  24126. #. type: deffn
  24127. #: guix-git/doc/guix.texi:16735
  24128. #, no-wrap
  24129. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  24130. msgstr ""
  24131. #. type: deffn
  24132. #: guix-git/doc/guix.texi:16738
  24133. msgid "Define a new Tor @dfn{hidden service} called @var{name} and implementing @var{mapping}. @var{mapping} is a list of port/host tuples, such as:"
  24134. msgstr ""
  24135. #. type: example
  24136. #: guix-git/doc/guix.texi:16742
  24137. #, no-wrap
  24138. msgid ""
  24139. " '((22 \"127.0.0.1:22\")\n"
  24140. " (80 \"127.0.0.1:8080\"))\n"
  24141. msgstr ""
  24142. #. type: deffn
  24143. #: guix-git/doc/guix.texi:16746
  24144. msgid "In this example, port 22 of the hidden service is mapped to local port 22, and port 80 is mapped to local port 8080."
  24145. msgstr ""
  24146. #. type: deffn
  24147. #: guix-git/doc/guix.texi:16750
  24148. msgid "This creates a @file{/var/lib/tor/hidden-services/@var{name}} directory, where the @file{hostname} file contains the @code{.onion} host name for the hidden service."
  24149. msgstr ""
  24150. #. type: deffn
  24151. #: guix-git/doc/guix.texi:16753
  24152. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  24153. msgstr ""
  24154. #. type: Plain text
  24155. #: guix-git/doc/guix.texi:16756
  24156. msgid "The @code{(gnu services rsync)} module provides the following services:"
  24157. msgstr ""
  24158. #. type: Plain text
  24159. #: guix-git/doc/guix.texi:16760
  24160. msgid "You might want an rsync daemon if you have files that you want available so anyone (or just yourself) can download existing files or upload new files."
  24161. msgstr ""
  24162. #. type: deffn
  24163. #: guix-git/doc/guix.texi:16761
  24164. #, no-wrap
  24165. msgid "{Scheme Variable} rsync-service-type"
  24166. msgstr ""
  24167. #. type: deffn
  24168. #: guix-git/doc/guix.texi:16765
  24169. msgid "This is the service type for the @uref{https://rsync.samba.org, rsync} daemon, The value for this service type is a @command{rsync-configuration} record as in this example:"
  24170. msgstr ""
  24171. #. type: lisp
  24172. #: guix-git/doc/guix.texi:16768
  24173. #, no-wrap
  24174. msgid "(service rsync-service-type)\n"
  24175. msgstr ""
  24176. #. type: deffn
  24177. #: guix-git/doc/guix.texi:16771
  24178. msgid "See below for details about @code{rsync-configuration}."
  24179. msgstr ""
  24180. #. type: deftp
  24181. #: guix-git/doc/guix.texi:16773
  24182. #, no-wrap
  24183. msgid "{Data Type} rsync-configuration"
  24184. msgstr ""
  24185. #. type: deftp
  24186. #: guix-git/doc/guix.texi:16775
  24187. msgid "Data type representing the configuration for @code{rsync-service}."
  24188. msgstr ""
  24189. #. type: item
  24190. #: guix-git/doc/guix.texi:16777
  24191. #, no-wrap
  24192. msgid "@code{package} (default: @var{rsync})"
  24193. msgstr ""
  24194. #. type: table
  24195. #: guix-git/doc/guix.texi:16779
  24196. msgid "@code{rsync} package to use."
  24197. msgstr ""
  24198. #. type: item
  24199. #: guix-git/doc/guix.texi:16780
  24200. #, no-wrap
  24201. msgid "@code{port-number} (default: @code{873})"
  24202. msgstr ""
  24203. #. type: table
  24204. #: guix-git/doc/guix.texi:16784
  24205. msgid "TCP port on which @command{rsync} listens for incoming connections. If port is less than @code{1024} @command{rsync} needs to be started as the @code{root} user and group."
  24206. msgstr ""
  24207. #. type: item
  24208. #: guix-git/doc/guix.texi:16785
  24209. #, no-wrap
  24210. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  24211. msgstr ""
  24212. #. type: table
  24213. #: guix-git/doc/guix.texi:16787
  24214. msgid "Name of the file where @command{rsync} writes its PID."
  24215. msgstr ""
  24216. #. type: item
  24217. #: guix-git/doc/guix.texi:16788
  24218. #, no-wrap
  24219. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  24220. msgstr ""
  24221. #. type: table
  24222. #: guix-git/doc/guix.texi:16790
  24223. msgid "Name of the file where @command{rsync} writes its lock file."
  24224. msgstr ""
  24225. #. type: item
  24226. #: guix-git/doc/guix.texi:16791
  24227. #, no-wrap
  24228. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  24229. msgstr ""
  24230. #. type: table
  24231. #: guix-git/doc/guix.texi:16793
  24232. msgid "Name of the file where @command{rsync} writes its log file."
  24233. msgstr ""
  24234. #. type: item
  24235. #: guix-git/doc/guix.texi:16794
  24236. #, no-wrap
  24237. msgid "@code{use-chroot?} (default: @var{#t})"
  24238. msgstr ""
  24239. #. type: table
  24240. #: guix-git/doc/guix.texi:16796
  24241. msgid "Whether to use chroot for @command{rsync} shared directory."
  24242. msgstr ""
  24243. #. type: item
  24244. #: guix-git/doc/guix.texi:16797
  24245. #, no-wrap
  24246. msgid "@code{share-path} (default: @file{/srv/rsync})"
  24247. msgstr ""
  24248. #. type: table
  24249. #: guix-git/doc/guix.texi:16799
  24250. msgid "Location of the @command{rsync} shared directory."
  24251. msgstr ""
  24252. #. type: item
  24253. #: guix-git/doc/guix.texi:16800
  24254. #, no-wrap
  24255. msgid "@code{share-comment} (default: @code{\"Rsync share\"})"
  24256. msgstr ""
  24257. #. type: table
  24258. #: guix-git/doc/guix.texi:16802
  24259. msgid "Comment of the @command{rsync} shared directory."
  24260. msgstr ""
  24261. #. type: item
  24262. #: guix-git/doc/guix.texi:16803
  24263. #, no-wrap
  24264. msgid "@code{read-only?} (default: @var{#f})"
  24265. msgstr ""
  24266. #. type: table
  24267. #: guix-git/doc/guix.texi:16805
  24268. msgid "Read-write permissions to shared directory."
  24269. msgstr ""
  24270. #. type: item
  24271. #: guix-git/doc/guix.texi:16806
  24272. #, no-wrap
  24273. msgid "@code{timeout} (default: @code{300})"
  24274. msgstr ""
  24275. #. type: table
  24276. #: guix-git/doc/guix.texi:16808
  24277. msgid "I/O timeout in seconds."
  24278. msgstr ""
  24279. #. type: item
  24280. #: guix-git/doc/guix.texi:16809
  24281. #, no-wrap
  24282. msgid "@code{user} (default: @var{\"root\"})"
  24283. msgstr ""
  24284. #. type: table
  24285. #: guix-git/doc/guix.texi:16811
  24286. msgid "Owner of the @code{rsync} process."
  24287. msgstr ""
  24288. #. type: item
  24289. #: guix-git/doc/guix.texi:16812
  24290. #, no-wrap
  24291. msgid "@code{group} (default: @var{\"root\"})"
  24292. msgstr ""
  24293. #. type: table
  24294. #: guix-git/doc/guix.texi:16814
  24295. msgid "Group of the @code{rsync} process."
  24296. msgstr ""
  24297. #. type: item
  24298. #: guix-git/doc/guix.texi:16815
  24299. #, no-wrap
  24300. msgid "@code{uid} (default: @var{\"rsyncd\"})"
  24301. msgstr ""
  24302. #. type: table
  24303. #: guix-git/doc/guix.texi:16818
  24304. msgid "User name or user ID that file transfers to and from that module should take place as when the daemon was run as @code{root}."
  24305. msgstr ""
  24306. #. type: item
  24307. #: guix-git/doc/guix.texi:16819
  24308. #, no-wrap
  24309. msgid "@code{gid} (default: @var{\"rsyncd\"})"
  24310. msgstr ""
  24311. #. type: table
  24312. #: guix-git/doc/guix.texi:16821 guix-git/doc/guix.texi:17264
  24313. msgid "Group name or group ID that will be used when accessing the module."
  24314. msgstr ""
  24315. #. type: Plain text
  24316. #: guix-git/doc/guix.texi:16826
  24317. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  24318. msgstr ""
  24319. #. type: cindex
  24320. #: guix-git/doc/guix.texi:16826
  24321. #, no-wrap
  24322. msgid "syncthing"
  24323. msgstr ""
  24324. #. type: Plain text
  24325. #: guix-git/doc/guix.texi:16831
  24326. msgid "You might want a syncthing daemon if you have files between two or more computers and want to sync them in real time, safely protected from prying eyes."
  24327. msgstr ""
  24328. #. type: deffn
  24329. #: guix-git/doc/guix.texi:16832
  24330. #, no-wrap
  24331. msgid "{Scheme Variable} syncthing-service-type"
  24332. msgstr ""
  24333. #. type: deffn
  24334. #: guix-git/doc/guix.texi:16836
  24335. msgid "This is the service type for the @uref{https://syncthing.net/, syncthing} daemon, The value for this service type is a @command{syncthing-configuration} record as in this example:"
  24336. msgstr ""
  24337. #. type: lisp
  24338. #: guix-git/doc/guix.texi:16840
  24339. #, no-wrap
  24340. msgid ""
  24341. "(service syncthing-service-type\n"
  24342. " (syncthing-configuration (user \"alice\")))\n"
  24343. msgstr ""
  24344. #. type: deffn
  24345. #: guix-git/doc/guix.texi:16843
  24346. msgid "See below for details about @code{syncthing-configuration}."
  24347. msgstr ""
  24348. #. type: deftp
  24349. #: guix-git/doc/guix.texi:16844
  24350. #, no-wrap
  24351. msgid "{Data Type} syncthing-configuration"
  24352. msgstr ""
  24353. #. type: deftp
  24354. #: guix-git/doc/guix.texi:16846
  24355. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  24356. msgstr ""
  24357. #. type: item
  24358. #: guix-git/doc/guix.texi:16848
  24359. #, no-wrap
  24360. msgid "@code{syncthing} (default: @var{syncthing})"
  24361. msgstr ""
  24362. #. type: table
  24363. #: guix-git/doc/guix.texi:16850
  24364. msgid "@code{syncthing} package to use."
  24365. msgstr ""
  24366. #. type: item
  24367. #: guix-git/doc/guix.texi:16851
  24368. #, no-wrap
  24369. msgid "@code{arguments} (default: @var{'()})"
  24370. msgstr ""
  24371. #. type: table
  24372. #: guix-git/doc/guix.texi:16853
  24373. msgid "List of command-line arguments passing to @code{syncthing} binary."
  24374. msgstr ""
  24375. #. type: item
  24376. #: guix-git/doc/guix.texi:16854
  24377. #, no-wrap
  24378. msgid "@code{logflags} (default: @var{0})"
  24379. msgstr ""
  24380. #. type: table
  24381. #: guix-git/doc/guix.texi:16857
  24382. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  24383. msgstr ""
  24384. #. type: item
  24385. #: guix-git/doc/guix.texi:16858
  24386. #, no-wrap
  24387. msgid "@code{user} (default: @var{#f})"
  24388. msgstr ""
  24389. #. type: table
  24390. #: guix-git/doc/guix.texi:16861
  24391. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  24392. msgstr ""
  24393. #. type: item
  24394. #: guix-git/doc/guix.texi:16862
  24395. #, no-wrap
  24396. msgid "@code{group} (default: @var{\"users\"})"
  24397. msgstr ""
  24398. #. type: table
  24399. #: guix-git/doc/guix.texi:16865
  24400. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  24401. msgstr ""
  24402. #. type: item
  24403. #: guix-git/doc/guix.texi:16866
  24404. #, no-wrap
  24405. msgid "@code{home} (default: @var{#f})"
  24406. msgstr ""
  24407. #. type: table
  24408. #: guix-git/doc/guix.texi:16869
  24409. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  24410. msgstr ""
  24411. #. type: Plain text
  24412. #: guix-git/doc/guix.texi:16875
  24413. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  24414. msgstr ""
  24415. #. type: cindex
  24416. #: guix-git/doc/guix.texi:16875 guix-git/doc/guix.texi:16914
  24417. #: guix-git/doc/guix.texi:33575
  24418. #, no-wrap
  24419. msgid "SSH"
  24420. msgstr ""
  24421. #. type: cindex
  24422. #: guix-git/doc/guix.texi:16876 guix-git/doc/guix.texi:16915
  24423. #: guix-git/doc/guix.texi:33576
  24424. #, no-wrap
  24425. msgid "SSH server"
  24426. msgstr ""
  24427. #. type: deffn
  24428. #: guix-git/doc/guix.texi:16878
  24429. #, no-wrap
  24430. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  24431. msgstr ""
  24432. #. type: deffn
  24433. #: guix-git/doc/guix.texi:16887
  24434. msgid "[#:daemonic? #t] [#:interfaces '()] [#:port-number 22] @ [#:allow-empty-passwords? #f] [#:root-login? #f] @ [#:syslog-output? #t] [#:x11-forwarding? #t] @ [#:tcp/ip-forwarding? #t] [#:password-authentication? #t] @ [#:public-key-authentication? #t] [#:initialize? #t] Run the @command{lshd} program from @var{lsh} to listen on port @var{port-number}. @var{host-key} must designate a file containing the host key, and readable only by root."
  24435. msgstr ""
  24436. #. type: deffn
  24437. #: guix-git/doc/guix.texi:16893
  24438. msgid "When @var{daemonic?} is true, @command{lshd} will detach from the controlling terminal and log its output to syslogd, unless one sets @var{syslog-output?} to false. Obviously, it also makes lsh-service depend on existence of syslogd service. When @var{pid-file?} is true, @command{lshd} writes its PID to the file called @var{pid-file}."
  24439. msgstr ""
  24440. #. type: deffn
  24441. #: guix-git/doc/guix.texi:16897
  24442. msgid "When @var{initialize?} is true, automatically create the seed and host key upon service activation if they do not exist yet. This may take long and require interaction."
  24443. msgstr ""
  24444. #. type: deffn
  24445. #: guix-git/doc/guix.texi:16902
  24446. msgid "When @var{initialize?} is false, it is up to the user to initialize the randomness generator (@pxref{lsh-make-seed,,, lsh, LSH Manual}), and to create a key pair with the private key stored in file @var{host-key} (@pxref{lshd basics,,, lsh, LSH Manual})."
  24447. msgstr ""
  24448. #. type: deffn
  24449. #: guix-git/doc/guix.texi:16906
  24450. msgid "When @var{interfaces} is empty, lshd listens for connections on all the network interfaces; otherwise, @var{interfaces} must be a list of host names or addresses."
  24451. msgstr ""
  24452. #. type: deffn
  24453. #: guix-git/doc/guix.texi:16910
  24454. msgid "@var{allow-empty-passwords?} specifies whether to accept log-ins with empty passwords, and @var{root-login?} specifies whether to accept log-ins as root."
  24455. msgstr ""
  24456. #. type: deffn
  24457. #: guix-git/doc/guix.texi:16912
  24458. msgid "The other options should be self-descriptive."
  24459. msgstr ""
  24460. #. type: deffn
  24461. #: guix-git/doc/guix.texi:16916
  24462. #, no-wrap
  24463. msgid "{Scheme Variable} openssh-service-type"
  24464. msgstr ""
  24465. #. type: deffn
  24466. #: guix-git/doc/guix.texi:16920
  24467. msgid "This is the type for the @uref{http://www.openssh.org, OpenSSH} secure shell daemon, @command{sshd}. Its value must be an @code{openssh-configuration} record as in this example:"
  24468. msgstr ""
  24469. #. type: lisp
  24470. #: guix-git/doc/guix.texi:16929
  24471. #, no-wrap
  24472. msgid ""
  24473. "(service openssh-service-type\n"
  24474. " (openssh-configuration\n"
  24475. " (x11-forwarding? #t)\n"
  24476. " (permit-root-login 'without-password)\n"
  24477. " (authorized-keys\n"
  24478. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  24479. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  24480. msgstr ""
  24481. #. type: deffn
  24482. #: guix-git/doc/guix.texi:16932
  24483. msgid "See below for details about @code{openssh-configuration}."
  24484. msgstr ""
  24485. #. type: deffn
  24486. #: guix-git/doc/guix.texi:16935
  24487. msgid "This service can be extended with extra authorized keys, as in this example:"
  24488. msgstr ""
  24489. #. type: lisp
  24490. #: guix-git/doc/guix.texi:16940
  24491. #, no-wrap
  24492. msgid ""
  24493. "(service-extension openssh-service-type\n"
  24494. " (const `((\"charlie\"\n"
  24495. " ,(local-file \"charlie.pub\")))))\n"
  24496. msgstr ""
  24497. #. type: deftp
  24498. #: guix-git/doc/guix.texi:16943
  24499. #, no-wrap
  24500. msgid "{Data Type} openssh-configuration"
  24501. msgstr ""
  24502. #. type: deftp
  24503. #: guix-git/doc/guix.texi:16945
  24504. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  24505. msgstr ""
  24506. #. type: item
  24507. #: guix-git/doc/guix.texi:16947
  24508. #, no-wrap
  24509. msgid "@code{openssh} (default @var{openssh})"
  24510. msgstr ""
  24511. #. type: table
  24512. #: guix-git/doc/guix.texi:16949
  24513. msgid "The Openssh package to use."
  24514. msgstr ""
  24515. #. type: item
  24516. #: guix-git/doc/guix.texi:16950
  24517. #, no-wrap
  24518. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  24519. msgstr ""
  24520. #. type: table
  24521. #: guix-git/doc/guix.texi:16952
  24522. msgid "Name of the file where @command{sshd} writes its PID."
  24523. msgstr ""
  24524. #. type: item
  24525. #: guix-git/doc/guix.texi:16953
  24526. #, no-wrap
  24527. msgid "@code{port-number} (default: @code{22})"
  24528. msgstr ""
  24529. #. type: table
  24530. #: guix-git/doc/guix.texi:16955
  24531. msgid "TCP port on which @command{sshd} listens for incoming connections."
  24532. msgstr ""
  24533. #. type: item
  24534. #: guix-git/doc/guix.texi:16956
  24535. #, no-wrap
  24536. msgid "@code{permit-root-login} (default: @code{#f})"
  24537. msgstr ""
  24538. #. type: table
  24539. #: guix-git/doc/guix.texi:16961
  24540. msgid "This field determines whether and when to allow logins as root. If @code{#f}, root logins are disallowed; if @code{#t}, they are allowed. If it's the symbol @code{'without-password}, then root logins are permitted but not with password-based authentication."
  24541. msgstr ""
  24542. #. type: item
  24543. #: guix-git/doc/guix.texi:16962 guix-git/doc/guix.texi:17123
  24544. #, no-wrap
  24545. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  24546. msgstr ""
  24547. #. type: table
  24548. #: guix-git/doc/guix.texi:16965
  24549. msgid "When true, users with empty passwords may log in. When false, they may not."
  24550. msgstr ""
  24551. #. type: item
  24552. #: guix-git/doc/guix.texi:16966 guix-git/doc/guix.texi:17126
  24553. #, no-wrap
  24554. msgid "@code{password-authentication?} (default: @code{#t})"
  24555. msgstr ""
  24556. #. type: table
  24557. #: guix-git/doc/guix.texi:16969
  24558. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  24559. msgstr ""
  24560. #. type: item
  24561. #: guix-git/doc/guix.texi:16970
  24562. #, no-wrap
  24563. msgid "@code{public-key-authentication?} (default: @code{#t})"
  24564. msgstr ""
  24565. #. type: table
  24566. #: guix-git/doc/guix.texi:16973
  24567. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  24568. msgstr ""
  24569. #. type: table
  24570. #: guix-git/doc/guix.texi:16976
  24571. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  24572. msgstr ""
  24573. #. type: item
  24574. #: guix-git/doc/guix.texi:16977
  24575. #, no-wrap
  24576. msgid "@code{x11-forwarding?} (default: @code{#f})"
  24577. msgstr ""
  24578. #. type: table
  24579. #: guix-git/doc/guix.texi:16981
  24580. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  24581. msgstr ""
  24582. #. type: item
  24583. #: guix-git/doc/guix.texi:16982
  24584. #, no-wrap
  24585. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  24586. msgstr ""
  24587. #. type: table
  24588. #: guix-git/doc/guix.texi:16984
  24589. msgid "Whether to allow agent forwarding."
  24590. msgstr ""
  24591. #. type: item
  24592. #: guix-git/doc/guix.texi:16985
  24593. #, no-wrap
  24594. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  24595. msgstr ""
  24596. #. type: table
  24597. #: guix-git/doc/guix.texi:16987
  24598. msgid "Whether to allow TCP forwarding."
  24599. msgstr ""
  24600. #. type: item
  24601. #: guix-git/doc/guix.texi:16988
  24602. #, no-wrap
  24603. msgid "@code{gateway-ports?} (default: @code{#f})"
  24604. msgstr ""
  24605. #. type: table
  24606. #: guix-git/doc/guix.texi:16990
  24607. msgid "Whether to allow gateway ports."
  24608. msgstr ""
  24609. #. type: item
  24610. #: guix-git/doc/guix.texi:16991
  24611. #, no-wrap
  24612. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  24613. msgstr ""
  24614. #. type: table
  24615. #: guix-git/doc/guix.texi:16994
  24616. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  24617. msgstr ""
  24618. #. type: item
  24619. #: guix-git/doc/guix.texi:16995
  24620. #, no-wrap
  24621. msgid "@code{use-pam?} (default: @code{#t})"
  24622. msgstr ""
  24623. #. type: table
  24624. #: guix-git/doc/guix.texi:17001
  24625. msgid "Enables the Pluggable Authentication Module interface. If set to @code{#t}, this will enable PAM authentication using @code{challenge-response-authentication?} and @code{password-authentication?}, in addition to PAM account and session module processing for all authentication types."
  24626. msgstr ""
  24627. #. type: table
  24628. #: guix-git/doc/guix.texi:17006
  24629. msgid "Because PAM challenge response authentication usually serves an equivalent role to password authentication, you should disable either @code{challenge-response-authentication?} or @code{password-authentication?}."
  24630. msgstr ""
  24631. #. type: item
  24632. #: guix-git/doc/guix.texi:17007
  24633. #, no-wrap
  24634. msgid "@code{print-last-log?} (default: @code{#t})"
  24635. msgstr ""
  24636. #. type: table
  24637. #: guix-git/doc/guix.texi:17010
  24638. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  24639. msgstr ""
  24640. #. type: item
  24641. #: guix-git/doc/guix.texi:17011
  24642. #, no-wrap
  24643. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  24644. msgstr ""
  24645. #. type: table
  24646. #: guix-git/doc/guix.texi:17013
  24647. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  24648. msgstr ""
  24649. #. type: table
  24650. #: guix-git/doc/guix.texi:17017
  24651. msgid "This is a list of two-element lists, each of which containing the subsystem name and a command (with optional arguments) to execute upon subsystem request."
  24652. msgstr ""
  24653. #. type: table
  24654. #: guix-git/doc/guix.texi:17020
  24655. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  24656. msgstr ""
  24657. #. type: lisp
  24658. #: guix-git/doc/guix.texi:17025
  24659. #, no-wrap
  24660. msgid ""
  24661. "(service openssh-service-type\n"
  24662. " (openssh-configuration\n"
  24663. " (subsystems\n"
  24664. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  24665. msgstr ""
  24666. #. type: item
  24667. #: guix-git/doc/guix.texi:17027
  24668. #, no-wrap
  24669. msgid "@code{accepted-environment} (default: @code{'()})"
  24670. msgstr ""
  24671. #. type: table
  24672. #: guix-git/doc/guix.texi:17029
  24673. msgid "List of strings describing which environment variables may be exported."
  24674. msgstr ""
  24675. #. type: table
  24676. #: guix-git/doc/guix.texi:17032
  24677. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  24678. msgstr ""
  24679. #. type: table
  24680. #: guix-git/doc/guix.texi:17037
  24681. msgid "This example allows ssh-clients to export the @env{COLORTERM} variable. It is set by terminal emulators, which support colors. You can use it in your shell's resource file to enable colors for the prompt and commands if this variable is set."
  24682. msgstr ""
  24683. #. type: lisp
  24684. #: guix-git/doc/guix.texi:17042
  24685. #, no-wrap
  24686. msgid ""
  24687. "(service openssh-service-type\n"
  24688. " (openssh-configuration\n"
  24689. " (accepted-environment '(\"COLORTERM\"))))\n"
  24690. msgstr ""
  24691. #. type: item
  24692. #: guix-git/doc/guix.texi:17044
  24693. #, no-wrap
  24694. msgid "@code{authorized-keys} (default: @code{'()})"
  24695. msgstr ""
  24696. #. type: cindex
  24697. #: guix-git/doc/guix.texi:17045
  24698. #, no-wrap
  24699. msgid "authorized keys, SSH"
  24700. msgstr ""
  24701. #. type: cindex
  24702. #: guix-git/doc/guix.texi:17046
  24703. #, no-wrap
  24704. msgid "SSH authorized keys"
  24705. msgstr ""
  24706. #. type: table
  24707. #: guix-git/doc/guix.texi:17050
  24708. msgid "This is the list of authorized keys. Each element of the list is a user name followed by one or more file-like objects that represent SSH public keys. For example:"
  24709. msgstr ""
  24710. #. type: lisp
  24711. #: guix-git/doc/guix.texi:17057
  24712. #, no-wrap
  24713. msgid ""
  24714. "(openssh-configuration\n"
  24715. " (authorized-keys\n"
  24716. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  24717. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  24718. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  24719. msgstr ""
  24720. #. type: table
  24721. #: guix-git/doc/guix.texi:17062
  24722. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  24723. msgstr ""
  24724. #. type: table
  24725. #: guix-git/doc/guix.texi:17065
  24726. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  24727. msgstr ""
  24728. #. type: table
  24729. #: guix-git/doc/guix.texi:17068
  24730. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  24731. msgstr ""
  24732. #. type: item
  24733. #: guix-git/doc/guix.texi:17069 guix-git/doc/guix.texi:17500
  24734. #, no-wrap
  24735. msgid "@code{log-level} (default: @code{'info})"
  24736. msgstr ""
  24737. #. type: table
  24738. #: guix-git/doc/guix.texi:17073
  24739. msgid "This is a symbol specifying the logging level: @code{quiet}, @code{fatal}, @code{error}, @code{info}, @code{verbose}, @code{debug}, etc. See the man page for @file{sshd_config} for the full list of level names."
  24740. msgstr ""
  24741. #. type: item
  24742. #: guix-git/doc/guix.texi:17074 guix-git/doc/guix.texi:19894
  24743. #: guix-git/doc/guix.texi:24760
  24744. #, no-wrap
  24745. msgid "@code{extra-content} (default: @code{\"\"})"
  24746. msgstr ""
  24747. #. type: table
  24748. #: guix-git/doc/guix.texi:17079
  24749. msgid "This field can be used to append arbitrary text to the configuration file. It is especially useful for elaborate configurations that cannot be expressed otherwise. This configuration, for example, would generally disable root logins, but permit them from one specific IP address:"
  24750. msgstr ""
  24751. #. type: lisp
  24752. #: guix-git/doc/guix.texi:17085
  24753. #, no-wrap
  24754. msgid ""
  24755. "(openssh-configuration\n"
  24756. " (extra-content \"\\\n"
  24757. "Match Address 192.168.0.1\n"
  24758. " PermitRootLogin yes\"))\n"
  24759. msgstr ""
  24760. #. type: deffn
  24761. #: guix-git/doc/guix.texi:17090
  24762. #, no-wrap
  24763. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  24764. msgstr ""
  24765. #. type: deffn
  24766. #: guix-git/doc/guix.texi:17094
  24767. msgid "Run the @uref{https://matt.ucc.asn.au/dropbear/dropbear.html,Dropbear SSH daemon} with the given @var{config}, a @code{<dropbear-configuration>} object."
  24768. msgstr ""
  24769. #. type: deffn
  24770. #: guix-git/doc/guix.texi:17097
  24771. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  24772. msgstr ""
  24773. #. type: lisp
  24774. #: guix-git/doc/guix.texi:17101
  24775. #, no-wrap
  24776. msgid ""
  24777. "(dropbear-service (dropbear-configuration\n"
  24778. " (port-number 1234)))\n"
  24779. msgstr ""
  24780. #. type: deftp
  24781. #: guix-git/doc/guix.texi:17104
  24782. #, no-wrap
  24783. msgid "{Data Type} dropbear-configuration"
  24784. msgstr ""
  24785. #. type: deftp
  24786. #: guix-git/doc/guix.texi:17106
  24787. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  24788. msgstr ""
  24789. #. type: item
  24790. #: guix-git/doc/guix.texi:17108
  24791. #, no-wrap
  24792. msgid "@code{dropbear} (default: @var{dropbear})"
  24793. msgstr ""
  24794. #. type: table
  24795. #: guix-git/doc/guix.texi:17110
  24796. msgid "The Dropbear package to use."
  24797. msgstr ""
  24798. #. type: item
  24799. #: guix-git/doc/guix.texi:17111
  24800. #, no-wrap
  24801. msgid "@code{port-number} (default: 22)"
  24802. msgstr ""
  24803. #. type: table
  24804. #: guix-git/doc/guix.texi:17113
  24805. msgid "The TCP port where the daemon waits for incoming connections."
  24806. msgstr ""
  24807. #. type: item
  24808. #: guix-git/doc/guix.texi:17114
  24809. #, no-wrap
  24810. msgid "@code{syslog-output?} (default: @code{#t})"
  24811. msgstr ""
  24812. #. type: table
  24813. #: guix-git/doc/guix.texi:17116
  24814. msgid "Whether to enable syslog output."
  24815. msgstr ""
  24816. #. type: item
  24817. #: guix-git/doc/guix.texi:17117
  24818. #, no-wrap
  24819. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  24820. msgstr ""
  24821. #. type: table
  24822. #: guix-git/doc/guix.texi:17119
  24823. msgid "File name of the daemon's PID file."
  24824. msgstr ""
  24825. #. type: item
  24826. #: guix-git/doc/guix.texi:17120
  24827. #, no-wrap
  24828. msgid "@code{root-login?} (default: @code{#f})"
  24829. msgstr ""
  24830. #. type: table
  24831. #: guix-git/doc/guix.texi:17122
  24832. msgid "Whether to allow @code{root} logins."
  24833. msgstr ""
  24834. #. type: table
  24835. #: guix-git/doc/guix.texi:17125
  24836. msgid "Whether to allow empty passwords."
  24837. msgstr ""
  24838. #. type: table
  24839. #: guix-git/doc/guix.texi:17128
  24840. msgid "Whether to enable password-based authentication."
  24841. msgstr ""
  24842. #. type: cindex
  24843. #: guix-git/doc/guix.texi:17131
  24844. #, no-wrap
  24845. msgid "AutoSSH"
  24846. msgstr ""
  24847. #. type: deffn
  24848. #: guix-git/doc/guix.texi:17132
  24849. #, no-wrap
  24850. msgid "{Scheme Variable} autossh-service-type"
  24851. msgstr ""
  24852. #. type: deffn
  24853. #: guix-git/doc/guix.texi:17140
  24854. msgid "This is the type for the @uref{https://www.harding.motd.ca/autossh, AutoSSH} program that runs a copy of @command{ssh} and monitors it, restarting it as necessary should it die or stop passing traffic. AutoSSH can be run manually from the command-line by passing arguments to the binary @command{autossh} from the package @code{autossh}, but it can also be run as a Guix service. This latter use case is documented here."
  24855. msgstr ""
  24856. #. type: deffn
  24857. #: guix-git/doc/guix.texi:17144
  24858. msgid "AutoSSH can be used to forward local traffic to a remote machine using an SSH tunnel, and it respects the @file{~/.ssh/config} of the user it is run as."
  24859. msgstr ""
  24860. #. type: deffn
  24861. #: guix-git/doc/guix.texi:17149
  24862. msgid "For example, to specify a service running autossh as the user @code{pino} and forwarding all local connections to port @code{8081} to @code{remote:8081} using an SSH tunnel, add this call to the operating system's @code{services} field:"
  24863. msgstr ""
  24864. #. type: lisp
  24865. #: guix-git/doc/guix.texi:17155
  24866. #, no-wrap
  24867. msgid ""
  24868. "(service autossh-service-type\n"
  24869. " (autossh-configuration\n"
  24870. " (user \"pino\")\n"
  24871. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  24872. msgstr ""
  24873. #. type: deftp
  24874. #: guix-git/doc/guix.texi:17158
  24875. #, no-wrap
  24876. msgid "{Data Type} autossh-configuration"
  24877. msgstr ""
  24878. #. type: deftp
  24879. #: guix-git/doc/guix.texi:17160
  24880. msgid "This data type represents the configuration of an AutoSSH service."
  24881. msgstr ""
  24882. #. type: item
  24883. #: guix-git/doc/guix.texi:17163
  24884. #, no-wrap
  24885. msgid "@code{user} (default @code{\"autossh\"})"
  24886. msgstr ""
  24887. #. type: table
  24888. #: guix-git/doc/guix.texi:17166
  24889. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  24890. msgstr ""
  24891. #. type: item
  24892. #: guix-git/doc/guix.texi:17167
  24893. #, no-wrap
  24894. msgid "@code{poll} (default @code{600})"
  24895. msgstr ""
  24896. #. type: table
  24897. #: guix-git/doc/guix.texi:17169
  24898. msgid "Specifies the connection poll time in seconds."
  24899. msgstr ""
  24900. #. type: item
  24901. #: guix-git/doc/guix.texi:17170
  24902. #, no-wrap
  24903. msgid "@code{first-poll} (default @code{#f})"
  24904. msgstr ""
  24905. #. type: table
  24906. #: guix-git/doc/guix.texi:17176
  24907. msgid "Specifies how many seconds AutoSSH waits before the first connection test. After this first test, polling is resumed at the pace defined in @code{poll}. When set to @code{#f}, the first poll is not treated specially and will also use the connection poll specified in @code{poll}."
  24908. msgstr ""
  24909. #. type: item
  24910. #: guix-git/doc/guix.texi:17177
  24911. #, no-wrap
  24912. msgid "@code{gate-time} (default @code{30})"
  24913. msgstr ""
  24914. #. type: table
  24915. #: guix-git/doc/guix.texi:17180
  24916. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  24917. msgstr ""
  24918. #. type: item
  24919. #: guix-git/doc/guix.texi:17181
  24920. #, no-wrap
  24921. msgid "@code{log-level} (default @code{1})"
  24922. msgstr ""
  24923. #. type: table
  24924. #: guix-git/doc/guix.texi:17184
  24925. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  24926. msgstr ""
  24927. #. type: item
  24928. #: guix-git/doc/guix.texi:17185
  24929. #, no-wrap
  24930. msgid "@code{max-start} (default @code{#f})"
  24931. msgstr ""
  24932. #. type: table
  24933. #: guix-git/doc/guix.texi:17188
  24934. msgid "The maximum number of times SSH may be (re)started before AutoSSH exits. When set to @code{#f}, no maximum is configured and AutoSSH may restart indefinitely."
  24935. msgstr ""
  24936. #. type: item
  24937. #: guix-git/doc/guix.texi:17189
  24938. #, no-wrap
  24939. msgid "@code{message} (default @code{\"\"})"
  24940. msgstr ""
  24941. #. type: table
  24942. #: guix-git/doc/guix.texi:17191
  24943. msgid "The message to append to the echo message sent when testing connections."
  24944. msgstr ""
  24945. #. type: item
  24946. #: guix-git/doc/guix.texi:17192
  24947. #, no-wrap
  24948. msgid "@code{port} (default @code{\"0\"})"
  24949. msgstr ""
  24950. #. type: table
  24951. #: guix-git/doc/guix.texi:17202
  24952. msgid "The ports used for monitoring the connection. When set to @code{\"0\"}, monitoring is disabled. When set to @code{\"@var{n}\"} where @var{n} is a positive integer, ports @var{n} and @var{n}+1 are used for monitoring the connection, such that port @var{n} is the base monitoring port and @code{n+1} is the echo port. When set to @code{\"@var{n}:@var{m}\"} where @var{n} and @var{m} are positive integers, the ports @var{n} and @var{m} are used for monitoring the connection, such that port @var{n} is the base monitoring port and @var{m} is the echo port."
  24953. msgstr ""
  24954. #. type: item
  24955. #: guix-git/doc/guix.texi:17203
  24956. #, no-wrap
  24957. msgid "@code{ssh-options} (default @code{'()})"
  24958. msgstr ""
  24959. #. type: table
  24960. #: guix-git/doc/guix.texi:17207
  24961. msgid "The list of command-line arguments to pass to @command{ssh} when it is run. Options @option{-f} and @option{-M} are reserved for AutoSSH and may cause undefined behaviour."
  24962. msgstr ""
  24963. #. type: cindex
  24964. #: guix-git/doc/guix.texi:17211
  24965. #, no-wrap
  24966. msgid "WebSSH"
  24967. msgstr ""
  24968. #. type: deffn
  24969. #: guix-git/doc/guix.texi:17212
  24970. #, no-wrap
  24971. msgid "{Scheme Variable} webssh-service-type"
  24972. msgstr ""
  24973. #. type: deffn
  24974. #: guix-git/doc/guix.texi:17218
  24975. msgid "This is the type for the @uref{https://webssh.huashengdun.org/, WebSSH} program that runs a web SSH client. WebSSH can be run manually from the command-line by passing arguments to the binary @command{wssh} from the package @code{webssh}, but it can also be run as a Guix service. This latter use case is documented here."
  24976. msgstr ""
  24977. #. type: deffn
  24978. #: guix-git/doc/guix.texi:17224
  24979. msgid "For example, to specify a service running WebSSH on loopback interface on port @code{8888} with reject policy with a list of allowed to connection hosts, and NGINX as a reverse-proxy to this service listening for HTTPS connection, add this call to the operating system's @code{services} field:"
  24980. msgstr ""
  24981. #. type: lisp
  24982. #: guix-git/doc/guix.texi:17232
  24983. #, no-wrap
  24984. msgid ""
  24985. "(service webssh-service-type\n"
  24986. " (webssh-configuration (address \"127.0.0.1\")\n"
  24987. " (port 8888)\n"
  24988. " (policy 'reject)\n"
  24989. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  24990. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  24991. "\n"
  24992. msgstr ""
  24993. #. type: lisp
  24994. #: guix-git/doc/guix.texi:17248
  24995. #, no-wrap
  24996. msgid ""
  24997. "(service nginx-service-type\n"
  24998. " (nginx-configuration\n"
  24999. " (server-blocks\n"
  25000. " (list\n"
  25001. " (nginx-server-configuration\n"
  25002. " (inherit %webssh-configuration-nginx)\n"
  25003. " (server-name '(\"webssh.example.com\"))\n"
  25004. " (listen '(\"443 ssl\"))\n"
  25005. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  25006. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  25007. " (locations\n"
  25008. " (cons (nginx-location-configuration\n"
  25009. " (uri \"/.well-known\")\n"
  25010. " (body '(\"root /var/www;\")))\n"
  25011. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  25012. msgstr ""
  25013. #. type: deftp
  25014. #: guix-git/doc/guix.texi:17251
  25015. #, no-wrap
  25016. msgid "{Data Type} webssh-configuration"
  25017. msgstr ""
  25018. #. type: deftp
  25019. #: guix-git/doc/guix.texi:17253
  25020. msgid "Data type representing the configuration for @code{webssh-service}."
  25021. msgstr ""
  25022. #. type: item
  25023. #: guix-git/doc/guix.texi:17255
  25024. #, no-wrap
  25025. msgid "@code{package} (default: @var{webssh})"
  25026. msgstr ""
  25027. #. type: table
  25028. #: guix-git/doc/guix.texi:17257
  25029. msgid "@code{webssh} package to use."
  25030. msgstr ""
  25031. #. type: item
  25032. #: guix-git/doc/guix.texi:17258
  25033. #, no-wrap
  25034. msgid "@code{user-name} (default: @var{\"webssh\"})"
  25035. msgstr ""
  25036. #. type: table
  25037. #: guix-git/doc/guix.texi:17261
  25038. msgid "User name or user ID that file transfers to and from that module should take place."
  25039. msgstr ""
  25040. #. type: item
  25041. #: guix-git/doc/guix.texi:17262
  25042. #, no-wrap
  25043. msgid "@code{group-name} (default: @var{\"webssh\"})"
  25044. msgstr ""
  25045. #. type: item
  25046. #: guix-git/doc/guix.texi:17265
  25047. #, no-wrap
  25048. msgid "@code{address} (default: @var{#f})"
  25049. msgstr ""
  25050. #. type: table
  25051. #: guix-git/doc/guix.texi:17267
  25052. msgid "IP address on which @command{webssh} listens for incoming connections."
  25053. msgstr ""
  25054. #. type: item
  25055. #: guix-git/doc/guix.texi:17268
  25056. #, no-wrap
  25057. msgid "@code{port} (default: @var{8888})"
  25058. msgstr ""
  25059. #. type: table
  25060. #: guix-git/doc/guix.texi:17270
  25061. msgid "TCP port on which @command{webssh} listens for incoming connections."
  25062. msgstr ""
  25063. #. type: item
  25064. #: guix-git/doc/guix.texi:17271
  25065. #, no-wrap
  25066. msgid "@code{policy} (default: @var{#f})"
  25067. msgstr ""
  25068. #. type: table
  25069. #: guix-git/doc/guix.texi:17273
  25070. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  25071. msgstr ""
  25072. #. type: item
  25073. #: guix-git/doc/guix.texi:17274
  25074. #, no-wrap
  25075. msgid "@code{known-hosts} (default: @var{'()})"
  25076. msgstr ""
  25077. #. type: table
  25078. #: guix-git/doc/guix.texi:17276
  25079. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  25080. msgstr ""
  25081. #. type: item
  25082. #: guix-git/doc/guix.texi:17277
  25083. #, no-wrap
  25084. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  25085. msgstr ""
  25086. #. type: table
  25087. #: guix-git/doc/guix.texi:17279
  25088. msgid "Name of the file where @command{webssh} writes its log file."
  25089. msgstr ""
  25090. #. type: item
  25091. #: guix-git/doc/guix.texi:17280
  25092. #, no-wrap
  25093. msgid "@code{log-level} (default: @var{#f})"
  25094. msgstr ""
  25095. #. type: table
  25096. #: guix-git/doc/guix.texi:17282
  25097. msgid "Logging level."
  25098. msgstr ""
  25099. #. type: defvr
  25100. #: guix-git/doc/guix.texi:17286
  25101. #, no-wrap
  25102. msgid "{Scheme Variable} %facebook-host-aliases"
  25103. msgstr ""
  25104. #. type: defvr
  25105. #: guix-git/doc/guix.texi:17292
  25106. msgid "This variable contains a string for use in @file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}). Each line contains a entry that maps a known server name of the Facebook on-line service---e.g., @code{www.facebook.com}---to the local host---@code{127.0.0.1} or its IPv6 equivalent, @code{::1}."
  25107. msgstr ""
  25108. #. type: defvr
  25109. #: guix-git/doc/guix.texi:17296
  25110. msgid "This variable is typically used in the @code{hosts-file} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @file{/etc/hosts}}):"
  25111. msgstr ""
  25112. #. type: lisp
  25113. #: guix-git/doc/guix.texi:17309
  25114. #, no-wrap
  25115. msgid ""
  25116. "(operating-system\n"
  25117. " (host-name \"mymachine\")\n"
  25118. " ;; ...\n"
  25119. " (hosts-file\n"
  25120. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  25121. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  25122. " (plain-file \"hosts\"\n"
  25123. " (string-append (local-host-aliases host-name)\n"
  25124. " %facebook-host-aliases))))\n"
  25125. msgstr ""
  25126. #. type: defvr
  25127. #: guix-git/doc/guix.texi:17313
  25128. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  25129. msgstr ""
  25130. #. type: Plain text
  25131. #: guix-git/doc/guix.texi:17316
  25132. msgid "The @code{(gnu services avahi)} provides the following definition."
  25133. msgstr ""
  25134. #. type: defvr
  25135. #: guix-git/doc/guix.texi:17317
  25136. #, no-wrap
  25137. msgid "{Scheme Variable} avahi-service-type"
  25138. msgstr ""
  25139. #. type: defvr
  25140. #: guix-git/doc/guix.texi:17322
  25141. msgid "This is the service that runs @command{avahi-daemon}, a system-wide mDNS/DNS-SD responder that allows for service discovery and ``zero-configuration'' host name lookups (see @uref{https://avahi.org/}). Its value must be an @code{avahi-configuration} record---see below."
  25142. msgstr ""
  25143. #. type: defvr
  25144. #: guix-git/doc/guix.texi:17327
  25145. msgid "This service extends the name service cache daemon (nscd) so that it can resolve @code{.local} host names using @uref{https://0pointer.de/lennart/projects/nss-mdns/, nss-mdns}. @xref{Name Service Switch}, for information on host name resolution."
  25146. msgstr ""
  25147. #. type: defvr
  25148. #: guix-git/doc/guix.texi:17330
  25149. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  25150. msgstr ""
  25151. #. type: deftp
  25152. #: guix-git/doc/guix.texi:17332
  25153. #, no-wrap
  25154. msgid "{Data Type} avahi-configuration"
  25155. msgstr ""
  25156. #. type: deftp
  25157. #: guix-git/doc/guix.texi:17334
  25158. msgid "Data type representation the configuration for Avahi."
  25159. msgstr ""
  25160. #. type: item
  25161. #: guix-git/doc/guix.texi:17337
  25162. #, no-wrap
  25163. msgid "@code{host-name} (default: @code{#f})"
  25164. msgstr ""
  25165. #. type: table
  25166. #: guix-git/doc/guix.texi:17340
  25167. msgid "If different from @code{#f}, use that as the host name to publish for this machine; otherwise, use the machine's actual host name."
  25168. msgstr ""
  25169. #. type: item
  25170. #: guix-git/doc/guix.texi:17341
  25171. #, no-wrap
  25172. msgid "@code{publish?} (default: @code{#t})"
  25173. msgstr ""
  25174. #. type: table
  25175. #: guix-git/doc/guix.texi:17344
  25176. msgid "When true, allow host names and services to be published (broadcast) over the network."
  25177. msgstr ""
  25178. #. type: item
  25179. #: guix-git/doc/guix.texi:17345
  25180. #, no-wrap
  25181. msgid "@code{publish-workstation?} (default: @code{#t})"
  25182. msgstr ""
  25183. #. type: table
  25184. #: guix-git/doc/guix.texi:17349
  25185. msgid "When true, @command{avahi-daemon} publishes the machine's host name and IP address via mDNS on the local network. To view the host names published on your local network, you can run:"
  25186. msgstr ""
  25187. #. type: example
  25188. #: guix-git/doc/guix.texi:17352
  25189. #, no-wrap
  25190. msgid "avahi-browse _workstation._tcp\n"
  25191. msgstr ""
  25192. #. type: item
  25193. #: guix-git/doc/guix.texi:17354
  25194. #, no-wrap
  25195. msgid "@code{wide-area?} (default: @code{#f})"
  25196. msgstr ""
  25197. #. type: table
  25198. #: guix-git/doc/guix.texi:17356
  25199. msgid "When true, DNS-SD over unicast DNS is enabled."
  25200. msgstr ""
  25201. #. type: item
  25202. #: guix-git/doc/guix.texi:17357
  25203. #, no-wrap
  25204. msgid "@code{ipv4?} (default: @code{#t})"
  25205. msgstr ""
  25206. #. type: itemx
  25207. #: guix-git/doc/guix.texi:17358
  25208. #, no-wrap
  25209. msgid "@code{ipv6?} (default: @code{#t})"
  25210. msgstr ""
  25211. #. type: table
  25212. #: guix-git/doc/guix.texi:17360
  25213. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  25214. msgstr ""
  25215. #. type: item
  25216. #: guix-git/doc/guix.texi:17361
  25217. #, no-wrap
  25218. msgid "@code{domains-to-browse} (default: @code{'()})"
  25219. msgstr ""
  25220. #. type: table
  25221. #: guix-git/doc/guix.texi:17363
  25222. msgid "This is a list of domains to browse."
  25223. msgstr ""
  25224. #. type: deffn
  25225. #: guix-git/doc/guix.texi:17366
  25226. #, no-wrap
  25227. msgid "{Scheme Variable} openvswitch-service-type"
  25228. msgstr ""
  25229. #. type: deffn
  25230. #: guix-git/doc/guix.texi:17370
  25231. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  25232. msgstr ""
  25233. #. type: deftp
  25234. #: guix-git/doc/guix.texi:17372
  25235. #, no-wrap
  25236. msgid "{Data Type} openvswitch-configuration"
  25237. msgstr ""
  25238. #. type: deftp
  25239. #: guix-git/doc/guix.texi:17376
  25240. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  25241. msgstr ""
  25242. #. type: item
  25243. #: guix-git/doc/guix.texi:17378
  25244. #, no-wrap
  25245. msgid "@code{package} (default: @var{openvswitch})"
  25246. msgstr ""
  25247. #. type: table
  25248. #: guix-git/doc/guix.texi:17380
  25249. msgid "Package object of the Open vSwitch."
  25250. msgstr ""
  25251. #. type: defvr
  25252. #: guix-git/doc/guix.texi:17384
  25253. #, no-wrap
  25254. msgid "{Scheme Variable} pagekite-service-type"
  25255. msgstr ""
  25256. #. type: defvr
  25257. #: guix-git/doc/guix.texi:17389
  25258. msgid "This is the service type for the @uref{https://pagekite.net, PageKite} service, a tunneling solution for making localhost servers publicly visible, even from behind restrictive firewalls or NAT without forwarded ports. The value for this service type is a @code{pagekite-configuration} record."
  25259. msgstr ""
  25260. #. type: defvr
  25261. #: guix-git/doc/guix.texi:17391
  25262. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  25263. msgstr ""
  25264. #. type: lisp
  25265. #: guix-git/doc/guix.texi:17398
  25266. #, no-wrap
  25267. msgid ""
  25268. "(service pagekite-service-type\n"
  25269. " (pagekite-configuration\n"
  25270. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  25271. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  25272. " (extra-file \"/etc/pagekite.rc\")))\n"
  25273. msgstr ""
  25274. #. type: deftp
  25275. #: guix-git/doc/guix.texi:17401
  25276. #, no-wrap
  25277. msgid "{Data Type} pagekite-configuration"
  25278. msgstr ""
  25279. #. type: deftp
  25280. #: guix-git/doc/guix.texi:17403
  25281. msgid "Data type representing the configuration of PageKite."
  25282. msgstr ""
  25283. #. type: item
  25284. #: guix-git/doc/guix.texi:17405
  25285. #, no-wrap
  25286. msgid "@code{package} (default: @var{pagekite})"
  25287. msgstr ""
  25288. #. type: table
  25289. #: guix-git/doc/guix.texi:17407
  25290. msgid "Package object of PageKite."
  25291. msgstr ""
  25292. #. type: item
  25293. #: guix-git/doc/guix.texi:17408
  25294. #, no-wrap
  25295. msgid "@code{kitename} (default: @code{#f})"
  25296. msgstr ""
  25297. #. type: table
  25298. #: guix-git/doc/guix.texi:17410
  25299. msgid "PageKite name for authenticating to the frontend server."
  25300. msgstr ""
  25301. #. type: item
  25302. #: guix-git/doc/guix.texi:17411
  25303. #, no-wrap
  25304. msgid "@code{kitesecret} (default: @code{#f})"
  25305. msgstr ""
  25306. #. type: table
  25307. #: guix-git/doc/guix.texi:17414
  25308. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  25309. msgstr ""
  25310. #. type: item
  25311. #: guix-git/doc/guix.texi:17415
  25312. #, no-wrap
  25313. msgid "@code{frontend} (default: @code{#f})"
  25314. msgstr ""
  25315. #. type: table
  25316. #: guix-git/doc/guix.texi:17418
  25317. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  25318. msgstr ""
  25319. #. type: item
  25320. #: guix-git/doc/guix.texi:17419
  25321. #, no-wrap
  25322. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  25323. msgstr ""
  25324. #. type: table
  25325. #: guix-git/doc/guix.texi:17422
  25326. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  25327. msgstr ""
  25328. #. type: item
  25329. #: guix-git/doc/guix.texi:17423
  25330. #, no-wrap
  25331. msgid "@code{extra-file} (default: @code{#f})"
  25332. msgstr ""
  25333. #. type: table
  25334. #: guix-git/doc/guix.texi:17426
  25335. msgid "Extra configuration file to read, which you are expected to create manually. Use this to add additional options and manage shared secrets out-of-band."
  25336. msgstr ""
  25337. #. type: defvr
  25338. #: guix-git/doc/guix.texi:17430
  25339. #, no-wrap
  25340. msgid "{Scheme Variable} yggdrasil-service-type"
  25341. msgstr ""
  25342. #. type: defvr
  25343. #: guix-git/doc/guix.texi:17434
  25344. msgid "The service type for connecting to the @uref{https://yggdrasil-network.github.io/, Yggdrasil network}, an early-stage implementation of a fully end-to-end encrypted IPv6 network."
  25345. msgstr ""
  25346. #. type: quotation
  25347. #: guix-git/doc/guix.texi:17441
  25348. msgid "Yggdrasil provides name-independent routing with cryptographically generated addresses. Static addressing means you can keep the same address as long as you want, even if you move to a new location, or generate a new address (by generating new keys) whenever you want. @uref{https://yggdrasil-network.github.io/2018/07/28/addressing.html}"
  25349. msgstr ""
  25350. #. type: defvr
  25351. #: guix-git/doc/guix.texi:17445
  25352. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  25353. msgstr ""
  25354. #. type: defvr
  25355. #: guix-git/doc/guix.texi:17449
  25356. msgid "Here is an example using public peers and a static address. The static signing and encryption keys are defined in @file{/etc/yggdrasil-private.conf} (the default value for @code{config-file})."
  25357. msgstr ""
  25358. #. type: lisp
  25359. #: guix-git/doc/guix.texi:17461
  25360. #, no-wrap
  25361. msgid ""
  25362. ";; part of the operating-system declaration\n"
  25363. "(service yggdrasil-service-type\n"
  25364. " (yggdrasil-configuration\n"
  25365. " (autoconf? #f) ;; use only the public peers\n"
  25366. " (json-config\n"
  25367. " ;; choose one from\n"
  25368. " ;; https://github.com/yggdrasil-network/public-peers\n"
  25369. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  25370. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  25371. " ))\n"
  25372. msgstr ""
  25373. #. type: example
  25374. #: guix-git/doc/guix.texi:17468
  25375. #, no-wrap
  25376. msgid ""
  25377. "# sample content for /etc/yggdrasil-private.conf\n"
  25378. "@{\n"
  25379. " # Your public encryption key. Your peers may ask you for this to put\n"
  25380. " # into their AllowedEncryptionPublicKeys configuration.\n"
  25381. " EncryptionPublicKey: 378dc5...\n"
  25382. "\n"
  25383. msgstr ""
  25384. #. type: example
  25385. #: guix-git/doc/guix.texi:17471
  25386. #, no-wrap
  25387. msgid ""
  25388. " # Your private encryption key. DO NOT share this with anyone!\n"
  25389. " EncryptionPrivateKey: 0777...\n"
  25390. "\n"
  25391. msgstr ""
  25392. #. type: example
  25393. #: guix-git/doc/guix.texi:17475
  25394. #, no-wrap
  25395. msgid ""
  25396. " # Your public signing key. You should not ordinarily need to share\n"
  25397. " # this with anyone.\n"
  25398. " SigningPublicKey: e1664...\n"
  25399. "\n"
  25400. msgstr ""
  25401. #. type: example
  25402. #: guix-git/doc/guix.texi:17479
  25403. #, no-wrap
  25404. msgid ""
  25405. " # Your private signing key. DO NOT share this with anyone!\n"
  25406. " SigningPrivateKey: 0589d...\n"
  25407. "@}\n"
  25408. msgstr ""
  25409. #. type: deftp
  25410. #: guix-git/doc/guix.texi:17482
  25411. #, no-wrap
  25412. msgid "{Data Type} yggdrasil-configuration"
  25413. msgstr ""
  25414. #. type: deftp
  25415. #: guix-git/doc/guix.texi:17484
  25416. msgid "Data type representing the configuration of Yggdrasil."
  25417. msgstr ""
  25418. #. type: item
  25419. #: guix-git/doc/guix.texi:17486
  25420. #, no-wrap
  25421. msgid "@code{package} (default: @code{yggdrasil})"
  25422. msgstr ""
  25423. #. type: table
  25424. #: guix-git/doc/guix.texi:17488
  25425. msgid "Package object of Yggdrasil."
  25426. msgstr ""
  25427. #. type: item
  25428. #: guix-git/doc/guix.texi:17489
  25429. #, no-wrap
  25430. msgid "@code{json-config} (default: @code{'()})"
  25431. msgstr ""
  25432. #. type: table
  25433. #: guix-git/doc/guix.texi:17495
  25434. msgid "Contents of @file{/etc/yggdrasil.conf}. Will be merged with @file{/etc/yggdrasil-private.conf}. Note that these settings are stored in the Guix store, which is readable to all users. @strong{Do not store your private keys in it}. See the output of @code{yggdrasil -genconf} for a quick overview of valid keys and their default values."
  25435. msgstr ""
  25436. #. type: item
  25437. #: guix-git/doc/guix.texi:17496
  25438. #, no-wrap
  25439. msgid "@code{autoconf?} (default: @code{#f})"
  25440. msgstr ""
  25441. #. type: table
  25442. #: guix-git/doc/guix.texi:17499
  25443. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  25444. msgstr ""
  25445. #. type: table
  25446. #: guix-git/doc/guix.texi:17502
  25447. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  25448. msgstr ""
  25449. #. type: item
  25450. #: guix-git/doc/guix.texi:17503
  25451. #, no-wrap
  25452. msgid "@code{log-to} (default: @code{'stdout})"
  25453. msgstr ""
  25454. #. type: table
  25455. #: guix-git/doc/guix.texi:17507
  25456. msgid "Where to send logs. By default, the service logs standard output to @file{/var/log/yggdrasil.log}. The alternative is @code{'syslog}, which sends output to the running syslog service."
  25457. msgstr ""
  25458. #. type: item
  25459. #: guix-git/doc/guix.texi:17508
  25460. #, no-wrap
  25461. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  25462. msgstr ""
  25463. #. type: table
  25464. #: guix-git/doc/guix.texi:17515
  25465. msgid "What HJSON file to load sensitive data from. This is where private keys should be stored, which are necessary to specify if you don't want a randomized address after each restart. Use @code{#f} to disable. Options defined in this file take precedence over @code{json-config}. Use the output of @code{yggdrasil -genconf} as a starting point. To configure a static address, delete everything except these options:"
  25466. msgstr ""
  25467. #. type: code{#1}
  25468. #: guix-git/doc/guix.texi:17517
  25469. #, no-wrap
  25470. msgid "EncryptionPublicKey"
  25471. msgstr ""
  25472. #. type: code{#1}
  25473. #: guix-git/doc/guix.texi:17518
  25474. #, no-wrap
  25475. msgid "EncryptionPrivateKey"
  25476. msgstr ""
  25477. #. type: code{#1}
  25478. #: guix-git/doc/guix.texi:17519
  25479. #, no-wrap
  25480. msgid "SigningPublicKey"
  25481. msgstr ""
  25482. #. type: code{#1}
  25483. #: guix-git/doc/guix.texi:17520
  25484. #, no-wrap
  25485. msgid "SigningPrivateKey"
  25486. msgstr ""
  25487. #. type: cindex
  25488. #: guix-git/doc/guix.texi:17525
  25489. #, no-wrap
  25490. msgid "IPFS"
  25491. msgstr ""
  25492. #. type: defvr
  25493. #: guix-git/doc/guix.texi:17526
  25494. #, no-wrap
  25495. msgid "{Scheme Variable} ipfs-service-type"
  25496. msgstr ""
  25497. #. type: defvr
  25498. #: guix-git/doc/guix.texi:17530
  25499. msgid "The service type for connecting to the @uref{https://ipfs.io,IPFS network}, a global, versioned, peer-to-peer file system. Pass it a @code{ipfs-configuration} to change the ports used for the gateway and API."
  25500. msgstr ""
  25501. #. type: defvr
  25502. #: guix-git/doc/guix.texi:17532
  25503. msgid "Here's an example configuration, using some non-standard ports:"
  25504. msgstr ""
  25505. #. type: lisp
  25506. #: guix-git/doc/guix.texi:17538
  25507. #, no-wrap
  25508. msgid ""
  25509. "(service ipfs-service-type\n"
  25510. " (ipfs-configuration\n"
  25511. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  25512. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  25513. msgstr ""
  25514. #. type: deftp
  25515. #: guix-git/doc/guix.texi:17541
  25516. #, no-wrap
  25517. msgid "{Data Type} ipfs-configuration"
  25518. msgstr ""
  25519. #. type: deftp
  25520. #: guix-git/doc/guix.texi:17543
  25521. msgid "Data type representing the configuration of IPFS."
  25522. msgstr ""
  25523. #. type: item
  25524. #: guix-git/doc/guix.texi:17545
  25525. #, no-wrap
  25526. msgid "@code{package} (default: @code{go-ipfs})"
  25527. msgstr ""
  25528. #. type: table
  25529. #: guix-git/doc/guix.texi:17547
  25530. msgid "Package object of IPFS."
  25531. msgstr ""
  25532. #. type: item
  25533. #: guix-git/doc/guix.texi:17548
  25534. #, no-wrap
  25535. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  25536. msgstr ""
  25537. #. type: table
  25538. #: guix-git/doc/guix.texi:17550
  25539. msgid "Address of the gateway, in ‘multiaddress’ format."
  25540. msgstr ""
  25541. #. type: item
  25542. #: guix-git/doc/guix.texi:17551
  25543. #, no-wrap
  25544. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  25545. msgstr ""
  25546. #. type: table
  25547. #: guix-git/doc/guix.texi:17553
  25548. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  25549. msgstr ""
  25550. #. type: cindex
  25551. #: guix-git/doc/guix.texi:17556
  25552. #, no-wrap
  25553. msgid "keepalived"
  25554. msgstr ""
  25555. #. type: deffn
  25556. #: guix-git/doc/guix.texi:17557
  25557. #, no-wrap
  25558. msgid "{Scheme Variable} keepalived-service-type"
  25559. msgstr ""
  25560. #. type: deffn
  25561. #: guix-git/doc/guix.texi:17562
  25562. msgid "This is the type for the @uref{https://www.keepalived.org/, Keepalived} routing software, @command{keepalived}. Its value must be an @code{keepalived-configuration} record as in this example for master machine:"
  25563. msgstr ""
  25564. #. type: lisp
  25565. #: guix-git/doc/guix.texi:17567
  25566. #, no-wrap
  25567. msgid ""
  25568. "(service keepalived-service-type\n"
  25569. " (keepalived-configuration\n"
  25570. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  25571. msgstr ""
  25572. #. type: deffn
  25573. #: guix-git/doc/guix.texi:17570
  25574. msgid "where @file{keepalived-master.conf}:"
  25575. msgstr ""
  25576. #. type: example
  25577. #: guix-git/doc/guix.texi:17582
  25578. #, no-wrap
  25579. msgid ""
  25580. "vrrp_instance my-group @{\n"
  25581. " state MASTER\n"
  25582. " interface enp9s0\n"
  25583. " virtual_router_id 100\n"
  25584. " priority 100\n"
  25585. " unicast_peer @{ 10.0.0.2 @}\n"
  25586. " virtual_ipaddress @{\n"
  25587. " 10.0.0.4/24\n"
  25588. " @}\n"
  25589. "@}\n"
  25590. msgstr ""
  25591. #. type: deffn
  25592. #: guix-git/doc/guix.texi:17585
  25593. msgid "and for backup machine:"
  25594. msgstr ""
  25595. #. type: lisp
  25596. #: guix-git/doc/guix.texi:17590
  25597. #, no-wrap
  25598. msgid ""
  25599. "(service keepalived-service-type\n"
  25600. " (keepalived-configuration\n"
  25601. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  25602. msgstr ""
  25603. #. type: deffn
  25604. #: guix-git/doc/guix.texi:17593
  25605. msgid "where @file{keepalived-backup.conf}:"
  25606. msgstr ""
  25607. #. type: example
  25608. #: guix-git/doc/guix.texi:17605
  25609. #, no-wrap
  25610. msgid ""
  25611. "vrrp_instance my-group @{\n"
  25612. " state BACKUP\n"
  25613. " interface enp9s0\n"
  25614. " virtual_router_id 100\n"
  25615. " priority 99\n"
  25616. " unicast_peer @{ 10.0.0.3 @}\n"
  25617. " virtual_ipaddress @{\n"
  25618. " 10.0.0.4/24\n"
  25619. " @}\n"
  25620. "@}\n"
  25621. msgstr ""
  25622. #. type: cindex
  25623. #: guix-git/doc/guix.texi:17611
  25624. #, no-wrap
  25625. msgid "unattended upgrades"
  25626. msgstr ""
  25627. #. type: cindex
  25628. #: guix-git/doc/guix.texi:17612
  25629. #, no-wrap
  25630. msgid "upgrades, unattended"
  25631. msgstr ""
  25632. #. type: Plain text
  25633. #: guix-git/doc/guix.texi:17617
  25634. msgid "Guix provides a service to perform @emph{unattended upgrades}: periodically, the system automatically reconfigures itself from the latest Guix. Guix System has several properties that make unattended upgrades safe:"
  25635. msgstr ""
  25636. #. type: itemize
  25637. #: guix-git/doc/guix.texi:17622
  25638. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  25639. msgstr ""
  25640. #. type: itemize
  25641. #: guix-git/doc/guix.texi:17626
  25642. msgid "the upgrade log is kept---you can view it with @command{guix system list-generations}---and you can roll back to any previous generation, should the upgraded system fail to behave as intended;"
  25643. msgstr ""
  25644. #. type: itemize
  25645. #: guix-git/doc/guix.texi:17629
  25646. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  25647. msgstr ""
  25648. #. type: itemize
  25649. #: guix-git/doc/guix.texi:17632
  25650. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  25651. msgstr ""
  25652. #. type: Plain text
  25653. #: guix-git/doc/guix.texi:17637
  25654. msgid "To set up unattended upgrades, add an instance of @code{unattended-upgrade-service-type} like the one below to the list of your operating system services:"
  25655. msgstr ""
  25656. #. type: lisp
  25657. #: guix-git/doc/guix.texi:17640
  25658. #, no-wrap
  25659. msgid "(service unattended-upgrade-service-type)\n"
  25660. msgstr ""
  25661. #. type: Plain text
  25662. #: guix-git/doc/guix.texi:17647
  25663. msgid "The defaults above set up weekly upgrades: every Sunday at midnight. You do not need to provide the operating system configuration file: it uses @file{/run/current-system/configuration.scm}, which ensures it always uses your latest configuration---@pxref{provenance-service-type}, for more information about this file."
  25664. msgstr ""
  25665. #. type: Plain text
  25666. #: guix-git/doc/guix.texi:17653
  25667. msgid "There are several things that can be configured, in particular the periodicity and services (daemons) to be restarted upon completion. When the upgrade is successful, the service takes care of deleting system generations older that some threshold, as per @command{guix system delete-generations}. See the reference below for details."
  25668. msgstr ""
  25669. #. type: Plain text
  25670. #: guix-git/doc/guix.texi:17657
  25671. msgid "To ensure that upgrades are actually happening, you can run @command{guix system describe}. To investigate upgrade failures, visit the unattended upgrade log file (see below)."
  25672. msgstr ""
  25673. #. type: defvr
  25674. #: guix-git/doc/guix.texi:17658
  25675. #, no-wrap
  25676. msgid "{Scheme Variable} unattended-upgrade-service-type"
  25677. msgstr ""
  25678. #. type: defvr
  25679. #: guix-git/doc/guix.texi:17662
  25680. msgid "This is the service type for unattended upgrades. It sets up an mcron job (@pxref{Scheduled Job Execution}) that runs @command{guix system reconfigure} from the latest version of the specified channels."
  25681. msgstr ""
  25682. #. type: defvr
  25683. #: guix-git/doc/guix.texi:17665
  25684. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  25685. msgstr ""
  25686. #. type: deftp
  25687. #: guix-git/doc/guix.texi:17667
  25688. #, no-wrap
  25689. msgid "{Data Type} unattended-upgrade-configuration"
  25690. msgstr ""
  25691. #. type: deftp
  25692. #: guix-git/doc/guix.texi:17670
  25693. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  25694. msgstr ""
  25695. #. type: item
  25696. #: guix-git/doc/guix.texi:17672
  25697. #, no-wrap
  25698. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  25699. msgstr ""
  25700. #. type: table
  25701. #: guix-git/doc/guix.texi:17676
  25702. msgid "This is the schedule of upgrades, expressed as a gexp containing an mcron job schedule (@pxref{Guile Syntax, mcron job specifications,, mcron, GNU@tie{}mcron})."
  25703. msgstr ""
  25704. #. type: item
  25705. #: guix-git/doc/guix.texi:17677
  25706. #, no-wrap
  25707. msgid "@code{channels} (default: @code{#~%default-channels})"
  25708. msgstr ""
  25709. #. type: table
  25710. #: guix-git/doc/guix.texi:17681
  25711. msgid "This gexp specifies the channels to use for the upgrade (@pxref{Channels}). By default, the tip of the official @code{guix} channel is used."
  25712. msgstr ""
  25713. #. type: item
  25714. #: guix-git/doc/guix.texi:17682
  25715. #, no-wrap
  25716. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  25717. msgstr ""
  25718. #. type: table
  25719. #: guix-git/doc/guix.texi:17685
  25720. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  25721. msgstr ""
  25722. #. type: table
  25723. #: guix-git/doc/guix.texi:17691
  25724. msgid "There are cases, though, where referring to @file{/run/current-system/configuration.scm} is not enough, for instance because that file refers to extra files (SSH public keys, extra configuration files, etc.) @i{via} @code{local-file} and similar constructs. For those cases, we recommend something along these lines:"
  25725. msgstr ""
  25726. #. type: lisp
  25727. #: guix-git/doc/guix.texi:17697
  25728. #, no-wrap
  25729. msgid ""
  25730. "(unattended-upgrade-configuration\n"
  25731. " (operating-system-file\n"
  25732. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  25733. " \"/config.scm\")))\n"
  25734. msgstr ""
  25735. #. type: table
  25736. #: guix-git/doc/guix.texi:17704
  25737. msgid "The effect here is to import all of the current directory into the store, and to refer to @file{config.scm} within that directory. Therefore, uses of @code{local-file} within @file{config.scm} will work as expected. @xref{G-Expressions}, for information about @code{local-file} and @code{file-append}."
  25738. msgstr ""
  25739. #. type: item
  25740. #: guix-git/doc/guix.texi:17705
  25741. #, no-wrap
  25742. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  25743. msgstr ""
  25744. #. type: table
  25745. #: guix-git/doc/guix.texi:17708
  25746. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  25747. msgstr ""
  25748. #. type: table
  25749. #: guix-git/doc/guix.texi:17715
  25750. msgid "Those services are restarted right away upon completion, as with @command{herd restart}, which ensures that the latest version is running---remember that by default @command{guix system reconfigure} only restarts services that are not currently running, which is conservative: it minimizes disruption but leaves outdated services running."
  25751. msgstr ""
  25752. #. type: table
  25753. #: guix-git/doc/guix.texi:17719
  25754. msgid "Use @command{herd status} to find out candidates for restarting. @xref{Services}, for general information about services. Common services to restart would include @code{ntpd} and @code{ssh-daemon}."
  25755. msgstr ""
  25756. #. type: table
  25757. #: guix-git/doc/guix.texi:17722
  25758. msgid "By default, the @code{mcron} service is restarted. This ensures that the latest version of the unattended upgrade job will be used next time."
  25759. msgstr ""
  25760. #. type: item
  25761. #: guix-git/doc/guix.texi:17723
  25762. #, no-wrap
  25763. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  25764. msgstr ""
  25765. #. type: table
  25766. #: guix-git/doc/guix.texi:17727
  25767. msgid "This is the expiration time in seconds for system generations. System generations older that this amount of time are deleted with @command{guix system delete-generations} when an upgrade completes."
  25768. msgstr ""
  25769. #. type: quotation
  25770. #: guix-git/doc/guix.texi:17732
  25771. msgid "The unattended upgrade service does not run the garbage collector. You will probably want to set up your own mcron job to run @command{guix gc} periodically."
  25772. msgstr ""
  25773. #. type: item
  25774. #: guix-git/doc/guix.texi:17734
  25775. #, no-wrap
  25776. msgid "@code{maximum-duration} (default: @code{3600})"
  25777. msgstr ""
  25778. #. type: table
  25779. #: guix-git/doc/guix.texi:17737
  25780. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  25781. msgstr ""
  25782. #. type: table
  25783. #: guix-git/doc/guix.texi:17740
  25784. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  25785. msgstr ""
  25786. #. type: item
  25787. #: guix-git/doc/guix.texi:17741
  25788. #, no-wrap
  25789. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  25790. msgstr ""
  25791. #. type: table
  25792. #: guix-git/doc/guix.texi:17743
  25793. msgid "File where unattended upgrades are logged."
  25794. msgstr ""
  25795. #. type: cindex
  25796. #: guix-git/doc/guix.texi:17749
  25797. #, no-wrap
  25798. msgid "X11"
  25799. msgstr ""
  25800. #. type: cindex
  25801. #: guix-git/doc/guix.texi:17750
  25802. #, no-wrap
  25803. msgid "X Window System"
  25804. msgstr ""
  25805. #. type: cindex
  25806. #: guix-git/doc/guix.texi:17751 guix-git/doc/guix.texi:18003
  25807. #, no-wrap
  25808. msgid "login manager"
  25809. msgstr ""
  25810. #. type: Plain text
  25811. #: guix-git/doc/guix.texi:17756
  25812. msgid "Support for the X Window graphical display system---specifically Xorg---is provided by the @code{(gnu services xorg)} module. Note that there is no @code{xorg-service} procedure. Instead, the X server is started by the @dfn{login manager}, by default the GNOME Display Manager (GDM)."
  25813. msgstr ""
  25814. #. type: cindex
  25815. #: guix-git/doc/guix.texi:17757
  25816. #, no-wrap
  25817. msgid "GDM"
  25818. msgstr ""
  25819. #. type: cindex
  25820. #: guix-git/doc/guix.texi:17758
  25821. #, no-wrap
  25822. msgid "GNOME, login manager"
  25823. msgstr ""
  25824. #. type: Plain text
  25825. #: guix-git/doc/guix.texi:17762
  25826. msgid "GDM of course allows users to log in into window managers and desktop environments other than GNOME; for those using GNOME, GDM is required for features such as automatic screen locking."
  25827. msgstr ""
  25828. #. type: cindex
  25829. #: guix-git/doc/guix.texi:17763
  25830. #, no-wrap
  25831. msgid "window manager"
  25832. msgstr ""
  25833. #. type: Plain text
  25834. #: guix-git/doc/guix.texi:17768
  25835. msgid "To use X11, you must install at least one @dfn{window manager}---for example the @code{windowmaker} or @code{openbox} packages---preferably by adding it to the @code{packages} field of your operating system definition (@pxref{operating-system Reference, system-wide packages})."
  25836. msgstr ""
  25837. #. type: defvr
  25838. #: guix-git/doc/guix.texi:17769
  25839. #, no-wrap
  25840. msgid "{Scheme Variable} gdm-service-type"
  25841. msgstr ""
  25842. #. type: defvr
  25843. #: guix-git/doc/guix.texi:17774
  25844. msgid "This is the type for the @uref{https://wiki.gnome.org/Projects/GDM/, GNOME Desktop Manager} (GDM), a program that manages graphical display servers and handles graphical user logins. Its value must be a @code{gdm-configuration} (see below)."
  25845. msgstr ""
  25846. #. type: cindex
  25847. #: guix-git/doc/guix.texi:17775
  25848. #, no-wrap
  25849. msgid "session types (X11)"
  25850. msgstr ""
  25851. #. type: cindex
  25852. #: guix-git/doc/guix.texi:17776
  25853. #, no-wrap
  25854. msgid "X11 session types"
  25855. msgstr ""
  25856. #. type: defvr
  25857. #: guix-git/doc/guix.texi:17782
  25858. msgid "GDM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} and allows users to choose a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, and @code{i3} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen."
  25859. msgstr ""
  25860. #. type: defvr
  25861. #: guix-git/doc/guix.texi:17786
  25862. msgid "In addition, @file{~/.xsession} files are honored. When available, @file{~/.xsession} must be an executable that starts a window manager and/or other X clients."
  25863. msgstr ""
  25864. #. type: deftp
  25865. #: guix-git/doc/guix.texi:17788
  25866. #, no-wrap
  25867. msgid "{Data Type} gdm-configuration"
  25868. msgstr ""
  25869. #. type: item
  25870. #: guix-git/doc/guix.texi:17790 guix-git/doc/guix.texi:17858
  25871. #, no-wrap
  25872. msgid "@code{auto-login?} (default: @code{#f})"
  25873. msgstr ""
  25874. #. type: itemx
  25875. #: guix-git/doc/guix.texi:17791
  25876. #, no-wrap
  25877. msgid "@code{default-user} (default: @code{#f})"
  25878. msgstr ""
  25879. #. type: table
  25880. #: guix-git/doc/guix.texi:17793
  25881. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  25882. msgstr ""
  25883. #. type: table
  25884. #: guix-git/doc/guix.texi:17796
  25885. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  25886. msgstr ""
  25887. #. type: item
  25888. #: guix-git/doc/guix.texi:17797 guix-git/doc/guix.texi:23369
  25889. #: guix-git/doc/guix.texi:25077 guix-git/doc/guix.texi:29427
  25890. #: guix-git/doc/guix.texi:29456 guix-git/doc/guix.texi:29485
  25891. #: guix-git/doc/guix.texi:29512 guix-git/doc/guix.texi:29567
  25892. #: guix-git/doc/guix.texi:29592 guix-git/doc/guix.texi:29619
  25893. #: guix-git/doc/guix.texi:29645 guix-git/doc/guix.texi:29687
  25894. #, no-wrap
  25895. msgid "@code{debug?} (default: @code{#f})"
  25896. msgstr ""
  25897. #. type: table
  25898. #: guix-git/doc/guix.texi:17799
  25899. msgid "When true, GDM writes debug messages to its log."
  25900. msgstr ""
  25901. #. type: item
  25902. #: guix-git/doc/guix.texi:17800
  25903. #, no-wrap
  25904. msgid "@code{gnome-shell-assets} (default: ...)"
  25905. msgstr ""
  25906. #. type: table
  25907. #: guix-git/doc/guix.texi:17802
  25908. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  25909. msgstr ""
  25910. #. type: item
  25911. #: guix-git/doc/guix.texi:17803
  25912. #, no-wrap
  25913. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  25914. msgstr ""
  25915. #. type: table
  25916. #: guix-git/doc/guix.texi:17805 guix-git/doc/guix.texi:17885
  25917. #: guix-git/doc/guix.texi:17969
  25918. msgid "Configuration of the Xorg graphical server."
  25919. msgstr ""
  25920. #. type: item
  25921. #: guix-git/doc/guix.texi:17806
  25922. #, no-wrap
  25923. msgid "@code{xsession} (default: @code{(xinitrc)})"
  25924. msgstr ""
  25925. #. type: table
  25926. #: guix-git/doc/guix.texi:17808 guix-git/doc/guix.texi:17984
  25927. msgid "Script to run before starting a X session."
  25928. msgstr ""
  25929. #. type: item
  25930. #: guix-git/doc/guix.texi:17809
  25931. #, no-wrap
  25932. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  25933. msgstr ""
  25934. #. type: table
  25935. #: guix-git/doc/guix.texi:17811
  25936. msgid "File name of the @code{dbus-daemon} executable."
  25937. msgstr ""
  25938. #. type: item
  25939. #: guix-git/doc/guix.texi:17812
  25940. #, no-wrap
  25941. msgid "@code{gdm} (default: @code{gdm})"
  25942. msgstr ""
  25943. #. type: table
  25944. #: guix-git/doc/guix.texi:17814
  25945. msgid "The GDM package to use."
  25946. msgstr ""
  25947. #. type: defvr
  25948. #: guix-git/doc/guix.texi:17817
  25949. #, no-wrap
  25950. msgid "{Scheme Variable} slim-service-type"
  25951. msgstr ""
  25952. #. type: defvr
  25953. #: guix-git/doc/guix.texi:17819
  25954. msgid "This is the type for the SLiM graphical login manager for X11."
  25955. msgstr ""
  25956. #. type: defvr
  25957. #: guix-git/doc/guix.texi:17823
  25958. msgid "Like GDM, SLiM looks for session types described by @file{.desktop} files and allows users to choose a session from the log-in screen using @kbd{F1}. It also honors @file{~/.xsession} files."
  25959. msgstr ""
  25960. #. type: defvr
  25961. #: guix-git/doc/guix.texi:17830
  25962. msgid "Unlike GDM, SLiM does not spawn the user session on a different VT after logging in, which means that you can only start one graphical session. If you want to be able to run multiple graphical sessions at the same time you have to add multiple SLiM services to your system services. The following example shows how to replace the default GDM service with two SLiM services on tty7 and tty8."
  25963. msgstr ""
  25964. #. type: lisp
  25965. #: guix-git/doc/guix.texi:17836
  25966. #, no-wrap
  25967. msgid ""
  25968. "(use-modules (gnu services)\n"
  25969. " (gnu services desktop)\n"
  25970. " (gnu services xorg)\n"
  25971. " (srfi srfi-1)) ;for 'remove'\n"
  25972. "\n"
  25973. msgstr ""
  25974. #. type: lisp
  25975. #: guix-git/doc/guix.texi:17847
  25976. #, no-wrap
  25977. msgid ""
  25978. "(operating-system\n"
  25979. " ;; ...\n"
  25980. " (services (cons* (service slim-service-type (slim-configuration\n"
  25981. " (display \":0\")\n"
  25982. " (vt \"vt7\")))\n"
  25983. " (service slim-service-type (slim-configuration\n"
  25984. " (display \":1\")\n"
  25985. " (vt \"vt8\")))\n"
  25986. " (modify-services %desktop-services\n"
  25987. " (delete gdm-service-type)))))\n"
  25988. msgstr ""
  25989. #. type: deftp
  25990. #: guix-git/doc/guix.texi:17851
  25991. #, no-wrap
  25992. msgid "{Data Type} slim-configuration"
  25993. msgstr ""
  25994. #. type: deftp
  25995. #: guix-git/doc/guix.texi:17853
  25996. msgid "Data type representing the configuration of @code{slim-service-type}."
  25997. msgstr ""
  25998. #. type: table
  25999. #: guix-git/doc/guix.texi:17857
  26000. msgid "Whether to allow logins with empty passwords."
  26001. msgstr ""
  26002. #. type: itemx
  26003. #: guix-git/doc/guix.texi:17859
  26004. #, no-wrap
  26005. msgid "@code{default-user} (default: @code{\"\"})"
  26006. msgstr ""
  26007. #. type: table
  26008. #: guix-git/doc/guix.texi:17861
  26009. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  26010. msgstr ""
  26011. #. type: table
  26012. #: guix-git/doc/guix.texi:17864
  26013. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  26014. msgstr ""
  26015. #. type: item
  26016. #: guix-git/doc/guix.texi:17865
  26017. #, no-wrap
  26018. msgid "@code{theme} (default: @code{%default-slim-theme})"
  26019. msgstr ""
  26020. #. type: itemx
  26021. #: guix-git/doc/guix.texi:17866
  26022. #, no-wrap
  26023. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  26024. msgstr ""
  26025. #. type: table
  26026. #: guix-git/doc/guix.texi:17868
  26027. msgid "The graphical theme to use and its name."
  26028. msgstr ""
  26029. #. type: item
  26030. #: guix-git/doc/guix.texi:17869
  26031. #, no-wrap
  26032. msgid "@code{auto-login-session} (default: @code{#f})"
  26033. msgstr ""
  26034. #. type: table
  26035. #: guix-git/doc/guix.texi:17872
  26036. msgid "If true, this must be the name of the executable to start as the default session---e.g., @code{(file-append windowmaker \"/bin/windowmaker\")}."
  26037. msgstr ""
  26038. #. type: table
  26039. #: guix-git/doc/guix.texi:17876
  26040. msgid "If false, a session described by one of the available @file{.desktop} files in @code{/run/current-system/profile} and @code{~/.guix-profile} will be used."
  26041. msgstr ""
  26042. #. type: quotation
  26043. #: guix-git/doc/guix.texi:17881
  26044. msgid "You must install at least one window manager in the system profile or in your user profile. Failing to do that, if @code{auto-login-session} is false, you will be unable to log in."
  26045. msgstr ""
  26046. #. type: item
  26047. #: guix-git/doc/guix.texi:17883 guix-git/doc/guix.texi:17967
  26048. #, no-wrap
  26049. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  26050. msgstr ""
  26051. #. type: item
  26052. #: guix-git/doc/guix.texi:17886
  26053. #, no-wrap
  26054. msgid "@code{display} (default @code{\":0\"})"
  26055. msgstr ""
  26056. #. type: table
  26057. #: guix-git/doc/guix.texi:17888
  26058. msgid "The display on which to start the Xorg graphical server."
  26059. msgstr ""
  26060. #. type: item
  26061. #: guix-git/doc/guix.texi:17889
  26062. #, no-wrap
  26063. msgid "@code{vt} (default @code{\"vt7\"})"
  26064. msgstr ""
  26065. #. type: table
  26066. #: guix-git/doc/guix.texi:17891
  26067. msgid "The VT on which to start the Xorg graphical server."
  26068. msgstr ""
  26069. #. type: item
  26070. #: guix-git/doc/guix.texi:17892
  26071. #, no-wrap
  26072. msgid "@code{xauth} (default: @code{xauth})"
  26073. msgstr ""
  26074. #. type: table
  26075. #: guix-git/doc/guix.texi:17894
  26076. msgid "The XAuth package to use."
  26077. msgstr ""
  26078. #. type: item
  26079. #: guix-git/doc/guix.texi:17895
  26080. #, no-wrap
  26081. msgid "@code{shepherd} (default: @code{shepherd})"
  26082. msgstr ""
  26083. #. type: table
  26084. #: guix-git/doc/guix.texi:17898
  26085. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  26086. msgstr ""
  26087. #. type: item
  26088. #: guix-git/doc/guix.texi:17899
  26089. #, no-wrap
  26090. msgid "@code{sessreg} (default: @code{sessreg})"
  26091. msgstr ""
  26092. #. type: table
  26093. #: guix-git/doc/guix.texi:17901
  26094. msgid "The sessreg package used in order to register the session."
  26095. msgstr ""
  26096. #. type: item
  26097. #: guix-git/doc/guix.texi:17902
  26098. #, no-wrap
  26099. msgid "@code{slim} (default: @code{slim})"
  26100. msgstr ""
  26101. #. type: table
  26102. #: guix-git/doc/guix.texi:17904
  26103. msgid "The SLiM package to use."
  26104. msgstr ""
  26105. #. type: defvr
  26106. #: guix-git/doc/guix.texi:17907
  26107. #, no-wrap
  26108. msgid "{Scheme Variable} %default-theme"
  26109. msgstr ""
  26110. #. type: defvrx
  26111. #: guix-git/doc/guix.texi:17908
  26112. #, no-wrap
  26113. msgid "{Scheme Variable} %default-theme-name"
  26114. msgstr ""
  26115. #. type: defvr
  26116. #: guix-git/doc/guix.texi:17910
  26117. msgid "The default SLiM theme and its name."
  26118. msgstr ""
  26119. #. type: deftp
  26120. #: guix-git/doc/guix.texi:17913 guix-git/doc/guix.texi:18020
  26121. #, no-wrap
  26122. msgid "{Data Type} sddm-configuration"
  26123. msgstr ""
  26124. #. type: deftp
  26125. #: guix-git/doc/guix.texi:17915
  26126. msgid "This is the data type representing the SDDM service configuration."
  26127. msgstr ""
  26128. #. type: item
  26129. #: guix-git/doc/guix.texi:17917
  26130. #, no-wrap
  26131. msgid "@code{display-server} (default: \"x11\")"
  26132. msgstr ""
  26133. #. type: table
  26134. #: guix-git/doc/guix.texi:17920
  26135. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  26136. msgstr ""
  26137. #. type: item
  26138. #: guix-git/doc/guix.texi:17921
  26139. #, no-wrap
  26140. msgid "@code{numlock} (default: \"on\")"
  26141. msgstr ""
  26142. #. type: table
  26143. #: guix-git/doc/guix.texi:17923
  26144. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  26145. msgstr ""
  26146. #. type: item
  26147. #: guix-git/doc/guix.texi:17924
  26148. #, no-wrap
  26149. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  26150. msgstr ""
  26151. #. type: table
  26152. #: guix-git/doc/guix.texi:17926
  26153. msgid "Command to run when halting."
  26154. msgstr ""
  26155. #. type: item
  26156. #: guix-git/doc/guix.texi:17927
  26157. #, no-wrap
  26158. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  26159. msgstr ""
  26160. #. type: table
  26161. #: guix-git/doc/guix.texi:17929
  26162. msgid "Command to run when rebooting."
  26163. msgstr ""
  26164. #. type: item
  26165. #: guix-git/doc/guix.texi:17930
  26166. #, no-wrap
  26167. msgid "@code{theme} (default \"maldives\")"
  26168. msgstr ""
  26169. #. type: table
  26170. #: guix-git/doc/guix.texi:17933
  26171. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  26172. msgstr ""
  26173. #. type: item
  26174. #: guix-git/doc/guix.texi:17934
  26175. #, no-wrap
  26176. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  26177. msgstr ""
  26178. #. type: table
  26179. #: guix-git/doc/guix.texi:17936
  26180. msgid "Directory to look for themes."
  26181. msgstr ""
  26182. #. type: item
  26183. #: guix-git/doc/guix.texi:17937
  26184. #, no-wrap
  26185. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  26186. msgstr ""
  26187. #. type: table
  26188. #: guix-git/doc/guix.texi:17939
  26189. msgid "Directory to look for faces."
  26190. msgstr ""
  26191. #. type: item
  26192. #: guix-git/doc/guix.texi:17940
  26193. #, no-wrap
  26194. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  26195. msgstr ""
  26196. #. type: table
  26197. #: guix-git/doc/guix.texi:17942
  26198. msgid "Default PATH to use."
  26199. msgstr ""
  26200. #. type: item
  26201. #: guix-git/doc/guix.texi:17943
  26202. #, no-wrap
  26203. msgid "@code{minimum-uid} (default: 1000)"
  26204. msgstr ""
  26205. #. type: table
  26206. #: guix-git/doc/guix.texi:17945
  26207. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  26208. msgstr ""
  26209. #. type: item
  26210. #: guix-git/doc/guix.texi:17946
  26211. #, no-wrap
  26212. msgid "@code{maximum-uid} (default: 2000)"
  26213. msgstr ""
  26214. #. type: table
  26215. #: guix-git/doc/guix.texi:17948
  26216. msgid "Maximum UID to display in SDDM."
  26217. msgstr ""
  26218. #. type: item
  26219. #: guix-git/doc/guix.texi:17949
  26220. #, no-wrap
  26221. msgid "@code{remember-last-user?} (default #t)"
  26222. msgstr ""
  26223. #. type: table
  26224. #: guix-git/doc/guix.texi:17951
  26225. msgid "Remember last user."
  26226. msgstr ""
  26227. #. type: item
  26228. #: guix-git/doc/guix.texi:17952
  26229. #, no-wrap
  26230. msgid "@code{remember-last-session?} (default #t)"
  26231. msgstr ""
  26232. #. type: table
  26233. #: guix-git/doc/guix.texi:17954
  26234. msgid "Remember last session."
  26235. msgstr ""
  26236. #. type: item
  26237. #: guix-git/doc/guix.texi:17955
  26238. #, no-wrap
  26239. msgid "@code{hide-users} (default \"\")"
  26240. msgstr ""
  26241. #. type: table
  26242. #: guix-git/doc/guix.texi:17957
  26243. msgid "Usernames to hide from SDDM greeter."
  26244. msgstr ""
  26245. #. type: item
  26246. #: guix-git/doc/guix.texi:17958
  26247. #, no-wrap
  26248. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  26249. msgstr ""
  26250. #. type: table
  26251. #: guix-git/doc/guix.texi:17960
  26252. msgid "Users with shells listed will be hidden from the SDDM greeter."
  26253. msgstr ""
  26254. #. type: item
  26255. #: guix-git/doc/guix.texi:17961
  26256. #, no-wrap
  26257. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  26258. msgstr ""
  26259. #. type: table
  26260. #: guix-git/doc/guix.texi:17963
  26261. msgid "Script to run before starting a wayland session."
  26262. msgstr ""
  26263. #. type: item
  26264. #: guix-git/doc/guix.texi:17964
  26265. #, no-wrap
  26266. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  26267. msgstr ""
  26268. #. type: table
  26269. #: guix-git/doc/guix.texi:17966
  26270. msgid "Directory to look for desktop files starting wayland sessions."
  26271. msgstr ""
  26272. #. type: item
  26273. #: guix-git/doc/guix.texi:17970
  26274. #, no-wrap
  26275. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  26276. msgstr ""
  26277. #. type: table
  26278. #: guix-git/doc/guix.texi:17972
  26279. msgid "Path to xauth."
  26280. msgstr ""
  26281. #. type: item
  26282. #: guix-git/doc/guix.texi:17973
  26283. #, no-wrap
  26284. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  26285. msgstr ""
  26286. #. type: table
  26287. #: guix-git/doc/guix.texi:17975
  26288. msgid "Path to Xephyr."
  26289. msgstr ""
  26290. #. type: item
  26291. #: guix-git/doc/guix.texi:17976
  26292. #, no-wrap
  26293. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  26294. msgstr ""
  26295. #. type: table
  26296. #: guix-git/doc/guix.texi:17978
  26297. msgid "Script to run after starting xorg-server."
  26298. msgstr ""
  26299. #. type: item
  26300. #: guix-git/doc/guix.texi:17979
  26301. #, no-wrap
  26302. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  26303. msgstr ""
  26304. #. type: table
  26305. #: guix-git/doc/guix.texi:17981
  26306. msgid "Script to run before stopping xorg-server."
  26307. msgstr ""
  26308. #. type: item
  26309. #: guix-git/doc/guix.texi:17982
  26310. #, no-wrap
  26311. msgid "@code{xsession-command} (default: @code{xinitrc})"
  26312. msgstr ""
  26313. #. type: item
  26314. #: guix-git/doc/guix.texi:17985
  26315. #, no-wrap
  26316. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  26317. msgstr ""
  26318. #. type: table
  26319. #: guix-git/doc/guix.texi:17987
  26320. msgid "Directory to look for desktop files starting X sessions."
  26321. msgstr ""
  26322. #. type: item
  26323. #: guix-git/doc/guix.texi:17988
  26324. #, no-wrap
  26325. msgid "@code{minimum-vt} (default: 7)"
  26326. msgstr ""
  26327. #. type: table
  26328. #: guix-git/doc/guix.texi:17990
  26329. msgid "Minimum VT to use."
  26330. msgstr ""
  26331. #. type: item
  26332. #: guix-git/doc/guix.texi:17991
  26333. #, no-wrap
  26334. msgid "@code{auto-login-user} (default \"\")"
  26335. msgstr ""
  26336. #. type: table
  26337. #: guix-git/doc/guix.texi:17993
  26338. msgid "User to use for auto-login."
  26339. msgstr ""
  26340. #. type: item
  26341. #: guix-git/doc/guix.texi:17994
  26342. #, no-wrap
  26343. msgid "@code{auto-login-session} (default \"\")"
  26344. msgstr ""
  26345. #. type: table
  26346. #: guix-git/doc/guix.texi:17996
  26347. msgid "Desktop file to use for auto-login."
  26348. msgstr ""
  26349. #. type: item
  26350. #: guix-git/doc/guix.texi:17997
  26351. #, no-wrap
  26352. msgid "@code{relogin?} (default #f)"
  26353. msgstr ""
  26354. #. type: table
  26355. #: guix-git/doc/guix.texi:17999
  26356. msgid "Relogin after logout."
  26357. msgstr ""
  26358. #. type: cindex
  26359. #: guix-git/doc/guix.texi:18004
  26360. #, no-wrap
  26361. msgid "X11 login"
  26362. msgstr ""
  26363. #. type: defvr
  26364. #: guix-git/doc/guix.texi:18005
  26365. #, no-wrap
  26366. msgid "{Scheme Variable} sddm-service-type"
  26367. msgstr ""
  26368. #. type: defvr
  26369. #: guix-git/doc/guix.texi:18009
  26370. msgid "This is the type of the service to run the @uref{https://github.com/sddm/sddm,SDDM display manager}. Its value must be a @code{sddm-configuration} record (see below)."
  26371. msgstr ""
  26372. #. type: defvr
  26373. #: guix-git/doc/guix.texi:18011
  26374. msgid "Here's an example use:"
  26375. msgstr ""
  26376. #. type: lisp
  26377. #: guix-git/doc/guix.texi:18017
  26378. #, no-wrap
  26379. msgid ""
  26380. "(service sddm-service-type\n"
  26381. " (sddm-configuration\n"
  26382. " (auto-login-user \"alice\")\n"
  26383. " (auto-login-session \"xfce.desktop\")))\n"
  26384. msgstr ""
  26385. #. type: deftp
  26386. #: guix-git/doc/guix.texi:18023
  26387. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  26388. msgstr ""
  26389. #. type: item
  26390. #: guix-git/doc/guix.texi:18025
  26391. #, no-wrap
  26392. msgid "@code{sddm} (default: @code{sddm})"
  26393. msgstr ""
  26394. #. type: table
  26395. #: guix-git/doc/guix.texi:18027
  26396. msgid "The SDDM package to use."
  26397. msgstr ""
  26398. #. type: item
  26399. #: guix-git/doc/guix.texi:18028
  26400. #, no-wrap
  26401. msgid "@code{display-server} (default: @code{\"x11\"})"
  26402. msgstr ""
  26403. #. type: table
  26404. #: guix-git/doc/guix.texi:18030
  26405. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  26406. msgstr ""
  26407. #. type: item
  26408. #: guix-git/doc/guix.texi:18033
  26409. #, no-wrap
  26410. msgid "@code{auto-login-user} (default: @code{\"\"})"
  26411. msgstr ""
  26412. #. type: table
  26413. #: guix-git/doc/guix.texi:18036
  26414. msgid "If non-empty, this is the user account under which to log in automatically."
  26415. msgstr ""
  26416. #. type: item
  26417. #: guix-git/doc/guix.texi:18037
  26418. #, no-wrap
  26419. msgid "@code{auto-login-session} (default: @code{\"\"})"
  26420. msgstr ""
  26421. #. type: table
  26422. #: guix-git/doc/guix.texi:18040
  26423. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  26424. msgstr ""
  26425. #. type: cindex
  26426. #: guix-git/doc/guix.texi:18043
  26427. #, no-wrap
  26428. msgid "Xorg, configuration"
  26429. msgstr ""
  26430. #. type: deftp
  26431. #: guix-git/doc/guix.texi:18044
  26432. #, no-wrap
  26433. msgid "{Data Type} xorg-configuration"
  26434. msgstr ""
  26435. #. type: deftp
  26436. #: guix-git/doc/guix.texi:18049
  26437. msgid "This data type represents the configuration of the Xorg graphical display server. Note that there is no Xorg service; instead, the X server is started by a ``display manager'' such as GDM, SDDM, and SLiM@. Thus, the configuration of these display managers aggregates an @code{xorg-configuration} record."
  26438. msgstr ""
  26439. #. type: item
  26440. #: guix-git/doc/guix.texi:18051
  26441. #, no-wrap
  26442. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  26443. msgstr ""
  26444. #. type: table
  26445. #: guix-git/doc/guix.texi:18054
  26446. msgid "This is a list of @dfn{module packages} loaded by the Xorg server---e.g., @code{xf86-video-vesa}, @code{xf86-input-keyboard}, and so on."
  26447. msgstr ""
  26448. #. type: item
  26449. #: guix-git/doc/guix.texi:18055
  26450. #, no-wrap
  26451. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  26452. msgstr ""
  26453. #. type: table
  26454. #: guix-git/doc/guix.texi:18057
  26455. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  26456. msgstr ""
  26457. #. type: item
  26458. #: guix-git/doc/guix.texi:18058
  26459. #, no-wrap
  26460. msgid "@code{drivers} (default: @code{'()})"
  26461. msgstr ""
  26462. #. type: table
  26463. #: guix-git/doc/guix.texi:18062
  26464. msgid "This must be either the empty list, in which case Xorg chooses a graphics driver automatically, or a list of driver names that will be tried in this order---e.g., @code{(\"modesetting\" \"vesa\")}."
  26465. msgstr ""
  26466. #. type: item
  26467. #: guix-git/doc/guix.texi:18063
  26468. #, no-wrap
  26469. msgid "@code{resolutions} (default: @code{'()})"
  26470. msgstr ""
  26471. #. type: table
  26472. #: guix-git/doc/guix.texi:18067
  26473. msgid "When @code{resolutions} is the empty list, Xorg chooses an appropriate screen resolution. Otherwise, it must be a list of resolutions---e.g., @code{((1024 768) (640 480))}."
  26474. msgstr ""
  26475. #. type: cindex
  26476. #: guix-git/doc/guix.texi:18068
  26477. #, no-wrap
  26478. msgid "keyboard layout, for Xorg"
  26479. msgstr ""
  26480. #. type: cindex
  26481. #: guix-git/doc/guix.texi:18069
  26482. #, no-wrap
  26483. msgid "keymap, for Xorg"
  26484. msgstr ""
  26485. #. type: table
  26486. #: guix-git/doc/guix.texi:18073
  26487. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  26488. msgstr ""
  26489. #. type: table
  26490. #: guix-git/doc/guix.texi:18077
  26491. msgid "Otherwise this must be a @code{keyboard-layout} object specifying the keyboard layout in use when Xorg is running. @xref{Keyboard Layout}, for more information on how to specify the keyboard layout."
  26492. msgstr ""
  26493. #. type: item
  26494. #: guix-git/doc/guix.texi:18078 guix-git/doc/guix.texi:19789
  26495. #: guix-git/doc/guix.texi:31970
  26496. #, no-wrap
  26497. msgid "@code{extra-config} (default: @code{'()})"
  26498. msgstr ""
  26499. #. type: table
  26500. #: guix-git/doc/guix.texi:18081 guix-git/doc/guix.texi:31974
  26501. msgid "This is a list of strings or objects appended to the configuration file. It is used to pass extra text to be added verbatim to the configuration file."
  26502. msgstr ""
  26503. #. type: item
  26504. #: guix-git/doc/guix.texi:18082
  26505. #, no-wrap
  26506. msgid "@code{server} (default: @code{xorg-server})"
  26507. msgstr ""
  26508. #. type: table
  26509. #: guix-git/doc/guix.texi:18084
  26510. msgid "This is the package providing the Xorg server."
  26511. msgstr ""
  26512. #. type: item
  26513. #: guix-git/doc/guix.texi:18085
  26514. #, no-wrap
  26515. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  26516. msgstr ""
  26517. #. type: table
  26518. #: guix-git/doc/guix.texi:18088
  26519. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  26520. msgstr ""
  26521. #. type: deffn
  26522. #: guix-git/doc/guix.texi:18091
  26523. #, no-wrap
  26524. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  26525. msgstr ""
  26526. #. type: deffn
  26527. #: guix-git/doc/guix.texi:18095
  26528. msgid "[@var{login-manager-service-type}] Tell the log-in manager (of type @var{login-manager-service-type}) to use @var{config}, an @code{<xorg-configuration>} record."
  26529. msgstr ""
  26530. #. type: deffn
  26531. #: guix-git/doc/guix.texi:18099
  26532. msgid "Since the Xorg configuration is embedded in the log-in manager's configuration---e.g., @code{gdm-configuration}---this procedure provides a shorthand to set the Xorg configuration."
  26533. msgstr ""
  26534. #. type: deffn
  26535. #: guix-git/doc/guix.texi:18101
  26536. #, no-wrap
  26537. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  26538. msgstr ""
  26539. #. type: deffn
  26540. #: guix-git/doc/guix.texi:18105
  26541. msgid "Return a @code{startx} script in which the modules, fonts, etc. specified in @var{config}, are available. The result should be used in place of @code{startx}."
  26542. msgstr ""
  26543. #. type: deffn
  26544. #: guix-git/doc/guix.texi:18107
  26545. msgid "Usually the X server is started by a login manager."
  26546. msgstr ""
  26547. #. type: deffn
  26548. #: guix-git/doc/guix.texi:18110
  26549. #, no-wrap
  26550. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  26551. msgstr ""
  26552. #. type: deffn
  26553. #: guix-git/doc/guix.texi:18114
  26554. msgid "Add @var{package}, a package for a screen locker or screen saver whose command is @var{program}, to the set of setuid programs and add a PAM entry for it. For example:"
  26555. msgstr ""
  26556. #. type: lisp
  26557. #: guix-git/doc/guix.texi:18117
  26558. #, no-wrap
  26559. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  26560. msgstr ""
  26561. #. type: deffn
  26562. #: guix-git/doc/guix.texi:18120
  26563. msgid "makes the good ol' XlockMore usable."
  26564. msgstr ""
  26565. #. type: cindex
  26566. #: guix-git/doc/guix.texi:18126
  26567. #, no-wrap
  26568. msgid "printer support with CUPS"
  26569. msgstr ""
  26570. #. type: Plain text
  26571. #: guix-git/doc/guix.texi:18130
  26572. msgid "The @code{(gnu services cups)} module provides a Guix service definition for the CUPS printing service. To add printer support to a Guix system, add a @code{cups-service} to the operating system definition:"
  26573. msgstr ""
  26574. #. type: deffn
  26575. #: guix-git/doc/guix.texi:18131
  26576. #, no-wrap
  26577. msgid "{Scheme Variable} cups-service-type"
  26578. msgstr ""
  26579. #. type: deffn
  26580. #: guix-git/doc/guix.texi:18135
  26581. msgid "The service type for the CUPS print server. Its value should be a valid CUPS configuration (see below). To use the default settings, simply write:"
  26582. msgstr ""
  26583. #. type: lisp
  26584. #: guix-git/doc/guix.texi:18137
  26585. #, no-wrap
  26586. msgid "(service cups-service-type)\n"
  26587. msgstr ""
  26588. #. type: Plain text
  26589. #: guix-git/doc/guix.texi:18147
  26590. msgid "The CUPS configuration controls the basic things about your CUPS installation: what interfaces it listens on, what to do if a print job fails, how much logging to do, and so on. To actually add a printer, you have to visit the @url{http://localhost:631} URL, or use a tool such as GNOME's printer configuration services. By default, configuring a CUPS service will generate a self-signed certificate if needed, for secure connections to the print server."
  26591. msgstr ""
  26592. #. type: Plain text
  26593. #: guix-git/doc/guix.texi:18153
  26594. msgid "Suppose you want to enable the Web interface of CUPS and also add support for Epson printers @i{via} the @code{epson-inkjet-printer-escpr} package and for HP printers @i{via} the @code{hplip-minimal} package. You can do that directly, like this (you need to use the @code{(gnu packages cups)} module):"
  26595. msgstr ""
  26596. #. type: lisp
  26597. #: guix-git/doc/guix.texi:18160
  26598. #, no-wrap
  26599. msgid ""
  26600. "(service cups-service-type\n"
  26601. " (cups-configuration\n"
  26602. " (web-interface? #t)\n"
  26603. " (extensions\n"
  26604. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  26605. msgstr ""
  26606. #. type: Plain text
  26607. #: guix-git/doc/guix.texi:18165
  26608. msgid "Note: If you wish to use the Qt5 based GUI which comes with the hplip package then it is suggested that you install the @code{hplip} package, either in your OS configuration file or as your user."
  26609. msgstr ""
  26610. #. type: Plain text
  26611. #: guix-git/doc/guix.texi:18172
  26612. msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. There is also a way to specify the configuration as a string, if you have an old @code{cupsd.conf} file that you want to port over from some other system; see the end for more details."
  26613. msgstr ""
  26614. #. type: Plain text
  26615. #: guix-git/doc/guix.texi:18183
  26616. msgid "Available @code{cups-configuration} fields are:"
  26617. msgstr ""
  26618. #. type: deftypevr
  26619. #: guix-git/doc/guix.texi:18184
  26620. #, no-wrap
  26621. msgid "{@code{cups-configuration} parameter} package cups"
  26622. msgstr ""
  26623. #. type: deftypevr
  26624. #: guix-git/doc/guix.texi:18186 guix-git/doc/guix.texi:18954
  26625. msgid "The CUPS package."
  26626. msgstr ""
  26627. #. type: deftypevr
  26628. #: guix-git/doc/guix.texi:18188
  26629. #, no-wrap
  26630. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  26631. msgstr ""
  26632. #. type: deftypevr
  26633. #: guix-git/doc/guix.texi:18190
  26634. msgid "Drivers and other extensions to the CUPS package."
  26635. msgstr ""
  26636. #. type: deftypevr
  26637. #: guix-git/doc/guix.texi:18192
  26638. #, no-wrap
  26639. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  26640. msgstr ""
  26641. #. type: deftypevr
  26642. #: guix-git/doc/guix.texi:18195
  26643. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  26644. msgstr ""
  26645. #. type: deftypevr
  26646. #: guix-git/doc/guix.texi:18197
  26647. msgid "Available @code{files-configuration} fields are:"
  26648. msgstr ""
  26649. #. type: deftypevr
  26650. #: guix-git/doc/guix.texi:18198
  26651. #, no-wrap
  26652. msgid "{@code{files-configuration} parameter} log-location access-log"
  26653. msgstr ""
  26654. #. type: deftypevr
  26655. #: guix-git/doc/guix.texi:18206
  26656. msgid "Defines the access log filename. Specifying a blank filename disables access log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-access_log}."
  26657. msgstr ""
  26658. #. type: deftypevr
  26659. #: guix-git/doc/guix.texi:18208
  26660. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  26661. msgstr ""
  26662. #. type: deftypevr
  26663. #: guix-git/doc/guix.texi:18210
  26664. #, no-wrap
  26665. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  26666. msgstr ""
  26667. #. type: deftypevr
  26668. #: guix-git/doc/guix.texi:18212
  26669. msgid "Where CUPS should cache data."
  26670. msgstr ""
  26671. #. type: deftypevr
  26672. #: guix-git/doc/guix.texi:18214
  26673. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  26674. msgstr ""
  26675. #. type: deftypevr
  26676. #: guix-git/doc/guix.texi:18216
  26677. #, no-wrap
  26678. msgid "{@code{files-configuration} parameter} string config-file-perm"
  26679. msgstr ""
  26680. #. type: deftypevr
  26681. #: guix-git/doc/guix.texi:18219
  26682. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  26683. msgstr ""
  26684. #. type: deftypevr
  26685. #: guix-git/doc/guix.texi:18225
  26686. msgid "Note that the permissions for the printers.conf file are currently masked to only allow access from the scheduler user (typically root). This is done because printer device URIs sometimes contain sensitive authentication information that should not be generally known on the system. There is no way to disable this security feature."
  26687. msgstr ""
  26688. #. type: deftypevr
  26689. #: guix-git/doc/guix.texi:18227
  26690. msgid "Defaults to @samp{\"0640\"}."
  26691. msgstr ""
  26692. #. type: deftypevr
  26693. #: guix-git/doc/guix.texi:18229
  26694. #, no-wrap
  26695. msgid "{@code{files-configuration} parameter} log-location error-log"
  26696. msgstr ""
  26697. #. type: deftypevr
  26698. #: guix-git/doc/guix.texi:18237
  26699. msgid "Defines the error log filename. Specifying a blank filename disables error log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-error_log}."
  26700. msgstr ""
  26701. #. type: deftypevr
  26702. #: guix-git/doc/guix.texi:18239
  26703. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  26704. msgstr ""
  26705. #. type: deftypevr
  26706. #: guix-git/doc/guix.texi:18241
  26707. #, no-wrap
  26708. msgid "{@code{files-configuration} parameter} string fatal-errors"
  26709. msgstr ""
  26710. #. type: deftypevr
  26711. #: guix-git/doc/guix.texi:18244
  26712. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  26713. msgstr ""
  26714. #. type: table
  26715. #: guix-git/doc/guix.texi:18248
  26716. msgid "No errors are fatal."
  26717. msgstr ""
  26718. #. type: table
  26719. #: guix-git/doc/guix.texi:18251
  26720. msgid "All of the errors below are fatal."
  26721. msgstr ""
  26722. #. type: item
  26723. #: guix-git/doc/guix.texi:18252
  26724. #, no-wrap
  26725. msgid "browse"
  26726. msgstr ""
  26727. #. type: table
  26728. #: guix-git/doc/guix.texi:18255
  26729. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  26730. msgstr ""
  26731. #. type: item
  26732. #: guix-git/doc/guix.texi:18256
  26733. #, no-wrap
  26734. msgid "config"
  26735. msgstr ""
  26736. #. type: table
  26737. #: guix-git/doc/guix.texi:18258
  26738. msgid "Configuration file syntax errors are fatal."
  26739. msgstr ""
  26740. #. type: item
  26741. #: guix-git/doc/guix.texi:18259
  26742. #, no-wrap
  26743. msgid "listen"
  26744. msgstr ""
  26745. #. type: table
  26746. #: guix-git/doc/guix.texi:18262
  26747. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  26748. msgstr ""
  26749. #. type: item
  26750. #: guix-git/doc/guix.texi:18263
  26751. #, no-wrap
  26752. msgid "log"
  26753. msgstr ""
  26754. #. type: table
  26755. #: guix-git/doc/guix.texi:18265
  26756. msgid "Log file creation or write errors are fatal."
  26757. msgstr ""
  26758. #. type: item
  26759. #: guix-git/doc/guix.texi:18266
  26760. #, no-wrap
  26761. msgid "permissions"
  26762. msgstr ""
  26763. #. type: table
  26764. #: guix-git/doc/guix.texi:18269
  26765. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  26766. msgstr ""
  26767. #. type: deftypevr
  26768. #: guix-git/doc/guix.texi:18272
  26769. msgid "Defaults to @samp{\"all -browse\"}."
  26770. msgstr ""
  26771. #. type: deftypevr
  26772. #: guix-git/doc/guix.texi:18274
  26773. #, no-wrap
  26774. msgid "{@code{files-configuration} parameter} boolean file-device?"
  26775. msgstr ""
  26776. #. type: deftypevr
  26777. #: guix-git/doc/guix.texi:18277
  26778. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  26779. msgstr ""
  26780. #. type: deftypevr
  26781. #: guix-git/doc/guix.texi:18279 guix-git/doc/guix.texi:18349
  26782. #: guix-git/doc/guix.texi:18391 guix-git/doc/guix.texi:18411
  26783. #: guix-git/doc/guix.texi:18417 guix-git/doc/guix.texi:18433
  26784. #: guix-git/doc/guix.texi:18521 guix-git/doc/guix.texi:18615
  26785. #: guix-git/doc/guix.texi:18928 guix-git/doc/guix.texi:18941
  26786. #: guix-git/doc/guix.texi:21490 guix-git/doc/guix.texi:21596
  26787. #: guix-git/doc/guix.texi:21661 guix-git/doc/guix.texi:21670
  26788. #: guix-git/doc/guix.texi:22675 guix-git/doc/guix.texi:22719
  26789. #: guix-git/doc/guix.texi:22736 guix-git/doc/guix.texi:22744
  26790. #: guix-git/doc/guix.texi:22759 guix-git/doc/guix.texi:22777
  26791. #: guix-git/doc/guix.texi:22801 guix-git/doc/guix.texi:22854
  26792. #: guix-git/doc/guix.texi:22987 guix-git/doc/guix.texi:23021
  26793. #: guix-git/doc/guix.texi:23057 guix-git/doc/guix.texi:23073
  26794. #: guix-git/doc/guix.texi:23101 guix-git/doc/guix.texi:23162
  26795. #: guix-git/doc/guix.texi:23245 guix-git/doc/guix.texi:26638
  26796. #: guix-git/doc/guix.texi:26652 guix-git/doc/guix.texi:26674
  26797. #: guix-git/doc/guix.texi:26793 guix-git/doc/guix.texi:26807
  26798. #: guix-git/doc/guix.texi:26828 guix-git/doc/guix.texi:26849
  26799. #: guix-git/doc/guix.texi:26856 guix-git/doc/guix.texi:26901
  26800. #: guix-git/doc/guix.texi:26908 guix-git/doc/guix.texi:27641
  26801. #: guix-git/doc/guix.texi:27655 guix-git/doc/guix.texi:27827
  26802. #: guix-git/doc/guix.texi:27872 guix-git/doc/guix.texi:27959
  26803. #: guix-git/doc/guix.texi:28161 guix-git/doc/guix.texi:28194
  26804. #: guix-git/doc/guix.texi:28334 guix-git/doc/guix.texi:28345
  26805. #: guix-git/doc/guix.texi:28596 guix-git/doc/guix.texi:30061
  26806. #: guix-git/doc/guix.texi:30070 guix-git/doc/guix.texi:30078
  26807. #: guix-git/doc/guix.texi:30086 guix-git/doc/guix.texi:30102
  26808. #: guix-git/doc/guix.texi:30118 guix-git/doc/guix.texi:30126
  26809. #: guix-git/doc/guix.texi:30134 guix-git/doc/guix.texi:30143
  26810. #: guix-git/doc/guix.texi:30152 guix-git/doc/guix.texi:30168
  26811. #: guix-git/doc/guix.texi:30232 guix-git/doc/guix.texi:30338
  26812. #: guix-git/doc/guix.texi:30346 guix-git/doc/guix.texi:30354
  26813. #: guix-git/doc/guix.texi:30379 guix-git/doc/guix.texi:30433
  26814. #: guix-git/doc/guix.texi:30481 guix-git/doc/guix.texi:30682
  26815. #: guix-git/doc/guix.texi:30689
  26816. msgid "Defaults to @samp{#f}."
  26817. msgstr ""
  26818. #. type: deftypevr
  26819. #: guix-git/doc/guix.texi:18281
  26820. #, no-wrap
  26821. msgid "{@code{files-configuration} parameter} string group"
  26822. msgstr ""
  26823. #. type: deftypevr
  26824. #: guix-git/doc/guix.texi:18284
  26825. msgid "Specifies the group name or ID that will be used when executing external programs."
  26826. msgstr ""
  26827. #. type: deftypevr
  26828. #: guix-git/doc/guix.texi:18286 guix-git/doc/guix.texi:18366
  26829. msgid "Defaults to @samp{\"lp\"}."
  26830. msgstr ""
  26831. #. type: deftypevr
  26832. #: guix-git/doc/guix.texi:18288
  26833. #, no-wrap
  26834. msgid "{@code{files-configuration} parameter} string log-file-perm"
  26835. msgstr ""
  26836. #. type: deftypevr
  26837. #: guix-git/doc/guix.texi:18290
  26838. msgid "Specifies the permissions for all log files that the scheduler writes."
  26839. msgstr ""
  26840. #. type: deftypevr
  26841. #: guix-git/doc/guix.texi:18292
  26842. msgid "Defaults to @samp{\"0644\"}."
  26843. msgstr ""
  26844. #. type: deftypevr
  26845. #: guix-git/doc/guix.texi:18294
  26846. #, no-wrap
  26847. msgid "{@code{files-configuration} parameter} log-location page-log"
  26848. msgstr ""
  26849. #. type: deftypevr
  26850. #: guix-git/doc/guix.texi:18302
  26851. msgid "Defines the page log filename. Specifying a blank filename disables page log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-page_log}."
  26852. msgstr ""
  26853. #. type: deftypevr
  26854. #: guix-git/doc/guix.texi:18304
  26855. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  26856. msgstr ""
  26857. #. type: deftypevr
  26858. #: guix-git/doc/guix.texi:18306
  26859. #, no-wrap
  26860. msgid "{@code{files-configuration} parameter} string remote-root"
  26861. msgstr ""
  26862. #. type: deftypevr
  26863. #: guix-git/doc/guix.texi:18309
  26864. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  26865. msgstr ""
  26866. #. type: deftypevr
  26867. #: guix-git/doc/guix.texi:18311
  26868. msgid "Defaults to @samp{\"remroot\"}."
  26869. msgstr ""
  26870. #. type: deftypevr
  26871. #: guix-git/doc/guix.texi:18313
  26872. #, no-wrap
  26873. msgid "{@code{files-configuration} parameter} file-name request-root"
  26874. msgstr ""
  26875. #. type: deftypevr
  26876. #: guix-git/doc/guix.texi:18316
  26877. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  26878. msgstr ""
  26879. #. type: deftypevr
  26880. #: guix-git/doc/guix.texi:18318
  26881. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  26882. msgstr ""
  26883. #. type: deftypevr
  26884. #: guix-git/doc/guix.texi:18320
  26885. #, no-wrap
  26886. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  26887. msgstr ""
  26888. #. type: deftypevr
  26889. #: guix-git/doc/guix.texi:18325
  26890. msgid "Specifies the level of security sandboxing that is applied to print filters, backends, and other child processes of the scheduler; either @code{relaxed} or @code{strict}. This directive is currently only used/supported on macOS."
  26891. msgstr ""
  26892. #. type: deftypevr
  26893. #: guix-git/doc/guix.texi:18327
  26894. msgid "Defaults to @samp{strict}."
  26895. msgstr ""
  26896. #. type: deftypevr
  26897. #: guix-git/doc/guix.texi:18329
  26898. #, no-wrap
  26899. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  26900. msgstr ""
  26901. #. type: deftypevr
  26902. #: guix-git/doc/guix.texi:18334
  26903. msgid "Specifies the location of TLS certificates and private keys. CUPS will look for public and private keys in this directory: @file{.crt} files for PEM-encoded certificates and corresponding @file{.key} files for PEM-encoded private keys."
  26904. msgstr ""
  26905. #. type: deftypevr
  26906. #: guix-git/doc/guix.texi:18336
  26907. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  26908. msgstr ""
  26909. #. type: deftypevr
  26910. #: guix-git/doc/guix.texi:18338
  26911. #, no-wrap
  26912. msgid "{@code{files-configuration} parameter} file-name server-root"
  26913. msgstr ""
  26914. #. type: deftypevr
  26915. #: guix-git/doc/guix.texi:18340
  26916. msgid "Specifies the directory containing the server configuration files."
  26917. msgstr ""
  26918. #. type: deftypevr
  26919. #: guix-git/doc/guix.texi:18342
  26920. msgid "Defaults to @samp{\"/etc/cups\"}."
  26921. msgstr ""
  26922. #. type: deftypevr
  26923. #: guix-git/doc/guix.texi:18344
  26924. #, no-wrap
  26925. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  26926. msgstr ""
  26927. #. type: deftypevr
  26928. #: guix-git/doc/guix.texi:18347
  26929. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  26930. msgstr ""
  26931. #. type: deftypevr
  26932. #: guix-git/doc/guix.texi:18351
  26933. #, no-wrap
  26934. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  26935. msgstr ""
  26936. #. type: deftypevr
  26937. #: guix-git/doc/guix.texi:18353
  26938. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  26939. msgstr ""
  26940. #. type: deftypevr
  26941. #: guix-git/doc/guix.texi:18355
  26942. #, no-wrap
  26943. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  26944. msgstr ""
  26945. #. type: deftypevr
  26946. #: guix-git/doc/guix.texi:18357
  26947. msgid "Specifies the directory where temporary files are stored."
  26948. msgstr ""
  26949. #. type: deftypevr
  26950. #: guix-git/doc/guix.texi:18359
  26951. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  26952. msgstr ""
  26953. #. type: deftypevr
  26954. #: guix-git/doc/guix.texi:18361
  26955. #, no-wrap
  26956. msgid "{@code{files-configuration} parameter} string user"
  26957. msgstr ""
  26958. #. type: deftypevr
  26959. #: guix-git/doc/guix.texi:18364
  26960. msgid "Specifies the user name or ID that is used when running external programs."
  26961. msgstr ""
  26962. #. type: deftypevr
  26963. #: guix-git/doc/guix.texi:18368
  26964. #, no-wrap
  26965. msgid "{@code{files-configuration} parameter} string set-env"
  26966. msgstr ""
  26967. #. type: deftypevr
  26968. #: guix-git/doc/guix.texi:18370
  26969. msgid "Set the specified environment variable to be passed to child processes."
  26970. msgstr ""
  26971. #. type: deftypevr
  26972. #: guix-git/doc/guix.texi:18372
  26973. msgid "Defaults to @samp{\"variable value\"}."
  26974. msgstr ""
  26975. #. type: deftypevr
  26976. #: guix-git/doc/guix.texi:18375
  26977. #, no-wrap
  26978. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  26979. msgstr ""
  26980. #. type: deftypevr
  26981. #: guix-git/doc/guix.texi:18382
  26982. msgid "Specifies the logging level for the AccessLog file. The @code{config} level logs when printers and classes are added, deleted, or modified and when configuration files are accessed or updated. The @code{actions} level logs when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for @code{config}. The @code{all} level logs all requests."
  26983. msgstr ""
  26984. #. type: deftypevr
  26985. #: guix-git/doc/guix.texi:18384
  26986. msgid "Defaults to @samp{actions}."
  26987. msgstr ""
  26988. #. type: deftypevr
  26989. #: guix-git/doc/guix.texi:18386
  26990. #, no-wrap
  26991. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  26992. msgstr ""
  26993. #. type: deftypevr
  26994. #: guix-git/doc/guix.texi:18389
  26995. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  26996. msgstr ""
  26997. #. type: deftypevr
  26998. #: guix-git/doc/guix.texi:18393
  26999. #, no-wrap
  27000. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  27001. msgstr ""
  27002. #. type: deftypevr
  27003. #: guix-git/doc/guix.texi:18397
  27004. msgid "Specifies a list of DNS-SD sub-types to advertise for each shared printer. For example, @samp{\"_cups\" \"_print\"} will tell network clients that both CUPS sharing and IPP Everywhere are supported."
  27005. msgstr ""
  27006. #. type: deftypevr
  27007. #: guix-git/doc/guix.texi:18399
  27008. msgid "Defaults to @samp{\"_cups\"}."
  27009. msgstr ""
  27010. #. type: deftypevr
  27011. #: guix-git/doc/guix.texi:18401
  27012. #, no-wrap
  27013. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  27014. msgstr ""
  27015. #. type: deftypevr
  27016. #: guix-git/doc/guix.texi:18403
  27017. msgid "Specifies which protocols to use for local printer sharing."
  27018. msgstr ""
  27019. #. type: deftypevr
  27020. #: guix-git/doc/guix.texi:18405
  27021. msgid "Defaults to @samp{dnssd}."
  27022. msgstr ""
  27023. #. type: deftypevr
  27024. #: guix-git/doc/guix.texi:18407
  27025. #, no-wrap
  27026. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  27027. msgstr ""
  27028. #. type: deftypevr
  27029. #: guix-git/doc/guix.texi:18409
  27030. msgid "Specifies whether the CUPS web interface is advertised."
  27031. msgstr ""
  27032. #. type: deftypevr
  27033. #: guix-git/doc/guix.texi:18413
  27034. #, no-wrap
  27035. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  27036. msgstr ""
  27037. #. type: deftypevr
  27038. #: guix-git/doc/guix.texi:18415
  27039. msgid "Specifies whether shared printers are advertised."
  27040. msgstr ""
  27041. #. type: deftypevr
  27042. #: guix-git/doc/guix.texi:18419
  27043. #, no-wrap
  27044. msgid "{@code{cups-configuration} parameter} string classification"
  27045. msgstr ""
  27046. #. type: deftypevr
  27047. #: guix-git/doc/guix.texi:18424
  27048. msgid "Specifies the security classification of the server. Any valid banner name can be used, including @samp{\"classified\"}, @samp{\"confidential\"}, @samp{\"secret\"}, @samp{\"topsecret\"}, and @samp{\"unclassified\"}, or the banner can be omitted to disable secure printing functions."
  27049. msgstr ""
  27050. #. type: deftypevr
  27051. #: guix-git/doc/guix.texi:18426 guix-git/doc/guix.texi:18763
  27052. #: guix-git/doc/guix.texi:20711 guix-git/doc/guix.texi:20723
  27053. #: guix-git/doc/guix.texi:21497 guix-git/doc/guix.texi:21511
  27054. #: guix-git/doc/guix.texi:21518 guix-git/doc/guix.texi:21525
  27055. #: guix-git/doc/guix.texi:21555 guix-git/doc/guix.texi:21653
  27056. #: guix-git/doc/guix.texi:23544 guix-git/doc/guix.texi:23570
  27057. #: guix-git/doc/guix.texi:23606 guix-git/doc/guix.texi:23652
  27058. #: guix-git/doc/guix.texi:23671 guix-git/doc/guix.texi:23710
  27059. #: guix-git/doc/guix.texi:23769 guix-git/doc/guix.texi:23779
  27060. #: guix-git/doc/guix.texi:28300 guix-git/doc/guix.texi:28308
  27061. #: guix-git/doc/guix.texi:28316 guix-git/doc/guix.texi:28324
  27062. #: guix-git/doc/guix.texi:28603 guix-git/doc/guix.texi:29904
  27063. #: guix-git/doc/guix.texi:29912 guix-git/doc/guix.texi:29920
  27064. #: guix-git/doc/guix.texi:30028 guix-git/doc/guix.texi:30053
  27065. #: guix-git/doc/guix.texi:30184 guix-git/doc/guix.texi:30192
  27066. #: guix-git/doc/guix.texi:30200 guix-git/doc/guix.texi:30208
  27067. #: guix-git/doc/guix.texi:30216 guix-git/doc/guix.texi:30224
  27068. #: guix-git/doc/guix.texi:30247 guix-git/doc/guix.texi:30255
  27069. #: guix-git/doc/guix.texi:30307 guix-git/doc/guix.texi:30323
  27070. #: guix-git/doc/guix.texi:30331 guix-git/doc/guix.texi:30370
  27071. #: guix-git/doc/guix.texi:30393 guix-git/doc/guix.texi:30415
  27072. #: guix-git/doc/guix.texi:30422 guix-git/doc/guix.texi:30457
  27073. #: guix-git/doc/guix.texi:30465 guix-git/doc/guix.texi:30489
  27074. #: guix-git/doc/guix.texi:30521 guix-git/doc/guix.texi:30550
  27075. #: guix-git/doc/guix.texi:30557 guix-git/doc/guix.texi:30564
  27076. #: guix-git/doc/guix.texi:30572 guix-git/doc/guix.texi:30586
  27077. #: guix-git/doc/guix.texi:30595 guix-git/doc/guix.texi:30605
  27078. #: guix-git/doc/guix.texi:30612 guix-git/doc/guix.texi:30619
  27079. #: guix-git/doc/guix.texi:30626 guix-git/doc/guix.texi:30697
  27080. #: guix-git/doc/guix.texi:30704 guix-git/doc/guix.texi:30711
  27081. #: guix-git/doc/guix.texi:30720 guix-git/doc/guix.texi:30736
  27082. #: guix-git/doc/guix.texi:30743 guix-git/doc/guix.texi:30750
  27083. #: guix-git/doc/guix.texi:30757 guix-git/doc/guix.texi:30765
  27084. #: guix-git/doc/guix.texi:30773
  27085. msgid "Defaults to @samp{\"\"}."
  27086. msgstr ""
  27087. #. type: deftypevr
  27088. #: guix-git/doc/guix.texi:18428
  27089. #, no-wrap
  27090. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  27091. msgstr ""
  27092. #. type: deftypevr
  27093. #: guix-git/doc/guix.texi:18431
  27094. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  27095. msgstr ""
  27096. #. type: deftypevr
  27097. #: guix-git/doc/guix.texi:18435
  27098. #, no-wrap
  27099. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  27100. msgstr ""
  27101. #. type: deftypevr
  27102. #: guix-git/doc/guix.texi:18437
  27103. msgid "Specifies the default type of authentication to use."
  27104. msgstr ""
  27105. #. type: deftypevr
  27106. #: guix-git/doc/guix.texi:18439
  27107. msgid "Defaults to @samp{Basic}."
  27108. msgstr ""
  27109. #. type: deftypevr
  27110. #: guix-git/doc/guix.texi:18441
  27111. #, no-wrap
  27112. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  27113. msgstr ""
  27114. #. type: deftypevr
  27115. #: guix-git/doc/guix.texi:18443
  27116. msgid "Specifies whether encryption will be used for authenticated requests."
  27117. msgstr ""
  27118. #. type: deftypevr
  27119. #: guix-git/doc/guix.texi:18445
  27120. msgid "Defaults to @samp{Required}."
  27121. msgstr ""
  27122. #. type: deftypevr
  27123. #: guix-git/doc/guix.texi:18447
  27124. #, no-wrap
  27125. msgid "{@code{cups-configuration} parameter} string default-language"
  27126. msgstr ""
  27127. #. type: deftypevr
  27128. #: guix-git/doc/guix.texi:18449
  27129. msgid "Specifies the default language to use for text and web content."
  27130. msgstr ""
  27131. #. type: deftypevr
  27132. #: guix-git/doc/guix.texi:18451
  27133. msgid "Defaults to @samp{\"en\"}."
  27134. msgstr ""
  27135. #. type: deftypevr
  27136. #: guix-git/doc/guix.texi:18453
  27137. #, no-wrap
  27138. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  27139. msgstr ""
  27140. #. type: deftypevr
  27141. #: guix-git/doc/guix.texi:18458
  27142. msgid "Specifies the default paper size for new print queues. @samp{\"Auto\"} uses a locale-specific default, while @samp{\"None\"} specifies there is no default paper size. Specific size names are typically @samp{\"Letter\"} or @samp{\"A4\"}."
  27143. msgstr ""
  27144. #. type: deftypevr
  27145. #: guix-git/doc/guix.texi:18460
  27146. msgid "Defaults to @samp{\"Auto\"}."
  27147. msgstr ""
  27148. #. type: deftypevr
  27149. #: guix-git/doc/guix.texi:18462
  27150. #, no-wrap
  27151. msgid "{@code{cups-configuration} parameter} string default-policy"
  27152. msgstr ""
  27153. #. type: deftypevr
  27154. #: guix-git/doc/guix.texi:18464
  27155. msgid "Specifies the default access policy to use."
  27156. msgstr ""
  27157. #. type: deftypevr
  27158. #: guix-git/doc/guix.texi:18466
  27159. msgid "Defaults to @samp{\"default\"}."
  27160. msgstr ""
  27161. #. type: deftypevr
  27162. #: guix-git/doc/guix.texi:18468
  27163. #, no-wrap
  27164. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  27165. msgstr ""
  27166. #. type: deftypevr
  27167. #: guix-git/doc/guix.texi:18470
  27168. msgid "Specifies whether local printers are shared by default."
  27169. msgstr ""
  27170. #. type: deftypevr
  27171. #: guix-git/doc/guix.texi:18472 guix-git/doc/guix.texi:18552
  27172. #: guix-git/doc/guix.texi:18848 guix-git/doc/guix.texi:21587
  27173. #: guix-git/doc/guix.texi:21638 guix-git/doc/guix.texi:21645
  27174. #: guix-git/doc/guix.texi:22699 guix-git/doc/guix.texi:22887
  27175. #: guix-git/doc/guix.texi:23004 guix-git/doc/guix.texi:23040
  27176. #: guix-git/doc/guix.texi:23091 guix-git/doc/guix.texi:23110
  27177. #: guix-git/doc/guix.texi:23120 guix-git/doc/guix.texi:23130
  27178. #: guix-git/doc/guix.texi:23189 guix-git/doc/guix.texi:23211
  27179. #: guix-git/doc/guix.texi:23236 guix-git/doc/guix.texi:23262
  27180. #: guix-git/doc/guix.texi:23280 guix-git/doc/guix.texi:26460
  27181. #: guix-git/doc/guix.texi:26488 guix-git/doc/guix.texi:26615
  27182. #: guix-git/doc/guix.texi:26622 guix-git/doc/guix.texi:26630
  27183. #: guix-git/doc/guix.texi:26667 guix-git/doc/guix.texi:26681
  27184. #: guix-git/doc/guix.texi:26770 guix-git/doc/guix.texi:26777
  27185. #: guix-git/doc/guix.texi:26785 guix-git/doc/guix.texi:27508
  27186. #: guix-git/doc/guix.texi:27648 guix-git/doc/guix.texi:27834
  27187. #: guix-git/doc/guix.texi:27841 guix-git/doc/guix.texi:27863
  27188. #: guix-git/doc/guix.texi:27902 guix-git/doc/guix.texi:27922
  27189. #: guix-git/doc/guix.texi:27936 guix-git/doc/guix.texi:28149
  27190. #: guix-git/doc/guix.texi:30006 guix-git/doc/guix.texi:30094
  27191. #: guix-git/doc/guix.texi:30110 guix-git/doc/guix.texi:30160
  27192. msgid "Defaults to @samp{#t}."
  27193. msgstr ""
  27194. #. type: deftypevr
  27195. #: guix-git/doc/guix.texi:18474
  27196. #, no-wrap
  27197. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  27198. msgstr ""
  27199. #. type: deftypevr
  27200. #: guix-git/doc/guix.texi:18478
  27201. msgid "Specifies the delay for updating of configuration and state files, in seconds. A value of 0 causes the update to happen as soon as possible, typically within a few milliseconds."
  27202. msgstr ""
  27203. #. type: deftypevr
  27204. #: guix-git/doc/guix.texi:18480 guix-git/doc/guix.texi:18528
  27205. #: guix-git/doc/guix.texi:18537 guix-git/doc/guix.texi:18558
  27206. #: guix-git/doc/guix.texi:18855 guix-git/doc/guix.texi:23049
  27207. #: guix-git/doc/guix.texi:23082
  27208. msgid "Defaults to @samp{30}."
  27209. msgstr ""
  27210. #. type: deftypevr
  27211. #: guix-git/doc/guix.texi:18482
  27212. #, no-wrap
  27213. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  27214. msgstr ""
  27215. #. type: deftypevr
  27216. #: guix-git/doc/guix.texi:18488
  27217. msgid "Specifies what to do when an error occurs. Possible values are @code{abort-job}, which will discard the failed print job; @code{retry-job}, which will retry the job at a later time; @code{retry-current-job}, which retries the failed job immediately; and @code{stop-printer}, which stops the printer."
  27218. msgstr ""
  27219. #. type: deftypevr
  27220. #: guix-git/doc/guix.texi:18490
  27221. msgid "Defaults to @samp{stop-printer}."
  27222. msgstr ""
  27223. #. type: deftypevr
  27224. #: guix-git/doc/guix.texi:18492
  27225. #, no-wrap
  27226. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  27227. msgstr ""
  27228. #. type: deftypevr
  27229. #: guix-git/doc/guix.texi:18500
  27230. msgid "Specifies the maximum cost of filters that are run concurrently, which can be used to minimize disk, memory, and CPU resource problems. A limit of 0 disables filter limiting. An average print to a non-PostScript printer needs a filter limit of about 200. A PostScript printer needs about half that (100). Setting the limit below these thresholds will effectively limit the scheduler to printing a single job at any time."
  27231. msgstr ""
  27232. #. type: deftypevr
  27233. #: guix-git/doc/guix.texi:18502 guix-git/doc/guix.texi:18510
  27234. #: guix-git/doc/guix.texi:18565 guix-git/doc/guix.texi:18681
  27235. #: guix-git/doc/guix.texi:18695 guix-git/doc/guix.texi:18702
  27236. #: guix-git/doc/guix.texi:20153 guix-git/doc/guix.texi:20169
  27237. #: guix-git/doc/guix.texi:20815 guix-git/doc/guix.texi:20827
  27238. #: guix-git/doc/guix.texi:21606 guix-git/doc/guix.texi:21615
  27239. #: guix-git/doc/guix.texi:21623 guix-git/doc/guix.texi:21631
  27240. #: guix-git/doc/guix.texi:27524 guix-git/doc/guix.texi:27849
  27241. #: guix-git/doc/guix.texi:29999 guix-git/doc/guix.texi:30299
  27242. #: guix-git/doc/guix.texi:30473
  27243. msgid "Defaults to @samp{0}."
  27244. msgstr ""
  27245. #. type: deftypevr
  27246. #: guix-git/doc/guix.texi:18504
  27247. #, no-wrap
  27248. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  27249. msgstr ""
  27250. #. type: deftypevr
  27251. #: guix-git/doc/guix.texi:18508
  27252. msgid "Specifies the scheduling priority of filters that are run to print a job. The nice value ranges from 0, the highest priority, to 19, the lowest priority."
  27253. msgstr ""
  27254. #. type: deftypevr
  27255. #: guix-git/doc/guix.texi:18512
  27256. #, no-wrap
  27257. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  27258. msgstr ""
  27259. #. type: deftypevr
  27260. #: guix-git/doc/guix.texi:18519
  27261. msgid "Specifies whether to do reverse lookups on connecting clients. The @code{double} setting causes @code{cupsd} to verify that the hostname resolved from the address matches one of the addresses returned for that hostname. Double lookups also prevent clients with unregistered addresses from connecting to your server. Only set this option to @code{#t} or @code{double} if absolutely required."
  27262. msgstr ""
  27263. #. type: deftypevr
  27264. #: guix-git/doc/guix.texi:18523
  27265. #, no-wrap
  27266. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  27267. msgstr ""
  27268. #. type: deftypevr
  27269. #: guix-git/doc/guix.texi:18526
  27270. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  27271. msgstr ""
  27272. #. type: deftypevr
  27273. #: guix-git/doc/guix.texi:18530
  27274. #, no-wrap
  27275. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  27276. msgstr ""
  27277. #. type: deftypevr
  27278. #: guix-git/doc/guix.texi:18535
  27279. msgid "Specifies the interval between retries of jobs in seconds. This is typically used for fax queues but can also be used with normal print queues whose error policy is @code{retry-job} or @code{retry-current-job}."
  27280. msgstr ""
  27281. #. type: deftypevr
  27282. #: guix-git/doc/guix.texi:18539
  27283. #, no-wrap
  27284. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  27285. msgstr ""
  27286. #. type: deftypevr
  27287. #: guix-git/doc/guix.texi:18544
  27288. msgid "Specifies the number of retries that are done for jobs. This is typically used for fax queues but can also be used with normal print queues whose error policy is @code{retry-job} or @code{retry-current-job}."
  27289. msgstr ""
  27290. #. type: deftypevr
  27291. #: guix-git/doc/guix.texi:18546 guix-git/doc/guix.texi:23013
  27292. #: guix-git/doc/guix.texi:28401 guix-git/doc/guix.texi:28421
  27293. #: guix-git/doc/guix.texi:28437 guix-git/doc/guix.texi:28451
  27294. #: guix-git/doc/guix.texi:28458 guix-git/doc/guix.texi:28465
  27295. #: guix-git/doc/guix.texi:28472 guix-git/doc/guix.texi:28632
  27296. #: guix-git/doc/guix.texi:28648 guix-git/doc/guix.texi:28655
  27297. #: guix-git/doc/guix.texi:28662 guix-git/doc/guix.texi:28673
  27298. #: guix-git/doc/guix.texi:29951 guix-git/doc/guix.texi:29959
  27299. #: guix-git/doc/guix.texi:29967 guix-git/doc/guix.texi:29991
  27300. msgid "Defaults to @samp{5}."
  27301. msgstr ""
  27302. #. type: deftypevr
  27303. #: guix-git/doc/guix.texi:18548
  27304. #, no-wrap
  27305. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  27306. msgstr ""
  27307. #. type: deftypevr
  27308. #: guix-git/doc/guix.texi:18550
  27309. msgid "Specifies whether to support HTTP keep-alive connections."
  27310. msgstr ""
  27311. #. type: deftypevr
  27312. #: guix-git/doc/guix.texi:18554
  27313. #, no-wrap
  27314. msgid "{@code{cups-configuration} parameter} non-negative-integer keep-alive-timeout"
  27315. msgstr ""
  27316. #. type: deftypevr
  27317. #: guix-git/doc/guix.texi:18556
  27318. msgid "Specifies how long an idle client connection remains open, in seconds."
  27319. msgstr ""
  27320. #. type: deftypevr
  27321. #: guix-git/doc/guix.texi:18560
  27322. #, no-wrap
  27323. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  27324. msgstr ""
  27325. #. type: deftypevr
  27326. #: guix-git/doc/guix.texi:18563
  27327. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  27328. msgstr ""
  27329. #. type: deftypevr
  27330. #: guix-git/doc/guix.texi:18567
  27331. #, no-wrap
  27332. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  27333. msgstr ""
  27334. #. type: deftypevr
  27335. #: guix-git/doc/guix.texi:18574
  27336. msgid "Listens on the specified interfaces for connections. Valid values are of the form @var{address}:@var{port}, where @var{address} is either an IPv6 address enclosed in brackets, an IPv4 address, or @code{*} to indicate all addresses. Values can also be file names of local UNIX domain sockets. The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks."
  27337. msgstr ""
  27338. #. type: deftypevr
  27339. #: guix-git/doc/guix.texi:18576
  27340. #, no-wrap
  27341. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  27342. msgstr ""
  27343. #. type: deftypevr
  27344. #: guix-git/doc/guix.texi:18583
  27345. msgid "Specifies the number of pending connections that will be allowed. This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections. When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones."
  27346. msgstr ""
  27347. #. type: deftypevr
  27348. #: guix-git/doc/guix.texi:18585
  27349. msgid "Defaults to @samp{128}."
  27350. msgstr ""
  27351. #. type: deftypevr
  27352. #: guix-git/doc/guix.texi:18587
  27353. #, no-wrap
  27354. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  27355. msgstr ""
  27356. #. type: deftypevr
  27357. #: guix-git/doc/guix.texi:18589
  27358. msgid "Specifies a set of additional access controls."
  27359. msgstr ""
  27360. #. type: deftypevr
  27361. #: guix-git/doc/guix.texi:18591
  27362. msgid "Available @code{location-access-controls} fields are:"
  27363. msgstr ""
  27364. #. type: deftypevr
  27365. #: guix-git/doc/guix.texi:18592
  27366. #, no-wrap
  27367. msgid "{@code{location-access-controls} parameter} file-name path"
  27368. msgstr ""
  27369. #. type: deftypevr
  27370. #: guix-git/doc/guix.texi:18594
  27371. msgid "Specifies the URI path to which the access control applies."
  27372. msgstr ""
  27373. #. type: deftypevr
  27374. #: guix-git/doc/guix.texi:18596
  27375. #, no-wrap
  27376. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  27377. msgstr ""
  27378. #. type: deftypevr
  27379. #: guix-git/doc/guix.texi:18599
  27380. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  27381. msgstr ""
  27382. #. type: deftypevr
  27383. #: guix-git/doc/guix.texi:18601 guix-git/doc/guix.texi:18607
  27384. #: guix-git/doc/guix.texi:18621 guix-git/doc/guix.texi:18628
  27385. #: guix-git/doc/guix.texi:18770 guix-git/doc/guix.texi:18829
  27386. #: guix-git/doc/guix.texi:18907 guix-git/doc/guix.texi:18921
  27387. #: guix-git/doc/guix.texi:21301 guix-git/doc/guix.texi:21504
  27388. #: guix-git/doc/guix.texi:21532 guix-git/doc/guix.texi:21562
  27389. #: guix-git/doc/guix.texi:21677 guix-git/doc/guix.texi:21690
  27390. #: guix-git/doc/guix.texi:21697 guix-git/doc/guix.texi:23219
  27391. #: guix-git/doc/guix.texi:23614 guix-git/doc/guix.texi:23718
  27392. #: guix-git/doc/guix.texi:24145 guix-git/doc/guix.texi:24153
  27393. #: guix-git/doc/guix.texi:24398 guix-git/doc/guix.texi:26519
  27394. #: guix-git/doc/guix.texi:26688 guix-git/doc/guix.texi:26887
  27395. #: guix-git/doc/guix.texi:28292 guix-git/doc/guix.texi:28352
  27396. #: guix-git/doc/guix.texi:28360 guix-git/doc/guix.texi:30014
  27397. #: guix-git/doc/guix.texi:30021 guix-git/doc/guix.texi:30363
  27398. #: guix-git/doc/guix.texi:30441 guix-git/doc/guix.texi:30535
  27399. #: guix-git/doc/guix.texi:30543 guix-git/doc/guix.texi:30579
  27400. #: guix-git/doc/guix.texi:30729 guix-git/doc/guix.texi:30780
  27401. #: guix-git/doc/guix.texi:30789
  27402. msgid "Defaults to @samp{()}."
  27403. msgstr ""
  27404. #. type: deftypevr
  27405. #: guix-git/doc/guix.texi:18603
  27406. #, no-wrap
  27407. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  27408. msgstr ""
  27409. #. type: deftypevr
  27410. #: guix-git/doc/guix.texi:18605
  27411. msgid "Access controls for method-specific access to this path."
  27412. msgstr ""
  27413. #. type: deftypevr
  27414. #: guix-git/doc/guix.texi:18609
  27415. msgid "Available @code{method-access-controls} fields are:"
  27416. msgstr ""
  27417. #. type: deftypevr
  27418. #: guix-git/doc/guix.texi:18610
  27419. #, no-wrap
  27420. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  27421. msgstr ""
  27422. #. type: deftypevr
  27423. #: guix-git/doc/guix.texi:18613
  27424. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  27425. msgstr ""
  27426. #. type: deftypevr
  27427. #: guix-git/doc/guix.texi:18617
  27428. #, no-wrap
  27429. msgid "{@code{method-access-controls} parameter} method-list methods"
  27430. msgstr ""
  27431. #. type: deftypevr
  27432. #: guix-git/doc/guix.texi:18619
  27433. msgid "Methods to which this access control applies."
  27434. msgstr ""
  27435. #. type: deftypevr
  27436. #: guix-git/doc/guix.texi:18623
  27437. #, no-wrap
  27438. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  27439. msgstr ""
  27440. #. type: deftypevr
  27441. #: guix-git/doc/guix.texi:18626
  27442. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  27443. msgstr ""
  27444. #. type: deftypevr
  27445. #: guix-git/doc/guix.texi:18632
  27446. #, no-wrap
  27447. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  27448. msgstr ""
  27449. #. type: deftypevr
  27450. #: guix-git/doc/guix.texi:18636
  27451. msgid "Specifies the number of debugging messages that are retained for logging if an error occurs in a print job. Debug messages are logged regardless of the LogLevel setting."
  27452. msgstr ""
  27453. #. type: deftypevr
  27454. #: guix-git/doc/guix.texi:18638 guix-git/doc/guix.texi:18659
  27455. #: guix-git/doc/guix.texi:18666 guix-git/doc/guix.texi:21061
  27456. #: guix-git/doc/guix.texi:22751 guix-git/doc/guix.texi:22766
  27457. #: guix-git/doc/guix.texi:26872
  27458. msgid "Defaults to @samp{100}."
  27459. msgstr ""
  27460. #. type: deftypevr
  27461. #: guix-git/doc/guix.texi:18640
  27462. #, no-wrap
  27463. msgid "{@code{cups-configuration} parameter} log-level log-level"
  27464. msgstr ""
  27465. #. type: deftypevr
  27466. #: guix-git/doc/guix.texi:18643
  27467. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  27468. msgstr ""
  27469. #. type: deftypevr
  27470. #: guix-git/doc/guix.texi:18645 guix-git/doc/guix.texi:23228
  27471. msgid "Defaults to @samp{info}."
  27472. msgstr ""
  27473. #. type: deftypevr
  27474. #: guix-git/doc/guix.texi:18647
  27475. #, no-wrap
  27476. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  27477. msgstr ""
  27478. #. type: deftypevr
  27479. #: guix-git/doc/guix.texi:18650
  27480. msgid "Specifies the format of the date and time in the log files. The value @code{standard} logs whole seconds while @code{usecs} logs microseconds."
  27481. msgstr ""
  27482. #. type: deftypevr
  27483. #: guix-git/doc/guix.texi:18652
  27484. msgid "Defaults to @samp{standard}."
  27485. msgstr ""
  27486. #. type: deftypevr
  27487. #: guix-git/doc/guix.texi:18654
  27488. #, no-wrap
  27489. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  27490. msgstr ""
  27491. #. type: deftypevr
  27492. #: guix-git/doc/guix.texi:18657
  27493. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  27494. msgstr ""
  27495. #. type: deftypevr
  27496. #: guix-git/doc/guix.texi:18661
  27497. #, no-wrap
  27498. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  27499. msgstr ""
  27500. #. type: deftypevr
  27501. #: guix-git/doc/guix.texi:18664
  27502. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  27503. msgstr ""
  27504. #. type: deftypevr
  27505. #: guix-git/doc/guix.texi:18668
  27506. #, no-wrap
  27507. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  27508. msgstr ""
  27509. #. type: deftypevr
  27510. #: guix-git/doc/guix.texi:18671
  27511. msgid "Specifies the maximum number of copies that a user can print of each job."
  27512. msgstr ""
  27513. #. type: deftypevr
  27514. #: guix-git/doc/guix.texi:18673
  27515. msgid "Defaults to @samp{9999}."
  27516. msgstr ""
  27517. #. type: deftypevr
  27518. #: guix-git/doc/guix.texi:18675
  27519. #, no-wrap
  27520. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  27521. msgstr ""
  27522. #. type: deftypevr
  27523. #: guix-git/doc/guix.texi:18679
  27524. msgid "Specifies the maximum time a job may remain in the @code{indefinite} hold state before it is canceled. A value of 0 disables cancellation of held jobs."
  27525. msgstr ""
  27526. #. type: deftypevr
  27527. #: guix-git/doc/guix.texi:18683
  27528. #, no-wrap
  27529. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  27530. msgstr ""
  27531. #. type: deftypevr
  27532. #: guix-git/doc/guix.texi:18686
  27533. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  27534. msgstr ""
  27535. #. type: deftypevr
  27536. #: guix-git/doc/guix.texi:18688
  27537. msgid "Defaults to @samp{500}."
  27538. msgstr ""
  27539. #. type: deftypevr
  27540. #: guix-git/doc/guix.texi:18690
  27541. #, no-wrap
  27542. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  27543. msgstr ""
  27544. #. type: deftypevr
  27545. #: guix-git/doc/guix.texi:18693
  27546. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  27547. msgstr ""
  27548. #. type: deftypevr
  27549. #: guix-git/doc/guix.texi:18697
  27550. #, no-wrap
  27551. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  27552. msgstr ""
  27553. #. type: deftypevr
  27554. #: guix-git/doc/guix.texi:18700
  27555. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  27556. msgstr ""
  27557. #. type: deftypevr
  27558. #: guix-git/doc/guix.texi:18704
  27559. #, no-wrap
  27560. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  27561. msgstr ""
  27562. #. type: deftypevr
  27563. #: guix-git/doc/guix.texi:18707
  27564. msgid "Specifies the maximum time a job may take to print before it is canceled, in seconds. Set to 0 to disable cancellation of ``stuck'' jobs."
  27565. msgstr ""
  27566. #. type: deftypevr
  27567. #: guix-git/doc/guix.texi:18709
  27568. msgid "Defaults to @samp{10800}."
  27569. msgstr ""
  27570. #. type: deftypevr
  27571. #: guix-git/doc/guix.texi:18711
  27572. #, no-wrap
  27573. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  27574. msgstr ""
  27575. #. type: deftypevr
  27576. #: guix-git/doc/guix.texi:18714
  27577. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  27578. msgstr ""
  27579. #. type: deftypevr
  27580. #: guix-git/doc/guix.texi:18716
  27581. msgid "Defaults to @samp{1048576}."
  27582. msgstr ""
  27583. #. type: deftypevr
  27584. #: guix-git/doc/guix.texi:18718
  27585. #, no-wrap
  27586. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  27587. msgstr ""
  27588. #. type: deftypevr
  27589. #: guix-git/doc/guix.texi:18721
  27590. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  27591. msgstr ""
  27592. #. type: deftypevr
  27593. #: guix-git/doc/guix.texi:18723 guix-git/doc/guix.texi:18934
  27594. #: guix-git/doc/guix.texi:26453
  27595. msgid "Defaults to @samp{300}."
  27596. msgstr ""
  27597. #. type: deftypevr
  27598. #: guix-git/doc/guix.texi:18725
  27599. #, no-wrap
  27600. msgid "{@code{cups-configuration} parameter} string page-log-format"
  27601. msgstr ""
  27602. #. type: deftypevr
  27603. #: guix-git/doc/guix.texi:18730
  27604. msgid "Specifies the format of PageLog lines. Sequences beginning with percent (@samp{%}) characters are replaced with the corresponding information, while all other characters are copied literally. The following percent sequences are recognized:"
  27605. msgstr ""
  27606. #. type: item
  27607. #: guix-git/doc/guix.texi:18732
  27608. #, no-wrap
  27609. msgid "%%"
  27610. msgstr ""
  27611. #. type: table
  27612. #: guix-git/doc/guix.texi:18734
  27613. msgid "insert a single percent character"
  27614. msgstr ""
  27615. #. type: item
  27616. #: guix-git/doc/guix.texi:18735
  27617. #, no-wrap
  27618. msgid "%@{name@}"
  27619. msgstr ""
  27620. #. type: table
  27621. #: guix-git/doc/guix.texi:18737
  27622. msgid "insert the value of the specified IPP attribute"
  27623. msgstr ""
  27624. #. type: item
  27625. #: guix-git/doc/guix.texi:18738
  27626. #, no-wrap
  27627. msgid "%C"
  27628. msgstr ""
  27629. #. type: table
  27630. #: guix-git/doc/guix.texi:18740
  27631. msgid "insert the number of copies for the current page"
  27632. msgstr ""
  27633. #. type: item
  27634. #: guix-git/doc/guix.texi:18741
  27635. #, no-wrap
  27636. msgid "%P"
  27637. msgstr ""
  27638. #. type: table
  27639. #: guix-git/doc/guix.texi:18743
  27640. msgid "insert the current page number"
  27641. msgstr ""
  27642. #. type: item
  27643. #: guix-git/doc/guix.texi:18744
  27644. #, no-wrap
  27645. msgid "%T"
  27646. msgstr ""
  27647. #. type: table
  27648. #: guix-git/doc/guix.texi:18746
  27649. msgid "insert the current date and time in common log format"
  27650. msgstr ""
  27651. #. type: item
  27652. #: guix-git/doc/guix.texi:18747
  27653. #, no-wrap
  27654. msgid "%j"
  27655. msgstr ""
  27656. #. type: table
  27657. #: guix-git/doc/guix.texi:18749
  27658. msgid "insert the job ID"
  27659. msgstr ""
  27660. #. type: item
  27661. #: guix-git/doc/guix.texi:18750 guix-git/doc/guix.texi:20671
  27662. #, no-wrap
  27663. msgid "%p"
  27664. msgstr ""
  27665. #. type: table
  27666. #: guix-git/doc/guix.texi:18752
  27667. msgid "insert the printer name"
  27668. msgstr ""
  27669. #. type: item
  27670. #: guix-git/doc/guix.texi:18753 guix-git/doc/guix.texi:20694
  27671. #, no-wrap
  27672. msgid "%u"
  27673. msgstr ""
  27674. #. type: table
  27675. #: guix-git/doc/guix.texi:18755
  27676. msgid "insert the username"
  27677. msgstr ""
  27678. #. type: deftypevr
  27679. #: guix-git/doc/guix.texi:18761
  27680. msgid "A value of the empty string disables page logging. The string @code{%p %u %j %T %P %C %@{job-billing@} %@{job-originating-host-name@} %@{job-name@} %@{media@} %@{sides@}} creates a page log with the standard items."
  27681. msgstr ""
  27682. #. type: deftypevr
  27683. #: guix-git/doc/guix.texi:18765
  27684. #, no-wrap
  27685. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  27686. msgstr ""
  27687. #. type: deftypevr
  27688. #: guix-git/doc/guix.texi:18768
  27689. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  27690. msgstr ""
  27691. #. type: deftypevr
  27692. #: guix-git/doc/guix.texi:18772
  27693. #, no-wrap
  27694. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  27695. msgstr ""
  27696. #. type: deftypevr
  27697. #: guix-git/doc/guix.texi:18774
  27698. msgid "Specifies named access control policies."
  27699. msgstr ""
  27700. #. type: deftypevr
  27701. #: guix-git/doc/guix.texi:18776
  27702. msgid "Available @code{policy-configuration} fields are:"
  27703. msgstr ""
  27704. #. type: deftypevr
  27705. #: guix-git/doc/guix.texi:18777
  27706. #, no-wrap
  27707. msgid "{@code{policy-configuration} parameter} string name"
  27708. msgstr ""
  27709. #. type: deftypevr
  27710. #: guix-git/doc/guix.texi:18779
  27711. msgid "Name of the policy."
  27712. msgstr ""
  27713. #. type: deftypevr
  27714. #: guix-git/doc/guix.texi:18781
  27715. #, no-wrap
  27716. msgid "{@code{policy-configuration} parameter} string job-private-access"
  27717. msgstr ""
  27718. #. type: deftypevr
  27719. #: guix-git/doc/guix.texi:18791
  27720. msgid "Specifies an access list for a job's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-config} configuration, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}."
  27721. msgstr ""
  27722. #. type: deftypevr
  27723. #: guix-git/doc/guix.texi:18793 guix-git/doc/guix.texi:18815
  27724. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  27725. msgstr ""
  27726. #. type: deftypevr
  27727. #: guix-git/doc/guix.texi:18795
  27728. #, no-wrap
  27729. msgid "{@code{policy-configuration} parameter} string job-private-values"
  27730. msgstr ""
  27731. #. type: deftypevr
  27732. #: guix-git/doc/guix.texi:18798 guix-git/doc/guix.texi:18820
  27733. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  27734. msgstr ""
  27735. #. type: deftypevr
  27736. #: guix-git/doc/guix.texi:18801
  27737. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  27738. msgstr ""
  27739. #. type: deftypevr
  27740. #: guix-git/doc/guix.texi:18803
  27741. #, no-wrap
  27742. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  27743. msgstr ""
  27744. #. type: deftypevr
  27745. #: guix-git/doc/guix.texi:18813
  27746. msgid "Specifies an access list for a subscription's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-config} configuration, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}."
  27747. msgstr ""
  27748. #. type: deftypevr
  27749. #: guix-git/doc/guix.texi:18817
  27750. #, no-wrap
  27751. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  27752. msgstr ""
  27753. #. type: deftypevr
  27754. #: guix-git/doc/guix.texi:18823
  27755. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  27756. msgstr ""
  27757. #. type: deftypevr
  27758. #: guix-git/doc/guix.texi:18825
  27759. #, no-wrap
  27760. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  27761. msgstr ""
  27762. #. type: deftypevr
  27763. #: guix-git/doc/guix.texi:18827
  27764. msgid "Access control by IPP operation."
  27765. msgstr ""
  27766. #. type: deftypevr
  27767. #: guix-git/doc/guix.texi:18832
  27768. #, no-wrap
  27769. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  27770. msgstr ""
  27771. #. type: deftypevr
  27772. #: guix-git/doc/guix.texi:18837
  27773. msgid "Specifies whether job files (documents) are preserved after a job is printed. If a numeric value is specified, job files are preserved for the indicated number of seconds after printing. Otherwise a boolean value applies indefinitely."
  27774. msgstr ""
  27775. #. type: deftypevr
  27776. #: guix-git/doc/guix.texi:18839
  27777. msgid "Defaults to @samp{86400}."
  27778. msgstr ""
  27779. #. type: deftypevr
  27780. #: guix-git/doc/guix.texi:18841
  27781. #, no-wrap
  27782. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  27783. msgstr ""
  27784. #. type: deftypevr
  27785. #: guix-git/doc/guix.texi:18846
  27786. msgid "Specifies whether the job history is preserved after a job is printed. If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing. If @code{#t}, the job history is preserved until the MaxJobs limit is reached."
  27787. msgstr ""
  27788. #. type: deftypevr
  27789. #: guix-git/doc/guix.texi:18850
  27790. #, no-wrap
  27791. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  27792. msgstr ""
  27793. #. type: deftypevr
  27794. #: guix-git/doc/guix.texi:18853
  27795. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  27796. msgstr ""
  27797. #. type: deftypevr
  27798. #: guix-git/doc/guix.texi:18857
  27799. #, no-wrap
  27800. msgid "{@code{cups-configuration} parameter} string rip-cache"
  27801. msgstr ""
  27802. #. type: deftypevr
  27803. #: guix-git/doc/guix.texi:18860
  27804. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  27805. msgstr ""
  27806. #. type: deftypevr
  27807. #: guix-git/doc/guix.texi:18862
  27808. msgid "Defaults to @samp{\"128m\"}."
  27809. msgstr ""
  27810. #. type: deftypevr
  27811. #: guix-git/doc/guix.texi:18864
  27812. #, no-wrap
  27813. msgid "{@code{cups-configuration} parameter} string server-admin"
  27814. msgstr ""
  27815. #. type: deftypevr
  27816. #: guix-git/doc/guix.texi:18866
  27817. msgid "Specifies the email address of the server administrator."
  27818. msgstr ""
  27819. #. type: deftypevr
  27820. #: guix-git/doc/guix.texi:18868
  27821. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  27822. msgstr ""
  27823. #. type: deftypevr
  27824. #: guix-git/doc/guix.texi:18870
  27825. #, no-wrap
  27826. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  27827. msgstr ""
  27828. #. type: deftypevr
  27829. #: guix-git/doc/guix.texi:18878
  27830. msgid "The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces. Using the special name @code{*} can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall. If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using @code{*}."
  27831. msgstr ""
  27832. #. type: deftypevr
  27833. #: guix-git/doc/guix.texi:18880
  27834. msgid "Defaults to @samp{*}."
  27835. msgstr ""
  27836. #. type: deftypevr
  27837. #: guix-git/doc/guix.texi:18882
  27838. #, no-wrap
  27839. msgid "{@code{cups-configuration} parameter} string server-name"
  27840. msgstr ""
  27841. #. type: deftypevr
  27842. #: guix-git/doc/guix.texi:18884
  27843. msgid "Specifies the fully-qualified host name of the server."
  27844. msgstr ""
  27845. #. type: deftypevr
  27846. #: guix-git/doc/guix.texi:18886 guix-git/doc/guix.texi:23741
  27847. #: guix-git/doc/guix.texi:23786
  27848. msgid "Defaults to @samp{\"localhost\"}."
  27849. msgstr ""
  27850. #. type: deftypevr
  27851. #: guix-git/doc/guix.texi:18888
  27852. #, no-wrap
  27853. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  27854. msgstr ""
  27855. #. type: deftypevr
  27856. #: guix-git/doc/guix.texi:18896
  27857. msgid "Specifies what information is included in the Server header of HTTP responses. @code{None} disables the Server header. @code{ProductOnly} reports @code{CUPS}. @code{Major} reports @code{CUPS 2}. @code{Minor} reports @code{CUPS 2.0}. @code{Minimal} reports @code{CUPS 2.0.0}. @code{OS} reports @code{CUPS 2.0.0 (@var{uname})} where @var{uname} is the output of the @code{uname} command. @code{Full} reports @code{CUPS 2.0.0 (@var{uname}) IPP/2.0}."
  27858. msgstr ""
  27859. #. type: deftypevr
  27860. #: guix-git/doc/guix.texi:18898
  27861. msgid "Defaults to @samp{Minimal}."
  27862. msgstr ""
  27863. #. type: deftypevr
  27864. #: guix-git/doc/guix.texi:18900
  27865. #, no-wrap
  27866. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  27867. msgstr ""
  27868. #. type: deftypevr
  27869. #: guix-git/doc/guix.texi:18905
  27870. msgid "Listens on the specified interfaces for encrypted connections. Valid values are of the form @var{address}:@var{port}, where @var{address} is either an IPv6 address enclosed in brackets, an IPv4 address, or @code{*} to indicate all addresses."
  27871. msgstr ""
  27872. #. type: deftypevr
  27873. #: guix-git/doc/guix.texi:18909
  27874. #, no-wrap
  27875. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  27876. msgstr ""
  27877. #. type: deftypevr
  27878. #: guix-git/doc/guix.texi:18919
  27879. msgid "Sets encryption options. By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites. Security is reduced when @code{Allow} options are used, and enhanced when @code{Deny} options are used. The @code{AllowRC4} option enables the 128-bit RC4 cipher suites, which are required for some older clients. The @code{AllowSSL3} option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0. The @code{DenyCBC} option disables all CBC cipher suites. The @code{DenyTLS1.0} option disables TLS v1.0 support - this sets the minimum protocol version to TLS v1.1."
  27880. msgstr ""
  27881. #. type: deftypevr
  27882. #: guix-git/doc/guix.texi:18923
  27883. #, no-wrap
  27884. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  27885. msgstr ""
  27886. #. type: deftypevr
  27887. #: guix-git/doc/guix.texi:18926
  27888. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  27889. msgstr ""
  27890. #. type: deftypevr
  27891. #: guix-git/doc/guix.texi:18930
  27892. #, no-wrap
  27893. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  27894. msgstr ""
  27895. #. type: deftypevr
  27896. #: guix-git/doc/guix.texi:18932
  27897. msgid "Specifies the HTTP request timeout, in seconds."
  27898. msgstr ""
  27899. #. type: deftypevr
  27900. #: guix-git/doc/guix.texi:18937
  27901. #, no-wrap
  27902. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  27903. msgstr ""
  27904. #. type: deftypevr
  27905. #: guix-git/doc/guix.texi:18939
  27906. msgid "Specifies whether the web interface is enabled."
  27907. msgstr ""
  27908. #. type: Plain text
  27909. #: guix-git/doc/guix.texi:18949
  27910. msgid "At this point you're probably thinking ``oh dear, Guix manual, I like you but you can stop already with the configuration options''. Indeed. However, one more point: it could be that you have an existing @code{cupsd.conf} that you want to use. In that case, you can pass an @code{opaque-cups-configuration} as the configuration of a @code{cups-service-type}."
  27911. msgstr ""
  27912. #. type: Plain text
  27913. #: guix-git/doc/guix.texi:18951
  27914. msgid "Available @code{opaque-cups-configuration} fields are:"
  27915. msgstr ""
  27916. #. type: deftypevr
  27917. #: guix-git/doc/guix.texi:18952
  27918. #, no-wrap
  27919. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  27920. msgstr ""
  27921. #. type: deftypevr
  27922. #: guix-git/doc/guix.texi:18956
  27923. #, no-wrap
  27924. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  27925. msgstr ""
  27926. #. type: deftypevr
  27927. #: guix-git/doc/guix.texi:18958
  27928. msgid "The contents of the @code{cupsd.conf}, as a string."
  27929. msgstr ""
  27930. #. type: deftypevr
  27931. #: guix-git/doc/guix.texi:18960
  27932. #, no-wrap
  27933. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  27934. msgstr ""
  27935. #. type: deftypevr
  27936. #: guix-git/doc/guix.texi:18962
  27937. msgid "The contents of the @code{cups-files.conf} file, as a string."
  27938. msgstr ""
  27939. #. type: Plain text
  27940. #: guix-git/doc/guix.texi:18967
  27941. msgid "For example, if your @code{cupsd.conf} and @code{cups-files.conf} are in strings of the same name, you could instantiate a CUPS service like this:"
  27942. msgstr ""
  27943. #. type: lisp
  27944. #: guix-git/doc/guix.texi:18973
  27945. #, no-wrap
  27946. msgid ""
  27947. "(service cups-service-type\n"
  27948. " (opaque-cups-configuration\n"
  27949. " (cupsd.conf cupsd.conf)\n"
  27950. " (cups-files.conf cups-files.conf)))\n"
  27951. msgstr ""
  27952. #. type: Plain text
  27953. #: guix-git/doc/guix.texi:18984
  27954. msgid "The @code{(gnu services desktop)} module provides services that are usually useful in the context of a ``desktop'' setup---that is, on a machine running a graphical display server, possibly with graphical user interfaces, etc. It also defines services that provide specific desktop environments like GNOME, Xfce or MATE."
  27955. msgstr ""
  27956. #. type: Plain text
  27957. #: guix-git/doc/guix.texi:18988
  27958. msgid "To simplify things, the module defines a variable containing the set of services that users typically expect on a machine with a graphical environment and networking:"
  27959. msgstr ""
  27960. #. type: defvr
  27961. #: guix-git/doc/guix.texi:18989
  27962. #, no-wrap
  27963. msgid "{Scheme Variable} %desktop-services"
  27964. msgstr ""
  27965. #. type: defvr
  27966. #: guix-git/doc/guix.texi:18992
  27967. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  27968. msgstr ""
  27969. #. type: defvr
  27970. #: guix-git/doc/guix.texi:19003
  27971. msgid "In particular, it adds a graphical login manager (@pxref{X Window, @code{gdm-service-type}}), screen lockers, a network management tool (@pxref{Networking Services, @code{network-manager-service-type}}) with modem support (@pxref{Networking Services, @code{modem-manager-service-type}}), energy and color management services, the @code{elogind} login and seat manager, the Polkit privilege service, the GeoClue location service, the AccountsService daemon that allows authorized users change system passwords, an NTP client (@pxref{Networking Services}), the Avahi daemon, and has the name service switch service configured to be able to use @code{nss-mdns} (@pxref{Name Service Switch, mDNS})."
  27972. msgstr ""
  27973. #. type: Plain text
  27974. #: guix-git/doc/guix.texi:19008
  27975. msgid "The @code{%desktop-services} variable can be used as the @code{services} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @code{services}})."
  27976. msgstr ""
  27977. #. type: Plain text
  27978. #: guix-git/doc/guix.texi:19031
  27979. msgid "Additionally, the @code{gnome-desktop-service-type}, @code{xfce-desktop-service}, @code{mate-desktop-service-type}, @code{lxqt-desktop-service-type} and @code{enlightenment-desktop-service-type} procedures can add GNOME, Xfce, MATE and/or Enlightenment to a system. To ``add GNOME'' means that system-level services like the backlight adjustment helpers and the power management utilities are added to the system, extending @code{polkit} and @code{dbus} appropriately, allowing GNOME to operate with elevated privileges on a limited number of special-purpose system interfaces. Additionally, adding a service made by @code{gnome-desktop-service-type} adds the GNOME metapackage to the system profile. Likewise, adding the Xfce service not only adds the @code{xfce} metapackage to the system profile, but it also gives the Thunar file manager the ability to open a ``root-mode'' file management window, if the user authenticates using the administrator's password via the standard polkit graphical interface. To ``add MATE'' means that @code{polkit} and @code{dbus} are extended appropriately, allowing MATE to operate with elevated privileges on a limited number of special-purpose system interfaces. Additionally, adding a service of type @code{mate-desktop-service-type} adds the MATE metapackage to the system profile. ``Adding Enlightenment'' means that @code{dbus} is extended appropriately, and several of Enlightenment's binaries are set as setuid, allowing Enlightenment's screen locker and other functionality to work as expected."
  27980. msgstr ""
  27981. #. type: Plain text
  27982. #: guix-git/doc/guix.texi:19040
  27983. msgid "The desktop environments in Guix use the Xorg display server by default. If you'd like to use the newer display server protocol called Wayland, you need to use the @code{sddm-service} instead of GDM as the graphical login manager. You should then select the ``GNOME (Wayland)'' session in SDDM@. Alternatively you can also try starting GNOME on Wayland manually from a TTY with the command ``XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session``. Currently only GNOME has support for Wayland."
  27984. msgstr ""
  27985. #. type: defvr
  27986. #: guix-git/doc/guix.texi:19041
  27987. #, no-wrap
  27988. msgid "{Scheme Variable} gnome-desktop-service-type"
  27989. msgstr ""
  27990. #. type: defvr
  27991. #: guix-git/doc/guix.texi:19045
  27992. msgid "This is the type of the service that adds the @uref{https://www.gnome.org, GNOME} desktop environment. Its value is a @code{gnome-desktop-configuration} object (see below)."
  27993. msgstr ""
  27994. #. type: defvr
  27995. #: guix-git/doc/guix.texi:19048
  27996. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  27997. msgstr ""
  27998. #. type: deftp
  27999. #: guix-git/doc/guix.texi:19050
  28000. #, no-wrap
  28001. msgid "{Data Type} gnome-desktop-configuration"
  28002. msgstr ""
  28003. #. type: deftp
  28004. #: guix-git/doc/guix.texi:19052
  28005. msgid "Configuration record for the GNOME desktop environment."
  28006. msgstr ""
  28007. #. type: item
  28008. #: guix-git/doc/guix.texi:19054
  28009. #, no-wrap
  28010. msgid "@code{gnome} (default: @code{gnome})"
  28011. msgstr ""
  28012. #. type: table
  28013. #: guix-git/doc/guix.texi:19056
  28014. msgid "The GNOME package to use."
  28015. msgstr ""
  28016. #. type: defvr
  28017. #: guix-git/doc/guix.texi:19059
  28018. #, no-wrap
  28019. msgid "{Scheme Variable} xfce-desktop-service-type"
  28020. msgstr ""
  28021. #. type: defvr
  28022. #: guix-git/doc/guix.texi:19063
  28023. msgid "This is the type of a service to run the @uref{Xfce, https://xfce.org/} desktop environment. Its value is an @code{xfce-desktop-configuration} object (see below)."
  28024. msgstr ""
  28025. #. type: defvr
  28026. #: guix-git/doc/guix.texi:19068
  28027. msgid "This service adds the @code{xfce} package to the system profile, and extends polkit with the ability for @code{thunar} to manipulate the file system as root from within a user session, after the user has authenticated with the administrator's password."
  28028. msgstr ""
  28029. #. type: defvr
  28030. #: guix-git/doc/guix.texi:19074
  28031. msgid "Note that @code{xfce4-panel} and its plugin packages should be installed in the same profile to ensure compatibility. When using this service, you should add extra plugins (@code{xfce4-whiskermenu-plugin}, @code{xfce4-weather-plugin}, etc.) to the @code{packages} field of your @code{operating-system}."
  28032. msgstr ""
  28033. #. type: deftp
  28034. #: guix-git/doc/guix.texi:19076
  28035. #, no-wrap
  28036. msgid "{Data Type} xfce-desktop-configuration"
  28037. msgstr ""
  28038. #. type: deftp
  28039. #: guix-git/doc/guix.texi:19078
  28040. msgid "Configuration record for the Xfce desktop environment."
  28041. msgstr ""
  28042. #. type: item
  28043. #: guix-git/doc/guix.texi:19080
  28044. #, no-wrap
  28045. msgid "@code{xfce} (default: @code{xfce})"
  28046. msgstr ""
  28047. #. type: table
  28048. #: guix-git/doc/guix.texi:19082
  28049. msgid "The Xfce package to use."
  28050. msgstr ""
  28051. #. type: deffn
  28052. #: guix-git/doc/guix.texi:19085
  28053. #, no-wrap
  28054. msgid "{Scheme Variable} mate-desktop-service-type"
  28055. msgstr ""
  28056. #. type: deffn
  28057. #: guix-git/doc/guix.texi:19089
  28058. msgid "This is the type of the service that runs the @uref{https://mate-desktop.org/, MATE desktop environment}. Its value is a @code{mate-desktop-configuration} object (see below)."
  28059. msgstr ""
  28060. #. type: deffn
  28061. #: guix-git/doc/guix.texi:19093
  28062. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  28063. msgstr ""
  28064. #. type: deftp
  28065. #: guix-git/doc/guix.texi:19095
  28066. #, no-wrap
  28067. msgid "{Data Type} mate-desktop-configuration"
  28068. msgstr ""
  28069. #. type: deftp
  28070. #: guix-git/doc/guix.texi:19097
  28071. msgid "Configuration record for the MATE desktop environment."
  28072. msgstr ""
  28073. #. type: item
  28074. #: guix-git/doc/guix.texi:19099
  28075. #, no-wrap
  28076. msgid "@code{mate} (default: @code{mate})"
  28077. msgstr ""
  28078. #. type: table
  28079. #: guix-git/doc/guix.texi:19101
  28080. msgid "The MATE package to use."
  28081. msgstr ""
  28082. #. type: deffn
  28083. #: guix-git/doc/guix.texi:19104
  28084. #, no-wrap
  28085. msgid "{Scheme Variable} lxqt-desktop-service-type"
  28086. msgstr ""
  28087. #. type: deffn
  28088. #: guix-git/doc/guix.texi:19108
  28089. msgid "This is the type of the service that runs the @uref{https://lxqt.github.io, LXQt desktop environment}. Its value is a @code{lxqt-desktop-configuration} object (see below)."
  28090. msgstr ""
  28091. #. type: deffn
  28092. #: guix-git/doc/guix.texi:19111
  28093. msgid "This service adds the @code{lxqt} package to the system profile."
  28094. msgstr ""
  28095. #. type: deftp
  28096. #: guix-git/doc/guix.texi:19113
  28097. #, no-wrap
  28098. msgid "{Data Type} lxqt-desktop-configuration"
  28099. msgstr ""
  28100. #. type: deftp
  28101. #: guix-git/doc/guix.texi:19115
  28102. msgid "Configuration record for the LXQt desktop environment."
  28103. msgstr ""
  28104. #. type: item
  28105. #: guix-git/doc/guix.texi:19117
  28106. #, no-wrap
  28107. msgid "@code{lxqt} (default: @code{lxqt})"
  28108. msgstr ""
  28109. #. type: table
  28110. #: guix-git/doc/guix.texi:19119
  28111. msgid "The LXQT package to use."
  28112. msgstr ""
  28113. #. type: deffn
  28114. #: guix-git/doc/guix.texi:19122
  28115. #, no-wrap
  28116. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  28117. msgstr ""
  28118. #. type: deffn
  28119. #: guix-git/doc/guix.texi:19125
  28120. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  28121. msgstr ""
  28122. #. type: deftp
  28123. #: guix-git/doc/guix.texi:19127
  28124. #, no-wrap
  28125. msgid "{Data Type} enlightenment-desktop-service-configuration"
  28126. msgstr ""
  28127. #. type: item
  28128. #: guix-git/doc/guix.texi:19129
  28129. #, no-wrap
  28130. msgid "@code{enlightenment} (default: @code{enlightenment})"
  28131. msgstr ""
  28132. #. type: table
  28133. #: guix-git/doc/guix.texi:19131
  28134. msgid "The enlightenment package to use."
  28135. msgstr ""
  28136. #. type: Plain text
  28137. #: guix-git/doc/guix.texi:19139
  28138. msgid "Because the GNOME, Xfce and MATE desktop services pull in so many packages, the default @code{%desktop-services} variable doesn't include any of them by default. To add GNOME, Xfce or MATE, just @code{cons} them onto @code{%desktop-services} in the @code{services} field of your @code{operating-system}:"
  28139. msgstr ""
  28140. #. type: lisp
  28141. #: guix-git/doc/guix.texi:19150
  28142. #, no-wrap
  28143. msgid ""
  28144. "(use-modules (gnu))\n"
  28145. "(use-service-modules desktop)\n"
  28146. "(operating-system\n"
  28147. " ...\n"
  28148. " ;; cons* adds items to the list given as its last argument.\n"
  28149. " (services (cons* (service gnome-desktop-service-type)\n"
  28150. " (service xfce-desktop-service)\n"
  28151. " %desktop-services))\n"
  28152. " ...)\n"
  28153. msgstr ""
  28154. #. type: Plain text
  28155. #: guix-git/doc/guix.texi:19154
  28156. msgid "These desktop environments will then be available as options in the graphical login window."
  28157. msgstr ""
  28158. #. type: Plain text
  28159. #: guix-git/doc/guix.texi:19158
  28160. msgid "The actual service definitions included in @code{%desktop-services} and provided by @code{(gnu services dbus)} and @code{(gnu services desktop)} are described below."
  28161. msgstr ""
  28162. #. type: deffn
  28163. #: guix-git/doc/guix.texi:19159
  28164. #, no-wrap
  28165. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  28166. msgstr ""
  28167. #. type: deffn
  28168. #: guix-git/doc/guix.texi:19162
  28169. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  28170. msgstr ""
  28171. #. type: deffn
  28172. #: guix-git/doc/guix.texi:19166
  28173. msgid "@uref{https://dbus.freedesktop.org/, D-Bus} is an inter-process communication facility. Its system bus is used to allow system services to communicate and to be notified of system-wide events."
  28174. msgstr ""
  28175. #. type: deffn
  28176. #: guix-git/doc/guix.texi:19171
  28177. msgid "@var{services} must be a list of packages that provide an @file{etc/dbus-1/system.d} directory containing additional D-Bus configuration and policy files. For example, to allow avahi-daemon to use the system bus, @var{services} must be equal to @code{(list avahi)}."
  28178. msgstr ""
  28179. #. type: deffn
  28180. #: guix-git/doc/guix.texi:19173
  28181. #, no-wrap
  28182. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  28183. msgstr ""
  28184. #. type: deffn
  28185. #: guix-git/doc/guix.texi:19179
  28186. msgid "Return a service that runs the @code{elogind} login and seat management daemon. @uref{https://github.com/elogind/elogind, Elogind} exposes a D-Bus interface that can be used to know which users are logged in, know what kind of sessions they have open, suspend the system, inhibit system suspend, reboot the system, and other tasks."
  28187. msgstr ""
  28188. #. type: deffn
  28189. #: guix-git/doc/guix.texi:19183
  28190. msgid "Elogind handles most system-level power events for a computer, for example suspending the system when a lid is closed, or shutting it down when the power button is pressed."
  28191. msgstr ""
  28192. #. type: deffn
  28193. #: guix-git/doc/guix.texi:19188
  28194. msgid "The @var{config} keyword argument specifies the configuration for elogind, and should be the result of an @code{(elogind-configuration (@var{parameter} @var{value})...)} invocation. Available parameters and their default values are:"
  28195. msgstr ""
  28196. #. type: item
  28197. #: guix-git/doc/guix.texi:19190
  28198. #, no-wrap
  28199. msgid "kill-user-processes?"
  28200. msgstr ""
  28201. #. type: code{#1}
  28202. #: guix-git/doc/guix.texi:19192 guix-git/doc/guix.texi:19212
  28203. #: guix-git/doc/guix.texi:19214 guix-git/doc/guix.texi:19216
  28204. #: guix-git/doc/guix.texi:19228
  28205. msgid "#f"
  28206. msgstr ""
  28207. #. type: item
  28208. #: guix-git/doc/guix.texi:19192
  28209. #, no-wrap
  28210. msgid "kill-only-users"
  28211. msgstr ""
  28212. #. type: code{#1}
  28213. #: guix-git/doc/guix.texi:19194 guix-git/doc/guix.texi:19234
  28214. msgid "()"
  28215. msgstr ""
  28216. #. type: item
  28217. #: guix-git/doc/guix.texi:19194
  28218. #, no-wrap
  28219. msgid "kill-exclude-users"
  28220. msgstr ""
  28221. #. type: code{#1}
  28222. #: guix-git/doc/guix.texi:19196
  28223. msgid "(\"root\")"
  28224. msgstr ""
  28225. #. type: item
  28226. #: guix-git/doc/guix.texi:19196
  28227. #, no-wrap
  28228. msgid "inhibit-delay-max-seconds"
  28229. msgstr ""
  28230. #. type: code{#1}
  28231. #: guix-git/doc/guix.texi:19198
  28232. msgid "5"
  28233. msgstr ""
  28234. #. type: item
  28235. #: guix-git/doc/guix.texi:19198
  28236. #, no-wrap
  28237. msgid "handle-power-key"
  28238. msgstr ""
  28239. #. type: code{#1}
  28240. #: guix-git/doc/guix.texi:19200
  28241. msgid "poweroff"
  28242. msgstr ""
  28243. #. type: item
  28244. #: guix-git/doc/guix.texi:19200
  28245. #, no-wrap
  28246. msgid "handle-suspend-key"
  28247. msgstr ""
  28248. #. type: code{#1}
  28249. #: guix-git/doc/guix.texi:19202 guix-git/doc/guix.texi:19206
  28250. msgid "suspend"
  28251. msgstr ""
  28252. #. type: item
  28253. #: guix-git/doc/guix.texi:19202
  28254. #, no-wrap
  28255. msgid "handle-hibernate-key"
  28256. msgstr ""
  28257. #. type: code{#1}
  28258. #: guix-git/doc/guix.texi:19204
  28259. msgid "hibernate"
  28260. msgstr ""
  28261. #. type: item
  28262. #: guix-git/doc/guix.texi:19204
  28263. #, no-wrap
  28264. msgid "handle-lid-switch"
  28265. msgstr ""
  28266. #. type: item
  28267. #: guix-git/doc/guix.texi:19206
  28268. #, no-wrap
  28269. msgid "handle-lid-switch-docked"
  28270. msgstr ""
  28271. #. type: code{#1}
  28272. #: guix-git/doc/guix.texi:19208 guix-git/doc/guix.texi:19210
  28273. #: guix-git/doc/guix.texi:19222
  28274. msgid "ignore"
  28275. msgstr ""
  28276. #. type: item
  28277. #: guix-git/doc/guix.texi:19208
  28278. #, no-wrap
  28279. msgid "handle-lid-switch-external-power"
  28280. msgstr ""
  28281. #. type: item
  28282. #: guix-git/doc/guix.texi:19210
  28283. #, no-wrap
  28284. msgid "power-key-ignore-inhibited?"
  28285. msgstr ""
  28286. #. type: item
  28287. #: guix-git/doc/guix.texi:19212
  28288. #, no-wrap
  28289. msgid "suspend-key-ignore-inhibited?"
  28290. msgstr ""
  28291. #. type: item
  28292. #: guix-git/doc/guix.texi:19214
  28293. #, no-wrap
  28294. msgid "hibernate-key-ignore-inhibited?"
  28295. msgstr ""
  28296. #. type: item
  28297. #: guix-git/doc/guix.texi:19216
  28298. #, no-wrap
  28299. msgid "lid-switch-ignore-inhibited?"
  28300. msgstr ""
  28301. #. type: code{#1}
  28302. #: guix-git/doc/guix.texi:19218 guix-git/doc/guix.texi:19230
  28303. msgid "#t"
  28304. msgstr ""
  28305. #. type: item
  28306. #: guix-git/doc/guix.texi:19218
  28307. #, no-wrap
  28308. msgid "holdoff-timeout-seconds"
  28309. msgstr ""
  28310. #. type: code{#1}
  28311. #: guix-git/doc/guix.texi:19220
  28312. msgid "30"
  28313. msgstr ""
  28314. #. type: item
  28315. #: guix-git/doc/guix.texi:19220
  28316. #, no-wrap
  28317. msgid "idle-action"
  28318. msgstr ""
  28319. #. type: item
  28320. #: guix-git/doc/guix.texi:19222
  28321. #, no-wrap
  28322. msgid "idle-action-seconds"
  28323. msgstr ""
  28324. #. type: code{#1}
  28325. #: guix-git/doc/guix.texi:19224
  28326. msgid "(* 30 60)"
  28327. msgstr ""
  28328. #. type: item
  28329. #: guix-git/doc/guix.texi:19224
  28330. #, no-wrap
  28331. msgid "runtime-directory-size-percent"
  28332. msgstr ""
  28333. #. type: code{#1}
  28334. #: guix-git/doc/guix.texi:19226
  28335. msgid "10"
  28336. msgstr ""
  28337. #. type: item
  28338. #: guix-git/doc/guix.texi:19226
  28339. #, no-wrap
  28340. msgid "runtime-directory-size"
  28341. msgstr ""
  28342. #. type: item
  28343. #: guix-git/doc/guix.texi:19228
  28344. #, no-wrap
  28345. msgid "remove-ipc?"
  28346. msgstr ""
  28347. #. type: item
  28348. #: guix-git/doc/guix.texi:19230
  28349. #, no-wrap
  28350. msgid "suspend-state"
  28351. msgstr ""
  28352. #. type: code{#1}
  28353. #: guix-git/doc/guix.texi:19232
  28354. msgid "(\"mem\" \"standby\" \"freeze\")"
  28355. msgstr ""
  28356. #. type: item
  28357. #: guix-git/doc/guix.texi:19232
  28358. #, no-wrap
  28359. msgid "suspend-mode"
  28360. msgstr ""
  28361. #. type: item
  28362. #: guix-git/doc/guix.texi:19234
  28363. #, no-wrap
  28364. msgid "hibernate-state"
  28365. msgstr ""
  28366. #. type: code{#1}
  28367. #: guix-git/doc/guix.texi:19236 guix-git/doc/guix.texi:19240
  28368. msgid "(\"disk\")"
  28369. msgstr ""
  28370. #. type: item
  28371. #: guix-git/doc/guix.texi:19236
  28372. #, no-wrap
  28373. msgid "hibernate-mode"
  28374. msgstr ""
  28375. #. type: code{#1}
  28376. #: guix-git/doc/guix.texi:19238
  28377. msgid "(\"platform\" \"shutdown\")"
  28378. msgstr ""
  28379. #. type: item
  28380. #: guix-git/doc/guix.texi:19238
  28381. #, no-wrap
  28382. msgid "hybrid-sleep-state"
  28383. msgstr ""
  28384. #. type: item
  28385. #: guix-git/doc/guix.texi:19240
  28386. #, no-wrap
  28387. msgid "hybrid-sleep-mode"
  28388. msgstr ""
  28389. #. type: code{#1}
  28390. #: guix-git/doc/guix.texi:19242
  28391. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  28392. msgstr ""
  28393. #. type: deffn
  28394. #: guix-git/doc/guix.texi:19245
  28395. #, no-wrap
  28396. msgid "{Scheme Procedure} accountsservice-service @"
  28397. msgstr ""
  28398. #. type: deffn
  28399. #: guix-git/doc/guix.texi:19253
  28400. msgid "[#:accountsservice @var{accountsservice}] Return a service that runs AccountsService, a system service that can list available accounts, change their passwords, and so on. AccountsService integrates with PolicyKit to enable unprivileged users to acquire the capability to modify their system configuration. @uref{https://www.freedesktop.org/wiki/Software/AccountsService/, the accountsservice web site} for more information."
  28401. msgstr ""
  28402. #. type: deffn
  28403. #: guix-git/doc/guix.texi:19256
  28404. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  28405. msgstr ""
  28406. #. type: deffn
  28407. #: guix-git/doc/guix.texi:19258
  28408. #, no-wrap
  28409. msgid "{Scheme Procedure} polkit-service @"
  28410. msgstr ""
  28411. #. type: deffn
  28412. #: guix-git/doc/guix.texi:19267
  28413. msgid "[#:polkit @var{polkit}] Return a service that runs the @uref{https://www.freedesktop.org/wiki/Software/polkit/, Polkit privilege management service}, which allows system administrators to grant access to privileged operations in a structured way. By querying the Polkit service, a privileged system component can know when it should grant additional capabilities to ordinary users. For example, an ordinary user can be granted the capability to suspend the system if the user is logged in locally."
  28414. msgstr ""
  28415. #. type: defvr
  28416. #: guix-git/doc/guix.texi:19269
  28417. #, no-wrap
  28418. msgid "{Scheme Variable} polkit-wheel-service"
  28419. msgstr ""
  28420. #. type: defvr
  28421. #: guix-git/doc/guix.texi:19274
  28422. msgid "Service that adds the @code{wheel} group as admins to the Polkit service. This makes it so that users in the @code{wheel} group are queried for their own passwords when performing administrative actions instead of @code{root}'s, similar to the behaviour used by @code{sudo}."
  28423. msgstr ""
  28424. #. type: defvr
  28425. #: guix-git/doc/guix.texi:19276
  28426. #, no-wrap
  28427. msgid "{Scheme Variable} upower-service-type"
  28428. msgstr ""
  28429. #. type: defvr
  28430. #: guix-git/doc/guix.texi:19280
  28431. msgid "Service that runs @uref{https://upower.freedesktop.org/, @command{upowerd}}, a system-wide monitor for power consumption and battery levels, with the given configuration settings."
  28432. msgstr ""
  28433. #. type: defvr
  28434. #: guix-git/doc/guix.texi:19283
  28435. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  28436. msgstr ""
  28437. #. type: deftp
  28438. #: guix-git/doc/guix.texi:19285
  28439. #, no-wrap
  28440. msgid "{Data Type} upower-configuration"
  28441. msgstr ""
  28442. #. type: deftp
  28443. #: guix-git/doc/guix.texi:19287
  28444. msgid "Data type representation the configuration for UPower."
  28445. msgstr ""
  28446. #. type: item
  28447. #: guix-git/doc/guix.texi:19290
  28448. #, no-wrap
  28449. msgid "@code{upower} (default: @var{upower})"
  28450. msgstr ""
  28451. #. type: table
  28452. #: guix-git/doc/guix.texi:19292
  28453. msgid "Package to use for @code{upower}."
  28454. msgstr ""
  28455. #. type: item
  28456. #: guix-git/doc/guix.texi:19293
  28457. #, no-wrap
  28458. msgid "@code{watts-up-pro?} (default: @code{#f})"
  28459. msgstr ""
  28460. #. type: table
  28461. #: guix-git/doc/guix.texi:19295
  28462. msgid "Enable the Watts Up Pro device."
  28463. msgstr ""
  28464. #. type: item
  28465. #: guix-git/doc/guix.texi:19296
  28466. #, no-wrap
  28467. msgid "@code{poll-batteries?} (default: @code{#t})"
  28468. msgstr ""
  28469. #. type: table
  28470. #: guix-git/doc/guix.texi:19298
  28471. msgid "Enable polling the kernel for battery level changes."
  28472. msgstr ""
  28473. #. type: item
  28474. #: guix-git/doc/guix.texi:19299
  28475. #, no-wrap
  28476. msgid "@code{ignore-lid?} (default: @code{#f})"
  28477. msgstr ""
  28478. #. type: table
  28479. #: guix-git/doc/guix.texi:19301
  28480. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  28481. msgstr ""
  28482. #. type: item
  28483. #: guix-git/doc/guix.texi:19302
  28484. #, no-wrap
  28485. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  28486. msgstr ""
  28487. #. type: table
  28488. #: guix-git/doc/guix.texi:19305
  28489. msgid "Whether battery percentage based policy should be used. The default is to use the time left, change to @code{#t} to use the percentage."
  28490. msgstr ""
  28491. #. type: item
  28492. #: guix-git/doc/guix.texi:19306
  28493. #, no-wrap
  28494. msgid "@code{percentage-low} (default: @code{10})"
  28495. msgstr ""
  28496. #. type: table
  28497. #: guix-git/doc/guix.texi:19309
  28498. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  28499. msgstr ""
  28500. #. type: item
  28501. #: guix-git/doc/guix.texi:19310
  28502. #, no-wrap
  28503. msgid "@code{percentage-critical} (default: @code{3})"
  28504. msgstr ""
  28505. #. type: table
  28506. #: guix-git/doc/guix.texi:19313
  28507. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  28508. msgstr ""
  28509. #. type: item
  28510. #: guix-git/doc/guix.texi:19314
  28511. #, no-wrap
  28512. msgid "@code{percentage-action} (default: @code{2})"
  28513. msgstr ""
  28514. #. type: table
  28515. #: guix-git/doc/guix.texi:19317
  28516. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  28517. msgstr ""
  28518. #. type: item
  28519. #: guix-git/doc/guix.texi:19318
  28520. #, no-wrap
  28521. msgid "@code{time-low} (default: @code{1200})"
  28522. msgstr ""
  28523. #. type: table
  28524. #: guix-git/doc/guix.texi:19321
  28525. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  28526. msgstr ""
  28527. #. type: item
  28528. #: guix-git/doc/guix.texi:19322
  28529. #, no-wrap
  28530. msgid "@code{time-critical} (default: @code{300})"
  28531. msgstr ""
  28532. #. type: table
  28533. #: guix-git/doc/guix.texi:19325
  28534. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  28535. msgstr ""
  28536. #. type: item
  28537. #: guix-git/doc/guix.texi:19326
  28538. #, no-wrap
  28539. msgid "@code{time-action} (default: @code{120})"
  28540. msgstr ""
  28541. #. type: table
  28542. #: guix-git/doc/guix.texi:19329
  28543. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  28544. msgstr ""
  28545. #. type: item
  28546. #: guix-git/doc/guix.texi:19330
  28547. #, no-wrap
  28548. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  28549. msgstr ""
  28550. #. type: table
  28551. #: guix-git/doc/guix.texi:19333
  28552. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  28553. msgstr ""
  28554. #. type: table
  28555. #: guix-git/doc/guix.texi:19335
  28556. msgid "Possible values are:"
  28557. msgstr ""
  28558. #. type: code{#1}
  28559. #: guix-git/doc/guix.texi:19339
  28560. msgid "'power-off"
  28561. msgstr ""
  28562. #. type: code{#1}
  28563. #: guix-git/doc/guix.texi:19342
  28564. msgid "'hibernate"
  28565. msgstr ""
  28566. #. type: itemize
  28567. #: guix-git/doc/guix.texi:19345
  28568. msgid "@code{'hybrid-sleep}."
  28569. msgstr ""
  28570. #. type: deffn
  28571. #: guix-git/doc/guix.texi:19350
  28572. #, no-wrap
  28573. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  28574. msgstr ""
  28575. #. type: deffn
  28576. #: guix-git/doc/guix.texi:19360
  28577. msgid "Return a service for @uref{https://udisks.freedesktop.org/docs/latest/, UDisks}, a @dfn{disk management} daemon that provides user interfaces with notifications and ways to mount/unmount disks. Programs that talk to UDisks include the @command{udisksctl} command, part of UDisks, and GNOME Disks. Note that Udisks relies on the @command{mount} command, so it will only be able to use the file-system utilities installed in the system profile. For example if you want to be able to mount NTFS file-systems in read and write fashion, you'll need to have @code{ntfs-3g} installed system-wide."
  28578. msgstr ""
  28579. #. type: deffn
  28580. #: guix-git/doc/guix.texi:19362
  28581. #, no-wrap
  28582. msgid "{Scheme Variable} colord-service-type"
  28583. msgstr ""
  28584. #. type: deffn
  28585. #: guix-git/doc/guix.texi:19369
  28586. msgid "This is the type of the service that runs @command{colord}, a system service with a D-Bus interface to manage the color profiles of input and output devices such as screens and scanners. It is notably used by the GNOME Color Manager graphical tool. See @uref{https://www.freedesktop.org/software/colord/, the colord web site} for more information."
  28587. msgstr ""
  28588. #. type: cindex
  28589. #: guix-git/doc/guix.texi:19371
  28590. #, no-wrap
  28591. msgid "scanner access"
  28592. msgstr ""
  28593. #. type: defvr
  28594. #: guix-git/doc/guix.texi:19372
  28595. #, no-wrap
  28596. msgid "{Scheme Variable} sane-service-type"
  28597. msgstr ""
  28598. #. type: defvr
  28599. #: guix-git/doc/guix.texi:19378
  28600. msgid "This service provides access to scanners @i{via} @uref{http://www.sane-project.org, SANE} by installing the necessary udev rules. It is included in @code{%desktop-services} (@pxref{Desktop Services}) and relies by default on @code{sane-backends-minimal} package (see below) for hardware support."
  28601. msgstr ""
  28602. #. type: defvr
  28603. #: guix-git/doc/guix.texi:19380
  28604. #, no-wrap
  28605. msgid "{Scheme Variable} sane-backends-minimal"
  28606. msgstr ""
  28607. #. type: defvr
  28608. #: guix-git/doc/guix.texi:19383
  28609. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  28610. msgstr ""
  28611. #. type: defvr
  28612. #: guix-git/doc/guix.texi:19385
  28613. #, no-wrap
  28614. msgid "{Scheme Variable} sane-backends"
  28615. msgstr ""
  28616. #. type: defvr
  28617. #: guix-git/doc/guix.texi:19392
  28618. msgid "This package includes support for all scanners that @code{sane-backends-minimal} supports, plus older Hewlett-Packard scanners supported by @code{hplip} package. In order to use this on a system which relies on @code{%desktop-services}, you may use @code{modify-services} (@pxref{Service Reference, @code{modify-services}}) as illustrated below:"
  28619. msgstr ""
  28620. #. type: lisp
  28621. #: guix-git/doc/guix.texi:19401
  28622. #, no-wrap
  28623. msgid ""
  28624. "(use-modules (gnu))\n"
  28625. "(use-service-modules\n"
  28626. " @dots{}\n"
  28627. " desktop)\n"
  28628. "(use-package-modules\n"
  28629. " @dots{}\n"
  28630. " scanner)\n"
  28631. "\n"
  28632. msgstr ""
  28633. #. type: lisp
  28634. #: guix-git/doc/guix.texi:19406
  28635. #, no-wrap
  28636. msgid ""
  28637. "(define %my-desktop-services\n"
  28638. " ;; List of desktop services that supports a broader range of scanners.\n"
  28639. " (modify-services %desktop-services\n"
  28640. " (sane-service-type _ => sane-backends)))\n"
  28641. "\n"
  28642. msgstr ""
  28643. #. type: lisp
  28644. #: guix-git/doc/guix.texi:19410
  28645. #, no-wrap
  28646. msgid ""
  28647. "(operating-system\n"
  28648. " @dots{}\n"
  28649. " (services %my-desktop-services)\n"
  28650. msgstr ""
  28651. #. type: deffn
  28652. #: guix-git/doc/guix.texi:19413
  28653. #, no-wrap
  28654. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  28655. msgstr ""
  28656. #. type: deffn
  28657. #: guix-git/doc/guix.texi:19422
  28658. msgid "Return a configuration allowing an application to access GeoClue location data. @var{name} is the Desktop ID of the application, without the @code{.desktop} part. If @var{allowed?} is true, the application will have access to location information by default. The boolean @var{system?} value indicates whether an application is a system component or not. Finally @var{users} is a list of UIDs of all users for which this application is allowed location info access. An empty users list means that all users are allowed."
  28659. msgstr ""
  28660. #. type: defvr
  28661. #: guix-git/doc/guix.texi:19424
  28662. #, no-wrap
  28663. msgid "{Scheme Variable} %standard-geoclue-applications"
  28664. msgstr ""
  28665. #. type: defvr
  28666. #: guix-git/doc/guix.texi:19431
  28667. msgid "The standard list of well-known GeoClue application configurations, granting authority to the GNOME date-and-time utility to ask for the current location in order to set the time zone, and allowing the IceCat and Epiphany web browsers to request location information. IceCat and Epiphany both query the user before allowing a web page to know the user's location."
  28668. msgstr ""
  28669. #. type: deffn
  28670. #: guix-git/doc/guix.texi:19433
  28671. #, no-wrap
  28672. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  28673. msgstr ""
  28674. #. type: deffn
  28675. #: guix-git/doc/guix.texi:19446
  28676. msgid "[#:whitelist '()] @ [#:wifi-geolocation-url \"https://location.services.mozilla.com/v1/geolocate?key=geoclue\"] @ [#:submit-data? #f] [#:wifi-submission-url \"https://location.services.mozilla.com/v1/submit?key=geoclue\"] @ [#:submission-nick \"geoclue\"] @ [#:applications %standard-geoclue-applications] Return a service that runs the GeoClue location service. This service provides a D-Bus interface to allow applications to request access to a user's physical location, and optionally to add information to online location databases. See @uref{https://wiki.freedesktop.org/www/Software/GeoClue/, the GeoClue web site} for more information."
  28677. msgstr ""
  28678. #. type: deffn
  28679. #: guix-git/doc/guix.texi:19448
  28680. #, no-wrap
  28681. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  28682. msgstr ""
  28683. #. type: deffn
  28684. #: guix-git/doc/guix.texi:19455
  28685. msgid "[@w{#:auto-enable? #f}] Return a service that runs the @command{bluetoothd} daemon, which manages all the Bluetooth devices and provides a number of D-Bus interfaces. When AUTO-ENABLE? is true, the bluetooth controller is powered automatically at boot, which can be useful when using a bluetooth keyboard or mouse."
  28686. msgstr ""
  28687. #. type: deffn
  28688. #: guix-git/doc/guix.texi:19457
  28689. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  28690. msgstr ""
  28691. #. type: defvr
  28692. #: guix-git/doc/guix.texi:19459
  28693. #, no-wrap
  28694. msgid "{Scheme Variable} gnome-keyring-service-type"
  28695. msgstr ""
  28696. #. type: defvr
  28697. #: guix-git/doc/guix.texi:19463
  28698. msgid "This is the type of the service that adds the @uref{https://wiki.gnome.org/Projects/GnomeKeyring, GNOME Keyring}. Its value is a @code{gnome-keyring-configuration} object (see below)."
  28699. msgstr ""
  28700. #. type: defvr
  28701. #: guix-git/doc/guix.texi:19467
  28702. msgid "This service adds the @code{gnome-keyring} package to the system profile and extends PAM with entries using @code{pam_gnome_keyring.so}, unlocking a user's login keyring when they log in or setting its password with passwd."
  28703. msgstr ""
  28704. #. type: deftp
  28705. #: guix-git/doc/guix.texi:19469
  28706. #, no-wrap
  28707. msgid "{Data Type} gnome-keyring-configuration"
  28708. msgstr ""
  28709. #. type: deftp
  28710. #: guix-git/doc/guix.texi:19471
  28711. msgid "Configuration record for the GNOME Keyring service."
  28712. msgstr ""
  28713. #. type: item
  28714. #: guix-git/doc/guix.texi:19473
  28715. #, no-wrap
  28716. msgid "@code{keyring} (default: @code{gnome-keyring})"
  28717. msgstr ""
  28718. #. type: table
  28719. #: guix-git/doc/guix.texi:19475
  28720. msgid "The GNOME keyring package to use."
  28721. msgstr ""
  28722. #. type: code{#1}
  28723. #: guix-git/doc/guix.texi:19476
  28724. #, no-wrap
  28725. msgid "pam-services"
  28726. msgstr ""
  28727. #. type: table
  28728. #: guix-git/doc/guix.texi:19481
  28729. msgid "A list of @code{(@var{service} . @var{kind})} pairs denoting PAM services to extend, where @var{service} is the name of an existing service to extend and @var{kind} is one of @code{login} or @code{passwd}."
  28730. msgstr ""
  28731. #. type: table
  28732. #: guix-git/doc/guix.texi:19487
  28733. msgid "If @code{login} is given, it adds an optional @code{pam_gnome_keyring.so} to the auth block without arguments and to the session block with @code{auto_start}. If @code{passwd} is given, it adds an optional @code{pam_gnome_keyring.so} to the password block without arguments."
  28734. msgstr ""
  28735. #. type: table
  28736. #: guix-git/doc/guix.texi:19490
  28737. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  28738. msgstr ""
  28739. #. type: cindex
  28740. #: guix-git/doc/guix.texi:19497
  28741. #, no-wrap
  28742. msgid "sound support"
  28743. msgstr ""
  28744. #. type: cindex
  28745. #: guix-git/doc/guix.texi:19498
  28746. #, no-wrap
  28747. msgid "ALSA"
  28748. msgstr ""
  28749. #. type: cindex
  28750. #: guix-git/doc/guix.texi:19499
  28751. #, no-wrap
  28752. msgid "PulseAudio, sound support"
  28753. msgstr ""
  28754. #. type: Plain text
  28755. #: guix-git/doc/guix.texi:19504
  28756. msgid "The @code{(gnu services sound)} module provides a service to configure the Advanced Linux Sound Architecture (ALSA) system, which makes PulseAudio the preferred ALSA output driver."
  28757. msgstr ""
  28758. #. type: deffn
  28759. #: guix-git/doc/guix.texi:19505
  28760. #, no-wrap
  28761. msgid "{Scheme Variable} alsa-service-type"
  28762. msgstr ""
  28763. #. type: deffn
  28764. #: guix-git/doc/guix.texi:19510
  28765. msgid "This is the type for the @uref{https://alsa-project.org/, Advanced Linux Sound Architecture} (ALSA) system, which generates the @file{/etc/asound.conf} configuration file. The value for this type is a @command{alsa-configuration} record as in this example:"
  28766. msgstr ""
  28767. #. type: lisp
  28768. #: guix-git/doc/guix.texi:19513
  28769. #, no-wrap
  28770. msgid "(service alsa-service-type)\n"
  28771. msgstr ""
  28772. #. type: deffn
  28773. #: guix-git/doc/guix.texi:19516
  28774. msgid "See below for details about @code{alsa-configuration}."
  28775. msgstr ""
  28776. #. type: deftp
  28777. #: guix-git/doc/guix.texi:19518
  28778. #, no-wrap
  28779. msgid "{Data Type} alsa-configuration"
  28780. msgstr ""
  28781. #. type: deftp
  28782. #: guix-git/doc/guix.texi:19520
  28783. msgid "Data type representing the configuration for @code{alsa-service}."
  28784. msgstr ""
  28785. #. type: item
  28786. #: guix-git/doc/guix.texi:19522
  28787. #, no-wrap
  28788. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  28789. msgstr ""
  28790. #. type: table
  28791. #: guix-git/doc/guix.texi:19524
  28792. msgid "@code{alsa-plugins} package to use."
  28793. msgstr ""
  28794. #. type: item
  28795. #: guix-git/doc/guix.texi:19525
  28796. #, no-wrap
  28797. msgid "@code{pulseaudio?} (default: @var{#t})"
  28798. msgstr ""
  28799. #. type: table
  28800. #: guix-git/doc/guix.texi:19528
  28801. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  28802. msgstr ""
  28803. #. type: table
  28804. #: guix-git/doc/guix.texi:19532
  28805. msgid "Using PulseAudio allows you to run several sound-producing applications at the same time and to individual control them @i{via} @command{pavucontrol}, among other things."
  28806. msgstr ""
  28807. #. type: item
  28808. #: guix-git/doc/guix.texi:19533
  28809. #, no-wrap
  28810. msgid "@code{extra-options} (default: @var{\"\"})"
  28811. msgstr ""
  28812. #. type: table
  28813. #: guix-git/doc/guix.texi:19535
  28814. msgid "String to append to the @file{/etc/asound.conf} file."
  28815. msgstr ""
  28816. #. type: Plain text
  28817. #: guix-git/doc/guix.texi:19541
  28818. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  28819. msgstr ""
  28820. #. type: example
  28821. #: guix-git/doc/guix.texi:19547
  28822. #, no-wrap
  28823. msgid ""
  28824. "# In guix, we have to specify the absolute path for plugins.\n"
  28825. "pcm_type.jack @{\n"
  28826. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  28827. "@}\n"
  28828. "\n"
  28829. msgstr ""
  28830. #. type: example
  28831. #: guix-git/doc/guix.texi:19556
  28832. #, no-wrap
  28833. msgid ""
  28834. "# Routing ALSA to jack:\n"
  28835. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  28836. "pcm.rawjack @{\n"
  28837. " type jack\n"
  28838. " playback_ports @{\n"
  28839. " 0 system:playback_1\n"
  28840. " 1 system:playback_2\n"
  28841. " @}\n"
  28842. "\n"
  28843. msgstr ""
  28844. #. type: example
  28845. #: guix-git/doc/guix.texi:19562
  28846. #, no-wrap
  28847. msgid ""
  28848. " capture_ports @{\n"
  28849. " 0 system:capture_1\n"
  28850. " 1 system:capture_2\n"
  28851. " @}\n"
  28852. "@}\n"
  28853. "\n"
  28854. msgstr ""
  28855. #. type: example
  28856. #: guix-git/doc/guix.texi:19569
  28857. #, no-wrap
  28858. msgid ""
  28859. "pcm.!default @{\n"
  28860. " type plug\n"
  28861. " slave @{\n"
  28862. " pcm \"rawjack\"\n"
  28863. " @}\n"
  28864. "@}\n"
  28865. msgstr ""
  28866. #. type: Plain text
  28867. #: guix-git/doc/guix.texi:19573
  28868. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  28869. msgstr ""
  28870. #. type: deffn
  28871. #: guix-git/doc/guix.texi:19574
  28872. #, no-wrap
  28873. msgid "{Scheme Variable} pulseaudio-service-type"
  28874. msgstr ""
  28875. #. type: deffn
  28876. #: guix-git/doc/guix.texi:19578
  28877. msgid "This is the type for the @uref{https://www.pulseaudio.org/, PulseAudio} sound server. It exists to allow system overrides of the default settings via @code{pulseaudio-configuration}, see below."
  28878. msgstr ""
  28879. #. type: quotation
  28880. #: guix-git/doc/guix.texi:19584
  28881. msgid "This service overrides per-user configuration files. If you want PulseAudio to honor configuration files in @file{~/.config/pulse} you have to unset the environment variables @env{PULSE_CONFIG} and @env{PULSE_CLIENTCONFIG} in your @file{~/.bash_profile}."
  28882. msgstr ""
  28883. #. type: quotation
  28884. #: guix-git/doc/guix.texi:19592
  28885. msgid "This service on its own does not ensure, that the @code{pulseaudio} package exists on your machine. It merely adds configuration files for it, as detailed below. In the (admittedly unlikely) case, that you find yourself without a @code{pulseaudio} package, consider enabling it through the @code{alsa-service-type} above."
  28886. msgstr ""
  28887. #. type: deftp
  28888. #: guix-git/doc/guix.texi:19595
  28889. #, no-wrap
  28890. msgid "{Data Type} pulseaudio-configuration"
  28891. msgstr ""
  28892. #. type: deftp
  28893. #: guix-git/doc/guix.texi:19597
  28894. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  28895. msgstr ""
  28896. #. type: item
  28897. #: guix-git/doc/guix.texi:19599
  28898. #, no-wrap
  28899. msgid "@code{client-conf} (default: @code{'()})"
  28900. msgstr ""
  28901. #. type: table
  28902. #: guix-git/doc/guix.texi:19604
  28903. msgid "List of settings to set in @file{client.conf}. Accepts a list of strings or a symbol-value pairs. A string will be inserted as-is with a newline added. A pair will be formatted as ``key = value'', again with a newline added."
  28904. msgstr ""
  28905. #. type: item
  28906. #: guix-git/doc/guix.texi:19605
  28907. #, no-wrap
  28908. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  28909. msgstr ""
  28910. #. type: table
  28911. #: guix-git/doc/guix.texi:19608
  28912. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  28913. msgstr ""
  28914. #. type: item
  28915. #: guix-git/doc/guix.texi:19609
  28916. #, no-wrap
  28917. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  28918. msgstr ""
  28919. #. type: table
  28920. #: guix-git/doc/guix.texi:19611
  28921. msgid "Script file to use as @file{default.pa}."
  28922. msgstr ""
  28923. #. type: item
  28924. #: guix-git/doc/guix.texi:19612
  28925. #, no-wrap
  28926. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  28927. msgstr ""
  28928. #. type: table
  28929. #: guix-git/doc/guix.texi:19614
  28930. msgid "Script file to use as @file{system.pa}."
  28931. msgstr ""
  28932. #. type: deffn
  28933. #: guix-git/doc/guix.texi:19617
  28934. #, no-wrap
  28935. msgid "{Scheme Variable} ladspa-service-type"
  28936. msgstr ""
  28937. #. type: deffn
  28938. #: guix-git/doc/guix.texi:19620
  28939. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  28940. msgstr ""
  28941. #. type: deffn
  28942. #: guix-git/doc/guix.texi:19623
  28943. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  28944. msgstr ""
  28945. #. type: lisp
  28946. #: guix-git/doc/guix.texi:19627
  28947. #, no-wrap
  28948. msgid ""
  28949. "(service ladspa-service-type\n"
  28950. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  28951. msgstr ""
  28952. #. type: deffn
  28953. #: guix-git/doc/guix.texi:19631
  28954. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  28955. msgstr ""
  28956. #. type: cindex
  28957. #: guix-git/doc/guix.texi:19638
  28958. #, no-wrap
  28959. msgid "SQL"
  28960. msgstr ""
  28961. #. type: Plain text
  28962. #: guix-git/doc/guix.texi:19640
  28963. msgid "The @code{(gnu services databases)} module provides the following services."
  28964. msgstr ""
  28965. #. type: subsubheading
  28966. #: guix-git/doc/guix.texi:19641
  28967. #, no-wrap
  28968. msgid "PostgreSQL"
  28969. msgstr ""
  28970. #. type: Plain text
  28971. #: guix-git/doc/guix.texi:19645
  28972. msgid "The following example describes a PostgreSQL service with the default configuration."
  28973. msgstr ""
  28974. #. type: lisp
  28975. #: guix-git/doc/guix.texi:19650
  28976. #, no-wrap
  28977. msgid ""
  28978. "(service postgresql-service-type\n"
  28979. " (postgresql-configuration\n"
  28980. " (postgresql postgresql-10)))\n"
  28981. msgstr ""
  28982. #. type: Plain text
  28983. #: guix-git/doc/guix.texi:19656
  28984. msgid "If the services fails to start, it may be due to an incompatible cluster already present in @var{data-directory}. Adjust it (or, if you don't need the cluster anymore, delete @var{data-directory}), then restart the service."
  28985. msgstr ""
  28986. #. type: Plain text
  28987. #: guix-git/doc/guix.texi:19663
  28988. msgid "Peer authentication is used by default and the @code{postgres} user account has no shell, which prevents the direct execution of @code{psql} commands as this user. To use @code{psql}, you can temporarily log in as @code{postgres} using a shell, create a PostgreSQL superuser with the same name as one of the system users and then create the associated database."
  28989. msgstr ""
  28990. #. type: example
  28991. #: guix-git/doc/guix.texi:19668
  28992. #, no-wrap
  28993. msgid ""
  28994. "sudo -u postgres -s /bin/sh\n"
  28995. "createuser --interactive\n"
  28996. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  28997. msgstr ""
  28998. #. type: deftp
  28999. #: guix-git/doc/guix.texi:19670
  29000. #, no-wrap
  29001. msgid "{Data Type} postgresql-configuration"
  29002. msgstr ""
  29003. #. type: deftp
  29004. #: guix-git/doc/guix.texi:19673
  29005. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  29006. msgstr ""
  29007. #. type: code{#1}
  29008. #: guix-git/doc/guix.texi:19675
  29009. #, no-wrap
  29010. msgid "postgresql"
  29011. msgstr ""
  29012. #. type: table
  29013. #: guix-git/doc/guix.texi:19677
  29014. msgid "PostgreSQL package to use for the service."
  29015. msgstr ""
  29016. #. type: item
  29017. #: guix-git/doc/guix.texi:19678
  29018. #, no-wrap
  29019. msgid "@code{port} (default: @code{5432})"
  29020. msgstr ""
  29021. #. type: table
  29022. #: guix-git/doc/guix.texi:19680
  29023. msgid "Port on which PostgreSQL should listen."
  29024. msgstr ""
  29025. #. type: table
  29026. #: guix-git/doc/guix.texi:19683
  29027. msgid "Locale to use as the default when creating the database cluster."
  29028. msgstr ""
  29029. #. type: item
  29030. #: guix-git/doc/guix.texi:19684
  29031. #, no-wrap
  29032. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  29033. msgstr ""
  29034. #. type: table
  29035. #: guix-git/doc/guix.texi:19688
  29036. msgid "The configuration file to use when running PostgreSQL@. The default behaviour uses the postgresql-config-file record with the default values for the fields."
  29037. msgstr ""
  29038. #. type: item
  29039. #: guix-git/doc/guix.texi:19689
  29040. #, no-wrap
  29041. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  29042. msgstr ""
  29043. #. type: table
  29044. #: guix-git/doc/guix.texi:19693
  29045. msgid "The directory where @command{pg_ctl} output will be written in a file named @code{\"pg_ctl.log\"}. This file can be useful to debug PostgreSQL configuration errors for instance."
  29046. msgstr ""
  29047. #. type: item
  29048. #: guix-git/doc/guix.texi:19694
  29049. #, no-wrap
  29050. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  29051. msgstr ""
  29052. #. type: table
  29053. #: guix-git/doc/guix.texi:19696
  29054. msgid "Directory in which to store the data."
  29055. msgstr ""
  29056. #. type: item
  29057. #: guix-git/doc/guix.texi:19697
  29058. #, no-wrap
  29059. msgid "@code{extension-packages} (default: @code{'()})"
  29060. msgstr ""
  29061. #. type: cindex
  29062. #: guix-git/doc/guix.texi:19698
  29063. #, no-wrap
  29064. msgid "postgresql extension-packages"
  29065. msgstr ""
  29066. #. type: table
  29067. #: guix-git/doc/guix.texi:19703
  29068. msgid "Additional extensions are loaded from packages listed in @var{extension-packages}. Extensions are available at runtime. For instance, to create a geographic database using the @code{postgis} extension, a user can configure the postgresql-service as in this example:"
  29069. msgstr ""
  29070. #. type: cindex
  29071. #: guix-git/doc/guix.texi:19704
  29072. #, no-wrap
  29073. msgid "postgis"
  29074. msgstr ""
  29075. #. type: lisp
  29076. #: guix-git/doc/guix.texi:19707
  29077. #, no-wrap
  29078. msgid ""
  29079. "(use-package-modules databases geo)\n"
  29080. "\n"
  29081. msgstr ""
  29082. #. type: lisp
  29083. #: guix-git/doc/guix.texi:19720
  29084. #, no-wrap
  29085. msgid ""
  29086. "(operating-system\n"
  29087. " ...\n"
  29088. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  29089. " ;; proper operation.\n"
  29090. " (packages (cons* postgresql %base-packages))\n"
  29091. " (services\n"
  29092. " (cons*\n"
  29093. " (service postgresql-service-type\n"
  29094. " (postgresql-configuration\n"
  29095. " (postgresql postgresql-10)\n"
  29096. " (extension-packages (list postgis))))\n"
  29097. " %base-services)))\n"
  29098. msgstr ""
  29099. #. type: table
  29100. #: guix-git/doc/guix.texi:19724
  29101. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  29102. msgstr ""
  29103. #. type: example
  29104. #: guix-git/doc/guix.texi:19731
  29105. #, no-wrap
  29106. msgid ""
  29107. "psql -U postgres\n"
  29108. "> create database postgistest;\n"
  29109. "> \\connect postgistest;\n"
  29110. "> create extension postgis;\n"
  29111. "> create extension postgis_topology;\n"
  29112. msgstr ""
  29113. #. type: table
  29114. #: guix-git/doc/guix.texi:19736
  29115. msgid "There is no need to add this field for contrib extensions such as hstore or dblink as they are already loadable by postgresql. This field is only required to add extensions provided by other packages."
  29116. msgstr ""
  29117. #. type: deftp
  29118. #: guix-git/doc/guix.texi:19740
  29119. #, no-wrap
  29120. msgid "{Data Type} postgresql-config-file"
  29121. msgstr ""
  29122. #. type: deftp
  29123. #: guix-git/doc/guix.texi:19746
  29124. msgid "Data type representing the PostgreSQL configuration file. As shown in the following example, this can be used to customize the configuration of PostgreSQL@. Note that you can use any G-expression or filename in place of this record, if you already have a configuration file you'd like to use for example."
  29125. msgstr ""
  29126. #. type: lisp
  29127. #: guix-git/doc/guix.texi:19766
  29128. #, no-wrap
  29129. msgid ""
  29130. "(service postgresql-service-type\n"
  29131. " (postgresql-configuration\n"
  29132. " (config-file\n"
  29133. " (postgresql-config-file\n"
  29134. " (log-destination \"stderr\")\n"
  29135. " (hba-file\n"
  29136. " (plain-file \"pg_hba.conf\"\n"
  29137. " \"\n"
  29138. "local\tall\tall\t\t\ttrust\n"
  29139. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  29140. "host\tall\tall\t::1/128 \tmd5\"))\n"
  29141. " (extra-config\n"
  29142. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  29143. " (\"random_page_cost\" 2)\n"
  29144. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  29145. " (\"work_mem\" \"500 MB\")\n"
  29146. " (\"logging_collector\" #t)\n"
  29147. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  29148. msgstr ""
  29149. #. type: item
  29150. #: guix-git/doc/guix.texi:19769
  29151. #, no-wrap
  29152. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  29153. msgstr ""
  29154. #. type: table
  29155. #: guix-git/doc/guix.texi:19772
  29156. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  29157. msgstr ""
  29158. #. type: item
  29159. #: guix-git/doc/guix.texi:19773
  29160. #, no-wrap
  29161. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  29162. msgstr ""
  29163. #. type: table
  29164. #: guix-git/doc/guix.texi:19776
  29165. msgid "Filename or G-expression for the host-based authentication configuration."
  29166. msgstr ""
  29167. #. type: item
  29168. #: guix-git/doc/guix.texi:19777
  29169. #, no-wrap
  29170. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  29171. msgstr ""
  29172. #. type: table
  29173. #: guix-git/doc/guix.texi:19779
  29174. msgid "Filename or G-expression for the user name mapping configuration."
  29175. msgstr ""
  29176. #. type: item
  29177. #: guix-git/doc/guix.texi:19780
  29178. #, no-wrap
  29179. msgid "@code{socket-directory} (default: @code{#false})"
  29180. msgstr ""
  29181. #. type: table
  29182. #: guix-git/doc/guix.texi:19785
  29183. msgid "Specifies the directory of the Unix-domain socket(s) on which PostgreSQL is to listen for connections from client applications. If set to @code{\"\"} PostgreSQL does not listen on any Unix-domain sockets, in which case only TCP/IP sockets can be used to connect to the server."
  29184. msgstr ""
  29185. #. type: table
  29186. #: guix-git/doc/guix.texi:19788
  29187. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  29188. msgstr ""
  29189. #. type: table
  29190. #: guix-git/doc/guix.texi:19793
  29191. msgid "List of additional keys and values to include in the PostgreSQL config file. Each entry in the list should be a list where the first element is the key, and the remaining elements are the values."
  29192. msgstr ""
  29193. #. type: table
  29194. #: guix-git/doc/guix.texi:19799
  29195. msgid "The values can be numbers, booleans or strings and will be mapped to PostgreSQL parameters types @code{Boolean}, @code{String}, @code{Numeric}, @code{Numeric with Unit} and @code{Enumerated} described @uref{https://www.postgresql.org/docs/current/config-setting.html, here}."
  29196. msgstr ""
  29197. #. type: deffn
  29198. #: guix-git/doc/guix.texi:19803
  29199. #, no-wrap
  29200. msgid "{Scheme Variable} postgresql-role-service-type"
  29201. msgstr ""
  29202. #. type: deffn
  29203. #: guix-git/doc/guix.texi:19806
  29204. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  29205. msgstr ""
  29206. #. type: lisp
  29207. #: guix-git/doc/guix.texi:19814
  29208. #, no-wrap
  29209. msgid ""
  29210. "(service postgresql-role-service-type\n"
  29211. " (postgresql-role-configuration\n"
  29212. " (roles\n"
  29213. " (list (postgresql-role\n"
  29214. " (name \"test\")\n"
  29215. " (create-database? #t))))))\n"
  29216. msgstr ""
  29217. #. type: deffn
  29218. #: guix-git/doc/guix.texi:19818
  29219. msgid "This service can be extended with extra roles, as in this example:"
  29220. msgstr ""
  29221. #. type: lisp
  29222. #: guix-git/doc/guix.texi:19824
  29223. #, no-wrap
  29224. msgid ""
  29225. "(service-extension postgresql-role-service-type\n"
  29226. " (const (postgresql-role\n"
  29227. " (name \"alice\")\n"
  29228. " (create-database? #t))))\n"
  29229. msgstr ""
  29230. #. type: deftp
  29231. #: guix-git/doc/guix.texi:19827
  29232. #, no-wrap
  29233. msgid "{Data Type} postgresql-role"
  29234. msgstr ""
  29235. #. type: deftp
  29236. #: guix-git/doc/guix.texi:19833
  29237. msgid "PostgreSQL manages database access permissions using the concept of roles. A role can be thought of as either a database user, or a group of database users, depending on how the role is set up. Roles can own database objects (for example, tables) and can assign privileges on those objects to other roles to control who has access to which objects."
  29238. msgstr ""
  29239. #. type: table
  29240. #: guix-git/doc/guix.texi:19837
  29241. msgid "The role name."
  29242. msgstr ""
  29243. #. type: item
  29244. #: guix-git/doc/guix.texi:19838
  29245. #, no-wrap
  29246. msgid "@code{permissions} (default: @code{'(createdb login)})"
  29247. msgstr ""
  29248. #. type: table
  29249. #: guix-git/doc/guix.texi:19842
  29250. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  29251. msgstr ""
  29252. #. type: item
  29253. #: guix-git/doc/guix.texi:19843
  29254. #, no-wrap
  29255. msgid "@code{create-database?} (default: @code{#f})"
  29256. msgstr ""
  29257. #. type: table
  29258. #: guix-git/doc/guix.texi:19845
  29259. msgid "Whether to create a database with the same name as the role."
  29260. msgstr ""
  29261. #. type: deftp
  29262. #: guix-git/doc/guix.texi:19849
  29263. #, no-wrap
  29264. msgid "{Data Type} postgresql-role-configuration"
  29265. msgstr ""
  29266. #. type: deftp
  29267. #: guix-git/doc/guix.texi:19852
  29268. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  29269. msgstr ""
  29270. #. type: item
  29271. #: guix-git/doc/guix.texi:19854
  29272. #, no-wrap
  29273. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  29274. msgstr ""
  29275. #. type: table
  29276. #: guix-git/doc/guix.texi:19856
  29277. msgid "The PostgreSQL host to connect to."
  29278. msgstr ""
  29279. #. type: item
  29280. #: guix-git/doc/guix.texi:19857
  29281. #, no-wrap
  29282. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  29283. msgstr ""
  29284. #. type: table
  29285. #: guix-git/doc/guix.texi:19859
  29286. msgid "File name of the log file."
  29287. msgstr ""
  29288. #. type: item
  29289. #: guix-git/doc/guix.texi:19860
  29290. #, no-wrap
  29291. msgid "@code{roles} (default: @code{'()})"
  29292. msgstr ""
  29293. #. type: table
  29294. #: guix-git/doc/guix.texi:19862
  29295. msgid "The initial PostgreSQL roles to create."
  29296. msgstr ""
  29297. #. type: subsubheading
  29298. #: guix-git/doc/guix.texi:19865
  29299. #, no-wrap
  29300. msgid "MariaDB/MySQL"
  29301. msgstr ""
  29302. #. type: defvr
  29303. #: guix-git/doc/guix.texi:19867
  29304. #, no-wrap
  29305. msgid "{Scheme Variable} mysql-service-type"
  29306. msgstr ""
  29307. #. type: defvr
  29308. #: guix-git/doc/guix.texi:19871
  29309. msgid "This is the service type for a MySQL or MariaDB database server. Its value is a @code{mysql-configuration} object that specifies which package to use, as well as various settings for the @command{mysqld} daemon."
  29310. msgstr ""
  29311. #. type: deftp
  29312. #: guix-git/doc/guix.texi:19873
  29313. #, no-wrap
  29314. msgid "{Data Type} mysql-configuration"
  29315. msgstr ""
  29316. #. type: deftp
  29317. #: guix-git/doc/guix.texi:19875
  29318. msgid "Data type representing the configuration of @var{mysql-service-type}."
  29319. msgstr ""
  29320. #. type: item
  29321. #: guix-git/doc/guix.texi:19877
  29322. #, no-wrap
  29323. msgid "@code{mysql} (default: @var{mariadb})"
  29324. msgstr ""
  29325. #. type: table
  29326. #: guix-git/doc/guix.texi:19880
  29327. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  29328. msgstr ""
  29329. #. type: table
  29330. #: guix-git/doc/guix.texi:19883
  29331. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  29332. msgstr ""
  29333. #. type: item
  29334. #: guix-git/doc/guix.texi:19884 guix-git/doc/guix.texi:23430
  29335. #, no-wrap
  29336. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  29337. msgstr ""
  29338. #. type: table
  29339. #: guix-git/doc/guix.texi:19887
  29340. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  29341. msgstr ""
  29342. #. type: item
  29343. #: guix-git/doc/guix.texi:19888
  29344. #, no-wrap
  29345. msgid "@code{port} (default: @code{3306})"
  29346. msgstr ""
  29347. #. type: table
  29348. #: guix-git/doc/guix.texi:19890
  29349. msgid "TCP port on which the database server listens for incoming connections."
  29350. msgstr ""
  29351. #. type: item
  29352. #: guix-git/doc/guix.texi:19891
  29353. #, no-wrap
  29354. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  29355. msgstr ""
  29356. #. type: table
  29357. #: guix-git/doc/guix.texi:19893
  29358. msgid "Socket file to use for local (non-network) connections."
  29359. msgstr ""
  29360. #. type: table
  29361. #: guix-git/doc/guix.texi:19896
  29362. msgid "Additional settings for the @file{my.cnf} configuration file."
  29363. msgstr ""
  29364. #. type: item
  29365. #: guix-git/doc/guix.texi:19897
  29366. #, no-wrap
  29367. msgid "@code{auto-upgrade?} (default: @code{#t})"
  29368. msgstr ""
  29369. #. type: table
  29370. #: guix-git/doc/guix.texi:19902
  29371. msgid "Whether to automatically run @command{mysql_upgrade} after starting the service. This is necessary to upgrade the @dfn{system schema} after ``major'' updates (such as switching from MariaDB 10.4 to 10.5), but can be disabled if you would rather do that manually."
  29372. msgstr ""
  29373. #. type: subsubheading
  29374. #: guix-git/doc/guix.texi:19906
  29375. #, no-wrap
  29376. msgid "Memcached"
  29377. msgstr ""
  29378. #. type: defvr
  29379. #: guix-git/doc/guix.texi:19908
  29380. #, no-wrap
  29381. msgid "{Scheme Variable} memcached-service-type"
  29382. msgstr ""
  29383. #. type: defvr
  29384. #: guix-git/doc/guix.texi:19912
  29385. msgid "This is the service type for the @uref{https://memcached.org/, Memcached} service, which provides a distributed in memory cache. The value for the service type is a @code{memcached-configuration} object."
  29386. msgstr ""
  29387. #. type: lisp
  29388. #: guix-git/doc/guix.texi:19916
  29389. #, no-wrap
  29390. msgid "(service memcached-service-type)\n"
  29391. msgstr ""
  29392. #. type: deftp
  29393. #: guix-git/doc/guix.texi:19918
  29394. #, no-wrap
  29395. msgid "{Data Type} memcached-configuration"
  29396. msgstr ""
  29397. #. type: deftp
  29398. #: guix-git/doc/guix.texi:19920
  29399. msgid "Data type representing the configuration of memcached."
  29400. msgstr ""
  29401. #. type: item
  29402. #: guix-git/doc/guix.texi:19922
  29403. #, no-wrap
  29404. msgid "@code{memcached} (default: @code{memcached})"
  29405. msgstr ""
  29406. #. type: table
  29407. #: guix-git/doc/guix.texi:19924
  29408. msgid "The Memcached package to use."
  29409. msgstr ""
  29410. #. type: item
  29411. #: guix-git/doc/guix.texi:19925
  29412. #, no-wrap
  29413. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  29414. msgstr ""
  29415. #. type: table
  29416. #: guix-git/doc/guix.texi:19927
  29417. msgid "Network interfaces on which to listen."
  29418. msgstr ""
  29419. #. type: item
  29420. #: guix-git/doc/guix.texi:19928
  29421. #, no-wrap
  29422. msgid "@code{tcp-port} (default: @code{11211})"
  29423. msgstr ""
  29424. #. type: table
  29425. #: guix-git/doc/guix.texi:19930
  29426. msgid "Port on which to accept connections."
  29427. msgstr ""
  29428. #. type: item
  29429. #: guix-git/doc/guix.texi:19931
  29430. #, no-wrap
  29431. msgid "@code{udp-port} (default: @code{11211})"
  29432. msgstr ""
  29433. #. type: table
  29434. #: guix-git/doc/guix.texi:19934
  29435. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  29436. msgstr ""
  29437. #. type: item
  29438. #: guix-git/doc/guix.texi:19935
  29439. #, no-wrap
  29440. msgid "@code{additional-options} (default: @code{'()})"
  29441. msgstr ""
  29442. #. type: table
  29443. #: guix-git/doc/guix.texi:19937
  29444. msgid "Additional command line options to pass to @code{memcached}."
  29445. msgstr ""
  29446. #. type: subsubheading
  29447. #: guix-git/doc/guix.texi:19940
  29448. #, no-wrap
  29449. msgid "Redis"
  29450. msgstr ""
  29451. #. type: defvr
  29452. #: guix-git/doc/guix.texi:19942
  29453. #, no-wrap
  29454. msgid "{Scheme Variable} redis-service-type"
  29455. msgstr ""
  29456. #. type: defvr
  29457. #: guix-git/doc/guix.texi:19945
  29458. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  29459. msgstr ""
  29460. #. type: deftp
  29461. #: guix-git/doc/guix.texi:19947
  29462. #, no-wrap
  29463. msgid "{Data Type} redis-configuration"
  29464. msgstr ""
  29465. #. type: deftp
  29466. #: guix-git/doc/guix.texi:19949
  29467. msgid "Data type representing the configuration of redis."
  29468. msgstr ""
  29469. #. type: item
  29470. #: guix-git/doc/guix.texi:19951
  29471. #, no-wrap
  29472. msgid "@code{redis} (default: @code{redis})"
  29473. msgstr ""
  29474. #. type: table
  29475. #: guix-git/doc/guix.texi:19953
  29476. msgid "The Redis package to use."
  29477. msgstr ""
  29478. #. type: item
  29479. #: guix-git/doc/guix.texi:19954
  29480. #, no-wrap
  29481. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  29482. msgstr ""
  29483. #. type: table
  29484. #: guix-git/doc/guix.texi:19956
  29485. msgid "Network interface on which to listen."
  29486. msgstr ""
  29487. #. type: item
  29488. #: guix-git/doc/guix.texi:19957
  29489. #, no-wrap
  29490. msgid "@code{port} (default: @code{6379})"
  29491. msgstr ""
  29492. #. type: table
  29493. #: guix-git/doc/guix.texi:19960
  29494. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  29495. msgstr ""
  29496. #. type: item
  29497. #: guix-git/doc/guix.texi:19961
  29498. #, no-wrap
  29499. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  29500. msgstr ""
  29501. #. type: table
  29502. #: guix-git/doc/guix.texi:19963
  29503. msgid "Directory in which to store the database and related files."
  29504. msgstr ""
  29505. #. type: cindex
  29506. #: guix-git/doc/guix.texi:19969
  29507. #, no-wrap
  29508. msgid "mail"
  29509. msgstr ""
  29510. #. type: cindex
  29511. #: guix-git/doc/guix.texi:19970
  29512. #, no-wrap
  29513. msgid "email"
  29514. msgstr ""
  29515. #. type: Plain text
  29516. #: guix-git/doc/guix.texi:19975
  29517. msgid "The @code{(gnu services mail)} module provides Guix service definitions for email services: IMAP, POP3, and LMTP servers, as well as mail transport agents (MTAs). Lots of acronyms! These services are detailed in the subsections below."
  29518. msgstr ""
  29519. #. type: subsubheading
  29520. #: guix-git/doc/guix.texi:19976
  29521. #, no-wrap
  29522. msgid "Dovecot Service"
  29523. msgstr ""
  29524. #. type: deffn
  29525. #: guix-git/doc/guix.texi:19978
  29526. #, no-wrap
  29527. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  29528. msgstr ""
  29529. #. type: deffn
  29530. #: guix-git/doc/guix.texi:19980
  29531. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  29532. msgstr ""
  29533. #. type: Plain text
  29534. #: guix-git/doc/guix.texi:19990
  29535. msgid "By default, Dovecot does not need much configuration; the default configuration object created by @code{(dovecot-configuration)} will suffice if your mail is delivered to @code{~/Maildir}. A self-signed certificate will be generated for TLS-protected connections, though Dovecot will also listen on cleartext ports by default. There are a number of options, though, which mail administrators might need to change, and as is the case with other services, Guix allows the system administrator to specify these parameters via a uniform Scheme interface."
  29536. msgstr ""
  29537. #. type: Plain text
  29538. #: guix-git/doc/guix.texi:19993
  29539. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  29540. msgstr ""
  29541. #. type: lisp
  29542. #: guix-git/doc/guix.texi:19998
  29543. #, no-wrap
  29544. msgid ""
  29545. "(dovecot-service #:config\n"
  29546. " (dovecot-configuration\n"
  29547. " (mail-location \"maildir:~/.mail\")))\n"
  29548. msgstr ""
  29549. #. type: Plain text
  29550. #: guix-git/doc/guix.texi:20006
  29551. msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. There is also a way to specify the configuration as a string, if you have an old @code{dovecot.conf} file that you want to port over from some other system; see the end for more details."
  29552. msgstr ""
  29553. #. type: Plain text
  29554. #: guix-git/doc/guix.texi:20016
  29555. msgid "Available @code{dovecot-configuration} fields are:"
  29556. msgstr ""
  29557. #. type: deftypevr
  29558. #: guix-git/doc/guix.texi:20017
  29559. #, no-wrap
  29560. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  29561. msgstr ""
  29562. #. type: deftypevr
  29563. #: guix-git/doc/guix.texi:20019 guix-git/doc/guix.texi:21325
  29564. msgid "The dovecot package."
  29565. msgstr ""
  29566. #. type: deftypevr
  29567. #: guix-git/doc/guix.texi:20021
  29568. #, no-wrap
  29569. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  29570. msgstr ""
  29571. #. type: deftypevr
  29572. #: guix-git/doc/guix.texi:20027
  29573. msgid "A list of IPs or hosts where to listen for connections. @samp{*} listens on all IPv4 interfaces, @samp{::} listens on all IPv6 interfaces. If you want to specify non-default ports or anything more complex, customize the address and port fields of the @samp{inet-listener} of the specific services you are interested in."
  29574. msgstr ""
  29575. #. type: deftypevr
  29576. #: guix-git/doc/guix.texi:20029
  29577. #, no-wrap
  29578. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  29579. msgstr ""
  29580. #. type: deftypevr
  29581. #: guix-git/doc/guix.texi:20032
  29582. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  29583. msgstr ""
  29584. #. type: deftypevr
  29585. #: guix-git/doc/guix.texi:20034
  29586. msgid "Available @code{protocol-configuration} fields are:"
  29587. msgstr ""
  29588. #. type: deftypevr
  29589. #: guix-git/doc/guix.texi:20035
  29590. #, no-wrap
  29591. msgid "{@code{protocol-configuration} parameter} string name"
  29592. msgstr ""
  29593. #. type: deftypevr
  29594. #: guix-git/doc/guix.texi:20037
  29595. msgid "The name of the protocol."
  29596. msgstr ""
  29597. #. type: deftypevr
  29598. #: guix-git/doc/guix.texi:20039
  29599. #, no-wrap
  29600. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  29601. msgstr ""
  29602. #. type: deftypevr
  29603. #: guix-git/doc/guix.texi:20043
  29604. msgid "UNIX socket path to the master authentication server to find users. This is used by imap (for shared users) and lda. It defaults to @samp{\"/var/run/dovecot/auth-userdb\"}."
  29605. msgstr ""
  29606. #. type: deftypevr
  29607. #: guix-git/doc/guix.texi:20045
  29608. #, no-wrap
  29609. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  29610. msgstr ""
  29611. #. type: deftypevr
  29612. #: guix-git/doc/guix.texi:20047
  29613. msgid "Space separated list of plugins to load."
  29614. msgstr ""
  29615. #. type: deftypevr
  29616. #: guix-git/doc/guix.texi:20049
  29617. #, no-wrap
  29618. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  29619. msgstr ""
  29620. #. type: deftypevr
  29621. #: guix-git/doc/guix.texi:20053
  29622. msgid "Maximum number of IMAP connections allowed for a user from each IP address. NOTE: The username is compared case-sensitively. Defaults to @samp{10}."
  29623. msgstr ""
  29624. #. type: deftypevr
  29625. #: guix-git/doc/guix.texi:20057
  29626. #, no-wrap
  29627. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  29628. msgstr ""
  29629. #. type: deftypevr
  29630. #: guix-git/doc/guix.texi:20061
  29631. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  29632. msgstr ""
  29633. #. type: deftypevr
  29634. #: guix-git/doc/guix.texi:20063
  29635. msgid "Available @code{service-configuration} fields are:"
  29636. msgstr ""
  29637. #. type: deftypevr
  29638. #: guix-git/doc/guix.texi:20064
  29639. #, no-wrap
  29640. msgid "{@code{service-configuration} parameter} string kind"
  29641. msgstr ""
  29642. #. type: deftypevr
  29643. #: guix-git/doc/guix.texi:20069
  29644. msgid "The service kind. Valid values include @code{director}, @code{imap-login}, @code{pop3-login}, @code{lmtp}, @code{imap}, @code{pop3}, @code{auth}, @code{auth-worker}, @code{dict}, @code{tcpwrap}, @code{quota-warning}, or anything else."
  29645. msgstr ""
  29646. #. type: deftypevr
  29647. #: guix-git/doc/guix.texi:20071
  29648. #, no-wrap
  29649. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  29650. msgstr ""
  29651. #. type: deftypevr
  29652. #: guix-git/doc/guix.texi:20076
  29653. msgid "Listeners for the service. A listener is either a @code{unix-listener-configuration}, a @code{fifo-listener-configuration}, or an @code{inet-listener-configuration}. Defaults to @samp{()}."
  29654. msgstr ""
  29655. #. type: deftypevr
  29656. #: guix-git/doc/guix.texi:20078
  29657. msgid "Available @code{unix-listener-configuration} fields are:"
  29658. msgstr ""
  29659. #. type: deftypevr
  29660. #: guix-git/doc/guix.texi:20079
  29661. #, no-wrap
  29662. msgid "{@code{unix-listener-configuration} parameter} string path"
  29663. msgstr ""
  29664. #. type: deftypevr
  29665. #: guix-git/doc/guix.texi:20082 guix-git/doc/guix.texi:20105
  29666. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  29667. msgstr ""
  29668. #. type: deftypevr
  29669. #: guix-git/doc/guix.texi:20084
  29670. #, no-wrap
  29671. msgid "{@code{unix-listener-configuration} parameter} string mode"
  29672. msgstr ""
  29673. #. type: deftypevr
  29674. #: guix-git/doc/guix.texi:20087 guix-git/doc/guix.texi:20110
  29675. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  29676. msgstr ""
  29677. #. type: deftypevr
  29678. #: guix-git/doc/guix.texi:20089
  29679. #, no-wrap
  29680. msgid "{@code{unix-listener-configuration} parameter} string user"
  29681. msgstr ""
  29682. #. type: deftypevr
  29683. #: guix-git/doc/guix.texi:20092 guix-git/doc/guix.texi:20115
  29684. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  29685. msgstr ""
  29686. #. type: deftypevr
  29687. #: guix-git/doc/guix.texi:20094
  29688. #, no-wrap
  29689. msgid "{@code{unix-listener-configuration} parameter} string group"
  29690. msgstr ""
  29691. #. type: deftypevr
  29692. #: guix-git/doc/guix.texi:20097 guix-git/doc/guix.texi:20120
  29693. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  29694. msgstr ""
  29695. #. type: deftypevr
  29696. #: guix-git/doc/guix.texi:20101
  29697. msgid "Available @code{fifo-listener-configuration} fields are:"
  29698. msgstr ""
  29699. #. type: deftypevr
  29700. #: guix-git/doc/guix.texi:20102
  29701. #, no-wrap
  29702. msgid "{@code{fifo-listener-configuration} parameter} string path"
  29703. msgstr ""
  29704. #. type: deftypevr
  29705. #: guix-git/doc/guix.texi:20107
  29706. #, no-wrap
  29707. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  29708. msgstr ""
  29709. #. type: deftypevr
  29710. #: guix-git/doc/guix.texi:20112
  29711. #, no-wrap
  29712. msgid "{@code{fifo-listener-configuration} parameter} string user"
  29713. msgstr ""
  29714. #. type: deftypevr
  29715. #: guix-git/doc/guix.texi:20117
  29716. #, no-wrap
  29717. msgid "{@code{fifo-listener-configuration} parameter} string group"
  29718. msgstr ""
  29719. #. type: deftypevr
  29720. #: guix-git/doc/guix.texi:20124
  29721. msgid "Available @code{inet-listener-configuration} fields are:"
  29722. msgstr ""
  29723. #. type: deftypevr
  29724. #: guix-git/doc/guix.texi:20125
  29725. #, no-wrap
  29726. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  29727. msgstr ""
  29728. #. type: deftypevr
  29729. #: guix-git/doc/guix.texi:20127
  29730. msgid "The protocol to listen for."
  29731. msgstr ""
  29732. #. type: deftypevr
  29733. #: guix-git/doc/guix.texi:20129
  29734. #, no-wrap
  29735. msgid "{@code{inet-listener-configuration} parameter} string address"
  29736. msgstr ""
  29737. #. type: deftypevr
  29738. #: guix-git/doc/guix.texi:20132
  29739. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  29740. msgstr ""
  29741. #. type: deftypevr
  29742. #: guix-git/doc/guix.texi:20134
  29743. #, no-wrap
  29744. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  29745. msgstr ""
  29746. #. type: deftypevr
  29747. #: guix-git/doc/guix.texi:20136
  29748. msgid "The port on which to listen."
  29749. msgstr ""
  29750. #. type: deftypevr
  29751. #: guix-git/doc/guix.texi:20138
  29752. #, no-wrap
  29753. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  29754. msgstr ""
  29755. #. type: deftypevr
  29756. #: guix-git/doc/guix.texi:20142
  29757. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  29758. msgstr ""
  29759. #. type: deftypevr
  29760. #: guix-git/doc/guix.texi:20146
  29761. #, no-wrap
  29762. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  29763. msgstr ""
  29764. #. type: deftypevr
  29765. #: guix-git/doc/guix.texi:20151
  29766. msgid "Maximum number of simultaneous client connections per process. Once this number of connections is received, the next incoming connection will prompt Dovecot to spawn another process. If set to 0, @code{default-client-limit} is used instead."
  29767. msgstr ""
  29768. #. type: deftypevr
  29769. #: guix-git/doc/guix.texi:20156
  29770. #, no-wrap
  29771. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  29772. msgstr ""
  29773. #. type: deftypevr
  29774. #: guix-git/doc/guix.texi:20161
  29775. msgid "Number of connections to handle before starting a new process. Typically the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0 is faster. <doc/wiki/LoginProcess.txt>. Defaults to @samp{1}."
  29776. msgstr ""
  29777. #. type: deftypevr
  29778. #: guix-git/doc/guix.texi:20164
  29779. #, no-wrap
  29780. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  29781. msgstr ""
  29782. #. type: deftypevr
  29783. #: guix-git/doc/guix.texi:20167
  29784. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  29785. msgstr ""
  29786. #. type: deftypevr
  29787. #: guix-git/doc/guix.texi:20172
  29788. #, no-wrap
  29789. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  29790. msgstr ""
  29791. #. type: deftypevr
  29792. #: guix-git/doc/guix.texi:20175
  29793. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  29794. msgstr ""
  29795. #. type: deftypevr
  29796. #: guix-git/doc/guix.texi:20177
  29797. #, no-wrap
  29798. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  29799. msgstr ""
  29800. #. type: deftypevr
  29801. #: guix-git/doc/guix.texi:20181
  29802. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  29803. msgstr ""
  29804. #. type: deftypevr
  29805. #: guix-git/doc/guix.texi:20185
  29806. #, no-wrap
  29807. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  29808. msgstr ""
  29809. #. type: deftypevr
  29810. #: guix-git/doc/guix.texi:20188
  29811. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  29812. msgstr ""
  29813. #. type: deftypevr
  29814. #: guix-git/doc/guix.texi:20190
  29815. msgid "Available @code{dict-configuration} fields are:"
  29816. msgstr ""
  29817. #. type: deftypevr
  29818. #: guix-git/doc/guix.texi:20191
  29819. #, no-wrap
  29820. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  29821. msgstr ""
  29822. #. type: deftypevr
  29823. #: guix-git/doc/guix.texi:20194
  29824. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  29825. msgstr ""
  29826. #. type: deftypevr
  29827. #: guix-git/doc/guix.texi:20198
  29828. #, no-wrap
  29829. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  29830. msgstr ""
  29831. #. type: deftypevr
  29832. #: guix-git/doc/guix.texi:20201
  29833. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  29834. msgstr ""
  29835. #. type: deftypevr
  29836. #: guix-git/doc/guix.texi:20203
  29837. msgid "Available @code{passdb-configuration} fields are:"
  29838. msgstr ""
  29839. #. type: deftypevr
  29840. #: guix-git/doc/guix.texi:20204
  29841. #, no-wrap
  29842. msgid "{@code{passdb-configuration} parameter} string driver"
  29843. msgstr ""
  29844. #. type: deftypevr
  29845. #: guix-git/doc/guix.texi:20209
  29846. msgid "The driver that the passdb should use. Valid values include @samp{pam}, @samp{passwd}, @samp{shadow}, @samp{bsdauth}, and @samp{static}. Defaults to @samp{\"pam\"}."
  29847. msgstr ""
  29848. #. type: deftypevr
  29849. #: guix-git/doc/guix.texi:20211
  29850. #, no-wrap
  29851. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  29852. msgstr ""
  29853. #. type: deftypevr
  29854. #: guix-git/doc/guix.texi:20214
  29855. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  29856. msgstr ""
  29857. #. type: deftypevr
  29858. #: guix-git/doc/guix.texi:20218
  29859. #, no-wrap
  29860. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  29861. msgstr ""
  29862. #. type: deftypevr
  29863. #: guix-git/doc/guix.texi:20221
  29864. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  29865. msgstr ""
  29866. #. type: deftypevr
  29867. #: guix-git/doc/guix.texi:20223
  29868. msgid "Available @code{userdb-configuration} fields are:"
  29869. msgstr ""
  29870. #. type: deftypevr
  29871. #: guix-git/doc/guix.texi:20224
  29872. #, no-wrap
  29873. msgid "{@code{userdb-configuration} parameter} string driver"
  29874. msgstr ""
  29875. #. type: deftypevr
  29876. #: guix-git/doc/guix.texi:20228
  29877. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  29878. msgstr ""
  29879. #. type: deftypevr
  29880. #: guix-git/doc/guix.texi:20230
  29881. #, no-wrap
  29882. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  29883. msgstr ""
  29884. #. type: deftypevr
  29885. #: guix-git/doc/guix.texi:20233
  29886. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  29887. msgstr ""
  29888. #. type: deftypevr
  29889. #: guix-git/doc/guix.texi:20235
  29890. #, no-wrap
  29891. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  29892. msgstr ""
  29893. #. type: deftypevr
  29894. #: guix-git/doc/guix.texi:20238
  29895. msgid "Override fields from passwd. Defaults to @samp{()}."
  29896. msgstr ""
  29897. #. type: deftypevr
  29898. #: guix-git/doc/guix.texi:20242
  29899. #, no-wrap
  29900. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  29901. msgstr ""
  29902. #. type: deftypevr
  29903. #: guix-git/doc/guix.texi:20245
  29904. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  29905. msgstr ""
  29906. #. type: deftypevr
  29907. #: guix-git/doc/guix.texi:20247
  29908. #, no-wrap
  29909. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  29910. msgstr ""
  29911. #. type: deftypevr
  29912. #: guix-git/doc/guix.texi:20250
  29913. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  29914. msgstr ""
  29915. #. type: deftypevr
  29916. #: guix-git/doc/guix.texi:20252
  29917. msgid "Available @code{namespace-configuration} fields are:"
  29918. msgstr ""
  29919. #. type: deftypevr
  29920. #: guix-git/doc/guix.texi:20253
  29921. #, no-wrap
  29922. msgid "{@code{namespace-configuration} parameter} string name"
  29923. msgstr ""
  29924. #. type: deftypevr
  29925. #: guix-git/doc/guix.texi:20255
  29926. msgid "Name for this namespace."
  29927. msgstr ""
  29928. #. type: deftypevr
  29929. #: guix-git/doc/guix.texi:20257
  29930. #, no-wrap
  29931. msgid "{@code{namespace-configuration} parameter} string type"
  29932. msgstr ""
  29933. #. type: deftypevr
  29934. #: guix-git/doc/guix.texi:20260
  29935. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  29936. msgstr ""
  29937. #. type: deftypevr
  29938. #: guix-git/doc/guix.texi:20262
  29939. #, no-wrap
  29940. msgid "{@code{namespace-configuration} parameter} string separator"
  29941. msgstr ""
  29942. #. type: deftypevr
  29943. #: guix-git/doc/guix.texi:20268
  29944. msgid "Hierarchy separator to use. You should use the same separator for all namespaces or some clients get confused. @samp{/} is usually a good one. The default however depends on the underlying mail storage format. Defaults to @samp{\"\"}."
  29945. msgstr ""
  29946. #. type: deftypevr
  29947. #: guix-git/doc/guix.texi:20270
  29948. #, no-wrap
  29949. msgid "{@code{namespace-configuration} parameter} string prefix"
  29950. msgstr ""
  29951. #. type: deftypevr
  29952. #: guix-git/doc/guix.texi:20274
  29953. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  29954. msgstr ""
  29955. #. type: deftypevr
  29956. #: guix-git/doc/guix.texi:20276
  29957. #, no-wrap
  29958. msgid "{@code{namespace-configuration} parameter} string location"
  29959. msgstr ""
  29960. #. type: deftypevr
  29961. #: guix-git/doc/guix.texi:20280
  29962. msgid "Physical location of the mailbox. This is in the same format as mail_location, which is also the default for it. Defaults to @samp{\"\"}."
  29963. msgstr ""
  29964. #. type: deftypevr
  29965. #: guix-git/doc/guix.texi:20282
  29966. #, no-wrap
  29967. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  29968. msgstr ""
  29969. #. type: deftypevr
  29970. #: guix-git/doc/guix.texi:20286
  29971. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  29972. msgstr ""
  29973. #. type: deftypevr
  29974. #: guix-git/doc/guix.texi:20288
  29975. #, no-wrap
  29976. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  29977. msgstr ""
  29978. #. type: deftypevr
  29979. #: guix-git/doc/guix.texi:20296
  29980. msgid "If namespace is hidden, it's not advertised to clients via NAMESPACE extension. You'll most likely also want to set @samp{list? #f}. This is mostly useful when converting from another server with different namespaces which you want to deprecate but still keep working. For example you can create hidden namespaces with prefixes @samp{~/mail/}, @samp{~%u/mail/} and @samp{mail/}. Defaults to @samp{#f}."
  29981. msgstr ""
  29982. #. type: deftypevr
  29983. #: guix-git/doc/guix.texi:20298
  29984. #, no-wrap
  29985. msgid "{@code{namespace-configuration} parameter} boolean list?"
  29986. msgstr ""
  29987. #. type: deftypevr
  29988. #: guix-git/doc/guix.texi:20304
  29989. msgid "Show the mailboxes under this namespace with the LIST command. This makes the namespace visible for clients that do not support the NAMESPACE extension. The special @code{children} value lists child mailboxes, but hides the namespace prefix. Defaults to @samp{#t}."
  29990. msgstr ""
  29991. #. type: deftypevr
  29992. #: guix-git/doc/guix.texi:20306
  29993. #, no-wrap
  29994. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  29995. msgstr ""
  29996. #. type: deftypevr
  29997. #: guix-git/doc/guix.texi:20311
  29998. msgid "Namespace handles its own subscriptions. If set to @code{#f}, the parent namespace handles them. The empty prefix should always have this as @code{#t}). Defaults to @samp{#t}."
  29999. msgstr ""
  30000. #. type: deftypevr
  30001. #: guix-git/doc/guix.texi:20313
  30002. #, no-wrap
  30003. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  30004. msgstr ""
  30005. #. type: deftypevr
  30006. #: guix-git/doc/guix.texi:20316
  30007. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  30008. msgstr ""
  30009. #. type: deftypevr
  30010. #: guix-git/doc/guix.texi:20318
  30011. msgid "Available @code{mailbox-configuration} fields are:"
  30012. msgstr ""
  30013. #. type: deftypevr
  30014. #: guix-git/doc/guix.texi:20319
  30015. #, no-wrap
  30016. msgid "{@code{mailbox-configuration} parameter} string name"
  30017. msgstr ""
  30018. #. type: deftypevr
  30019. #: guix-git/doc/guix.texi:20321
  30020. msgid "Name for this mailbox."
  30021. msgstr ""
  30022. #. type: deftypevr
  30023. #: guix-git/doc/guix.texi:20323
  30024. #, no-wrap
  30025. msgid "{@code{mailbox-configuration} parameter} string auto"
  30026. msgstr ""
  30027. #. type: deftypevr
  30028. #: guix-git/doc/guix.texi:20327
  30029. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  30030. msgstr ""
  30031. #. type: deftypevr
  30032. #: guix-git/doc/guix.texi:20329
  30033. #, no-wrap
  30034. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  30035. msgstr ""
  30036. #. type: deftypevr
  30037. #: guix-git/doc/guix.texi:20334
  30038. msgid "List of IMAP @code{SPECIAL-USE} attributes as specified by RFC 6154. Valid values are @code{\\All}, @code{\\Archive}, @code{\\Drafts}, @code{\\Flagged}, @code{\\Junk}, @code{\\Sent}, and @code{\\Trash}. Defaults to @samp{()}."
  30039. msgstr ""
  30040. #. type: deftypevr
  30041. #: guix-git/doc/guix.texi:20340
  30042. #, no-wrap
  30043. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  30044. msgstr ""
  30045. #. type: deftypevr
  30046. #: guix-git/doc/guix.texi:20343
  30047. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  30048. msgstr ""
  30049. #. type: deftypevr
  30050. #: guix-git/doc/guix.texi:20345
  30051. #, no-wrap
  30052. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  30053. msgstr ""
  30054. #. type: deftypevr
  30055. #: guix-git/doc/guix.texi:20348
  30056. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  30057. msgstr ""
  30058. #. type: deftypevr
  30059. #: guix-git/doc/guix.texi:20350
  30060. #, no-wrap
  30061. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  30062. msgstr ""
  30063. #. type: deftypevr
  30064. #: guix-git/doc/guix.texi:20357
  30065. msgid "List of trusted network ranges. Connections from these IPs are allowed to override their IP addresses and ports (for logging and for authentication checks). @samp{disable-plaintext-auth} is also ignored for these networks. Typically you would specify your IMAP proxy servers here. Defaults to @samp{()}."
  30066. msgstr ""
  30067. #. type: deftypevr
  30068. #: guix-git/doc/guix.texi:20359
  30069. #, no-wrap
  30070. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  30071. msgstr ""
  30072. #. type: deftypevr
  30073. #: guix-git/doc/guix.texi:20362
  30074. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  30075. msgstr ""
  30076. #. type: deftypevr
  30077. #: guix-git/doc/guix.texi:20364
  30078. #, no-wrap
  30079. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  30080. msgstr ""
  30081. #. type: deftypevr
  30082. #: guix-git/doc/guix.texi:20370
  30083. msgid "Show more verbose process titles (in ps). Currently shows user name and IP address. Useful for seeing who is actually using the IMAP processes (e.g.@: shared mailboxes or if the same uid is used for multiple accounts). Defaults to @samp{#f}."
  30084. msgstr ""
  30085. #. type: deftypevr
  30086. #: guix-git/doc/guix.texi:20372
  30087. #, no-wrap
  30088. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  30089. msgstr ""
  30090. #. type: deftypevr
  30091. #: guix-git/doc/guix.texi:20378
  30092. msgid "Should all processes be killed when Dovecot master process shuts down. Setting this to @code{#f} means that Dovecot can be upgraded without forcing existing client connections to close (although that could also be a problem if the upgrade is e.g.@: due to a security fix). Defaults to @samp{#t}."
  30093. msgstr ""
  30094. #. type: deftypevr
  30095. #: guix-git/doc/guix.texi:20380
  30096. #, no-wrap
  30097. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  30098. msgstr ""
  30099. #. type: deftypevr
  30100. #: guix-git/doc/guix.texi:20384
  30101. msgid "If non-zero, run mail commands via this many connections to doveadm server, instead of running them directly in the same process. Defaults to @samp{0}."
  30102. msgstr ""
  30103. #. type: deftypevr
  30104. #: guix-git/doc/guix.texi:20386
  30105. #, no-wrap
  30106. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  30107. msgstr ""
  30108. #. type: deftypevr
  30109. #: guix-git/doc/guix.texi:20389
  30110. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  30111. msgstr ""
  30112. #. type: deftypevr
  30113. #: guix-git/doc/guix.texi:20391
  30114. #, no-wrap
  30115. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  30116. msgstr ""
  30117. #. type: deftypevr
  30118. #: guix-git/doc/guix.texi:20395
  30119. msgid "List of environment variables that are preserved on Dovecot startup and passed down to all of its child processes. You can also give key=value pairs to always set specific settings."
  30120. msgstr ""
  30121. #. type: deftypevr
  30122. #: guix-git/doc/guix.texi:20397
  30123. #, no-wrap
  30124. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  30125. msgstr ""
  30126. #. type: deftypevr
  30127. #: guix-git/doc/guix.texi:20404
  30128. msgid "Disable LOGIN command and all other plaintext authentications unless SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP matches the local IP (i.e.@: you're connecting from the same computer), the connection is considered secure and plaintext authentication is allowed. See also ssl=required setting. Defaults to @samp{#t}."
  30129. msgstr ""
  30130. #. type: deftypevr
  30131. #: guix-git/doc/guix.texi:20406
  30132. #, no-wrap
  30133. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  30134. msgstr ""
  30135. #. type: deftypevr
  30136. #: guix-git/doc/guix.texi:20411
  30137. msgid "Authentication cache size (e.g.@: @samp{#e10e6}). 0 means it's disabled. Note that bsdauth, PAM and vpopmail require @samp{cache-key} to be set for caching to be used. Defaults to @samp{0}."
  30138. msgstr ""
  30139. #. type: deftypevr
  30140. #: guix-git/doc/guix.texi:20413
  30141. #, no-wrap
  30142. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  30143. msgstr ""
  30144. #. type: deftypevr
  30145. #: guix-git/doc/guix.texi:20421
  30146. msgid "Time to live for cached data. After TTL expires the cached record is no longer used, *except* if the main database lookup returns internal failure. We also try to handle password changes automatically: If user's previous authentication was successful, but this one wasn't, the cache isn't used. For now this works only with plaintext authentication. Defaults to @samp{\"1 hour\"}."
  30147. msgstr ""
  30148. #. type: deftypevr
  30149. #: guix-git/doc/guix.texi:20423
  30150. #, no-wrap
  30151. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  30152. msgstr ""
  30153. #. type: deftypevr
  30154. #: guix-git/doc/guix.texi:20427
  30155. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  30156. msgstr ""
  30157. #. type: deftypevr
  30158. #: guix-git/doc/guix.texi:20429
  30159. #, no-wrap
  30160. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  30161. msgstr ""
  30162. #. type: deftypevr
  30163. #: guix-git/doc/guix.texi:20435
  30164. msgid "List of realms for SASL authentication mechanisms that need them. You can leave it empty if you don't want to support multiple realms. Many clients simply use the first one listed here, so keep the default realm first. Defaults to @samp{()}."
  30165. msgstr ""
  30166. #. type: deftypevr
  30167. #: guix-git/doc/guix.texi:20437
  30168. #, no-wrap
  30169. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  30170. msgstr ""
  30171. #. type: deftypevr
  30172. #: guix-git/doc/guix.texi:20442
  30173. msgid "Default realm/domain to use if none was specified. This is used for both SASL realms and appending @@domain to username in plaintext logins. Defaults to @samp{\"\"}."
  30174. msgstr ""
  30175. #. type: deftypevr
  30176. #: guix-git/doc/guix.texi:20444
  30177. #, no-wrap
  30178. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  30179. msgstr ""
  30180. #. type: deftypevr
  30181. #: guix-git/doc/guix.texi:20451
  30182. msgid "List of allowed characters in username. If the user-given username contains a character not listed in here, the login automatically fails. This is just an extra check to make sure user can't exploit any potential quote escaping vulnerabilities with SQL/LDAP databases. If you want to allow all characters, set this value to empty. Defaults to @samp{\"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@@\"}."
  30183. msgstr ""
  30184. #. type: deftypevr
  30185. #: guix-git/doc/guix.texi:20453
  30186. #, no-wrap
  30187. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  30188. msgstr ""
  30189. #. type: deftypevr
  30190. #: guix-git/doc/guix.texi:20459
  30191. msgid "Username character translations before it's looked up from databases. The value contains series of from -> to characters. For example @samp{#@@/@@} means that @samp{#} and @samp{/} characters are translated to @samp{@@}. Defaults to @samp{\"\"}."
  30192. msgstr ""
  30193. #. type: deftypevr
  30194. #: guix-git/doc/guix.texi:20461
  30195. #, no-wrap
  30196. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  30197. msgstr ""
  30198. #. type: deftypevr
  30199. #: guix-git/doc/guix.texi:20468
  30200. msgid "Username formatting before it's looked up from databases. You can use the standard variables here, e.g.@: %Lu would lowercase the username, %n would drop away the domain if it was given, or @samp{%n-AT-%d} would change the @samp{@@} into @samp{-AT-}. This translation is done after @samp{auth-username-translation} changes. Defaults to @samp{\"%Lu\"}."
  30201. msgstr ""
  30202. #. type: deftypevr
  30203. #: guix-git/doc/guix.texi:20470
  30204. #, no-wrap
  30205. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  30206. msgstr ""
  30207. #. type: deftypevr
  30208. #: guix-git/doc/guix.texi:20478
  30209. msgid "If you want to allow master users to log in by specifying the master username within the normal username string (i.e.@: not using SASL mechanism's support for it), you can specify the separator character here. The format is then <username><separator><master username>. UW-IMAP uses @samp{*} as the separator, so that could be a good choice. Defaults to @samp{\"\"}."
  30210. msgstr ""
  30211. #. type: deftypevr
  30212. #: guix-git/doc/guix.texi:20480
  30213. #, no-wrap
  30214. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  30215. msgstr ""
  30216. #. type: deftypevr
  30217. #: guix-git/doc/guix.texi:20484
  30218. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  30219. msgstr ""
  30220. #. type: deftypevr
  30221. #: guix-git/doc/guix.texi:20486
  30222. #, no-wrap
  30223. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  30224. msgstr ""
  30225. #. type: deftypevr
  30226. #: guix-git/doc/guix.texi:20491
  30227. msgid "Maximum number of dovecot-auth worker processes. They're used to execute blocking passdb and userdb queries (e.g.@: MySQL and PAM). They're automatically created and destroyed as needed. Defaults to @samp{30}."
  30228. msgstr ""
  30229. #. type: deftypevr
  30230. #: guix-git/doc/guix.texi:20493
  30231. #, no-wrap
  30232. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  30233. msgstr ""
  30234. #. type: deftypevr
  30235. #: guix-git/doc/guix.texi:20498
  30236. msgid "Host name to use in GSSAPI principal names. The default is to use the name returned by gethostname(). Use @samp{$ALL} (with quotes) to allow all keytab entries. Defaults to @samp{\"\"}."
  30237. msgstr ""
  30238. #. type: deftypevr
  30239. #: guix-git/doc/guix.texi:20500
  30240. #, no-wrap
  30241. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  30242. msgstr ""
  30243. #. type: deftypevr
  30244. #: guix-git/doc/guix.texi:20506
  30245. msgid "Kerberos keytab to use for the GSSAPI mechanism. Will use the system default (usually @file{/etc/krb5.keytab}) if not specified. You may need to change the auth service to run as root to be able to read this file. Defaults to @samp{\"\"}."
  30246. msgstr ""
  30247. #. type: deftypevr
  30248. #: guix-git/doc/guix.texi:20508
  30249. #, no-wrap
  30250. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  30251. msgstr ""
  30252. #. type: deftypevr
  30253. #: guix-git/doc/guix.texi:20513
  30254. msgid "Do NTLM and GSS-SPNEGO authentication using Samba's winbind daemon and @samp{ntlm-auth} helper. <doc/wiki/Authentication/Mechanisms/Winbind.txt>. Defaults to @samp{#f}."
  30255. msgstr ""
  30256. #. type: deftypevr
  30257. #: guix-git/doc/guix.texi:20515
  30258. #, no-wrap
  30259. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  30260. msgstr ""
  30261. #. type: deftypevr
  30262. #: guix-git/doc/guix.texi:20518
  30263. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  30264. msgstr ""
  30265. #. type: deftypevr
  30266. #: guix-git/doc/guix.texi:20520
  30267. #, no-wrap
  30268. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  30269. msgstr ""
  30270. #. type: deftypevr
  30271. #: guix-git/doc/guix.texi:20523
  30272. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  30273. msgstr ""
  30274. #. type: deftypevr
  30275. #: guix-git/doc/guix.texi:20525
  30276. #, no-wrap
  30277. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  30278. msgstr ""
  30279. #. type: deftypevr
  30280. #: guix-git/doc/guix.texi:20529
  30281. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  30282. msgstr ""
  30283. #. type: deftypevr
  30284. #: guix-git/doc/guix.texi:20531
  30285. #, no-wrap
  30286. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  30287. msgstr ""
  30288. #. type: deftypevr
  30289. #: guix-git/doc/guix.texi:20536
  30290. msgid "Take the username from client's SSL certificate, using @code{X509_NAME_get_text_by_NID()} which returns the subject's DN's CommonName. Defaults to @samp{#f}."
  30291. msgstr ""
  30292. #. type: deftypevr
  30293. #: guix-git/doc/guix.texi:20538
  30294. #, no-wrap
  30295. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  30296. msgstr ""
  30297. #. type: deftypevr
  30298. #: guix-git/doc/guix.texi:20544
  30299. msgid "List of wanted authentication mechanisms. Supported mechanisms are: @samp{plain}, @samp{login}, @samp{digest-md5}, @samp{cram-md5}, @samp{ntlm}, @samp{rpa}, @samp{apop}, @samp{anonymous}, @samp{gssapi}, @samp{otp}, @samp{skey}, and @samp{gss-spnego}. NOTE: See also @samp{disable-plaintext-auth} setting."
  30300. msgstr ""
  30301. #. type: deftypevr
  30302. #: guix-git/doc/guix.texi:20546
  30303. #, no-wrap
  30304. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  30305. msgstr ""
  30306. #. type: deftypevr
  30307. #: guix-git/doc/guix.texi:20551
  30308. msgid "List of IPs or hostnames to all director servers, including ourself. Ports can be specified as ip:port. The default port is the same as what director service's @samp{inet-listener} is using. Defaults to @samp{()}."
  30309. msgstr ""
  30310. #. type: deftypevr
  30311. #: guix-git/doc/guix.texi:20553
  30312. #, no-wrap
  30313. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  30314. msgstr ""
  30315. #. type: deftypevr
  30316. #: guix-git/doc/guix.texi:20557
  30317. msgid "List of IPs or hostnames to all backend mail servers. Ranges are allowed too, like 10.0.0.10-10.0.0.30. Defaults to @samp{()}."
  30318. msgstr ""
  30319. #. type: deftypevr
  30320. #: guix-git/doc/guix.texi:20559
  30321. #, no-wrap
  30322. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  30323. msgstr ""
  30324. #. type: deftypevr
  30325. #: guix-git/doc/guix.texi:20563
  30326. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  30327. msgstr ""
  30328. #. type: deftypevr
  30329. #: guix-git/doc/guix.texi:20565
  30330. #, no-wrap
  30331. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  30332. msgstr ""
  30333. #. type: deftypevr
  30334. #: guix-git/doc/guix.texi:20570
  30335. msgid "How the username is translated before being hashed. Useful values include %Ln if user can log in with or without @@domain, %Ld if mailboxes are shared within domain. Defaults to @samp{\"%Lu\"}."
  30336. msgstr ""
  30337. #. type: deftypevr
  30338. #: guix-git/doc/guix.texi:20572
  30339. #, no-wrap
  30340. msgid "{@code{dovecot-configuration} parameter} string log-path"
  30341. msgstr ""
  30342. #. type: deftypevr
  30343. #: guix-git/doc/guix.texi:20576
  30344. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  30345. msgstr ""
  30346. #. type: deftypevr
  30347. #: guix-git/doc/guix.texi:20578
  30348. #, no-wrap
  30349. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  30350. msgstr ""
  30351. #. type: deftypevr
  30352. #: guix-git/doc/guix.texi:20582
  30353. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  30354. msgstr ""
  30355. #. type: deftypevr
  30356. #: guix-git/doc/guix.texi:20584
  30357. #, no-wrap
  30358. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  30359. msgstr ""
  30360. #. type: deftypevr
  30361. #: guix-git/doc/guix.texi:20588
  30362. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  30363. msgstr ""
  30364. #. type: deftypevr
  30365. #: guix-git/doc/guix.texi:20590
  30366. #, no-wrap
  30367. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  30368. msgstr ""
  30369. #. type: deftypevr
  30370. #: guix-git/doc/guix.texi:20595
  30371. msgid "Syslog facility to use if you're logging to syslog. Usually if you don't want to use @samp{mail}, you'll use local0..local7. Also other standard facilities are supported. Defaults to @samp{\"mail\"}."
  30372. msgstr ""
  30373. #. type: deftypevr
  30374. #: guix-git/doc/guix.texi:20597
  30375. #, no-wrap
  30376. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  30377. msgstr ""
  30378. #. type: deftypevr
  30379. #: guix-git/doc/guix.texi:20601
  30380. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  30381. msgstr ""
  30382. #. type: deftypevr
  30383. #: guix-git/doc/guix.texi:20603
  30384. #, no-wrap
  30385. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  30386. msgstr ""
  30387. #. type: deftypevr
  30388. #: guix-git/doc/guix.texi:20610
  30389. msgid "In case of password mismatches, log the attempted password. Valid values are no, plain and sha1. sha1 can be useful for detecting brute force password attempts vs. user simply trying the same password over and over again. You can also truncate the value to n chars by appending \":n\" (e.g.@: sha1:6). Defaults to @samp{\"no\"}."
  30390. msgstr ""
  30391. #. type: deftypevr
  30392. #: guix-git/doc/guix.texi:20612
  30393. #, no-wrap
  30394. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  30395. msgstr ""
  30396. #. type: deftypevr
  30397. #: guix-git/doc/guix.texi:20616
  30398. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  30399. msgstr ""
  30400. #. type: deftypevr
  30401. #: guix-git/doc/guix.texi:20618
  30402. #, no-wrap
  30403. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  30404. msgstr ""
  30405. #. type: deftypevr
  30406. #: guix-git/doc/guix.texi:20623
  30407. msgid "In case of password mismatches, log the passwords and used scheme so the problem can be debugged. Enabling this also enables @samp{auth-debug}. Defaults to @samp{#f}."
  30408. msgstr ""
  30409. #. type: deftypevr
  30410. #: guix-git/doc/guix.texi:20625
  30411. #, no-wrap
  30412. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  30413. msgstr ""
  30414. #. type: deftypevr
  30415. #: guix-git/doc/guix.texi:20629
  30416. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  30417. msgstr ""
  30418. #. type: deftypevr
  30419. #: guix-git/doc/guix.texi:20631
  30420. #, no-wrap
  30421. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  30422. msgstr ""
  30423. #. type: deftypevr
  30424. #: guix-git/doc/guix.texi:20634
  30425. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  30426. msgstr ""
  30427. #. type: deftypevr
  30428. #: guix-git/doc/guix.texi:20636
  30429. #, no-wrap
  30430. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  30431. msgstr ""
  30432. #. type: deftypevr
  30433. #: guix-git/doc/guix.texi:20640
  30434. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  30435. msgstr ""
  30436. #. type: deftypevr
  30437. #: guix-git/doc/guix.texi:20642
  30438. #, no-wrap
  30439. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  30440. msgstr ""
  30441. #. type: deftypevr
  30442. #: guix-git/doc/guix.texi:20646
  30443. msgid "List of elements we want to log. The elements which have a non-empty variable value are joined together to form a comma-separated string."
  30444. msgstr ""
  30445. #. type: deftypevr
  30446. #: guix-git/doc/guix.texi:20648
  30447. #, no-wrap
  30448. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  30449. msgstr ""
  30450. #. type: deftypevr
  30451. #: guix-git/doc/guix.texi:20652
  30452. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  30453. msgstr ""
  30454. #. type: deftypevr
  30455. #: guix-git/doc/guix.texi:20654
  30456. #, no-wrap
  30457. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  30458. msgstr ""
  30459. #. type: deftypevr
  30460. #: guix-git/doc/guix.texi:20658
  30461. msgid "Log prefix for mail processes. See doc/wiki/Variables.txt for list of possible variables you can use. Defaults to @samp{\"\\\"%s(%u)<%@{pid@}><%@{session@}>: \\\"\"}."
  30462. msgstr ""
  30463. #. type: deftypevr
  30464. #: guix-git/doc/guix.texi:20660
  30465. #, no-wrap
  30466. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  30467. msgstr ""
  30468. #. type: deftypevr
  30469. #: guix-git/doc/guix.texi:20662
  30470. msgid "Format to use for logging mail deliveries. You can use variables:"
  30471. msgstr ""
  30472. #. type: item
  30473. #: guix-git/doc/guix.texi:20663
  30474. #, no-wrap
  30475. msgid "%$"
  30476. msgstr ""
  30477. #. type: table
  30478. #: guix-git/doc/guix.texi:20665
  30479. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  30480. msgstr ""
  30481. #. type: item
  30482. #: guix-git/doc/guix.texi:20665
  30483. #, no-wrap
  30484. msgid "%m"
  30485. msgstr ""
  30486. #. type: table
  30487. #: guix-git/doc/guix.texi:20667
  30488. msgid "Message-ID"
  30489. msgstr ""
  30490. #. type: item
  30491. #: guix-git/doc/guix.texi:20667 guix-git/doc/guix.texi:21199
  30492. #, no-wrap
  30493. msgid "%s"
  30494. msgstr ""
  30495. #. type: table
  30496. #: guix-git/doc/guix.texi:20669
  30497. msgid "Subject"
  30498. msgstr ""
  30499. #. type: item
  30500. #: guix-git/doc/guix.texi:20669
  30501. #, no-wrap
  30502. msgid "%f"
  30503. msgstr ""
  30504. #. type: table
  30505. #: guix-git/doc/guix.texi:20671
  30506. msgid "From address"
  30507. msgstr ""
  30508. #. type: table
  30509. #: guix-git/doc/guix.texi:20673
  30510. msgid "Physical size"
  30511. msgstr ""
  30512. #. type: item
  30513. #: guix-git/doc/guix.texi:20673
  30514. #, no-wrap
  30515. msgid "%w"
  30516. msgstr ""
  30517. #. type: table
  30518. #: guix-git/doc/guix.texi:20675
  30519. msgid "Virtual size."
  30520. msgstr ""
  30521. #. type: deftypevr
  30522. #: guix-git/doc/guix.texi:20677
  30523. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  30524. msgstr ""
  30525. #. type: deftypevr
  30526. #: guix-git/doc/guix.texi:20679
  30527. #, no-wrap
  30528. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  30529. msgstr ""
  30530. #. type: deftypevr
  30531. #: guix-git/doc/guix.texi:20684
  30532. msgid "Location for users' mailboxes. The default is empty, which means that Dovecot tries to find the mailboxes automatically. This won't work if the user doesn't yet have any mail, so you should explicitly tell Dovecot the full location."
  30533. msgstr ""
  30534. #. type: deftypevr
  30535. #: guix-git/doc/guix.texi:20690
  30536. msgid "If you're using mbox, giving a path to the INBOX file (e.g.@: @file{/var/mail/%u}) isn't enough. You'll also need to tell Dovecot where the other mailboxes are kept. This is called the @emph{root mail directory}, and it must be the first path given in the @samp{mail-location} setting."
  30537. msgstr ""
  30538. #. type: deftypevr
  30539. #: guix-git/doc/guix.texi:20692
  30540. msgid "There are a few special variables you can use, e.g.:"
  30541. msgstr ""
  30542. #. type: table
  30543. #: guix-git/doc/guix.texi:20696
  30544. msgid "username"
  30545. msgstr ""
  30546. #. type: item
  30547. #: guix-git/doc/guix.texi:20696 guix-git/doc/guix.texi:21195
  30548. #, no-wrap
  30549. msgid "%n"
  30550. msgstr ""
  30551. #. type: table
  30552. #: guix-git/doc/guix.texi:20698
  30553. msgid "user part in user@@domain, same as %u if there's no domain"
  30554. msgstr ""
  30555. #. type: item
  30556. #: guix-git/doc/guix.texi:20698
  30557. #, no-wrap
  30558. msgid "%d"
  30559. msgstr ""
  30560. #. type: table
  30561. #: guix-git/doc/guix.texi:20700
  30562. msgid "domain part in user@@domain, empty if there's no domain"
  30563. msgstr ""
  30564. #. type: item
  30565. #: guix-git/doc/guix.texi:20700
  30566. #, no-wrap
  30567. msgid "%h"
  30568. msgstr ""
  30569. #. type: table
  30570. #: guix-git/doc/guix.texi:20702
  30571. msgid "home director"
  30572. msgstr ""
  30573. #. type: deftypevr
  30574. #: guix-git/doc/guix.texi:20705
  30575. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  30576. msgstr ""
  30577. #. type: item
  30578. #: guix-git/doc/guix.texi:20706
  30579. #, no-wrap
  30580. msgid "maildir:~/Maildir"
  30581. msgstr ""
  30582. #. type: item
  30583. #: guix-git/doc/guix.texi:20707
  30584. #, no-wrap
  30585. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  30586. msgstr ""
  30587. #. type: item
  30588. #: guix-git/doc/guix.texi:20708
  30589. #, no-wrap
  30590. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  30591. msgstr ""
  30592. #. type: deftypevr
  30593. #: guix-git/doc/guix.texi:20713
  30594. #, no-wrap
  30595. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  30596. msgstr ""
  30597. #. type: deftypevr
  30598. #: guix-git/doc/guix.texi:20718
  30599. msgid "System user and group used to access mails. If you use multiple, userdb can override these by returning uid or gid fields. You can use either numbers or names. <doc/wiki/UserIds.txt>. Defaults to @samp{\"\"}."
  30600. msgstr ""
  30601. #. type: deftypevr
  30602. #: guix-git/doc/guix.texi:20720
  30603. #, no-wrap
  30604. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  30605. msgstr ""
  30606. #. type: deftypevr
  30607. #: guix-git/doc/guix.texi:20725
  30608. #, no-wrap
  30609. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  30610. msgstr ""
  30611. #. type: deftypevr
  30612. #: guix-git/doc/guix.texi:20731
  30613. msgid "Group to enable temporarily for privileged operations. Currently this is used only with INBOX when either its initial creation or dotlocking fails. Typically this is set to @samp{\"mail\"} to give access to @file{/var/mail}. Defaults to @samp{\"\"}."
  30614. msgstr ""
  30615. #. type: deftypevr
  30616. #: guix-git/doc/guix.texi:20733
  30617. #, no-wrap
  30618. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  30619. msgstr ""
  30620. #. type: deftypevr
  30621. #: guix-git/doc/guix.texi:20741
  30622. msgid "Grant access to these supplementary groups for mail processes. Typically these are used to set up access to shared mailboxes. Note that it may be dangerous to set these if users can create symlinks (e.g.@: if @samp{mail} group is set here, @code{ln -s /var/mail ~/mail/var} could allow a user to delete others' mailboxes, or @code{ln -s /secret/shared/box ~/mail/mybox} would allow reading it). Defaults to @samp{\"\"}."
  30623. msgstr ""
  30624. #. type: deftypevr
  30625. #: guix-git/doc/guix.texi:20743
  30626. #, no-wrap
  30627. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  30628. msgstr ""
  30629. #. type: deftypevr
  30630. #: guix-git/doc/guix.texi:20749
  30631. msgid "Allow full file system access to clients. There's no access checks other than what the operating system does for the active UID/GID@. It works with both maildir and mboxes, allowing you to prefix mailboxes names with e.g.@: @file{/path/} or @file{~user/}. Defaults to @samp{#f}."
  30632. msgstr ""
  30633. #. type: deftypevr
  30634. #: guix-git/doc/guix.texi:20751
  30635. #, no-wrap
  30636. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  30637. msgstr ""
  30638. #. type: deftypevr
  30639. #: guix-git/doc/guix.texi:20755
  30640. msgid "Don't use @code{mmap()} at all. This is required if you store indexes to shared file systems (NFS or clustered file system). Defaults to @samp{#f}."
  30641. msgstr ""
  30642. #. type: deftypevr
  30643. #: guix-git/doc/guix.texi:20757
  30644. #, no-wrap
  30645. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  30646. msgstr ""
  30647. #. type: deftypevr
  30648. #: guix-git/doc/guix.texi:20762
  30649. msgid "Rely on @samp{O_EXCL} to work when creating dotlock files. NFS supports @samp{O_EXCL} since version 3, so this should be safe to use nowadays by default. Defaults to @samp{#t}."
  30650. msgstr ""
  30651. #. type: deftypevr
  30652. #: guix-git/doc/guix.texi:20764
  30653. #, no-wrap
  30654. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  30655. msgstr ""
  30656. #. type: deftypevr
  30657. #: guix-git/doc/guix.texi:20766
  30658. msgid "When to use fsync() or fdatasync() calls:"
  30659. msgstr ""
  30660. #. type: item
  30661. #: guix-git/doc/guix.texi:20767
  30662. #, no-wrap
  30663. msgid "optimized"
  30664. msgstr ""
  30665. #. type: table
  30666. #: guix-git/doc/guix.texi:20769
  30667. msgid "Whenever necessary to avoid losing important data"
  30668. msgstr ""
  30669. #. type: table
  30670. #: guix-git/doc/guix.texi:20771
  30671. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  30672. msgstr ""
  30673. #. type: table
  30674. #: guix-git/doc/guix.texi:20773
  30675. msgid "Never use it (best performance, but crashes can lose data)."
  30676. msgstr ""
  30677. #. type: deftypevr
  30678. #: guix-git/doc/guix.texi:20775
  30679. msgid "Defaults to @samp{\"optimized\"}."
  30680. msgstr ""
  30681. #. type: deftypevr
  30682. #: guix-git/doc/guix.texi:20777
  30683. #, no-wrap
  30684. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  30685. msgstr ""
  30686. #. type: deftypevr
  30687. #: guix-git/doc/guix.texi:20782
  30688. msgid "Mail storage exists in NFS@. Set this to yes to make Dovecot flush NFS caches whenever needed. If you're using only a single mail server this isn't needed. Defaults to @samp{#f}."
  30689. msgstr ""
  30690. #. type: deftypevr
  30691. #: guix-git/doc/guix.texi:20784
  30692. #, no-wrap
  30693. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  30694. msgstr ""
  30695. #. type: deftypevr
  30696. #: guix-git/doc/guix.texi:20788
  30697. msgid "Mail index files also exist in NFS@. Setting this to yes requires @samp{mmap-disable? #t} and @samp{fsync-disable? #f}. Defaults to @samp{#f}."
  30698. msgstr ""
  30699. #. type: deftypevr
  30700. #: guix-git/doc/guix.texi:20790
  30701. #, no-wrap
  30702. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  30703. msgstr ""
  30704. #. type: deftypevr
  30705. #: guix-git/doc/guix.texi:20796
  30706. msgid "Locking method for index files. Alternatives are fcntl, flock and dotlock. Dotlocking uses some tricks which may create more disk I/O than other locking methods. NFS users: flock doesn't work, remember to change @samp{mmap-disable}. Defaults to @samp{\"fcntl\"}."
  30707. msgstr ""
  30708. #. type: deftypevr
  30709. #: guix-git/doc/guix.texi:20798
  30710. #, no-wrap
  30711. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  30712. msgstr ""
  30713. #. type: deftypevr
  30714. #: guix-git/doc/guix.texi:20802
  30715. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  30716. msgstr ""
  30717. #. type: deftypevr
  30718. #: guix-git/doc/guix.texi:20804
  30719. #, no-wrap
  30720. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  30721. msgstr ""
  30722. #. type: deftypevr
  30723. #: guix-git/doc/guix.texi:20810
  30724. msgid "Valid UID range for users. This is mostly to make sure that users can't log in as daemons or other system users. Note that denying root logins is hardcoded to dovecot binary and can't be done even if @samp{first-valid-uid} is set to 0. Defaults to @samp{500}."
  30725. msgstr ""
  30726. #. type: deftypevr
  30727. #: guix-git/doc/guix.texi:20812
  30728. #, no-wrap
  30729. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  30730. msgstr ""
  30731. #. type: deftypevr
  30732. #: guix-git/doc/guix.texi:20817
  30733. #, no-wrap
  30734. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  30735. msgstr ""
  30736. #. type: deftypevr
  30737. #: guix-git/doc/guix.texi:20822
  30738. msgid "Valid GID range for users. Users having non-valid GID as primary group ID aren't allowed to log in. If user belongs to supplementary groups with non-valid GIDs, those groups are not set. Defaults to @samp{1}."
  30739. msgstr ""
  30740. #. type: deftypevr
  30741. #: guix-git/doc/guix.texi:20824
  30742. #, no-wrap
  30743. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  30744. msgstr ""
  30745. #. type: deftypevr
  30746. #: guix-git/doc/guix.texi:20829
  30747. #, no-wrap
  30748. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  30749. msgstr ""
  30750. #. type: deftypevr
  30751. #: guix-git/doc/guix.texi:20833
  30752. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  30753. msgstr ""
  30754. #. type: deftypevr
  30755. #: guix-git/doc/guix.texi:20835
  30756. #, no-wrap
  30757. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  30758. msgstr ""
  30759. #. type: deftypevr
  30760. #: guix-git/doc/guix.texi:20845
  30761. msgid "List of directories under which chrooting is allowed for mail processes (i.e.@: @file{/var/mail} will allow chrooting to @file{/var/mail/foo/bar} too). This setting doesn't affect @samp{login-chroot} @samp{mail-chroot} or auth chroot settings. If this setting is empty, @samp{/./} in home dirs are ignored. WARNING: Never add directories here which local users can modify, that may lead to root exploit. Usually this should be done only if you don't allow shell access for users. <doc/wiki/Chrooting.txt>. Defaults to @samp{()}."
  30762. msgstr ""
  30763. #. type: deftypevr
  30764. #: guix-git/doc/guix.texi:20847
  30765. #, no-wrap
  30766. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  30767. msgstr ""
  30768. #. type: deftypevr
  30769. #: guix-git/doc/guix.texi:20856
  30770. msgid "Default chroot directory for mail processes. This can be overridden for specific users in user database by giving @samp{/./} in user's home directory (e.g.@: @samp{/home/./user} chroots into @file{/home}). Note that usually there is no real need to do chrooting, Dovecot doesn't allow users to access files outside their mail directory anyway. If your home directories are prefixed with the chroot directory, append @samp{/.} to @samp{mail-chroot}. <doc/wiki/Chrooting.txt>. Defaults to @samp{\"\"}."
  30771. msgstr ""
  30772. #. type: deftypevr
  30773. #: guix-git/doc/guix.texi:20858
  30774. #, no-wrap
  30775. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  30776. msgstr ""
  30777. #. type: deftypevr
  30778. #: guix-git/doc/guix.texi:20862
  30779. msgid "UNIX socket path to master authentication server to find users. This is used by imap (for shared users) and lda. Defaults to @samp{\"/var/run/dovecot/auth-userdb\"}."
  30780. msgstr ""
  30781. #. type: deftypevr
  30782. #: guix-git/doc/guix.texi:20864
  30783. #, no-wrap
  30784. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  30785. msgstr ""
  30786. #. type: deftypevr
  30787. #: guix-git/doc/guix.texi:20867
  30788. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  30789. msgstr ""
  30790. #. type: deftypevr
  30791. #: guix-git/doc/guix.texi:20869
  30792. #, no-wrap
  30793. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  30794. msgstr ""
  30795. #. type: deftypevr
  30796. #: guix-git/doc/guix.texi:20873
  30797. msgid "List of plugins to load for all services. Plugins specific to IMAP, LDA, etc.@: are added to this list in their own .conf files. Defaults to @samp{()}."
  30798. msgstr ""
  30799. #. type: deftypevr
  30800. #: guix-git/doc/guix.texi:20875
  30801. #, no-wrap
  30802. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  30803. msgstr ""
  30804. #. type: deftypevr
  30805. #: guix-git/doc/guix.texi:20880
  30806. msgid "The minimum number of mails in a mailbox before updates are done to cache file. This allows optimizing Dovecot's behavior to do less disk writes at the cost of more disk reads. Defaults to @samp{0}."
  30807. msgstr ""
  30808. #. type: deftypevr
  30809. #: guix-git/doc/guix.texi:20882
  30810. #, no-wrap
  30811. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  30812. msgstr ""
  30813. #. type: deftypevr
  30814. #: guix-git/doc/guix.texi:20889
  30815. msgid "When IDLE command is running, mailbox is checked once in a while to see if there are any new mails or other changes. This setting defines the minimum time to wait between those checks. Dovecot can also use dnotify, inotify and kqueue to find out immediately when changes occur. Defaults to @samp{\"30 secs\"}."
  30816. msgstr ""
  30817. #. type: deftypevr
  30818. #: guix-git/doc/guix.texi:20891
  30819. #, no-wrap
  30820. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  30821. msgstr ""
  30822. #. type: deftypevr
  30823. #: guix-git/doc/guix.texi:20898
  30824. msgid "Save mails with CR+LF instead of plain LF@. This makes sending those mails take less CPU, especially with sendfile() syscall with Linux and FreeBSD@. But it also creates a bit more disk I/O which may just make it slower. Also note that if other software reads the mboxes/maildirs, they may handle the extra CRs wrong and cause problems. Defaults to @samp{#f}."
  30825. msgstr ""
  30826. #. type: deftypevr
  30827. #: guix-git/doc/guix.texi:20900
  30828. #, no-wrap
  30829. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  30830. msgstr ""
  30831. #. type: deftypevr
  30832. #: guix-git/doc/guix.texi:20908
  30833. msgid "By default LIST command returns all entries in maildir beginning with a dot. Enabling this option makes Dovecot return only entries which are directories. This is done by stat()ing each entry, so it causes more disk I/O. (For systems setting struct @samp{dirent->d_type} this check is free and it's done always regardless of this setting). Defaults to @samp{#f}."
  30834. msgstr ""
  30835. #. type: deftypevr
  30836. #: guix-git/doc/guix.texi:20910
  30837. #, no-wrap
  30838. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  30839. msgstr ""
  30840. #. type: deftypevr
  30841. #: guix-git/doc/guix.texi:20915
  30842. msgid "When copying a message, do it with hard links whenever possible. This makes the performance much better, and it's unlikely to have any side effects. Defaults to @samp{#t}."
  30843. msgstr ""
  30844. #. type: deftypevr
  30845. #: guix-git/doc/guix.texi:20917
  30846. #, no-wrap
  30847. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  30848. msgstr ""
  30849. #. type: deftypevr
  30850. #: guix-git/doc/guix.texi:20922
  30851. msgid "Assume Dovecot is the only MUA accessing Maildir: Scan cur/ directory only when its mtime changes unexpectedly or when we can't find the mail otherwise. Defaults to @samp{#f}."
  30852. msgstr ""
  30853. #. type: deftypevr
  30854. #: guix-git/doc/guix.texi:20924
  30855. #, no-wrap
  30856. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  30857. msgstr ""
  30858. #. type: deftypevr
  30859. #: guix-git/doc/guix.texi:20927
  30860. msgid "Which locking methods to use for locking mbox. There are four available:"
  30861. msgstr ""
  30862. #. type: item
  30863. #: guix-git/doc/guix.texi:20929
  30864. #, no-wrap
  30865. msgid "dotlock"
  30866. msgstr ""
  30867. #. type: table
  30868. #: guix-git/doc/guix.texi:20933
  30869. msgid "Create <mailbox>.lock file. This is the oldest and most NFS-safe solution. If you want to use /var/mail/ like directory, the users will need write access to that directory."
  30870. msgstr ""
  30871. #. type: item
  30872. #: guix-git/doc/guix.texi:20933
  30873. #, no-wrap
  30874. msgid "dotlock-try"
  30875. msgstr ""
  30876. #. type: table
  30877. #: guix-git/doc/guix.texi:20936
  30878. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  30879. msgstr ""
  30880. #. type: item
  30881. #: guix-git/doc/guix.texi:20936
  30882. #, no-wrap
  30883. msgid "fcntl"
  30884. msgstr ""
  30885. #. type: table
  30886. #: guix-git/doc/guix.texi:20938
  30887. msgid "Use this if possible. Works with NFS too if lockd is used."
  30888. msgstr ""
  30889. #. type: item
  30890. #: guix-git/doc/guix.texi:20938
  30891. #, no-wrap
  30892. msgid "flock"
  30893. msgstr ""
  30894. #. type: table
  30895. #: guix-git/doc/guix.texi:20940 guix-git/doc/guix.texi:20942
  30896. msgid "May not exist in all systems. Doesn't work with NFS."
  30897. msgstr ""
  30898. #. type: item
  30899. #: guix-git/doc/guix.texi:20940
  30900. #, no-wrap
  30901. msgid "lockf"
  30902. msgstr ""
  30903. #. type: deftypevr
  30904. #: guix-git/doc/guix.texi:20948
  30905. msgid "You can use multiple locking methods; if you do the order they're declared in is important to avoid deadlocks if other MTAs/MUAs are using multiple locking methods as well. Some operating systems don't allow using some of them simultaneously."
  30906. msgstr ""
  30907. #. type: deftypevr
  30908. #: guix-git/doc/guix.texi:20950
  30909. #, no-wrap
  30910. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  30911. msgstr ""
  30912. #. type: deftypevr
  30913. #: guix-git/doc/guix.texi:20954
  30914. #, no-wrap
  30915. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  30916. msgstr ""
  30917. #. type: deftypevr
  30918. #: guix-git/doc/guix.texi:20957
  30919. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  30920. msgstr ""
  30921. #. type: deftypevr
  30922. #: guix-git/doc/guix.texi:20959
  30923. #, no-wrap
  30924. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  30925. msgstr ""
  30926. #. type: deftypevr
  30927. #: guix-git/doc/guix.texi:20963
  30928. msgid "If dotlock exists but the mailbox isn't modified in any way, override the lock file after this much time. Defaults to @samp{\"2 mins\"}."
  30929. msgstr ""
  30930. #. type: deftypevr
  30931. #: guix-git/doc/guix.texi:20965
  30932. #, no-wrap
  30933. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  30934. msgstr ""
  30935. #. type: deftypevr
  30936. #: guix-git/doc/guix.texi:20976
  30937. msgid "When mbox changes unexpectedly we have to fully read it to find out what changed. If the mbox is large this can take a long time. Since the change is usually just a newly appended mail, it'd be faster to simply read the new mails. If this setting is enabled, Dovecot does this but still safely fallbacks to re-reading the whole mbox file whenever something in mbox isn't how it's expected to be. The only real downside to this setting is that if some other MUA changes message flags, Dovecot doesn't notice it immediately. Note that a full sync is done with SELECT, EXAMINE, EXPUNGE and CHECK commands. Defaults to @samp{#t}."
  30938. msgstr ""
  30939. #. type: deftypevr
  30940. #: guix-git/doc/guix.texi:20978
  30941. #, no-wrap
  30942. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  30943. msgstr ""
  30944. #. type: deftypevr
  30945. #: guix-git/doc/guix.texi:20983
  30946. msgid "Like @samp{mbox-dirty-syncs}, but don't do full syncs even with SELECT, EXAMINE, EXPUNGE or CHECK commands. If this is set, @samp{mbox-dirty-syncs} is ignored. Defaults to @samp{#f}."
  30947. msgstr ""
  30948. #. type: deftypevr
  30949. #: guix-git/doc/guix.texi:20985
  30950. #, no-wrap
  30951. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  30952. msgstr ""
  30953. #. type: deftypevr
  30954. #: guix-git/doc/guix.texi:20991
  30955. msgid "Delay writing mbox headers until doing a full write sync (EXPUNGE and CHECK commands and when closing the mailbox). This is especially useful for POP3 where clients often delete all mails. The downside is that our changes aren't immediately visible to other MUAs. Defaults to @samp{#t}."
  30956. msgstr ""
  30957. #. type: deftypevr
  30958. #: guix-git/doc/guix.texi:20993
  30959. #, no-wrap
  30960. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  30961. msgstr ""
  30962. #. type: deftypevr
  30963. #: guix-git/doc/guix.texi:20998
  30964. msgid "If mbox size is smaller than this (e.g.@: 100k), don't write index files. If an index file already exists it's still read, just not updated. Defaults to @samp{0}."
  30965. msgstr ""
  30966. #. type: deftypevr
  30967. #: guix-git/doc/guix.texi:21000
  30968. #, no-wrap
  30969. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  30970. msgstr ""
  30971. #. type: deftypevr
  30972. #: guix-git/doc/guix.texi:21003
  30973. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  30974. msgstr ""
  30975. #. type: deftypevr
  30976. #: guix-git/doc/guix.texi:21005
  30977. #, no-wrap
  30978. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  30979. msgstr ""
  30980. #. type: deftypevr
  30981. #: guix-git/doc/guix.texi:21010
  30982. msgid "Maximum dbox file age until it's rotated. Typically in days. Day begins from midnight, so 1d = today, 2d = yesterday, etc. 0 = check disabled. Defaults to @samp{\"1d\"}."
  30983. msgstr ""
  30984. #. type: deftypevr
  30985. #: guix-git/doc/guix.texi:21012
  30986. #, no-wrap
  30987. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  30988. msgstr ""
  30989. #. type: deftypevr
  30990. #: guix-git/doc/guix.texi:21017
  30991. msgid "When creating new mdbox files, immediately preallocate their size to @samp{mdbox-rotate-size}. This setting currently works only in Linux with some file systems (ext4, xfs). Defaults to @samp{#f}."
  30992. msgstr ""
  30993. #. type: deftypevr
  30994. #: guix-git/doc/guix.texi:21019
  30995. #, no-wrap
  30996. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  30997. msgstr ""
  30998. #. type: deftypevr
  30999. #: guix-git/doc/guix.texi:21023
  31000. msgid "sdbox and mdbox support saving mail attachments to external files, which also allows single instance storage for them. Other backends don't support this for now."
  31001. msgstr ""
  31002. #. type: deftypevr
  31003. #: guix-git/doc/guix.texi:21025
  31004. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  31005. msgstr ""
  31006. #. type: deftypevr
  31007. #: guix-git/doc/guix.texi:21028
  31008. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  31009. msgstr ""
  31010. #. type: deftypevr
  31011. #: guix-git/doc/guix.texi:21030
  31012. #, no-wrap
  31013. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  31014. msgstr ""
  31015. #. type: deftypevr
  31016. #: guix-git/doc/guix.texi:21035
  31017. msgid "Attachments smaller than this aren't saved externally. It's also possible to write a plugin to disable saving specific attachments externally. Defaults to @samp{128000}."
  31018. msgstr ""
  31019. #. type: deftypevr
  31020. #: guix-git/doc/guix.texi:21037
  31021. #, no-wrap
  31022. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  31023. msgstr ""
  31024. #. type: deftypevr
  31025. #: guix-git/doc/guix.texi:21039
  31026. msgid "File system backend to use for saving attachments:"
  31027. msgstr ""
  31028. #. type: item
  31029. #: guix-git/doc/guix.texi:21040
  31030. #, no-wrap
  31031. msgid "posix"
  31032. msgstr ""
  31033. #. type: table
  31034. #: guix-git/doc/guix.texi:21042
  31035. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  31036. msgstr ""
  31037. #. type: item
  31038. #: guix-git/doc/guix.texi:21042
  31039. #, no-wrap
  31040. msgid "sis posix"
  31041. msgstr ""
  31042. #. type: table
  31043. #: guix-git/doc/guix.texi:21044
  31044. msgid "SiS with immediate byte-by-byte comparison during saving"
  31045. msgstr ""
  31046. #. type: item
  31047. #: guix-git/doc/guix.texi:21044
  31048. #, no-wrap
  31049. msgid "sis-queue posix"
  31050. msgstr ""
  31051. #. type: table
  31052. #: guix-git/doc/guix.texi:21046
  31053. msgid "SiS with delayed comparison and deduplication."
  31054. msgstr ""
  31055. #. type: deftypevr
  31056. #: guix-git/doc/guix.texi:21048
  31057. msgid "Defaults to @samp{\"sis posix\"}."
  31058. msgstr ""
  31059. #. type: deftypevr
  31060. #: guix-git/doc/guix.texi:21050
  31061. #, no-wrap
  31062. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  31063. msgstr ""
  31064. #. type: deftypevr
  31065. #: guix-git/doc/guix.texi:21056
  31066. msgid "Hash format to use in attachment filenames. You can add any text and variables: @code{%@{md4@}}, @code{%@{md5@}}, @code{%@{sha1@}}, @code{%@{sha256@}}, @code{%@{sha512@}}, @code{%@{size@}}. Variables can be truncated, e.g.@: @code{%@{sha256:80@}} returns only first 80 bits. Defaults to @samp{\"%@{sha1@}\"}."
  31067. msgstr ""
  31068. #. type: deftypevr
  31069. #: guix-git/doc/guix.texi:21058
  31070. #, no-wrap
  31071. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  31072. msgstr ""
  31073. #. type: deftypevr
  31074. #: guix-git/doc/guix.texi:21063
  31075. #, no-wrap
  31076. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  31077. msgstr ""
  31078. #. type: deftypevr
  31079. #: guix-git/doc/guix.texi:21066 guix-git/doc/guix.texi:28386
  31080. msgid "Defaults to @samp{1000}."
  31081. msgstr ""
  31082. #. type: deftypevr
  31083. #: guix-git/doc/guix.texi:21068
  31084. #, no-wrap
  31085. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  31086. msgstr ""
  31087. #. type: deftypevr
  31088. #: guix-git/doc/guix.texi:21073
  31089. msgid "Default VSZ (virtual memory size) limit for service processes. This is mainly intended to catch and kill processes that leak memory before they eat up everything. Defaults to @samp{256000000}."
  31090. msgstr ""
  31091. #. type: deftypevr
  31092. #: guix-git/doc/guix.texi:21075
  31093. #, no-wrap
  31094. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  31095. msgstr ""
  31096. #. type: deftypevr
  31097. #: guix-git/doc/guix.texi:21080
  31098. msgid "Login user is internally used by login processes. This is the most untrusted user in Dovecot system. It shouldn't have access to anything at all. Defaults to @samp{\"dovenull\"}."
  31099. msgstr ""
  31100. #. type: deftypevr
  31101. #: guix-git/doc/guix.texi:21082
  31102. #, no-wrap
  31103. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  31104. msgstr ""
  31105. #. type: deftypevr
  31106. #: guix-git/doc/guix.texi:21087
  31107. msgid "Internal user is used by unprivileged processes. It should be separate from login user, so that login processes can't disturb other processes. Defaults to @samp{\"dovecot\"}."
  31108. msgstr ""
  31109. #. type: deftypevr
  31110. #: guix-git/doc/guix.texi:21089
  31111. #, no-wrap
  31112. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  31113. msgstr ""
  31114. #. type: deftypevr
  31115. #: guix-git/doc/guix.texi:21092
  31116. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  31117. msgstr ""
  31118. #. type: deftypevr
  31119. #: guix-git/doc/guix.texi:21094
  31120. #, no-wrap
  31121. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  31122. msgstr ""
  31123. #. type: deftypevr
  31124. #: guix-git/doc/guix.texi:21097
  31125. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  31126. msgstr ""
  31127. #. type: deftypevr
  31128. #: guix-git/doc/guix.texi:21099
  31129. #, no-wrap
  31130. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  31131. msgstr ""
  31132. #. type: deftypevr
  31133. #: guix-git/doc/guix.texi:21104
  31134. msgid "PEM encoded SSL/TLS private key. The key is opened before dropping root privileges, so keep the key file unreadable by anyone but root. Defaults to @samp{\"</etc/dovecot/private/default.pem\"}."
  31135. msgstr ""
  31136. #. type: deftypevr
  31137. #: guix-git/doc/guix.texi:21106
  31138. #, no-wrap
  31139. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  31140. msgstr ""
  31141. #. type: deftypevr
  31142. #: guix-git/doc/guix.texi:21112
  31143. msgid "If key file is password protected, give the password here. Alternatively give it when starting dovecot with -p parameter. Since this file is often world-readable, you may want to place this setting instead to a different. Defaults to @samp{\"\"}."
  31144. msgstr ""
  31145. #. type: deftypevr
  31146. #: guix-git/doc/guix.texi:21114
  31147. #, no-wrap
  31148. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  31149. msgstr ""
  31150. #. type: deftypevr
  31151. #: guix-git/doc/guix.texi:21120
  31152. msgid "PEM encoded trusted certificate authority. Set this only if you intend to use @samp{ssl-verify-client-cert? #t}. The file should contain the CA certificate(s) followed by the matching CRL(s). (e.g.@: @samp{ssl-ca </etc/ssl/certs/ca.pem}). Defaults to @samp{\"\"}."
  31153. msgstr ""
  31154. #. type: deftypevr
  31155. #: guix-git/doc/guix.texi:21122
  31156. #, no-wrap
  31157. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  31158. msgstr ""
  31159. #. type: deftypevr
  31160. #: guix-git/doc/guix.texi:21125
  31161. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  31162. msgstr ""
  31163. #. type: deftypevr
  31164. #: guix-git/doc/guix.texi:21127
  31165. #, no-wrap
  31166. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  31167. msgstr ""
  31168. #. type: deftypevr
  31169. #: guix-git/doc/guix.texi:21131
  31170. msgid "Request client to send a certificate. If you also want to require it, set @samp{auth-ssl-require-client-cert? #t} in auth section. Defaults to @samp{#f}."
  31171. msgstr ""
  31172. #. type: deftypevr
  31173. #: guix-git/doc/guix.texi:21133
  31174. #, no-wrap
  31175. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  31176. msgstr ""
  31177. #. type: deftypevr
  31178. #: guix-git/doc/guix.texi:21138
  31179. msgid "Which field from certificate to use for username. commonName and x500UniqueIdentifier are the usual choices. You'll also need to set @samp{auth-ssl-username-from-cert? #t}. Defaults to @samp{\"commonName\"}."
  31180. msgstr ""
  31181. #. type: deftypevr
  31182. #: guix-git/doc/guix.texi:21140
  31183. #, no-wrap
  31184. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  31185. msgstr ""
  31186. #. type: deftypevr
  31187. #: guix-git/doc/guix.texi:21143
  31188. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  31189. msgstr ""
  31190. #. type: deftypevr
  31191. #: guix-git/doc/guix.texi:21145
  31192. #, no-wrap
  31193. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  31194. msgstr ""
  31195. #. type: deftypevr
  31196. #: guix-git/doc/guix.texi:21148
  31197. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  31198. msgstr ""
  31199. #. type: deftypevr
  31200. #: guix-git/doc/guix.texi:21150
  31201. #, no-wrap
  31202. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  31203. msgstr ""
  31204. #. type: deftypevr
  31205. #: guix-git/doc/guix.texi:21153
  31206. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  31207. msgstr ""
  31208. #. type: deftypevr
  31209. #: guix-git/doc/guix.texi:21155
  31210. #, no-wrap
  31211. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  31212. msgstr ""
  31213. #. type: deftypevr
  31214. #: guix-git/doc/guix.texi:21159
  31215. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  31216. msgstr ""
  31217. #. type: deftypevr
  31218. #: guix-git/doc/guix.texi:21161
  31219. #, no-wrap
  31220. msgid "{@code{dovecot-configuration} parameter} string hostname"
  31221. msgstr ""
  31222. #. type: deftypevr
  31223. #: guix-git/doc/guix.texi:21165
  31224. msgid "Hostname to use in various parts of sent mails (e.g.@: in Message-Id) and in LMTP replies. Default is the system's real hostname@@domain. Defaults to @samp{\"\"}."
  31225. msgstr ""
  31226. #. type: deftypevr
  31227. #: guix-git/doc/guix.texi:21167
  31228. #, no-wrap
  31229. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  31230. msgstr ""
  31231. #. type: deftypevr
  31232. #: guix-git/doc/guix.texi:21171
  31233. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  31234. msgstr ""
  31235. #. type: deftypevr
  31236. #: guix-git/doc/guix.texi:21173
  31237. #, no-wrap
  31238. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  31239. msgstr ""
  31240. #. type: deftypevr
  31241. #: guix-git/doc/guix.texi:21176
  31242. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  31243. msgstr ""
  31244. #. type: deftypevr
  31245. #: guix-git/doc/guix.texi:21178
  31246. #, no-wrap
  31247. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  31248. msgstr ""
  31249. #. type: deftypevr
  31250. #: guix-git/doc/guix.texi:21182
  31251. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  31252. msgstr ""
  31253. #. type: deftypevr
  31254. #: guix-git/doc/guix.texi:21184
  31255. #, no-wrap
  31256. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  31257. msgstr ""
  31258. #. type: deftypevr
  31259. #: guix-git/doc/guix.texi:21188
  31260. msgid "Subject: header to use for rejection mails. You can use the same variables as for @samp{rejection-reason} below. Defaults to @samp{\"Rejected: %s\"}."
  31261. msgstr ""
  31262. #. type: deftypevr
  31263. #: guix-git/doc/guix.texi:21190
  31264. #, no-wrap
  31265. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  31266. msgstr ""
  31267. #. type: deftypevr
  31268. #: guix-git/doc/guix.texi:21193
  31269. msgid "Human readable error message for rejection mails. You can use variables:"
  31270. msgstr ""
  31271. #. type: table
  31272. #: guix-git/doc/guix.texi:21197
  31273. msgid "CRLF"
  31274. msgstr ""
  31275. #. type: item
  31276. #: guix-git/doc/guix.texi:21197
  31277. #, no-wrap
  31278. msgid "%r"
  31279. msgstr ""
  31280. #. type: table
  31281. #: guix-git/doc/guix.texi:21199
  31282. msgid "reason"
  31283. msgstr ""
  31284. #. type: table
  31285. #: guix-git/doc/guix.texi:21201
  31286. msgid "original subject"
  31287. msgstr ""
  31288. #. type: item
  31289. #: guix-git/doc/guix.texi:21201
  31290. #, no-wrap
  31291. msgid "%t"
  31292. msgstr ""
  31293. #. type: table
  31294. #: guix-git/doc/guix.texi:21203
  31295. msgid "recipient"
  31296. msgstr ""
  31297. #. type: deftypevr
  31298. #: guix-git/doc/guix.texi:21205
  31299. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  31300. msgstr ""
  31301. #. type: deftypevr
  31302. #: guix-git/doc/guix.texi:21207
  31303. #, no-wrap
  31304. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  31305. msgstr ""
  31306. #. type: deftypevr
  31307. #: guix-git/doc/guix.texi:21211
  31308. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  31309. msgstr ""
  31310. #. type: deftypevr
  31311. #: guix-git/doc/guix.texi:21213
  31312. #, no-wrap
  31313. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  31314. msgstr ""
  31315. #. type: deftypevr
  31316. #: guix-git/doc/guix.texi:21219
  31317. msgid "Header where the original recipient address (SMTP's RCPT TO: address) is taken from if not available elsewhere. With dovecot-lda -a parameter overrides this. A commonly used header for this is X-Original-To. Defaults to @samp{\"\"}."
  31318. msgstr ""
  31319. #. type: deftypevr
  31320. #: guix-git/doc/guix.texi:21221
  31321. #, no-wrap
  31322. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  31323. msgstr ""
  31324. #. type: deftypevr
  31325. #: guix-git/doc/guix.texi:21225
  31326. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  31327. msgstr ""
  31328. #. type: deftypevr
  31329. #: guix-git/doc/guix.texi:21227
  31330. #, no-wrap
  31331. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  31332. msgstr ""
  31333. #. type: deftypevr
  31334. #: guix-git/doc/guix.texi:21231
  31335. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  31336. msgstr ""
  31337. #. type: deftypevr
  31338. #: guix-git/doc/guix.texi:21233
  31339. #, no-wrap
  31340. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  31341. msgstr ""
  31342. #. type: deftypevr
  31343. #: guix-git/doc/guix.texi:21239
  31344. msgid "Maximum IMAP command line length. Some clients generate very long command lines with huge mailboxes, so you may need to raise this if you get \"Too long argument\" or \"IMAP command line too large\" errors often. Defaults to @samp{64000}."
  31345. msgstr ""
  31346. #. type: deftypevr
  31347. #: guix-git/doc/guix.texi:21241
  31348. #, no-wrap
  31349. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  31350. msgstr ""
  31351. #. type: deftypevr
  31352. #: guix-git/doc/guix.texi:21243
  31353. msgid "IMAP logout format string:"
  31354. msgstr ""
  31355. #. type: item
  31356. #: guix-git/doc/guix.texi:21244
  31357. #, no-wrap
  31358. msgid "%i"
  31359. msgstr ""
  31360. #. type: table
  31361. #: guix-git/doc/guix.texi:21246
  31362. msgid "total number of bytes read from client"
  31363. msgstr ""
  31364. #. type: item
  31365. #: guix-git/doc/guix.texi:21246
  31366. #, no-wrap
  31367. msgid "%o"
  31368. msgstr ""
  31369. #. type: table
  31370. #: guix-git/doc/guix.texi:21248
  31371. msgid "total number of bytes sent to client."
  31372. msgstr ""
  31373. #. type: deftypevr
  31374. #: guix-git/doc/guix.texi:21251
  31375. msgid "See @file{doc/wiki/Variables.txt} for a list of all the variables you can use. Defaults to @samp{\"in=%i out=%o deleted=%@{deleted@} expunged=%@{expunged@} trashed=%@{trashed@} hdr_count=%@{fetch_hdr_count@} hdr_bytes=%@{fetch_hdr_bytes@} body_count=%@{fetch_body_count@} body_bytes=%@{fetch_body_bytes@}\"}."
  31376. msgstr ""
  31377. #. type: deftypevr
  31378. #: guix-git/doc/guix.texi:21253
  31379. #, no-wrap
  31380. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  31381. msgstr ""
  31382. #. type: deftypevr
  31383. #: guix-git/doc/guix.texi:21257
  31384. msgid "Override the IMAP CAPABILITY response. If the value begins with '+', add the given capabilities on top of the defaults (e.g.@: +XFOO XBAR). Defaults to @samp{\"\"}."
  31385. msgstr ""
  31386. #. type: deftypevr
  31387. #: guix-git/doc/guix.texi:21259
  31388. #, no-wrap
  31389. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  31390. msgstr ""
  31391. #. type: deftypevr
  31392. #: guix-git/doc/guix.texi:21263
  31393. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  31394. msgstr ""
  31395. #. type: deftypevr
  31396. #: guix-git/doc/guix.texi:21265
  31397. #, no-wrap
  31398. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  31399. msgstr ""
  31400. #. type: deftypevr
  31401. #: guix-git/doc/guix.texi:21271
  31402. msgid "ID field names and values to send to clients. Using * as the value makes Dovecot use the default value. The following fields have default values currently: name, version, os, os-version, support-url, support-email. Defaults to @samp{\"\"}."
  31403. msgstr ""
  31404. #. type: deftypevr
  31405. #: guix-git/doc/guix.texi:21273
  31406. #, no-wrap
  31407. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  31408. msgstr ""
  31409. #. type: deftypevr
  31410. #: guix-git/doc/guix.texi:21276
  31411. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  31412. msgstr ""
  31413. #. type: deftypevr
  31414. #: guix-git/doc/guix.texi:21278
  31415. #, no-wrap
  31416. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  31417. msgstr ""
  31418. #. type: deftypevr
  31419. #: guix-git/doc/guix.texi:21280
  31420. msgid "Workarounds for various client bugs:"
  31421. msgstr ""
  31422. #. type: item
  31423. #: guix-git/doc/guix.texi:21282
  31424. #, no-wrap
  31425. msgid "delay-newmail"
  31426. msgstr ""
  31427. #. type: table
  31428. #: guix-git/doc/guix.texi:21289
  31429. msgid "Send EXISTS/RECENT new mail notifications only when replying to NOOP and CHECK commands. Some clients ignore them otherwise, for example OSX Mail (<v2.1). Outlook Express breaks more badly though, without this it may show user \"Message no longer in server\" errors. Note that OE6 still breaks even with this workaround if synchronization is set to \"Headers Only\"."
  31430. msgstr ""
  31431. #. type: item
  31432. #: guix-git/doc/guix.texi:21290
  31433. #, no-wrap
  31434. msgid "tb-extra-mailbox-sep"
  31435. msgstr ""
  31436. #. type: table
  31437. #: guix-git/doc/guix.texi:21294
  31438. msgid "Thunderbird gets somehow confused with LAYOUT=fs (mbox and dbox) and adds extra @samp{/} suffixes to mailbox names. This option causes Dovecot to ignore the extra @samp{/} instead of treating it as invalid mailbox name."
  31439. msgstr ""
  31440. #. type: item
  31441. #: guix-git/doc/guix.texi:21295
  31442. #, no-wrap
  31443. msgid "tb-lsub-flags"
  31444. msgstr ""
  31445. #. type: table
  31446. #: guix-git/doc/guix.texi:21299
  31447. msgid "Show \\Noselect flags for LSUB replies with LAYOUT=fs (e.g.@: mbox). This makes Thunderbird realize they aren't selectable and show them greyed out, instead of only later giving \"not selectable\" popup error."
  31448. msgstr ""
  31449. #. type: deftypevr
  31450. #: guix-git/doc/guix.texi:21303
  31451. #, no-wrap
  31452. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  31453. msgstr ""
  31454. #. type: deftypevr
  31455. #: guix-git/doc/guix.texi:21306
  31456. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  31457. msgstr ""
  31458. #. type: Plain text
  31459. #: guix-git/doc/guix.texi:21314
  31460. msgid "Whew! Lots of configuration options. The nice thing about it though is that Guix has a complete interface to Dovecot's configuration language. This allows not only a nice way to declare configurations, but also offers reflective capabilities as well: users can write code to inspect and transform configurations from within Scheme."
  31461. msgstr ""
  31462. #. type: Plain text
  31463. #: guix-git/doc/guix.texi:21320
  31464. msgid "However, it could be that you just want to get a @code{dovecot.conf} up and running. In that case, you can pass an @code{opaque-dovecot-configuration} as the @code{#:config} parameter to @code{dovecot-service}. As its name indicates, an opaque configuration does not have easy reflective capabilities."
  31465. msgstr ""
  31466. #. type: Plain text
  31467. #: guix-git/doc/guix.texi:21322
  31468. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  31469. msgstr ""
  31470. #. type: deftypevr
  31471. #: guix-git/doc/guix.texi:21323
  31472. #, no-wrap
  31473. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  31474. msgstr ""
  31475. #. type: deftypevr
  31476. #: guix-git/doc/guix.texi:21327
  31477. #, no-wrap
  31478. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  31479. msgstr ""
  31480. #. type: deftypevr
  31481. #: guix-git/doc/guix.texi:21329
  31482. msgid "The contents of the @code{dovecot.conf}, as a string."
  31483. msgstr ""
  31484. #. type: Plain text
  31485. #: guix-git/doc/guix.texi:21333
  31486. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  31487. msgstr ""
  31488. #. type: lisp
  31489. #: guix-git/doc/guix.texi:21338
  31490. #, no-wrap
  31491. msgid ""
  31492. "(dovecot-service #:config\n"
  31493. " (opaque-dovecot-configuration\n"
  31494. " (string \"\")))\n"
  31495. msgstr ""
  31496. #. type: subsubheading
  31497. #: guix-git/doc/guix.texi:21340
  31498. #, no-wrap
  31499. msgid "OpenSMTPD Service"
  31500. msgstr ""
  31501. #. type: deffn
  31502. #: guix-git/doc/guix.texi:21342
  31503. #, no-wrap
  31504. msgid "{Scheme Variable} opensmtpd-service-type"
  31505. msgstr ""
  31506. #. type: deffn
  31507. #: guix-git/doc/guix.texi:21346
  31508. msgid "This is the type of the @uref{https://www.opensmtpd.org, OpenSMTPD} service, whose value should be an @code{opensmtpd-configuration} object as in this example:"
  31509. msgstr ""
  31510. #. type: lisp
  31511. #: guix-git/doc/guix.texi:21351
  31512. #, no-wrap
  31513. msgid ""
  31514. "(service opensmtpd-service-type\n"
  31515. " (opensmtpd-configuration\n"
  31516. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  31517. msgstr ""
  31518. #. type: deftp
  31519. #: guix-git/doc/guix.texi:21354
  31520. #, no-wrap
  31521. msgid "{Data Type} opensmtpd-configuration"
  31522. msgstr ""
  31523. #. type: deftp
  31524. #: guix-git/doc/guix.texi:21356
  31525. msgid "Data type representing the configuration of opensmtpd."
  31526. msgstr ""
  31527. #. type: item
  31528. #: guix-git/doc/guix.texi:21358
  31529. #, no-wrap
  31530. msgid "@code{package} (default: @var{opensmtpd})"
  31531. msgstr ""
  31532. #. type: table
  31533. #: guix-git/doc/guix.texi:21360
  31534. msgid "Package object of the OpenSMTPD SMTP server."
  31535. msgstr ""
  31536. #. type: item
  31537. #: guix-git/doc/guix.texi:21361
  31538. #, no-wrap
  31539. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  31540. msgstr ""
  31541. #. type: table
  31542. #: guix-git/doc/guix.texi:21366
  31543. msgid "File-like object of the OpenSMTPD configuration file to use. By default it listens on the loopback network interface, and allows for mail from users and daemons on the local machine, as well as permitting email to remote servers. Run @command{man smtpd.conf} for more information."
  31544. msgstr ""
  31545. #. type: subsubheading
  31546. #: guix-git/doc/guix.texi:21370
  31547. #, no-wrap
  31548. msgid "Exim Service"
  31549. msgstr ""
  31550. #. type: cindex
  31551. #: guix-git/doc/guix.texi:21372
  31552. #, no-wrap
  31553. msgid "mail transfer agent (MTA)"
  31554. msgstr ""
  31555. #. type: cindex
  31556. #: guix-git/doc/guix.texi:21373
  31557. #, no-wrap
  31558. msgid "MTA (mail transfer agent)"
  31559. msgstr ""
  31560. #. type: cindex
  31561. #: guix-git/doc/guix.texi:21374
  31562. #, no-wrap
  31563. msgid "SMTP"
  31564. msgstr ""
  31565. #. type: deffn
  31566. #: guix-git/doc/guix.texi:21376
  31567. #, no-wrap
  31568. msgid "{Scheme Variable} exim-service-type"
  31569. msgstr ""
  31570. #. type: deffn
  31571. #: guix-git/doc/guix.texi:21380
  31572. msgid "This is the type of the @uref{https://exim.org, Exim} mail transfer agent (MTA), whose value should be an @code{exim-configuration} object as in this example:"
  31573. msgstr ""
  31574. #. type: lisp
  31575. #: guix-git/doc/guix.texi:21385
  31576. #, no-wrap
  31577. msgid ""
  31578. "(service exim-service-type\n"
  31579. " (exim-configuration\n"
  31580. " (config-file (local-file \"./my-exim.conf\"))))\n"
  31581. msgstr ""
  31582. #. type: Plain text
  31583. #: guix-git/doc/guix.texi:21391
  31584. msgid "In order to use an @code{exim-service-type} service you must also have a @code{mail-aliases-service-type} service present in your @code{operating-system} (even if it has no aliases)."
  31585. msgstr ""
  31586. #. type: deftp
  31587. #: guix-git/doc/guix.texi:21392
  31588. #, no-wrap
  31589. msgid "{Data Type} exim-configuration"
  31590. msgstr ""
  31591. #. type: deftp
  31592. #: guix-git/doc/guix.texi:21394
  31593. msgid "Data type representing the configuration of exim."
  31594. msgstr ""
  31595. #. type: item
  31596. #: guix-git/doc/guix.texi:21396
  31597. #, no-wrap
  31598. msgid "@code{package} (default: @var{exim})"
  31599. msgstr ""
  31600. #. type: table
  31601. #: guix-git/doc/guix.texi:21398
  31602. msgid "Package object of the Exim server."
  31603. msgstr ""
  31604. #. type: table
  31605. #: guix-git/doc/guix.texi:21405
  31606. msgid "File-like object of the Exim configuration file to use. If its value is @code{#f} then use the default configuration file from the package provided in @code{package}. The resulting configuration file is loaded after setting the @code{exim_user} and @code{exim_group} configuration variables."
  31607. msgstr ""
  31608. #. type: subsubheading
  31609. #: guix-git/doc/guix.texi:21409
  31610. #, no-wrap
  31611. msgid "Getmail service"
  31612. msgstr ""
  31613. #. type: cindex
  31614. #: guix-git/doc/guix.texi:21411
  31615. #, no-wrap
  31616. msgid "IMAP"
  31617. msgstr ""
  31618. #. type: cindex
  31619. #: guix-git/doc/guix.texi:21412
  31620. #, no-wrap
  31621. msgid "POP"
  31622. msgstr ""
  31623. #. type: deffn
  31624. #: guix-git/doc/guix.texi:21414
  31625. #, no-wrap
  31626. msgid "{Scheme Variable} getmail-service-type"
  31627. msgstr ""
  31628. #. type: deffn
  31629. #: guix-git/doc/guix.texi:21417
  31630. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  31631. msgstr ""
  31632. #. type: Plain text
  31633. #: guix-git/doc/guix.texi:21420
  31634. msgid "Available @code{getmail-configuration} fields are:"
  31635. msgstr ""
  31636. #. type: deftypevr
  31637. #: guix-git/doc/guix.texi:21421
  31638. #, no-wrap
  31639. msgid "{@code{getmail-configuration} parameter} symbol name"
  31640. msgstr ""
  31641. #. type: deftypevr
  31642. #: guix-git/doc/guix.texi:21423
  31643. msgid "A symbol to identify the getmail service."
  31644. msgstr ""
  31645. #. type: deftypevr
  31646. #: guix-git/doc/guix.texi:21425
  31647. msgid "Defaults to @samp{\"unset\"}."
  31648. msgstr ""
  31649. #. type: deftypevr
  31650. #: guix-git/doc/guix.texi:21428
  31651. #, no-wrap
  31652. msgid "{@code{getmail-configuration} parameter} package package"
  31653. msgstr ""
  31654. #. type: deftypevr
  31655. #: guix-git/doc/guix.texi:21430
  31656. msgid "The getmail package to use."
  31657. msgstr ""
  31658. #. type: deftypevr
  31659. #: guix-git/doc/guix.texi:21433
  31660. #, no-wrap
  31661. msgid "{@code{getmail-configuration} parameter} string user"
  31662. msgstr ""
  31663. #. type: deftypevr
  31664. #: guix-git/doc/guix.texi:21435
  31665. msgid "The user to run getmail as."
  31666. msgstr ""
  31667. #. type: deftypevr
  31668. #: guix-git/doc/guix.texi:21437 guix-git/doc/guix.texi:21444
  31669. msgid "Defaults to @samp{\"getmail\"}."
  31670. msgstr ""
  31671. #. type: deftypevr
  31672. #: guix-git/doc/guix.texi:21440
  31673. #, no-wrap
  31674. msgid "{@code{getmail-configuration} parameter} string group"
  31675. msgstr ""
  31676. #. type: deftypevr
  31677. #: guix-git/doc/guix.texi:21442
  31678. msgid "The group to run getmail as."
  31679. msgstr ""
  31680. #. type: deftypevr
  31681. #: guix-git/doc/guix.texi:21447
  31682. #, no-wrap
  31683. msgid "{@code{getmail-configuration} parameter} string directory"
  31684. msgstr ""
  31685. #. type: deftypevr
  31686. #: guix-git/doc/guix.texi:21449
  31687. msgid "The getmail directory to use."
  31688. msgstr ""
  31689. #. type: deftypevr
  31690. #: guix-git/doc/guix.texi:21451
  31691. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  31692. msgstr ""
  31693. #. type: deftypevr
  31694. #: guix-git/doc/guix.texi:21454
  31695. #, no-wrap
  31696. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  31697. msgstr ""
  31698. #. type: deftypevr
  31699. #: guix-git/doc/guix.texi:21456
  31700. msgid "The getmail configuration file to use."
  31701. msgstr ""
  31702. #. type: deftypevr
  31703. #: guix-git/doc/guix.texi:21458
  31704. msgid "Available @code{getmail-configuration-file} fields are:"
  31705. msgstr ""
  31706. #. type: deftypevr
  31707. #: guix-git/doc/guix.texi:21459
  31708. #, no-wrap
  31709. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  31710. msgstr ""
  31711. #. type: deftypevr
  31712. #: guix-git/doc/guix.texi:21461
  31713. msgid "What mail account to retrieve mail from, and how to access that account."
  31714. msgstr ""
  31715. #. type: deftypevr
  31716. #: guix-git/doc/guix.texi:21463
  31717. msgid "Available @code{getmail-retriever-configuration} fields are:"
  31718. msgstr ""
  31719. #. type: deftypevr
  31720. #: guix-git/doc/guix.texi:21464
  31721. #, no-wrap
  31722. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  31723. msgstr ""
  31724. #. type: deftypevr
  31725. #: guix-git/doc/guix.texi:21467
  31726. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  31727. msgstr ""
  31728. #. type: deftypevr
  31729. #: guix-git/doc/guix.texi:21469
  31730. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  31731. msgstr ""
  31732. #. type: deftypevr
  31733. #: guix-git/doc/guix.texi:21472
  31734. #, no-wrap
  31735. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  31736. msgstr ""
  31737. #. type: deftypevr
  31738. #: guix-git/doc/guix.texi:21474 guix-git/doc/guix.texi:21481
  31739. msgid "Username to login to the mail server with."
  31740. msgstr ""
  31741. #. type: deftypevr
  31742. #: guix-git/doc/guix.texi:21476 guix-git/doc/guix.texi:21483
  31743. #: guix-git/doc/guix.texi:21547
  31744. msgid "Defaults to @samp{unset}."
  31745. msgstr ""
  31746. #. type: deftypevr
  31747. #: guix-git/doc/guix.texi:21479
  31748. #, no-wrap
  31749. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  31750. msgstr ""
  31751. #. type: deftypevr
  31752. #: guix-git/doc/guix.texi:21486
  31753. #, no-wrap
  31754. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  31755. msgstr ""
  31756. #. type: deftypevr
  31757. #: guix-git/doc/guix.texi:21488
  31758. msgid "Port number to connect to."
  31759. msgstr ""
  31760. #. type: deftypevr
  31761. #: guix-git/doc/guix.texi:21493
  31762. #, no-wrap
  31763. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  31764. msgstr ""
  31765. #. type: deftypevr
  31766. #: guix-git/doc/guix.texi:21495 guix-git/doc/guix.texi:21502
  31767. msgid "Override fields from passwd."
  31768. msgstr ""
  31769. #. type: deftypevr
  31770. #: guix-git/doc/guix.texi:21500
  31771. #, no-wrap
  31772. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  31773. msgstr ""
  31774. #. type: deftypevr
  31775. #: guix-git/doc/guix.texi:21507
  31776. #, no-wrap
  31777. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  31778. msgstr ""
  31779. #. type: deftypevr
  31780. #: guix-git/doc/guix.texi:21509
  31781. msgid "PEM-formatted key file to use for the TLS negotiation."
  31782. msgstr ""
  31783. #. type: deftypevr
  31784. #: guix-git/doc/guix.texi:21514
  31785. #, no-wrap
  31786. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  31787. msgstr ""
  31788. #. type: deftypevr
  31789. #: guix-git/doc/guix.texi:21516
  31790. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  31791. msgstr ""
  31792. #. type: deftypevr
  31793. #: guix-git/doc/guix.texi:21521
  31794. #, no-wrap
  31795. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  31796. msgstr ""
  31797. #. type: deftypevr
  31798. #: guix-git/doc/guix.texi:21523
  31799. msgid "CA certificates to use."
  31800. msgstr ""
  31801. #. type: deftypevr
  31802. #: guix-git/doc/guix.texi:21528
  31803. #, no-wrap
  31804. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  31805. msgstr ""
  31806. #. type: deftypevr
  31807. #: guix-git/doc/guix.texi:21530
  31808. msgid "Extra retriever parameters."
  31809. msgstr ""
  31810. #. type: deftypevr
  31811. #: guix-git/doc/guix.texi:21537
  31812. #, no-wrap
  31813. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  31814. msgstr ""
  31815. #. type: deftypevr
  31816. #: guix-git/doc/guix.texi:21539
  31817. msgid "What to do with retrieved messages."
  31818. msgstr ""
  31819. #. type: deftypevr
  31820. #: guix-git/doc/guix.texi:21541
  31821. msgid "Available @code{getmail-destination-configuration} fields are:"
  31822. msgstr ""
  31823. #. type: deftypevr
  31824. #: guix-git/doc/guix.texi:21542
  31825. #, no-wrap
  31826. msgid "{@code{getmail-destination-configuration} parameter} string type"
  31827. msgstr ""
  31828. #. type: deftypevr
  31829. #: guix-git/doc/guix.texi:21545
  31830. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  31831. msgstr ""
  31832. #. type: deftypevr
  31833. #: guix-git/doc/guix.texi:21550
  31834. #, no-wrap
  31835. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  31836. msgstr ""
  31837. #. type: deftypevr
  31838. #: guix-git/doc/guix.texi:21553
  31839. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  31840. msgstr ""
  31841. #. type: deftypevr
  31842. #: guix-git/doc/guix.texi:21558
  31843. #, no-wrap
  31844. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  31845. msgstr ""
  31846. #. type: deftypevr
  31847. #: guix-git/doc/guix.texi:21560
  31848. msgid "Extra destination parameters"
  31849. msgstr ""
  31850. #. type: deftypevr
  31851. #: guix-git/doc/guix.texi:21567
  31852. #, no-wrap
  31853. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  31854. msgstr ""
  31855. #. type: deftypevr
  31856. #: guix-git/doc/guix.texi:21569
  31857. msgid "Configure getmail."
  31858. msgstr ""
  31859. #. type: deftypevr
  31860. #: guix-git/doc/guix.texi:21571
  31861. msgid "Available @code{getmail-options-configuration} fields are:"
  31862. msgstr ""
  31863. #. type: deftypevr
  31864. #: guix-git/doc/guix.texi:21572
  31865. #, no-wrap
  31866. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  31867. msgstr ""
  31868. #. type: deftypevr
  31869. #: guix-git/doc/guix.texi:21577
  31870. msgid "If set to @samp{0}, getmail will only print warnings and errors. A value of @samp{1} means that messages will be printed about retrieving and deleting messages. If set to @samp{2}, getmail will print messages about each of it's actions."
  31871. msgstr ""
  31872. #. type: deftypevr
  31873. #: guix-git/doc/guix.texi:21579 guix-git/doc/guix.texi:27856
  31874. #: guix-git/doc/guix.texi:28444 guix-git/doc/guix.texi:28589
  31875. msgid "Defaults to @samp{1}."
  31876. msgstr ""
  31877. #. type: deftypevr
  31878. #: guix-git/doc/guix.texi:21582
  31879. #, no-wrap
  31880. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  31881. msgstr ""
  31882. #. type: deftypevr
  31883. #: guix-git/doc/guix.texi:21585
  31884. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  31885. msgstr ""
  31886. #. type: deftypevr
  31887. #: guix-git/doc/guix.texi:21590
  31888. #, no-wrap
  31889. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  31890. msgstr ""
  31891. #. type: deftypevr
  31892. #: guix-git/doc/guix.texi:21594
  31893. msgid "If set to true, messages will be deleted from the server after retrieving and successfully delivering them. Otherwise, messages will be left on the server."
  31894. msgstr ""
  31895. #. type: deftypevr
  31896. #: guix-git/doc/guix.texi:21599
  31897. #, no-wrap
  31898. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  31899. msgstr ""
  31900. #. type: deftypevr
  31901. #: guix-git/doc/guix.texi:21604
  31902. msgid "Getmail will delete messages this number of days after seeing them, if they have been delivered. This means messages will be left on the server this number of days after delivering them. A value of @samp{0} disabled this feature."
  31903. msgstr ""
  31904. #. type: deftypevr
  31905. #: guix-git/doc/guix.texi:21609
  31906. #, no-wrap
  31907. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  31908. msgstr ""
  31909. #. type: deftypevr
  31910. #: guix-git/doc/guix.texi:21613
  31911. msgid "Delete messages larger than this of bytes after retrieving them, even if the delete and delete-after options are disabled. A value of @samp{0} disables this feature."
  31912. msgstr ""
  31913. #. type: deftypevr
  31914. #: guix-git/doc/guix.texi:21618
  31915. #, no-wrap
  31916. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  31917. msgstr ""
  31918. #. type: deftypevr
  31919. #: guix-git/doc/guix.texi:21621
  31920. msgid "Retrieve messages totalling up to this number of bytes before closing the session with the server. A value of @samp{0} disables this feature."
  31921. msgstr ""
  31922. #. type: deftypevr
  31923. #: guix-git/doc/guix.texi:21626
  31924. #, no-wrap
  31925. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  31926. msgstr ""
  31927. #. type: deftypevr
  31928. #: guix-git/doc/guix.texi:21629
  31929. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  31930. msgstr ""
  31931. #. type: deftypevr
  31932. #: guix-git/doc/guix.texi:21634
  31933. #, no-wrap
  31934. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  31935. msgstr ""
  31936. #. type: deftypevr
  31937. #: guix-git/doc/guix.texi:21636
  31938. msgid "If true, getmail will add a Delivered-To header to messages."
  31939. msgstr ""
  31940. #. type: deftypevr
  31941. #: guix-git/doc/guix.texi:21641
  31942. #, no-wrap
  31943. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  31944. msgstr ""
  31945. #. type: deftypevr
  31946. #: guix-git/doc/guix.texi:21643
  31947. msgid "If set, getmail adds a Received header to the messages."
  31948. msgstr ""
  31949. #. type: deftypevr
  31950. #: guix-git/doc/guix.texi:21648
  31951. #, no-wrap
  31952. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  31953. msgstr ""
  31954. #. type: deftypevr
  31955. #: guix-git/doc/guix.texi:21651
  31956. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  31957. msgstr ""
  31958. #. type: deftypevr
  31959. #: guix-git/doc/guix.texi:21656
  31960. #, no-wrap
  31961. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  31962. msgstr ""
  31963. #. type: deftypevr
  31964. #: guix-git/doc/guix.texi:21659
  31965. msgid "If true, getmail will record a log of its actions using the system logger."
  31966. msgstr ""
  31967. #. type: deftypevr
  31968. #: guix-git/doc/guix.texi:21664
  31969. #, no-wrap
  31970. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  31971. msgstr ""
  31972. #. type: deftypevr
  31973. #: guix-git/doc/guix.texi:21668
  31974. msgid "If true, getmail will log information about messages not retrieved and the reason for not retrieving them, as well as starting and ending information lines."
  31975. msgstr ""
  31976. #. type: deftypevr
  31977. #: guix-git/doc/guix.texi:21673
  31978. #, no-wrap
  31979. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  31980. msgstr ""
  31981. #. type: deftypevr
  31982. #: guix-git/doc/guix.texi:21675
  31983. msgid "Extra options to include."
  31984. msgstr ""
  31985. #. type: deftypevr
  31986. #: guix-git/doc/guix.texi:21684
  31987. #, no-wrap
  31988. msgid "{@code{getmail-configuration} parameter} list idle"
  31989. msgstr ""
  31990. #. type: deftypevr
  31991. #: guix-git/doc/guix.texi:21688
  31992. msgid "A list of mailboxes that getmail should wait on the server for new mail notifications. This depends on the server supporting the IDLE extension."
  31993. msgstr ""
  31994. #. type: deftypevr
  31995. #: guix-git/doc/guix.texi:21693
  31996. #, no-wrap
  31997. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  31998. msgstr ""
  31999. #. type: deftypevr
  32000. #: guix-git/doc/guix.texi:21695
  32001. msgid "Environment variables to set for getmail."
  32002. msgstr ""
  32003. #. type: subsubheading
  32004. #: guix-git/doc/guix.texi:21700
  32005. #, no-wrap
  32006. msgid "Mail Aliases Service"
  32007. msgstr ""
  32008. #. type: cindex
  32009. #: guix-git/doc/guix.texi:21702
  32010. #, no-wrap
  32011. msgid "email aliases"
  32012. msgstr ""
  32013. #. type: cindex
  32014. #: guix-git/doc/guix.texi:21703
  32015. #, no-wrap
  32016. msgid "aliases, for email addresses"
  32017. msgstr ""
  32018. #. type: deffn
  32019. #: guix-git/doc/guix.texi:21705
  32020. #, no-wrap
  32021. msgid "{Scheme Variable} mail-aliases-service-type"
  32022. msgstr ""
  32023. #. type: deffn
  32024. #: guix-git/doc/guix.texi:21708
  32025. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  32026. msgstr ""
  32027. #. type: lisp
  32028. #: guix-git/doc/guix.texi:21713
  32029. #, no-wrap
  32030. msgid ""
  32031. "(service mail-aliases-service-type\n"
  32032. " '((\"postmaster\" \"bob\")\n"
  32033. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  32034. msgstr ""
  32035. #. type: Plain text
  32036. #: guix-git/doc/guix.texi:21721
  32037. msgid "The configuration for a @code{mail-aliases-service-type} service is an association list denoting how to deliver mail that comes to this system. Each entry is of the form @code{(alias addresses ...)}, with @code{alias} specifying the local alias and @code{addresses} specifying where to deliver this user's mail."
  32038. msgstr ""
  32039. #. type: Plain text
  32040. #: guix-git/doc/guix.texi:21727
  32041. msgid "The aliases aren't required to exist as users on the local system. In the above example, there doesn't need to be a @code{postmaster} entry in the @code{operating-system}'s @code{user-accounts} in order to deliver the @code{postmaster} mail to @code{bob} (which subsequently would deliver mail to @code{bob@@example.com} and @code{bob@@example2.com})."
  32042. msgstr ""
  32043. #. type: cindex
  32044. #: guix-git/doc/guix.texi:21728 guix-git/doc/guix.texi:21729
  32045. #, no-wrap
  32046. msgid "GNU Mailutils IMAP4 Daemon"
  32047. msgstr ""
  32048. #. type: deffn
  32049. #: guix-git/doc/guix.texi:21731
  32050. #, no-wrap
  32051. msgid "{Scheme Variable} imap4d-service-type"
  32052. msgstr ""
  32053. #. type: deffn
  32054. #: guix-git/doc/guix.texi:21735
  32055. msgid "This is the type of the GNU Mailutils IMAP4 Daemon (@pxref{imap4d,,, mailutils, GNU Mailutils Manual}), whose value should be an @code{imap4d-configuration} object as in this example:"
  32056. msgstr ""
  32057. #. type: lisp
  32058. #: guix-git/doc/guix.texi:21740
  32059. #, no-wrap
  32060. msgid ""
  32061. "(service imap4d-service-type\n"
  32062. " (imap4d-configuration\n"
  32063. " (config-file (local-file \"imap4d.conf\"))))\n"
  32064. msgstr ""
  32065. #. type: deftp
  32066. #: guix-git/doc/guix.texi:21743
  32067. #, no-wrap
  32068. msgid "{Data Type} imap4d-configuration"
  32069. msgstr ""
  32070. #. type: deftp
  32071. #: guix-git/doc/guix.texi:21745
  32072. msgid "Data type representing the configuration of @command{imap4d}."
  32073. msgstr ""
  32074. #. type: item
  32075. #: guix-git/doc/guix.texi:21747
  32076. #, no-wrap
  32077. msgid "@code{package} (default: @code{mailutils})"
  32078. msgstr ""
  32079. #. type: table
  32080. #: guix-git/doc/guix.texi:21749
  32081. msgid "The package that provides @command{imap4d}."
  32082. msgstr ""
  32083. #. type: item
  32084. #: guix-git/doc/guix.texi:21750
  32085. #, no-wrap
  32086. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  32087. msgstr ""
  32088. #. type: table
  32089. #: guix-git/doc/guix.texi:21754
  32090. msgid "File-like object of the configuration file to use, by default it will listen on TCP port 143 of @code{localhost}. @xref{Conf-imap4d,,, mailutils, GNU Mailutils Manual}, for details."
  32091. msgstr ""
  32092. #. type: subsubheading
  32093. #: guix-git/doc/guix.texi:21758
  32094. #, no-wrap
  32095. msgid "Radicale Service"
  32096. msgstr ""
  32097. #. type: cindex
  32098. #: guix-git/doc/guix.texi:21759
  32099. #, no-wrap
  32100. msgid "CalDAV"
  32101. msgstr ""
  32102. #. type: cindex
  32103. #: guix-git/doc/guix.texi:21760
  32104. #, no-wrap
  32105. msgid "CardDAV"
  32106. msgstr ""
  32107. #. type: deffn
  32108. #: guix-git/doc/guix.texi:21762
  32109. #, no-wrap
  32110. msgid "{Scheme Variable} radicale-service-type"
  32111. msgstr ""
  32112. #. type: deffn
  32113. #: guix-git/doc/guix.texi:21765
  32114. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  32115. msgstr ""
  32116. #. type: deftp
  32117. #: guix-git/doc/guix.texi:21767
  32118. #, no-wrap
  32119. msgid "{Data Type} radicale-configuration"
  32120. msgstr ""
  32121. #. type: deftp
  32122. #: guix-git/doc/guix.texi:21769
  32123. msgid "Data type representing the configuration of @command{radicale}."
  32124. msgstr ""
  32125. #. type: item
  32126. #: guix-git/doc/guix.texi:21771
  32127. #, no-wrap
  32128. msgid "@code{package} (default: @code{radicale})"
  32129. msgstr ""
  32130. #. type: table
  32131. #: guix-git/doc/guix.texi:21773
  32132. msgid "The package that provides @command{radicale}."
  32133. msgstr ""
  32134. #. type: item
  32135. #: guix-git/doc/guix.texi:21774
  32136. #, no-wrap
  32137. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  32138. msgstr ""
  32139. #. type: table
  32140. #: guix-git/doc/guix.texi:21778
  32141. msgid "File-like object of the configuration file to use, by default it will listen on TCP port 5232 of @code{localhost} and use the @code{htpasswd} file at @file{/var/lib/radicale/users} with no (@code{plain}) encryption."
  32142. msgstr ""
  32143. #. type: cindex
  32144. #: guix-git/doc/guix.texi:21785
  32145. #, no-wrap
  32146. msgid "messaging"
  32147. msgstr ""
  32148. #. type: cindex
  32149. #: guix-git/doc/guix.texi:21786
  32150. #, no-wrap
  32151. msgid "jabber"
  32152. msgstr ""
  32153. #. type: cindex
  32154. #: guix-git/doc/guix.texi:21787
  32155. #, no-wrap
  32156. msgid "XMPP"
  32157. msgstr ""
  32158. #. type: Plain text
  32159. #: guix-git/doc/guix.texi:21791
  32160. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  32161. msgstr ""
  32162. #. type: subsubheading
  32163. #: guix-git/doc/guix.texi:21792
  32164. #, no-wrap
  32165. msgid "Prosody Service"
  32166. msgstr ""
  32167. #. type: deffn
  32168. #: guix-git/doc/guix.texi:21794
  32169. #, no-wrap
  32170. msgid "{Scheme Variable} prosody-service-type"
  32171. msgstr ""
  32172. #. type: deffn
  32173. #: guix-git/doc/guix.texi:21798
  32174. msgid "This is the type for the @uref{https://prosody.im, Prosody XMPP communication server}. Its value must be a @code{prosody-configuration} record as in this example:"
  32175. msgstr ""
  32176. #. type: lisp
  32177. #: guix-git/doc/guix.texi:21813
  32178. #, no-wrap
  32179. msgid ""
  32180. "(service prosody-service-type\n"
  32181. " (prosody-configuration\n"
  32182. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  32183. " (int-components\n"
  32184. " (list\n"
  32185. " (int-component-configuration\n"
  32186. " (hostname \"conference.example.net\")\n"
  32187. " (plugin \"muc\")\n"
  32188. " (mod-muc (mod-muc-configuration)))))\n"
  32189. " (virtualhosts\n"
  32190. " (list\n"
  32191. " (virtualhost-configuration\n"
  32192. " (domain \"example.net\"))))))\n"
  32193. msgstr ""
  32194. #. type: deffn
  32195. #: guix-git/doc/guix.texi:21816
  32196. msgid "See below for details about @code{prosody-configuration}."
  32197. msgstr ""
  32198. #. type: Plain text
  32199. #: guix-git/doc/guix.texi:21822
  32200. msgid "By default, Prosody does not need much configuration. Only one @code{virtualhosts} field is needed: it specifies the domain you wish Prosody to serve."
  32201. msgstr ""
  32202. #. type: Plain text
  32203. #: guix-git/doc/guix.texi:21825
  32204. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  32205. msgstr ""
  32206. #. type: Plain text
  32207. #: guix-git/doc/guix.texi:21829
  32208. msgid "Prosodyctl will also help you to import certificates from the @code{letsencrypt} directory so that the @code{prosody} user can access them. See @url{https://prosody.im/doc/letsencrypt}."
  32209. msgstr ""
  32210. #. type: example
  32211. #: guix-git/doc/guix.texi:21832
  32212. #, no-wrap
  32213. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  32214. msgstr ""
  32215. #. type: Plain text
  32216. #: guix-git/doc/guix.texi:21839
  32217. msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. Types starting with @code{maybe-} denote parameters that won't show up in @code{prosody.cfg.lua} when their value is @code{'disabled}."
  32218. msgstr ""
  32219. #. type: Plain text
  32220. #: guix-git/doc/guix.texi:21843
  32221. msgid "There is also a way to specify the configuration as a string, if you have an old @code{prosody.cfg.lua} file that you want to port over from some other system; see the end for more details."
  32222. msgstr ""
  32223. #. type: Plain text
  32224. #: guix-git/doc/guix.texi:21846
  32225. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  32226. msgstr ""
  32227. #. type: Plain text
  32228. #: guix-git/doc/guix.texi:21856
  32229. msgid "Available @code{prosody-configuration} fields are:"
  32230. msgstr ""
  32231. #. type: deftypevr
  32232. #: guix-git/doc/guix.texi:21857
  32233. #, no-wrap
  32234. msgid "{@code{prosody-configuration} parameter} package prosody"
  32235. msgstr ""
  32236. #. type: deftypevr
  32237. #: guix-git/doc/guix.texi:21859
  32238. msgid "The Prosody package."
  32239. msgstr ""
  32240. #. type: deftypevr
  32241. #: guix-git/doc/guix.texi:21861
  32242. #, no-wrap
  32243. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  32244. msgstr ""
  32245. #. type: deftypevr
  32246. #: guix-git/doc/guix.texi:21865
  32247. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  32248. msgstr ""
  32249. #. type: deftypevr
  32250. #: guix-git/doc/guix.texi:21867
  32251. #, no-wrap
  32252. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  32253. msgstr ""
  32254. #. type: deftypevr
  32255. #: guix-git/doc/guix.texi:21871
  32256. msgid "Additional plugin directories. They are searched in all the specified paths in order. See @url{https://prosody.im/doc/plugins_directory}. Defaults to @samp{()}."
  32257. msgstr ""
  32258. #. type: deftypevr
  32259. #: guix-git/doc/guix.texi:21873
  32260. #, no-wrap
  32261. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  32262. msgstr ""
  32263. #. type: deftypevr
  32264. #: guix-git/doc/guix.texi:21878
  32265. msgid "Every virtual host and component needs a certificate so that clients and servers can securely verify its identity. Prosody will automatically load certificates/keys from the directory specified here. Defaults to @samp{\"/etc/prosody/certs\"}."
  32266. msgstr ""
  32267. #. type: deftypevr
  32268. #: guix-git/doc/guix.texi:21880
  32269. #, no-wrap
  32270. msgid "{@code{prosody-configuration} parameter} string-list admins"
  32271. msgstr ""
  32272. #. type: deftypevr
  32273. #: guix-git/doc/guix.texi:21886
  32274. msgid "This is a list of accounts that are admins for the server. Note that you must create the accounts separately. See @url{https://prosody.im/doc/admins} and @url{https://prosody.im/doc/creating_accounts}. Example: @code{(admins '(\"user1@@example.com\" \"user2@@example.net\"))} Defaults to @samp{()}."
  32275. msgstr ""
  32276. #. type: deftypevr
  32277. #: guix-git/doc/guix.texi:21888
  32278. #, no-wrap
  32279. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  32280. msgstr ""
  32281. #. type: deftypevr
  32282. #: guix-git/doc/guix.texi:21892
  32283. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  32284. msgstr ""
  32285. #. type: deftypevr
  32286. #: guix-git/doc/guix.texi:21894
  32287. #, no-wrap
  32288. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  32289. msgstr ""
  32290. #. type: deftypevr
  32291. #: guix-git/doc/guix.texi:21900
  32292. msgid "This is the list of modules Prosody will load on startup. It looks for @code{mod_modulename.lua} in the plugins folder, so make sure that exists too. Documentation on modules can be found at: @url{https://prosody.im/doc/modules}. Defaults to @samp{(\"roster\" \"saslauth\" \"tls\" \"dialback\" \"disco\" \"carbons\" \"private\" \"blocklist\" \"vcard\" \"version\" \"uptime\" \"time\" \"ping\" \"pep\" \"register\" \"admin_adhoc\")}."
  32293. msgstr ""
  32294. #. type: deftypevr
  32295. #: guix-git/doc/guix.texi:21902
  32296. #, no-wrap
  32297. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  32298. msgstr ""
  32299. #. type: deftypevr
  32300. #: guix-git/doc/guix.texi:21906
  32301. msgid "@samp{\"offline\"}, @samp{\"c2s\"} and @samp{\"s2s\"} are auto-loaded, but should you want to disable them then add them to this list. Defaults to @samp{()}."
  32302. msgstr ""
  32303. #. type: deftypevr
  32304. #: guix-git/doc/guix.texi:21908
  32305. #, no-wrap
  32306. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  32307. msgstr ""
  32308. #. type: deftypevr
  32309. #: guix-git/doc/guix.texi:21913
  32310. msgid "Path to a text file where the shared groups are defined. If this path is empty then @samp{mod_groups} does nothing. See @url{https://prosody.im/doc/modules/mod_groups}. Defaults to @samp{\"/var/lib/prosody/sharedgroups.txt\"}."
  32311. msgstr ""
  32312. #. type: deftypevr
  32313. #: guix-git/doc/guix.texi:21915
  32314. #, no-wrap
  32315. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  32316. msgstr ""
  32317. #. type: deftypevr
  32318. #: guix-git/doc/guix.texi:21919
  32319. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  32320. msgstr ""
  32321. #. type: deftypevr
  32322. #: guix-git/doc/guix.texi:21921
  32323. #, no-wrap
  32324. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  32325. msgstr ""
  32326. #. type: deftypevr
  32327. #: guix-git/doc/guix.texi:21926
  32328. msgid "These are the SSL/TLS-related settings. Most of them are disabled so to use Prosody's defaults. If you do not completely understand these options, do not add them to your config, it is easy to lower the security of your server using them. See @url{https://prosody.im/doc/advanced_ssl_config}."
  32329. msgstr ""
  32330. #. type: deftypevr
  32331. #: guix-git/doc/guix.texi:21928
  32332. msgid "Available @code{ssl-configuration} fields are:"
  32333. msgstr ""
  32334. #. type: deftypevr
  32335. #: guix-git/doc/guix.texi:21929
  32336. #, no-wrap
  32337. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  32338. msgstr ""
  32339. #. type: deftypevr
  32340. #: guix-git/doc/guix.texi:21931
  32341. msgid "This determines what handshake to use."
  32342. msgstr ""
  32343. #. type: deftypevr
  32344. #: guix-git/doc/guix.texi:21933
  32345. #, no-wrap
  32346. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  32347. msgstr ""
  32348. #. type: deftypevr
  32349. #: guix-git/doc/guix.texi:21935
  32350. msgid "Path to your private key file."
  32351. msgstr ""
  32352. #. type: deftypevr
  32353. #: guix-git/doc/guix.texi:21937
  32354. #, no-wrap
  32355. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  32356. msgstr ""
  32357. #. type: deftypevr
  32358. #: guix-git/doc/guix.texi:21939
  32359. msgid "Path to your certificate file."
  32360. msgstr ""
  32361. #. type: deftypevr
  32362. #: guix-git/doc/guix.texi:21941
  32363. #, no-wrap
  32364. msgid "{@code{ssl-configuration} parameter} file-object capath"
  32365. msgstr ""
  32366. #. type: deftypevr
  32367. #: guix-git/doc/guix.texi:21945
  32368. msgid "Path to directory containing root certificates that you wish Prosody to trust when verifying the certificates of remote servers. Defaults to @samp{\"/etc/ssl/certs\"}."
  32369. msgstr ""
  32370. #. type: deftypevr
  32371. #: guix-git/doc/guix.texi:21947
  32372. #, no-wrap
  32373. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  32374. msgstr ""
  32375. #. type: deftypevr
  32376. #: guix-git/doc/guix.texi:21950
  32377. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  32378. msgstr ""
  32379. #. type: deftypevr
  32380. #: guix-git/doc/guix.texi:21952
  32381. #, no-wrap
  32382. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  32383. msgstr ""
  32384. #. type: deftypevr
  32385. #: guix-git/doc/guix.texi:21955
  32386. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  32387. msgstr ""
  32388. #. type: deftypevr
  32389. #: guix-git/doc/guix.texi:21957
  32390. #, no-wrap
  32391. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  32392. msgstr ""
  32393. #. type: deftypevr
  32394. #: guix-git/doc/guix.texi:21961
  32395. msgid "A list of general options relating to SSL/TLS@. These map to OpenSSL's @code{set_options()}. For a full list of options available in LuaSec, see the LuaSec source."
  32396. msgstr ""
  32397. #. type: deftypevr
  32398. #: guix-git/doc/guix.texi:21963
  32399. #, no-wrap
  32400. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  32401. msgstr ""
  32402. #. type: deftypevr
  32403. #: guix-git/doc/guix.texi:21966
  32404. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  32405. msgstr ""
  32406. #. type: deftypevr
  32407. #: guix-git/doc/guix.texi:21968
  32408. #, no-wrap
  32409. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  32410. msgstr ""
  32411. #. type: deftypevr
  32412. #: guix-git/doc/guix.texi:21971
  32413. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  32414. msgstr ""
  32415. #. type: deftypevr
  32416. #: guix-git/doc/guix.texi:21973
  32417. #, no-wrap
  32418. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  32419. msgstr ""
  32420. #. type: deftypevr
  32421. #: guix-git/doc/guix.texi:21977
  32422. msgid "A path to a file containing parameters for Diffie-Hellman key exchange. You can create such a file with: @code{openssl dhparam -out /etc/prosody/certs/dh-2048.pem 2048}"
  32423. msgstr ""
  32424. #. type: deftypevr
  32425. #: guix-git/doc/guix.texi:21979
  32426. #, no-wrap
  32427. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  32428. msgstr ""
  32429. #. type: deftypevr
  32430. #: guix-git/doc/guix.texi:21982
  32431. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  32432. msgstr ""
  32433. #. type: deftypevr
  32434. #: guix-git/doc/guix.texi:21984
  32435. #, no-wrap
  32436. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  32437. msgstr ""
  32438. #. type: deftypevr
  32439. #: guix-git/doc/guix.texi:21986
  32440. msgid "A list of ``extra'' verification options."
  32441. msgstr ""
  32442. #. type: deftypevr
  32443. #: guix-git/doc/guix.texi:21988
  32444. #, no-wrap
  32445. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  32446. msgstr ""
  32447. #. type: deftypevr
  32448. #: guix-git/doc/guix.texi:21990
  32449. msgid "Password for encrypted private keys."
  32450. msgstr ""
  32451. #. type: deftypevr
  32452. #: guix-git/doc/guix.texi:21994
  32453. #, no-wrap
  32454. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  32455. msgstr ""
  32456. #. type: deftypevr
  32457. #: guix-git/doc/guix.texi:21998
  32458. msgid "Whether to force all client-to-server connections to be encrypted or not. See @url{https://prosody.im/doc/modules/mod_tls}. Defaults to @samp{#f}."
  32459. msgstr ""
  32460. #. type: deftypevr
  32461. #: guix-git/doc/guix.texi:22000
  32462. #, no-wrap
  32463. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  32464. msgstr ""
  32465. #. type: deftypevr
  32466. #: guix-git/doc/guix.texi:22004
  32467. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  32468. msgstr ""
  32469. #. type: deftypevr
  32470. #: guix-git/doc/guix.texi:22006
  32471. #, no-wrap
  32472. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  32473. msgstr ""
  32474. #. type: deftypevr
  32475. #: guix-git/doc/guix.texi:22010
  32476. msgid "Whether to force all server-to-server connections to be encrypted or not. See @url{https://prosody.im/doc/modules/mod_tls}. Defaults to @samp{#f}."
  32477. msgstr ""
  32478. #. type: deftypevr
  32479. #: guix-git/doc/guix.texi:22012
  32480. #, no-wrap
  32481. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  32482. msgstr ""
  32483. #. type: deftypevr
  32484. #: guix-git/doc/guix.texi:22018
  32485. msgid "Whether to require encryption and certificate authentication. This provides ideal security, but requires servers you communicate with to support encryption AND present valid, trusted certificates. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{#f}."
  32486. msgstr ""
  32487. #. type: deftypevr
  32488. #: guix-git/doc/guix.texi:22020
  32489. #, no-wrap
  32490. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  32491. msgstr ""
  32492. #. type: deftypevr
  32493. #: guix-git/doc/guix.texi:22026
  32494. msgid "Many servers don't support encryption or have invalid or self-signed certificates. You can list domains here that will not be required to authenticate using certificates. They will be authenticated using DNS@. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{()}."
  32495. msgstr ""
  32496. #. type: deftypevr
  32497. #: guix-git/doc/guix.texi:22028
  32498. #, no-wrap
  32499. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  32500. msgstr ""
  32501. #. type: deftypevr
  32502. #: guix-git/doc/guix.texi:22033
  32503. msgid "Even if you leave @code{s2s-secure-auth?} disabled, you can still require valid certificates for some domains by specifying a list here. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{()}."
  32504. msgstr ""
  32505. #. type: deftypevr
  32506. #: guix-git/doc/guix.texi:22035
  32507. #, no-wrap
  32508. msgid "{@code{prosody-configuration} parameter} string authentication"
  32509. msgstr ""
  32510. #. type: deftypevr
  32511. #: guix-git/doc/guix.texi:22043
  32512. msgid "Select the authentication backend to use. The default provider stores passwords in plaintext and uses Prosody's configured data storage to store the authentication data. If you do not trust your server please see @url{https://prosody.im/doc/modules/mod_auth_internal_hashed} for information about using the hashed backend. See also @url{https://prosody.im/doc/authentication} Defaults to @samp{\"internal_plain\"}."
  32513. msgstr ""
  32514. #. type: deftypevr
  32515. #: guix-git/doc/guix.texi:22045
  32516. #, no-wrap
  32517. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  32518. msgstr ""
  32519. #. type: deftypevr
  32520. #: guix-git/doc/guix.texi:22049
  32521. msgid "Set logging options. Advanced logging configuration is not yet supported by the Prosody service. See @url{https://prosody.im/doc/logging}. Defaults to @samp{\"*syslog\"}."
  32522. msgstr ""
  32523. #. type: deftypevr
  32524. #: guix-git/doc/guix.texi:22051
  32525. #, no-wrap
  32526. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  32527. msgstr ""
  32528. #. type: deftypevr
  32529. #: guix-git/doc/guix.texi:22054
  32530. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  32531. msgstr ""
  32532. #. type: deftypevr
  32533. #: guix-git/doc/guix.texi:22056
  32534. #, no-wrap
  32535. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  32536. msgstr ""
  32537. #. type: deftypevr
  32538. #: guix-git/doc/guix.texi:22058
  32539. msgid "Maximum allowed size of the HTTP body (in bytes)."
  32540. msgstr ""
  32541. #. type: deftypevr
  32542. #: guix-git/doc/guix.texi:22060
  32543. #, no-wrap
  32544. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  32545. msgstr ""
  32546. #. type: deftypevr
  32547. #: guix-git/doc/guix.texi:22065
  32548. msgid "Some modules expose their own URL in various ways. This URL is built from the protocol, host and port used. If Prosody sits behind a proxy, the public URL will be @code{http-external-url} instead. See @url{https://prosody.im/doc/http#external_url}."
  32549. msgstr ""
  32550. #. type: deftypevr
  32551. #: guix-git/doc/guix.texi:22067
  32552. #, no-wrap
  32553. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  32554. msgstr ""
  32555. #. type: deftypevr
  32556. #: guix-git/doc/guix.texi:22072
  32557. msgid "A host in Prosody is a domain on which user accounts can be created. For example if you want your users to have addresses like @samp{\"john.smith@@example.com\"} then you need to add a host @samp{\"example.com\"}. All options in this list will apply only to this host."
  32558. msgstr ""
  32559. #. type: deftypevr
  32560. #: guix-git/doc/guix.texi:22078
  32561. msgid "Note: the name @emph{virtual} host is used in configuration to avoid confusion with the actual physical host that Prosody is installed on. A single Prosody instance can serve many domains, each one defined as a VirtualHost entry in Prosody's configuration. Conversely a server that hosts a single domain would have just one VirtualHost entry."
  32562. msgstr ""
  32563. #. type: deftypevr
  32564. #: guix-git/doc/guix.texi:22080
  32565. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  32566. msgstr ""
  32567. #. type: deftypevr
  32568. #: guix-git/doc/guix.texi:22082
  32569. msgid "Available @code{virtualhost-configuration} fields are:"
  32570. msgstr ""
  32571. #. type: deftypevr
  32572. #: guix-git/doc/guix.texi:22084 guix-git/doc/guix.texi:22106
  32573. #: guix-git/doc/guix.texi:22159
  32574. msgid "all these @code{prosody-configuration} fields: @code{admins}, @code{use-libevent?}, @code{modules-enabled}, @code{modules-disabled}, @code{groups-file}, @code{allow-registration?}, @code{ssl}, @code{c2s-require-encryption?}, @code{disable-sasl-mechanisms}, @code{s2s-require-encryption?}, @code{s2s-secure-auth?}, @code{s2s-insecure-domains}, @code{s2s-secure-domains}, @code{authentication}, @code{log}, @code{http-max-content-size}, @code{http-external-url}, @code{raw-content}, plus:"
  32575. msgstr ""
  32576. #. type: deftypevr
  32577. #: guix-git/doc/guix.texi:22084
  32578. #, no-wrap
  32579. msgid "{@code{virtualhost-configuration} parameter} string domain"
  32580. msgstr ""
  32581. #. type: deftypevr
  32582. #: guix-git/doc/guix.texi:22086
  32583. msgid "Domain you wish Prosody to serve."
  32584. msgstr ""
  32585. #. type: deftypevr
  32586. #: guix-git/doc/guix.texi:22090
  32587. #, no-wrap
  32588. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  32589. msgstr ""
  32590. #. type: deftypevr
  32591. #: guix-git/doc/guix.texi:22095
  32592. msgid "Components are extra services on a server which are available to clients, usually on a subdomain of the main server (such as @samp{\"mycomponent.example.com\"}). Example components might be chatroom servers, user directories, or gateways to other protocols."
  32593. msgstr ""
  32594. #. type: deftypevr
  32595. #: guix-git/doc/guix.texi:22099
  32596. msgid "Internal components are implemented with Prosody-specific plugins. To add an internal component, you simply fill the hostname field, and the plugin you wish to use for the component."
  32597. msgstr ""
  32598. #. type: deftypevr
  32599. #: guix-git/doc/guix.texi:22102
  32600. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  32601. msgstr ""
  32602. #. type: deftypevr
  32603. #: guix-git/doc/guix.texi:22104
  32604. msgid "Available @code{int-component-configuration} fields are:"
  32605. msgstr ""
  32606. #. type: deftypevr
  32607. #: guix-git/doc/guix.texi:22106
  32608. #, no-wrap
  32609. msgid "{@code{int-component-configuration} parameter} string hostname"
  32610. msgstr ""
  32611. #. type: deftypevr
  32612. #: guix-git/doc/guix.texi:22108 guix-git/doc/guix.texi:22165
  32613. msgid "Hostname of the component."
  32614. msgstr ""
  32615. #. type: deftypevr
  32616. #: guix-git/doc/guix.texi:22110
  32617. #, no-wrap
  32618. msgid "{@code{int-component-configuration} parameter} string plugin"
  32619. msgstr ""
  32620. #. type: deftypevr
  32621. #: guix-git/doc/guix.texi:22112
  32622. msgid "Plugin you wish to use for the component."
  32623. msgstr ""
  32624. #. type: deftypevr
  32625. #: guix-git/doc/guix.texi:22114
  32626. #, no-wrap
  32627. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  32628. msgstr ""
  32629. #. type: deftypevr
  32630. #: guix-git/doc/guix.texi:22117
  32631. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  32632. msgstr ""
  32633. #. type: deftypevr
  32634. #: guix-git/doc/guix.texi:22121
  32635. msgid "General information on setting up and using multi-user chatrooms can be found in the ``Chatrooms'' documentation (@url{https://prosody.im/doc/chatrooms}), which you should read if you are new to XMPP chatrooms."
  32636. msgstr ""
  32637. #. type: deftypevr
  32638. #: guix-git/doc/guix.texi:22123
  32639. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  32640. msgstr ""
  32641. #. type: deftypevr
  32642. #: guix-git/doc/guix.texi:22125
  32643. msgid "Available @code{mod-muc-configuration} fields are:"
  32644. msgstr ""
  32645. #. type: deftypevr
  32646. #: guix-git/doc/guix.texi:22126
  32647. #, no-wrap
  32648. msgid "{@code{mod-muc-configuration} parameter} string name"
  32649. msgstr ""
  32650. #. type: deftypevr
  32651. #: guix-git/doc/guix.texi:22129
  32652. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  32653. msgstr ""
  32654. #. type: deftypevr
  32655. #: guix-git/doc/guix.texi:22131
  32656. #, no-wrap
  32657. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  32658. msgstr ""
  32659. #. type: deftypevr
  32660. #: guix-git/doc/guix.texi:22138
  32661. msgid "If @samp{#t}, this will only allow admins to create new chatrooms. Otherwise anyone can create a room. The value @samp{\"local\"} restricts room creation to users on the service's parent domain. E.g.@: @samp{user@@example.com} can create rooms on @samp{rooms.example.com}. The value @samp{\"admin\"} restricts to service administrators only. Defaults to @samp{#f}."
  32662. msgstr ""
  32663. #. type: deftypevr
  32664. #: guix-git/doc/guix.texi:22140
  32665. #, no-wrap
  32666. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  32667. msgstr ""
  32668. #. type: deftypevr
  32669. #: guix-git/doc/guix.texi:22144
  32670. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  32671. msgstr ""
  32672. #. type: deftypevr
  32673. #: guix-git/doc/guix.texi:22150
  32674. #, no-wrap
  32675. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  32676. msgstr ""
  32677. #. type: deftypevr
  32678. #: guix-git/doc/guix.texi:22155
  32679. msgid "External components use XEP-0114, which most standalone components support. To add an external component, you simply fill the hostname field. See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  32680. msgstr ""
  32681. #. type: deftypevr
  32682. #: guix-git/doc/guix.texi:22157
  32683. msgid "Available @code{ext-component-configuration} fields are:"
  32684. msgstr ""
  32685. #. type: deftypevr
  32686. #: guix-git/doc/guix.texi:22159
  32687. #, no-wrap
  32688. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  32689. msgstr ""
  32690. #. type: deftypevr
  32691. #: guix-git/doc/guix.texi:22161
  32692. msgid "Password which the component will use to log in."
  32693. msgstr ""
  32694. #. type: deftypevr
  32695. #: guix-git/doc/guix.texi:22163
  32696. #, no-wrap
  32697. msgid "{@code{ext-component-configuration} parameter} string hostname"
  32698. msgstr ""
  32699. #. type: deftypevr
  32700. #: guix-git/doc/guix.texi:22169
  32701. #, no-wrap
  32702. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  32703. msgstr ""
  32704. #. type: deftypevr
  32705. #: guix-git/doc/guix.texi:22172
  32706. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  32707. msgstr ""
  32708. #. type: deftypevr
  32709. #: guix-git/doc/guix.texi:22174
  32710. #, no-wrap
  32711. msgid "{@code{prosody-configuration} parameter} string component-interface"
  32712. msgstr ""
  32713. #. type: deftypevr
  32714. #: guix-git/doc/guix.texi:22177
  32715. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  32716. msgstr ""
  32717. #. type: deftypevr
  32718. #: guix-git/doc/guix.texi:22179
  32719. #, no-wrap
  32720. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  32721. msgstr ""
  32722. #. type: deftypevr
  32723. #: guix-git/doc/guix.texi:22181
  32724. msgid "Raw content that will be added to the configuration file."
  32725. msgstr ""
  32726. #. type: Plain text
  32727. #: guix-git/doc/guix.texi:22189
  32728. msgid "It could be that you just want to get a @code{prosody.cfg.lua} up and running. In that case, you can pass an @code{opaque-prosody-configuration} record as the value of @code{prosody-service-type}. As its name indicates, an opaque configuration does not have easy reflective capabilities. Available @code{opaque-prosody-configuration} fields are:"
  32729. msgstr ""
  32730. #. type: deftypevr
  32731. #: guix-git/doc/guix.texi:22190
  32732. #, no-wrap
  32733. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  32734. msgstr ""
  32735. #. type: deftypevr
  32736. #: guix-git/doc/guix.texi:22192
  32737. msgid "The prosody package."
  32738. msgstr ""
  32739. #. type: deftypevr
  32740. #: guix-git/doc/guix.texi:22194
  32741. #, no-wrap
  32742. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  32743. msgstr ""
  32744. #. type: deftypevr
  32745. #: guix-git/doc/guix.texi:22196
  32746. msgid "The contents of the @code{prosody.cfg.lua} to use."
  32747. msgstr ""
  32748. #. type: Plain text
  32749. #: guix-git/doc/guix.texi:22200
  32750. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  32751. msgstr ""
  32752. #. type: lisp
  32753. #: guix-git/doc/guix.texi:22205
  32754. #, no-wrap
  32755. msgid ""
  32756. "(service prosody-service-type\n"
  32757. " (opaque-prosody-configuration\n"
  32758. " (prosody.cfg.lua \"\")))\n"
  32759. msgstr ""
  32760. #. type: subsubheading
  32761. #: guix-git/doc/guix.texi:22209
  32762. #, no-wrap
  32763. msgid "BitlBee Service"
  32764. msgstr ""
  32765. #. type: cindex
  32766. #: guix-git/doc/guix.texi:22211 guix-git/doc/guix.texi:22255
  32767. #, no-wrap
  32768. msgid "IRC (Internet Relay Chat)"
  32769. msgstr ""
  32770. #. type: cindex
  32771. #: guix-git/doc/guix.texi:22212
  32772. #, no-wrap
  32773. msgid "IRC gateway"
  32774. msgstr ""
  32775. #. type: Plain text
  32776. #: guix-git/doc/guix.texi:22215
  32777. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  32778. msgstr ""
  32779. #. type: defvr
  32780. #: guix-git/doc/guix.texi:22216
  32781. #, no-wrap
  32782. msgid "{Scheme Variable} bitlbee-service-type"
  32783. msgstr ""
  32784. #. type: defvr
  32785. #: guix-git/doc/guix.texi:22220
  32786. msgid "This is the service type for the @url{https://bitlbee.org,BitlBee} IRC gateway daemon. Its value is a @code{bitlbee-configuration} (see below)."
  32787. msgstr ""
  32788. #. type: defvr
  32789. #: guix-git/doc/guix.texi:22223
  32790. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  32791. msgstr ""
  32792. #. type: lisp
  32793. #: guix-git/doc/guix.texi:22226
  32794. #, no-wrap
  32795. msgid "(service bitlbee-service-type)\n"
  32796. msgstr ""
  32797. #. type: deftp
  32798. #: guix-git/doc/guix.texi:22229
  32799. #, no-wrap
  32800. msgid "{Data Type} bitlbee-configuration"
  32801. msgstr ""
  32802. #. type: deftp
  32803. #: guix-git/doc/guix.texi:22231
  32804. msgid "This is the configuration for BitlBee, with the following fields:"
  32805. msgstr ""
  32806. #. type: item
  32807. #: guix-git/doc/guix.texi:22233
  32808. #, no-wrap
  32809. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  32810. msgstr ""
  32811. #. type: itemx
  32812. #: guix-git/doc/guix.texi:22234
  32813. #, no-wrap
  32814. msgid "@code{port} (default: @code{6667})"
  32815. msgstr ""
  32816. #. type: table
  32817. #: guix-git/doc/guix.texi:22237
  32818. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  32819. msgstr ""
  32820. #. type: table
  32821. #: guix-git/doc/guix.texi:22241
  32822. msgid "When @var{interface} is @code{127.0.0.1}, only local clients can connect; when it is @code{0.0.0.0}, connections can come from any networking interface."
  32823. msgstr ""
  32824. #. type: item
  32825. #: guix-git/doc/guix.texi:22242
  32826. #, no-wrap
  32827. msgid "@code{bitlbee} (default: @code{bitlbee})"
  32828. msgstr ""
  32829. #. type: table
  32830. #: guix-git/doc/guix.texi:22244
  32831. msgid "The BitlBee package to use."
  32832. msgstr ""
  32833. #. type: item
  32834. #: guix-git/doc/guix.texi:22245
  32835. #, no-wrap
  32836. msgid "@code{plugins} (default: @code{'()})"
  32837. msgstr ""
  32838. #. type: table
  32839. #: guix-git/doc/guix.texi:22247
  32840. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  32841. msgstr ""
  32842. #. type: table
  32843. #: guix-git/doc/guix.texi:22250
  32844. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  32845. msgstr ""
  32846. #. type: subsubheading
  32847. #: guix-git/doc/guix.texi:22253
  32848. #, no-wrap
  32849. msgid "Quassel Service"
  32850. msgstr ""
  32851. #. type: Plain text
  32852. #: guix-git/doc/guix.texi:22259
  32853. msgid "@url{https://quassel-irc.org/,Quassel} is a distributed IRC client, meaning that one or more clients can attach to and detach from the central core."
  32854. msgstr ""
  32855. #. type: defvr
  32856. #: guix-git/doc/guix.texi:22260
  32857. #, no-wrap
  32858. msgid "{Scheme Variable} quassel-service-type"
  32859. msgstr ""
  32860. #. type: defvr
  32861. #: guix-git/doc/guix.texi:22264
  32862. msgid "This is the service type for the @url{https://quassel-irc.org/,Quassel} IRC backend daemon. Its value is a @code{quassel-configuration} (see below)."
  32863. msgstr ""
  32864. #. type: deftp
  32865. #: guix-git/doc/guix.texi:22266
  32866. #, no-wrap
  32867. msgid "{Data Type} quassel-configuration"
  32868. msgstr ""
  32869. #. type: deftp
  32870. #: guix-git/doc/guix.texi:22268
  32871. msgid "This is the configuration for Quassel, with the following fields:"
  32872. msgstr ""
  32873. #. type: item
  32874. #: guix-git/doc/guix.texi:22270
  32875. #, no-wrap
  32876. msgid "@code{quassel} (default: @code{quassel})"
  32877. msgstr ""
  32878. #. type: table
  32879. #: guix-git/doc/guix.texi:22272
  32880. msgid "The Quassel package to use."
  32881. msgstr ""
  32882. #. type: item
  32883. #: guix-git/doc/guix.texi:22273
  32884. #, no-wrap
  32885. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  32886. msgstr ""
  32887. #. type: item
  32888. #: guix-git/doc/guix.texi:22274
  32889. #, no-wrap
  32890. msgid "@code{port} (default: @code{4242})"
  32891. msgstr ""
  32892. #. type: table
  32893. #: guix-git/doc/guix.texi:22278
  32894. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  32895. msgstr ""
  32896. #. type: item
  32897. #: guix-git/doc/guix.texi:22279
  32898. #, no-wrap
  32899. msgid "@code{loglevel} (default: @code{\"Info\"})"
  32900. msgstr ""
  32901. #. type: table
  32902. #: guix-git/doc/guix.texi:22282
  32903. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  32904. msgstr ""
  32905. #. type: cindex
  32906. #: guix-git/doc/guix.texi:22288
  32907. #, no-wrap
  32908. msgid "Murmur (VoIP server)"
  32909. msgstr ""
  32910. #. type: cindex
  32911. #: guix-git/doc/guix.texi:22289
  32912. #, no-wrap
  32913. msgid "VoIP server"
  32914. msgstr ""
  32915. #. type: Plain text
  32916. #: guix-git/doc/guix.texi:22293
  32917. msgid "This section describes how to set up and run a Murmur server. Murmur is the server of the @uref{https://mumble.info, Mumble} voice-over-IP (VoIP) suite."
  32918. msgstr ""
  32919. #. type: deftp
  32920. #: guix-git/doc/guix.texi:22294
  32921. #, no-wrap
  32922. msgid "{Data Type} murmur-configuration"
  32923. msgstr ""
  32924. #. type: deftp
  32925. #: guix-git/doc/guix.texi:22297
  32926. msgid "The service type for the Murmur server. An example configuration can look like this:"
  32927. msgstr ""
  32928. #. type: lisp
  32929. #: guix-git/doc/guix.texi:22306
  32930. #, no-wrap
  32931. msgid ""
  32932. "(service murmur-service-type\n"
  32933. " (murmur-configuration\n"
  32934. " (welcome-text\n"
  32935. " \"Welcome to this Mumble server running on Guix!\")\n"
  32936. " (cert-required? #t) ;disallow text password logins\n"
  32937. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  32938. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  32939. msgstr ""
  32940. #. type: deftp
  32941. #: guix-git/doc/guix.texi:22310
  32942. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  32943. msgstr ""
  32944. #. type: deftp
  32945. #: guix-git/doc/guix.texi:22319
  32946. msgid "It is recommended to register a normal Mumble user account and grant it admin or moderator rights. You can use the @code{mumble} client to login as new normal user, register yourself, and log out. For the next step login with the name @code{SuperUser} use the @code{SuperUser} password that you set previously, and grant your newly registered mumble user administrator or moderator rights and create some channels."
  32947. msgstr ""
  32948. #. type: deftp
  32949. #: guix-git/doc/guix.texi:22321
  32950. msgid "Available @code{murmur-configuration} fields are:"
  32951. msgstr ""
  32952. #. type: item
  32953. #: guix-git/doc/guix.texi:22323
  32954. #, no-wrap
  32955. msgid "@code{package} (default: @code{mumble})"
  32956. msgstr ""
  32957. #. type: table
  32958. #: guix-git/doc/guix.texi:22325
  32959. msgid "Package that contains @code{bin/murmurd}."
  32960. msgstr ""
  32961. #. type: item
  32962. #: guix-git/doc/guix.texi:22326
  32963. #, no-wrap
  32964. msgid "@code{user} (default: @code{\"murmur\"})"
  32965. msgstr ""
  32966. #. type: table
  32967. #: guix-git/doc/guix.texi:22328
  32968. msgid "User who will run the Murmur server."
  32969. msgstr ""
  32970. #. type: item
  32971. #: guix-git/doc/guix.texi:22329
  32972. #, no-wrap
  32973. msgid "@code{group} (default: @code{\"murmur\"})"
  32974. msgstr ""
  32975. #. type: table
  32976. #: guix-git/doc/guix.texi:22331
  32977. msgid "Group of the user who will run the murmur server."
  32978. msgstr ""
  32979. #. type: item
  32980. #: guix-git/doc/guix.texi:22332
  32981. #, no-wrap
  32982. msgid "@code{port} (default: @code{64738})"
  32983. msgstr ""
  32984. #. type: table
  32985. #: guix-git/doc/guix.texi:22334
  32986. msgid "Port on which the server will listen."
  32987. msgstr ""
  32988. #. type: item
  32989. #: guix-git/doc/guix.texi:22335
  32990. #, no-wrap
  32991. msgid "@code{welcome-text} (default: @code{\"\"})"
  32992. msgstr ""
  32993. #. type: table
  32994. #: guix-git/doc/guix.texi:22337
  32995. msgid "Welcome text sent to clients when they connect."
  32996. msgstr ""
  32997. #. type: item
  32998. #: guix-git/doc/guix.texi:22338
  32999. #, no-wrap
  33000. msgid "@code{server-password} (default: @code{\"\"})"
  33001. msgstr ""
  33002. #. type: table
  33003. #: guix-git/doc/guix.texi:22340
  33004. msgid "Password the clients have to enter in order to connect."
  33005. msgstr ""
  33006. #. type: item
  33007. #: guix-git/doc/guix.texi:22341
  33008. #, no-wrap
  33009. msgid "@code{max-users} (default: @code{100})"
  33010. msgstr ""
  33011. #. type: table
  33012. #: guix-git/doc/guix.texi:22343
  33013. msgid "Maximum of users that can be connected to the server at once."
  33014. msgstr ""
  33015. #. type: item
  33016. #: guix-git/doc/guix.texi:22344
  33017. #, no-wrap
  33018. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  33019. msgstr ""
  33020. #. type: table
  33021. #: guix-git/doc/guix.texi:22346
  33022. msgid "Maximum voice traffic a user can send per second."
  33023. msgstr ""
  33024. #. type: item
  33025. #: guix-git/doc/guix.texi:22347
  33026. #, no-wrap
  33027. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  33028. msgstr ""
  33029. #. type: table
  33030. #: guix-git/doc/guix.texi:22350
  33031. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  33032. msgstr ""
  33033. #. type: item
  33034. #: guix-git/doc/guix.texi:22351
  33035. #, no-wrap
  33036. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  33037. msgstr ""
  33038. #. type: table
  33039. #: guix-git/doc/guix.texi:22354
  33040. msgid "File name of the log file. The service's user will become the owner of the directory."
  33041. msgstr ""
  33042. #. type: item
  33043. #: guix-git/doc/guix.texi:22355
  33044. #, no-wrap
  33045. msgid "@code{autoban-attempts} (default: @code{10})"
  33046. msgstr ""
  33047. #. type: table
  33048. #: guix-git/doc/guix.texi:22358
  33049. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  33050. msgstr ""
  33051. #. type: item
  33052. #: guix-git/doc/guix.texi:22359
  33053. #, no-wrap
  33054. msgid "@code{autoban-timeframe} (default: @code{120})"
  33055. msgstr ""
  33056. #. type: table
  33057. #: guix-git/doc/guix.texi:22361
  33058. msgid "Timeframe for autoban in seconds."
  33059. msgstr ""
  33060. #. type: item
  33061. #: guix-git/doc/guix.texi:22362
  33062. #, no-wrap
  33063. msgid "@code{autoban-time} (default: @code{300})"
  33064. msgstr ""
  33065. #. type: table
  33066. #: guix-git/doc/guix.texi:22365
  33067. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  33068. msgstr ""
  33069. #. type: item
  33070. #: guix-git/doc/guix.texi:22366
  33071. #, no-wrap
  33072. msgid "@code{opus-threshold} (default: @code{100})"
  33073. msgstr ""
  33074. #. type: table
  33075. #: guix-git/doc/guix.texi:22369
  33076. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  33077. msgstr ""
  33078. #. type: item
  33079. #: guix-git/doc/guix.texi:22370
  33080. #, no-wrap
  33081. msgid "@code{channel-nesting-limit} (default: @code{10})"
  33082. msgstr ""
  33083. #. type: table
  33084. #: guix-git/doc/guix.texi:22372
  33085. msgid "How deep channels can be nested at maximum."
  33086. msgstr ""
  33087. #. type: item
  33088. #: guix-git/doc/guix.texi:22373
  33089. #, no-wrap
  33090. msgid "@code{channelname-regex} (default: @code{#f})"
  33091. msgstr ""
  33092. #. type: table
  33093. #: guix-git/doc/guix.texi:22375
  33094. msgid "A string in form of a Qt regular expression that channel names must conform to."
  33095. msgstr ""
  33096. #. type: item
  33097. #: guix-git/doc/guix.texi:22376
  33098. #, no-wrap
  33099. msgid "@code{username-regex} (default: @code{#f})"
  33100. msgstr ""
  33101. #. type: table
  33102. #: guix-git/doc/guix.texi:22378
  33103. msgid "A string in form of a Qt regular expression that user names must conform to."
  33104. msgstr ""
  33105. #. type: item
  33106. #: guix-git/doc/guix.texi:22379
  33107. #, no-wrap
  33108. msgid "@code{text-message-length} (default: @code{5000})"
  33109. msgstr ""
  33110. #. type: table
  33111. #: guix-git/doc/guix.texi:22381
  33112. msgid "Maximum size in bytes that a user can send in one text chat message."
  33113. msgstr ""
  33114. #. type: item
  33115. #: guix-git/doc/guix.texi:22382
  33116. #, no-wrap
  33117. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  33118. msgstr ""
  33119. #. type: table
  33120. #: guix-git/doc/guix.texi:22384
  33121. msgid "Maximum size in bytes that a user can send in one image message."
  33122. msgstr ""
  33123. #. type: item
  33124. #: guix-git/doc/guix.texi:22385
  33125. #, no-wrap
  33126. msgid "@code{cert-required?} (default: @code{#f})"
  33127. msgstr ""
  33128. #. type: table
  33129. #: guix-git/doc/guix.texi:22388
  33130. msgid "If it is set to @code{#t} clients that use weak password authentication will not be accepted. Users must have completed the certificate wizard to join."
  33131. msgstr ""
  33132. #. type: item
  33133. #: guix-git/doc/guix.texi:22389
  33134. #, no-wrap
  33135. msgid "@code{remember-channel?} (default: @code{#f})"
  33136. msgstr ""
  33137. #. type: table
  33138. #: guix-git/doc/guix.texi:22392
  33139. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  33140. msgstr ""
  33141. #. type: item
  33142. #: guix-git/doc/guix.texi:22393
  33143. #, no-wrap
  33144. msgid "@code{allow-html?} (default: @code{#f})"
  33145. msgstr ""
  33146. #. type: table
  33147. #: guix-git/doc/guix.texi:22395
  33148. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  33149. msgstr ""
  33150. #. type: item
  33151. #: guix-git/doc/guix.texi:22396
  33152. #, no-wrap
  33153. msgid "@code{allow-ping?} (default: @code{#f})"
  33154. msgstr ""
  33155. #. type: table
  33156. #: guix-git/doc/guix.texi:22400
  33157. msgid "Setting to true exposes the current user count, the maximum user count, and the server's maximum bandwidth per client to unauthenticated users. In the Mumble client, this information is shown in the Connect dialog."
  33158. msgstr ""
  33159. #. type: table
  33160. #: guix-git/doc/guix.texi:22402
  33161. msgid "Disabling this setting will prevent public listing of the server."
  33162. msgstr ""
  33163. #. type: item
  33164. #: guix-git/doc/guix.texi:22403
  33165. #, no-wrap
  33166. msgid "@code{bonjour?} (default: @code{#f})"
  33167. msgstr ""
  33168. #. type: table
  33169. #: guix-git/doc/guix.texi:22405
  33170. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  33171. msgstr ""
  33172. #. type: item
  33173. #: guix-git/doc/guix.texi:22406
  33174. #, no-wrap
  33175. msgid "@code{send-version?} (default: @code{#f})"
  33176. msgstr ""
  33177. #. type: table
  33178. #: guix-git/doc/guix.texi:22408
  33179. msgid "Should the murmur server version be exposed in ping requests."
  33180. msgstr ""
  33181. #. type: item
  33182. #: guix-git/doc/guix.texi:22409
  33183. #, no-wrap
  33184. msgid "@code{log-days} (default: @code{31})"
  33185. msgstr ""
  33186. #. type: table
  33187. #: guix-git/doc/guix.texi:22413
  33188. msgid "Murmur also stores logs in the database, which are accessible via RPC. The default is 31 days of months, but you can set this setting to 0 to keep logs forever, or -1 to disable logging to the database."
  33189. msgstr ""
  33190. #. type: item
  33191. #: guix-git/doc/guix.texi:22414
  33192. #, no-wrap
  33193. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  33194. msgstr ""
  33195. #. type: table
  33196. #: guix-git/doc/guix.texi:22416
  33197. msgid "Should logged ips be obfuscated to protect the privacy of users."
  33198. msgstr ""
  33199. #. type: item
  33200. #: guix-git/doc/guix.texi:22417
  33201. #, no-wrap
  33202. msgid "@code{ssl-cert} (default: @code{#f})"
  33203. msgstr ""
  33204. #. type: table
  33205. #: guix-git/doc/guix.texi:22419
  33206. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  33207. msgstr ""
  33208. #. type: lisp
  33209. #: guix-git/doc/guix.texi:22422
  33210. #, no-wrap
  33211. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  33212. msgstr ""
  33213. #. type: item
  33214. #: guix-git/doc/guix.texi:22423
  33215. #, no-wrap
  33216. msgid "@code{ssl-key} (default: @code{#f})"
  33217. msgstr ""
  33218. #. type: table
  33219. #: guix-git/doc/guix.texi:22425
  33220. msgid "Filepath to the ssl private key used for encrypted connections."
  33221. msgstr ""
  33222. #. type: lisp
  33223. #: guix-git/doc/guix.texi:22427
  33224. #, no-wrap
  33225. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  33226. msgstr ""
  33227. #. type: item
  33228. #: guix-git/doc/guix.texi:22429
  33229. #, no-wrap
  33230. msgid "@code{ssl-dh-params} (default: @code{#f})"
  33231. msgstr ""
  33232. #. type: table
  33233. #: guix-git/doc/guix.texi:22434
  33234. msgid "File name of a PEM-encoded file with Diffie-Hellman parameters for the SSL/TLS encryption. Alternatively you set it to @code{\"@@ffdhe2048\"}, @code{\"@@ffdhe3072\"}, @code{\"@@ffdhe4096\"}, @code{\"@@ffdhe6144\"} or @code{\"@@ffdhe8192\"} to use bundled parameters from RFC 7919."
  33235. msgstr ""
  33236. #. type: item
  33237. #: guix-git/doc/guix.texi:22435
  33238. #, no-wrap
  33239. msgid "@code{ssl-ciphers} (default: @code{#f})"
  33240. msgstr ""
  33241. #. type: table
  33242. #: guix-git/doc/guix.texi:22438
  33243. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  33244. msgstr ""
  33245. #. type: table
  33246. #: guix-git/doc/guix.texi:22442
  33247. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  33248. msgstr ""
  33249. #. type: table
  33250. #: guix-git/doc/guix.texi:22447
  33251. msgid "It is recommended that you try your cipher string using 'openssl ciphers <string>' before setting it here, to get a feel for which cipher suites you will get. After setting this option, it is recommend that you inspect your Murmur log to ensure that Murmur is using the cipher suites that you expected it to."
  33252. msgstr ""
  33253. #. type: table
  33254. #: guix-git/doc/guix.texi:22451
  33255. msgid "Note: Changing this option may impact the backwards compatibility of your Murmur server, and can remove the ability for older Mumble clients to be able to connect to it."
  33256. msgstr ""
  33257. #. type: item
  33258. #: guix-git/doc/guix.texi:22452
  33259. #, no-wrap
  33260. msgid "@code{public-registration} (default: @code{#f})"
  33261. msgstr ""
  33262. #. type: table
  33263. #: guix-git/doc/guix.texi:22454
  33264. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  33265. msgstr ""
  33266. #. type: table
  33267. #: guix-git/doc/guix.texi:22459
  33268. msgid "You can optionally register your server in the public server list that the @code{mumble} client shows on startup. You cannot register your server if you have set a @code{server-password}, or set @code{allow-ping} to @code{#f}."
  33269. msgstr ""
  33270. #. type: table
  33271. #: guix-git/doc/guix.texi:22461
  33272. msgid "It might take a few hours until it shows up in the public list."
  33273. msgstr ""
  33274. #. type: item
  33275. #: guix-git/doc/guix.texi:22462 guix-git/doc/guix.texi:24698
  33276. #, no-wrap
  33277. msgid "@code{file} (default: @code{#f})"
  33278. msgstr ""
  33279. #. type: table
  33280. #: guix-git/doc/guix.texi:22464
  33281. msgid "Optional alternative override for this configuration."
  33282. msgstr ""
  33283. #. type: deftp
  33284. #: guix-git/doc/guix.texi:22467
  33285. #, no-wrap
  33286. msgid "{Data Type} murmur-public-registration-configuration"
  33287. msgstr ""
  33288. #. type: deftp
  33289. #: guix-git/doc/guix.texi:22469
  33290. msgid "Configuration for public registration of a murmur service."
  33291. msgstr ""
  33292. #. type: table
  33293. #: guix-git/doc/guix.texi:22473
  33294. msgid "This is a display name for your server. Not to be confused with the hostname."
  33295. msgstr ""
  33296. #. type: itemx
  33297. #: guix-git/doc/guix.texi:22474 guix-git/doc/guix.texi:31149
  33298. #: guix-git/doc/guix.texi:32190
  33299. #, no-wrap
  33300. msgid "password"
  33301. msgstr ""
  33302. #. type: table
  33303. #: guix-git/doc/guix.texi:22477
  33304. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  33305. msgstr ""
  33306. #. type: table
  33307. #: guix-git/doc/guix.texi:22481
  33308. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  33309. msgstr ""
  33310. #. type: item
  33311. #: guix-git/doc/guix.texi:22482 guix-git/doc/guix.texi:25577
  33312. #, no-wrap
  33313. msgid "@code{hostname} (default: @code{#f})"
  33314. msgstr ""
  33315. #. type: table
  33316. #: guix-git/doc/guix.texi:22485
  33317. msgid "By default your server will be listed by its IP address. If it is set your server will be linked by this host name instead."
  33318. msgstr ""
  33319. #. type: Plain text
  33320. #: guix-git/doc/guix.texi:22495
  33321. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  33322. msgstr ""
  33323. #. type: subsubheading
  33324. #: guix-git/doc/guix.texi:22496
  33325. #, no-wrap
  33326. msgid "Transmission Daemon Service"
  33327. msgstr ""
  33328. #. type: Plain text
  33329. #: guix-git/doc/guix.texi:22504
  33330. msgid "@uref{https://transmissionbt.com/, Transmission} is a flexible BitTorrent client that offers a variety of graphical and command-line interfaces. A @code{transmission-daemon-service-type} service provides Transmission's headless variant, @command{transmission-daemon}, as a system service, allowing users to share files via BitTorrent even when they are not logged in."
  33331. msgstr ""
  33332. #. type: deffn
  33333. #: guix-git/doc/guix.texi:22505
  33334. #, no-wrap
  33335. msgid "{Scheme Variable} transmission-daemon-service-type"
  33336. msgstr ""
  33337. #. type: deffn
  33338. #: guix-git/doc/guix.texi:22509
  33339. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  33340. msgstr ""
  33341. #. type: lisp
  33342. #: guix-git/doc/guix.texi:22520
  33343. #, no-wrap
  33344. msgid ""
  33345. "(service transmission-daemon-service-type\n"
  33346. " (transmission-daemon-configuration\n"
  33347. " ;; Restrict access to the RPC (\"control\") interface\n"
  33348. " (rpc-authentication-required? #t)\n"
  33349. " (rpc-username \"transmission\")\n"
  33350. " (rpc-password\n"
  33351. " (transmission-password-hash\n"
  33352. " \"transmission\" ; desired password\n"
  33353. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  33354. "\n"
  33355. msgstr ""
  33356. #. type: lisp
  33357. #: guix-git/doc/guix.texi:22525
  33358. #, no-wrap
  33359. msgid ""
  33360. " ;; Accept requests from this and other hosts on the\n"
  33361. " ;; local network\n"
  33362. " (rpc-whitelist-enabled? #t)\n"
  33363. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  33364. "\n"
  33365. msgstr ""
  33366. #. type: lisp
  33367. #: guix-git/doc/guix.texi:22529
  33368. #, no-wrap
  33369. msgid ""
  33370. " ;; Limit bandwidth use during work hours\n"
  33371. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  33372. " (alt-speed-up 512) ; 512 kB/s\n"
  33373. "\n"
  33374. msgstr ""
  33375. #. type: lisp
  33376. #: guix-git/doc/guix.texi:22536
  33377. #, no-wrap
  33378. msgid ""
  33379. " (alt-speed-time-enabled? #t)\n"
  33380. " (alt-speed-time-day 'weekdays)\n"
  33381. " (alt-speed-time-begin\n"
  33382. " (+ (* 60 8) 30)) ; 8:30 am\n"
  33383. " (alt-speed-time-end\n"
  33384. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  33385. msgstr ""
  33386. #. type: Plain text
  33387. #: guix-git/doc/guix.texi:22549
  33388. msgid "Once the service is started, users can interact with the daemon through its Web interface (at @code{http://localhost:9091/}) or by using the @command{transmission-remote} command-line tool, available in the @code{transmission} package. (Emacs users may want to also consider the @code{emacs-transmission} package.) Both communicate with the daemon through its remote procedure call (RPC) interface, which by default is available to all users on the system; you may wish to change this by assigning values to the @code{rpc-authentication-required?}, @code{rpc-username} and @code{rpc-password} settings, as shown in the example above and documented further below."
  33389. msgstr ""
  33390. #. type: Plain text
  33391. #: guix-git/doc/guix.texi:22557
  33392. msgid "The value for @code{rpc-password} must be a password hash of the type generated and used by Transmission clients. This can be copied verbatim from an existing @file{settings.json} file, if another Transmission client is already being used. Otherwise, the @code{transmission-password-hash} and @code{transmission-random-salt} procedures provided by this module can be used to obtain a suitable hash value."
  33393. msgstr ""
  33394. #. type: deffn
  33395. #: guix-git/doc/guix.texi:22558
  33396. #, no-wrap
  33397. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  33398. msgstr ""
  33399. #. type: deffn
  33400. #: guix-git/doc/guix.texi:22562
  33401. msgid "Returns a string containing the result of hashing @var{password} together with @var{salt}, in the format recognized by Transmission clients for their @code{rpc-password} configuration setting."
  33402. msgstr ""
  33403. #. type: deffn
  33404. #: guix-git/doc/guix.texi:22566
  33405. msgid "@var{salt} must be an eight-character string. The @code{transmission-random-salt} procedure can be used to generate a suitable salt value at random."
  33406. msgstr ""
  33407. #. type: deffn
  33408. #: guix-git/doc/guix.texi:22568
  33409. #, no-wrap
  33410. msgid "{Scheme Procedure} transmission-random-salt"
  33411. msgstr ""
  33412. #. type: deffn
  33413. #: guix-git/doc/guix.texi:22572
  33414. msgid "Returns a string containing a random, eight-character salt value of the type generated and used by Transmission clients, suitable for passing to the @code{transmission-password-hash} procedure."
  33415. msgstr ""
  33416. #. type: Plain text
  33417. #: guix-git/doc/guix.texi:22578
  33418. msgid "These procedures are accessible from within a Guile REPL started with the @command{guix repl} command (@pxref{Invoking guix repl}). This is useful for obtaining a random salt value to provide as the second parameter to `transmission-password-hash`, as in this example session:"
  33419. msgstr ""
  33420. #. type: example
  33421. #: guix-git/doc/guix.texi:22584
  33422. #, no-wrap
  33423. msgid ""
  33424. "$ guix repl\n"
  33425. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  33426. "scheme@@(guix-user)> (transmission-random-salt)\n"
  33427. "$1 = \"uKd1uMs9\"\n"
  33428. msgstr ""
  33429. #. type: Plain text
  33430. #: guix-git/doc/guix.texi:22587
  33431. msgid "Alternatively, a complete password hash can generated in a single step:"
  33432. msgstr ""
  33433. #. type: example
  33434. #: guix-git/doc/guix.texi:22592
  33435. #, no-wrap
  33436. msgid ""
  33437. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  33438. "(transmission-random-salt))\n"
  33439. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  33440. msgstr ""
  33441. #. type: Plain text
  33442. #: guix-git/doc/guix.texi:22597
  33443. msgid "The resulting string can be used as-is for the value of @code{rpc-password}, allowing the password to be kept hidden even in the operating-system configuration."
  33444. msgstr ""
  33445. #. type: Plain text
  33446. #: guix-git/doc/guix.texi:22606
  33447. msgid "Torrent files downloaded by the daemon are directly accessible only to users in the ``transmission'' user group, who receive read-only access to the directory specified by the @code{download-dir} configuration setting (and also the directory specified by @code{incomplete-dir}, if @code{incomplete-dir-enabled?} is @code{#t}). Downloaded files can be moved to another directory or deleted altogether using @command{transmission-remote} with its @code{--move} and @code{--remove-and-delete} options."
  33448. msgstr ""
  33449. #. type: Plain text
  33450. #: guix-git/doc/guix.texi:22613
  33451. msgid "If the @code{watch-dir-enabled?} setting is set to @code{#t}, users in the ``transmission'' group are able also to place @file{.torrent} files in the directory specified by @code{watch-dir} to have the corresponding torrents added by the daemon. (The @code{trash-original-torrent-files?} setting controls whether the daemon deletes these files after processing them.)"
  33452. msgstr ""
  33453. #. type: Plain text
  33454. #: guix-git/doc/guix.texi:22618
  33455. msgid "Some of the daemon's configuration settings can be changed temporarily by @command{transmission-remote} and similar tools. To undo these changes, use the service's @code{reload} action to have the daemon reload its settings from disk:"
  33456. msgstr ""
  33457. #. type: example
  33458. #: guix-git/doc/guix.texi:22621
  33459. #, no-wrap
  33460. msgid "# herd reload transmission-daemon\n"
  33461. msgstr ""
  33462. #. type: Plain text
  33463. #: guix-git/doc/guix.texi:22625
  33464. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  33465. msgstr ""
  33466. #. type: deftp
  33467. #: guix-git/doc/guix.texi:22626
  33468. #, no-wrap
  33469. msgid "{Data Type} transmission-daemon-configuration"
  33470. msgstr ""
  33471. #. type: deftp
  33472. #: guix-git/doc/guix.texi:22630
  33473. msgid "The data type representing configuration settings for Transmission Daemon. These correspond directly to the settings recognized by Transmission clients in their @file{settings.json} file."
  33474. msgstr ""
  33475. #. type: Plain text
  33476. #: guix-git/doc/guix.texi:22644
  33477. msgid "Available @code{transmission-daemon-configuration} fields are:"
  33478. msgstr ""
  33479. #. type: deftypevr
  33480. #: guix-git/doc/guix.texi:22645
  33481. #, no-wrap
  33482. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  33483. msgstr ""
  33484. #. type: deftypevr
  33485. #: guix-git/doc/guix.texi:22647
  33486. msgid "The Transmission package to use."
  33487. msgstr ""
  33488. #. type: deftypevr
  33489. #: guix-git/doc/guix.texi:22650
  33490. #, no-wrap
  33491. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  33492. msgstr ""
  33493. #. type: deftypevr
  33494. #: guix-git/doc/guix.texi:22656
  33495. msgid "The period, in seconds, to wait when stopping the service for @command{transmission-daemon} to exit before killing its process. This allows the daemon time to complete its housekeeping and send a final update to trackers as it shuts down. On slow hosts, or hosts with a slow network connection, this value may need to be increased."
  33496. msgstr ""
  33497. #. type: deftypevr
  33498. #: guix-git/doc/guix.texi:22658 guix-git/doc/guix.texi:23030
  33499. #: guix-git/doc/guix.texi:30262 guix-git/doc/guix.texi:30497
  33500. #: guix-git/doc/guix.texi:30505 guix-git/doc/guix.texi:30513
  33501. msgid "Defaults to @samp{10}."
  33502. msgstr ""
  33503. #. type: deftypevr
  33504. #: guix-git/doc/guix.texi:22661
  33505. #, no-wrap
  33506. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  33507. msgstr ""
  33508. #. type: deftypevr
  33509. #: guix-git/doc/guix.texi:22663
  33510. msgid "The directory to which torrent files are downloaded."
  33511. msgstr ""
  33512. #. type: deftypevr
  33513. #: guix-git/doc/guix.texi:22665
  33514. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  33515. msgstr ""
  33516. #. type: deftypevr
  33517. #: guix-git/doc/guix.texi:22668
  33518. #, no-wrap
  33519. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  33520. msgstr ""
  33521. #. type: deftypevr
  33522. #: guix-git/doc/guix.texi:22673
  33523. msgid "If @code{#t}, files will be held in @code{incomplete-dir} while their torrent is being downloaded, then moved to @code{download-dir} once the torrent is complete. Otherwise, files for all torrents (including those still being downloaded) will be placed in @code{download-dir}."
  33524. msgstr ""
  33525. #. type: deftypevr
  33526. #: guix-git/doc/guix.texi:22678
  33527. #, no-wrap
  33528. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  33529. msgstr ""
  33530. #. type: deftypevr
  33531. #: guix-git/doc/guix.texi:22681
  33532. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  33533. msgstr ""
  33534. #. type: deftypevr
  33535. #: guix-git/doc/guix.texi:22683 guix-git/doc/guix.texi:22727
  33536. #: guix-git/doc/guix.texi:22940 guix-git/doc/guix.texi:22996
  33537. #: guix-git/doc/guix.texi:23170 guix-git/doc/guix.texi:23181
  33538. #: guix-git/doc/guix.texi:23254 guix-git/doc/guix.texi:23979
  33539. #: guix-git/doc/guix.texi:24022 guix-git/doc/guix.texi:24030
  33540. #: guix-git/doc/guix.texi:24038 guix-git/doc/guix.texi:24046
  33541. #: guix-git/doc/guix.texi:24055 guix-git/doc/guix.texi:24063
  33542. #: guix-git/doc/guix.texi:24070 guix-git/doc/guix.texi:24078
  33543. #: guix-git/doc/guix.texi:24086 guix-git/doc/guix.texi:24096
  33544. #: guix-git/doc/guix.texi:24103 guix-git/doc/guix.texi:24127
  33545. #: guix-git/doc/guix.texi:24135 guix-git/doc/guix.texi:24161
  33546. #: guix-git/doc/guix.texi:24170 guix-git/doc/guix.texi:24179
  33547. #: guix-git/doc/guix.texi:24188 guix-git/doc/guix.texi:24197
  33548. #: guix-git/doc/guix.texi:24206 guix-git/doc/guix.texi:24214
  33549. #: guix-git/doc/guix.texi:24222 guix-git/doc/guix.texi:24229
  33550. #: guix-git/doc/guix.texi:24237 guix-git/doc/guix.texi:24244
  33551. #: guix-git/doc/guix.texi:24252 guix-git/doc/guix.texi:24260
  33552. #: guix-git/doc/guix.texi:24269 guix-git/doc/guix.texi:24278
  33553. #: guix-git/doc/guix.texi:24286 guix-git/doc/guix.texi:24294
  33554. #: guix-git/doc/guix.texi:24302 guix-git/doc/guix.texi:24313
  33555. #: guix-git/doc/guix.texi:24323 guix-git/doc/guix.texi:24334
  33556. #: guix-git/doc/guix.texi:24343 guix-git/doc/guix.texi:24353
  33557. #: guix-git/doc/guix.texi:24361 guix-git/doc/guix.texi:24372
  33558. #: guix-git/doc/guix.texi:24381 guix-git/doc/guix.texi:24391
  33559. #: guix-git/doc/guix.texi:27554 guix-git/doc/guix.texi:27561
  33560. #: guix-git/doc/guix.texi:27568 guix-git/doc/guix.texi:27575
  33561. #: guix-git/doc/guix.texi:27582 guix-git/doc/guix.texi:27589
  33562. #: guix-git/doc/guix.texi:27597 guix-git/doc/guix.texi:27605
  33563. #: guix-git/doc/guix.texi:27612 guix-git/doc/guix.texi:27619
  33564. #: guix-git/doc/guix.texi:27626 guix-git/doc/guix.texi:27633
  33565. #: guix-git/doc/guix.texi:27663 guix-git/doc/guix.texi:27701
  33566. #: guix-git/doc/guix.texi:27708 guix-git/doc/guix.texi:27717
  33567. #: guix-git/doc/guix.texi:27739 guix-git/doc/guix.texi:27747
  33568. #: guix-git/doc/guix.texi:27754 guix-git/doc/guix.texi:27909
  33569. #: guix-git/doc/guix.texi:27929 guix-git/doc/guix.texi:27944
  33570. #: guix-git/doc/guix.texi:27951 guix-git/doc/guix.texi:30634
  33571. #: guix-git/doc/guix.texi:30642 guix-git/doc/guix.texi:30650
  33572. #: guix-git/doc/guix.texi:30658 guix-git/doc/guix.texi:30666
  33573. #: guix-git/doc/guix.texi:30674
  33574. msgid "Defaults to @samp{disabled}."
  33575. msgstr ""
  33576. #. type: deftypevr
  33577. #: guix-git/doc/guix.texi:22686
  33578. #, no-wrap
  33579. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  33580. msgstr ""
  33581. #. type: deftypevr
  33582. #: guix-git/doc/guix.texi:22689
  33583. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  33584. msgstr ""
  33585. #. type: deftypevr
  33586. #: guix-git/doc/guix.texi:22691
  33587. msgid "Defaults to @samp{18}."
  33588. msgstr ""
  33589. #. type: deftypevr
  33590. #: guix-git/doc/guix.texi:22694
  33591. #, no-wrap
  33592. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  33593. msgstr ""
  33594. #. type: deftypevr
  33595. #: guix-git/doc/guix.texi:22697
  33596. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  33597. msgstr ""
  33598. #. type: deftypevr
  33599. #: guix-git/doc/guix.texi:22702
  33600. #, no-wrap
  33601. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  33602. msgstr ""
  33603. #. type: deftypevr
  33604. #: guix-git/doc/guix.texi:22707
  33605. msgid "The mode by which space should be preallocated for downloaded files, one of @code{none}, @code{fast} (or @code{sparse}) and @code{full}. Specifying @code{full} will minimize disk fragmentation at a cost to file-creation speed."
  33606. msgstr ""
  33607. #. type: deftypevr
  33608. #: guix-git/doc/guix.texi:22709
  33609. msgid "Defaults to @samp{fast}."
  33610. msgstr ""
  33611. #. type: deftypevr
  33612. #: guix-git/doc/guix.texi:22712
  33613. #, no-wrap
  33614. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  33615. msgstr ""
  33616. #. type: deftypevr
  33617. #: guix-git/doc/guix.texi:22717
  33618. msgid "If @code{#t}, the directory specified by @code{watch-dir} will be watched for new @file{.torrent} files and the torrents they describe added automatically (and the original files removed, if @code{trash-original-torrent-files?} is @code{#t})."
  33619. msgstr ""
  33620. #. type: deftypevr
  33621. #: guix-git/doc/guix.texi:22722
  33622. #, no-wrap
  33623. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  33624. msgstr ""
  33625. #. type: deftypevr
  33626. #: guix-git/doc/guix.texi:22725
  33627. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  33628. msgstr ""
  33629. #. type: deftypevr
  33630. #: guix-git/doc/guix.texi:22730
  33631. #, no-wrap
  33632. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  33633. msgstr ""
  33634. #. type: deftypevr
  33635. #: guix-git/doc/guix.texi:22734
  33636. msgid "When @code{#t}, @file{.torrent} files will be deleted from the watch directory once their torrent has been added (see @code{watch-directory-enabled?})."
  33637. msgstr ""
  33638. #. type: deftypevr
  33639. #: guix-git/doc/guix.texi:22739
  33640. #, no-wrap
  33641. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  33642. msgstr ""
  33643. #. type: deftypevr
  33644. #: guix-git/doc/guix.texi:22742
  33645. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  33646. msgstr ""
  33647. #. type: deftypevr
  33648. #: guix-git/doc/guix.texi:22747
  33649. #, no-wrap
  33650. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  33651. msgstr ""
  33652. #. type: deftypevr
  33653. #: guix-git/doc/guix.texi:22749
  33654. msgid "The default global-maximum download speed, in kilobytes per second."
  33655. msgstr ""
  33656. #. type: deftypevr
  33657. #: guix-git/doc/guix.texi:22754
  33658. #, no-wrap
  33659. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  33660. msgstr ""
  33661. #. type: deftypevr
  33662. #: guix-git/doc/guix.texi:22757
  33663. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  33664. msgstr ""
  33665. #. type: deftypevr
  33666. #: guix-git/doc/guix.texi:22762
  33667. #, no-wrap
  33668. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  33669. msgstr ""
  33670. #. type: deftypevr
  33671. #: guix-git/doc/guix.texi:22764
  33672. msgid "The default global-maximum upload speed, in kilobytes per second."
  33673. msgstr ""
  33674. #. type: deftypevr
  33675. #: guix-git/doc/guix.texi:22769
  33676. #, no-wrap
  33677. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  33678. msgstr ""
  33679. #. type: deftypevr
  33680. #: guix-git/doc/guix.texi:22775
  33681. msgid "When @code{#t}, the alternate speed limits @code{alt-speed-down} and @code{alt-speed-up} are used (in place of @code{speed-limit-down} and @code{speed-limit-up}, if they are enabled) to constrain the daemon's bandwidth usage. This can be scheduled to occur automatically at certain times during the week; see @code{alt-speed-time-enabled?}."
  33682. msgstr ""
  33683. #. type: deftypevr
  33684. #: guix-git/doc/guix.texi:22780
  33685. #, no-wrap
  33686. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  33687. msgstr ""
  33688. #. type: deftypevr
  33689. #: guix-git/doc/guix.texi:22782
  33690. msgid "The alternate global-maximum download speed, in kilobytes per second."
  33691. msgstr ""
  33692. #. type: deftypevr
  33693. #: guix-git/doc/guix.texi:22784 guix-git/doc/guix.texi:22791
  33694. #: guix-git/doc/guix.texi:22963 guix-git/doc/guix.texi:30269
  33695. #: guix-git/doc/guix.texi:30284
  33696. msgid "Defaults to @samp{50}."
  33697. msgstr ""
  33698. #. type: deftypevr
  33699. #: guix-git/doc/guix.texi:22787
  33700. #, no-wrap
  33701. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  33702. msgstr ""
  33703. #. type: deftypevr
  33704. #: guix-git/doc/guix.texi:22789
  33705. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  33706. msgstr ""
  33707. #. type: deftypevr
  33708. #: guix-git/doc/guix.texi:22794
  33709. #, no-wrap
  33710. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  33711. msgstr ""
  33712. #. type: deftypevr
  33713. #: guix-git/doc/guix.texi:22799
  33714. msgid "When @code{#t}, the alternate speed limits @code{alt-speed-down} and @code{alt-speed-up} will be enabled automatically during the periods specified by @code{alt-speed-time-day}, @code{alt-speed-time-begin} and @code{alt-time-speed-end}."
  33715. msgstr ""
  33716. #. type: deftypevr
  33717. #: guix-git/doc/guix.texi:22804
  33718. #, no-wrap
  33719. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  33720. msgstr ""
  33721. #. type: deftypevr
  33722. #: guix-git/doc/guix.texi:22809
  33723. msgid "The days of the week on which the alternate-speed schedule should be used, specified either as a list of days (@code{sunday}, @code{monday}, and so on) or using one of the symbols @code{weekdays}, @code{weekends} or @code{all}."
  33724. msgstr ""
  33725. #. type: deftypevr
  33726. #: guix-git/doc/guix.texi:22811
  33727. msgid "Defaults to @samp{all}."
  33728. msgstr ""
  33729. #. type: deftypevr
  33730. #: guix-git/doc/guix.texi:22814
  33731. #, no-wrap
  33732. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  33733. msgstr ""
  33734. #. type: deftypevr
  33735. #: guix-git/doc/guix.texi:22817
  33736. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  33737. msgstr ""
  33738. #. type: deftypevr
  33739. #: guix-git/doc/guix.texi:22819
  33740. msgid "Defaults to @samp{540}."
  33741. msgstr ""
  33742. #. type: deftypevr
  33743. #: guix-git/doc/guix.texi:22822
  33744. #, no-wrap
  33745. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  33746. msgstr ""
  33747. #. type: deftypevr
  33748. #: guix-git/doc/guix.texi:22825
  33749. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  33750. msgstr ""
  33751. #. type: deftypevr
  33752. #: guix-git/doc/guix.texi:22827
  33753. msgid "Defaults to @samp{1020}."
  33754. msgstr ""
  33755. #. type: deftypevr
  33756. #: guix-git/doc/guix.texi:22830
  33757. #, no-wrap
  33758. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  33759. msgstr ""
  33760. #. type: deftypevr
  33761. #: guix-git/doc/guix.texi:22833
  33762. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  33763. msgstr ""
  33764. #. type: deftypevr
  33765. #: guix-git/doc/guix.texi:22835 guix-git/doc/guix.texi:23138
  33766. #: guix-git/doc/guix.texi:28184
  33767. msgid "Defaults to @samp{\"0.0.0.0\"}."
  33768. msgstr ""
  33769. #. type: deftypevr
  33770. #: guix-git/doc/guix.texi:22838
  33771. #, no-wrap
  33772. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  33773. msgstr ""
  33774. #. type: deftypevr
  33775. #: guix-git/doc/guix.texi:22841
  33776. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  33777. msgstr ""
  33778. #. type: deftypevr
  33779. #: guix-git/doc/guix.texi:22843
  33780. msgid "Defaults to @samp{\"::\"}."
  33781. msgstr ""
  33782. #. type: deftypevr
  33783. #: guix-git/doc/guix.texi:22846
  33784. #, no-wrap
  33785. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  33786. msgstr ""
  33787. #. type: deftypevr
  33788. #: guix-git/doc/guix.texi:22852
  33789. msgid "If @code{#t}, when the daemon starts it will select a port at random on which to listen for peer connections, from the range specified (inclusively) by @code{peer-port-random-low} and @code{peer-port-random-high}. Otherwise, it listens on the port specified by @code{peer-port}."
  33790. msgstr ""
  33791. #. type: deftypevr
  33792. #: guix-git/doc/guix.texi:22857
  33793. #, no-wrap
  33794. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  33795. msgstr ""
  33796. #. type: deftypevr
  33797. #: guix-git/doc/guix.texi:22860
  33798. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  33799. msgstr ""
  33800. #. type: deftypevr
  33801. #: guix-git/doc/guix.texi:22862
  33802. msgid "Defaults to @samp{49152}."
  33803. msgstr ""
  33804. #. type: deftypevr
  33805. #: guix-git/doc/guix.texi:22865
  33806. #, no-wrap
  33807. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  33808. msgstr ""
  33809. #. type: deftypevr
  33810. #: guix-git/doc/guix.texi:22868
  33811. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  33812. msgstr ""
  33813. #. type: deftypevr
  33814. #: guix-git/doc/guix.texi:22870
  33815. msgid "Defaults to @samp{65535}."
  33816. msgstr ""
  33817. #. type: deftypevr
  33818. #: guix-git/doc/guix.texi:22873
  33819. #, no-wrap
  33820. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  33821. msgstr ""
  33822. #. type: deftypevr
  33823. #: guix-git/doc/guix.texi:22876
  33824. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  33825. msgstr ""
  33826. #. type: deftypevr
  33827. #: guix-git/doc/guix.texi:22878
  33828. msgid "Defaults to @samp{51413}."
  33829. msgstr ""
  33830. #. type: deftypevr
  33831. #: guix-git/doc/guix.texi:22881
  33832. #, no-wrap
  33833. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  33834. msgstr ""
  33835. #. type: deftypevr
  33836. #: guix-git/doc/guix.texi:22885
  33837. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  33838. msgstr ""
  33839. #. type: deftypevr
  33840. #: guix-git/doc/guix.texi:22890
  33841. #, no-wrap
  33842. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  33843. msgstr ""
  33844. #. type: deftypevr
  33845. #: guix-git/doc/guix.texi:22895
  33846. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  33847. msgstr ""
  33848. #. type: deftypevr
  33849. #: guix-git/doc/guix.texi:22897
  33850. msgid "Defaults to @samp{prefer-encrypted-connections}."
  33851. msgstr ""
  33852. #. type: deftypevr
  33853. #: guix-git/doc/guix.texi:22900
  33854. #, no-wrap
  33855. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  33856. msgstr ""
  33857. #. type: deftypevr
  33858. #: guix-git/doc/guix.texi:22905
  33859. msgid "The TCP congestion-control algorithm to use for peer connections, specified using a string recognized by the operating system in calls to @code{setsockopt} (or set to @code{disabled}, in which case the operating-system default is used)."
  33860. msgstr ""
  33861. #. type: deftypevr
  33862. #: guix-git/doc/guix.texi:22914
  33863. msgid "Note that on GNU/Linux systems, the kernel must be configured to allow processes to use a congestion-control algorithm not in the default set; otherwise, it will deny these requests with ``Operation not permitted''. To see which algorithms are available on your system and which are currently permitted for use, look at the contents of the files @file{tcp_available_congestion_control} and @file{tcp_allowed_congestion_control} in the @file{/proc/sys/net/ipv4} directory."
  33864. msgstr ""
  33865. #. type: deftypevr
  33866. #: guix-git/doc/guix.texi:22922
  33867. msgid "As an example, to have Transmission Daemon use @uref{http://www-ece.rice.edu/networks/TCP-LP/,the TCP Low Priority congestion-control algorithm}, you'll need to modify your kernel configuration to build in support for the algorithm, then update your operating-system configuration to allow its use by adding a @code{sysctl-service-type} service (or updating the existing one's configuration) with lines like the following:"
  33868. msgstr ""
  33869. #. type: lisp
  33870. #: guix-git/doc/guix.texi:22929
  33871. #, no-wrap
  33872. msgid ""
  33873. "(service sysctl-service-type\n"
  33874. " (sysctl-configuration\n"
  33875. " (settings\n"
  33876. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  33877. " \"reno cubic lp\"))))\n"
  33878. msgstr ""
  33879. #. type: deftypevr
  33880. #: guix-git/doc/guix.texi:22932
  33881. msgid "The Transmission Daemon configuration can then be updated with"
  33882. msgstr ""
  33883. #. type: lisp
  33884. #: guix-git/doc/guix.texi:22935
  33885. #, no-wrap
  33886. msgid "(peer-congestion-algorithm \"lp\")\n"
  33887. msgstr ""
  33888. #. type: deftypevr
  33889. #: guix-git/doc/guix.texi:22938
  33890. msgid "and the system reconfigured to have the changes take effect."
  33891. msgstr ""
  33892. #. type: deftypevr
  33893. #: guix-git/doc/guix.texi:22943
  33894. #, no-wrap
  33895. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  33896. msgstr ""
  33897. #. type: deftypevr
  33898. #: guix-git/doc/guix.texi:22947
  33899. msgid "The type of service to request in outgoing @acronym{TCP} packets, one of @code{default}, @code{low-cost}, @code{throughput}, @code{low-delay} and @code{reliability}."
  33900. msgstr ""
  33901. #. type: deftypevr
  33902. #: guix-git/doc/guix.texi:22949
  33903. msgid "Defaults to @samp{default}."
  33904. msgstr ""
  33905. #. type: deftypevr
  33906. #: guix-git/doc/guix.texi:22952
  33907. #, no-wrap
  33908. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  33909. msgstr ""
  33910. #. type: deftypevr
  33911. #: guix-git/doc/guix.texi:22954
  33912. msgid "The global limit on the number of connected peers."
  33913. msgstr ""
  33914. #. type: deftypevr
  33915. #: guix-git/doc/guix.texi:22956
  33916. msgid "Defaults to @samp{200}."
  33917. msgstr ""
  33918. #. type: deftypevr
  33919. #: guix-git/doc/guix.texi:22959
  33920. #, no-wrap
  33921. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  33922. msgstr ""
  33923. #. type: deftypevr
  33924. #: guix-git/doc/guix.texi:22961
  33925. msgid "The per-torrent limit on the number of connected peers."
  33926. msgstr ""
  33927. #. type: deftypevr
  33928. #: guix-git/doc/guix.texi:22966
  33929. #, no-wrap
  33930. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  33931. msgstr ""
  33932. #. type: deftypevr
  33933. #: guix-git/doc/guix.texi:22969
  33934. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  33935. msgstr ""
  33936. #. type: deftypevr
  33937. #: guix-git/doc/guix.texi:22971
  33938. msgid "Defaults to @samp{14}."
  33939. msgstr ""
  33940. #. type: deftypevr
  33941. #: guix-git/doc/guix.texi:22974
  33942. #, no-wrap
  33943. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  33944. msgstr ""
  33945. #. type: deftypevr
  33946. #: guix-git/doc/guix.texi:22977
  33947. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  33948. msgstr ""
  33949. #. type: deftypevr
  33950. #: guix-git/doc/guix.texi:22979
  33951. msgid "Defaults to @samp{6}."
  33952. msgstr ""
  33953. #. type: deftypevr
  33954. #: guix-git/doc/guix.texi:22982
  33955. #, no-wrap
  33956. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  33957. msgstr ""
  33958. #. type: deftypevr
  33959. #: guix-git/doc/guix.texi:22985
  33960. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  33961. msgstr ""
  33962. #. type: deftypevr
  33963. #: guix-git/doc/guix.texi:22990
  33964. #, no-wrap
  33965. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  33966. msgstr ""
  33967. #. type: deftypevr
  33968. #: guix-git/doc/guix.texi:22994
  33969. msgid "The URL of a peer blocklist (in @acronym{P2P}-plaintext or eMule @file{.dat} format) to be periodically downloaded and applied when @code{blocklist-enabled?} is @code{#t}."
  33970. msgstr ""
  33971. #. type: deftypevr
  33972. #: guix-git/doc/guix.texi:22999
  33973. #, no-wrap
  33974. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  33975. msgstr ""
  33976. #. type: deftypevr
  33977. #: guix-git/doc/guix.texi:23002
  33978. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  33979. msgstr ""
  33980. #. type: deftypevr
  33981. #: guix-git/doc/guix.texi:23007
  33982. #, no-wrap
  33983. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  33984. msgstr ""
  33985. #. type: deftypevr
  33986. #: guix-git/doc/guix.texi:23011
  33987. msgid "The size of the daemon's download queue, which limits the number of non-stalled torrents it will download at any one time when @code{download-queue-enabled?} is @code{#t}."
  33988. msgstr ""
  33989. #. type: deftypevr
  33990. #: guix-git/doc/guix.texi:23016
  33991. #, no-wrap
  33992. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  33993. msgstr ""
  33994. #. type: deftypevr
  33995. #: guix-git/doc/guix.texi:23019
  33996. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  33997. msgstr ""
  33998. #. type: deftypevr
  33999. #: guix-git/doc/guix.texi:23024
  34000. #, no-wrap
  34001. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  34002. msgstr ""
  34003. #. type: deftypevr
  34004. #: guix-git/doc/guix.texi:23028
  34005. msgid "The size of the daemon's seed queue, which limits the number of non-stalled torrents it will seed at any one time when @code{seed-queue-enabled?} is @code{#t}."
  34006. msgstr ""
  34007. #. type: deftypevr
  34008. #: guix-git/doc/guix.texi:23033
  34009. #, no-wrap
  34010. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  34011. msgstr ""
  34012. #. type: deftypevr
  34013. #: guix-git/doc/guix.texi:23038
  34014. msgid "When @code{#t}, the daemon will consider torrents for which it has not shared data in the past @code{queue-stalled-minutes} minutes to be stalled and not count them against its @code{download-queue-size} and @code{seed-queue-size} limits."
  34015. msgstr ""
  34016. #. type: deftypevr
  34017. #: guix-git/doc/guix.texi:23043
  34018. #, no-wrap
  34019. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  34020. msgstr ""
  34021. #. type: deftypevr
  34022. #: guix-git/doc/guix.texi:23047
  34023. msgid "The maximum period, in minutes, a torrent may be idle before it is considered to be stalled, when @code{queue-stalled-enabled?} is @code{#t}."
  34024. msgstr ""
  34025. #. type: deftypevr
  34026. #: guix-git/doc/guix.texi:23052
  34027. #, no-wrap
  34028. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  34029. msgstr ""
  34030. #. type: deftypevr
  34031. #: guix-git/doc/guix.texi:23055
  34032. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  34033. msgstr ""
  34034. #. type: deftypevr
  34035. #: guix-git/doc/guix.texi:23060
  34036. #, no-wrap
  34037. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  34038. msgstr ""
  34039. #. type: deftypevr
  34040. #: guix-git/doc/guix.texi:23063
  34041. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  34042. msgstr ""
  34043. #. type: deftypevr
  34044. #: guix-git/doc/guix.texi:23065
  34045. msgid "Defaults to @samp{2.0}."
  34046. msgstr ""
  34047. #. type: deftypevr
  34048. #: guix-git/doc/guix.texi:23068
  34049. #, no-wrap
  34050. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  34051. msgstr ""
  34052. #. type: deftypevr
  34053. #: guix-git/doc/guix.texi:23071
  34054. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  34055. msgstr ""
  34056. #. type: deftypevr
  34057. #: guix-git/doc/guix.texi:23076
  34058. #, no-wrap
  34059. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  34060. msgstr ""
  34061. #. type: deftypevr
  34062. #: guix-git/doc/guix.texi:23080
  34063. msgid "The maximum period, in minutes, a torrent being seeded may be idle before it is paused, when @code{idle-seeding-limit-enabled?} is @code{#t}."
  34064. msgstr ""
  34065. #. type: deftypevr
  34066. #: guix-git/doc/guix.texi:23085
  34067. #, no-wrap
  34068. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  34069. msgstr ""
  34070. #. type: deftypevr
  34071. #: guix-git/doc/guix.texi:23089
  34072. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  34073. msgstr ""
  34074. #. type: deftypevr
  34075. #: guix-git/doc/guix.texi:23094
  34076. #, no-wrap
  34077. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  34078. msgstr ""
  34079. #. type: deftypevr
  34080. #: guix-git/doc/guix.texi:23099
  34081. msgid "Enable @uref{https://en.wikipedia.org/wiki/Local_Peer_Discovery,local peer discovery} (@acronym{LPD}), which allows the discovery of peers on the local network and may reduce the amount of data sent over the public Internet."
  34082. msgstr ""
  34083. #. type: deftypevr
  34084. #: guix-git/doc/guix.texi:23104
  34085. #, no-wrap
  34086. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  34087. msgstr ""
  34088. #. type: deftypevr
  34089. #: guix-git/doc/guix.texi:23108
  34090. msgid "Enable @uref{https://en.wikipedia.org/wiki/Peer_exchange,peer exchange} (@acronym{PEX}), which reduces the daemon's reliance on external trackers and may improve its performance."
  34091. msgstr ""
  34092. #. type: deftypevr
  34093. #: guix-git/doc/guix.texi:23113
  34094. #, no-wrap
  34095. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  34096. msgstr ""
  34097. #. type: deftypevr
  34098. #: guix-git/doc/guix.texi:23118
  34099. msgid "Enable @uref{http://bittorrent.org/beps/bep_0029.html,the micro transport protocol} (@acronym{uTP}), which aims to reduce the impact of BitTorrent traffic on other users of the local network while maintaining full utilization of the available bandwidth."
  34100. msgstr ""
  34101. #. type: deftypevr
  34102. #: guix-git/doc/guix.texi:23123
  34103. #, no-wrap
  34104. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  34105. msgstr ""
  34106. #. type: deftypevr
  34107. #: guix-git/doc/guix.texi:23128
  34108. msgid "If @code{#t}, enable the remote procedure call (@acronym{RPC}) interface, which allows remote control of the daemon via its Web interface, the @command{transmission-remote} command-line client, and similar tools."
  34109. msgstr ""
  34110. #. type: deftypevr
  34111. #: guix-git/doc/guix.texi:23133
  34112. #, no-wrap
  34113. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  34114. msgstr ""
  34115. #. type: deftypevr
  34116. #: guix-git/doc/guix.texi:23136
  34117. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  34118. msgstr ""
  34119. #. type: deftypevr
  34120. #: guix-git/doc/guix.texi:23141
  34121. #, no-wrap
  34122. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  34123. msgstr ""
  34124. #. type: deftypevr
  34125. #: guix-git/doc/guix.texi:23143
  34126. msgid "The port on which to listen for @acronym{RPC} connections."
  34127. msgstr ""
  34128. #. type: deftypevr
  34129. #: guix-git/doc/guix.texi:23145
  34130. msgid "Defaults to @samp{9091}."
  34131. msgstr ""
  34132. #. type: deftypevr
  34133. #: guix-git/doc/guix.texi:23148
  34134. #, no-wrap
  34135. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  34136. msgstr ""
  34137. #. type: deftypevr
  34138. #: guix-git/doc/guix.texi:23150
  34139. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  34140. msgstr ""
  34141. #. type: deftypevr
  34142. #: guix-git/doc/guix.texi:23152
  34143. msgid "Defaults to @samp{\"/transmission/\"}."
  34144. msgstr ""
  34145. #. type: deftypevr
  34146. #: guix-git/doc/guix.texi:23155
  34147. #, no-wrap
  34148. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  34149. msgstr ""
  34150. #. type: deftypevr
  34151. #: guix-git/doc/guix.texi:23160
  34152. msgid "When @code{#t}, clients must authenticate (see @code{rpc-username} and @code{rpc-password}) when using the @acronym{RPC} interface. Note this has the side effect of disabling host-name whitelisting (see @code{rpc-host-whitelist-enabled?}."
  34153. msgstr ""
  34154. #. type: deftypevr
  34155. #: guix-git/doc/guix.texi:23165
  34156. #, no-wrap
  34157. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  34158. msgstr ""
  34159. #. type: deftypevr
  34160. #: guix-git/doc/guix.texi:23168
  34161. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  34162. msgstr ""
  34163. #. type: deftypevr
  34164. #: guix-git/doc/guix.texi:23173
  34165. #, no-wrap
  34166. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  34167. msgstr ""
  34168. #. type: deftypevr
  34169. #: guix-git/doc/guix.texi:23179
  34170. msgid "The password required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}. This must be specified using a password hash in the format recognized by Transmission clients, either copied from an existing @file{settings.json} file or generated using the @code{transmission-password-hash} procedure."
  34171. msgstr ""
  34172. #. type: deftypevr
  34173. #: guix-git/doc/guix.texi:23184
  34174. #, no-wrap
  34175. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  34176. msgstr ""
  34177. #. type: deftypevr
  34178. #: guix-git/doc/guix.texi:23187
  34179. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  34180. msgstr ""
  34181. #. type: deftypevr
  34182. #: guix-git/doc/guix.texi:23192
  34183. #, no-wrap
  34184. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  34185. msgstr ""
  34186. #. type: deftypevr
  34187. #: guix-git/doc/guix.texi:23196
  34188. msgid "The list of IP and IPv6 addresses from which @acronym{RPC} requests will be accepted when @code{rpc-whitelist-enabled?} is @code{#t}. Wildcards may be specified using @samp{*}."
  34189. msgstr ""
  34190. #. type: deftypevr
  34191. #: guix-git/doc/guix.texi:23198
  34192. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  34193. msgstr ""
  34194. #. type: deftypevr
  34195. #: guix-git/doc/guix.texi:23201
  34196. #, no-wrap
  34197. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  34198. msgstr ""
  34199. #. type: deftypevr
  34200. #: guix-git/doc/guix.texi:23206
  34201. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they are addressed to a host named in @code{rpc-host-whitelist}. Note that requests to ``localhost'' or ``localhost.'', or to a numeric address, are always accepted regardless of these settings."
  34202. msgstr ""
  34203. #. type: deftypevr
  34204. #: guix-git/doc/guix.texi:23209
  34205. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  34206. msgstr ""
  34207. #. type: deftypevr
  34208. #: guix-git/doc/guix.texi:23214
  34209. #, no-wrap
  34210. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  34211. msgstr ""
  34212. #. type: deftypevr
  34213. #: guix-git/doc/guix.texi:23217
  34214. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  34215. msgstr ""
  34216. #. type: deftypevr
  34217. #: guix-git/doc/guix.texi:23222
  34218. #, no-wrap
  34219. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  34220. msgstr ""
  34221. #. type: deftypevr
  34222. #: guix-git/doc/guix.texi:23226
  34223. msgid "The minimum severity level of messages to be logged (to @file{/var/log/transmission.log}) by the daemon, one of @code{none} (no logging), @code{error}, @code{info} and @code{debug}."
  34224. msgstr ""
  34225. #. type: deftypevr
  34226. #: guix-git/doc/guix.texi:23231
  34227. #, no-wrap
  34228. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  34229. msgstr ""
  34230. #. type: deftypevr
  34231. #: guix-git/doc/guix.texi:23234
  34232. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  34233. msgstr ""
  34234. #. type: deftypevr
  34235. #: guix-git/doc/guix.texi:23239
  34236. #, no-wrap
  34237. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  34238. msgstr ""
  34239. #. type: deftypevr
  34240. #: guix-git/doc/guix.texi:23243
  34241. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  34242. msgstr ""
  34243. #. type: deftypevr
  34244. #: guix-git/doc/guix.texi:23248
  34245. #, no-wrap
  34246. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  34247. msgstr ""
  34248. #. type: deftypevr
  34249. #: guix-git/doc/guix.texi:23252
  34250. msgid "A file name or file-like object specifying a script to run each time a torrent completes, when @code{script-torrent-done-enabled?} is @code{#t}."
  34251. msgstr ""
  34252. #. type: deftypevr
  34253. #: guix-git/doc/guix.texi:23257
  34254. #, no-wrap
  34255. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  34256. msgstr ""
  34257. #. type: deftypevr
  34258. #: guix-git/doc/guix.texi:23260
  34259. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  34260. msgstr ""
  34261. #. type: deftypevr
  34262. #: guix-git/doc/guix.texi:23265
  34263. #, no-wrap
  34264. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  34265. msgstr ""
  34266. #. type: deftypevr
  34267. #: guix-git/doc/guix.texi:23269
  34268. msgid "The amount of memory, in megabytes, to allocate for the daemon's in-memory cache. A larger value may increase performance by reducing the frequency of disk I/O."
  34269. msgstr ""
  34270. #. type: deftypevr
  34271. #: guix-git/doc/guix.texi:23271
  34272. msgid "Defaults to @samp{4}."
  34273. msgstr ""
  34274. #. type: deftypevr
  34275. #: guix-git/doc/guix.texi:23274
  34276. #, no-wrap
  34277. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  34278. msgstr ""
  34279. #. type: deftypevr
  34280. #: guix-git/doc/guix.texi:23278
  34281. msgid "When @code{#t}, the daemon will try to improve I/O performance by hinting to the operating system which data is likely to be read next from disk to satisfy requests from peers."
  34282. msgstr ""
  34283. #. type: subsubheading
  34284. #: guix-git/doc/guix.texi:23291
  34285. #, no-wrap
  34286. msgid "Tailon Service"
  34287. msgstr ""
  34288. #. type: Plain text
  34289. #: guix-git/doc/guix.texi:23295
  34290. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  34291. msgstr ""
  34292. #. type: Plain text
  34293. #: guix-git/doc/guix.texi:23298
  34294. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  34295. msgstr ""
  34296. #. type: lisp
  34297. #: guix-git/doc/guix.texi:23301
  34298. #, no-wrap
  34299. msgid "(service tailon-service-type)\n"
  34300. msgstr ""
  34301. #. type: Plain text
  34302. #: guix-git/doc/guix.texi:23305
  34303. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  34304. msgstr ""
  34305. #. type: lisp
  34306. #: guix-git/doc/guix.texi:23312
  34307. #, no-wrap
  34308. msgid ""
  34309. "(service tailon-service-type\n"
  34310. " (tailon-configuration\n"
  34311. " (config-file\n"
  34312. " (tailon-configuration-file\n"
  34313. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  34314. msgstr ""
  34315. #. type: deftp
  34316. #: guix-git/doc/guix.texi:23315
  34317. #, no-wrap
  34318. msgid "{Data Type} tailon-configuration"
  34319. msgstr ""
  34320. #. type: deftp
  34321. #: guix-git/doc/guix.texi:23318
  34322. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  34323. msgstr ""
  34324. #. type: item
  34325. #: guix-git/doc/guix.texi:23320
  34326. #, no-wrap
  34327. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  34328. msgstr ""
  34329. #. type: table
  34330. #: guix-git/doc/guix.texi:23324
  34331. msgid "The configuration file to use for Tailon. This can be set to a @dfn{tailon-configuration-file} record value, or any gexp (@pxref{G-Expressions})."
  34332. msgstr ""
  34333. #. type: table
  34334. #: guix-git/doc/guix.texi:23327
  34335. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  34336. msgstr ""
  34337. #. type: lisp
  34338. #: guix-git/doc/guix.texi:23332
  34339. #, no-wrap
  34340. msgid ""
  34341. "(service tailon-service-type\n"
  34342. " (tailon-configuration\n"
  34343. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  34344. msgstr ""
  34345. #. type: item
  34346. #: guix-git/doc/guix.texi:23334
  34347. #, no-wrap
  34348. msgid "@code{package} (default: @code{tailon})"
  34349. msgstr ""
  34350. #. type: table
  34351. #: guix-git/doc/guix.texi:23336
  34352. msgid "The tailon package to use."
  34353. msgstr ""
  34354. #. type: deftp
  34355. #: guix-git/doc/guix.texi:23340
  34356. #, no-wrap
  34357. msgid "{Data Type} tailon-configuration-file"
  34358. msgstr ""
  34359. #. type: deftp
  34360. #: guix-git/doc/guix.texi:23343
  34361. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  34362. msgstr ""
  34363. #. type: item
  34364. #: guix-git/doc/guix.texi:23345
  34365. #, no-wrap
  34366. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  34367. msgstr ""
  34368. #. type: table
  34369. #: guix-git/doc/guix.texi:23350
  34370. msgid "List of files to display. The list can include strings for a single file or directory, or a list, where the first item is the name of a subsection, and the remaining items are the files or directories in that subsection."
  34371. msgstr ""
  34372. #. type: item
  34373. #: guix-git/doc/guix.texi:23351
  34374. #, no-wrap
  34375. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  34376. msgstr ""
  34377. #. type: table
  34378. #: guix-git/doc/guix.texi:23353
  34379. msgid "Address and port to which Tailon should bind on."
  34380. msgstr ""
  34381. #. type: item
  34382. #: guix-git/doc/guix.texi:23354
  34383. #, no-wrap
  34384. msgid "@code{relative-root} (default: @code{#f})"
  34385. msgstr ""
  34386. #. type: table
  34387. #: guix-git/doc/guix.texi:23356
  34388. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  34389. msgstr ""
  34390. #. type: item
  34391. #: guix-git/doc/guix.texi:23357
  34392. #, no-wrap
  34393. msgid "@code{allow-transfers?} (default: @code{#t})"
  34394. msgstr ""
  34395. #. type: table
  34396. #: guix-git/doc/guix.texi:23359
  34397. msgid "Allow downloading the log files in the web interface."
  34398. msgstr ""
  34399. #. type: item
  34400. #: guix-git/doc/guix.texi:23360
  34401. #, no-wrap
  34402. msgid "@code{follow-names?} (default: @code{#t})"
  34403. msgstr ""
  34404. #. type: table
  34405. #: guix-git/doc/guix.texi:23362
  34406. msgid "Allow tailing of not-yet existent files."
  34407. msgstr ""
  34408. #. type: item
  34409. #: guix-git/doc/guix.texi:23363
  34410. #, no-wrap
  34411. msgid "@code{tail-lines} (default: @code{200})"
  34412. msgstr ""
  34413. #. type: table
  34414. #: guix-git/doc/guix.texi:23365
  34415. msgid "Number of lines to read initially from each file."
  34416. msgstr ""
  34417. #. type: item
  34418. #: guix-git/doc/guix.texi:23366
  34419. #, no-wrap
  34420. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  34421. msgstr ""
  34422. #. type: table
  34423. #: guix-git/doc/guix.texi:23368
  34424. msgid "Commands to allow running. By default, @code{sed} is disabled."
  34425. msgstr ""
  34426. #. type: table
  34427. #: guix-git/doc/guix.texi:23371
  34428. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  34429. msgstr ""
  34430. #. type: item
  34431. #: guix-git/doc/guix.texi:23372
  34432. #, no-wrap
  34433. msgid "@code{wrap-lines} (default: @code{#t})"
  34434. msgstr ""
  34435. #. type: table
  34436. #: guix-git/doc/guix.texi:23376
  34437. msgid "Initial line wrapping state in the web interface. Set to @code{#t} to initially wrap lines (the default), or to @code{#f} to initially not wrap lines."
  34438. msgstr ""
  34439. #. type: item
  34440. #: guix-git/doc/guix.texi:23377
  34441. #, no-wrap
  34442. msgid "@code{http-auth} (default: @code{#f})"
  34443. msgstr ""
  34444. #. type: table
  34445. #: guix-git/doc/guix.texi:23381
  34446. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  34447. msgstr ""
  34448. #. type: item
  34449. #: guix-git/doc/guix.texi:23382
  34450. #, no-wrap
  34451. msgid "@code{users} (default: @code{#f})"
  34452. msgstr ""
  34453. #. type: table
  34454. #: guix-git/doc/guix.texi:23387
  34455. msgid "If HTTP authentication is enabled (see @code{http-auth}), access will be restricted to the credentials provided here. To configure users, use a list of pairs, where the first element of the pair is the username, and the 2nd element of the pair is the password."
  34456. msgstr ""
  34457. #. type: lisp
  34458. #: guix-git/doc/guix.texi:23393
  34459. #, no-wrap
  34460. msgid ""
  34461. "(tailon-configuration-file\n"
  34462. " (http-auth \"basic\")\n"
  34463. " (users '((\"user1\" . \"password1\")\n"
  34464. " (\"user2\" . \"password2\"))))\n"
  34465. msgstr ""
  34466. #. type: subsubheading
  34467. #: guix-git/doc/guix.texi:23399
  34468. #, no-wrap
  34469. msgid "Darkstat Service"
  34470. msgstr ""
  34471. #. type: cindex
  34472. #: guix-git/doc/guix.texi:23400
  34473. #, no-wrap
  34474. msgid "darkstat"
  34475. msgstr ""
  34476. #. type: Plain text
  34477. #: guix-git/doc/guix.texi:23403
  34478. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  34479. msgstr ""
  34480. #. type: defvar
  34481. #: guix-git/doc/guix.texi:23404
  34482. #, no-wrap
  34483. msgid "{Scheme Variable} darkstat-service-type"
  34484. msgstr ""
  34485. #. type: defvar
  34486. #: guix-git/doc/guix.texi:23409
  34487. msgid "This is the service type for the @uref{https://unix4lyfe.org/darkstat/, darkstat} service, its value must be a @code{darkstat-configuration} record as in this example:"
  34488. msgstr ""
  34489. #. type: lisp
  34490. #: guix-git/doc/guix.texi:23414
  34491. #, no-wrap
  34492. msgid ""
  34493. "(service darkstat-service-type\n"
  34494. " (darkstat-configuration\n"
  34495. " (interface \"eno1\")))\n"
  34496. msgstr ""
  34497. #. type: deftp
  34498. #: guix-git/doc/guix.texi:23417
  34499. #, no-wrap
  34500. msgid "{Data Type} darkstat-configuration"
  34501. msgstr ""
  34502. #. type: deftp
  34503. #: guix-git/doc/guix.texi:23419
  34504. msgid "Data type representing the configuration of @command{darkstat}."
  34505. msgstr ""
  34506. #. type: item
  34507. #: guix-git/doc/guix.texi:23421
  34508. #, no-wrap
  34509. msgid "@code{package} (default: @code{darkstat})"
  34510. msgstr ""
  34511. #. type: table
  34512. #: guix-git/doc/guix.texi:23423
  34513. msgid "The darkstat package to use."
  34514. msgstr ""
  34515. #. type: code{#1}
  34516. #: guix-git/doc/guix.texi:23424
  34517. #, no-wrap
  34518. msgid "interface"
  34519. msgstr ""
  34520. #. type: table
  34521. #: guix-git/doc/guix.texi:23426
  34522. msgid "Capture traffic on the specified network interface."
  34523. msgstr ""
  34524. #. type: item
  34525. #: guix-git/doc/guix.texi:23427
  34526. #, no-wrap
  34527. msgid "@code{port} (default: @code{\"667\"})"
  34528. msgstr ""
  34529. #. type: table
  34530. #: guix-git/doc/guix.texi:23429
  34531. msgid "Bind the web interface to the specified port."
  34532. msgstr ""
  34533. #. type: table
  34534. #: guix-git/doc/guix.texi:23432 guix-git/doc/guix.texi:23467
  34535. msgid "Bind the web interface to the specified address."
  34536. msgstr ""
  34537. #. type: item
  34538. #: guix-git/doc/guix.texi:23433
  34539. #, no-wrap
  34540. msgid "@code{base} (default: @code{\"/\"})"
  34541. msgstr ""
  34542. #. type: table
  34543. #: guix-git/doc/guix.texi:23436
  34544. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  34545. msgstr ""
  34546. #. type: subsubheading
  34547. #: guix-git/doc/guix.texi:23440
  34548. #, no-wrap
  34549. msgid "Prometheus Node Exporter Service"
  34550. msgstr ""
  34551. #. type: cindex
  34552. #: guix-git/doc/guix.texi:23442
  34553. #, no-wrap
  34554. msgid "prometheus-node-exporter"
  34555. msgstr ""
  34556. #. type: Plain text
  34557. #: guix-git/doc/guix.texi:23447
  34558. msgid "The Prometheus ``node exporter'' makes hardware and operating system statistics provided by the Linux kernel available for the Prometheus monitoring system. This service should be deployed on all physical nodes and virtual machines, where monitoring these statistics is desirable."
  34559. msgstr ""
  34560. #. type: defvar
  34561. #: guix-git/doc/guix.texi:23448
  34562. #, no-wrap
  34563. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  34564. msgstr ""
  34565. #. type: defvar
  34566. #: guix-git/doc/guix.texi:23452
  34567. msgid "This is the service type for the @uref{https://github.com/prometheus/node_exporter/, prometheus-node-exporter} service, its value must be a @code{prometheus-node-exporter-configuration}."
  34568. msgstr ""
  34569. #. type: lisp
  34570. #: guix-git/doc/guix.texi:23455
  34571. #, no-wrap
  34572. msgid "(service prometheus-node-exporter-service-type)\n"
  34573. msgstr ""
  34574. #. type: deftp
  34575. #: guix-git/doc/guix.texi:23458
  34576. #, no-wrap
  34577. msgid "{Data Type} prometheus-node-exporter-configuration"
  34578. msgstr ""
  34579. #. type: deftp
  34580. #: guix-git/doc/guix.texi:23460
  34581. msgid "Data type representing the configuration of @command{node_exporter}."
  34582. msgstr ""
  34583. #. type: item
  34584. #: guix-git/doc/guix.texi:23462
  34585. #, no-wrap
  34586. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  34587. msgstr ""
  34588. #. type: table
  34589. #: guix-git/doc/guix.texi:23464
  34590. msgid "The prometheus-node-exporter package to use."
  34591. msgstr ""
  34592. #. type: item
  34593. #: guix-git/doc/guix.texi:23465
  34594. #, no-wrap
  34595. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  34596. msgstr ""
  34597. #. type: item
  34598. #: guix-git/doc/guix.texi:23468
  34599. #, no-wrap
  34600. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  34601. msgstr ""
  34602. #. type: table
  34603. #: guix-git/doc/guix.texi:23472
  34604. msgid "This directory can be used to export metrics specific to this machine. Files containing metrics in the text format, with the filename ending in @code{.prom} should be placed in this directory."
  34605. msgstr ""
  34606. #. type: table
  34607. #: guix-git/doc/guix.texi:23475
  34608. msgid "Extra options to pass to the Prometheus node exporter."
  34609. msgstr ""
  34610. #. type: subsubheading
  34611. #: guix-git/doc/guix.texi:23479
  34612. #, no-wrap
  34613. msgid "Zabbix server"
  34614. msgstr ""
  34615. #. type: cindex
  34616. #: guix-git/doc/guix.texi:23480
  34617. #, no-wrap
  34618. msgid "zabbix zabbix-server"
  34619. msgstr ""
  34620. #. type: Plain text
  34621. #: guix-git/doc/guix.texi:23483
  34622. msgid "Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption:"
  34623. msgstr ""
  34624. #. type: item
  34625. #: guix-git/doc/guix.texi:23485
  34626. #, no-wrap
  34627. msgid "High performance, high capacity (able to monitor hundreds of thousands of devices)."
  34628. msgstr ""
  34629. #. type: item
  34630. #: guix-git/doc/guix.texi:23486
  34631. #, no-wrap
  34632. msgid "Auto-discovery of servers and network devices and interfaces."
  34633. msgstr ""
  34634. #. type: item
  34635. #: guix-git/doc/guix.texi:23487
  34636. #, no-wrap
  34637. msgid "Low-level discovery, allows to automatically start monitoring new items, file systems or network interfaces among others."
  34638. msgstr ""
  34639. #. type: item
  34640. #: guix-git/doc/guix.texi:23488
  34641. #, no-wrap
  34642. msgid "Distributed monitoring with centralized web administration."
  34643. msgstr ""
  34644. #. type: item
  34645. #: guix-git/doc/guix.texi:23489
  34646. #, no-wrap
  34647. msgid "Native high performance agents."
  34648. msgstr ""
  34649. #. type: item
  34650. #: guix-git/doc/guix.texi:23490
  34651. #, no-wrap
  34652. msgid "SLA, and ITIL KPI metrics on reporting."
  34653. msgstr ""
  34654. #. type: item
  34655. #: guix-git/doc/guix.texi:23491
  34656. #, no-wrap
  34657. msgid "High-level (business) view of monitored resources through user-defined visual console screens and dashboards."
  34658. msgstr ""
  34659. #. type: item
  34660. #: guix-git/doc/guix.texi:23492
  34661. #, no-wrap
  34662. msgid "Remote command execution through Zabbix proxies."
  34663. msgstr ""
  34664. #. type: Plain text
  34665. #: guix-git/doc/guix.texi:23498
  34666. msgid "Available @code{zabbix-server-configuration} fields are:"
  34667. msgstr ""
  34668. #. type: deftypevr
  34669. #: guix-git/doc/guix.texi:23499
  34670. #, no-wrap
  34671. msgid "{@code{zabbix-server-configuration} parameter} package zabbix-server"
  34672. msgstr ""
  34673. #. type: deftypevr
  34674. #: guix-git/doc/guix.texi:23501
  34675. msgid "The zabbix-server package."
  34676. msgstr ""
  34677. #. type: deftypevr
  34678. #: guix-git/doc/guix.texi:23504
  34679. #, no-wrap
  34680. msgid "{@code{zabbix-server-configuration} parameter} string user"
  34681. msgstr ""
  34682. #. type: deftypevr
  34683. #: guix-git/doc/guix.texi:23506
  34684. msgid "User who will run the Zabbix server."
  34685. msgstr ""
  34686. #. type: deftypevr
  34687. #: guix-git/doc/guix.texi:23508 guix-git/doc/guix.texi:23515
  34688. #: guix-git/doc/guix.texi:23529 guix-git/doc/guix.texi:23536
  34689. #: guix-git/doc/guix.texi:23637 guix-git/doc/guix.texi:23644
  34690. #: guix-git/doc/guix.texi:23755 guix-git/doc/guix.texi:23762
  34691. msgid "Defaults to @samp{\"zabbix\"}."
  34692. msgstr ""
  34693. #. type: deftypevr
  34694. #: guix-git/doc/guix.texi:23511
  34695. #, no-wrap
  34696. msgid "{@code{zabbix-server-configuration} parameter} group group"
  34697. msgstr ""
  34698. #. type: deftypevr
  34699. #: guix-git/doc/guix.texi:23513
  34700. msgid "Group who will run the Zabbix server."
  34701. msgstr ""
  34702. #. type: deftypevr
  34703. #: guix-git/doc/guix.texi:23518
  34704. #, no-wrap
  34705. msgid "{@code{zabbix-server-configuration} parameter} string db-host"
  34706. msgstr ""
  34707. #. type: deftypevr
  34708. #: guix-git/doc/guix.texi:23520 guix-git/doc/guix.texi:23739
  34709. msgid "Database host name."
  34710. msgstr ""
  34711. #. type: deftypevr
  34712. #: guix-git/doc/guix.texi:23522
  34713. msgid "Defaults to @samp{\"127.0.0.1\"}."
  34714. msgstr ""
  34715. #. type: deftypevr
  34716. #: guix-git/doc/guix.texi:23525
  34717. #, no-wrap
  34718. msgid "{@code{zabbix-server-configuration} parameter} string db-name"
  34719. msgstr ""
  34720. #. type: deftypevr
  34721. #: guix-git/doc/guix.texi:23527 guix-git/doc/guix.texi:23753
  34722. msgid "Database name."
  34723. msgstr ""
  34724. #. type: deftypevr
  34725. #: guix-git/doc/guix.texi:23532
  34726. #, no-wrap
  34727. msgid "{@code{zabbix-server-configuration} parameter} string db-user"
  34728. msgstr ""
  34729. #. type: deftypevr
  34730. #: guix-git/doc/guix.texi:23534 guix-git/doc/guix.texi:23760
  34731. msgid "Database user."
  34732. msgstr ""
  34733. #. type: deftypevr
  34734. #: guix-git/doc/guix.texi:23539
  34735. #, no-wrap
  34736. msgid "{@code{zabbix-server-configuration} parameter} string db-password"
  34737. msgstr ""
  34738. #. type: deftypevr
  34739. #: guix-git/doc/guix.texi:23542
  34740. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  34741. msgstr ""
  34742. #. type: deftypevr
  34743. #: guix-git/doc/guix.texi:23547
  34744. #, no-wrap
  34745. msgid "{@code{zabbix-server-configuration} parameter} number db-port"
  34746. msgstr ""
  34747. #. type: deftypevr
  34748. #: guix-git/doc/guix.texi:23549 guix-git/doc/guix.texi:23746
  34749. msgid "Database port."
  34750. msgstr ""
  34751. #. type: deftypevr
  34752. #: guix-git/doc/guix.texi:23551 guix-git/doc/guix.texi:23748
  34753. msgid "Defaults to @samp{5432}."
  34754. msgstr ""
  34755. #. type: deftypevr
  34756. #: guix-git/doc/guix.texi:23554
  34757. #, no-wrap
  34758. msgid "{@code{zabbix-server-configuration} parameter} string log-type"
  34759. msgstr ""
  34760. #. type: deftypevr
  34761. #: guix-git/doc/guix.texi:23556 guix-git/doc/guix.texi:23657
  34762. msgid "Specifies where log messages are written to:"
  34763. msgstr ""
  34764. #. type: itemize
  34765. #: guix-git/doc/guix.texi:23560 guix-git/doc/guix.texi:23661
  34766. msgid "@code{system} - syslog."
  34767. msgstr ""
  34768. #. type: itemize
  34769. #: guix-git/doc/guix.texi:23563 guix-git/doc/guix.texi:23664
  34770. msgid "@code{file} - file specified with @code{log-file} parameter."
  34771. msgstr ""
  34772. #. type: itemize
  34773. #: guix-git/doc/guix.texi:23566 guix-git/doc/guix.texi:23667
  34774. msgid "@code{console} - standard output."
  34775. msgstr ""
  34776. #. type: deftypevr
  34777. #: guix-git/doc/guix.texi:23573
  34778. #, no-wrap
  34779. msgid "{@code{zabbix-server-configuration} parameter} string log-file"
  34780. msgstr ""
  34781. #. type: deftypevr
  34782. #: guix-git/doc/guix.texi:23575 guix-git/doc/guix.texi:23676
  34783. msgid "Log file name for @code{log-type} @code{file} parameter."
  34784. msgstr ""
  34785. #. type: deftypevr
  34786. #: guix-git/doc/guix.texi:23577
  34787. msgid "Defaults to @samp{\"/var/log/zabbix/server.log\"}."
  34788. msgstr ""
  34789. #. type: deftypevr
  34790. #: guix-git/doc/guix.texi:23580
  34791. #, no-wrap
  34792. msgid "{@code{zabbix-server-configuration} parameter} string pid-file"
  34793. msgstr ""
  34794. #. type: deftypevr
  34795. #: guix-git/doc/guix.texi:23582 guix-git/doc/guix.texi:23683
  34796. msgid "Name of PID file."
  34797. msgstr ""
  34798. #. type: deftypevr
  34799. #: guix-git/doc/guix.texi:23584
  34800. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_server.pid\"}."
  34801. msgstr ""
  34802. #. type: deftypevr
  34803. #: guix-git/doc/guix.texi:23587
  34804. #, no-wrap
  34805. msgid "{@code{zabbix-server-configuration} parameter} string ssl-ca-location"
  34806. msgstr ""
  34807. #. type: deftypevr
  34808. #: guix-git/doc/guix.texi:23590
  34809. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  34810. msgstr ""
  34811. #. type: deftypevr
  34812. #: guix-git/doc/guix.texi:23592
  34813. msgid "Defaults to @samp{\"/etc/ssl/certs/ca-certificates.crt\"}."
  34814. msgstr ""
  34815. #. type: deftypevr
  34816. #: guix-git/doc/guix.texi:23595
  34817. #, no-wrap
  34818. msgid "{@code{zabbix-server-configuration} parameter} string ssl-cert-location"
  34819. msgstr ""
  34820. #. type: deftypevr
  34821. #: guix-git/doc/guix.texi:23597
  34822. msgid "Location of SSL client certificates."
  34823. msgstr ""
  34824. #. type: deftypevr
  34825. #: guix-git/doc/guix.texi:23599
  34826. msgid "Defaults to @samp{\"/etc/ssl/certs\"}."
  34827. msgstr ""
  34828. #. type: deftypevr
  34829. #: guix-git/doc/guix.texi:23602
  34830. #, no-wrap
  34831. msgid "{@code{zabbix-server-configuration} parameter} string extra-options"
  34832. msgstr ""
  34833. #. type: deftypevr
  34834. #: guix-git/doc/guix.texi:23604 guix-git/doc/guix.texi:23708
  34835. msgid "Extra options will be appended to Zabbix server configuration file."
  34836. msgstr ""
  34837. #. type: deftypevr
  34838. #: guix-git/doc/guix.texi:23609
  34839. #, no-wrap
  34840. msgid "{@code{zabbix-server-configuration} parameter} include-files include-files"
  34841. msgstr ""
  34842. #. type: deftypevr
  34843. #: guix-git/doc/guix.texi:23612 guix-git/doc/guix.texi:23716
  34844. msgid "You may include individual files or all files in a directory in the configuration file."
  34845. msgstr ""
  34846. #. type: subsubheading
  34847. #: guix-git/doc/guix.texi:23619
  34848. #, no-wrap
  34849. msgid "Zabbix agent"
  34850. msgstr ""
  34851. #. type: cindex
  34852. #: guix-git/doc/guix.texi:23620
  34853. #, no-wrap
  34854. msgid "zabbix zabbix-agent"
  34855. msgstr ""
  34856. #. type: Plain text
  34857. #: guix-git/doc/guix.texi:23623
  34858. msgid "Zabbix agent gathers information for Zabbix server."
  34859. msgstr ""
  34860. #. type: Plain text
  34861. #: guix-git/doc/guix.texi:23627
  34862. msgid "Available @code{zabbix-agent-configuration} fields are:"
  34863. msgstr ""
  34864. #. type: deftypevr
  34865. #: guix-git/doc/guix.texi:23628
  34866. #, no-wrap
  34867. msgid "{@code{zabbix-agent-configuration} parameter} package zabbix-agent"
  34868. msgstr ""
  34869. #. type: deftypevr
  34870. #: guix-git/doc/guix.texi:23630
  34871. msgid "The zabbix-agent package."
  34872. msgstr ""
  34873. #. type: deftypevr
  34874. #: guix-git/doc/guix.texi:23633
  34875. #, no-wrap
  34876. msgid "{@code{zabbix-agent-configuration} parameter} string user"
  34877. msgstr ""
  34878. #. type: deftypevr
  34879. #: guix-git/doc/guix.texi:23635
  34880. msgid "User who will run the Zabbix agent."
  34881. msgstr ""
  34882. #. type: deftypevr
  34883. #: guix-git/doc/guix.texi:23640
  34884. #, no-wrap
  34885. msgid "{@code{zabbix-agent-configuration} parameter} group group"
  34886. msgstr ""
  34887. #. type: deftypevr
  34888. #: guix-git/doc/guix.texi:23642
  34889. msgid "Group who will run the Zabbix agent."
  34890. msgstr ""
  34891. #. type: deftypevr
  34892. #: guix-git/doc/guix.texi:23647
  34893. #, no-wrap
  34894. msgid "{@code{zabbix-agent-configuration} parameter} string hostname"
  34895. msgstr ""
  34896. #. type: deftypevr
  34897. #: guix-git/doc/guix.texi:23650
  34898. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  34899. msgstr ""
  34900. #. type: deftypevr
  34901. #: guix-git/doc/guix.texi:23655
  34902. #, no-wrap
  34903. msgid "{@code{zabbix-agent-configuration} parameter} string log-type"
  34904. msgstr ""
  34905. #. type: deftypevr
  34906. #: guix-git/doc/guix.texi:23674
  34907. #, no-wrap
  34908. msgid "{@code{zabbix-agent-configuration} parameter} string log-file"
  34909. msgstr ""
  34910. #. type: deftypevr
  34911. #: guix-git/doc/guix.texi:23678
  34912. msgid "Defaults to @samp{\"/var/log/zabbix/agent.log\"}."
  34913. msgstr ""
  34914. #. type: deftypevr
  34915. #: guix-git/doc/guix.texi:23681
  34916. #, no-wrap
  34917. msgid "{@code{zabbix-agent-configuration} parameter} string pid-file"
  34918. msgstr ""
  34919. #. type: deftypevr
  34920. #: guix-git/doc/guix.texi:23685
  34921. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_agent.pid\"}."
  34922. msgstr ""
  34923. #. type: deftypevr
  34924. #: guix-git/doc/guix.texi:23688
  34925. #, no-wrap
  34926. msgid "{@code{zabbix-agent-configuration} parameter} list server"
  34927. msgstr ""
  34928. #. type: deftypevr
  34929. #: guix-git/doc/guix.texi:23692
  34930. msgid "List of IP addresses, optionally in CIDR notation, or hostnames of Zabbix servers and Zabbix proxies. Incoming connections will be accepted only from the hosts listed here."
  34931. msgstr ""
  34932. #. type: deftypevr
  34933. #: guix-git/doc/guix.texi:23694 guix-git/doc/guix.texi:23703
  34934. msgid "Defaults to @samp{(\"127.0.0.1\")}."
  34935. msgstr ""
  34936. #. type: deftypevr
  34937. #: guix-git/doc/guix.texi:23697
  34938. #, no-wrap
  34939. msgid "{@code{zabbix-agent-configuration} parameter} list server-active"
  34940. msgstr ""
  34941. #. type: deftypevr
  34942. #: guix-git/doc/guix.texi:23701
  34943. msgid "List of IP:port (or hostname:port) pairs of Zabbix servers and Zabbix proxies for active checks. If port is not specified, default port is used. If this parameter is not specified, active checks are disabled."
  34944. msgstr ""
  34945. #. type: deftypevr
  34946. #: guix-git/doc/guix.texi:23706
  34947. #, no-wrap
  34948. msgid "{@code{zabbix-agent-configuration} parameter} string extra-options"
  34949. msgstr ""
  34950. #. type: deftypevr
  34951. #: guix-git/doc/guix.texi:23713
  34952. #, no-wrap
  34953. msgid "{@code{zabbix-agent-configuration} parameter} include-files include-files"
  34954. msgstr ""
  34955. #. type: subsubheading
  34956. #: guix-git/doc/guix.texi:23723
  34957. #, no-wrap
  34958. msgid "Zabbix front-end"
  34959. msgstr ""
  34960. #. type: cindex
  34961. #: guix-git/doc/guix.texi:23724
  34962. #, no-wrap
  34963. msgid "zabbix zabbix-front-end"
  34964. msgstr ""
  34965. #. type: Plain text
  34966. #: guix-git/doc/guix.texi:23727
  34967. msgid "This service provides a WEB interface to Zabbix server."
  34968. msgstr ""
  34969. #. type: Plain text
  34970. #: guix-git/doc/guix.texi:23731
  34971. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  34972. msgstr ""
  34973. #. type: deftypevr
  34974. #: guix-git/doc/guix.texi:23732
  34975. #, no-wrap
  34976. msgid "{@code{zabbix-front-end-configuration} parameter} nginx-server-configuration-list nginx"
  34977. msgstr ""
  34978. #. type: deftypevr
  34979. #: guix-git/doc/guix.texi:23734 guix-git/doc/guix.texi:29896
  34980. msgid "NGINX configuration."
  34981. msgstr ""
  34982. #. type: deftypevr
  34983. #: guix-git/doc/guix.texi:23737
  34984. #, no-wrap
  34985. msgid "{@code{zabbix-front-end-configuration} parameter} string db-host"
  34986. msgstr ""
  34987. #. type: deftypevr
  34988. #: guix-git/doc/guix.texi:23744
  34989. #, no-wrap
  34990. msgid "{@code{zabbix-front-end-configuration} parameter} number db-port"
  34991. msgstr ""
  34992. #. type: deftypevr
  34993. #: guix-git/doc/guix.texi:23751
  34994. #, no-wrap
  34995. msgid "{@code{zabbix-front-end-configuration} parameter} string db-name"
  34996. msgstr ""
  34997. #. type: deftypevr
  34998. #: guix-git/doc/guix.texi:23758
  34999. #, no-wrap
  35000. msgid "{@code{zabbix-front-end-configuration} parameter} string db-user"
  35001. msgstr ""
  35002. #. type: deftypevr
  35003. #: guix-git/doc/guix.texi:23765
  35004. #, no-wrap
  35005. msgid "{@code{zabbix-front-end-configuration} parameter} string db-password"
  35006. msgstr ""
  35007. #. type: deftypevr
  35008. #: guix-git/doc/guix.texi:23767
  35009. msgid "Database password. Please, use @code{db-secret-file} instead."
  35010. msgstr ""
  35011. #. type: deftypevr
  35012. #: guix-git/doc/guix.texi:23772
  35013. #, no-wrap
  35014. msgid "{@code{zabbix-front-end-configuration} parameter} string db-secret-file"
  35015. msgstr ""
  35016. #. type: deftypevr
  35017. #: guix-git/doc/guix.texi:23777
  35018. msgid "Secret file containing the credentials for the Zabbix front-end. The value must be a local file name, not a G-expression. You are expected to create this file manually. Its contents will be copied into @file{zabbix.conf.php} as the value of @code{$DB['PASSWORD']}."
  35019. msgstr ""
  35020. #. type: deftypevr
  35021. #: guix-git/doc/guix.texi:23782
  35022. #, no-wrap
  35023. msgid "{@code{zabbix-front-end-configuration} parameter} string zabbix-host"
  35024. msgstr ""
  35025. #. type: deftypevr
  35026. #: guix-git/doc/guix.texi:23784
  35027. msgid "Zabbix server hostname."
  35028. msgstr ""
  35029. #. type: deftypevr
  35030. #: guix-git/doc/guix.texi:23789
  35031. #, no-wrap
  35032. msgid "{@code{zabbix-front-end-configuration} parameter} number zabbix-port"
  35033. msgstr ""
  35034. #. type: deftypevr
  35035. #: guix-git/doc/guix.texi:23791
  35036. msgid "Zabbix server port."
  35037. msgstr ""
  35038. #. type: deftypevr
  35039. #: guix-git/doc/guix.texi:23793
  35040. msgid "Defaults to @samp{10051}."
  35041. msgstr ""
  35042. #. type: cindex
  35043. #: guix-git/doc/guix.texi:23801
  35044. #, no-wrap
  35045. msgid "Kerberos"
  35046. msgstr ""
  35047. #. type: Plain text
  35048. #: guix-git/doc/guix.texi:23805
  35049. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  35050. msgstr ""
  35051. #. type: subsubheading
  35052. #: guix-git/doc/guix.texi:23806
  35053. #, no-wrap
  35054. msgid "Krb5 Service"
  35055. msgstr ""
  35056. #. type: Plain text
  35057. #: guix-git/doc/guix.texi:23813
  35058. msgid "Programs using a Kerberos client library normally expect a configuration file in @file{/etc/krb5.conf}. This service generates such a file from a definition provided in the operating system declaration. It does not cause any daemon to be started."
  35059. msgstr ""
  35060. #. type: Plain text
  35061. #: guix-git/doc/guix.texi:23817
  35062. msgid "No ``keytab'' files are provided by this service---you must explicitly create them. This service is known to work with the MIT client library, @code{mit-krb5}. Other implementations have not been tested."
  35063. msgstr ""
  35064. #. type: defvr
  35065. #: guix-git/doc/guix.texi:23818
  35066. #, no-wrap
  35067. msgid "{Scheme Variable} krb5-service-type"
  35068. msgstr ""
  35069. #. type: defvr
  35070. #: guix-git/doc/guix.texi:23820
  35071. msgid "A service type for Kerberos 5 clients."
  35072. msgstr ""
  35073. #. type: Plain text
  35074. #: guix-git/doc/guix.texi:23824
  35075. msgid "Here is an example of its use:"
  35076. msgstr ""
  35077. #. type: lisp
  35078. #: guix-git/doc/guix.texi:23838
  35079. #, no-wrap
  35080. msgid ""
  35081. "(service krb5-service-type\n"
  35082. " (krb5-configuration\n"
  35083. " (default-realm \"EXAMPLE.COM\")\n"
  35084. " (allow-weak-crypto? #t)\n"
  35085. " (realms (list\n"
  35086. " (krb5-realm\n"
  35087. " (name \"EXAMPLE.COM\")\n"
  35088. " (admin-server \"groucho.example.com\")\n"
  35089. " (kdc \"karl.example.com\"))\n"
  35090. " (krb5-realm\n"
  35091. " (name \"ARGRX.EDU\")\n"
  35092. " (admin-server \"kerb-admin.argrx.edu\")\n"
  35093. " (kdc \"keys.argrx.edu\"))))))\n"
  35094. msgstr ""
  35095. #. type: Plain text
  35096. #: guix-git/doc/guix.texi:23842
  35097. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  35098. msgstr ""
  35099. #. type: item
  35100. #: guix-git/doc/guix.texi:23843
  35101. #, no-wrap
  35102. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  35103. msgstr ""
  35104. #. type: itemize
  35105. #: guix-git/doc/guix.texi:23845
  35106. msgid "of which have distinct administration servers and key distribution centers;"
  35107. msgstr ""
  35108. #. type: item
  35109. #: guix-git/doc/guix.texi:23845
  35110. #, no-wrap
  35111. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  35112. msgstr ""
  35113. #. type: itemize
  35114. #: guix-git/doc/guix.texi:23847
  35115. msgid "specified by clients;"
  35116. msgstr ""
  35117. #. type: item
  35118. #: guix-git/doc/guix.texi:23847
  35119. #, no-wrap
  35120. msgid "Accepts services which only support encryption types known to be weak."
  35121. msgstr ""
  35122. #. type: Plain text
  35123. #: guix-git/doc/guix.texi:23855
  35124. msgid "The @code{krb5-realm} and @code{krb5-configuration} types have many fields. Only the most commonly used ones are described here. For a full list, and more detailed explanation of each, see the MIT @uref{https://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html,,krb5.conf} documentation."
  35125. msgstr ""
  35126. #. type: deftp
  35127. #: guix-git/doc/guix.texi:23857
  35128. #, no-wrap
  35129. msgid "{Data Type} krb5-realm"
  35130. msgstr ""
  35131. #. type: cindex
  35132. #: guix-git/doc/guix.texi:23858
  35133. #, no-wrap
  35134. msgid "realm, kerberos"
  35135. msgstr ""
  35136. #. type: table
  35137. #: guix-git/doc/guix.texi:23864
  35138. msgid "This field is a string identifying the name of the realm. A common convention is to use the fully qualified DNS name of your organization, converted to upper case."
  35139. msgstr ""
  35140. #. type: code{#1}
  35141. #: guix-git/doc/guix.texi:23865
  35142. #, no-wrap
  35143. msgid "admin-server"
  35144. msgstr ""
  35145. #. type: table
  35146. #: guix-git/doc/guix.texi:23868
  35147. msgid "This field is a string identifying the host where the administration server is running."
  35148. msgstr ""
  35149. #. type: code{#1}
  35150. #: guix-git/doc/guix.texi:23869
  35151. #, no-wrap
  35152. msgid "kdc"
  35153. msgstr ""
  35154. #. type: table
  35155. #: guix-git/doc/guix.texi:23872
  35156. msgid "This field is a string identifying the key distribution center for the realm."
  35157. msgstr ""
  35158. #. type: deftp
  35159. #: guix-git/doc/guix.texi:23875
  35160. #, no-wrap
  35161. msgid "{Data Type} krb5-configuration"
  35162. msgstr ""
  35163. #. type: item
  35164. #: guix-git/doc/guix.texi:23878
  35165. #, no-wrap
  35166. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  35167. msgstr ""
  35168. #. type: table
  35169. #: guix-git/doc/guix.texi:23881
  35170. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  35171. msgstr ""
  35172. #. type: item
  35173. #: guix-git/doc/guix.texi:23882
  35174. #, no-wrap
  35175. msgid "@code{default-realm} (default: @code{#f})"
  35176. msgstr ""
  35177. #. type: table
  35178. #: guix-git/doc/guix.texi:23889
  35179. msgid "This field should be a string identifying the default Kerberos realm for the client. You should set this field to the name of your Kerberos realm. If this value is @code{#f} then a realm must be specified with every Kerberos principal when invoking programs such as @command{kinit}."
  35180. msgstr ""
  35181. #. type: code{#1}
  35182. #: guix-git/doc/guix.texi:23890
  35183. #, no-wrap
  35184. msgid "realms"
  35185. msgstr ""
  35186. #. type: table
  35187. #: guix-git/doc/guix.texi:23895
  35188. msgid "This should be a non-empty list of @code{krb5-realm} objects, which clients may access. Normally, one of them will have a @code{name} field matching the @code{default-realm} field."
  35189. msgstr ""
  35190. #. type: subsubheading
  35191. #: guix-git/doc/guix.texi:23899
  35192. #, no-wrap
  35193. msgid "PAM krb5 Service"
  35194. msgstr ""
  35195. #. type: cindex
  35196. #: guix-git/doc/guix.texi:23900
  35197. #, no-wrap
  35198. msgid "pam-krb5"
  35199. msgstr ""
  35200. #. type: Plain text
  35201. #: guix-git/doc/guix.texi:23906
  35202. msgid "The @code{pam-krb5} service allows for login authentication and password management via Kerberos. You will need this service if you want PAM enabled applications to authenticate users using Kerberos."
  35203. msgstr ""
  35204. #. type: defvr
  35205. #: guix-git/doc/guix.texi:23907
  35206. #, no-wrap
  35207. msgid "{Scheme Variable} pam-krb5-service-type"
  35208. msgstr ""
  35209. #. type: defvr
  35210. #: guix-git/doc/guix.texi:23909
  35211. msgid "A service type for the Kerberos 5 PAM module."
  35212. msgstr ""
  35213. #. type: deftp
  35214. #: guix-git/doc/guix.texi:23911
  35215. #, no-wrap
  35216. msgid "{Data Type} pam-krb5-configuration"
  35217. msgstr ""
  35218. #. type: deftp
  35219. #: guix-git/doc/guix.texi:23914
  35220. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  35221. msgstr ""
  35222. #. type: item
  35223. #: guix-git/doc/guix.texi:23915
  35224. #, no-wrap
  35225. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  35226. msgstr ""
  35227. #. type: table
  35228. #: guix-git/doc/guix.texi:23917
  35229. msgid "The pam-krb5 package to use."
  35230. msgstr ""
  35231. #. type: item
  35232. #: guix-git/doc/guix.texi:23918
  35233. #, no-wrap
  35234. msgid "@code{minimum-uid} (default: @code{1000})"
  35235. msgstr ""
  35236. #. type: table
  35237. #: guix-git/doc/guix.texi:23921
  35238. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  35239. msgstr ""
  35240. #. type: cindex
  35241. #: guix-git/doc/guix.texi:23927
  35242. #, no-wrap
  35243. msgid "LDAP"
  35244. msgstr ""
  35245. #. type: cindex
  35246. #: guix-git/doc/guix.texi:23928
  35247. #, no-wrap
  35248. msgid "nslcd, LDAP service"
  35249. msgstr ""
  35250. #. type: Plain text
  35251. #: guix-git/doc/guix.texi:23935
  35252. msgid "The @code{(gnu services authentication)} module provides the @code{nslcd-service-type}, which can be used to authenticate against an LDAP server. In addition to configuring the service itself, you may want to add @code{ldap} as a name service to the Name Service Switch. @xref{Name Service Switch} for detailed information."
  35253. msgstr ""
  35254. #. type: Plain text
  35255. #: guix-git/doc/guix.texi:23939
  35256. msgid "Here is a simple operating system declaration with a default configuration of the @code{nslcd-service-type} and a Name Service Switch configuration that consults the @code{ldap} name service last:"
  35257. msgstr ""
  35258. #. type: lisp
  35259. #: guix-git/doc/guix.texi:23962
  35260. #, no-wrap
  35261. msgid ""
  35262. "(use-service-modules authentication)\n"
  35263. "(use-modules (gnu system nss))\n"
  35264. "...\n"
  35265. "(operating-system\n"
  35266. " ...\n"
  35267. " (services\n"
  35268. " (cons*\n"
  35269. " (service nslcd-service-type)\n"
  35270. " (service dhcp-client-service-type)\n"
  35271. " %base-services))\n"
  35272. " (name-service-switch\n"
  35273. " (let ((services (list (name-service (name \"db\"))\n"
  35274. " (name-service (name \"files\"))\n"
  35275. " (name-service (name \"ldap\")))))\n"
  35276. " (name-service-switch\n"
  35277. " (inherit %mdns-host-lookup-nss)\n"
  35278. " (password services)\n"
  35279. " (shadow services)\n"
  35280. " (group services)\n"
  35281. " (netgroup services)\n"
  35282. " (gshadow services)))))\n"
  35283. msgstr ""
  35284. #. type: Plain text
  35285. #: guix-git/doc/guix.texi:23967
  35286. msgid "Available @code{nslcd-configuration} fields are:"
  35287. msgstr ""
  35288. #. type: deftypevr
  35289. #: guix-git/doc/guix.texi:23968
  35290. #, no-wrap
  35291. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  35292. msgstr ""
  35293. #. type: deftypevr
  35294. #: guix-git/doc/guix.texi:23970
  35295. msgid "The @code{nss-pam-ldapd} package to use."
  35296. msgstr ""
  35297. #. type: deftypevr
  35298. #: guix-git/doc/guix.texi:23973
  35299. #, no-wrap
  35300. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  35301. msgstr ""
  35302. #. type: deftypevr
  35303. #: guix-git/doc/guix.texi:23977
  35304. msgid "The number of threads to start that can handle requests and perform LDAP queries. Each thread opens a separate connection to the LDAP server. The default is to start 5 threads."
  35305. msgstr ""
  35306. #. type: deftypevr
  35307. #: guix-git/doc/guix.texi:23982
  35308. #, no-wrap
  35309. msgid "{@code{nslcd-configuration} parameter} string uid"
  35310. msgstr ""
  35311. #. type: deftypevr
  35312. #: guix-git/doc/guix.texi:23984
  35313. msgid "This specifies the user id with which the daemon should be run."
  35314. msgstr ""
  35315. #. type: deftypevr
  35316. #: guix-git/doc/guix.texi:23986 guix-git/doc/guix.texi:23993
  35317. msgid "Defaults to @samp{\"nslcd\"}."
  35318. msgstr ""
  35319. #. type: deftypevr
  35320. #: guix-git/doc/guix.texi:23989
  35321. #, no-wrap
  35322. msgid "{@code{nslcd-configuration} parameter} string gid"
  35323. msgstr ""
  35324. #. type: deftypevr
  35325. #: guix-git/doc/guix.texi:23991
  35326. msgid "This specifies the group id with which the daemon should be run."
  35327. msgstr ""
  35328. #. type: deftypevr
  35329. #: guix-git/doc/guix.texi:23996
  35330. #, no-wrap
  35331. msgid "{@code{nslcd-configuration} parameter} log-option log"
  35332. msgstr ""
  35333. #. type: deftypevr
  35334. #: guix-git/doc/guix.texi:24004
  35335. msgid "This option controls the way logging is done via a list containing SCHEME and LEVEL@. The SCHEME argument may either be the symbols @samp{none} or @samp{syslog}, or an absolute file name. The LEVEL argument is optional and specifies the log level. The log level may be one of the following symbols: @samp{crit}, @samp{error}, @samp{warning}, @samp{notice}, @samp{info} or @samp{debug}. All messages with the specified log level or higher are logged."
  35336. msgstr ""
  35337. #. type: deftypevr
  35338. #: guix-git/doc/guix.texi:24006
  35339. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  35340. msgstr ""
  35341. #. type: deftypevr
  35342. #: guix-git/doc/guix.texi:24009
  35343. #, no-wrap
  35344. msgid "{@code{nslcd-configuration} parameter} list uri"
  35345. msgstr ""
  35346. #. type: deftypevr
  35347. #: guix-git/doc/guix.texi:24012
  35348. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  35349. msgstr ""
  35350. #. type: deftypevr
  35351. #: guix-git/doc/guix.texi:24014
  35352. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  35353. msgstr ""
  35354. #. type: deftypevr
  35355. #: guix-git/doc/guix.texi:24017
  35356. #, no-wrap
  35357. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  35358. msgstr ""
  35359. #. type: deftypevr
  35360. #: guix-git/doc/guix.texi:24020
  35361. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  35362. msgstr ""
  35363. #. type: deftypevr
  35364. #: guix-git/doc/guix.texi:24025
  35365. #, no-wrap
  35366. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  35367. msgstr ""
  35368. #. type: deftypevr
  35369. #: guix-git/doc/guix.texi:24028
  35370. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  35371. msgstr ""
  35372. #. type: deftypevr
  35373. #: guix-git/doc/guix.texi:24033
  35374. #, no-wrap
  35375. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  35376. msgstr ""
  35377. #. type: deftypevr
  35378. #: guix-git/doc/guix.texi:24036
  35379. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  35380. msgstr ""
  35381. #. type: deftypevr
  35382. #: guix-git/doc/guix.texi:24041
  35383. #, no-wrap
  35384. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  35385. msgstr ""
  35386. #. type: deftypevr
  35387. #: guix-git/doc/guix.texi:24044
  35388. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  35389. msgstr ""
  35390. #. type: deftypevr
  35391. #: guix-git/doc/guix.texi:24049
  35392. #, no-wrap
  35393. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  35394. msgstr ""
  35395. #. type: deftypevr
  35396. #: guix-git/doc/guix.texi:24053
  35397. msgid "Specifies the credentials with which to bind if the root user tries to change a user's password. This option is only applicable when used with rootpwmoddn"
  35398. msgstr ""
  35399. #. type: deftypevr
  35400. #: guix-git/doc/guix.texi:24058
  35401. #, no-wrap
  35402. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  35403. msgstr ""
  35404. #. type: deftypevr
  35405. #: guix-git/doc/guix.texi:24061
  35406. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  35407. msgstr ""
  35408. #. type: deftypevr
  35409. #: guix-git/doc/guix.texi:24066
  35410. #, no-wrap
  35411. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  35412. msgstr ""
  35413. #. type: deftypevr
  35414. #: guix-git/doc/guix.texi:24068
  35415. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  35416. msgstr ""
  35417. #. type: deftypevr
  35418. #: guix-git/doc/guix.texi:24073
  35419. #, no-wrap
  35420. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  35421. msgstr ""
  35422. #. type: deftypevr
  35423. #: guix-git/doc/guix.texi:24076
  35424. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  35425. msgstr ""
  35426. #. type: deftypevr
  35427. #: guix-git/doc/guix.texi:24081
  35428. #, no-wrap
  35429. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  35430. msgstr ""
  35431. #. type: deftypevr
  35432. #: guix-git/doc/guix.texi:24084
  35433. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  35434. msgstr ""
  35435. #. type: deftypevr
  35436. #: guix-git/doc/guix.texi:24089
  35437. #, no-wrap
  35438. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  35439. msgstr ""
  35440. #. type: deftypevr
  35441. #: guix-git/doc/guix.texi:24094
  35442. msgid "Determines whether the LDAP server host name should be canonicalised. If this is enabled the LDAP library will do a reverse host name lookup. By default, it is left up to the LDAP library whether this check is performed or not."
  35443. msgstr ""
  35444. #. type: deftypevr
  35445. #: guix-git/doc/guix.texi:24099
  35446. #, no-wrap
  35447. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  35448. msgstr ""
  35449. #. type: deftypevr
  35450. #: guix-git/doc/guix.texi:24101
  35451. msgid "Set the name for the GSS-API Kerberos credentials cache."
  35452. msgstr ""
  35453. #. type: deftypevr
  35454. #: guix-git/doc/guix.texi:24106
  35455. #, no-wrap
  35456. msgid "{@code{nslcd-configuration} parameter} string base"
  35457. msgstr ""
  35458. #. type: deftypevr
  35459. #: guix-git/doc/guix.texi:24108
  35460. msgid "The directory search base."
  35461. msgstr ""
  35462. #. type: deftypevr
  35463. #: guix-git/doc/guix.texi:24110
  35464. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  35465. msgstr ""
  35466. #. type: deftypevr
  35467. #: guix-git/doc/guix.texi:24113
  35468. #, no-wrap
  35469. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  35470. msgstr ""
  35471. #. type: deftypevr
  35472. #: guix-git/doc/guix.texi:24117
  35473. msgid "Specifies the search scope (subtree, onelevel, base or children). The default scope is subtree; base scope is almost never useful for name service lookups; children scope is not supported on all servers."
  35474. msgstr ""
  35475. #. type: deftypevr
  35476. #: guix-git/doc/guix.texi:24119
  35477. msgid "Defaults to @samp{(subtree)}."
  35478. msgstr ""
  35479. #. type: deftypevr
  35480. #: guix-git/doc/guix.texi:24122
  35481. #, no-wrap
  35482. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  35483. msgstr ""
  35484. #. type: deftypevr
  35485. #: guix-git/doc/guix.texi:24125
  35486. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  35487. msgstr ""
  35488. #. type: deftypevr
  35489. #: guix-git/doc/guix.texi:24130
  35490. #, no-wrap
  35491. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  35492. msgstr ""
  35493. #. type: deftypevr
  35494. #: guix-git/doc/guix.texi:24133
  35495. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  35496. msgstr ""
  35497. #. type: deftypevr
  35498. #: guix-git/doc/guix.texi:24138
  35499. #, no-wrap
  35500. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  35501. msgstr ""
  35502. #. type: deftypevr
  35503. #: guix-git/doc/guix.texi:24143
  35504. msgid "This option allows for custom attributes to be looked up instead of the default RFC 2307 attributes. It is a list of maps, each consisting of the name of a map, the RFC 2307 attribute to match and the query expression for the attribute as it is available in the directory."
  35505. msgstr ""
  35506. #. type: deftypevr
  35507. #: guix-git/doc/guix.texi:24148
  35508. #, no-wrap
  35509. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  35510. msgstr ""
  35511. #. type: deftypevr
  35512. #: guix-git/doc/guix.texi:24151
  35513. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  35514. msgstr ""
  35515. #. type: deftypevr
  35516. #: guix-git/doc/guix.texi:24156
  35517. #, no-wrap
  35518. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  35519. msgstr ""
  35520. #. type: deftypevr
  35521. #: guix-git/doc/guix.texi:24159
  35522. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  35523. msgstr ""
  35524. #. type: deftypevr
  35525. #: guix-git/doc/guix.texi:24164
  35526. #, no-wrap
  35527. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  35528. msgstr ""
  35529. #. type: deftypevr
  35530. #: guix-git/doc/guix.texi:24168
  35531. msgid "Specifies the time limit (in seconds) to wait for a response from the LDAP server. A value of zero, which is the default, is to wait indefinitely for searches to be completed."
  35532. msgstr ""
  35533. #. type: deftypevr
  35534. #: guix-git/doc/guix.texi:24173
  35535. #, no-wrap
  35536. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  35537. msgstr ""
  35538. #. type: deftypevr
  35539. #: guix-git/doc/guix.texi:24177
  35540. msgid "Specifies the period if inactivity (in seconds) after which the con‐ nection to the LDAP server will be closed. The default is not to time out connections."
  35541. msgstr ""
  35542. #. type: deftypevr
  35543. #: guix-git/doc/guix.texi:24182
  35544. #, no-wrap
  35545. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  35546. msgstr ""
  35547. #. type: deftypevr
  35548. #: guix-git/doc/guix.texi:24186
  35549. msgid "Specifies the number of seconds to sleep when connecting to all LDAP servers fails. By default one second is waited between the first failure and the first retry."
  35550. msgstr ""
  35551. #. type: deftypevr
  35552. #: guix-git/doc/guix.texi:24191
  35553. #, no-wrap
  35554. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  35555. msgstr ""
  35556. #. type: deftypevr
  35557. #: guix-git/doc/guix.texi:24195
  35558. msgid "Specifies the time after which the LDAP server is considered to be permanently unavailable. Once this time is reached retries will be done only once per this time period. The default value is 10 seconds."
  35559. msgstr ""
  35560. #. type: deftypevr
  35561. #: guix-git/doc/guix.texi:24200
  35562. #, no-wrap
  35563. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  35564. msgstr ""
  35565. #. type: deftypevr
  35566. #: guix-git/doc/guix.texi:24204
  35567. msgid "Specifies whether to use SSL/TLS or not (the default is not to). If 'start-tls is specified then StartTLS is used rather than raw LDAP over SSL."
  35568. msgstr ""
  35569. #. type: deftypevr
  35570. #: guix-git/doc/guix.texi:24209
  35571. #, no-wrap
  35572. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  35573. msgstr ""
  35574. #. type: deftypevr
  35575. #: guix-git/doc/guix.texi:24212
  35576. msgid "Specifies what checks to perform on a server-supplied certificate. The meaning of the values is described in the ldap.conf(5) manual page."
  35577. msgstr ""
  35578. #. type: deftypevr
  35579. #: guix-git/doc/guix.texi:24217
  35580. #, no-wrap
  35581. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  35582. msgstr ""
  35583. #. type: deftypevr
  35584. #: guix-git/doc/guix.texi:24220
  35585. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  35586. msgstr ""
  35587. #. type: deftypevr
  35588. #: guix-git/doc/guix.texi:24225
  35589. #, no-wrap
  35590. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  35591. msgstr ""
  35592. #. type: deftypevr
  35593. #: guix-git/doc/guix.texi:24227
  35594. msgid "Specifies the path to the X.509 certificate for peer authentication."
  35595. msgstr ""
  35596. #. type: deftypevr
  35597. #: guix-git/doc/guix.texi:24232
  35598. #, no-wrap
  35599. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  35600. msgstr ""
  35601. #. type: deftypevr
  35602. #: guix-git/doc/guix.texi:24235
  35603. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  35604. msgstr ""
  35605. #. type: deftypevr
  35606. #: guix-git/doc/guix.texi:24240
  35607. #, no-wrap
  35608. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  35609. msgstr ""
  35610. #. type: deftypevr
  35611. #: guix-git/doc/guix.texi:24242
  35612. msgid "Specifies the ciphers to use for TLS as a string."
  35613. msgstr ""
  35614. #. type: deftypevr
  35615. #: guix-git/doc/guix.texi:24247
  35616. #, no-wrap
  35617. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  35618. msgstr ""
  35619. #. type: deftypevr
  35620. #: guix-git/doc/guix.texi:24250
  35621. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  35622. msgstr ""
  35623. #. type: deftypevr
  35624. #: guix-git/doc/guix.texi:24255
  35625. #, no-wrap
  35626. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  35627. msgstr ""
  35628. #. type: deftypevr
  35629. #: guix-git/doc/guix.texi:24258
  35630. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  35631. msgstr ""
  35632. #. type: deftypevr
  35633. #: guix-git/doc/guix.texi:24263
  35634. #, no-wrap
  35635. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  35636. msgstr ""
  35637. #. type: deftypevr
  35638. #: guix-git/doc/guix.texi:24267
  35639. msgid "Set this to a number greater than 0 to request paged results from the LDAP server in accordance with RFC2696. The default (0) is to not request paged results."
  35640. msgstr ""
  35641. #. type: deftypevr
  35642. #: guix-git/doc/guix.texi:24272
  35643. #, no-wrap
  35644. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  35645. msgstr ""
  35646. #. type: deftypevr
  35647. #: guix-git/doc/guix.texi:24276
  35648. msgid "This option prevents group membership lookups through LDAP for the specified users. Alternatively, the value 'all-local may be used. With that value nslcd builds a full list of non-LDAP users on startup."
  35649. msgstr ""
  35650. #. type: deftypevr
  35651. #: guix-git/doc/guix.texi:24281
  35652. #, no-wrap
  35653. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  35654. msgstr ""
  35655. #. type: deftypevr
  35656. #: guix-git/doc/guix.texi:24284
  35657. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  35658. msgstr ""
  35659. #. type: deftypevr
  35660. #: guix-git/doc/guix.texi:24289
  35661. #, no-wrap
  35662. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  35663. msgstr ""
  35664. #. type: deftypevr
  35665. #: guix-git/doc/guix.texi:24292
  35666. msgid "This option specifies an offset that is added to all LDAP numeric user ids. This can be used to avoid user id collisions with local users."
  35667. msgstr ""
  35668. #. type: deftypevr
  35669. #: guix-git/doc/guix.texi:24297
  35670. #, no-wrap
  35671. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  35672. msgstr ""
  35673. #. type: deftypevr
  35674. #: guix-git/doc/guix.texi:24300
  35675. msgid "This option specifies an offset that is added to all LDAP numeric group ids. This can be used to avoid user id collisions with local groups."
  35676. msgstr ""
  35677. #. type: deftypevr
  35678. #: guix-git/doc/guix.texi:24305
  35679. #, no-wrap
  35680. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  35681. msgstr ""
  35682. #. type: deftypevr
  35683. #: guix-git/doc/guix.texi:24311
  35684. msgid "If this option is set, the member attribute of a group may point to another group. Members of nested groups are also returned in the higher level group and parent groups are returned when finding groups for a specific user. The default is not to perform extra searches for nested groups."
  35685. msgstr ""
  35686. #. type: deftypevr
  35687. #: guix-git/doc/guix.texi:24316
  35688. #, no-wrap
  35689. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  35690. msgstr ""
  35691. #. type: deftypevr
  35692. #: guix-git/doc/guix.texi:24321
  35693. msgid "If this option is set, the group member list is not retrieved when looking up groups. Lookups for finding which groups a user belongs to will remain functional so the user will likely still get the correct groups assigned on login."
  35694. msgstr ""
  35695. #. type: deftypevr
  35696. #: guix-git/doc/guix.texi:24326
  35697. #, no-wrap
  35698. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  35699. msgstr ""
  35700. #. type: deftypevr
  35701. #: guix-git/doc/guix.texi:24332
  35702. msgid "If this option is set, functions which cause all user/group entries to be loaded from the directory will not succeed in doing so. This can dramatically reduce LDAP server load in situations where there are a great number of users and/or groups. This option is not recommended for most configurations."
  35703. msgstr ""
  35704. #. type: deftypevr
  35705. #: guix-git/doc/guix.texi:24337
  35706. #, no-wrap
  35707. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  35708. msgstr ""
  35709. #. type: deftypevr
  35710. #: guix-git/doc/guix.texi:24341
  35711. msgid "This option can be used to specify how user and group names are verified within the system. This pattern is used to check all user and group names that are requested and returned from LDAP."
  35712. msgstr ""
  35713. #. type: deftypevr
  35714. #: guix-git/doc/guix.texi:24346
  35715. #, no-wrap
  35716. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  35717. msgstr ""
  35718. #. type: deftypevr
  35719. #: guix-git/doc/guix.texi:24351
  35720. msgid "This specifies whether or not to perform searches using case-insensitive matching. Enabling this could open up the system to authorization bypass vulnerabilities and introduce nscd cache poisoning vulnerabilities which allow denial of service."
  35721. msgstr ""
  35722. #. type: deftypevr
  35723. #: guix-git/doc/guix.texi:24356
  35724. #, no-wrap
  35725. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  35726. msgstr ""
  35727. #. type: deftypevr
  35728. #: guix-git/doc/guix.texi:24359
  35729. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  35730. msgstr ""
  35731. #. type: deftypevr
  35732. #: guix-git/doc/guix.texi:24364
  35733. #, no-wrap
  35734. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  35735. msgstr ""
  35736. #. type: deftypevr
  35737. #: guix-git/doc/guix.texi:24370
  35738. msgid "By default nslcd performs an LDAP search with the user's credentials after BIND (authentication) to ensure that the BIND operation was successful. The default search is a simple check to see if the user's DN exists. A search filter can be specified that will be used instead. It should return at least one entry."
  35739. msgstr ""
  35740. #. type: deftypevr
  35741. #: guix-git/doc/guix.texi:24375
  35742. #, no-wrap
  35743. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  35744. msgstr ""
  35745. #. type: deftypevr
  35746. #: guix-git/doc/guix.texi:24379
  35747. msgid "This option allows flexible fine tuning of the authorisation check that should be performed. The search filter specified is executed and if any entries match, access is granted, otherwise access is denied."
  35748. msgstr ""
  35749. #. type: deftypevr
  35750. #: guix-git/doc/guix.texi:24384
  35751. #, no-wrap
  35752. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  35753. msgstr ""
  35754. #. type: deftypevr
  35755. #: guix-git/doc/guix.texi:24389
  35756. msgid "If this option is set password modification using pam_ldap will be denied and the specified message will be presented to the user instead. The message can be used to direct the user to an alternative means of changing their password."
  35757. msgstr ""
  35758. #. type: deftypevr
  35759. #: guix-git/doc/guix.texi:24394
  35760. #, no-wrap
  35761. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  35762. msgstr ""
  35763. #. type: deftypevr
  35764. #: guix-git/doc/guix.texi:24396
  35765. msgid "List of pam service names for which LDAP authentication should suffice."
  35766. msgstr ""
  35767. #. type: cindex
  35768. #: guix-git/doc/guix.texi:24407
  35769. #, no-wrap
  35770. msgid "web"
  35771. msgstr ""
  35772. #. type: cindex
  35773. #: guix-git/doc/guix.texi:24408
  35774. #, no-wrap
  35775. msgid "www"
  35776. msgstr ""
  35777. #. type: cindex
  35778. #: guix-git/doc/guix.texi:24409
  35779. #, no-wrap
  35780. msgid "HTTP"
  35781. msgstr ""
  35782. #. type: Plain text
  35783. #: guix-git/doc/guix.texi:24412
  35784. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  35785. msgstr ""
  35786. #. type: subsubheading
  35787. #: guix-git/doc/guix.texi:24413
  35788. #, no-wrap
  35789. msgid "Apache HTTP Server"
  35790. msgstr ""
  35791. #. type: deffn
  35792. #: guix-git/doc/guix.texi:24415
  35793. #, no-wrap
  35794. msgid "{Scheme Variable} httpd-service-type"
  35795. msgstr ""
  35796. #. type: deffn
  35797. #: guix-git/doc/guix.texi:24419
  35798. msgid "Service type for the @uref{https://httpd.apache.org/,Apache HTTP} server (@dfn{httpd}). The value for this service type is a @code{httpd-configuration} record."
  35799. msgstr ""
  35800. #. type: deffn
  35801. #: guix-git/doc/guix.texi:24421 guix-git/doc/guix.texi:24602
  35802. msgid "A simple example configuration is given below."
  35803. msgstr ""
  35804. #. type: lisp
  35805. #: guix-git/doc/guix.texi:24429
  35806. #, no-wrap
  35807. msgid ""
  35808. "(service httpd-service-type\n"
  35809. " (httpd-configuration\n"
  35810. " (config\n"
  35811. " (httpd-config-file\n"
  35812. " (server-name \"www.example.com\")\n"
  35813. " (document-root \"/srv/http/www.example.com\")))))\n"
  35814. msgstr ""
  35815. #. type: deffn
  35816. #: guix-git/doc/guix.texi:24433
  35817. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  35818. msgstr ""
  35819. #. type: lisp
  35820. #: guix-git/doc/guix.texi:24442 guix-git/doc/guix.texi:24582
  35821. #, no-wrap
  35822. msgid ""
  35823. "(simple-service 'www.example.com-server httpd-service-type\n"
  35824. " (list\n"
  35825. " (httpd-virtualhost\n"
  35826. " \"*:80\"\n"
  35827. " (list (string-join '(\"ServerName www.example.com\"\n"
  35828. " \"DocumentRoot /srv/http/www.example.com\")\n"
  35829. " \"\\n\")))))\n"
  35830. msgstr ""
  35831. #. type: Plain text
  35832. #: guix-git/doc/guix.texi:24448
  35833. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  35834. msgstr ""
  35835. #. type: deffn
  35836. #: guix-git/doc/guix.texi:24449
  35837. #, no-wrap
  35838. msgid "{Data Type} httpd-configuration"
  35839. msgstr ""
  35840. #. type: deffn
  35841. #: guix-git/doc/guix.texi:24451
  35842. msgid "This data type represents the configuration for the httpd service."
  35843. msgstr ""
  35844. #. type: item
  35845. #: guix-git/doc/guix.texi:24453
  35846. #, no-wrap
  35847. msgid "@code{package} (default: @code{httpd})"
  35848. msgstr ""
  35849. #. type: table
  35850. #: guix-git/doc/guix.texi:24455
  35851. msgid "The httpd package to use."
  35852. msgstr ""
  35853. #. type: item
  35854. #: guix-git/doc/guix.texi:24456 guix-git/doc/guix.texi:24545
  35855. #, no-wrap
  35856. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  35857. msgstr ""
  35858. #. type: table
  35859. #: guix-git/doc/guix.texi:24458
  35860. msgid "The pid file used by the shepherd-service."
  35861. msgstr ""
  35862. #. type: item
  35863. #: guix-git/doc/guix.texi:24459
  35864. #, no-wrap
  35865. msgid "@code{config} (default: @code{(httpd-config-file)})"
  35866. msgstr ""
  35867. #. type: table
  35868. #: guix-git/doc/guix.texi:24464
  35869. msgid "The configuration file to use with the httpd service. The default value is a @code{httpd-config-file} record, but this can also be a different G-expression that generates a file, for example a @code{plain-file}. A file outside of the store can also be specified through a string."
  35870. msgstr ""
  35871. #. type: deffn
  35872. #: guix-git/doc/guix.texi:24468
  35873. #, no-wrap
  35874. msgid "{Data Type} httpd-module"
  35875. msgstr ""
  35876. #. type: deffn
  35877. #: guix-git/doc/guix.texi:24470
  35878. msgid "This data type represents a module for the httpd service."
  35879. msgstr ""
  35880. #. type: table
  35881. #: guix-git/doc/guix.texi:24474
  35882. msgid "The name of the module."
  35883. msgstr ""
  35884. #. type: table
  35885. #: guix-git/doc/guix.texi:24480
  35886. msgid "The file for the module. This can be relative to the httpd package being used, the absolute location of a file, or a G-expression for a file within the store, for example @code{(file-append mod-wsgi \"/modules/mod_wsgi.so\")}."
  35887. msgstr ""
  35888. #. type: defvr
  35889. #: guix-git/doc/guix.texi:24484
  35890. #, no-wrap
  35891. msgid "{Scheme Variable} %default-httpd-modules"
  35892. msgstr ""
  35893. #. type: defvr
  35894. #: guix-git/doc/guix.texi:24486
  35895. msgid "A default list of @code{httpd-module} objects."
  35896. msgstr ""
  35897. #. type: deffn
  35898. #: guix-git/doc/guix.texi:24488
  35899. #, no-wrap
  35900. msgid "{Data Type} httpd-config-file"
  35901. msgstr ""
  35902. #. type: deffn
  35903. #: guix-git/doc/guix.texi:24490
  35904. msgid "This data type represents a configuration file for the httpd service."
  35905. msgstr ""
  35906. #. type: item
  35907. #: guix-git/doc/guix.texi:24492
  35908. #, no-wrap
  35909. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  35910. msgstr ""
  35911. #. type: table
  35912. #: guix-git/doc/guix.texi:24495
  35913. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  35914. msgstr ""
  35915. #. type: table
  35916. #: guix-git/doc/guix.texi:24498
  35917. msgid "For example, in order to handle requests for PHP files, you can use Apache’s @code{mod_proxy_fcgi} module along with @code{php-fpm-service-type}:"
  35918. msgstr ""
  35919. #. type: lisp
  35920. #: guix-git/doc/guix.texi:24520
  35921. #, no-wrap
  35922. msgid ""
  35923. "(service httpd-service-type\n"
  35924. " (httpd-configuration\n"
  35925. " (config\n"
  35926. " (httpd-config-file\n"
  35927. " (modules (cons*\n"
  35928. " (httpd-module\n"
  35929. " (name \"proxy_module\")\n"
  35930. " (file \"modules/mod_proxy.so\"))\n"
  35931. " (httpd-module\n"
  35932. " (name \"proxy_fcgi_module\")\n"
  35933. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  35934. " %default-httpd-modules))\n"
  35935. " (extra-config (list \"\\\n"
  35936. "<FilesMatch \\\\.php$>\n"
  35937. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  35938. "</FilesMatch>\"))))))\n"
  35939. "(service php-fpm-service-type\n"
  35940. " (php-fpm-configuration\n"
  35941. " (socket \"/var/run/php-fpm.sock\")\n"
  35942. " (socket-group \"httpd\")))\n"
  35943. msgstr ""
  35944. #. type: item
  35945. #: guix-git/doc/guix.texi:24522
  35946. #, no-wrap
  35947. msgid "@code{server-root} (default: @code{httpd})"
  35948. msgstr ""
  35949. #. type: table
  35950. #: guix-git/doc/guix.texi:24526
  35951. msgid "The @code{ServerRoot} in the configuration file, defaults to the httpd package. Directives including @code{Include} and @code{LoadModule} are taken as relative to the server root."
  35952. msgstr ""
  35953. #. type: item
  35954. #: guix-git/doc/guix.texi:24527
  35955. #, no-wrap
  35956. msgid "@code{server-name} (default: @code{#f})"
  35957. msgstr ""
  35958. #. type: table
  35959. #: guix-git/doc/guix.texi:24531
  35960. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  35961. msgstr ""
  35962. #. type: table
  35963. #: guix-git/doc/guix.texi:24535
  35964. msgid "This doesn't need to be set in the server config, and can be specified in virtual hosts. The default is @code{#f} to not specify a @code{ServerName}."
  35965. msgstr ""
  35966. #. type: item
  35967. #: guix-git/doc/guix.texi:24536
  35968. #, no-wrap
  35969. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  35970. msgstr ""
  35971. #. type: table
  35972. #: guix-git/doc/guix.texi:24538
  35973. msgid "The @code{DocumentRoot} from which files will be served."
  35974. msgstr ""
  35975. #. type: item
  35976. #: guix-git/doc/guix.texi:24539
  35977. #, no-wrap
  35978. msgid "@code{listen} (default: @code{'(\"80\")})"
  35979. msgstr ""
  35980. #. type: table
  35981. #: guix-git/doc/guix.texi:24544
  35982. msgid "The list of values for the @code{Listen} directives in the config file. The value should be a list of strings, when each string can specify the port number to listen on, and optionally the IP address and protocol to use."
  35983. msgstr ""
  35984. #. type: table
  35985. #: guix-git/doc/guix.texi:24549
  35986. msgid "The @code{PidFile} to use. This should match the @code{pid-file} set in the @code{httpd-configuration} so that the Shepherd service is configured correctly."
  35987. msgstr ""
  35988. #. type: item
  35989. #: guix-git/doc/guix.texi:24550
  35990. #, no-wrap
  35991. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  35992. msgstr ""
  35993. #. type: table
  35994. #: guix-git/doc/guix.texi:24552
  35995. msgid "The @code{ErrorLog} to which the server will log errors."
  35996. msgstr ""
  35997. #. type: item
  35998. #: guix-git/doc/guix.texi:24553 guix-git/doc/guix.texi:25114
  35999. #, no-wrap
  36000. msgid "@code{user} (default: @code{\"httpd\"})"
  36001. msgstr ""
  36002. #. type: table
  36003. #: guix-git/doc/guix.texi:24555
  36004. msgid "The @code{User} which the server will answer requests as."
  36005. msgstr ""
  36006. #. type: item
  36007. #: guix-git/doc/guix.texi:24556
  36008. #, no-wrap
  36009. msgid "@code{group} (default: @code{\"httpd\"})"
  36010. msgstr ""
  36011. #. type: table
  36012. #: guix-git/doc/guix.texi:24558
  36013. msgid "The @code{Group} which the server will answer requests as."
  36014. msgstr ""
  36015. #. type: item
  36016. #: guix-git/doc/guix.texi:24559
  36017. #, no-wrap
  36018. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  36019. msgstr ""
  36020. #. type: table
  36021. #: guix-git/doc/guix.texi:24562
  36022. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  36023. msgstr ""
  36024. #. type: table
  36025. #: guix-git/doc/guix.texi:24565
  36026. msgid "Any values which the service is extended with will be appended to this list."
  36027. msgstr ""
  36028. #. type: deffn
  36029. #: guix-git/doc/guix.texi:24569
  36030. #, no-wrap
  36031. msgid "{Data Type} httpd-virtualhost"
  36032. msgstr ""
  36033. #. type: deffn
  36034. #: guix-git/doc/guix.texi:24571
  36035. msgid "This data type represents a virtualhost configuration block for the httpd service."
  36036. msgstr ""
  36037. #. type: deffn
  36038. #: guix-git/doc/guix.texi:24573
  36039. msgid "These should be added to the extra-config for the httpd-service."
  36040. msgstr ""
  36041. #. type: code{#1}
  36042. #: guix-git/doc/guix.texi:24585
  36043. #, no-wrap
  36044. msgid "addresses-and-ports"
  36045. msgstr ""
  36046. #. type: table
  36047. #: guix-git/doc/guix.texi:24587
  36048. msgid "The addresses and ports for the @code{VirtualHost} directive."
  36049. msgstr ""
  36050. #. type: code{#1}
  36051. #: guix-git/doc/guix.texi:24588
  36052. #, no-wrap
  36053. msgid "contents"
  36054. msgstr ""
  36055. #. type: table
  36056. #: guix-git/doc/guix.texi:24591
  36057. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  36058. msgstr ""
  36059. #. type: subsubheading
  36060. #: guix-git/doc/guix.texi:24595
  36061. #, no-wrap
  36062. msgid "NGINX"
  36063. msgstr ""
  36064. #. type: deffn
  36065. #: guix-git/doc/guix.texi:24597
  36066. #, no-wrap
  36067. msgid "{Scheme Variable} nginx-service-type"
  36068. msgstr ""
  36069. #. type: deffn
  36070. #: guix-git/doc/guix.texi:24600
  36071. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  36072. msgstr ""
  36073. #. type: lisp
  36074. #: guix-git/doc/guix.texi:24610 guix-git/doc/guix.texi:24664
  36075. #, no-wrap
  36076. msgid ""
  36077. "(service nginx-service-type\n"
  36078. " (nginx-configuration\n"
  36079. " (server-blocks\n"
  36080. " (list (nginx-server-configuration\n"
  36081. " (server-name '(\"www.example.com\"))\n"
  36082. " (root \"/srv/http/www.example.com\"))))))\n"
  36083. msgstr ""
  36084. #. type: deffn
  36085. #: guix-git/doc/guix.texi:24615
  36086. msgid "In addition to adding server blocks to the service configuration directly, this service can be extended by other services to add server blocks, as in this example:"
  36087. msgstr ""
  36088. #. type: lisp
  36089. #: guix-git/doc/guix.texi:24621
  36090. #, no-wrap
  36091. msgid ""
  36092. "(simple-service 'my-extra-server nginx-service-type\n"
  36093. " (list (nginx-server-configuration\n"
  36094. " (root \"/srv/http/extra-website\")\n"
  36095. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  36096. msgstr ""
  36097. #. type: Plain text
  36098. #: guix-git/doc/guix.texi:24632
  36099. msgid "At startup, @command{nginx} has not yet read its configuration file, so it uses a default file to log error messages. If it fails to load its configuration file, that is where error messages are logged. After the configuration file is loaded, the default error log file changes as per configuration. In our case, startup error messages can be found in @file{/var/run/nginx/logs/error.log}, and after configuration in @file{/var/log/nginx/error.log}. The second location can be changed with the @var{log-directory} configuration option."
  36100. msgstr ""
  36101. #. type: deffn
  36102. #: guix-git/doc/guix.texi:24633
  36103. #, no-wrap
  36104. msgid "{Data Type} nginx-configuration"
  36105. msgstr ""
  36106. #. type: deffn
  36107. #: guix-git/doc/guix.texi:24637
  36108. msgid "This data type represents the configuration for NGinx. Some configuration can be done through this and the other provided record types, or alternatively, a config file can be provided."
  36109. msgstr ""
  36110. #. type: item
  36111. #: guix-git/doc/guix.texi:24639
  36112. #, no-wrap
  36113. msgid "@code{nginx} (default: @code{nginx})"
  36114. msgstr ""
  36115. #. type: table
  36116. #: guix-git/doc/guix.texi:24641
  36117. msgid "The nginx package to use."
  36118. msgstr ""
  36119. #. type: item
  36120. #: guix-git/doc/guix.texi:24642
  36121. #, no-wrap
  36122. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  36123. msgstr ""
  36124. #. type: table
  36125. #: guix-git/doc/guix.texi:24644
  36126. msgid "The directory to which NGinx will write log files."
  36127. msgstr ""
  36128. #. type: item
  36129. #: guix-git/doc/guix.texi:24645
  36130. #, no-wrap
  36131. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  36132. msgstr ""
  36133. #. type: table
  36134. #: guix-git/doc/guix.texi:24648
  36135. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  36136. msgstr ""
  36137. #. type: item
  36138. #: guix-git/doc/guix.texi:24649
  36139. #, no-wrap
  36140. msgid "@code{server-blocks} (default: @code{'()})"
  36141. msgstr ""
  36142. #. type: table
  36143. #: guix-git/doc/guix.texi:24653
  36144. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  36145. msgstr ""
  36146. #. type: table
  36147. #: guix-git/doc/guix.texi:24657
  36148. msgid "The following example would setup NGinx to serve @code{www.example.com} from the @code{/srv/http/www.example.com} directory, without using HTTPS."
  36149. msgstr ""
  36150. #. type: item
  36151. #: guix-git/doc/guix.texi:24666
  36152. #, no-wrap
  36153. msgid "@code{upstream-blocks} (default: @code{'()})"
  36154. msgstr ""
  36155. #. type: table
  36156. #: guix-git/doc/guix.texi:24670
  36157. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  36158. msgstr ""
  36159. #. type: table
  36160. #: guix-git/doc/guix.texi:24677
  36161. msgid "Configuring upstreams through the @code{upstream-blocks} can be useful when combined with @code{locations} in the @code{<nginx-server-configuration>} records. The following example creates a server configuration with one location configuration, that will proxy requests to a upstream configuration, which will handle requests with two servers."
  36162. msgstr ""
  36163. #. type: lisp
  36164. #: guix-git/doc/guix.texi:24696
  36165. #, no-wrap
  36166. msgid ""
  36167. "(service\n"
  36168. " nginx-service-type\n"
  36169. " (nginx-configuration\n"
  36170. " (server-blocks\n"
  36171. " (list (nginx-server-configuration\n"
  36172. " (server-name '(\"www.example.com\"))\n"
  36173. " (root \"/srv/http/www.example.com\")\n"
  36174. " (locations\n"
  36175. " (list\n"
  36176. " (nginx-location-configuration\n"
  36177. " (uri \"/path1\")\n"
  36178. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  36179. " (upstream-blocks\n"
  36180. " (list (nginx-upstream-configuration\n"
  36181. " (name \"server-proxy\")\n"
  36182. " (servers (list \"server1.example.com\"\n"
  36183. " \"server2.example.com\")))))))\n"
  36184. msgstr ""
  36185. #. type: table
  36186. #: guix-git/doc/guix.texi:24704
  36187. msgid "If a configuration @var{file} is provided, this will be used, rather than generating a configuration file from the provided @code{log-directory}, @code{run-directory}, @code{server-blocks} and @code{upstream-blocks}. For proper operation, these arguments should match what is in @var{file} to ensure that the directories are created when the service is activated."
  36188. msgstr ""
  36189. #. type: table
  36190. #: guix-git/doc/guix.texi:24708
  36191. msgid "This can be useful if you have an existing configuration file, or it's not possible to do what is required through the other parts of the nginx-configuration record."
  36192. msgstr ""
  36193. #. type: item
  36194. #: guix-git/doc/guix.texi:24709
  36195. #, no-wrap
  36196. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  36197. msgstr ""
  36198. #. type: table
  36199. #: guix-git/doc/guix.texi:24712
  36200. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  36201. msgstr ""
  36202. #. type: item
  36203. #: guix-git/doc/guix.texi:24713
  36204. #, no-wrap
  36205. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  36206. msgstr ""
  36207. #. type: table
  36208. #: guix-git/doc/guix.texi:24715
  36209. msgid "Maximum bucket size for the server names hash tables."
  36210. msgstr ""
  36211. #. type: table
  36212. #: guix-git/doc/guix.texi:24719
  36213. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  36214. msgstr ""
  36215. #. type: lisp
  36216. #: guix-git/doc/guix.texi:24727
  36217. #, no-wrap
  36218. msgid ""
  36219. "(modules\n"
  36220. " (list\n"
  36221. " (file-append nginx-accept-language-module \"\\\n"
  36222. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  36223. " (file-append nginx-lua-module \"\\\n"
  36224. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  36225. msgstr ""
  36226. #. type: item
  36227. #: guix-git/doc/guix.texi:24729
  36228. #, no-wrap
  36229. msgid "@code{lua-package-path} (default: @code{'()})"
  36230. msgstr ""
  36231. #. type: table
  36232. #: guix-git/doc/guix.texi:24732
  36233. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  36234. msgstr ""
  36235. #. type: lisp
  36236. #: guix-git/doc/guix.texi:24739
  36237. #, no-wrap
  36238. msgid ""
  36239. "(lua-package-path (list lua-resty-core\n"
  36240. " lua-resty-lrucache\n"
  36241. " lua-resty-signal\n"
  36242. " lua-tablepool\n"
  36243. " lua-resty-shell))\n"
  36244. msgstr ""
  36245. #. type: item
  36246. #: guix-git/doc/guix.texi:24741
  36247. #, no-wrap
  36248. msgid "@code{lua-package-cpath} (default: @code{'()})"
  36249. msgstr ""
  36250. #. type: table
  36251. #: guix-git/doc/guix.texi:24744
  36252. msgid "List of nginx lua C packages to load. This should be a list of package names of loadable lua C modules, as in this example:"
  36253. msgstr ""
  36254. #. type: lisp
  36255. #: guix-git/doc/guix.texi:24747
  36256. #, no-wrap
  36257. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  36258. msgstr ""
  36259. #. type: item
  36260. #: guix-git/doc/guix.texi:24749
  36261. #, no-wrap
  36262. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  36263. msgstr ""
  36264. #. type: table
  36265. #: guix-git/doc/guix.texi:24752
  36266. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  36267. msgstr ""
  36268. #. type: lisp
  36269. #: guix-git/doc/guix.texi:24758
  36270. #, no-wrap
  36271. msgid ""
  36272. "(global-directives\n"
  36273. " `((worker_processes . 16)\n"
  36274. " (pcre_jit . on)\n"
  36275. " (events . ((worker_connections . 1024)))))\n"
  36276. msgstr ""
  36277. #. type: table
  36278. #: guix-git/doc/guix.texi:24763
  36279. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  36280. msgstr ""
  36281. #. type: deftp
  36282. #: guix-git/doc/guix.texi:24767
  36283. #, no-wrap
  36284. msgid "{Data Type} nginx-server-configuration"
  36285. msgstr ""
  36286. #. type: deftp
  36287. #: guix-git/doc/guix.texi:24770
  36288. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  36289. msgstr ""
  36290. #. type: item
  36291. #: guix-git/doc/guix.texi:24772
  36292. #, no-wrap
  36293. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  36294. msgstr ""
  36295. #. type: table
  36296. #: guix-git/doc/guix.texi:24777
  36297. msgid "Each @code{listen} directive sets the address and port for IP, or the path for a UNIX-domain socket on which the server will accept requests. Both address and port, or only address or only port can be specified. An address may also be a hostname, for example:"
  36298. msgstr ""
  36299. #. type: lisp
  36300. #: guix-git/doc/guix.texi:24780
  36301. #, no-wrap
  36302. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  36303. msgstr ""
  36304. #. type: item
  36305. #: guix-git/doc/guix.texi:24782
  36306. #, no-wrap
  36307. msgid "@code{server-name} (default: @code{(list 'default)})"
  36308. msgstr ""
  36309. #. type: table
  36310. #: guix-git/doc/guix.texi:24785
  36311. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  36312. msgstr ""
  36313. #. type: item
  36314. #: guix-git/doc/guix.texi:24786
  36315. #, no-wrap
  36316. msgid "@code{root} (default: @code{\"/srv/http\"})"
  36317. msgstr ""
  36318. #. type: table
  36319. #: guix-git/doc/guix.texi:24788
  36320. msgid "Root of the website nginx will serve."
  36321. msgstr ""
  36322. #. type: item
  36323. #: guix-git/doc/guix.texi:24789
  36324. #, no-wrap
  36325. msgid "@code{locations} (default: @code{'()})"
  36326. msgstr ""
  36327. #. type: table
  36328. #: guix-git/doc/guix.texi:24793
  36329. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  36330. msgstr ""
  36331. #. type: item
  36332. #: guix-git/doc/guix.texi:24794
  36333. #, no-wrap
  36334. msgid "@code{index} (default: @code{(list \"index.html\")})"
  36335. msgstr ""
  36336. #. type: table
  36337. #: guix-git/doc/guix.texi:24797
  36338. msgid "Index files to look for when clients ask for a directory. If it cannot be found, Nginx will send the list of files in the directory."
  36339. msgstr ""
  36340. #. type: item
  36341. #: guix-git/doc/guix.texi:24798
  36342. #, no-wrap
  36343. msgid "@code{try-files} (default: @code{'()})"
  36344. msgstr ""
  36345. #. type: table
  36346. #: guix-git/doc/guix.texi:24801
  36347. msgid "A list of files whose existence is checked in the specified order. @code{nginx} will use the first file it finds to process the request."
  36348. msgstr ""
  36349. #. type: item
  36350. #: guix-git/doc/guix.texi:24802
  36351. #, no-wrap
  36352. msgid "@code{ssl-certificate} (default: @code{#f})"
  36353. msgstr ""
  36354. #. type: table
  36355. #: guix-git/doc/guix.texi:24805
  36356. msgid "Where to find the certificate for secure connections. Set it to @code{#f} if you don't have a certificate or you don't want to use HTTPS."
  36357. msgstr ""
  36358. #. type: item
  36359. #: guix-git/doc/guix.texi:24806
  36360. #, no-wrap
  36361. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  36362. msgstr ""
  36363. #. type: table
  36364. #: guix-git/doc/guix.texi:24809
  36365. msgid "Where to find the private key for secure connections. Set it to @code{#f} if you don't have a key or you don't want to use HTTPS."
  36366. msgstr ""
  36367. #. type: item
  36368. #: guix-git/doc/guix.texi:24810
  36369. #, no-wrap
  36370. msgid "@code{server-tokens?} (default: @code{#f})"
  36371. msgstr ""
  36372. #. type: table
  36373. #: guix-git/doc/guix.texi:24812
  36374. msgid "Whether the server should add its configuration to response."
  36375. msgstr ""
  36376. #. type: item
  36377. #: guix-git/doc/guix.texi:24813
  36378. #, no-wrap
  36379. msgid "@code{raw-content} (default: @code{'()})"
  36380. msgstr ""
  36381. #. type: table
  36382. #: guix-git/doc/guix.texi:24815
  36383. msgid "A list of raw lines added to the server block."
  36384. msgstr ""
  36385. #. type: deftp
  36386. #: guix-git/doc/guix.texi:24819
  36387. #, no-wrap
  36388. msgid "{Data Type} nginx-upstream-configuration"
  36389. msgstr ""
  36390. #. type: deftp
  36391. #: guix-git/doc/guix.texi:24822
  36392. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  36393. msgstr ""
  36394. #. type: table
  36395. #: guix-git/doc/guix.texi:24826
  36396. msgid "Name for this group of servers."
  36397. msgstr ""
  36398. #. type: code{#1}
  36399. #: guix-git/doc/guix.texi:24827
  36400. #, no-wrap
  36401. msgid "servers"
  36402. msgstr ""
  36403. #. type: table
  36404. #: guix-git/doc/guix.texi:24834
  36405. msgid "Specify the addresses of the servers in the group. The address can be specified as a IP address (e.g.@: @samp{127.0.0.1}), domain name (e.g.@: @samp{backend1.example.com}) or a path to a UNIX socket using the prefix @samp{unix:}. For addresses using an IP address or domain name, the default port is 80, and a different port can be specified explicitly."
  36406. msgstr ""
  36407. #. type: deftp
  36408. #: guix-git/doc/guix.texi:24838
  36409. #, no-wrap
  36410. msgid "{Data Type} nginx-location-configuration"
  36411. msgstr ""
  36412. #. type: deftp
  36413. #: guix-git/doc/guix.texi:24841
  36414. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  36415. msgstr ""
  36416. #. type: table
  36417. #: guix-git/doc/guix.texi:24845
  36418. msgid "URI which this location block matches."
  36419. msgstr ""
  36420. #. type: anchor{#1}
  36421. #: guix-git/doc/guix.texi:24847
  36422. msgid "nginx-location-configuration body"
  36423. msgstr ""
  36424. #. type: code{#1}
  36425. #: guix-git/doc/guix.texi:24847 guix-git/doc/guix.texi:24868
  36426. #, no-wrap
  36427. msgid "body"
  36428. msgstr ""
  36429. #. type: table
  36430. #: guix-git/doc/guix.texi:24854
  36431. msgid "Body of the location block, specified as a list of strings. This can contain many configuration directives. For example, to pass requests to a upstream server group defined using an @code{nginx-upstream-configuration} block, the following directive would be specified in the body @samp{(list \"proxy_pass http://upstream-name;\")}."
  36432. msgstr ""
  36433. #. type: deftp
  36434. #: guix-git/doc/guix.texi:24858
  36435. #, no-wrap
  36436. msgid "{Data Type} nginx-named-location-configuration"
  36437. msgstr ""
  36438. #. type: deftp
  36439. #: guix-git/doc/guix.texi:24863
  36440. msgid "Data type representing the configuration of an nginx named location block. Named location blocks are used for request redirection, and not used for regular request processing. This type has the following parameters:"
  36441. msgstr ""
  36442. #. type: table
  36443. #: guix-git/doc/guix.texi:24867
  36444. msgid "Name to identify this location block."
  36445. msgstr ""
  36446. #. type: table
  36447. #: guix-git/doc/guix.texi:24873
  36448. msgid "@xref{nginx-location-configuration body}, as the body for named location blocks can be used in a similar way to the @code{nginx-location-configuration body}. One restriction is that the body of a named location block cannot contain location blocks."
  36449. msgstr ""
  36450. #. type: subsubheading
  36451. #: guix-git/doc/guix.texi:24877
  36452. #, no-wrap
  36453. msgid "Varnish Cache"
  36454. msgstr ""
  36455. #. type: cindex
  36456. #: guix-git/doc/guix.texi:24878
  36457. #, no-wrap
  36458. msgid "Varnish"
  36459. msgstr ""
  36460. #. type: Plain text
  36461. #: guix-git/doc/guix.texi:24883
  36462. msgid "Varnish is a fast cache server that sits in between web applications and end users. It proxies requests from clients and caches the accessed URLs such that multiple requests for the same resource only creates one request to the back-end."
  36463. msgstr ""
  36464. #. type: defvr
  36465. #: guix-git/doc/guix.texi:24884
  36466. #, no-wrap
  36467. msgid "{Scheme Variable} varnish-service-type"
  36468. msgstr ""
  36469. #. type: defvr
  36470. #: guix-git/doc/guix.texi:24886
  36471. msgid "Service type for the Varnish daemon."
  36472. msgstr ""
  36473. #. type: deftp
  36474. #: guix-git/doc/guix.texi:24888
  36475. #, no-wrap
  36476. msgid "{Data Type} varnish-configuration"
  36477. msgstr ""
  36478. #. type: deftp
  36479. #: guix-git/doc/guix.texi:24891
  36480. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  36481. msgstr ""
  36482. #. type: item
  36483. #: guix-git/doc/guix.texi:24893
  36484. #, no-wrap
  36485. msgid "@code{package} (default: @code{varnish})"
  36486. msgstr ""
  36487. #. type: table
  36488. #: guix-git/doc/guix.texi:24895
  36489. msgid "The Varnish package to use."
  36490. msgstr ""
  36491. #. type: item
  36492. #: guix-git/doc/guix.texi:24896
  36493. #, no-wrap
  36494. msgid "@code{name} (default: @code{\"default\"})"
  36495. msgstr ""
  36496. #. type: table
  36497. #: guix-git/doc/guix.texi:24901
  36498. msgid "A name for this Varnish instance. Varnish will create a directory in @file{/var/varnish/} with this name and keep temporary files there. If the name starts with a forward slash, it is interpreted as an absolute directory name."
  36499. msgstr ""
  36500. #. type: table
  36501. #: guix-git/doc/guix.texi:24904
  36502. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  36503. msgstr ""
  36504. #. type: item
  36505. #: guix-git/doc/guix.texi:24905
  36506. #, no-wrap
  36507. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  36508. msgstr ""
  36509. #. type: table
  36510. #: guix-git/doc/guix.texi:24907
  36511. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  36512. msgstr ""
  36513. #. type: item
  36514. #: guix-git/doc/guix.texi:24908
  36515. #, no-wrap
  36516. msgid "@code{vcl} (default: #f)"
  36517. msgstr ""
  36518. #. type: table
  36519. #: guix-git/doc/guix.texi:24913
  36520. msgid "The @dfn{VCL} (Varnish Configuration Language) program to run. If this is @code{#f}, Varnish will proxy @code{backend} using the default configuration. Otherwise this must be a file-like object with valid VCL syntax."
  36521. msgstr ""
  36522. #. type: table
  36523. #: guix-git/doc/guix.texi:24917
  36524. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  36525. msgstr ""
  36526. #. type: lisp
  36527. #: guix-git/doc/guix.texi:24923
  36528. #, no-wrap
  36529. msgid ""
  36530. "(define %gnu-mirror\n"
  36531. " (plain-file \"gnu.vcl\"\n"
  36532. " \"vcl 4.1;\n"
  36533. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  36534. "\n"
  36535. msgstr ""
  36536. #. type: lisp
  36537. #: guix-git/doc/guix.texi:24931
  36538. #, no-wrap
  36539. msgid ""
  36540. "(operating-system\n"
  36541. " ;; @dots{}\n"
  36542. " (services (cons (service varnish-service-type\n"
  36543. " (varnish-configuration\n"
  36544. " (listen '(\":80\"))\n"
  36545. " (vcl %gnu-mirror)))\n"
  36546. " %base-services)))\n"
  36547. msgstr ""
  36548. #. type: table
  36549. #: guix-git/doc/guix.texi:24935
  36550. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  36551. msgstr ""
  36552. #. type: table
  36553. #: guix-git/doc/guix.texi:24939
  36554. msgid "Consult the @url{https://varnish-cache.org/docs/,Varnish User Guide} and @url{https://book.varnish-software.com/4.0/,Varnish Book} for comprehensive documentation on Varnish and its configuration language."
  36555. msgstr ""
  36556. #. type: item
  36557. #: guix-git/doc/guix.texi:24940
  36558. #, no-wrap
  36559. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  36560. msgstr ""
  36561. #. type: table
  36562. #: guix-git/doc/guix.texi:24942
  36563. msgid "List of addresses Varnish will listen on."
  36564. msgstr ""
  36565. #. type: item
  36566. #: guix-git/doc/guix.texi:24943
  36567. #, no-wrap
  36568. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  36569. msgstr ""
  36570. #. type: table
  36571. #: guix-git/doc/guix.texi:24945
  36572. msgid "List of storage backends that will be available in VCL."
  36573. msgstr ""
  36574. #. type: item
  36575. #: guix-git/doc/guix.texi:24946
  36576. #, no-wrap
  36577. msgid "@code{parameters} (default: @code{'()})"
  36578. msgstr ""
  36579. #. type: table
  36580. #: guix-git/doc/guix.texi:24948
  36581. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  36582. msgstr ""
  36583. #. type: table
  36584. #: guix-git/doc/guix.texi:24951
  36585. msgid "Additional arguments to pass to the @command{varnishd} process."
  36586. msgstr ""
  36587. #. type: cindex
  36588. #: guix-git/doc/guix.texi:24955 guix-git/doc/guix.texi:24956
  36589. #, no-wrap
  36590. msgid "Patchwork"
  36591. msgstr ""
  36592. #. type: Plain text
  36593. #: guix-git/doc/guix.texi:24959
  36594. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  36595. msgstr ""
  36596. #. type: defvr
  36597. #: guix-git/doc/guix.texi:24960
  36598. #, no-wrap
  36599. msgid "{Scheme Variable} patchwork-service-type"
  36600. msgstr ""
  36601. #. type: defvr
  36602. #: guix-git/doc/guix.texi:24962
  36603. msgid "Service type for Patchwork."
  36604. msgstr ""
  36605. #. type: Plain text
  36606. #: guix-git/doc/guix.texi:24966
  36607. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  36608. msgstr ""
  36609. #. type: lisp
  36610. #: guix-git/doc/guix.texi:24986
  36611. #, no-wrap
  36612. msgid ""
  36613. "(service patchwork-service-type\n"
  36614. " (patchwork-configuration\n"
  36615. " (domain \"patchwork.example.com\")\n"
  36616. " (settings-module\n"
  36617. " (patchwork-settings-module\n"
  36618. " (allowed-hosts (list domain))\n"
  36619. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  36620. " (getmail-retriever-config\n"
  36621. " (getmail-retriever-configuration\n"
  36622. " (type \"SimpleIMAPSSLRetriever\")\n"
  36623. " (server \"imap.example.com\")\n"
  36624. " (port 993)\n"
  36625. " (username \"patchwork\")\n"
  36626. " (password-command\n"
  36627. " (list (file-append coreutils \"/bin/cat\")\n"
  36628. " \"/etc/getmail-patchwork-imap-password\"))\n"
  36629. " (extra-parameters\n"
  36630. " '((mailboxes . (\"Patches\"))))))))\n"
  36631. "\n"
  36632. msgstr ""
  36633. #. type: Plain text
  36634. #: guix-git/doc/guix.texi:24992
  36635. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  36636. msgstr ""
  36637. #. type: Plain text
  36638. #: guix-git/doc/guix.texi:24996
  36639. msgid "The @code{settings-module} field within the @code{<patchwork-configuration>} record can be populated with the @code{<patchwork-settings-module>} record, which describes a settings module that is generated within the Guix store."
  36640. msgstr ""
  36641. #. type: Plain text
  36642. #: guix-git/doc/guix.texi:25000
  36643. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  36644. msgstr ""
  36645. #. type: deftp
  36646. #: guix-git/doc/guix.texi:25001
  36647. #, no-wrap
  36648. msgid "{Data Type} patchwork-configuration"
  36649. msgstr ""
  36650. #. type: deftp
  36651. #: guix-git/doc/guix.texi:25004
  36652. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  36653. msgstr ""
  36654. #. type: item
  36655. #: guix-git/doc/guix.texi:25006
  36656. #, no-wrap
  36657. msgid "@code{patchwork} (default: @code{patchwork})"
  36658. msgstr ""
  36659. #. type: table
  36660. #: guix-git/doc/guix.texi:25008
  36661. msgid "The Patchwork package to use."
  36662. msgstr ""
  36663. #. type: code{#1}
  36664. #: guix-git/doc/guix.texi:25009
  36665. #, no-wrap
  36666. msgid "domain"
  36667. msgstr ""
  36668. #. type: table
  36669. #: guix-git/doc/guix.texi:25012
  36670. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  36671. msgstr ""
  36672. #. type: code{#1}
  36673. #: guix-git/doc/guix.texi:25013
  36674. #, no-wrap
  36675. msgid "settings-module"
  36676. msgstr ""
  36677. #. type: table
  36678. #: guix-git/doc/guix.texi:25019
  36679. msgid "The settings module to use for Patchwork. As a Django application, Patchwork is configured with a Python module containing the settings. This can either be an instance of the @code{<patchwork-settings-module>} record, any other record that represents the settings in the store, or a directory outside of the store."
  36680. msgstr ""
  36681. #. type: item
  36682. #: guix-git/doc/guix.texi:25020
  36683. #, no-wrap
  36684. msgid "@code{static-path} (default: @code{\"/static/\"})"
  36685. msgstr ""
  36686. #. type: table
  36687. #: guix-git/doc/guix.texi:25022
  36688. msgid "The path under which the HTTPD service should serve the static files."
  36689. msgstr ""
  36690. #. type: code{#1}
  36691. #: guix-git/doc/guix.texi:25023
  36692. #, no-wrap
  36693. msgid "getmail-retriever-config"
  36694. msgstr ""
  36695. #. type: table
  36696. #: guix-git/doc/guix.texi:25027
  36697. msgid "The getmail-retriever-configuration record value to use with Patchwork. Getmail will be configured with this value, the messages will be delivered to Patchwork."
  36698. msgstr ""
  36699. #. type: deftp
  36700. #: guix-git/doc/guix.texi:25031
  36701. #, no-wrap
  36702. msgid "{Data Type} patchwork-settings-module"
  36703. msgstr ""
  36704. #. type: deftp
  36705. #: guix-git/doc/guix.texi:25036
  36706. msgid "Data type representing a settings module for Patchwork. Some of these settings relate directly to Patchwork, but others relate to Django, the web framework used by Patchwork, or the Django Rest Framework library. This type has the following parameters:"
  36707. msgstr ""
  36708. #. type: item
  36709. #: guix-git/doc/guix.texi:25038
  36710. #, no-wrap
  36711. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  36712. msgstr ""
  36713. #. type: table
  36714. #: guix-git/doc/guix.texi:25041
  36715. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  36716. msgstr ""
  36717. #. type: item
  36718. #: guix-git/doc/guix.texi:25042
  36719. #, no-wrap
  36720. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  36721. msgstr ""
  36722. #. type: table
  36723. #: guix-git/doc/guix.texi:25045
  36724. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  36725. msgstr ""
  36726. #. type: table
  36727. #: guix-git/doc/guix.texi:25048
  36728. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  36729. msgstr ""
  36730. #. type: table
  36731. #: guix-git/doc/guix.texi:25050
  36732. msgid "This setting relates to Django."
  36733. msgstr ""
  36734. #. type: code{#1}
  36735. #: guix-git/doc/guix.texi:25051
  36736. #, no-wrap
  36737. msgid "allowed-hosts"
  36738. msgstr ""
  36739. #. type: table
  36740. #: guix-git/doc/guix.texi:25054
  36741. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  36742. msgstr ""
  36743. #. type: table
  36744. #: guix-git/doc/guix.texi:25056 guix-git/doc/guix.texi:25070
  36745. #: guix-git/doc/guix.texi:25076 guix-git/doc/guix.texi:25082
  36746. msgid "This is a Django setting."
  36747. msgstr ""
  36748. #. type: code{#1}
  36749. #: guix-git/doc/guix.texi:25057
  36750. #, no-wrap
  36751. msgid "default-from-email"
  36752. msgstr ""
  36753. #. type: table
  36754. #: guix-git/doc/guix.texi:25059
  36755. msgid "The email address from which Patchwork should send email by default."
  36756. msgstr ""
  36757. #. type: table
  36758. #: guix-git/doc/guix.texi:25061 guix-git/doc/guix.texi:25087
  36759. #: guix-git/doc/guix.texi:25092 guix-git/doc/guix.texi:25097
  36760. msgid "This is a Patchwork setting."
  36761. msgstr ""
  36762. #. type: item
  36763. #: guix-git/doc/guix.texi:25062
  36764. #, no-wrap
  36765. msgid "@code{static-url} (default: @code{#f})"
  36766. msgstr ""
  36767. #. type: table
  36768. #: guix-git/doc/guix.texi:25065
  36769. msgid "The URL to use when serving static assets. It can be part of a URL, or a full URL, but must end in a @code{/}."
  36770. msgstr ""
  36771. #. type: table
  36772. #: guix-git/doc/guix.texi:25068
  36773. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  36774. msgstr ""
  36775. #. type: item
  36776. #: guix-git/doc/guix.texi:25071
  36777. #, no-wrap
  36778. msgid "@code{admins} (default: @code{'()})"
  36779. msgstr ""
  36780. #. type: table
  36781. #: guix-git/doc/guix.texi:25074
  36782. msgid "Email addresses to send the details of errors that occur. Each value should be a list containing two elements, the name and then the email address."
  36783. msgstr ""
  36784. #. type: table
  36785. #: guix-git/doc/guix.texi:25080
  36786. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  36787. msgstr ""
  36788. #. type: item
  36789. #: guix-git/doc/guix.texi:25083
  36790. #, no-wrap
  36791. msgid "@code{enable-rest-api?} (default: @code{#t})"
  36792. msgstr ""
  36793. #. type: table
  36794. #: guix-git/doc/guix.texi:25085
  36795. msgid "Whether to enable the Patchwork REST API."
  36796. msgstr ""
  36797. #. type: item
  36798. #: guix-git/doc/guix.texi:25088
  36799. #, no-wrap
  36800. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  36801. msgstr ""
  36802. #. type: table
  36803. #: guix-git/doc/guix.texi:25090
  36804. msgid "Whether to enable the XML RPC API."
  36805. msgstr ""
  36806. #. type: item
  36807. #: guix-git/doc/guix.texi:25093
  36808. #, no-wrap
  36809. msgid "@code{force-https-links?} (default: @code{#t})"
  36810. msgstr ""
  36811. #. type: table
  36812. #: guix-git/doc/guix.texi:25095
  36813. msgid "Whether to use HTTPS links on Patchwork pages."
  36814. msgstr ""
  36815. #. type: table
  36816. #: guix-git/doc/guix.texi:25100
  36817. msgid "Extra code to place at the end of the Patchwork settings module."
  36818. msgstr ""
  36819. #. type: deftp
  36820. #: guix-git/doc/guix.texi:25104
  36821. #, no-wrap
  36822. msgid "{Data Type} patchwork-database-configuration"
  36823. msgstr ""
  36824. #. type: deftp
  36825. #: guix-git/doc/guix.texi:25106
  36826. msgid "Data type representing the database configuration for Patchwork."
  36827. msgstr ""
  36828. #. type: item
  36829. #: guix-git/doc/guix.texi:25108
  36830. #, no-wrap
  36831. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  36832. msgstr ""
  36833. #. type: table
  36834. #: guix-git/doc/guix.texi:25110
  36835. msgid "The database engine to use."
  36836. msgstr ""
  36837. #. type: item
  36838. #: guix-git/doc/guix.texi:25111
  36839. #, no-wrap
  36840. msgid "@code{name} (default: @code{\"patchwork\"})"
  36841. msgstr ""
  36842. #. type: table
  36843. #: guix-git/doc/guix.texi:25113
  36844. msgid "The name of the database to use."
  36845. msgstr ""
  36846. #. type: table
  36847. #: guix-git/doc/guix.texi:25116
  36848. msgid "The user to connect to the database as."
  36849. msgstr ""
  36850. #. type: item
  36851. #: guix-git/doc/guix.texi:25117
  36852. #, no-wrap
  36853. msgid "@code{password} (default: @code{\"\"})"
  36854. msgstr ""
  36855. #. type: table
  36856. #: guix-git/doc/guix.texi:25119
  36857. msgid "The password to use when connecting to the database."
  36858. msgstr ""
  36859. #. type: item
  36860. #: guix-git/doc/guix.texi:25120
  36861. #, no-wrap
  36862. msgid "@code{host} (default: @code{\"\"})"
  36863. msgstr ""
  36864. #. type: table
  36865. #: guix-git/doc/guix.texi:25122
  36866. msgid "The host to make the database connection to."
  36867. msgstr ""
  36868. #. type: item
  36869. #: guix-git/doc/guix.texi:25123
  36870. #, no-wrap
  36871. msgid "@code{port} (default: @code{\"\"})"
  36872. msgstr ""
  36873. #. type: table
  36874. #: guix-git/doc/guix.texi:25125
  36875. msgid "The port on which to connect to the database."
  36876. msgstr ""
  36877. #. type: subsubheading
  36878. #: guix-git/doc/guix.texi:25129
  36879. #, no-wrap
  36880. msgid "Mumi"
  36881. msgstr ""
  36882. #. type: cindex
  36883. #: guix-git/doc/guix.texi:25131
  36884. #, no-wrap
  36885. msgid "Mumi, Debbugs Web interface"
  36886. msgstr ""
  36887. #. type: cindex
  36888. #: guix-git/doc/guix.texi:25132
  36889. #, no-wrap
  36890. msgid "Debbugs, Mumi Web interface"
  36891. msgstr ""
  36892. #. type: Plain text
  36893. #: guix-git/doc/guix.texi:25137
  36894. msgid "@uref{https://git.elephly.net/gitweb.cgi?p=software/mumi.git, Mumi} is a Web interface to the Debbugs bug tracker, by default for @uref{https://bugs.gnu.org, the GNU instance}. Mumi is a Web server, but it also fetches and indexes mail retrieved from Debbugs."
  36895. msgstr ""
  36896. #. type: defvr
  36897. #: guix-git/doc/guix.texi:25138
  36898. #, no-wrap
  36899. msgid "{Scheme Variable} mumi-service-type"
  36900. msgstr ""
  36901. #. type: defvr
  36902. #: guix-git/doc/guix.texi:25140
  36903. msgid "This is the service type for Mumi."
  36904. msgstr ""
  36905. #. type: deftp
  36906. #: guix-git/doc/guix.texi:25142
  36907. #, no-wrap
  36908. msgid "{Data Type} mumi-configuration"
  36909. msgstr ""
  36910. #. type: deftp
  36911. #: guix-git/doc/guix.texi:25145
  36912. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  36913. msgstr ""
  36914. #. type: item
  36915. #: guix-git/doc/guix.texi:25147
  36916. #, no-wrap
  36917. msgid "@code{mumi} (default: @code{mumi})"
  36918. msgstr ""
  36919. #. type: table
  36920. #: guix-git/doc/guix.texi:25149
  36921. msgid "The Mumi package to use."
  36922. msgstr ""
  36923. #. type: item
  36924. #: guix-git/doc/guix.texi:25150
  36925. #, no-wrap
  36926. msgid "@code{mailer?} (default: @code{#true})"
  36927. msgstr ""
  36928. #. type: table
  36929. #: guix-git/doc/guix.texi:25152
  36930. msgid "Whether to enable or disable the mailer component."
  36931. msgstr ""
  36932. #. type: code{#1}
  36933. #: guix-git/doc/guix.texi:25153
  36934. #, no-wrap
  36935. msgid "mumi-configuration-sender"
  36936. msgstr ""
  36937. #. type: table
  36938. #: guix-git/doc/guix.texi:25155
  36939. msgid "The email address used as the sender for comments."
  36940. msgstr ""
  36941. #. type: code{#1}
  36942. #: guix-git/doc/guix.texi:25156
  36943. #, no-wrap
  36944. msgid "mumi-configuration-smtp"
  36945. msgstr ""
  36946. #. type: table
  36947. #: guix-git/doc/guix.texi:25161
  36948. msgid "A URI to configure the SMTP settings for Mailutils. This could be something like @code{sendmail:///path/to/bin/msmtp} or any other URI supported by Mailutils. @xref{SMTP Mailboxes, SMTP Mailboxes,, mailutils, GNU@tie{}Mailutils}."
  36949. msgstr ""
  36950. #. type: subsubheading
  36951. #: guix-git/doc/guix.texi:25166
  36952. #, no-wrap
  36953. msgid "FastCGI"
  36954. msgstr ""
  36955. #. type: cindex
  36956. #: guix-git/doc/guix.texi:25167
  36957. #, no-wrap
  36958. msgid "fastcgi"
  36959. msgstr ""
  36960. #. type: cindex
  36961. #: guix-git/doc/guix.texi:25168
  36962. #, no-wrap
  36963. msgid "fcgiwrap"
  36964. msgstr ""
  36965. #. type: Plain text
  36966. #: guix-git/doc/guix.texi:25175
  36967. msgid "FastCGI is an interface between the front-end and the back-end of a web service. It is a somewhat legacy facility; new web services should generally just talk HTTP between the front-end and the back-end. However there are a number of back-end services such as PHP or the optimized HTTP Git repository access that use FastCGI, so we have support for it in Guix."
  36968. msgstr ""
  36969. #. type: Plain text
  36970. #: guix-git/doc/guix.texi:25182
  36971. msgid "To use FastCGI, you configure the front-end web server (e.g., nginx) to dispatch some subset of its requests to the fastcgi backend, which listens on a local TCP or UNIX socket. There is an intermediary @code{fcgiwrap} program that sits between the actual backend process and the web server. The front-end indicates which backend program to run, passing that information to the @code{fcgiwrap} process."
  36972. msgstr ""
  36973. #. type: defvr
  36974. #: guix-git/doc/guix.texi:25183
  36975. #, no-wrap
  36976. msgid "{Scheme Variable} fcgiwrap-service-type"
  36977. msgstr ""
  36978. #. type: defvr
  36979. #: guix-git/doc/guix.texi:25185
  36980. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  36981. msgstr ""
  36982. #. type: deftp
  36983. #: guix-git/doc/guix.texi:25187
  36984. #, no-wrap
  36985. msgid "{Data Type} fcgiwrap-configuration"
  36986. msgstr ""
  36987. #. type: deftp
  36988. #: guix-git/doc/guix.texi:25190
  36989. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  36990. msgstr ""
  36991. #. type: item
  36992. #: guix-git/doc/guix.texi:25191
  36993. #, no-wrap
  36994. msgid "@code{package} (default: @code{fcgiwrap})"
  36995. msgstr ""
  36996. #. type: table
  36997. #: guix-git/doc/guix.texi:25193
  36998. msgid "The fcgiwrap package to use."
  36999. msgstr ""
  37000. #. type: item
  37001. #: guix-git/doc/guix.texi:25194
  37002. #, no-wrap
  37003. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  37004. msgstr ""
  37005. #. type: table
  37006. #: guix-git/doc/guix.texi:25200
  37007. msgid "The socket on which the @code{fcgiwrap} process should listen, as a string. Valid @var{socket} values include @code{unix:@var{/path/to/unix/socket}}, @code{tcp:@var{dot.ted.qu.ad}:@var{port}} and @code{tcp6:[@var{ipv6_addr}]:port}."
  37008. msgstr ""
  37009. #. type: item
  37010. #: guix-git/doc/guix.texi:25201
  37011. #, no-wrap
  37012. msgid "@code{user} (default: @code{fcgiwrap})"
  37013. msgstr ""
  37014. #. type: itemx
  37015. #: guix-git/doc/guix.texi:25202
  37016. #, no-wrap
  37017. msgid "@code{group} (default: @code{fcgiwrap})"
  37018. msgstr ""
  37019. #. type: table
  37020. #: guix-git/doc/guix.texi:25207
  37021. msgid "The user and group names, as strings, under which to run the @code{fcgiwrap} process. The @code{fastcgi} service will ensure that if the user asks for the specific user or group names @code{fcgiwrap} that the corresponding user and/or group is present on the system."
  37022. msgstr ""
  37023. #. type: table
  37024. #: guix-git/doc/guix.texi:25214
  37025. msgid "It is possible to configure a FastCGI-backed web service to pass HTTP authentication information from the front-end to the back-end, and to allow @code{fcgiwrap} to run the back-end process as a corresponding local user. To enable this capability on the back-end, run @code{fcgiwrap} as the @code{root} user and group. Note that this capability also has to be configured on the front-end as well."
  37026. msgstr ""
  37027. #. type: cindex
  37028. #: guix-git/doc/guix.texi:25217
  37029. #, no-wrap
  37030. msgid "php-fpm"
  37031. msgstr ""
  37032. #. type: Plain text
  37033. #: guix-git/doc/guix.texi:25220
  37034. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  37035. msgstr ""
  37036. #. type: Plain text
  37037. #: guix-git/doc/guix.texi:25222
  37038. msgid "These features include:"
  37039. msgstr ""
  37040. #. type: item
  37041. #: guix-git/doc/guix.texi:25223
  37042. #, no-wrap
  37043. msgid "Adaptive process spawning"
  37044. msgstr ""
  37045. #. type: item
  37046. #: guix-git/doc/guix.texi:25224
  37047. #, no-wrap
  37048. msgid "Basic statistics (similar to Apache's mod_status)"
  37049. msgstr ""
  37050. #. type: item
  37051. #: guix-git/doc/guix.texi:25225
  37052. #, no-wrap
  37053. msgid "Advanced process management with graceful stop/start"
  37054. msgstr ""
  37055. #. type: item
  37056. #: guix-git/doc/guix.texi:25226
  37057. #, no-wrap
  37058. msgid "Ability to start workers with different uid/gid/chroot/environment"
  37059. msgstr ""
  37060. #. type: itemize
  37061. #: guix-git/doc/guix.texi:25228
  37062. msgid "and different php.ini (replaces safe_mode)"
  37063. msgstr ""
  37064. #. type: item
  37065. #: guix-git/doc/guix.texi:25228
  37066. #, no-wrap
  37067. msgid "Stdout & stderr logging"
  37068. msgstr ""
  37069. #. type: item
  37070. #: guix-git/doc/guix.texi:25229
  37071. #, no-wrap
  37072. msgid "Emergency restart in case of accidental opcode cache destruction"
  37073. msgstr ""
  37074. #. type: item
  37075. #: guix-git/doc/guix.texi:25230
  37076. #, no-wrap
  37077. msgid "Accelerated upload support"
  37078. msgstr ""
  37079. #. type: item
  37080. #: guix-git/doc/guix.texi:25231
  37081. #, no-wrap
  37082. msgid "Support for a \"slowlog\""
  37083. msgstr ""
  37084. #. type: item
  37085. #: guix-git/doc/guix.texi:25232
  37086. #, no-wrap
  37087. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  37088. msgstr ""
  37089. #. type: itemize
  37090. #: guix-git/doc/guix.texi:25235
  37091. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  37092. msgstr ""
  37093. #. type: Plain text
  37094. #: guix-git/doc/guix.texi:25237
  37095. msgid "...@: and much more."
  37096. msgstr ""
  37097. #. type: defvr
  37098. #: guix-git/doc/guix.texi:25238
  37099. #, no-wrap
  37100. msgid "{Scheme Variable} php-fpm-service-type"
  37101. msgstr ""
  37102. #. type: defvr
  37103. #: guix-git/doc/guix.texi:25240
  37104. msgid "A Service type for @code{php-fpm}."
  37105. msgstr ""
  37106. #. type: deftp
  37107. #: guix-git/doc/guix.texi:25242
  37108. #, no-wrap
  37109. msgid "{Data Type} php-fpm-configuration"
  37110. msgstr ""
  37111. #. type: deftp
  37112. #: guix-git/doc/guix.texi:25244
  37113. msgid "Data Type for php-fpm service configuration."
  37114. msgstr ""
  37115. #. type: item
  37116. #: guix-git/doc/guix.texi:25245
  37117. #, no-wrap
  37118. msgid "@code{php} (default: @code{php})"
  37119. msgstr ""
  37120. #. type: table
  37121. #: guix-git/doc/guix.texi:25247
  37122. msgid "The php package to use."
  37123. msgstr ""
  37124. #. type: item
  37125. #: guix-git/doc/guix.texi:25247
  37126. #, no-wrap
  37127. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  37128. msgstr ""
  37129. #. type: table
  37130. #: guix-git/doc/guix.texi:25249
  37131. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  37132. msgstr ""
  37133. #. type: code{#1}
  37134. #: guix-git/doc/guix.texi:25250
  37135. #, no-wrap
  37136. msgid "\"ip.add.re.ss:port\""
  37137. msgstr ""
  37138. #. type: table
  37139. #: guix-git/doc/guix.texi:25252
  37140. msgid "Listen on a TCP socket to a specific address on a specific port."
  37141. msgstr ""
  37142. #. type: code{#1}
  37143. #: guix-git/doc/guix.texi:25252
  37144. #, no-wrap
  37145. msgid "\"port\""
  37146. msgstr ""
  37147. #. type: table
  37148. #: guix-git/doc/guix.texi:25254
  37149. msgid "Listen on a TCP socket to all addresses on a specific port."
  37150. msgstr ""
  37151. #. type: code{#1}
  37152. #: guix-git/doc/guix.texi:25254
  37153. #, no-wrap
  37154. msgid "\"/path/to/unix/socket\""
  37155. msgstr ""
  37156. #. type: table
  37157. #: guix-git/doc/guix.texi:25256
  37158. msgid "Listen on a unix socket."
  37159. msgstr ""
  37160. #. type: item
  37161. #: guix-git/doc/guix.texi:25258
  37162. #, no-wrap
  37163. msgid "@code{user} (default: @code{php-fpm})"
  37164. msgstr ""
  37165. #. type: table
  37166. #: guix-git/doc/guix.texi:25260
  37167. msgid "User who will own the php worker processes."
  37168. msgstr ""
  37169. #. type: item
  37170. #: guix-git/doc/guix.texi:25260
  37171. #, no-wrap
  37172. msgid "@code{group} (default: @code{php-fpm})"
  37173. msgstr ""
  37174. #. type: table
  37175. #: guix-git/doc/guix.texi:25262
  37176. msgid "Group of the worker processes."
  37177. msgstr ""
  37178. #. type: item
  37179. #: guix-git/doc/guix.texi:25262
  37180. #, no-wrap
  37181. msgid "@code{socket-user} (default: @code{php-fpm})"
  37182. msgstr ""
  37183. #. type: table
  37184. #: guix-git/doc/guix.texi:25264
  37185. msgid "User who can speak to the php-fpm socket."
  37186. msgstr ""
  37187. #. type: item
  37188. #: guix-git/doc/guix.texi:25264
  37189. #, no-wrap
  37190. msgid "@code{socket-group} (default: @code{nginx})"
  37191. msgstr ""
  37192. #. type: table
  37193. #: guix-git/doc/guix.texi:25266
  37194. msgid "Group that can speak to the php-fpm socket."
  37195. msgstr ""
  37196. #. type: item
  37197. #: guix-git/doc/guix.texi:25266
  37198. #, no-wrap
  37199. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  37200. msgstr ""
  37201. #. type: table
  37202. #: guix-git/doc/guix.texi:25269
  37203. msgid "The process id of the php-fpm process is written to this file once the service has started."
  37204. msgstr ""
  37205. #. type: item
  37206. #: guix-git/doc/guix.texi:25269
  37207. #, no-wrap
  37208. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  37209. msgstr ""
  37210. #. type: table
  37211. #: guix-git/doc/guix.texi:25271
  37212. msgid "Log for the php-fpm master process."
  37213. msgstr ""
  37214. #. type: item
  37215. #: guix-git/doc/guix.texi:25271
  37216. #, no-wrap
  37217. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  37218. msgstr ""
  37219. #. type: table
  37220. #: guix-git/doc/guix.texi:25274
  37221. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  37222. msgstr ""
  37223. #. type: code{#1}
  37224. #: guix-git/doc/guix.texi:25275
  37225. #, no-wrap
  37226. msgid "<php-fpm-dynamic-process-manager-configuration>"
  37227. msgstr ""
  37228. #. type: code{#1}
  37229. #: guix-git/doc/guix.texi:25276
  37230. #, no-wrap
  37231. msgid "<php-fpm-static-process-manager-configuration>"
  37232. msgstr ""
  37233. #. type: code{#1}
  37234. #: guix-git/doc/guix.texi:25277
  37235. #, no-wrap
  37236. msgid "<php-fpm-on-demand-process-manager-configuration>"
  37237. msgstr ""
  37238. #. type: item
  37239. #: guix-git/doc/guix.texi:25279
  37240. #, no-wrap
  37241. msgid "@code{display-errors} (default @code{#f})"
  37242. msgstr ""
  37243. #. type: table
  37244. #: guix-git/doc/guix.texi:25284
  37245. msgid "Determines whether php errors and warning should be sent to clients and displayed in their browsers. This is useful for local php development, but a security risk for public sites, as error messages can reveal passwords and personal data."
  37246. msgstr ""
  37247. #. type: item
  37248. #: guix-git/doc/guix.texi:25284
  37249. #, no-wrap
  37250. msgid "@code{timezone} (default @code{#f})"
  37251. msgstr ""
  37252. #. type: table
  37253. #: guix-git/doc/guix.texi:25286
  37254. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  37255. msgstr ""
  37256. #. type: item
  37257. #: guix-git/doc/guix.texi:25286
  37258. #, no-wrap
  37259. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  37260. msgstr ""
  37261. #. type: table
  37262. #: guix-git/doc/guix.texi:25289
  37263. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  37264. msgstr ""
  37265. #. type: item
  37266. #: guix-git/doc/guix.texi:25289
  37267. #, no-wrap
  37268. msgid "@code{file} (default @code{#f})"
  37269. msgstr ""
  37270. #. type: table
  37271. #: guix-git/doc/guix.texi:25292
  37272. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  37273. msgstr ""
  37274. #. type: item
  37275. #: guix-git/doc/guix.texi:25292
  37276. #, no-wrap
  37277. msgid "@code{php-ini-file} (default @code{#f})"
  37278. msgstr ""
  37279. #. type: table
  37280. #: guix-git/doc/guix.texi:25296
  37281. msgid "An optional override of the default php settings. It may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). You can use the @code{mixed-text-file} function or an absolute filepath for it."
  37282. msgstr ""
  37283. #. type: table
  37284. #: guix-git/doc/guix.texi:25300
  37285. msgid "For local development it is useful to set a higher timeout and memory limit for spawned php processes. This be accomplished with the following operating system configuration snippet:"
  37286. msgstr ""
  37287. #. type: lisp
  37288. #: guix-git/doc/guix.texi:25305
  37289. #, no-wrap
  37290. msgid ""
  37291. "(define %local-php-ini\n"
  37292. " (plain-file \"php.ini\"\n"
  37293. " \"memory_limit = 2G\n"
  37294. "max_execution_time = 1800\"))\n"
  37295. "\n"
  37296. msgstr ""
  37297. #. type: lisp
  37298. #: guix-git/doc/guix.texi:25312
  37299. #, no-wrap
  37300. msgid ""
  37301. "(operating-system\n"
  37302. " ;; @dots{}\n"
  37303. " (services (cons (service php-fpm-service-type\n"
  37304. " (php-fpm-configuration\n"
  37305. " (php-ini-file %local-php-ini)))\n"
  37306. " %base-services)))\n"
  37307. msgstr ""
  37308. #. type: table
  37309. #: guix-git/doc/guix.texi:25317
  37310. msgid "Consult the @url{https://www.php.net/manual/en/ini.core.php,core php.ini directives} for comprehensive documentation on the acceptable @file{php.ini} directives."
  37311. msgstr ""
  37312. #. type: deftp
  37313. #: guix-git/doc/guix.texi:25320
  37314. #, no-wrap
  37315. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  37316. msgstr ""
  37317. #. type: deftp
  37318. #: guix-git/doc/guix.texi:25324
  37319. msgid "Data Type for the @code{dynamic} php-fpm process manager. With the @code{dynamic} process manager, spare worker processes are kept around based on it's configured limits."
  37320. msgstr ""
  37321. #. type: item
  37322. #: guix-git/doc/guix.texi:25325 guix-git/doc/guix.texi:25341
  37323. #: guix-git/doc/guix.texi:25351
  37324. #, no-wrap
  37325. msgid "@code{max-children} (default: @code{5})"
  37326. msgstr ""
  37327. #. type: table
  37328. #: guix-git/doc/guix.texi:25327 guix-git/doc/guix.texi:25343
  37329. #: guix-git/doc/guix.texi:25353
  37330. msgid "Maximum of worker processes."
  37331. msgstr ""
  37332. #. type: item
  37333. #: guix-git/doc/guix.texi:25327
  37334. #, no-wrap
  37335. msgid "@code{start-servers} (default: @code{2})"
  37336. msgstr ""
  37337. #. type: table
  37338. #: guix-git/doc/guix.texi:25329
  37339. msgid "How many worker processes should be started on start-up."
  37340. msgstr ""
  37341. #. type: item
  37342. #: guix-git/doc/guix.texi:25329
  37343. #, no-wrap
  37344. msgid "@code{min-spare-servers} (default: @code{1})"
  37345. msgstr ""
  37346. #. type: table
  37347. #: guix-git/doc/guix.texi:25331
  37348. msgid "How many spare worker processes should be kept around at minimum."
  37349. msgstr ""
  37350. #. type: item
  37351. #: guix-git/doc/guix.texi:25331
  37352. #, no-wrap
  37353. msgid "@code{max-spare-servers} (default: @code{3})"
  37354. msgstr ""
  37355. #. type: table
  37356. #: guix-git/doc/guix.texi:25333
  37357. msgid "How many spare worker processes should be kept around at maximum."
  37358. msgstr ""
  37359. #. type: deftp
  37360. #: guix-git/doc/guix.texi:25336
  37361. #, no-wrap
  37362. msgid "{Data type} php-fpm-static-process-manager-configuration"
  37363. msgstr ""
  37364. #. type: deftp
  37365. #: guix-git/doc/guix.texi:25340
  37366. msgid "Data Type for the @code{static} php-fpm process manager. With the @code{static} process manager, an unchanging number of worker processes are created."
  37367. msgstr ""
  37368. #. type: deftp
  37369. #: guix-git/doc/guix.texi:25346
  37370. #, no-wrap
  37371. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  37372. msgstr ""
  37373. #. type: deftp
  37374. #: guix-git/doc/guix.texi:25350
  37375. msgid "Data Type for the @code{on-demand} php-fpm process manager. With the @code{on-demand} process manager, worker processes are only created as requests arrive."
  37376. msgstr ""
  37377. #. type: item
  37378. #: guix-git/doc/guix.texi:25353
  37379. #, no-wrap
  37380. msgid "@code{process-idle-timeout} (default: @code{10})"
  37381. msgstr ""
  37382. #. type: table
  37383. #: guix-git/doc/guix.texi:25355
  37384. msgid "The time in seconds after which a process with no requests is killed."
  37385. msgstr ""
  37386. #. type: deffn
  37387. #: guix-git/doc/guix.texi:25359
  37388. #, no-wrap
  37389. msgid "{Scheme Procedure} nginx-php-location @"
  37390. msgstr ""
  37391. #. type: deffn
  37392. #: guix-git/doc/guix.texi:25365
  37393. msgid "[#:nginx-package nginx] @ [socket (string-append \"/var/run/php\" @ (version-major (package-version php)) @ \"-fpm.sock\")] A helper function to quickly add php to an @code{nginx-server-configuration}."
  37394. msgstr ""
  37395. #. type: Plain text
  37396. #: guix-git/doc/guix.texi:25368
  37397. msgid "A simple services setup for nginx with php can look like this:"
  37398. msgstr ""
  37399. #. type: lisp
  37400. #: guix-git/doc/guix.texi:25381
  37401. #, no-wrap
  37402. msgid ""
  37403. "(services (cons* (service dhcp-client-service-type)\n"
  37404. " (service php-fpm-service-type)\n"
  37405. " (service nginx-service-type\n"
  37406. " (nginx-server-configuration\n"
  37407. " (server-name '(\"example.com\"))\n"
  37408. " (root \"/srv/http/\")\n"
  37409. " (locations\n"
  37410. " (list (nginx-php-location)))\n"
  37411. " (listen '(\"80\"))\n"
  37412. " (ssl-certificate #f)\n"
  37413. " (ssl-certificate-key #f)))\n"
  37414. " %base-services))\n"
  37415. msgstr ""
  37416. #. type: cindex
  37417. #: guix-git/doc/guix.texi:25383
  37418. #, no-wrap
  37419. msgid "cat-avatar-generator"
  37420. msgstr ""
  37421. #. type: Plain text
  37422. #: guix-git/doc/guix.texi:25387
  37423. msgid "The cat avatar generator is a simple service to demonstrate the use of php-fpm in @code{Nginx}. It is used to generate cat avatar from a seed, for instance the hash of a user's email address."
  37424. msgstr ""
  37425. #. type: deffn
  37426. #: guix-git/doc/guix.texi:25388
  37427. #, no-wrap
  37428. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  37429. msgstr ""
  37430. #. type: deffn
  37431. #: guix-git/doc/guix.texi:25396
  37432. msgid "[#:cache-dir \"/var/cache/cat-avatar-generator\"] @ [#:package cat-avatar-generator] @ [#:configuration (nginx-server-configuration)] Returns an nginx-server-configuration that inherits @code{configuration}. It extends the nginx configuration to add a server block that serves @code{package}, a version of cat-avatar-generator. During execution, cat-avatar-generator will be able to use @code{cache-dir} as its cache directory."
  37433. msgstr ""
  37434. #. type: Plain text
  37435. #: guix-git/doc/guix.texi:25399
  37436. msgid "A simple setup for cat-avatar-generator can look like this:"
  37437. msgstr ""
  37438. #. type: lisp
  37439. #: guix-git/doc/guix.texi:25406
  37440. #, no-wrap
  37441. msgid ""
  37442. "(services (cons* (cat-avatar-generator-service\n"
  37443. " #:configuration\n"
  37444. " (nginx-server-configuration\n"
  37445. " (server-name '(\"example.com\"))))\n"
  37446. " ...\n"
  37447. " %base-services))\n"
  37448. msgstr ""
  37449. #. type: subsubheading
  37450. #: guix-git/doc/guix.texi:25408
  37451. #, no-wrap
  37452. msgid "Hpcguix-web"
  37453. msgstr ""
  37454. #. type: cindex
  37455. #: guix-git/doc/guix.texi:25410
  37456. #, no-wrap
  37457. msgid "hpcguix-web"
  37458. msgstr ""
  37459. #. type: Plain text
  37460. #: guix-git/doc/guix.texi:25415
  37461. msgid "The @uref{https://github.com/UMCUGenetics/hpcguix-web/, hpcguix-web} program is a customizable web interface to browse Guix packages, initially designed for users of high-performance computing (HPC) clusters."
  37462. msgstr ""
  37463. #. type: defvr
  37464. #: guix-git/doc/guix.texi:25416
  37465. #, no-wrap
  37466. msgid "{Scheme Variable} hpcguix-web-service-type"
  37467. msgstr ""
  37468. #. type: defvr
  37469. #: guix-git/doc/guix.texi:25418
  37470. msgid "The service type for @code{hpcguix-web}."
  37471. msgstr ""
  37472. #. type: deftp
  37473. #: guix-git/doc/guix.texi:25420
  37474. #, no-wrap
  37475. msgid "{Data Type} hpcguix-web-configuration"
  37476. msgstr ""
  37477. #. type: deftp
  37478. #: guix-git/doc/guix.texi:25422
  37479. msgid "Data type for the hpcguix-web service configuration."
  37480. msgstr ""
  37481. #. type: code{#1}
  37482. #: guix-git/doc/guix.texi:25424
  37483. #, no-wrap
  37484. msgid "specs"
  37485. msgstr ""
  37486. #. type: table
  37487. #: guix-git/doc/guix.texi:25427
  37488. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  37489. msgstr ""
  37490. #. type: item
  37491. #: guix-git/doc/guix.texi:25429
  37492. #, no-wrap
  37493. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  37494. msgstr ""
  37495. #. type: table
  37496. #: guix-git/doc/guix.texi:25431
  37497. msgid "The page title prefix."
  37498. msgstr ""
  37499. #. type: item
  37500. #: guix-git/doc/guix.texi:25432
  37501. #, no-wrap
  37502. msgid "@code{guix-command} (default: @code{\"guix\"})"
  37503. msgstr ""
  37504. #. type: table
  37505. #: guix-git/doc/guix.texi:25434
  37506. msgid "The @command{guix} command."
  37507. msgstr ""
  37508. #. type: item
  37509. #: guix-git/doc/guix.texi:25435
  37510. #, no-wrap
  37511. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  37512. msgstr ""
  37513. #. type: table
  37514. #: guix-git/doc/guix.texi:25437
  37515. msgid "A procedure specifying how to filter packages that are displayed."
  37516. msgstr ""
  37517. #. type: item
  37518. #: guix-git/doc/guix.texi:25438
  37519. #, no-wrap
  37520. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  37521. msgstr ""
  37522. #. type: table
  37523. #: guix-git/doc/guix.texi:25440
  37524. msgid "Extension package for @code{hpcguix-web}."
  37525. msgstr ""
  37526. #. type: item
  37527. #: guix-git/doc/guix.texi:25441
  37528. #, no-wrap
  37529. msgid "@code{menu} (default: @code{'()})"
  37530. msgstr ""
  37531. #. type: table
  37532. #: guix-git/doc/guix.texi:25443
  37533. msgid "Additional entry in page @code{menu}."
  37534. msgstr ""
  37535. #. type: item
  37536. #: guix-git/doc/guix.texi:25444
  37537. #, no-wrap
  37538. msgid "@code{channels} (default: @code{%default-channels})"
  37539. msgstr ""
  37540. #. type: table
  37541. #: guix-git/doc/guix.texi:25446
  37542. msgid "List of channels from which the package list is built (@pxref{Channels})."
  37543. msgstr ""
  37544. #. type: item
  37545. #: guix-git/doc/guix.texi:25447
  37546. #, no-wrap
  37547. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  37548. msgstr ""
  37549. #. type: table
  37550. #: guix-git/doc/guix.texi:25450
  37551. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  37552. msgstr ""
  37553. #. type: table
  37554. #: guix-git/doc/guix.texi:25455
  37555. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  37556. msgstr ""
  37557. #. type: item
  37558. #: guix-git/doc/guix.texi:25456
  37559. #, no-wrap
  37560. msgid "@code{package} (default: @code{hpcguix-web})"
  37561. msgstr ""
  37562. #. type: table
  37563. #: guix-git/doc/guix.texi:25458
  37564. msgid "The hpcguix-web package to use."
  37565. msgstr ""
  37566. #. type: Plain text
  37567. #: guix-git/doc/guix.texi:25462
  37568. msgid "A typical hpcguix-web service declaration looks like this:"
  37569. msgstr ""
  37570. #. type: lisp
  37571. #: guix-git/doc/guix.texi:25471
  37572. #, no-wrap
  37573. msgid ""
  37574. "(service hpcguix-web-service-type\n"
  37575. " (hpcguix-web-configuration\n"
  37576. " (specs\n"
  37577. " #~(define site-config\n"
  37578. " (hpcweb-configuration\n"
  37579. " (title-prefix \"Guix-HPC - \")\n"
  37580. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  37581. msgstr ""
  37582. #. type: quotation
  37583. #: guix-git/doc/guix.texi:25478
  37584. msgid "The hpcguix-web service periodically updates the package list it publishes by pulling channels from Git. To that end, it needs to access X.509 certificates so that it can authenticate Git servers when communicating over HTTPS, and it assumes that @file{/etc/ssl/certs} contains those certificates."
  37585. msgstr ""
  37586. #. type: quotation
  37587. #: guix-git/doc/guix.texi:25482
  37588. msgid "Thus, make sure to add @code{nss-certs} or another certificate package to the @code{packages} field of your configuration. @ref{X.509 Certificates}, for more information on X.509 certificates."
  37589. msgstr ""
  37590. #. type: cindex
  37591. #: guix-git/doc/guix.texi:25484 guix-git/doc/guix.texi:25486
  37592. #, no-wrap
  37593. msgid "gmnisrv"
  37594. msgstr ""
  37595. #. type: Plain text
  37596. #: guix-git/doc/guix.texi:25489
  37597. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  37598. msgstr ""
  37599. #. type: deffn
  37600. #: guix-git/doc/guix.texi:25490
  37601. #, no-wrap
  37602. msgid "{Scheme Variable} gmnisrv-service-type"
  37603. msgstr ""
  37604. #. type: deffn
  37605. #: guix-git/doc/guix.texi:25493
  37606. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  37607. msgstr ""
  37608. #. type: lisp
  37609. #: guix-git/doc/guix.texi:25498
  37610. #, no-wrap
  37611. msgid ""
  37612. "(service gmnisrv-service-type\n"
  37613. " (gmnisrv-configuration\n"
  37614. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  37615. msgstr ""
  37616. #. type: deftp
  37617. #: guix-git/doc/guix.texi:25501
  37618. #, no-wrap
  37619. msgid "{Data Type} gmnisrv-configuration"
  37620. msgstr ""
  37621. #. type: deftp
  37622. #: guix-git/doc/guix.texi:25503
  37623. msgid "Data type representing the configuration of gmnisrv."
  37624. msgstr ""
  37625. #. type: item
  37626. #: guix-git/doc/guix.texi:25505
  37627. #, no-wrap
  37628. msgid "@code{package} (default: @var{gmnisrv})"
  37629. msgstr ""
  37630. #. type: table
  37631. #: guix-git/doc/guix.texi:25507
  37632. msgid "Package object of the gmnisrv server."
  37633. msgstr ""
  37634. #. type: item
  37635. #: guix-git/doc/guix.texi:25508
  37636. #, no-wrap
  37637. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  37638. msgstr ""
  37639. #. type: table
  37640. #: guix-git/doc/guix.texi:25514
  37641. msgid "File-like object of the gmnisrv configuration file to use. The default configuration listens on port 1965 and serves files from @file{/srv/gemini}. Certificates are stored in @file{/var/lib/gemini/certs}. For more information, run @command{man gmnisrv} and @command{man gmnisrv.ini}."
  37642. msgstr ""
  37643. #. type: subsubheading
  37644. #: guix-git/doc/guix.texi:25518
  37645. #, no-wrap
  37646. msgid "Agate"
  37647. msgstr ""
  37648. #. type: cindex
  37649. #: guix-git/doc/guix.texi:25520
  37650. #, no-wrap
  37651. msgid "agate"
  37652. msgstr ""
  37653. #. type: Plain text
  37654. #: guix-git/doc/guix.texi:25525
  37655. msgid "The @uref{gemini://qwertqwefsday.eu/agate.gmi, Agate} (@uref{https://github.com/mbrubeck/agate, GitHub page over HTTPS}) program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server written in Rust."
  37656. msgstr ""
  37657. #. type: deffn
  37658. #: guix-git/doc/guix.texi:25526
  37659. #, no-wrap
  37660. msgid "{Scheme Variable} agate-service-type"
  37661. msgstr ""
  37662. #. type: deffn
  37663. #: guix-git/doc/guix.texi:25529
  37664. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  37665. msgstr ""
  37666. #. type: lisp
  37667. #: guix-git/doc/guix.texi:25536
  37668. #, no-wrap
  37669. msgid ""
  37670. "(service agate-service-type\n"
  37671. "\t (agate-configuration\n"
  37672. "\t (content \"/srv/gemini\")\n"
  37673. "\t (cert \"/srv/cert.pem\")\n"
  37674. "\t (key \"/srv/key.rsa\")))\n"
  37675. msgstr ""
  37676. #. type: deffn
  37677. #: guix-git/doc/guix.texi:25541
  37678. msgid "The example above represents the minimal tweaking necessary to get Agate up and running. Specifying the path to the certificate and key is always necessary, as the Gemini protocol requires TLS by default."
  37679. msgstr ""
  37680. #. type: deffn
  37681. #: guix-git/doc/guix.texi:25544
  37682. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  37683. msgstr ""
  37684. #. type: example
  37685. #: guix-git/doc/guix.texi:25548
  37686. #, no-wrap
  37687. msgid ""
  37688. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  37689. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  37690. msgstr ""
  37691. #. type: deffn
  37692. #: guix-git/doc/guix.texi:25553
  37693. msgid "Of course, you'll have to replace @i{example.com} with your own domain name, and then point the Agate configuration towards the path of the generated key and certificate."
  37694. msgstr ""
  37695. #. type: deftp
  37696. #: guix-git/doc/guix.texi:25556
  37697. #, no-wrap
  37698. msgid "{Data Type} agate-configuration"
  37699. msgstr ""
  37700. #. type: deftp
  37701. #: guix-git/doc/guix.texi:25558
  37702. msgid "Data type representing the configuration of Agate."
  37703. msgstr ""
  37704. #. type: item
  37705. #: guix-git/doc/guix.texi:25560
  37706. #, no-wrap
  37707. msgid "@code{package} (default: @code{agate})"
  37708. msgstr ""
  37709. #. type: table
  37710. #: guix-git/doc/guix.texi:25562
  37711. msgid "The package object of the Agate server."
  37712. msgstr ""
  37713. #. type: item
  37714. #: guix-git/doc/guix.texi:25563
  37715. #, no-wrap
  37716. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  37717. msgstr ""
  37718. #. type: table
  37719. #: guix-git/doc/guix.texi:25565
  37720. msgid "The directory from which Agate will serve files."
  37721. msgstr ""
  37722. #. type: item
  37723. #: guix-git/doc/guix.texi:25566
  37724. #, no-wrap
  37725. msgid "@code{cert} (default: @code{#f})"
  37726. msgstr ""
  37727. #. type: table
  37728. #: guix-git/doc/guix.texi:25569
  37729. msgid "The path to the TLS certificate PEM file to be used for encrypted connections. Must be filled in with a value from the user."
  37730. msgstr ""
  37731. #. type: item
  37732. #: guix-git/doc/guix.texi:25570 guix-git/doc/guix.texi:25998
  37733. #, no-wrap
  37734. msgid "@code{key} (default: @code{#f})"
  37735. msgstr ""
  37736. #. type: table
  37737. #: guix-git/doc/guix.texi:25573
  37738. msgid "The path to the PKCS8 private key file to be used for encrypted connections. Must be filled in with a value from the user."
  37739. msgstr ""
  37740. #. type: item
  37741. #: guix-git/doc/guix.texi:25574
  37742. #, no-wrap
  37743. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  37744. msgstr ""
  37745. #. type: table
  37746. #: guix-git/doc/guix.texi:25576
  37747. msgid "A list of the addresses to listen on."
  37748. msgstr ""
  37749. #. type: table
  37750. #: guix-git/doc/guix.texi:25579
  37751. msgid "The domain name of this Gemini server. Optional."
  37752. msgstr ""
  37753. #. type: item
  37754. #: guix-git/doc/guix.texi:25580
  37755. #, no-wrap
  37756. msgid "@code{lang} (default: @code{#f})"
  37757. msgstr ""
  37758. #. type: table
  37759. #: guix-git/doc/guix.texi:25582
  37760. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  37761. msgstr ""
  37762. #. type: item
  37763. #: guix-git/doc/guix.texi:25583
  37764. #, no-wrap
  37765. msgid "@code{silent?} (default: @code{#f})"
  37766. msgstr ""
  37767. #. type: table
  37768. #: guix-git/doc/guix.texi:25585
  37769. msgid "Set to @code{#t} to disable logging output."
  37770. msgstr ""
  37771. #. type: item
  37772. #: guix-git/doc/guix.texi:25586
  37773. #, no-wrap
  37774. msgid "@code{serve-secret?} (default: @code{#f})"
  37775. msgstr ""
  37776. #. type: table
  37777. #: guix-git/doc/guix.texi:25589
  37778. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  37779. msgstr ""
  37780. #. type: item
  37781. #: guix-git/doc/guix.texi:25590
  37782. #, no-wrap
  37783. msgid "@code{log-ip?} (default: @code{#t})"
  37784. msgstr ""
  37785. #. type: table
  37786. #: guix-git/doc/guix.texi:25592
  37787. msgid "Whether or not to output IP addresses when logging."
  37788. msgstr ""
  37789. #. type: item
  37790. #: guix-git/doc/guix.texi:25593
  37791. #, no-wrap
  37792. msgid "@code{user} (default: @code{\"agate\"})"
  37793. msgstr ""
  37794. #. type: table
  37795. #: guix-git/doc/guix.texi:25595
  37796. msgid "Owner of the @code{agate} process."
  37797. msgstr ""
  37798. #. type: item
  37799. #: guix-git/doc/guix.texi:25596
  37800. #, no-wrap
  37801. msgid "@code{group} (default: @code{\"agate\"})"
  37802. msgstr ""
  37803. #. type: table
  37804. #: guix-git/doc/guix.texi:25598
  37805. msgid "Owner's group of the @code{agate} process."
  37806. msgstr ""
  37807. #. type: item
  37808. #: guix-git/doc/guix.texi:25599
  37809. #, no-wrap
  37810. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  37811. msgstr ""
  37812. #. type: table
  37813. #: guix-git/doc/guix.texi:25601
  37814. msgid "The file which should store the logging output of Agate."
  37815. msgstr ""
  37816. #. type: cindex
  37817. #: guix-git/doc/guix.texi:25608
  37818. #, no-wrap
  37819. msgid "Web"
  37820. msgstr ""
  37821. #. type: cindex
  37822. #: guix-git/doc/guix.texi:25609
  37823. #, no-wrap
  37824. msgid "HTTP, HTTPS"
  37825. msgstr ""
  37826. #. type: cindex
  37827. #: guix-git/doc/guix.texi:25610
  37828. #, no-wrap
  37829. msgid "Let's Encrypt"
  37830. msgstr ""
  37831. #. type: cindex
  37832. #: guix-git/doc/guix.texi:25611
  37833. #, no-wrap
  37834. msgid "TLS certificates"
  37835. msgstr ""
  37836. #. type: Plain text
  37837. #: guix-git/doc/guix.texi:25618
  37838. msgid "The @code{(gnu services certbot)} module provides a service to automatically obtain a valid TLS certificate from the Let's Encrypt certificate authority. These certificates can then be used to serve content securely over HTTPS or other TLS-based protocols, with the knowledge that the client will be able to verify the server's authenticity."
  37839. msgstr ""
  37840. #. type: Plain text
  37841. #: guix-git/doc/guix.texi:25630
  37842. msgid "@url{https://letsencrypt.org/, Let's Encrypt} provides the @code{certbot} tool to automate the certification process. This tool first securely generates a key on the server. It then makes a request to the Let's Encrypt certificate authority (CA) to sign the key. The CA checks that the request originates from the host in question by using a challenge-response protocol, requiring the server to provide its response over HTTP@. If that protocol completes successfully, the CA signs the key, resulting in a certificate. That certificate is valid for a limited period of time, and therefore to continue to provide TLS services, the server needs to periodically ask the CA to renew its signature."
  37843. msgstr ""
  37844. #. type: Plain text
  37845. #: guix-git/doc/guix.texi:25637
  37846. msgid "The certbot service automates this process: the initial key generation, the initial certification request to the Let's Encrypt service, the web server challenge/response integration, writing the certificate to disk, the automated periodic renewals, and the deployment tasks associated with the renewal (e.g.@: reloading services, copying keys with different permissions)."
  37847. msgstr ""
  37848. #. type: Plain text
  37849. #: guix-git/doc/guix.texi:25643
  37850. msgid "Certbot is run twice a day, at a random minute within the hour. It won't do anything until your certificates are due for renewal or revoked, but running it regularly would give your service a chance of staying online in case a Let's Encrypt-initiated revocation happened for some reason."
  37851. msgstr ""
  37852. #. type: Plain text
  37853. #: guix-git/doc/guix.texi:25647
  37854. msgid "By using this service, you agree to the ACME Subscriber Agreement, which can be found there: @url{https://acme-v01.api.letsencrypt.org/directory}."
  37855. msgstr ""
  37856. #. type: defvr
  37857. #: guix-git/doc/guix.texi:25648
  37858. #, no-wrap
  37859. msgid "{Scheme Variable} certbot-service-type"
  37860. msgstr ""
  37861. #. type: defvr
  37862. #: guix-git/doc/guix.texi:25651
  37863. msgid "A service type for the @code{certbot} Let's Encrypt client. Its value must be a @code{certbot-configuration} record as in this example:"
  37864. msgstr ""
  37865. #. type: lisp
  37866. #: guix-git/doc/guix.texi:25658
  37867. #, no-wrap
  37868. msgid ""
  37869. "(define %nginx-deploy-hook\n"
  37870. " (program-file\n"
  37871. " \"nginx-deploy-hook\"\n"
  37872. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  37873. " (kill pid SIGHUP))))\n"
  37874. "\n"
  37875. msgstr ""
  37876. #. type: lisp
  37877. #: guix-git/doc/guix.texi:25669
  37878. #, no-wrap
  37879. msgid ""
  37880. "(service certbot-service-type\n"
  37881. " (certbot-configuration\n"
  37882. " (email \"foo@@example.net\")\n"
  37883. " (certificates\n"
  37884. " (list\n"
  37885. " (certificate-configuration\n"
  37886. " (domains '(\"example.net\" \"www.example.net\"))\n"
  37887. " (deploy-hook %nginx-deploy-hook))\n"
  37888. " (certificate-configuration\n"
  37889. " (domains '(\"bar.example.net\")))))))\n"
  37890. msgstr ""
  37891. #. type: defvr
  37892. #: guix-git/doc/guix.texi:25672
  37893. msgid "See below for details about @code{certbot-configuration}."
  37894. msgstr ""
  37895. #. type: deftp
  37896. #: guix-git/doc/guix.texi:25674
  37897. #, no-wrap
  37898. msgid "{Data Type} certbot-configuration"
  37899. msgstr ""
  37900. #. type: deftp
  37901. #: guix-git/doc/guix.texi:25677
  37902. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  37903. msgstr ""
  37904. #. type: item
  37905. #: guix-git/doc/guix.texi:25679
  37906. #, no-wrap
  37907. msgid "@code{package} (default: @code{certbot})"
  37908. msgstr ""
  37909. #. type: table
  37910. #: guix-git/doc/guix.texi:25681
  37911. msgid "The certbot package to use."
  37912. msgstr ""
  37913. #. type: item
  37914. #: guix-git/doc/guix.texi:25682
  37915. #, no-wrap
  37916. msgid "@code{webroot} (default: @code{/var/www})"
  37917. msgstr ""
  37918. #. type: table
  37919. #: guix-git/doc/guix.texi:25685
  37920. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  37921. msgstr ""
  37922. #. type: item
  37923. #: guix-git/doc/guix.texi:25686
  37924. #, no-wrap
  37925. msgid "@code{certificates} (default: @code{()})"
  37926. msgstr ""
  37927. #. type: table
  37928. #: guix-git/doc/guix.texi:25690
  37929. msgid "A list of @code{certificates-configuration}s for which to generate certificates and request signatures. Each certificate has a @code{name} and several @code{domains}."
  37930. msgstr ""
  37931. #. type: item
  37932. #: guix-git/doc/guix.texi:25691
  37933. #, no-wrap
  37934. msgid "@code{email} (default: @code{#f})"
  37935. msgstr ""
  37936. #. type: table
  37937. #: guix-git/doc/guix.texi:25695
  37938. msgid "Optional email address used for registration and recovery contact. Setting this is encouraged as it allows you to receive important notifications about the account and issued certificates."
  37939. msgstr ""
  37940. #. type: item
  37941. #: guix-git/doc/guix.texi:25696 guix-git/doc/guix.texi:27376
  37942. #, no-wrap
  37943. msgid "@code{server} (default: @code{#f})"
  37944. msgstr ""
  37945. #. type: table
  37946. #: guix-git/doc/guix.texi:25699
  37947. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  37948. msgstr ""
  37949. #. type: item
  37950. #: guix-git/doc/guix.texi:25700
  37951. #, no-wrap
  37952. msgid "@code{rsa-key-size} (default: @code{2048})"
  37953. msgstr ""
  37954. #. type: table
  37955. #: guix-git/doc/guix.texi:25702
  37956. msgid "Size of the RSA key."
  37957. msgstr ""
  37958. #. type: item
  37959. #: guix-git/doc/guix.texi:25703
  37960. #, no-wrap
  37961. msgid "@code{default-location} (default: @i{see below})"
  37962. msgstr ""
  37963. #. type: table
  37964. #: guix-git/doc/guix.texi:25712
  37965. msgid "The default @code{nginx-location-configuration}. Because @code{certbot} needs to be able to serve challenges and responses, it needs to be able to run a web server. It does so by extending the @code{nginx} web service with an @code{nginx-server-configuration} listening on the @var{domains} on port 80, and which has a @code{nginx-location-configuration} for the @code{/.well-known/} URI path subspace used by Let's Encrypt. @xref{Web Services}, for more on these nginx configuration data types."
  37966. msgstr ""
  37967. #. type: table
  37968. #: guix-git/doc/guix.texi:25716
  37969. msgid "Requests to other URL paths will be matched by the @code{default-location}, which if present is added to all @code{nginx-server-configuration}s."
  37970. msgstr ""
  37971. #. type: table
  37972. #: guix-git/doc/guix.texi:25720
  37973. msgid "By default, the @code{default-location} will issue a redirect from @code{http://@var{domain}/...} to @code{https://@var{domain}/...}, leaving you to define what to serve on your site via @code{https}."
  37974. msgstr ""
  37975. #. type: table
  37976. #: guix-git/doc/guix.texi:25722
  37977. msgid "Pass @code{#f} to not issue a default location."
  37978. msgstr ""
  37979. #. type: deftp
  37980. #: guix-git/doc/guix.texi:25725
  37981. #, no-wrap
  37982. msgid "{Data Type} certificate-configuration"
  37983. msgstr ""
  37984. #. type: deftp
  37985. #: guix-git/doc/guix.texi:25728
  37986. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  37987. msgstr ""
  37988. #. type: item
  37989. #: guix-git/doc/guix.texi:25730
  37990. #, no-wrap
  37991. msgid "@code{name} (default: @i{see below})"
  37992. msgstr ""
  37993. #. type: table
  37994. #: guix-git/doc/guix.texi:25734
  37995. msgid "This name is used by Certbot for housekeeping and in file paths; it doesn't affect the content of the certificate itself. To see certificate names, run @code{certbot certificates}."
  37996. msgstr ""
  37997. #. type: table
  37998. #: guix-git/doc/guix.texi:25736
  37999. msgid "Its default is the first provided domain."
  38000. msgstr ""
  38001. #. type: item
  38002. #: guix-git/doc/guix.texi:25737
  38003. #, no-wrap
  38004. msgid "@code{domains} (default: @code{()})"
  38005. msgstr ""
  38006. #. type: table
  38007. #: guix-git/doc/guix.texi:25740
  38008. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  38009. msgstr ""
  38010. #. type: item
  38011. #: guix-git/doc/guix.texi:25741
  38012. #, no-wrap
  38013. msgid "@code{challenge} (default: @code{#f})"
  38014. msgstr ""
  38015. #. type: table
  38016. #: guix-git/doc/guix.texi:25748
  38017. msgid "The challenge type that has to be run by certbot. If @code{#f} is specified, default to the HTTP challenge. If a value is specified, defaults to the manual plugin (see @code{authentication-hook}, @code{cleanup-hook} and the documentation at @url{https://certbot.eff.org/docs/using.html#hooks}), and gives Let's Encrypt permission to log the public IP address of the requesting machine."
  38018. msgstr ""
  38019. #. type: item
  38020. #: guix-git/doc/guix.texi:25749
  38021. #, no-wrap
  38022. msgid "@code{authentication-hook} (default: @code{#f})"
  38023. msgstr ""
  38024. #. type: table
  38025. #: guix-git/doc/guix.texi:25755
  38026. msgid "Command to be run in a shell once for each certificate challenge to be answered. For this command, the shell variable @code{$CERTBOT_DOMAIN} will contain the domain being authenticated, @code{$CERTBOT_VALIDATION} contains the validation string and @code{$CERTBOT_TOKEN} contains the file name of the resource requested when performing an HTTP-01 challenge."
  38027. msgstr ""
  38028. #. type: item
  38029. #: guix-git/doc/guix.texi:25756
  38030. #, no-wrap
  38031. msgid "@code{cleanup-hook} (default: @code{#f})"
  38032. msgstr ""
  38033. #. type: table
  38034. #: guix-git/doc/guix.texi:25762
  38035. msgid "Command to be run in a shell once for each certificate challenge that have been answered by the @code{auth-hook}. For this command, the shell variables available in the @code{auth-hook} script are still available, and additionally @code{$CERTBOT_AUTH_OUTPUT} will contain the standard output of the @code{auth-hook} script."
  38036. msgstr ""
  38037. #. type: item
  38038. #: guix-git/doc/guix.texi:25763
  38039. #, no-wrap
  38040. msgid "@code{deploy-hook} (default: @code{#f})"
  38041. msgstr ""
  38042. #. type: table
  38043. #: guix-git/doc/guix.texi:25771
  38044. msgid "Command to be run in a shell once for each successfully issued certificate. For this command, the shell variable @code{$RENEWED_LINEAGE} will point to the config live subdirectory (for example, @samp{\"/etc/letsencrypt/live/example.com\"}) containing the new certificates and keys; the shell variable @code{$RENEWED_DOMAINS} will contain a space-delimited list of renewed certificate domains (for example, @samp{\"example.com www.example.com\"}."
  38045. msgstr ""
  38046. #. type: Plain text
  38047. #: guix-git/doc/guix.texi:25778
  38048. msgid "For each @code{certificate-configuration}, the certificate is saved to @code{/etc/letsencrypt/live/@var{name}/fullchain.pem} and the key is saved to @code{/etc/letsencrypt/live/@var{name}/privkey.pem}."
  38049. msgstr ""
  38050. #. type: cindex
  38051. #: guix-git/doc/guix.texi:25780
  38052. #, no-wrap
  38053. msgid "DNS (domain name system)"
  38054. msgstr ""
  38055. #. type: cindex
  38056. #: guix-git/doc/guix.texi:25781
  38057. #, no-wrap
  38058. msgid "domain name system (DNS)"
  38059. msgstr ""
  38060. #. type: Plain text
  38061. #: guix-git/doc/guix.texi:25789
  38062. msgid "The @code{(gnu services dns)} module provides services related to the @dfn{domain name system} (DNS). It provides a server service for hosting an @emph{authoritative} DNS server for multiple zones, slave or master. This service uses @uref{https://www.knot-dns.cz/, Knot DNS}. And also a caching and forwarding DNS server for the LAN, which uses @uref{http://www.thekelleys.org.uk/dnsmasq/doc.html, dnsmasq}."
  38063. msgstr ""
  38064. #. type: subsubheading
  38065. #: guix-git/doc/guix.texi:25790
  38066. #, no-wrap
  38067. msgid "Knot Service"
  38068. msgstr ""
  38069. #. type: Plain text
  38070. #: guix-git/doc/guix.texi:25794
  38071. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  38072. msgstr ""
  38073. #. type: lisp
  38074. #: guix-git/doc/guix.texi:25801
  38075. #, no-wrap
  38076. msgid ""
  38077. "(define-zone-entries example.org.zone\n"
  38078. ";; Name TTL Class Type Data\n"
  38079. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  38080. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  38081. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  38082. "\n"
  38083. msgstr ""
  38084. #. type: lisp
  38085. #: guix-git/doc/guix.texi:25808
  38086. #, no-wrap
  38087. msgid ""
  38088. "(define master-zone\n"
  38089. " (knot-zone-configuration\n"
  38090. " (domain \"example.org\")\n"
  38091. " (zone (zone-file\n"
  38092. " (origin \"example.org\")\n"
  38093. " (entries example.org.zone)))))\n"
  38094. "\n"
  38095. msgstr ""
  38096. #. type: lisp
  38097. #: guix-git/doc/guix.texi:25814
  38098. #, no-wrap
  38099. msgid ""
  38100. "(define slave-zone\n"
  38101. " (knot-zone-configuration\n"
  38102. " (domain \"plop.org\")\n"
  38103. " (dnssec-policy \"default\")\n"
  38104. " (master (list \"plop-master\"))))\n"
  38105. "\n"
  38106. msgstr ""
  38107. #. type: lisp
  38108. #: guix-git/doc/guix.texi:25819
  38109. #, no-wrap
  38110. msgid ""
  38111. "(define plop-master\n"
  38112. " (knot-remote-configuration\n"
  38113. " (id \"plop-master\")\n"
  38114. " (address (list \"208.76.58.171\"))))\n"
  38115. "\n"
  38116. msgstr ""
  38117. #. type: lisp
  38118. #: guix-git/doc/guix.texi:25828
  38119. #, no-wrap
  38120. msgid ""
  38121. "(operating-system\n"
  38122. " ;; ...\n"
  38123. " (services (cons* (service knot-service-type\n"
  38124. " (knot-configuration\n"
  38125. " (remotes (list plop-master))\n"
  38126. " (zones (list master-zone slave-zone))))\n"
  38127. " ;; ...\n"
  38128. " %base-services)))\n"
  38129. msgstr ""
  38130. #. type: deffn
  38131. #: guix-git/doc/guix.texi:25830
  38132. #, no-wrap
  38133. msgid "{Scheme Variable} knot-service-type"
  38134. msgstr ""
  38135. #. type: deffn
  38136. #: guix-git/doc/guix.texi:25832
  38137. msgid "This is the type for the Knot DNS server."
  38138. msgstr ""
  38139. #. type: deffn
  38140. #: guix-git/doc/guix.texi:25840
  38141. msgid "Knot DNS is an authoritative DNS server, meaning that it can serve multiple zones, that is to say domain names you would buy from a registrar. This server is not a resolver, meaning that it can only resolve names for which it is authoritative. This server can be configured to serve zones as a master server or a slave server as a per-zone basis. Slave zones will get their data from masters, and will serve it as an authoritative server. From the point of view of a resolver, there is no difference between master and slave."
  38142. msgstr ""
  38143. #. type: deffn
  38144. #: guix-git/doc/guix.texi:25842
  38145. msgid "The following data types are used to configure the Knot DNS server:"
  38146. msgstr ""
  38147. #. type: deftp
  38148. #: guix-git/doc/guix.texi:25844
  38149. #, no-wrap
  38150. msgid "{Data Type} knot-key-configuration"
  38151. msgstr ""
  38152. #. type: deftp
  38153. #: guix-git/doc/guix.texi:25847
  38154. msgid "Data type representing a key. This type has the following parameters:"
  38155. msgstr ""
  38156. #. type: item
  38157. #: guix-git/doc/guix.texi:25849 guix-git/doc/guix.texi:25869
  38158. #: guix-git/doc/guix.texi:25984 guix-git/doc/guix.texi:26010
  38159. #: guix-git/doc/guix.texi:26045
  38160. #, no-wrap
  38161. msgid "@code{id} (default: @code{\"\"})"
  38162. msgstr ""
  38163. #. type: table
  38164. #: guix-git/doc/guix.texi:25852 guix-git/doc/guix.texi:25872
  38165. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  38166. msgstr ""
  38167. #. type: item
  38168. #: guix-git/doc/guix.texi:25853
  38169. #, no-wrap
  38170. msgid "@code{algorithm} (default: @code{#f})"
  38171. msgstr ""
  38172. #. type: table
  38173. #: guix-git/doc/guix.texi:25857
  38174. msgid "The algorithm to use. Choose between @code{#f}, @code{'hmac-md5}, @code{'hmac-sha1}, @code{'hmac-sha224}, @code{'hmac-sha256}, @code{'hmac-sha384} and @code{'hmac-sha512}."
  38175. msgstr ""
  38176. #. type: item
  38177. #: guix-git/doc/guix.texi:25858
  38178. #, no-wrap
  38179. msgid "@code{secret} (default: @code{\"\"})"
  38180. msgstr ""
  38181. #. type: table
  38182. #: guix-git/doc/guix.texi:25860
  38183. msgid "The secret key itself."
  38184. msgstr ""
  38185. #. type: deftp
  38186. #: guix-git/doc/guix.texi:25864
  38187. #, no-wrap
  38188. msgid "{Data Type} knot-acl-configuration"
  38189. msgstr ""
  38190. #. type: deftp
  38191. #: guix-git/doc/guix.texi:25867
  38192. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  38193. msgstr ""
  38194. #. type: item
  38195. #: guix-git/doc/guix.texi:25873 guix-git/doc/guix.texi:25988
  38196. #, no-wrap
  38197. msgid "@code{address} (default: @code{'()})"
  38198. msgstr ""
  38199. #. type: table
  38200. #: guix-git/doc/guix.texi:25877
  38201. msgid "An ordered list of IP addresses, network subnets, or network ranges represented with strings. The query must match one of them. Empty value means that address match is not required."
  38202. msgstr ""
  38203. #. type: item
  38204. #: guix-git/doc/guix.texi:25878
  38205. #, no-wrap
  38206. msgid "@code{key} (default: @code{'()})"
  38207. msgstr ""
  38208. #. type: table
  38209. #: guix-git/doc/guix.texi:25882
  38210. msgid "An ordered list of references to keys represented with strings. The string must match a key ID defined in a @code{knot-key-configuration}. No key means that a key is not require to match that ACL."
  38211. msgstr ""
  38212. #. type: item
  38213. #: guix-git/doc/guix.texi:25883
  38214. #, no-wrap
  38215. msgid "@code{action} (default: @code{'()})"
  38216. msgstr ""
  38217. #. type: table
  38218. #: guix-git/doc/guix.texi:25887
  38219. msgid "An ordered list of actions that are permitted or forbidden by this ACL@. Possible values are lists of zero or more elements from @code{'transfer}, @code{'notify} and @code{'update}."
  38220. msgstr ""
  38221. #. type: item
  38222. #: guix-git/doc/guix.texi:25888
  38223. #, no-wrap
  38224. msgid "@code{deny?} (default: @code{#f})"
  38225. msgstr ""
  38226. #. type: table
  38227. #: guix-git/doc/guix.texi:25891
  38228. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  38229. msgstr ""
  38230. #. type: deftp
  38231. #: guix-git/doc/guix.texi:25895
  38232. #, no-wrap
  38233. msgid "{Data Type} zone-entry"
  38234. msgstr ""
  38235. #. type: deftp
  38236. #: guix-git/doc/guix.texi:25898
  38237. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  38238. msgstr ""
  38239. #. type: item
  38240. #: guix-git/doc/guix.texi:25900
  38241. #, no-wrap
  38242. msgid "@code{name} (default: @code{\"@@\"})"
  38243. msgstr ""
  38244. #. type: table
  38245. #: guix-git/doc/guix.texi:25906
  38246. msgid "The name of the record. @code{\"@@\"} refers to the origin of the zone. Names are relative to the origin of the zone. For example, in the @code{example.org} zone, @code{\"ns.example.org\"} actually refers to @code{ns.example.org.example.org}. Names ending with a dot are absolute, which means that @code{\"ns.example.org.\"} refers to @code{ns.example.org}."
  38247. msgstr ""
  38248. #. type: item
  38249. #: guix-git/doc/guix.texi:25907
  38250. #, no-wrap
  38251. msgid "@code{ttl} (default: @code{\"\"})"
  38252. msgstr ""
  38253. #. type: table
  38254. #: guix-git/doc/guix.texi:25909
  38255. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  38256. msgstr ""
  38257. #. type: item
  38258. #: guix-git/doc/guix.texi:25910
  38259. #, no-wrap
  38260. msgid "@code{class} (default: @code{\"IN\"})"
  38261. msgstr ""
  38262. #. type: table
  38263. #: guix-git/doc/guix.texi:25913
  38264. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  38265. msgstr ""
  38266. #. type: item
  38267. #: guix-git/doc/guix.texi:25914
  38268. #, no-wrap
  38269. msgid "@code{type} (default: @code{\"A\"})"
  38270. msgstr ""
  38271. #. type: table
  38272. #: guix-git/doc/guix.texi:25918
  38273. msgid "The type of the record. Common types include A (IPv4 address), AAAA (IPv6 address), NS (Name Server) and MX (Mail eXchange). Many other types are defined."
  38274. msgstr ""
  38275. #. type: item
  38276. #: guix-git/doc/guix.texi:25919
  38277. #, no-wrap
  38278. msgid "@code{data} (default: @code{\"\"})"
  38279. msgstr ""
  38280. #. type: table
  38281. #: guix-git/doc/guix.texi:25923
  38282. msgid "The data contained in the record. For instance an IP address associated with an A record, or a domain name associated with an NS record. Remember that domain names are relative to the origin unless they end with a dot."
  38283. msgstr ""
  38284. #. type: deftp
  38285. #: guix-git/doc/guix.texi:25927
  38286. #, no-wrap
  38287. msgid "{Data Type} zone-file"
  38288. msgstr ""
  38289. #. type: deftp
  38290. #: guix-git/doc/guix.texi:25930
  38291. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  38292. msgstr ""
  38293. #. type: table
  38294. #: guix-git/doc/guix.texi:25939
  38295. msgid "The list of entries. The SOA record is taken care of, so you don't need to put it in the list of entries. This list should probably contain an entry for your primary authoritative DNS server. Other than using a list of entries directly, you can use @code{define-zone-entries} to define a object containing the list of entries more easily, that you can later pass to the @code{entries} field of the @code{zone-file}."
  38296. msgstr ""
  38297. #. type: item
  38298. #: guix-git/doc/guix.texi:25940
  38299. #, no-wrap
  38300. msgid "@code{origin} (default: @code{\"\"})"
  38301. msgstr ""
  38302. #. type: table
  38303. #: guix-git/doc/guix.texi:25942
  38304. msgid "The name of your zone. This parameter cannot be empty."
  38305. msgstr ""
  38306. #. type: item
  38307. #: guix-git/doc/guix.texi:25943
  38308. #, no-wrap
  38309. msgid "@code{ns} (default: @code{\"ns\"})"
  38310. msgstr ""
  38311. #. type: table
  38312. #: guix-git/doc/guix.texi:25948
  38313. msgid "The domain of your primary authoritative DNS server. The name is relative to the origin, unless it ends with a dot. It is mandatory that this primary DNS server corresponds to an NS record in the zone and that it is associated to an IP address in the list of entries."
  38314. msgstr ""
  38315. #. type: item
  38316. #: guix-git/doc/guix.texi:25949
  38317. #, no-wrap
  38318. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  38319. msgstr ""
  38320. #. type: table
  38321. #: guix-git/doc/guix.texi:25952
  38322. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  38323. msgstr ""
  38324. #. type: item
  38325. #: guix-git/doc/guix.texi:25953
  38326. #, no-wrap
  38327. msgid "@code{serial} (default: @code{1})"
  38328. msgstr ""
  38329. #. type: table
  38330. #: guix-git/doc/guix.texi:25957
  38331. msgid "The serial number of the zone. As this is used to keep track of changes by both slaves and resolvers, it is mandatory that it @emph{never} decreases. Always increment it when you make a change in your zone."
  38332. msgstr ""
  38333. #. type: item
  38334. #: guix-git/doc/guix.texi:25958
  38335. #, no-wrap
  38336. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  38337. msgstr ""
  38338. #. type: table
  38339. #: guix-git/doc/guix.texi:25962
  38340. msgid "The frequency at which slaves will do a zone transfer. This value is a number of seconds. It can be computed by multiplications or with @code{(string->duration)}."
  38341. msgstr ""
  38342. #. type: item
  38343. #: guix-git/doc/guix.texi:25963
  38344. #, no-wrap
  38345. msgid "@code{retry} (default: @code{(* 15 60)})"
  38346. msgstr ""
  38347. #. type: table
  38348. #: guix-git/doc/guix.texi:25966
  38349. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  38350. msgstr ""
  38351. #. type: item
  38352. #: guix-git/doc/guix.texi:25967
  38353. #, no-wrap
  38354. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  38355. msgstr ""
  38356. #. type: table
  38357. #: guix-git/doc/guix.texi:25971
  38358. msgid "Default TTL of records. Existing records are considered correct for at most this amount of time. After this period, resolvers will invalidate their cache and check again that it still exists."
  38359. msgstr ""
  38360. #. type: item
  38361. #: guix-git/doc/guix.texi:25972
  38362. #, no-wrap
  38363. msgid "@code{nx} (default: @code{3600})"
  38364. msgstr ""
  38365. #. type: table
  38366. #: guix-git/doc/guix.texi:25975
  38367. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  38368. msgstr ""
  38369. #. type: deftp
  38370. #: guix-git/doc/guix.texi:25979
  38371. #, no-wrap
  38372. msgid "{Data Type} knot-remote-configuration"
  38373. msgstr ""
  38374. #. type: deftp
  38375. #: guix-git/doc/guix.texi:25982
  38376. msgid "Data type representing a remote configuration. This type has the following parameters:"
  38377. msgstr ""
  38378. #. type: table
  38379. #: guix-git/doc/guix.texi:25987
  38380. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  38381. msgstr ""
  38382. #. type: table
  38383. #: guix-git/doc/guix.texi:25992
  38384. msgid "An ordered list of destination IP addresses. Addresses are tried in sequence. An optional port can be given with the @@ separator. For instance: @code{(list \"1.2.3.4\" \"2.3.4.5@@53\")}. Default port is 53."
  38385. msgstr ""
  38386. #. type: item
  38387. #: guix-git/doc/guix.texi:25993
  38388. #, no-wrap
  38389. msgid "@code{via} (default: @code{'()})"
  38390. msgstr ""
  38391. #. type: table
  38392. #: guix-git/doc/guix.texi:25997
  38393. msgid "An ordered list of source IP addresses. An empty list will have Knot choose an appropriate source IP@. An optional port can be given with the @@ separator. The default is to choose at random."
  38394. msgstr ""
  38395. #. type: table
  38396. #: guix-git/doc/guix.texi:26001
  38397. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  38398. msgstr ""
  38399. #. type: deftp
  38400. #: guix-git/doc/guix.texi:26005
  38401. #, no-wrap
  38402. msgid "{Data Type} knot-keystore-configuration"
  38403. msgstr ""
  38404. #. type: deftp
  38405. #: guix-git/doc/guix.texi:26008
  38406. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  38407. msgstr ""
  38408. #. type: table
  38409. #: guix-git/doc/guix.texi:26012
  38410. msgid "The id of the keystore. It must not be empty."
  38411. msgstr ""
  38412. #. type: item
  38413. #: guix-git/doc/guix.texi:26013
  38414. #, no-wrap
  38415. msgid "@code{backend} (default: @code{'pem})"
  38416. msgstr ""
  38417. #. type: table
  38418. #: guix-git/doc/guix.texi:26015
  38419. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  38420. msgstr ""
  38421. #. type: item
  38422. #: guix-git/doc/guix.texi:26016
  38423. #, no-wrap
  38424. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  38425. msgstr ""
  38426. #. type: table
  38427. #: guix-git/doc/guix.texi:26020
  38428. msgid "The configuration string of the backend. An example for the PKCS#11 is: @code{\"pkcs11:token=knot;pin-value=1234 /gnu/store/.../lib/pkcs11/libsofthsm2.so\"}. For the pem backend, the string represents a path in the file system."
  38429. msgstr ""
  38430. #. type: deftp
  38431. #: guix-git/doc/guix.texi:26024
  38432. #, no-wrap
  38433. msgid "{Data Type} knot-policy-configuration"
  38434. msgstr ""
  38435. #. type: deftp
  38436. #: guix-git/doc/guix.texi:26028
  38437. msgid "Data type representing a dnssec policy. Knot DNS is able to automatically sign your zones. It can either generate and manage your keys automatically or use keys that you generate."
  38438. msgstr ""
  38439. #. type: deftp
  38440. #: guix-git/doc/guix.texi:26035
  38441. msgid "Dnssec is usually implemented using two keys: a Key Signing Key (KSK) that is used to sign the second, and a Zone Signing Key (ZSK) that is used to sign the zone. In order to be trusted, the KSK needs to be present in the parent zone (usually a top-level domain). If your registrar supports dnssec, you will have to send them your KSK's hash so they can add a DS record in their zone. This is not automated and need to be done each time you change your KSK."
  38442. msgstr ""
  38443. #. type: deftp
  38444. #: guix-git/doc/guix.texi:26041
  38445. msgid "The policy also defines the lifetime of keys. Usually, ZSK can be changed easily and use weaker cryptographic functions (they use lower parameters) in order to sign records quickly, so they are changed often. The KSK however requires manual interaction with the registrar, so they are changed less often and use stronger parameters because they sign only one record."
  38446. msgstr ""
  38447. #. type: deftp
  38448. #: guix-git/doc/guix.texi:26043
  38449. msgid "This type has the following parameters:"
  38450. msgstr ""
  38451. #. type: table
  38452. #: guix-git/doc/guix.texi:26047
  38453. msgid "The id of the policy. It must not be empty."
  38454. msgstr ""
  38455. #. type: item
  38456. #: guix-git/doc/guix.texi:26048
  38457. #, no-wrap
  38458. msgid "@code{keystore} (default: @code{\"default\"})"
  38459. msgstr ""
  38460. #. type: table
  38461. #: guix-git/doc/guix.texi:26053
  38462. msgid "A reference to a keystore, that is a string containing the identifier of a keystore defined in a @code{knot-keystore-configuration} field. The @code{\"default\"} identifier means the default keystore (a kasp database that was setup by this service)."
  38463. msgstr ""
  38464. #. type: item
  38465. #: guix-git/doc/guix.texi:26054
  38466. #, no-wrap
  38467. msgid "@code{manual?} (default: @code{#f})"
  38468. msgstr ""
  38469. #. type: table
  38470. #: guix-git/doc/guix.texi:26056
  38471. msgid "Whether the key management is manual or automatic."
  38472. msgstr ""
  38473. #. type: item
  38474. #: guix-git/doc/guix.texi:26057
  38475. #, no-wrap
  38476. msgid "@code{single-type-signing?} (default: @code{#f})"
  38477. msgstr ""
  38478. #. type: table
  38479. #: guix-git/doc/guix.texi:26059
  38480. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  38481. msgstr ""
  38482. #. type: item
  38483. #: guix-git/doc/guix.texi:26060
  38484. #, no-wrap
  38485. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  38486. msgstr ""
  38487. #. type: table
  38488. #: guix-git/doc/guix.texi:26062
  38489. msgid "An algorithm of signing keys and issued signatures."
  38490. msgstr ""
  38491. #. type: item
  38492. #: guix-git/doc/guix.texi:26063
  38493. #, no-wrap
  38494. msgid "@code{ksk-size} (default: @code{256})"
  38495. msgstr ""
  38496. #. type: table
  38497. #: guix-git/doc/guix.texi:26066
  38498. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  38499. msgstr ""
  38500. #. type: item
  38501. #: guix-git/doc/guix.texi:26067
  38502. #, no-wrap
  38503. msgid "@code{zsk-size} (default: @code{256})"
  38504. msgstr ""
  38505. #. type: table
  38506. #: guix-git/doc/guix.texi:26070
  38507. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  38508. msgstr ""
  38509. #. type: item
  38510. #: guix-git/doc/guix.texi:26071
  38511. #, no-wrap
  38512. msgid "@code{dnskey-ttl} (default: @code{'default})"
  38513. msgstr ""
  38514. #. type: table
  38515. #: guix-git/doc/guix.texi:26074
  38516. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  38517. msgstr ""
  38518. #. type: item
  38519. #: guix-git/doc/guix.texi:26075
  38520. #, no-wrap
  38521. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  38522. msgstr ""
  38523. #. type: table
  38524. #: guix-git/doc/guix.texi:26077
  38525. msgid "The period between ZSK publication and the next rollover initiation."
  38526. msgstr ""
  38527. #. type: item
  38528. #: guix-git/doc/guix.texi:26078
  38529. #, no-wrap
  38530. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  38531. msgstr ""
  38532. #. type: table
  38533. #: guix-git/doc/guix.texi:26081
  38534. msgid "An extra delay added for each key rollover step. This value should be high enough to cover propagation of data from the master server to all slaves."
  38535. msgstr ""
  38536. #. type: item
  38537. #: guix-git/doc/guix.texi:26082
  38538. #, no-wrap
  38539. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  38540. msgstr ""
  38541. #. type: table
  38542. #: guix-git/doc/guix.texi:26084
  38543. msgid "A validity period of newly issued signatures."
  38544. msgstr ""
  38545. #. type: item
  38546. #: guix-git/doc/guix.texi:26085
  38547. #, no-wrap
  38548. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  38549. msgstr ""
  38550. #. type: table
  38551. #: guix-git/doc/guix.texi:26087
  38552. msgid "A period how long before a signature expiration the signature will be refreshed."
  38553. msgstr ""
  38554. #. type: item
  38555. #: guix-git/doc/guix.texi:26088
  38556. #, no-wrap
  38557. msgid "@code{nsec3?} (default: @code{#f})"
  38558. msgstr ""
  38559. #. type: table
  38560. #: guix-git/doc/guix.texi:26090
  38561. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  38562. msgstr ""
  38563. #. type: item
  38564. #: guix-git/doc/guix.texi:26091
  38565. #, no-wrap
  38566. msgid "@code{nsec3-iterations} (default: @code{5})"
  38567. msgstr ""
  38568. #. type: table
  38569. #: guix-git/doc/guix.texi:26093
  38570. msgid "The number of additional times the hashing is performed."
  38571. msgstr ""
  38572. #. type: item
  38573. #: guix-git/doc/guix.texi:26094
  38574. #, no-wrap
  38575. msgid "@code{nsec3-salt-length} (default: @code{8})"
  38576. msgstr ""
  38577. #. type: table
  38578. #: guix-git/doc/guix.texi:26097
  38579. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  38580. msgstr ""
  38581. #. type: item
  38582. #: guix-git/doc/guix.texi:26098
  38583. #, no-wrap
  38584. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  38585. msgstr ""
  38586. #. type: table
  38587. #: guix-git/doc/guix.texi:26100
  38588. msgid "The validity period of newly issued salt field."
  38589. msgstr ""
  38590. #. type: deftp
  38591. #: guix-git/doc/guix.texi:26104
  38592. #, no-wrap
  38593. msgid "{Data Type} knot-zone-configuration"
  38594. msgstr ""
  38595. #. type: deftp
  38596. #: guix-git/doc/guix.texi:26107
  38597. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  38598. msgstr ""
  38599. #. type: item
  38600. #: guix-git/doc/guix.texi:26109
  38601. #, no-wrap
  38602. msgid "@code{domain} (default: @code{\"\"})"
  38603. msgstr ""
  38604. #. type: table
  38605. #: guix-git/doc/guix.texi:26111
  38606. msgid "The domain served by this configuration. It must not be empty."
  38607. msgstr ""
  38608. #. type: item
  38609. #: guix-git/doc/guix.texi:26112
  38610. #, no-wrap
  38611. msgid "@code{file} (default: @code{\"\"})"
  38612. msgstr ""
  38613. #. type: table
  38614. #: guix-git/doc/guix.texi:26115
  38615. msgid "The file where this zone is saved. This parameter is ignored by master zones. Empty means default location that depends on the domain name."
  38616. msgstr ""
  38617. #. type: item
  38618. #: guix-git/doc/guix.texi:26116
  38619. #, no-wrap
  38620. msgid "@code{zone} (default: @code{(zone-file)})"
  38621. msgstr ""
  38622. #. type: table
  38623. #: guix-git/doc/guix.texi:26119
  38624. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  38625. msgstr ""
  38626. #. type: item
  38627. #: guix-git/doc/guix.texi:26120
  38628. #, no-wrap
  38629. msgid "@code{master} (default: @code{'()})"
  38630. msgstr ""
  38631. #. type: table
  38632. #: guix-git/doc/guix.texi:26123
  38633. msgid "A list of master remotes. When empty, this zone is a master. When set, this zone is a slave. This is a list of remotes identifiers."
  38634. msgstr ""
  38635. #. type: item
  38636. #: guix-git/doc/guix.texi:26124
  38637. #, no-wrap
  38638. msgid "@code{ddns-master} (default: @code{#f})"
  38639. msgstr ""
  38640. #. type: table
  38641. #: guix-git/doc/guix.texi:26127
  38642. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  38643. msgstr ""
  38644. #. type: item
  38645. #: guix-git/doc/guix.texi:26128
  38646. #, no-wrap
  38647. msgid "@code{notify} (default: @code{'()})"
  38648. msgstr ""
  38649. #. type: table
  38650. #: guix-git/doc/guix.texi:26130
  38651. msgid "A list of slave remote identifiers."
  38652. msgstr ""
  38653. #. type: item
  38654. #: guix-git/doc/guix.texi:26131
  38655. #, no-wrap
  38656. msgid "@code{acl} (default: @code{'()})"
  38657. msgstr ""
  38658. #. type: table
  38659. #: guix-git/doc/guix.texi:26133
  38660. msgid "A list of acl identifiers."
  38661. msgstr ""
  38662. #. type: item
  38663. #: guix-git/doc/guix.texi:26134
  38664. #, no-wrap
  38665. msgid "@code{semantic-checks?} (default: @code{#f})"
  38666. msgstr ""
  38667. #. type: table
  38668. #: guix-git/doc/guix.texi:26136
  38669. msgid "When set, this adds more semantic checks to the zone."
  38670. msgstr ""
  38671. #. type: item
  38672. #: guix-git/doc/guix.texi:26137
  38673. #, no-wrap
  38674. msgid "@code{disable-any?} (default: @code{#f})"
  38675. msgstr ""
  38676. #. type: table
  38677. #: guix-git/doc/guix.texi:26139
  38678. msgid "When set, this forbids queries of the ANY type."
  38679. msgstr ""
  38680. #. type: item
  38681. #: guix-git/doc/guix.texi:26140
  38682. #, no-wrap
  38683. msgid "@code{zonefile-sync} (default: @code{0})"
  38684. msgstr ""
  38685. #. type: table
  38686. #: guix-git/doc/guix.texi:26143
  38687. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  38688. msgstr ""
  38689. #. type: item
  38690. #: guix-git/doc/guix.texi:26144
  38691. #, no-wrap
  38692. msgid "@code{zonefile-load} (default: @code{#f})"
  38693. msgstr ""
  38694. #. type: table
  38695. #: guix-git/doc/guix.texi:26147
  38696. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  38697. msgstr ""
  38698. #. type: item
  38699. #: guix-git/doc/guix.texi:26149
  38700. #, no-wrap
  38701. msgid "@code{#f} for using the default value from Knot,"
  38702. msgstr ""
  38703. #. type: item
  38704. #: guix-git/doc/guix.texi:26150
  38705. #, no-wrap
  38706. msgid "@code{'none} for not using the zone file at all,"
  38707. msgstr ""
  38708. #. type: item
  38709. #: guix-git/doc/guix.texi:26151
  38710. #, no-wrap
  38711. msgid "@code{'difference} for computing the difference between already available"
  38712. msgstr ""
  38713. #. type: itemize
  38714. #: guix-git/doc/guix.texi:26153
  38715. msgid "contents and zone contents and applying it to the current zone contents,"
  38716. msgstr ""
  38717. #. type: item
  38718. #: guix-git/doc/guix.texi:26153
  38719. #, no-wrap
  38720. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  38721. msgstr ""
  38722. #. type: itemize
  38723. #: guix-git/doc/guix.texi:26156
  38724. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  38725. msgstr ""
  38726. #. type: item
  38727. #: guix-git/doc/guix.texi:26156
  38728. #, no-wrap
  38729. msgid "@code{'whole} for loading zone contents from the zone file."
  38730. msgstr ""
  38731. #. type: item
  38732. #: guix-git/doc/guix.texi:26159
  38733. #, no-wrap
  38734. msgid "@code{journal-content} (default: @code{#f})"
  38735. msgstr ""
  38736. #. type: table
  38737. #: guix-git/doc/guix.texi:26164
  38738. msgid "The way the journal is used to store zone and its changes. Possible values are @code{'none} to not use it at all, @code{'changes} to store changes and @code{'all} to store contents. @code{#f} does not set this option, so the default value from Knot is used."
  38739. msgstr ""
  38740. #. type: item
  38741. #: guix-git/doc/guix.texi:26165
  38742. #, no-wrap
  38743. msgid "@code{max-journal-usage} (default: @code{#f})"
  38744. msgstr ""
  38745. #. type: table
  38746. #: guix-git/doc/guix.texi:26168
  38747. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  38748. msgstr ""
  38749. #. type: item
  38750. #: guix-git/doc/guix.texi:26169
  38751. #, no-wrap
  38752. msgid "@code{max-journal-depth} (default: @code{#f})"
  38753. msgstr ""
  38754. #. type: table
  38755. #: guix-git/doc/guix.texi:26172
  38756. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  38757. msgstr ""
  38758. #. type: item
  38759. #: guix-git/doc/guix.texi:26173
  38760. #, no-wrap
  38761. msgid "@code{max-zone-size} (default: @code{#f})"
  38762. msgstr ""
  38763. #. type: table
  38764. #: guix-git/doc/guix.texi:26177
  38765. msgid "The maximum size of the zone file. This limit is enforced for incoming transfer and updates. @code{#f} does not set this option, so the default value from Knot is used."
  38766. msgstr ""
  38767. #. type: item
  38768. #: guix-git/doc/guix.texi:26178
  38769. #, no-wrap
  38770. msgid "@code{dnssec-policy} (default: @code{#f})"
  38771. msgstr ""
  38772. #. type: table
  38773. #: guix-git/doc/guix.texi:26182
  38774. msgid "A reference to a @code{knot-policy-configuration} record, or the special name @code{\"default\"}. If the value is @code{#f}, there is no dnssec signing on this zone."
  38775. msgstr ""
  38776. #. type: item
  38777. #: guix-git/doc/guix.texi:26183
  38778. #, no-wrap
  38779. msgid "@code{serial-policy} (default: @code{'increment})"
  38780. msgstr ""
  38781. #. type: table
  38782. #: guix-git/doc/guix.texi:26185
  38783. msgid "A policy between @code{'increment} and @code{'unixtime}."
  38784. msgstr ""
  38785. #. type: deftp
  38786. #: guix-git/doc/guix.texi:26189
  38787. #, no-wrap
  38788. msgid "{Data Type} knot-configuration"
  38789. msgstr ""
  38790. #. type: deftp
  38791. #: guix-git/doc/guix.texi:26192
  38792. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  38793. msgstr ""
  38794. #. type: item
  38795. #: guix-git/doc/guix.texi:26194
  38796. #, no-wrap
  38797. msgid "@code{knot} (default: @code{knot})"
  38798. msgstr ""
  38799. #. type: table
  38800. #: guix-git/doc/guix.texi:26196
  38801. msgid "The Knot package."
  38802. msgstr ""
  38803. #. type: item
  38804. #: guix-git/doc/guix.texi:26197
  38805. #, no-wrap
  38806. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  38807. msgstr ""
  38808. #. type: table
  38809. #: guix-git/doc/guix.texi:26199
  38810. msgid "The run directory. This directory will be used for pid file and sockets."
  38811. msgstr ""
  38812. #. type: item
  38813. #: guix-git/doc/guix.texi:26200
  38814. #, no-wrap
  38815. msgid "@code{includes} (default: @code{'()})"
  38816. msgstr ""
  38817. #. type: table
  38818. #: guix-git/doc/guix.texi:26203
  38819. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  38820. msgstr ""
  38821. #. type: cindex
  38822. #: guix-git/doc/guix.texi:26204
  38823. #, no-wrap
  38824. msgid "secrets, Knot service"
  38825. msgstr ""
  38826. #. type: table
  38827. #: guix-git/doc/guix.texi:26210
  38828. msgid "This can be used to manage secrets out-of-band. For example, secret keys may be stored in an out-of-band file not managed by Guix, and thus not visible in @file{/gnu/store}---e.g., you could store secret key configuration in @file{/etc/knot/secrets.conf} and add this file to the @code{includes} list."
  38829. msgstr ""
  38830. #. type: table
  38831. #: guix-git/doc/guix.texi:26215
  38832. msgid "One can generate a secret tsig key (for nsupdate and zone transfers with the keymgr command from the knot package. Note that the package is not automatically installed by the service. The following example shows how to generate a new tsig key:"
  38833. msgstr ""
  38834. #. type: example
  38835. #: guix-git/doc/guix.texi:26219
  38836. #, no-wrap
  38837. msgid ""
  38838. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  38839. "chmod 600 /etc/knot/secrets.conf\n"
  38840. msgstr ""
  38841. #. type: table
  38842. #: guix-git/doc/guix.texi:26225
  38843. msgid "Also note that the generated key will be named @var{mysecret}, so it is the name that needs to be used in the @var{key} field of the @code{knot-acl-configuration} record and in other places that need to refer to that key."
  38844. msgstr ""
  38845. #. type: table
  38846. #: guix-git/doc/guix.texi:26227
  38847. msgid "It can also be used to add configuration not supported by this interface."
  38848. msgstr ""
  38849. #. type: item
  38850. #: guix-git/doc/guix.texi:26228
  38851. #, no-wrap
  38852. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  38853. msgstr ""
  38854. #. type: table
  38855. #: guix-git/doc/guix.texi:26230 guix-git/doc/guix.texi:26233
  38856. msgid "An ip address on which to listen."
  38857. msgstr ""
  38858. #. type: item
  38859. #: guix-git/doc/guix.texi:26231
  38860. #, no-wrap
  38861. msgid "@code{listen-v6} (default: @code{\"::\"})"
  38862. msgstr ""
  38863. #. type: item
  38864. #: guix-git/doc/guix.texi:26234
  38865. #, no-wrap
  38866. msgid "@code{listen-port} (default: @code{53})"
  38867. msgstr ""
  38868. #. type: table
  38869. #: guix-git/doc/guix.texi:26236
  38870. msgid "A port on which to listen."
  38871. msgstr ""
  38872. #. type: item
  38873. #: guix-git/doc/guix.texi:26237
  38874. #, no-wrap
  38875. msgid "@code{keys} (default: @code{'()})"
  38876. msgstr ""
  38877. #. type: table
  38878. #: guix-git/doc/guix.texi:26239
  38879. msgid "The list of knot-key-configuration used by this configuration."
  38880. msgstr ""
  38881. #. type: item
  38882. #: guix-git/doc/guix.texi:26240
  38883. #, no-wrap
  38884. msgid "@code{acls} (default: @code{'()})"
  38885. msgstr ""
  38886. #. type: table
  38887. #: guix-git/doc/guix.texi:26242
  38888. msgid "The list of knot-acl-configuration used by this configuration."
  38889. msgstr ""
  38890. #. type: item
  38891. #: guix-git/doc/guix.texi:26243
  38892. #, no-wrap
  38893. msgid "@code{remotes} (default: @code{'()})"
  38894. msgstr ""
  38895. #. type: table
  38896. #: guix-git/doc/guix.texi:26245
  38897. msgid "The list of knot-remote-configuration used by this configuration."
  38898. msgstr ""
  38899. #. type: item
  38900. #: guix-git/doc/guix.texi:26246
  38901. #, no-wrap
  38902. msgid "@code{zones} (default: @code{'()})"
  38903. msgstr ""
  38904. #. type: table
  38905. #: guix-git/doc/guix.texi:26248
  38906. msgid "The list of knot-zone-configuration used by this configuration."
  38907. msgstr ""
  38908. #. type: subsubheading
  38909. #: guix-git/doc/guix.texi:26252
  38910. #, no-wrap
  38911. msgid "Knot Resolver Service"
  38912. msgstr ""
  38913. #. type: deffn
  38914. #: guix-git/doc/guix.texi:26254
  38915. #, no-wrap
  38916. msgid "{Scheme Variable} knot-resolver-service-type"
  38917. msgstr ""
  38918. #. type: deffn
  38919. #: guix-git/doc/guix.texi:26257
  38920. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  38921. msgstr ""
  38922. #. type: lisp
  38923. #: guix-git/doc/guix.texi:26267
  38924. #, no-wrap
  38925. msgid ""
  38926. "(service knot-resolver-service-type\n"
  38927. " (knot-resolver-configuration\n"
  38928. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  38929. "net.listen('192.168.0.1', 5353)\n"
  38930. "user('knot-resolver', 'knot-resolver')\n"
  38931. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  38932. "cache.size = 100 * MB\n"
  38933. "\"))))\n"
  38934. msgstr ""
  38935. #. type: deffn
  38936. #: guix-git/doc/guix.texi:26270
  38937. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  38938. msgstr ""
  38939. #. type: deftp
  38940. #: guix-git/doc/guix.texi:26272
  38941. #, no-wrap
  38942. msgid "{Data Type} knot-resolver-configuration"
  38943. msgstr ""
  38944. #. type: deftp
  38945. #: guix-git/doc/guix.texi:26274
  38946. msgid "Data type representing the configuration of knot-resolver."
  38947. msgstr ""
  38948. #. type: item
  38949. #: guix-git/doc/guix.texi:26276
  38950. #, no-wrap
  38951. msgid "@code{package} (default: @var{knot-resolver})"
  38952. msgstr ""
  38953. #. type: table
  38954. #: guix-git/doc/guix.texi:26278
  38955. msgid "Package object of the knot DNS resolver."
  38956. msgstr ""
  38957. #. type: item
  38958. #: guix-git/doc/guix.texi:26279
  38959. #, no-wrap
  38960. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  38961. msgstr ""
  38962. #. type: table
  38963. #: guix-git/doc/guix.texi:26282
  38964. msgid "File-like object of the kresd configuration file to use, by default it will listen on @code{127.0.0.1} and @code{::1}."
  38965. msgstr ""
  38966. #. type: item
  38967. #: guix-git/doc/guix.texi:26283
  38968. #, no-wrap
  38969. msgid "@code{garbage-collection-interval} (default: 1000)"
  38970. msgstr ""
  38971. #. type: table
  38972. #: guix-git/doc/guix.texi:26285
  38973. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  38974. msgstr ""
  38975. #. type: subsubheading
  38976. #: guix-git/doc/guix.texi:26290
  38977. #, no-wrap
  38978. msgid "Dnsmasq Service"
  38979. msgstr ""
  38980. #. type: deffn
  38981. #: guix-git/doc/guix.texi:26292
  38982. #, no-wrap
  38983. msgid "{Scheme Variable} dnsmasq-service-type"
  38984. msgstr ""
  38985. #. type: deffn
  38986. #: guix-git/doc/guix.texi:26295
  38987. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  38988. msgstr ""
  38989. #. type: lisp
  38990. #: guix-git/doc/guix.texi:26301
  38991. #, no-wrap
  38992. msgid ""
  38993. "(service dnsmasq-service-type\n"
  38994. " (dnsmasq-configuration\n"
  38995. " (no-resolv? #t)\n"
  38996. " (servers '(\"192.168.1.1\"))))\n"
  38997. msgstr ""
  38998. #. type: deftp
  38999. #: guix-git/doc/guix.texi:26304
  39000. #, no-wrap
  39001. msgid "{Data Type} dnsmasq-configuration"
  39002. msgstr ""
  39003. #. type: deftp
  39004. #: guix-git/doc/guix.texi:26306
  39005. msgid "Data type representing the configuration of dnsmasq."
  39006. msgstr ""
  39007. #. type: item
  39008. #: guix-git/doc/guix.texi:26308
  39009. #, no-wrap
  39010. msgid "@code{package} (default: @var{dnsmasq})"
  39011. msgstr ""
  39012. #. type: table
  39013. #: guix-git/doc/guix.texi:26310
  39014. msgid "Package object of the dnsmasq server."
  39015. msgstr ""
  39016. #. type: item
  39017. #: guix-git/doc/guix.texi:26311
  39018. #, no-wrap
  39019. msgid "@code{no-hosts?} (default: @code{#f})"
  39020. msgstr ""
  39021. #. type: table
  39022. #: guix-git/doc/guix.texi:26313
  39023. msgid "When true, don't read the hostnames in /etc/hosts."
  39024. msgstr ""
  39025. #. type: item
  39026. #: guix-git/doc/guix.texi:26314
  39027. #, no-wrap
  39028. msgid "@code{port} (default: @code{53})"
  39029. msgstr ""
  39030. #. type: table
  39031. #: guix-git/doc/guix.texi:26317
  39032. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  39033. msgstr ""
  39034. #. type: item
  39035. #: guix-git/doc/guix.texi:26318
  39036. #, no-wrap
  39037. msgid "@code{local-service?} (default: @code{#t})"
  39038. msgstr ""
  39039. #. type: table
  39040. #: guix-git/doc/guix.texi:26321
  39041. msgid "Accept DNS queries only from hosts whose address is on a local subnet, ie a subnet for which an interface exists on the server."
  39042. msgstr ""
  39043. #. type: item
  39044. #: guix-git/doc/guix.texi:26322
  39045. #, no-wrap
  39046. msgid "@code{listen-addresses} (default: @code{'()})"
  39047. msgstr ""
  39048. #. type: table
  39049. #: guix-git/doc/guix.texi:26324
  39050. msgid "Listen on the given IP addresses."
  39051. msgstr ""
  39052. #. type: item
  39053. #: guix-git/doc/guix.texi:26325
  39054. #, no-wrap
  39055. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  39056. msgstr ""
  39057. #. type: table
  39058. #: guix-git/doc/guix.texi:26327
  39059. msgid "The file to read the IP address of the upstream nameservers from."
  39060. msgstr ""
  39061. #. type: item
  39062. #: guix-git/doc/guix.texi:26328
  39063. #, no-wrap
  39064. msgid "@code{no-resolv?} (default: @code{#f})"
  39065. msgstr ""
  39066. #. type: table
  39067. #: guix-git/doc/guix.texi:26330
  39068. msgid "When true, don't read @var{resolv-file}."
  39069. msgstr ""
  39070. #. type: item
  39071. #: guix-git/doc/guix.texi:26331
  39072. #, no-wrap
  39073. msgid "@code{servers} (default: @code{'()})"
  39074. msgstr ""
  39075. #. type: table
  39076. #: guix-git/doc/guix.texi:26333
  39077. msgid "Specify IP address of upstream servers directly."
  39078. msgstr ""
  39079. #. type: item
  39080. #: guix-git/doc/guix.texi:26334
  39081. #, no-wrap
  39082. msgid "@code{addresses} (default: @code{'()})"
  39083. msgstr ""
  39084. #. type: table
  39085. #: guix-git/doc/guix.texi:26338
  39086. msgid "For each entry, specify an IP address to return for any host in the given domains. Queries in the domains are never forwarded and always replied to with the specified IP address."
  39087. msgstr ""
  39088. #. type: table
  39089. #: guix-git/doc/guix.texi:26340
  39090. msgid "This is useful for redirecting hosts locally, for example:"
  39091. msgstr ""
  39092. #. type: lisp
  39093. #: guix-git/doc/guix.texi:26349
  39094. #, no-wrap
  39095. msgid ""
  39096. "(service dnsmasq-service-type\n"
  39097. " (dnsmasq-configuration\n"
  39098. " (addresses\n"
  39099. " '(; Redirect to a local web-server.\n"
  39100. " \"/example.org/127.0.0.1\"\n"
  39101. " ; Redirect subdomain to a specific IP.\n"
  39102. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  39103. msgstr ""
  39104. #. type: table
  39105. #: guix-git/doc/guix.texi:26352
  39106. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  39107. msgstr ""
  39108. #. type: item
  39109. #: guix-git/doc/guix.texi:26353
  39110. #, no-wrap
  39111. msgid "@code{cache-size} (default: @code{150})"
  39112. msgstr ""
  39113. #. type: table
  39114. #: guix-git/doc/guix.texi:26356
  39115. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  39116. msgstr ""
  39117. #. type: item
  39118. #: guix-git/doc/guix.texi:26357
  39119. #, no-wrap
  39120. msgid "@code{negative-cache?} (default: @code{#t})"
  39121. msgstr ""
  39122. #. type: table
  39123. #: guix-git/doc/guix.texi:26359
  39124. msgid "When false, disable negative caching."
  39125. msgstr ""
  39126. #. type: item
  39127. #: guix-git/doc/guix.texi:26360
  39128. #, no-wrap
  39129. msgid "@code{tftp-enable?} (default: @code{#f})"
  39130. msgstr ""
  39131. #. type: table
  39132. #: guix-git/doc/guix.texi:26362
  39133. msgid "Whether to enable the built-in TFTP server."
  39134. msgstr ""
  39135. #. type: item
  39136. #: guix-git/doc/guix.texi:26363
  39137. #, no-wrap
  39138. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  39139. msgstr ""
  39140. #. type: table
  39141. #: guix-git/doc/guix.texi:26365
  39142. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  39143. msgstr ""
  39144. #. type: item
  39145. #: guix-git/doc/guix.texi:26366
  39146. #, no-wrap
  39147. msgid "@code{tftp-single-port?} (default: @code{#f})"
  39148. msgstr ""
  39149. #. type: table
  39150. #: guix-git/doc/guix.texi:26368
  39151. msgid "Whether to use only one single port for TFTP."
  39152. msgstr ""
  39153. #. type: item
  39154. #: guix-git/doc/guix.texi:26369
  39155. #, no-wrap
  39156. msgid "@code{tftp-secure?} (default: @code{#f})"
  39157. msgstr ""
  39158. #. type: table
  39159. #: guix-git/doc/guix.texi:26371
  39160. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  39161. msgstr ""
  39162. #. type: table
  39163. #: guix-git/doc/guix.texi:26375
  39164. msgid "If dnsmasq is being run as root, different rules apply: @code{tftp-secure?} has no effect, but only files which have the world-readable bit set are accessible."
  39165. msgstr ""
  39166. #. type: item
  39167. #: guix-git/doc/guix.texi:26376
  39168. #, no-wrap
  39169. msgid "@code{tftp-max} (default: @code{#f})"
  39170. msgstr ""
  39171. #. type: table
  39172. #: guix-git/doc/guix.texi:26378
  39173. msgid "If set, sets the maximal number of concurrent connections allowed."
  39174. msgstr ""
  39175. #. type: item
  39176. #: guix-git/doc/guix.texi:26379
  39177. #, no-wrap
  39178. msgid "@code{tftp-mtu} (default: @code{#f})"
  39179. msgstr ""
  39180. #. type: table
  39181. #: guix-git/doc/guix.texi:26381
  39182. msgid "If set, sets the MTU for TFTP packets to that value."
  39183. msgstr ""
  39184. #. type: item
  39185. #: guix-git/doc/guix.texi:26382
  39186. #, no-wrap
  39187. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  39188. msgstr ""
  39189. #. type: table
  39190. #: guix-git/doc/guix.texi:26384
  39191. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  39192. msgstr ""
  39193. #. type: item
  39194. #: guix-git/doc/guix.texi:26385
  39195. #, no-wrap
  39196. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  39197. msgstr ""
  39198. #. type: table
  39199. #: guix-git/doc/guix.texi:26387
  39200. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  39201. msgstr ""
  39202. #. type: item
  39203. #: guix-git/doc/guix.texi:26388
  39204. #, no-wrap
  39205. msgid "@code{tftp-port-range} (default: @code{#f})"
  39206. msgstr ""
  39207. #. type: table
  39208. #: guix-git/doc/guix.texi:26391
  39209. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  39210. msgstr ""
  39211. #. type: item
  39212. #: guix-git/doc/guix.texi:26392
  39213. #, no-wrap
  39214. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  39215. msgstr ""
  39216. #. type: table
  39217. #: guix-git/doc/guix.texi:26399
  39218. msgid "Look for files to transfer using TFTP relative to the given directory. When this is set, TFTP paths which include @samp{..} are rejected, to stop clients getting outside the specified root. Absolute paths (starting with @samp{/}) are allowed, but they must be within the TFTP-root. If the optional interface argument is given, the directory is only used for TFTP requests via that interface."
  39219. msgstr ""
  39220. #. type: item
  39221. #: guix-git/doc/guix.texi:26400
  39222. #, no-wrap
  39223. msgid "@code{tftp-unique-root} (default: @code{#f})"
  39224. msgstr ""
  39225. #. type: table
  39226. #: guix-git/doc/guix.texi:26405
  39227. msgid "If set, add the IP or hardware address of the TFTP client as a path component on the end of the TFTP-root. Only valid if a TFTP root is set and the directory exists. Defaults to adding IP address (in standard dotted-quad format)."
  39228. msgstr ""
  39229. #. type: table
  39230. #: guix-git/doc/guix.texi:26414
  39231. msgid "For instance, if @option{--tftp-root} is @samp{/tftp} and client @samp{1.2.3.4} requests file @file{myfile} then the effective path will be @file{/tftp/1.2.3.4/myfile} if @file{/tftp/1.2.3.4} exists or @file{/tftp/myfile} otherwise. When @samp{=mac} is specified it will append the MAC address instead, using lowercase zero padded digits separated by dashes, e.g.: @samp{01-02-03-04-aa-bb}. Note that resolving MAC addresses is only possible if the client is in the local network or obtained a DHCP lease from dnsmasq."
  39232. msgstr ""
  39233. #. type: subsubheading
  39234. #: guix-git/doc/guix.texi:26418
  39235. #, no-wrap
  39236. msgid "ddclient Service"
  39237. msgstr ""
  39238. #. type: cindex
  39239. #: guix-git/doc/guix.texi:26420
  39240. #, no-wrap
  39241. msgid "ddclient"
  39242. msgstr ""
  39243. #. type: Plain text
  39244. #: guix-git/doc/guix.texi:26424
  39245. msgid "The ddclient service described below runs the ddclient daemon, which takes care of automatically updating DNS entries for service providers such as @uref{https://dyn.com/dns/, Dyn}."
  39246. msgstr ""
  39247. #. type: Plain text
  39248. #: guix-git/doc/guix.texi:26427
  39249. msgid "The following example show instantiates the service with its default configuration:"
  39250. msgstr ""
  39251. #. type: lisp
  39252. #: guix-git/doc/guix.texi:26430
  39253. #, no-wrap
  39254. msgid "(service ddclient-service-type)\n"
  39255. msgstr ""
  39256. #. type: Plain text
  39257. #: guix-git/doc/guix.texi:26439
  39258. msgid "Note that ddclient needs to access credentials that are stored in a @dfn{secret file}, by default @file{/etc/ddclient/secrets} (see @code{secret-file} below). You are expected to create this file manually, in an ``out-of-band'' fashion (you @emph{could} make this file part of the service configuration, for instance by using @code{plain-file}, but it will be world-readable @i{via} @file{/gnu/store}). See the examples in the @file{share/ddclient} directory of the @code{ddclient} package."
  39259. msgstr ""
  39260. #. type: Plain text
  39261. #: guix-git/doc/guix.texi:26443
  39262. msgid "Available @code{ddclient-configuration} fields are:"
  39263. msgstr ""
  39264. #. type: deftypevr
  39265. #: guix-git/doc/guix.texi:26444
  39266. #, no-wrap
  39267. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  39268. msgstr ""
  39269. #. type: deftypevr
  39270. #: guix-git/doc/guix.texi:26446
  39271. msgid "The ddclient package."
  39272. msgstr ""
  39273. #. type: deftypevr
  39274. #: guix-git/doc/guix.texi:26449
  39275. #, no-wrap
  39276. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  39277. msgstr ""
  39278. #. type: deftypevr
  39279. #: guix-git/doc/guix.texi:26451
  39280. msgid "The period after which ddclient will retry to check IP and domain name."
  39281. msgstr ""
  39282. #. type: deftypevr
  39283. #: guix-git/doc/guix.texi:26456
  39284. #, no-wrap
  39285. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  39286. msgstr ""
  39287. #. type: deftypevr
  39288. #: guix-git/doc/guix.texi:26458
  39289. msgid "Use syslog for the output."
  39290. msgstr ""
  39291. #. type: deftypevr
  39292. #: guix-git/doc/guix.texi:26463
  39293. #, no-wrap
  39294. msgid "{@code{ddclient-configuration} parameter} string mail"
  39295. msgstr ""
  39296. #. type: deftypevr
  39297. #: guix-git/doc/guix.texi:26465
  39298. msgid "Mail to user."
  39299. msgstr ""
  39300. #. type: deftypevr
  39301. #: guix-git/doc/guix.texi:26467 guix-git/doc/guix.texi:26474
  39302. #: guix-git/doc/guix.texi:28211
  39303. msgid "Defaults to @samp{\"root\"}."
  39304. msgstr ""
  39305. #. type: deftypevr
  39306. #: guix-git/doc/guix.texi:26470
  39307. #, no-wrap
  39308. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  39309. msgstr ""
  39310. #. type: deftypevr
  39311. #: guix-git/doc/guix.texi:26472
  39312. msgid "Mail failed update to user."
  39313. msgstr ""
  39314. #. type: deftypevr
  39315. #: guix-git/doc/guix.texi:26477
  39316. #, no-wrap
  39317. msgid "{@code{ddclient-configuration} parameter} string pid"
  39318. msgstr ""
  39319. #. type: deftypevr
  39320. #: guix-git/doc/guix.texi:26479
  39321. msgid "The ddclient PID file."
  39322. msgstr ""
  39323. #. type: deftypevr
  39324. #: guix-git/doc/guix.texi:26481
  39325. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  39326. msgstr ""
  39327. #. type: deftypevr
  39328. #: guix-git/doc/guix.texi:26484
  39329. #, no-wrap
  39330. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  39331. msgstr ""
  39332. #. type: deftypevr
  39333. #: guix-git/doc/guix.texi:26486
  39334. msgid "Enable SSL support."
  39335. msgstr ""
  39336. #. type: deftypevr
  39337. #: guix-git/doc/guix.texi:26491
  39338. #, no-wrap
  39339. msgid "{@code{ddclient-configuration} parameter} string user"
  39340. msgstr ""
  39341. #. type: deftypevr
  39342. #: guix-git/doc/guix.texi:26494
  39343. msgid "Specifies the user name or ID that is used when running ddclient program."
  39344. msgstr ""
  39345. #. type: deftypevr
  39346. #: guix-git/doc/guix.texi:26496 guix-git/doc/guix.texi:26503
  39347. msgid "Defaults to @samp{\"ddclient\"}."
  39348. msgstr ""
  39349. #. type: deftypevr
  39350. #: guix-git/doc/guix.texi:26499
  39351. #, no-wrap
  39352. msgid "{@code{ddclient-configuration} parameter} string group"
  39353. msgstr ""
  39354. #. type: deftypevr
  39355. #: guix-git/doc/guix.texi:26501
  39356. msgid "Group of the user who will run the ddclient program."
  39357. msgstr ""
  39358. #. type: deftypevr
  39359. #: guix-git/doc/guix.texi:26506
  39360. #, no-wrap
  39361. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  39362. msgstr ""
  39363. #. type: deftypevr
  39364. #: guix-git/doc/guix.texi:26510
  39365. msgid "Secret file which will be appended to @file{ddclient.conf} file. This file contains credentials for use by ddclient. You are expected to create it manually."
  39366. msgstr ""
  39367. #. type: deftypevr
  39368. #: guix-git/doc/guix.texi:26512
  39369. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  39370. msgstr ""
  39371. #. type: deftypevr
  39372. #: guix-git/doc/guix.texi:26515
  39373. #, no-wrap
  39374. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  39375. msgstr ""
  39376. #. type: deftypevr
  39377. #: guix-git/doc/guix.texi:26517
  39378. msgid "Extra options will be appended to @file{ddclient.conf} file."
  39379. msgstr ""
  39380. #. type: cindex
  39381. #: guix-git/doc/guix.texi:26528
  39382. #, no-wrap
  39383. msgid "VPN (virtual private network)"
  39384. msgstr ""
  39385. #. type: cindex
  39386. #: guix-git/doc/guix.texi:26529
  39387. #, no-wrap
  39388. msgid "virtual private network (VPN)"
  39389. msgstr ""
  39390. #. type: Plain text
  39391. #: guix-git/doc/guix.texi:26533
  39392. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  39393. msgstr ""
  39394. #. type: subsubheading
  39395. #: guix-git/doc/guix.texi:26534
  39396. #, no-wrap
  39397. msgid "OpenVPN"
  39398. msgstr ""
  39399. #. type: Plain text
  39400. #: guix-git/doc/guix.texi:26538
  39401. msgid "It provides a @emph{client} service for your machine to connect to a VPN, and a @emph{server} service for your machine to host a VPN@."
  39402. msgstr ""
  39403. #. type: deffn
  39404. #: guix-git/doc/guix.texi:26539
  39405. #, no-wrap
  39406. msgid "{Scheme Procedure} openvpn-client-service @"
  39407. msgstr ""
  39408. #. type: deffn
  39409. #: guix-git/doc/guix.texi:26541
  39410. msgid "[#:config (openvpn-client-configuration)]"
  39411. msgstr ""
  39412. #. type: deffn
  39413. #: guix-git/doc/guix.texi:26543
  39414. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  39415. msgstr ""
  39416. #. type: deffn
  39417. #: guix-git/doc/guix.texi:26545
  39418. #, no-wrap
  39419. msgid "{Scheme Procedure} openvpn-server-service @"
  39420. msgstr ""
  39421. #. type: deffn
  39422. #: guix-git/doc/guix.texi:26547
  39423. msgid "[#:config (openvpn-server-configuration)]"
  39424. msgstr ""
  39425. #. type: deffn
  39426. #: guix-git/doc/guix.texi:26549
  39427. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  39428. msgstr ""
  39429. #. type: deffn
  39430. #: guix-git/doc/guix.texi:26551
  39431. msgid "Both can be run simultaneously."
  39432. msgstr ""
  39433. #. type: Plain text
  39434. #: guix-git/doc/guix.texi:26556
  39435. msgid "Available @code{openvpn-client-configuration} fields are:"
  39436. msgstr ""
  39437. #. type: deftypevr
  39438. #: guix-git/doc/guix.texi:26557
  39439. #, no-wrap
  39440. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  39441. msgstr ""
  39442. #. type: deftypevr
  39443. #: guix-git/doc/guix.texi:26559 guix-git/doc/guix.texi:26714
  39444. msgid "The OpenVPN package."
  39445. msgstr ""
  39446. #. type: deftypevr
  39447. #: guix-git/doc/guix.texi:26562
  39448. #, no-wrap
  39449. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  39450. msgstr ""
  39451. #. type: deftypevr
  39452. #: guix-git/doc/guix.texi:26564 guix-git/doc/guix.texi:26719
  39453. msgid "The OpenVPN pid file."
  39454. msgstr ""
  39455. #. type: deftypevr
  39456. #: guix-git/doc/guix.texi:26566 guix-git/doc/guix.texi:26721
  39457. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  39458. msgstr ""
  39459. #. type: deftypevr
  39460. #: guix-git/doc/guix.texi:26569
  39461. #, no-wrap
  39462. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  39463. msgstr ""
  39464. #. type: deftypevr
  39465. #: guix-git/doc/guix.texi:26572 guix-git/doc/guix.texi:26727
  39466. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  39467. msgstr ""
  39468. #. type: deftypevr
  39469. #: guix-git/doc/guix.texi:26574 guix-git/doc/guix.texi:26729
  39470. msgid "Defaults to @samp{udp}."
  39471. msgstr ""
  39472. #. type: deftypevr
  39473. #: guix-git/doc/guix.texi:26577
  39474. #, no-wrap
  39475. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  39476. msgstr ""
  39477. #. type: deftypevr
  39478. #: guix-git/doc/guix.texi:26579 guix-git/doc/guix.texi:26734
  39479. msgid "The device type used to represent the VPN connection."
  39480. msgstr ""
  39481. #. type: deftypevr
  39482. #: guix-git/doc/guix.texi:26581 guix-git/doc/guix.texi:26736
  39483. msgid "Defaults to @samp{tun}."
  39484. msgstr ""
  39485. #. type: Plain text
  39486. #: guix-git/doc/guix.texi:26587 guix-git/doc/guix.texi:26742
  39487. msgid "If you do not have some of these files (eg.@: you use a username and password), you can disable any of the following three fields by setting it to @code{'disabled}."
  39488. msgstr ""
  39489. #. type: deftypevr
  39490. #: guix-git/doc/guix.texi:26588
  39491. #, no-wrap
  39492. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  39493. msgstr ""
  39494. #. type: deftypevr
  39495. #: guix-git/doc/guix.texi:26590 guix-git/doc/guix.texi:26745
  39496. msgid "The certificate authority to check connections against."
  39497. msgstr ""
  39498. #. type: deftypevr
  39499. #: guix-git/doc/guix.texi:26592 guix-git/doc/guix.texi:26747
  39500. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  39501. msgstr ""
  39502. #. type: deftypevr
  39503. #: guix-git/doc/guix.texi:26595
  39504. #, no-wrap
  39505. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  39506. msgstr ""
  39507. #. type: deftypevr
  39508. #: guix-git/doc/guix.texi:26598 guix-git/doc/guix.texi:26753
  39509. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  39510. msgstr ""
  39511. #. type: deftypevr
  39512. #: guix-git/doc/guix.texi:26600 guix-git/doc/guix.texi:26755
  39513. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  39514. msgstr ""
  39515. #. type: deftypevr
  39516. #: guix-git/doc/guix.texi:26603
  39517. #, no-wrap
  39518. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  39519. msgstr ""
  39520. #. type: deftypevr
  39521. #: guix-git/doc/guix.texi:26606 guix-git/doc/guix.texi:26761
  39522. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  39523. msgstr ""
  39524. #. type: deftypevr
  39525. #: guix-git/doc/guix.texi:26608 guix-git/doc/guix.texi:26763
  39526. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  39527. msgstr ""
  39528. #. type: deftypevr
  39529. #: guix-git/doc/guix.texi:26611
  39530. #, no-wrap
  39531. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  39532. msgstr ""
  39533. #. type: deftypevr
  39534. #: guix-git/doc/guix.texi:26613 guix-git/doc/guix.texi:26768
  39535. msgid "Whether to use the lzo compression algorithm."
  39536. msgstr ""
  39537. #. type: deftypevr
  39538. #: guix-git/doc/guix.texi:26618
  39539. #, no-wrap
  39540. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  39541. msgstr ""
  39542. #. type: deftypevr
  39543. #: guix-git/doc/guix.texi:26620 guix-git/doc/guix.texi:26775
  39544. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  39545. msgstr ""
  39546. #. type: deftypevr
  39547. #: guix-git/doc/guix.texi:26625
  39548. #, no-wrap
  39549. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  39550. msgstr ""
  39551. #. type: deftypevr
  39552. #: guix-git/doc/guix.texi:26628 guix-git/doc/guix.texi:26783
  39553. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  39554. msgstr ""
  39555. #. type: deftypevr
  39556. #: guix-git/doc/guix.texi:26633
  39557. #, no-wrap
  39558. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  39559. msgstr ""
  39560. #. type: deftypevr
  39561. #: guix-git/doc/guix.texi:26636 guix-git/doc/guix.texi:26791
  39562. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  39563. msgstr ""
  39564. #. type: deftypevr
  39565. #: guix-git/doc/guix.texi:26640
  39566. #, no-wrap
  39567. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  39568. msgstr ""
  39569. #. type: deftypevr
  39570. #: guix-git/doc/guix.texi:26642 guix-git/doc/guix.texi:26797
  39571. msgid "Verbosity level."
  39572. msgstr ""
  39573. #. type: deftypevr
  39574. #: guix-git/doc/guix.texi:26644 guix-git/doc/guix.texi:26799
  39575. #: guix-git/doc/guix.texi:28479 guix-git/doc/guix.texi:28703
  39576. msgid "Defaults to @samp{3}."
  39577. msgstr ""
  39578. #. type: deftypevr
  39579. #: guix-git/doc/guix.texi:26647
  39580. #, no-wrap
  39581. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  39582. msgstr ""
  39583. #. type: deftypevr
  39584. #: guix-git/doc/guix.texi:26650 guix-git/doc/guix.texi:26805
  39585. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  39586. msgstr ""
  39587. #. type: deftypevr
  39588. #: guix-git/doc/guix.texi:26655
  39589. #, no-wrap
  39590. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  39591. msgstr ""
  39592. #. type: deftypevr
  39593. #: guix-git/doc/guix.texi:26659
  39594. msgid "Authenticate with server using username/password. The option is a file containing username/password on 2 lines. Do not use a file-like object as it would be added to the store and readable by any user."
  39595. msgstr ""
  39596. #. type: deftypevr
  39597. #: guix-git/doc/guix.texi:26661
  39598. msgid "Defaults to @samp{'disabled}."
  39599. msgstr ""
  39600. #. type: deftypevr
  39601. #: guix-git/doc/guix.texi:26663
  39602. #, no-wrap
  39603. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  39604. msgstr ""
  39605. #. type: deftypevr
  39606. #: guix-git/doc/guix.texi:26665
  39607. msgid "Whether to check the server certificate has server usage extension."
  39608. msgstr ""
  39609. #. type: deftypevr
  39610. #: guix-git/doc/guix.texi:26670
  39611. #, no-wrap
  39612. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  39613. msgstr ""
  39614. #. type: deftypevr
  39615. #: guix-git/doc/guix.texi:26672
  39616. msgid "Bind to a specific local port number."
  39617. msgstr ""
  39618. #. type: deftypevr
  39619. #: guix-git/doc/guix.texi:26677
  39620. #, no-wrap
  39621. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  39622. msgstr ""
  39623. #. type: deftypevr
  39624. #: guix-git/doc/guix.texi:26679
  39625. msgid "Retry resolving server address."
  39626. msgstr ""
  39627. #. type: deftypevr
  39628. #: guix-git/doc/guix.texi:26684
  39629. #, no-wrap
  39630. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  39631. msgstr ""
  39632. #. type: deftypevr
  39633. #: guix-git/doc/guix.texi:26686
  39634. msgid "A list of remote servers to connect to."
  39635. msgstr ""
  39636. #. type: deftypevr
  39637. #: guix-git/doc/guix.texi:26690
  39638. msgid "Available @code{openvpn-remote-configuration} fields are:"
  39639. msgstr ""
  39640. #. type: deftypevr
  39641. #: guix-git/doc/guix.texi:26691
  39642. #, no-wrap
  39643. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  39644. msgstr ""
  39645. #. type: deftypevr
  39646. #: guix-git/doc/guix.texi:26693
  39647. msgid "Server name."
  39648. msgstr ""
  39649. #. type: deftypevr
  39650. #: guix-git/doc/guix.texi:26695
  39651. msgid "Defaults to @samp{\"my-server\"}."
  39652. msgstr ""
  39653. #. type: deftypevr
  39654. #: guix-git/doc/guix.texi:26698
  39655. #, no-wrap
  39656. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  39657. msgstr ""
  39658. #. type: deftypevr
  39659. #: guix-git/doc/guix.texi:26700
  39660. msgid "Port number the server listens to."
  39661. msgstr ""
  39662. #. type: deftypevr
  39663. #: guix-git/doc/guix.texi:26702 guix-git/doc/guix.texi:26814
  39664. msgid "Defaults to @samp{1194}."
  39665. msgstr ""
  39666. #. type: Plain text
  39667. #: guix-git/doc/guix.texi:26711
  39668. msgid "Available @code{openvpn-server-configuration} fields are:"
  39669. msgstr ""
  39670. #. type: deftypevr
  39671. #: guix-git/doc/guix.texi:26712
  39672. #, no-wrap
  39673. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  39674. msgstr ""
  39675. #. type: deftypevr
  39676. #: guix-git/doc/guix.texi:26717
  39677. #, no-wrap
  39678. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  39679. msgstr ""
  39680. #. type: deftypevr
  39681. #: guix-git/doc/guix.texi:26724
  39682. #, no-wrap
  39683. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  39684. msgstr ""
  39685. #. type: deftypevr
  39686. #: guix-git/doc/guix.texi:26732
  39687. #, no-wrap
  39688. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  39689. msgstr ""
  39690. #. type: deftypevr
  39691. #: guix-git/doc/guix.texi:26743
  39692. #, no-wrap
  39693. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  39694. msgstr ""
  39695. #. type: deftypevr
  39696. #: guix-git/doc/guix.texi:26750
  39697. #, no-wrap
  39698. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  39699. msgstr ""
  39700. #. type: deftypevr
  39701. #: guix-git/doc/guix.texi:26758
  39702. #, no-wrap
  39703. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  39704. msgstr ""
  39705. #. type: deftypevr
  39706. #: guix-git/doc/guix.texi:26766
  39707. #, no-wrap
  39708. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  39709. msgstr ""
  39710. #. type: deftypevr
  39711. #: guix-git/doc/guix.texi:26773
  39712. #, no-wrap
  39713. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  39714. msgstr ""
  39715. #. type: deftypevr
  39716. #: guix-git/doc/guix.texi:26780
  39717. #, no-wrap
  39718. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  39719. msgstr ""
  39720. #. type: deftypevr
  39721. #: guix-git/doc/guix.texi:26788
  39722. #, no-wrap
  39723. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  39724. msgstr ""
  39725. #. type: deftypevr
  39726. #: guix-git/doc/guix.texi:26795
  39727. #, no-wrap
  39728. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  39729. msgstr ""
  39730. #. type: deftypevr
  39731. #: guix-git/doc/guix.texi:26802
  39732. #, no-wrap
  39733. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  39734. msgstr ""
  39735. #. type: deftypevr
  39736. #: guix-git/doc/guix.texi:26810
  39737. #, no-wrap
  39738. msgid "{@code{openvpn-server-configuration} parameter} number port"
  39739. msgstr ""
  39740. #. type: deftypevr
  39741. #: guix-git/doc/guix.texi:26812
  39742. msgid "Specifies the port number on which the server listens."
  39743. msgstr ""
  39744. #. type: deftypevr
  39745. #: guix-git/doc/guix.texi:26817
  39746. #, no-wrap
  39747. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  39748. msgstr ""
  39749. #. type: deftypevr
  39750. #: guix-git/doc/guix.texi:26819
  39751. msgid "An ip and mask specifying the subnet inside the virtual network."
  39752. msgstr ""
  39753. #. type: deftypevr
  39754. #: guix-git/doc/guix.texi:26821
  39755. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  39756. msgstr ""
  39757. #. type: deftypevr
  39758. #: guix-git/doc/guix.texi:26824
  39759. #, no-wrap
  39760. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  39761. msgstr ""
  39762. #. type: deftypevr
  39763. #: guix-git/doc/guix.texi:26826
  39764. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  39765. msgstr ""
  39766. #. type: deftypevr
  39767. #: guix-git/doc/guix.texi:26831
  39768. #, no-wrap
  39769. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  39770. msgstr ""
  39771. #. type: deftypevr
  39772. #: guix-git/doc/guix.texi:26833
  39773. msgid "The Diffie-Hellman parameters file."
  39774. msgstr ""
  39775. #. type: deftypevr
  39776. #: guix-git/doc/guix.texi:26835
  39777. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  39778. msgstr ""
  39779. #. type: deftypevr
  39780. #: guix-git/doc/guix.texi:26838
  39781. #, no-wrap
  39782. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  39783. msgstr ""
  39784. #. type: deftypevr
  39785. #: guix-git/doc/guix.texi:26840
  39786. msgid "The file that records client IPs."
  39787. msgstr ""
  39788. #. type: deftypevr
  39789. #: guix-git/doc/guix.texi:26842
  39790. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  39791. msgstr ""
  39792. #. type: deftypevr
  39793. #: guix-git/doc/guix.texi:26845
  39794. #, no-wrap
  39795. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  39796. msgstr ""
  39797. #. type: deftypevr
  39798. #: guix-git/doc/guix.texi:26847
  39799. msgid "When true, the server will act as a gateway for its clients."
  39800. msgstr ""
  39801. #. type: deftypevr
  39802. #: guix-git/doc/guix.texi:26852
  39803. #, no-wrap
  39804. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  39805. msgstr ""
  39806. #. type: deftypevr
  39807. #: guix-git/doc/guix.texi:26854
  39808. msgid "When true, clients are allowed to talk to each other inside the VPN."
  39809. msgstr ""
  39810. #. type: deftypevr
  39811. #: guix-git/doc/guix.texi:26859
  39812. #, no-wrap
  39813. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  39814. msgstr ""
  39815. #. type: deftypevr
  39816. #: guix-git/doc/guix.texi:26865
  39817. msgid "Causes ping-like messages to be sent back and forth over the link so that each side knows when the other side has gone down. @code{keepalive} requires a pair. The first element is the period of the ping sending, and the second element is the timeout before considering the other side down."
  39818. msgstr ""
  39819. #. type: deftypevr
  39820. #: guix-git/doc/guix.texi:26868
  39821. #, no-wrap
  39822. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  39823. msgstr ""
  39824. #. type: deftypevr
  39825. #: guix-git/doc/guix.texi:26870
  39826. msgid "The maximum number of clients."
  39827. msgstr ""
  39828. #. type: deftypevr
  39829. #: guix-git/doc/guix.texi:26875
  39830. #, no-wrap
  39831. msgid "{@code{openvpn-server-configuration} parameter} string status"
  39832. msgstr ""
  39833. #. type: deftypevr
  39834. #: guix-git/doc/guix.texi:26878
  39835. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  39836. msgstr ""
  39837. #. type: deftypevr
  39838. #: guix-git/doc/guix.texi:26880
  39839. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  39840. msgstr ""
  39841. #. type: deftypevr
  39842. #: guix-git/doc/guix.texi:26883
  39843. #, no-wrap
  39844. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  39845. msgstr ""
  39846. #. type: deftypevr
  39847. #: guix-git/doc/guix.texi:26885
  39848. msgid "The list of configuration for some clients."
  39849. msgstr ""
  39850. #. type: deftypevr
  39851. #: guix-git/doc/guix.texi:26889
  39852. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  39853. msgstr ""
  39854. #. type: deftypevr
  39855. #: guix-git/doc/guix.texi:26890
  39856. #, no-wrap
  39857. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  39858. msgstr ""
  39859. #. type: deftypevr
  39860. #: guix-git/doc/guix.texi:26892
  39861. msgid "Client name."
  39862. msgstr ""
  39863. #. type: deftypevr
  39864. #: guix-git/doc/guix.texi:26894
  39865. msgid "Defaults to @samp{\"client\"}."
  39866. msgstr ""
  39867. #. type: deftypevr
  39868. #: guix-git/doc/guix.texi:26897
  39869. #, no-wrap
  39870. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  39871. msgstr ""
  39872. #. type: deftypevr
  39873. #: guix-git/doc/guix.texi:26899
  39874. msgid "Client own network"
  39875. msgstr ""
  39876. #. type: deftypevr
  39877. #: guix-git/doc/guix.texi:26904
  39878. #, no-wrap
  39879. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  39880. msgstr ""
  39881. #. type: deftypevr
  39882. #: guix-git/doc/guix.texi:26906
  39883. msgid "Client VPN IP."
  39884. msgstr ""
  39885. #. type: subsubheading
  39886. #: guix-git/doc/guix.texi:26916
  39887. #, no-wrap
  39888. msgid "Wireguard"
  39889. msgstr ""
  39890. #. type: defvr
  39891. #: guix-git/doc/guix.texi:26918
  39892. #, no-wrap
  39893. msgid "{Scheme Variable} wireguard-service-type"
  39894. msgstr ""
  39895. #. type: defvr
  39896. #: guix-git/doc/guix.texi:26921
  39897. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  39898. msgstr ""
  39899. #. type: lisp
  39900. #: guix-git/doc/guix.texi:26932
  39901. #, no-wrap
  39902. msgid ""
  39903. "(service wireguard-service-type\n"
  39904. " (wireguard-configuration\n"
  39905. " (peers\n"
  39906. " (list\n"
  39907. " (wireguard-peer\n"
  39908. " (name \"my-peer\")\n"
  39909. " (endpoint \"my.wireguard.com:51820\")\n"
  39910. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  39911. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  39912. msgstr ""
  39913. #. type: deftp
  39914. #: guix-git/doc/guix.texi:26936
  39915. #, no-wrap
  39916. msgid "{Data Type} wireguard-configuration"
  39917. msgstr ""
  39918. #. type: deftp
  39919. #: guix-git/doc/guix.texi:26938
  39920. msgid "Data type representing the configuration of the Wireguard service."
  39921. msgstr ""
  39922. #. type: code{#1}
  39923. #: guix-git/doc/guix.texi:26940
  39924. #, no-wrap
  39925. msgid "wireguard"
  39926. msgstr ""
  39927. #. type: table
  39928. #: guix-git/doc/guix.texi:26942
  39929. msgid "The wireguard package to use for this service."
  39930. msgstr ""
  39931. #. type: item
  39932. #: guix-git/doc/guix.texi:26943
  39933. #, no-wrap
  39934. msgid "@code{interface} (default: @code{\"wg0\"})"
  39935. msgstr ""
  39936. #. type: table
  39937. #: guix-git/doc/guix.texi:26945
  39938. msgid "The interface name for the VPN."
  39939. msgstr ""
  39940. #. type: item
  39941. #: guix-git/doc/guix.texi:26946
  39942. #, no-wrap
  39943. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  39944. msgstr ""
  39945. #. type: table
  39946. #: guix-git/doc/guix.texi:26948
  39947. msgid "The IP addresses to be assigned to the above interface."
  39948. msgstr ""
  39949. #. type: item
  39950. #: guix-git/doc/guix.texi:26949
  39951. #, no-wrap
  39952. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  39953. msgstr ""
  39954. #. type: table
  39955. #: guix-git/doc/guix.texi:26952
  39956. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  39957. msgstr ""
  39958. #. type: item
  39959. #: guix-git/doc/guix.texi:26953
  39960. #, no-wrap
  39961. msgid "@code{peers} (default: @code{'()})"
  39962. msgstr ""
  39963. #. type: table
  39964. #: guix-git/doc/guix.texi:26956
  39965. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  39966. msgstr ""
  39967. #. type: deftp
  39968. #: guix-git/doc/guix.texi:26960
  39969. #, no-wrap
  39970. msgid "{Data Type} wireguard-peer"
  39971. msgstr ""
  39972. #. type: deftp
  39973. #: guix-git/doc/guix.texi:26962
  39974. msgid "Data type representing a Wireguard peer attached to a given interface."
  39975. msgstr ""
  39976. #. type: table
  39977. #: guix-git/doc/guix.texi:26966
  39978. msgid "The peer name."
  39979. msgstr ""
  39980. #. type: item
  39981. #: guix-git/doc/guix.texi:26967
  39982. #, no-wrap
  39983. msgid "@code{endpoint} (default: @code{#f})"
  39984. msgstr ""
  39985. #. type: table
  39986. #: guix-git/doc/guix.texi:26970
  39987. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  39988. msgstr ""
  39989. #. type: itemx
  39990. #: guix-git/doc/guix.texi:26971 guix-git/doc/guix.texi:27355
  39991. #: guix-git/doc/guix.texi:27389 guix-git/doc/guix.texi:32191
  39992. #, no-wrap
  39993. msgid "public-key"
  39994. msgstr ""
  39995. #. type: table
  39996. #: guix-git/doc/guix.texi:26973
  39997. msgid "The peer public-key represented as a base64 string."
  39998. msgstr ""
  39999. #. type: code{#1}
  40000. #: guix-git/doc/guix.texi:26974
  40001. #, no-wrap
  40002. msgid "allowed-ips"
  40003. msgstr ""
  40004. #. type: table
  40005. #: guix-git/doc/guix.texi:26977
  40006. msgid "A list of IP addresses from which incoming traffic for this peer is allowed and to which incoming traffic for this peer is directed."
  40007. msgstr ""
  40008. #. type: cindex
  40009. #: guix-git/doc/guix.texi:26983
  40010. #, no-wrap
  40011. msgid "NFS"
  40012. msgstr ""
  40013. #. type: Plain text
  40014. #: guix-git/doc/guix.texi:26988
  40015. msgid "The @code{(gnu services nfs)} module provides the following services, which are most commonly used in relation to mounting or exporting directory trees as @dfn{network file systems} (NFS)."
  40016. msgstr ""
  40017. #. type: Plain text
  40018. #: guix-git/doc/guix.texi:26992
  40019. msgid "While it is possible to use the individual components that together make up a Network File System service, we recommended to configure an NFS server with the @code{nfs-service-type}."
  40020. msgstr ""
  40021. #. type: subsubheading
  40022. #: guix-git/doc/guix.texi:26993
  40023. #, no-wrap
  40024. msgid "NFS Service"
  40025. msgstr ""
  40026. #. type: cindex
  40027. #: guix-git/doc/guix.texi:26994
  40028. #, no-wrap
  40029. msgid "NFS, server"
  40030. msgstr ""
  40031. #. type: Plain text
  40032. #: guix-git/doc/guix.texi:26999
  40033. msgid "The NFS service takes care of setting up all NFS component services, kernel configuration file systems, and installs configuration files in the locations that NFS expects."
  40034. msgstr ""
  40035. #. type: defvr
  40036. #: guix-git/doc/guix.texi:27000
  40037. #, no-wrap
  40038. msgid "{Scheme Variable} nfs-service-type"
  40039. msgstr ""
  40040. #. type: defvr
  40041. #: guix-git/doc/guix.texi:27002
  40042. msgid "A service type for a complete NFS server."
  40043. msgstr ""
  40044. #. type: deftp
  40045. #: guix-git/doc/guix.texi:27004
  40046. #, no-wrap
  40047. msgid "{Data Type} nfs-configuration"
  40048. msgstr ""
  40049. #. type: deftp
  40050. #: guix-git/doc/guix.texi:27007
  40051. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  40052. msgstr ""
  40053. #. type: deftp
  40054. #: guix-git/doc/guix.texi:27009
  40055. msgid "It has the following parameters:"
  40056. msgstr ""
  40057. #. type: item
  40058. #: guix-git/doc/guix.texi:27010 guix-git/doc/guix.texi:27135
  40059. #: guix-git/doc/guix.texi:27160
  40060. #, no-wrap
  40061. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  40062. msgstr ""
  40063. #. type: table
  40064. #: guix-git/doc/guix.texi:27012
  40065. msgid "The nfs-utils package to use."
  40066. msgstr ""
  40067. #. type: item
  40068. #: guix-git/doc/guix.texi:27013
  40069. #, no-wrap
  40070. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  40071. msgstr ""
  40072. #. type: table
  40073. #: guix-git/doc/guix.texi:27016
  40074. msgid "If a list of string values is provided, the @command{rpc.nfsd} daemon will be limited to supporting the given versions of the NFS protocol."
  40075. msgstr ""
  40076. #. type: item
  40077. #: guix-git/doc/guix.texi:27017
  40078. #, no-wrap
  40079. msgid "@code{exports} (default: @code{'()})"
  40080. msgstr ""
  40081. #. type: table
  40082. #: guix-git/doc/guix.texi:27022
  40083. msgid "This is a list of directories the NFS server should export. Each entry is a list consisting of two elements: a directory name and a string containing all options. This is an example in which the directory @file{/export} is served to all NFS clients as a read-only share:"
  40084. msgstr ""
  40085. #. type: lisp
  40086. #: guix-git/doc/guix.texi:27028
  40087. #, no-wrap
  40088. msgid ""
  40089. "(nfs-configuration\n"
  40090. " (exports\n"
  40091. " '((\"/export\"\n"
  40092. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  40093. msgstr ""
  40094. #. type: item
  40095. #: guix-git/doc/guix.texi:27030
  40096. #, no-wrap
  40097. msgid "@code{rpcmountd-port} (default: @code{#f})"
  40098. msgstr ""
  40099. #. type: table
  40100. #: guix-git/doc/guix.texi:27032
  40101. msgid "The network port that the @command{rpc.mountd} daemon should use."
  40102. msgstr ""
  40103. #. type: item
  40104. #: guix-git/doc/guix.texi:27033
  40105. #, no-wrap
  40106. msgid "@code{rpcstatd-port} (default: @code{#f})"
  40107. msgstr ""
  40108. #. type: table
  40109. #: guix-git/doc/guix.texi:27035
  40110. msgid "The network port that the @command{rpc.statd} daemon should use."
  40111. msgstr ""
  40112. #. type: item
  40113. #: guix-git/doc/guix.texi:27036 guix-git/doc/guix.texi:27084
  40114. #, no-wrap
  40115. msgid "@code{rpcbind} (default: @code{rpcbind})"
  40116. msgstr ""
  40117. #. type: table
  40118. #: guix-git/doc/guix.texi:27038 guix-git/doc/guix.texi:27086
  40119. msgid "The rpcbind package to use."
  40120. msgstr ""
  40121. #. type: item
  40122. #: guix-git/doc/guix.texi:27039
  40123. #, no-wrap
  40124. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  40125. msgstr ""
  40126. #. type: table
  40127. #: guix-git/doc/guix.texi:27041
  40128. msgid "The local NFSv4 domain name."
  40129. msgstr ""
  40130. #. type: item
  40131. #: guix-git/doc/guix.texi:27042
  40132. #, no-wrap
  40133. msgid "@code{nfsd-port} (default: @code{2049})"
  40134. msgstr ""
  40135. #. type: table
  40136. #: guix-git/doc/guix.texi:27044
  40137. msgid "The network port that the @command{nfsd} daemon should use."
  40138. msgstr ""
  40139. #. type: item
  40140. #: guix-git/doc/guix.texi:27045
  40141. #, no-wrap
  40142. msgid "@code{nfsd-threads} (default: @code{8})"
  40143. msgstr ""
  40144. #. type: table
  40145. #: guix-git/doc/guix.texi:27047
  40146. msgid "The number of threads used by the @command{nfsd} daemon."
  40147. msgstr ""
  40148. #. type: item
  40149. #: guix-git/doc/guix.texi:27048
  40150. #, no-wrap
  40151. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  40152. msgstr ""
  40153. #. type: table
  40154. #: guix-git/doc/guix.texi:27050
  40155. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  40156. msgstr ""
  40157. #. type: item
  40158. #: guix-git/doc/guix.texi:27051
  40159. #, no-wrap
  40160. msgid "@code{nfsd-udp?} (default: @code{#f})"
  40161. msgstr ""
  40162. #. type: table
  40163. #: guix-git/doc/guix.texi:27053
  40164. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  40165. msgstr ""
  40166. #. type: item
  40167. #: guix-git/doc/guix.texi:27054 guix-git/doc/guix.texi:27138
  40168. #: guix-git/doc/guix.texi:27163
  40169. #, no-wrap
  40170. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  40171. msgstr ""
  40172. #. type: table
  40173. #: guix-git/doc/guix.texi:27056 guix-git/doc/guix.texi:27140
  40174. #: guix-git/doc/guix.texi:27165
  40175. msgid "The directory where the pipefs file system is mounted."
  40176. msgstr ""
  40177. #. type: item
  40178. #: guix-git/doc/guix.texi:27057
  40179. #, no-wrap
  40180. msgid "@code{debug} (default: @code{'()\"})"
  40181. msgstr ""
  40182. #. type: table
  40183. #: guix-git/doc/guix.texi:27061
  40184. msgid "A list of subsystems for which debugging output should be enabled. This is a list of symbols. Any of these symbols are valid: @code{nfsd}, @code{nfs}, @code{rpc}, @code{idmap}, @code{statd}, or @code{mountd}."
  40185. msgstr ""
  40186. #. type: Plain text
  40187. #: guix-git/doc/guix.texi:27066
  40188. msgid "If you don't need a complete NFS service or prefer to build it yourself you can use the individual component services that are documented below."
  40189. msgstr ""
  40190. #. type: subsubheading
  40191. #: guix-git/doc/guix.texi:27067
  40192. #, no-wrap
  40193. msgid "RPC Bind Service"
  40194. msgstr ""
  40195. #. type: cindex
  40196. #: guix-git/doc/guix.texi:27068
  40197. #, no-wrap
  40198. msgid "rpcbind"
  40199. msgstr ""
  40200. #. type: Plain text
  40201. #: guix-git/doc/guix.texi:27074
  40202. msgid "The RPC Bind service provides a facility to map program numbers into universal addresses. Many NFS related services use this facility. Hence it is automatically started when a dependent service starts."
  40203. msgstr ""
  40204. #. type: defvr
  40205. #: guix-git/doc/guix.texi:27075
  40206. #, no-wrap
  40207. msgid "{Scheme Variable} rpcbind-service-type"
  40208. msgstr ""
  40209. #. type: defvr
  40210. #: guix-git/doc/guix.texi:27077
  40211. msgid "A service type for the RPC portmapper daemon."
  40212. msgstr ""
  40213. #. type: deftp
  40214. #: guix-git/doc/guix.texi:27080
  40215. #, no-wrap
  40216. msgid "{Data Type} rpcbind-configuration"
  40217. msgstr ""
  40218. #. type: deftp
  40219. #: guix-git/doc/guix.texi:27083
  40220. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  40221. msgstr ""
  40222. #. type: item
  40223. #: guix-git/doc/guix.texi:27087
  40224. #, no-wrap
  40225. msgid "@code{warm-start?} (default: @code{#t})"
  40226. msgstr ""
  40227. #. type: table
  40228. #: guix-git/doc/guix.texi:27091
  40229. msgid "If this parameter is @code{#t}, then the daemon will read a state file on startup thus reloading state information saved by a previous instance."
  40230. msgstr ""
  40231. #. type: subsubheading
  40232. #: guix-git/doc/guix.texi:27095
  40233. #, no-wrap
  40234. msgid "Pipefs Pseudo File System"
  40235. msgstr ""
  40236. #. type: cindex
  40237. #: guix-git/doc/guix.texi:27096
  40238. #, no-wrap
  40239. msgid "pipefs"
  40240. msgstr ""
  40241. #. type: cindex
  40242. #: guix-git/doc/guix.texi:27097
  40243. #, no-wrap
  40244. msgid "rpc_pipefs"
  40245. msgstr ""
  40246. #. type: Plain text
  40247. #: guix-git/doc/guix.texi:27101
  40248. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  40249. msgstr ""
  40250. #. type: defvr
  40251. #: guix-git/doc/guix.texi:27102
  40252. #, no-wrap
  40253. msgid "{Scheme Variable} pipefs-service-type"
  40254. msgstr ""
  40255. #. type: defvr
  40256. #: guix-git/doc/guix.texi:27104
  40257. msgid "A service type for the pipefs pseudo file system."
  40258. msgstr ""
  40259. #. type: deftp
  40260. #: guix-git/doc/guix.texi:27106
  40261. #, no-wrap
  40262. msgid "{Data Type} pipefs-configuration"
  40263. msgstr ""
  40264. #. type: deftp
  40265. #: guix-git/doc/guix.texi:27109
  40266. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  40267. msgstr ""
  40268. #. type: item
  40269. #: guix-git/doc/guix.texi:27110
  40270. #, no-wrap
  40271. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  40272. msgstr ""
  40273. #. type: table
  40274. #: guix-git/doc/guix.texi:27112
  40275. msgid "The directory to which the file system is to be attached."
  40276. msgstr ""
  40277. #. type: subsubheading
  40278. #: guix-git/doc/guix.texi:27116
  40279. #, no-wrap
  40280. msgid "GSS Daemon Service"
  40281. msgstr ""
  40282. #. type: cindex
  40283. #: guix-git/doc/guix.texi:27117
  40284. #, no-wrap
  40285. msgid "GSSD"
  40286. msgstr ""
  40287. #. type: cindex
  40288. #: guix-git/doc/guix.texi:27118
  40289. #, no-wrap
  40290. msgid "GSS"
  40291. msgstr ""
  40292. #. type: cindex
  40293. #: guix-git/doc/guix.texi:27119
  40294. #, no-wrap
  40295. msgid "global security system"
  40296. msgstr ""
  40297. #. type: Plain text
  40298. #: guix-git/doc/guix.texi:27126
  40299. msgid "The @dfn{global security system} (GSS) daemon provides strong security for RPC based protocols. Before exchanging RPC requests an RPC client must establish a security context. Typically this is done using the Kerberos command @command{kinit} or automatically at login time using PAM services (@pxref{Kerberos Services})."
  40300. msgstr ""
  40301. #. type: defvr
  40302. #: guix-git/doc/guix.texi:27127
  40303. #, no-wrap
  40304. msgid "{Scheme Variable} gss-service-type"
  40305. msgstr ""
  40306. #. type: defvr
  40307. #: guix-git/doc/guix.texi:27129
  40308. msgid "A service type for the Global Security System (GSS) daemon."
  40309. msgstr ""
  40310. #. type: deftp
  40311. #: guix-git/doc/guix.texi:27131
  40312. #, no-wrap
  40313. msgid "{Data Type} gss-configuration"
  40314. msgstr ""
  40315. #. type: deftp
  40316. #: guix-git/doc/guix.texi:27134
  40317. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  40318. msgstr ""
  40319. #. type: table
  40320. #: guix-git/doc/guix.texi:27137
  40321. msgid "The package in which the @command{rpc.gssd} command is to be found."
  40322. msgstr ""
  40323. #. type: subsubheading
  40324. #: guix-git/doc/guix.texi:27145
  40325. #, no-wrap
  40326. msgid "IDMAP Daemon Service"
  40327. msgstr ""
  40328. #. type: cindex
  40329. #: guix-git/doc/guix.texi:27146
  40330. #, no-wrap
  40331. msgid "idmapd"
  40332. msgstr ""
  40333. #. type: cindex
  40334. #: guix-git/doc/guix.texi:27147
  40335. #, no-wrap
  40336. msgid "name mapper"
  40337. msgstr ""
  40338. #. type: Plain text
  40339. #: guix-git/doc/guix.texi:27151
  40340. msgid "The idmap daemon service provides mapping between user IDs and user names. Typically it is required in order to access file systems mounted via NFSv4."
  40341. msgstr ""
  40342. #. type: defvr
  40343. #: guix-git/doc/guix.texi:27152
  40344. #, no-wrap
  40345. msgid "{Scheme Variable} idmap-service-type"
  40346. msgstr ""
  40347. #. type: defvr
  40348. #: guix-git/doc/guix.texi:27154
  40349. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  40350. msgstr ""
  40351. #. type: deftp
  40352. #: guix-git/doc/guix.texi:27156
  40353. #, no-wrap
  40354. msgid "{Data Type} idmap-configuration"
  40355. msgstr ""
  40356. #. type: deftp
  40357. #: guix-git/doc/guix.texi:27159
  40358. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  40359. msgstr ""
  40360. #. type: table
  40361. #: guix-git/doc/guix.texi:27162
  40362. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  40363. msgstr ""
  40364. #. type: item
  40365. #: guix-git/doc/guix.texi:27166
  40366. #, no-wrap
  40367. msgid "@code{domain} (default: @code{#f})"
  40368. msgstr ""
  40369. #. type: table
  40370. #: guix-git/doc/guix.texi:27170
  40371. msgid "The local NFSv4 domain name. This must be a string or @code{#f}. If it is @code{#f} then the daemon will use the host's fully qualified domain name."
  40372. msgstr ""
  40373. #. type: item
  40374. #: guix-git/doc/guix.texi:27171
  40375. #, no-wrap
  40376. msgid "@code{verbosity} (default: @code{0})"
  40377. msgstr ""
  40378. #. type: table
  40379. #: guix-git/doc/guix.texi:27173
  40380. msgid "The verbosity level of the daemon."
  40381. msgstr ""
  40382. #. type: Plain text
  40383. #: guix-git/doc/guix.texi:27184
  40384. msgid "@uref{https://guix.gnu.org/cuirass/, Cuirass} is a continuous integration tool for Guix. It can be used both for development and for providing substitutes to others (@pxref{Substitutes})."
  40385. msgstr ""
  40386. #. type: Plain text
  40387. #: guix-git/doc/guix.texi:27186
  40388. msgid "The @code{(gnu services cuirass)} module provides the following service."
  40389. msgstr ""
  40390. #. type: defvr
  40391. #: guix-git/doc/guix.texi:27187
  40392. #, no-wrap
  40393. msgid "{Scheme Procedure} cuirass-service-type"
  40394. msgstr ""
  40395. #. type: defvr
  40396. #: guix-git/doc/guix.texi:27190
  40397. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  40398. msgstr ""
  40399. #. type: Plain text
  40400. #: guix-git/doc/guix.texi:27195
  40401. msgid "To add build jobs, you have to set the @code{specifications} field of the configuration. For instance, the following example will build all the packages provided by the @code{my-channel} channel."
  40402. msgstr ""
  40403. #. type: lisp
  40404. #: guix-git/doc/guix.texi:27206
  40405. #, no-wrap
  40406. msgid ""
  40407. "(define %cuirass-specs\n"
  40408. " #~(list (specification\n"
  40409. " (name \"my-channel\")\n"
  40410. " (build '(channels my-channel))\n"
  40411. " (channels\n"
  40412. " (cons (channel\n"
  40413. " (name 'my-channel)\n"
  40414. " (url \"https://my-channel.git\"))\n"
  40415. " %default-channels)))))\n"
  40416. "\n"
  40417. msgstr ""
  40418. #. type: lisp
  40419. #: guix-git/doc/guix.texi:27210 guix-git/doc/guix.texi:27224
  40420. #, no-wrap
  40421. msgid ""
  40422. "(service cuirass-service-type\n"
  40423. " (cuirass-configuration\n"
  40424. " (specifications %cuirass-specs)))\n"
  40425. msgstr ""
  40426. #. type: Plain text
  40427. #: guix-git/doc/guix.texi:27214
  40428. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  40429. msgstr ""
  40430. #. type: lisp
  40431. #: guix-git/doc/guix.texi:27220
  40432. #, no-wrap
  40433. msgid ""
  40434. "(define %cuirass-specs\n"
  40435. " #~(list (specification\n"
  40436. " (name \"my-linux\")\n"
  40437. " (build '(packages \"linux-libre\")))))\n"
  40438. "\n"
  40439. msgstr ""
  40440. #. type: Plain text
  40441. #: guix-git/doc/guix.texi:27229
  40442. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  40443. msgstr ""
  40444. #. type: Plain text
  40445. #: guix-git/doc/guix.texi:27233
  40446. msgid "While information related to build jobs is located directly in the specifications, global settings for the @command{cuirass} process are accessible in other @code{cuirass-configuration} fields."
  40447. msgstr ""
  40448. #. type: deftp
  40449. #: guix-git/doc/guix.texi:27234
  40450. #, no-wrap
  40451. msgid "{Data Type} cuirass-configuration"
  40452. msgstr ""
  40453. #. type: deftp
  40454. #: guix-git/doc/guix.texi:27236
  40455. msgid "Data type representing the configuration of Cuirass."
  40456. msgstr ""
  40457. #. type: item
  40458. #: guix-git/doc/guix.texi:27238 guix-git/doc/guix.texi:27370
  40459. #, no-wrap
  40460. msgid "@code{cuirass} (default: @code{cuirass})"
  40461. msgstr ""
  40462. #. type: table
  40463. #: guix-git/doc/guix.texi:27240 guix-git/doc/guix.texi:27372
  40464. msgid "The Cuirass package to use."
  40465. msgstr ""
  40466. #. type: item
  40467. #: guix-git/doc/guix.texi:27241
  40468. #, no-wrap
  40469. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  40470. msgstr ""
  40471. #. type: table
  40472. #: guix-git/doc/guix.texi:27243 guix-git/doc/guix.texi:27347
  40473. #: guix-git/doc/guix.texi:27385
  40474. msgid "Location of the log file."
  40475. msgstr ""
  40476. #. type: item
  40477. #: guix-git/doc/guix.texi:27244
  40478. #, no-wrap
  40479. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  40480. msgstr ""
  40481. #. type: table
  40482. #: guix-git/doc/guix.texi:27246
  40483. msgid "Location of the log file used by the web interface."
  40484. msgstr ""
  40485. #. type: item
  40486. #: guix-git/doc/guix.texi:27247
  40487. #, no-wrap
  40488. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  40489. msgstr ""
  40490. #. type: table
  40491. #: guix-git/doc/guix.texi:27249
  40492. msgid "Location of the repository cache."
  40493. msgstr ""
  40494. #. type: item
  40495. #: guix-git/doc/guix.texi:27250
  40496. #, no-wrap
  40497. msgid "@code{user} (default: @code{\"cuirass\"})"
  40498. msgstr ""
  40499. #. type: table
  40500. #: guix-git/doc/guix.texi:27252
  40501. msgid "Owner of the @code{cuirass} process."
  40502. msgstr ""
  40503. #. type: item
  40504. #: guix-git/doc/guix.texi:27253
  40505. #, no-wrap
  40506. msgid "@code{group} (default: @code{\"cuirass\"})"
  40507. msgstr ""
  40508. #. type: table
  40509. #: guix-git/doc/guix.texi:27255
  40510. msgid "Owner's group of the @code{cuirass} process."
  40511. msgstr ""
  40512. #. type: item
  40513. #: guix-git/doc/guix.texi:27256
  40514. #, no-wrap
  40515. msgid "@code{interval} (default: @code{60})"
  40516. msgstr ""
  40517. #. type: table
  40518. #: guix-git/doc/guix.texi:27259
  40519. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  40520. msgstr ""
  40521. #. type: item
  40522. #: guix-git/doc/guix.texi:27260
  40523. #, no-wrap
  40524. msgid "@code{parameters} (default: @code{#f})"
  40525. msgstr ""
  40526. #. type: table
  40527. #: guix-git/doc/guix.texi:27263
  40528. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  40529. msgstr ""
  40530. #. type: item
  40531. #: guix-git/doc/guix.texi:27264
  40532. #, no-wrap
  40533. msgid "@code{remote-server} (default: @code{#f})"
  40534. msgstr ""
  40535. #. type: table
  40536. #: guix-git/doc/guix.texi:27267
  40537. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  40538. msgstr ""
  40539. #. type: item
  40540. #: guix-git/doc/guix.texi:27268
  40541. #, no-wrap
  40542. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  40543. msgstr ""
  40544. #. type: table
  40545. #: guix-git/doc/guix.texi:27273
  40546. msgid "Use @var{database} as the database containing the jobs and the past build results. Since Cuirass uses PostgreSQL as a database engine, @var{database} must be a string such as @code{\"dbname=cuirass host=localhost\"}."
  40547. msgstr ""
  40548. #. type: item
  40549. #: guix-git/doc/guix.texi:27274
  40550. #, no-wrap
  40551. msgid "@code{port} (default: @code{8081})"
  40552. msgstr ""
  40553. #. type: table
  40554. #: guix-git/doc/guix.texi:27276
  40555. msgid "Port number used by the HTTP server."
  40556. msgstr ""
  40557. #. type: table
  40558. #: guix-git/doc/guix.texi:27280
  40559. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  40560. msgstr ""
  40561. #. type: item
  40562. #: guix-git/doc/guix.texi:27281
  40563. #, no-wrap
  40564. msgid "@code{specifications} (default: @code{#~'()})"
  40565. msgstr ""
  40566. #. type: table
  40567. #: guix-git/doc/guix.texi:27285
  40568. msgid "A gexp (@pxref{G-Expressions}) that evaluates to a list of specifications records. The specification record is described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  40569. msgstr ""
  40570. #. type: item
  40571. #: guix-git/doc/guix.texi:27286
  40572. #, no-wrap
  40573. msgid "@code{use-substitutes?} (default: @code{#f})"
  40574. msgstr ""
  40575. #. type: table
  40576. #: guix-git/doc/guix.texi:27289
  40577. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  40578. msgstr ""
  40579. #. type: item
  40580. #: guix-git/doc/guix.texi:27290 guix-git/doc/guix.texi:34160
  40581. #, no-wrap
  40582. msgid "@code{one-shot?} (default: @code{#f})"
  40583. msgstr ""
  40584. #. type: table
  40585. #: guix-git/doc/guix.texi:27292
  40586. msgid "Only evaluate specifications and build derivations once."
  40587. msgstr ""
  40588. #. type: item
  40589. #: guix-git/doc/guix.texi:27293
  40590. #, no-wrap
  40591. msgid "@code{fallback?} (default: @code{#f})"
  40592. msgstr ""
  40593. #. type: table
  40594. #: guix-git/doc/guix.texi:27296
  40595. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  40596. msgstr ""
  40597. #. type: table
  40598. #: guix-git/doc/guix.texi:27299
  40599. msgid "Extra options to pass when running the Cuirass processes."
  40600. msgstr ""
  40601. #. type: cindex
  40602. #: guix-git/doc/guix.texi:27303
  40603. #, no-wrap
  40604. msgid "remote build"
  40605. msgstr ""
  40606. #. type: subsubheading
  40607. #: guix-git/doc/guix.texi:27304
  40608. #, no-wrap
  40609. msgid "Cuirass remote building"
  40610. msgstr ""
  40611. #. type: Plain text
  40612. #: guix-git/doc/guix.texi:27307
  40613. msgid "Cuirass supports two mechanisms to build derivations."
  40614. msgstr ""
  40615. #. type: item
  40616. #: guix-git/doc/guix.texi:27309
  40617. #, no-wrap
  40618. msgid "Using the local Guix daemon."
  40619. msgstr ""
  40620. #. type: itemize
  40621. #: guix-git/doc/guix.texi:27313
  40622. msgid "This is the default build mechanism. Once the build jobs are evaluated, they are sent to the local Guix daemon. Cuirass then listens to the Guix daemon output to detect the various build events."
  40623. msgstr ""
  40624. #. type: item
  40625. #: guix-git/doc/guix.texi:27314
  40626. #, no-wrap
  40627. msgid "Using the remote build mechanism."
  40628. msgstr ""
  40629. #. type: itemize
  40630. #: guix-git/doc/guix.texi:27318
  40631. msgid "The build jobs are not submitted to the local Guix daemon. Instead, a remote server dispatches build requests to the connect remote workers, according to the build priorities."
  40632. msgstr ""
  40633. #. type: Plain text
  40634. #: guix-git/doc/guix.texi:27325
  40635. msgid "To enable this build mode a @code{cuirass-remote-server-configuration} record must be passed as @code{remote-server} argument of the @code{cuirass-configuration} record. The @code{cuirass-remote-server-configuration} record is described below."
  40636. msgstr ""
  40637. #. type: Plain text
  40638. #: guix-git/doc/guix.texi:27330
  40639. msgid "This build mode scales way better than the default build mode. This is the build mode that is used on the GNU Guix build farm at @url{https://ci.guix.gnu.org}. It should be preferred when using Cuirass to build large amount of packages."
  40640. msgstr ""
  40641. #. type: deftp
  40642. #: guix-git/doc/guix.texi:27331
  40643. #, no-wrap
  40644. msgid "{Data Type} cuirass-remote-server-configuration"
  40645. msgstr ""
  40646. #. type: deftp
  40647. #: guix-git/doc/guix.texi:27333
  40648. msgid "Data type representing the configuration of the Cuirass remote-server."
  40649. msgstr ""
  40650. #. type: item
  40651. #: guix-git/doc/guix.texi:27335
  40652. #, no-wrap
  40653. msgid "@code{backend-port} (default: @code{5555})"
  40654. msgstr ""
  40655. #. type: table
  40656. #: guix-git/doc/guix.texi:27338
  40657. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  40658. msgstr ""
  40659. #. type: item
  40660. #: guix-git/doc/guix.texi:27339
  40661. #, no-wrap
  40662. msgid "@code{log-port} (default: @code{5556})"
  40663. msgstr ""
  40664. #. type: table
  40665. #: guix-git/doc/guix.texi:27341
  40666. msgid "The TCP port of the log server. It defaults to @code{5556}."
  40667. msgstr ""
  40668. #. type: item
  40669. #: guix-git/doc/guix.texi:27342
  40670. #, no-wrap
  40671. msgid "@code{publish-port} (default: @code{5557})"
  40672. msgstr ""
  40673. #. type: table
  40674. #: guix-git/doc/guix.texi:27344
  40675. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  40676. msgstr ""
  40677. #. type: item
  40678. #: guix-git/doc/guix.texi:27345
  40679. #, no-wrap
  40680. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  40681. msgstr ""
  40682. #. type: item
  40683. #: guix-git/doc/guix.texi:27348
  40684. #, no-wrap
  40685. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  40686. msgstr ""
  40687. #. type: table
  40688. #: guix-git/doc/guix.texi:27350
  40689. msgid "Use @var{cache} directory to cache build log files."
  40690. msgstr ""
  40691. #. type: item
  40692. #: guix-git/doc/guix.texi:27351
  40693. #, no-wrap
  40694. msgid "@code{trigger-url} (default: @code{#f})"
  40695. msgstr ""
  40696. #. type: table
  40697. #: guix-git/doc/guix.texi:27354
  40698. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  40699. msgstr ""
  40700. #. type: code{#1}
  40701. #: guix-git/doc/guix.texi:27356 guix-git/doc/guix.texi:27390
  40702. #, no-wrap
  40703. msgid "private-key"
  40704. msgstr ""
  40705. #. type: Plain text
  40706. #: guix-git/doc/guix.texi:27365
  40707. msgid "At least one remote worker must also be started on any machine of the local network to actually perform the builds and report their status."
  40708. msgstr ""
  40709. #. type: deftp
  40710. #: guix-git/doc/guix.texi:27366
  40711. #, no-wrap
  40712. msgid "{Data Type} cuirass-remote-worker-configuration"
  40713. msgstr ""
  40714. #. type: deftp
  40715. #: guix-git/doc/guix.texi:27368
  40716. msgid "Data type representing the configuration of the Cuirass remote-worker."
  40717. msgstr ""
  40718. #. type: item
  40719. #: guix-git/doc/guix.texi:27373
  40720. #, no-wrap
  40721. msgid "@code{workers} (default: @code{1})"
  40722. msgstr ""
  40723. #. type: table
  40724. #: guix-git/doc/guix.texi:27375
  40725. msgid "Start @var{workers} parallel workers."
  40726. msgstr ""
  40727. #. type: table
  40728. #: guix-git/doc/guix.texi:27379
  40729. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  40730. msgstr ""
  40731. #. type: item
  40732. #: guix-git/doc/guix.texi:27380
  40733. #, no-wrap
  40734. msgid "@code{systems} (default: @code{(list (%current-system))})"
  40735. msgstr ""
  40736. #. type: table
  40737. #: guix-git/doc/guix.texi:27382
  40738. msgid "Only request builds for the given @var{systems}."
  40739. msgstr ""
  40740. #. type: item
  40741. #: guix-git/doc/guix.texi:27383
  40742. #, no-wrap
  40743. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  40744. msgstr ""
  40745. #. type: item
  40746. #: guix-git/doc/guix.texi:27386
  40747. #, no-wrap
  40748. msgid "@code{publish-port} (default: @code{5558})"
  40749. msgstr ""
  40750. #. type: table
  40751. #: guix-git/doc/guix.texi:27388
  40752. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  40753. msgstr ""
  40754. #. type: subsubheading
  40755. #: guix-git/doc/guix.texi:27397
  40756. #, no-wrap
  40757. msgid "Laminar"
  40758. msgstr ""
  40759. #. type: Plain text
  40760. #: guix-git/doc/guix.texi:27402
  40761. msgid "@uref{https://laminar.ohwg.net/, Laminar} is a lightweight and modular Continuous Integration service. It doesn't have a configuration web UI instead uses version-controllable configuration files and scripts."
  40762. msgstr ""
  40763. #. type: Plain text
  40764. #: guix-git/doc/guix.texi:27405
  40765. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  40766. msgstr ""
  40767. #. type: defvr
  40768. #: guix-git/doc/guix.texi:27406
  40769. #, no-wrap
  40770. msgid "{Scheme Procedure} laminar-service-type"
  40771. msgstr ""
  40772. #. type: defvr
  40773. #: guix-git/doc/guix.texi:27409
  40774. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  40775. msgstr ""
  40776. #. type: defvr
  40777. #: guix-git/doc/guix.texi:27413
  40778. msgid "All configuration values have defaults, a minimal configuration to get Laminar running is shown below. By default, the web interface is available on port 8080."
  40779. msgstr ""
  40780. #. type: lisp
  40781. #: guix-git/doc/guix.texi:27416
  40782. #, no-wrap
  40783. msgid "(service laminar-service-type)\n"
  40784. msgstr ""
  40785. #. type: deftp
  40786. #: guix-git/doc/guix.texi:27419
  40787. #, no-wrap
  40788. msgid "{Data Type} laminar-configuration"
  40789. msgstr ""
  40790. #. type: deftp
  40791. #: guix-git/doc/guix.texi:27421
  40792. msgid "Data type representing the configuration of Laminar."
  40793. msgstr ""
  40794. #. type: item
  40795. #: guix-git/doc/guix.texi:27423
  40796. #, no-wrap
  40797. msgid "@code{laminar} (default: @code{laminar})"
  40798. msgstr ""
  40799. #. type: table
  40800. #: guix-git/doc/guix.texi:27425
  40801. msgid "The Laminar package to use."
  40802. msgstr ""
  40803. #. type: item
  40804. #: guix-git/doc/guix.texi:27426
  40805. #, no-wrap
  40806. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  40807. msgstr ""
  40808. #. type: table
  40809. #: guix-git/doc/guix.texi:27428
  40810. msgid "The directory for job configurations and run directories."
  40811. msgstr ""
  40812. #. type: item
  40813. #: guix-git/doc/guix.texi:27429
  40814. #, no-wrap
  40815. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  40816. msgstr ""
  40817. #. type: table
  40818. #: guix-git/doc/guix.texi:27432
  40819. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  40820. msgstr ""
  40821. #. type: item
  40822. #: guix-git/doc/guix.texi:27433
  40823. #, no-wrap
  40824. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  40825. msgstr ""
  40826. #. type: table
  40827. #: guix-git/doc/guix.texi:27436
  40828. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  40829. msgstr ""
  40830. #. type: item
  40831. #: guix-git/doc/guix.texi:27437
  40832. #, no-wrap
  40833. msgid "@code{title} (default: @code{\"Laminar\"})"
  40834. msgstr ""
  40835. #. type: table
  40836. #: guix-git/doc/guix.texi:27439
  40837. msgid "The page title to show in the web frontend."
  40838. msgstr ""
  40839. #. type: item
  40840. #: guix-git/doc/guix.texi:27440
  40841. #, no-wrap
  40842. msgid "@code{keep-rundirs} (default: @code{0})"
  40843. msgstr ""
  40844. #. type: table
  40845. #: guix-git/doc/guix.texi:27444
  40846. msgid "Set to an integer defining how many rundirs to keep per job. The lowest-numbered ones will be deleted. The default is 0, meaning all run dirs will be immediately deleted."
  40847. msgstr ""
  40848. #. type: item
  40849. #: guix-git/doc/guix.texi:27445
  40850. #, no-wrap
  40851. msgid "@code{archive-url} (default: @code{#f})"
  40852. msgstr ""
  40853. #. type: table
  40854. #: guix-git/doc/guix.texi:27448
  40855. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  40856. msgstr ""
  40857. #. type: item
  40858. #: guix-git/doc/guix.texi:27449
  40859. #, no-wrap
  40860. msgid "@code{base-url} (default: @code{#f})"
  40861. msgstr ""
  40862. #. type: table
  40863. #: guix-git/doc/guix.texi:27451
  40864. msgid "Base URL to use for links to laminar itself."
  40865. msgstr ""
  40866. #. type: cindex
  40867. #: guix-git/doc/guix.texi:27458
  40868. #, no-wrap
  40869. msgid "tlp"
  40870. msgstr ""
  40871. #. type: cindex
  40872. #: guix-git/doc/guix.texi:27459
  40873. #, no-wrap
  40874. msgid "power management with TLP"
  40875. msgstr ""
  40876. #. type: subsubheading
  40877. #: guix-git/doc/guix.texi:27460
  40878. #, no-wrap
  40879. msgid "TLP daemon"
  40880. msgstr ""
  40881. #. type: Plain text
  40882. #: guix-git/doc/guix.texi:27464
  40883. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  40884. msgstr ""
  40885. #. type: Plain text
  40886. #: guix-git/doc/guix.texi:27470
  40887. msgid "TLP enables various powersaving modes in userspace and kernel. Contrary to @code{upower-service}, it is not a passive, monitoring tool, as it will apply custom settings each time a new power source is detected. More information can be found at @uref{https://linrunner.de/en/tlp/tlp.html, TLP home page}."
  40888. msgstr ""
  40889. #. type: deffn
  40890. #: guix-git/doc/guix.texi:27471
  40891. #, no-wrap
  40892. msgid "{Scheme Variable} tlp-service-type"
  40893. msgstr ""
  40894. #. type: deffn
  40895. #: guix-git/doc/guix.texi:27475
  40896. msgid "The service type for the TLP tool. The default settings are optimised for battery life on most systems, but you can tweak them to your heart's content by adding a valid @code{tlp-configuration}:"
  40897. msgstr ""
  40898. #. type: lisp
  40899. #: guix-git/doc/guix.texi:27480
  40900. #, no-wrap
  40901. msgid ""
  40902. "(service tlp-service-type\n"
  40903. " (tlp-configuration\n"
  40904. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  40905. " (sched-powersave-on-bat? #t)))\n"
  40906. msgstr ""
  40907. #. type: Plain text
  40908. #: guix-git/doc/guix.texi:27488
  40909. msgid "Each parameter definition is preceded by its type; for example, @samp{boolean foo} indicates that the @code{foo} parameter should be specified as a boolean. Types starting with @code{maybe-} denote parameters that won't show up in TLP config file when their value is @code{'disabled}."
  40910. msgstr ""
  40911. #. type: Plain text
  40912. #: guix-git/doc/guix.texi:27498
  40913. msgid "Available @code{tlp-configuration} fields are:"
  40914. msgstr ""
  40915. #. type: deftypevr
  40916. #: guix-git/doc/guix.texi:27499
  40917. #, no-wrap
  40918. msgid "{@code{tlp-configuration} parameter} package tlp"
  40919. msgstr ""
  40920. #. type: deftypevr
  40921. #: guix-git/doc/guix.texi:27501
  40922. msgid "The TLP package."
  40923. msgstr ""
  40924. #. type: deftypevr
  40925. #: guix-git/doc/guix.texi:27504
  40926. #, no-wrap
  40927. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  40928. msgstr ""
  40929. #. type: deftypevr
  40930. #: guix-git/doc/guix.texi:27506
  40931. msgid "Set to true if you wish to enable TLP."
  40932. msgstr ""
  40933. #. type: deftypevr
  40934. #: guix-git/doc/guix.texi:27511
  40935. #, no-wrap
  40936. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  40937. msgstr ""
  40938. #. type: deftypevr
  40939. #: guix-git/doc/guix.texi:27514
  40940. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  40941. msgstr ""
  40942. #. type: deftypevr
  40943. #: guix-git/doc/guix.texi:27516
  40944. msgid "Defaults to @samp{\"AC\"}."
  40945. msgstr ""
  40946. #. type: deftypevr
  40947. #: guix-git/doc/guix.texi:27519
  40948. #, no-wrap
  40949. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  40950. msgstr ""
  40951. #. type: deftypevr
  40952. #: guix-git/doc/guix.texi:27522
  40953. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  40954. msgstr ""
  40955. #. type: deftypevr
  40956. #: guix-git/doc/guix.texi:27527
  40957. #, no-wrap
  40958. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  40959. msgstr ""
  40960. #. type: deftypevr
  40961. #: guix-git/doc/guix.texi:27529
  40962. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  40963. msgstr ""
  40964. #. type: deftypevr
  40965. #: guix-git/doc/guix.texi:27531
  40966. msgid "Defaults to @samp{2}."
  40967. msgstr ""
  40968. #. type: deftypevr
  40969. #: guix-git/doc/guix.texi:27534
  40970. #, no-wrap
  40971. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  40972. msgstr ""
  40973. #. type: deftypevr
  40974. #: guix-git/doc/guix.texi:27536
  40975. msgid "Dirty pages flushing periodicity, expressed in seconds."
  40976. msgstr ""
  40977. #. type: deftypevr
  40978. #: guix-git/doc/guix.texi:27538 guix-git/doc/guix.texi:27761
  40979. #: guix-git/doc/guix.texi:29975 guix-git/doc/guix.texi:29983
  40980. msgid "Defaults to @samp{15}."
  40981. msgstr ""
  40982. #. type: deftypevr
  40983. #: guix-git/doc/guix.texi:27541
  40984. #, no-wrap
  40985. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  40986. msgstr ""
  40987. #. type: deftypevr
  40988. #: guix-git/doc/guix.texi:27543
  40989. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  40990. msgstr ""
  40991. #. type: deftypevr
  40992. #: guix-git/doc/guix.texi:27545
  40993. msgid "Defaults to @samp{60}."
  40994. msgstr ""
  40995. #. type: deftypevr
  40996. #: guix-git/doc/guix.texi:27548
  40997. #, no-wrap
  40998. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  40999. msgstr ""
  41000. #. type: deftypevr
  41001. #: guix-git/doc/guix.texi:27552
  41002. msgid "CPU frequency scaling governor on AC mode. With intel_pstate driver, alternatives are powersave and performance. With acpi-cpufreq driver, alternatives are ondemand, powersave, performance and conservative."
  41003. msgstr ""
  41004. #. type: deftypevr
  41005. #: guix-git/doc/guix.texi:27557
  41006. #, no-wrap
  41007. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  41008. msgstr ""
  41009. #. type: deftypevr
  41010. #: guix-git/doc/guix.texi:27559
  41011. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  41012. msgstr ""
  41013. #. type: deftypevr
  41014. #: guix-git/doc/guix.texi:27564
  41015. #, no-wrap
  41016. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  41017. msgstr ""
  41018. #. type: deftypevr
  41019. #: guix-git/doc/guix.texi:27566
  41020. msgid "Set the min available frequency for the scaling governor on AC."
  41021. msgstr ""
  41022. #. type: deftypevr
  41023. #: guix-git/doc/guix.texi:27571
  41024. #, no-wrap
  41025. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  41026. msgstr ""
  41027. #. type: deftypevr
  41028. #: guix-git/doc/guix.texi:27573
  41029. msgid "Set the max available frequency for the scaling governor on AC."
  41030. msgstr ""
  41031. #. type: deftypevr
  41032. #: guix-git/doc/guix.texi:27578
  41033. #, no-wrap
  41034. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  41035. msgstr ""
  41036. #. type: deftypevr
  41037. #: guix-git/doc/guix.texi:27580
  41038. msgid "Set the min available frequency for the scaling governor on BAT."
  41039. msgstr ""
  41040. #. type: deftypevr
  41041. #: guix-git/doc/guix.texi:27585
  41042. #, no-wrap
  41043. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  41044. msgstr ""
  41045. #. type: deftypevr
  41046. #: guix-git/doc/guix.texi:27587
  41047. msgid "Set the max available frequency for the scaling governor on BAT."
  41048. msgstr ""
  41049. #. type: deftypevr
  41050. #: guix-git/doc/guix.texi:27592
  41051. #, no-wrap
  41052. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  41053. msgstr ""
  41054. #. type: deftypevr
  41055. #: guix-git/doc/guix.texi:27595
  41056. msgid "Limit the min P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance."
  41057. msgstr ""
  41058. #. type: deftypevr
  41059. #: guix-git/doc/guix.texi:27600
  41060. #, no-wrap
  41061. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  41062. msgstr ""
  41063. #. type: deftypevr
  41064. #: guix-git/doc/guix.texi:27603
  41065. msgid "Limit the max P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance."
  41066. msgstr ""
  41067. #. type: deftypevr
  41068. #: guix-git/doc/guix.texi:27608
  41069. #, no-wrap
  41070. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  41071. msgstr ""
  41072. #. type: deftypevr
  41073. #: guix-git/doc/guix.texi:27610
  41074. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  41075. msgstr ""
  41076. #. type: deftypevr
  41077. #: guix-git/doc/guix.texi:27615
  41078. #, no-wrap
  41079. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  41080. msgstr ""
  41081. #. type: deftypevr
  41082. #: guix-git/doc/guix.texi:27617
  41083. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  41084. msgstr ""
  41085. #. type: deftypevr
  41086. #: guix-git/doc/guix.texi:27622
  41087. #, no-wrap
  41088. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  41089. msgstr ""
  41090. #. type: deftypevr
  41091. #: guix-git/doc/guix.texi:27624
  41092. msgid "Enable CPU turbo boost feature on AC mode."
  41093. msgstr ""
  41094. #. type: deftypevr
  41095. #: guix-git/doc/guix.texi:27629
  41096. #, no-wrap
  41097. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  41098. msgstr ""
  41099. #. type: deftypevr
  41100. #: guix-git/doc/guix.texi:27631
  41101. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  41102. msgstr ""
  41103. #. type: deftypevr
  41104. #: guix-git/doc/guix.texi:27636
  41105. #, no-wrap
  41106. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  41107. msgstr ""
  41108. #. type: deftypevr
  41109. #: guix-git/doc/guix.texi:27639
  41110. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  41111. msgstr ""
  41112. #. type: deftypevr
  41113. #: guix-git/doc/guix.texi:27644
  41114. #, no-wrap
  41115. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  41116. msgstr ""
  41117. #. type: deftypevr
  41118. #: guix-git/doc/guix.texi:27646
  41119. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  41120. msgstr ""
  41121. #. type: deftypevr
  41122. #: guix-git/doc/guix.texi:27651
  41123. #, no-wrap
  41124. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  41125. msgstr ""
  41126. #. type: deftypevr
  41127. #: guix-git/doc/guix.texi:27653
  41128. msgid "Enable Linux kernel NMI watchdog."
  41129. msgstr ""
  41130. #. type: deftypevr
  41131. #: guix-git/doc/guix.texi:27658
  41132. #, no-wrap
  41133. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  41134. msgstr ""
  41135. #. type: deftypevr
  41136. #: guix-git/doc/guix.texi:27661
  41137. msgid "For Linux kernels with PHC patch applied, change CPU voltages. An example value would be @samp{\"F:V F:V F:V F:V\"}."
  41138. msgstr ""
  41139. #. type: deftypevr
  41140. #: guix-git/doc/guix.texi:27666
  41141. #, no-wrap
  41142. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  41143. msgstr ""
  41144. #. type: deftypevr
  41145. #: guix-git/doc/guix.texi:27669
  41146. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  41147. msgstr ""
  41148. #. type: deftypevr
  41149. #: guix-git/doc/guix.texi:27671 guix-git/doc/guix.texi:27769
  41150. #: guix-git/doc/guix.texi:27799
  41151. msgid "Defaults to @samp{\"performance\"}."
  41152. msgstr ""
  41153. #. type: deftypevr
  41154. #: guix-git/doc/guix.texi:27674
  41155. #, no-wrap
  41156. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  41157. msgstr ""
  41158. #. type: deftypevr
  41159. #: guix-git/doc/guix.texi:27676
  41160. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  41161. msgstr ""
  41162. #. type: deftypevr
  41163. #: guix-git/doc/guix.texi:27678 guix-git/doc/guix.texi:27776
  41164. msgid "Defaults to @samp{\"powersave\"}."
  41165. msgstr ""
  41166. #. type: deftypevr
  41167. #: guix-git/doc/guix.texi:27681
  41168. #, no-wrap
  41169. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  41170. msgstr ""
  41171. #. type: deftypevr
  41172. #: guix-git/doc/guix.texi:27683
  41173. msgid "Hard disk devices."
  41174. msgstr ""
  41175. #. type: deftypevr
  41176. #: guix-git/doc/guix.texi:27686
  41177. #, no-wrap
  41178. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  41179. msgstr ""
  41180. #. type: deftypevr
  41181. #: guix-git/doc/guix.texi:27688
  41182. msgid "Hard disk advanced power management level."
  41183. msgstr ""
  41184. #. type: deftypevr
  41185. #: guix-git/doc/guix.texi:27691
  41186. #, no-wrap
  41187. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  41188. msgstr ""
  41189. #. type: deftypevr
  41190. #: guix-git/doc/guix.texi:27693
  41191. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  41192. msgstr ""
  41193. #. type: deftypevr
  41194. #: guix-git/doc/guix.texi:27696
  41195. #, no-wrap
  41196. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  41197. msgstr ""
  41198. #. type: deftypevr
  41199. #: guix-git/doc/guix.texi:27699
  41200. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  41201. msgstr ""
  41202. #. type: deftypevr
  41203. #: guix-git/doc/guix.texi:27704
  41204. #, no-wrap
  41205. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  41206. msgstr ""
  41207. #. type: deftypevr
  41208. #: guix-git/doc/guix.texi:27706
  41209. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  41210. msgstr ""
  41211. #. type: deftypevr
  41212. #: guix-git/doc/guix.texi:27711
  41213. #, no-wrap
  41214. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  41215. msgstr ""
  41216. #. type: deftypevr
  41217. #: guix-git/doc/guix.texi:27715
  41218. msgid "Select IO scheduler for disk devices. One value has to be specified for each declared hard disk. Example alternatives are cfq, deadline and noop."
  41219. msgstr ""
  41220. #. type: deftypevr
  41221. #: guix-git/doc/guix.texi:27720
  41222. #, no-wrap
  41223. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  41224. msgstr ""
  41225. #. type: deftypevr
  41226. #: guix-git/doc/guix.texi:27723
  41227. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  41228. msgstr ""
  41229. #. type: deftypevr
  41230. #: guix-git/doc/guix.texi:27725
  41231. msgid "Defaults to @samp{\"max_performance\"}."
  41232. msgstr ""
  41233. #. type: deftypevr
  41234. #: guix-git/doc/guix.texi:27728
  41235. #, no-wrap
  41236. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  41237. msgstr ""
  41238. #. type: deftypevr
  41239. #: guix-git/doc/guix.texi:27730
  41240. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  41241. msgstr ""
  41242. #. type: deftypevr
  41243. #: guix-git/doc/guix.texi:27732
  41244. msgid "Defaults to @samp{\"min_power\"}."
  41245. msgstr ""
  41246. #. type: deftypevr
  41247. #: guix-git/doc/guix.texi:27735
  41248. #, no-wrap
  41249. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  41250. msgstr ""
  41251. #. type: deftypevr
  41252. #: guix-git/doc/guix.texi:27737
  41253. msgid "Exclude specified SATA host devices for link power management."
  41254. msgstr ""
  41255. #. type: deftypevr
  41256. #: guix-git/doc/guix.texi:27742
  41257. #, no-wrap
  41258. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  41259. msgstr ""
  41260. #. type: deftypevr
  41261. #: guix-git/doc/guix.texi:27745
  41262. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  41263. msgstr ""
  41264. #. type: deftypevr
  41265. #: guix-git/doc/guix.texi:27750
  41266. #, no-wrap
  41267. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  41268. msgstr ""
  41269. #. type: deftypevr
  41270. #: guix-git/doc/guix.texi:27752
  41271. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  41272. msgstr ""
  41273. #. type: deftypevr
  41274. #: guix-git/doc/guix.texi:27757
  41275. #, no-wrap
  41276. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  41277. msgstr ""
  41278. #. type: deftypevr
  41279. #: guix-git/doc/guix.texi:27759
  41280. msgid "Seconds of inactivity before disk is suspended."
  41281. msgstr ""
  41282. #. type: deftypevr
  41283. #: guix-git/doc/guix.texi:27764
  41284. #, no-wrap
  41285. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  41286. msgstr ""
  41287. #. type: deftypevr
  41288. #: guix-git/doc/guix.texi:27767
  41289. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  41290. msgstr ""
  41291. #. type: deftypevr
  41292. #: guix-git/doc/guix.texi:27772
  41293. #, no-wrap
  41294. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  41295. msgstr ""
  41296. #. type: deftypevr
  41297. #: guix-git/doc/guix.texi:27774
  41298. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  41299. msgstr ""
  41300. #. type: deftypevr
  41301. #: guix-git/doc/guix.texi:27779
  41302. #, no-wrap
  41303. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  41304. msgstr ""
  41305. #. type: deftypevr
  41306. #: guix-git/doc/guix.texi:27782
  41307. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  41308. msgstr ""
  41309. #. type: deftypevr
  41310. #: guix-git/doc/guix.texi:27784
  41311. msgid "Defaults to @samp{\"high\"}."
  41312. msgstr ""
  41313. #. type: deftypevr
  41314. #: guix-git/doc/guix.texi:27787
  41315. #, no-wrap
  41316. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  41317. msgstr ""
  41318. #. type: deftypevr
  41319. #: guix-git/doc/guix.texi:27789
  41320. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  41321. msgstr ""
  41322. #. type: deftypevr
  41323. #: guix-git/doc/guix.texi:27791
  41324. msgid "Defaults to @samp{\"low\"}."
  41325. msgstr ""
  41326. #. type: deftypevr
  41327. #: guix-git/doc/guix.texi:27794
  41328. #, no-wrap
  41329. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  41330. msgstr ""
  41331. #. type: deftypevr
  41332. #: guix-git/doc/guix.texi:27797
  41333. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  41334. msgstr ""
  41335. #. type: deftypevr
  41336. #: guix-git/doc/guix.texi:27802
  41337. #, no-wrap
  41338. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  41339. msgstr ""
  41340. #. type: deftypevr
  41341. #: guix-git/doc/guix.texi:27804
  41342. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  41343. msgstr ""
  41344. #. type: deftypevr
  41345. #: guix-git/doc/guix.texi:27806
  41346. msgid "Defaults to @samp{\"battery\"}."
  41347. msgstr ""
  41348. #. type: deftypevr
  41349. #: guix-git/doc/guix.texi:27809
  41350. #, no-wrap
  41351. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  41352. msgstr ""
  41353. #. type: deftypevr
  41354. #: guix-git/doc/guix.texi:27811
  41355. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  41356. msgstr ""
  41357. #. type: deftypevr
  41358. #: guix-git/doc/guix.texi:27813 guix-git/doc/guix.texi:27820
  41359. #: guix-git/doc/guix.texi:27894
  41360. msgid "Defaults to @samp{\"auto\"}."
  41361. msgstr ""
  41362. #. type: deftypevr
  41363. #: guix-git/doc/guix.texi:27816
  41364. #, no-wrap
  41365. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  41366. msgstr ""
  41367. #. type: deftypevr
  41368. #: guix-git/doc/guix.texi:27818
  41369. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  41370. msgstr ""
  41371. #. type: deftypevr
  41372. #: guix-git/doc/guix.texi:27823
  41373. #, no-wrap
  41374. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  41375. msgstr ""
  41376. #. type: deftypevr
  41377. #: guix-git/doc/guix.texi:27825
  41378. msgid "Wifi power saving mode."
  41379. msgstr ""
  41380. #. type: deftypevr
  41381. #: guix-git/doc/guix.texi:27830
  41382. #, no-wrap
  41383. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  41384. msgstr ""
  41385. #. type: deftypevr
  41386. #: guix-git/doc/guix.texi:27832
  41387. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  41388. msgstr ""
  41389. #. type: deftypevr
  41390. #: guix-git/doc/guix.texi:27837
  41391. #, no-wrap
  41392. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  41393. msgstr ""
  41394. #. type: deftypevr
  41395. #: guix-git/doc/guix.texi:27839
  41396. msgid "Disable wake on LAN."
  41397. msgstr ""
  41398. #. type: deftypevr
  41399. #: guix-git/doc/guix.texi:27844
  41400. #, no-wrap
  41401. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  41402. msgstr ""
  41403. #. type: deftypevr
  41404. #: guix-git/doc/guix.texi:27847
  41405. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  41406. msgstr ""
  41407. #. type: deftypevr
  41408. #: guix-git/doc/guix.texi:27852
  41409. #, no-wrap
  41410. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  41411. msgstr ""
  41412. #. type: deftypevr
  41413. #: guix-git/doc/guix.texi:27854
  41414. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  41415. msgstr ""
  41416. #. type: deftypevr
  41417. #: guix-git/doc/guix.texi:27859
  41418. #, no-wrap
  41419. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  41420. msgstr ""
  41421. #. type: deftypevr
  41422. #: guix-git/doc/guix.texi:27861
  41423. msgid "Disable controller in powersaving mode on Intel HDA devices."
  41424. msgstr ""
  41425. #. type: deftypevr
  41426. #: guix-git/doc/guix.texi:27866
  41427. #, no-wrap
  41428. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  41429. msgstr ""
  41430. #. type: deftypevr
  41431. #: guix-git/doc/guix.texi:27870
  41432. msgid "Enable optical drive in UltraBay/MediaBay on BAT mode. Drive can be powered on again by releasing (and reinserting) the eject lever or by pressing the disc eject button on newer models."
  41433. msgstr ""
  41434. #. type: deftypevr
  41435. #: guix-git/doc/guix.texi:27875
  41436. #, no-wrap
  41437. msgid "{@code{tlp-configuration} parameter} string bay-device"
  41438. msgstr ""
  41439. #. type: deftypevr
  41440. #: guix-git/doc/guix.texi:27877
  41441. msgid "Name of the optical drive device to power off."
  41442. msgstr ""
  41443. #. type: deftypevr
  41444. #: guix-git/doc/guix.texi:27879
  41445. msgid "Defaults to @samp{\"sr0\"}."
  41446. msgstr ""
  41447. #. type: deftypevr
  41448. #: guix-git/doc/guix.texi:27882
  41449. #, no-wrap
  41450. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  41451. msgstr ""
  41452. #. type: deftypevr
  41453. #: guix-git/doc/guix.texi:27885
  41454. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  41455. msgstr ""
  41456. #. type: deftypevr
  41457. #: guix-git/doc/guix.texi:27887
  41458. msgid "Defaults to @samp{\"on\"}."
  41459. msgstr ""
  41460. #. type: deftypevr
  41461. #: guix-git/doc/guix.texi:27890
  41462. #, no-wrap
  41463. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  41464. msgstr ""
  41465. #. type: deftypevr
  41466. #: guix-git/doc/guix.texi:27892
  41467. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  41468. msgstr ""
  41469. #. type: deftypevr
  41470. #: guix-git/doc/guix.texi:27897
  41471. #, no-wrap
  41472. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  41473. msgstr ""
  41474. #. type: deftypevr
  41475. #: guix-git/doc/guix.texi:27900
  41476. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  41477. msgstr ""
  41478. #. type: deftypevr
  41479. #: guix-git/doc/guix.texi:27905
  41480. #, no-wrap
  41481. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  41482. msgstr ""
  41483. #. type: deftypevr
  41484. #: guix-git/doc/guix.texi:27907
  41485. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  41486. msgstr ""
  41487. #. type: deftypevr
  41488. #: guix-git/doc/guix.texi:27912
  41489. #, no-wrap
  41490. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  41491. msgstr ""
  41492. #. type: deftypevr
  41493. #: guix-git/doc/guix.texi:27915
  41494. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  41495. msgstr ""
  41496. #. type: deftypevr
  41497. #: guix-git/doc/guix.texi:27918
  41498. #, no-wrap
  41499. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  41500. msgstr ""
  41501. #. type: deftypevr
  41502. #: guix-git/doc/guix.texi:27920
  41503. msgid "Enable USB autosuspend feature."
  41504. msgstr ""
  41505. #. type: deftypevr
  41506. #: guix-git/doc/guix.texi:27925
  41507. #, no-wrap
  41508. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  41509. msgstr ""
  41510. #. type: deftypevr
  41511. #: guix-git/doc/guix.texi:27927
  41512. msgid "Exclude specified devices from USB autosuspend."
  41513. msgstr ""
  41514. #. type: deftypevr
  41515. #: guix-git/doc/guix.texi:27932
  41516. #, no-wrap
  41517. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  41518. msgstr ""
  41519. #. type: deftypevr
  41520. #: guix-git/doc/guix.texi:27934
  41521. msgid "Exclude WWAN devices from USB autosuspend."
  41522. msgstr ""
  41523. #. type: deftypevr
  41524. #: guix-git/doc/guix.texi:27939
  41525. #, no-wrap
  41526. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  41527. msgstr ""
  41528. #. type: deftypevr
  41529. #: guix-git/doc/guix.texi:27942
  41530. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  41531. msgstr ""
  41532. #. type: deftypevr
  41533. #: guix-git/doc/guix.texi:27947
  41534. #, no-wrap
  41535. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  41536. msgstr ""
  41537. #. type: deftypevr
  41538. #: guix-git/doc/guix.texi:27949
  41539. msgid "Enable USB autosuspend before shutdown."
  41540. msgstr ""
  41541. #. type: deftypevr
  41542. #: guix-git/doc/guix.texi:27954
  41543. #, no-wrap
  41544. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  41545. msgstr ""
  41546. #. type: deftypevr
  41547. #: guix-git/doc/guix.texi:27957
  41548. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  41549. msgstr ""
  41550. #. type: cindex
  41551. #: guix-git/doc/guix.texi:27962
  41552. #, no-wrap
  41553. msgid "thermald"
  41554. msgstr ""
  41555. #. type: cindex
  41556. #: guix-git/doc/guix.texi:27963
  41557. #, no-wrap
  41558. msgid "CPU frequency scaling with thermald"
  41559. msgstr ""
  41560. #. type: subsubheading
  41561. #: guix-git/doc/guix.texi:27964
  41562. #, no-wrap
  41563. msgid "Thermald daemon"
  41564. msgstr ""
  41565. #. type: Plain text
  41566. #: guix-git/doc/guix.texi:27968
  41567. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  41568. msgstr ""
  41569. #. type: defvr
  41570. #: guix-git/doc/guix.texi:27969
  41571. #, no-wrap
  41572. msgid "{Scheme Variable} thermald-service-type"
  41573. msgstr ""
  41574. #. type: defvr
  41575. #: guix-git/doc/guix.texi:27974
  41576. msgid "This is the service type for @uref{https://01.org/linux-thermal-daemon/, thermald}, the Linux Thermal Daemon, which is responsible for controlling the thermal state of processors and preventing overheating."
  41577. msgstr ""
  41578. #. type: deftp
  41579. #: guix-git/doc/guix.texi:27976
  41580. #, no-wrap
  41581. msgid "{Data Type} thermald-configuration"
  41582. msgstr ""
  41583. #. type: deftp
  41584. #: guix-git/doc/guix.texi:27978
  41585. msgid "Data type representing the configuration of @code{thermald-service-type}."
  41586. msgstr ""
  41587. #. type: item
  41588. #: guix-git/doc/guix.texi:27980
  41589. #, no-wrap
  41590. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  41591. msgstr ""
  41592. #. type: table
  41593. #: guix-git/doc/guix.texi:27982
  41594. msgid "Ignore cpuid check for supported CPU models."
  41595. msgstr ""
  41596. #. type: item
  41597. #: guix-git/doc/guix.texi:27983
  41598. #, no-wrap
  41599. msgid "@code{thermald} (default: @var{thermald})"
  41600. msgstr ""
  41601. #. type: table
  41602. #: guix-git/doc/guix.texi:27985
  41603. msgid "Package object of thermald."
  41604. msgstr ""
  41605. #. type: Plain text
  41606. #: guix-git/doc/guix.texi:27994
  41607. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  41608. msgstr ""
  41609. #. type: cindex
  41610. #: guix-git/doc/guix.texi:27995
  41611. #, no-wrap
  41612. msgid "mpd"
  41613. msgstr ""
  41614. #. type: subsubheading
  41615. #: guix-git/doc/guix.texi:27996
  41616. #, no-wrap
  41617. msgid "Music Player Daemon"
  41618. msgstr ""
  41619. #. type: Plain text
  41620. #: guix-git/doc/guix.texi:28001
  41621. msgid "The Music Player Daemon (MPD) is a service that can play music while being controlled from the local machine or over the network by a variety of clients."
  41622. msgstr ""
  41623. #. type: Plain text
  41624. #: guix-git/doc/guix.texi:28004
  41625. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  41626. msgstr ""
  41627. #. type: lisp
  41628. #: guix-git/doc/guix.texi:28010
  41629. #, no-wrap
  41630. msgid ""
  41631. "(service mpd-service-type\n"
  41632. " (mpd-configuration\n"
  41633. " (user \"bob\")\n"
  41634. " (port \"6666\")))\n"
  41635. msgstr ""
  41636. #. type: defvr
  41637. #: guix-git/doc/guix.texi:28012
  41638. #, no-wrap
  41639. msgid "{Scheme Variable} mpd-service-type"
  41640. msgstr ""
  41641. #. type: defvr
  41642. #: guix-git/doc/guix.texi:28014
  41643. msgid "The service type for @command{mpd}"
  41644. msgstr ""
  41645. #. type: deftp
  41646. #: guix-git/doc/guix.texi:28016
  41647. #, no-wrap
  41648. msgid "{Data Type} mpd-configuration"
  41649. msgstr ""
  41650. #. type: deftp
  41651. #: guix-git/doc/guix.texi:28018
  41652. msgid "Data type representing the configuration of @command{mpd}."
  41653. msgstr ""
  41654. #. type: item
  41655. #: guix-git/doc/guix.texi:28020
  41656. #, no-wrap
  41657. msgid "@code{user} (default: @code{\"mpd\"})"
  41658. msgstr ""
  41659. #. type: table
  41660. #: guix-git/doc/guix.texi:28022
  41661. msgid "The user to run mpd as."
  41662. msgstr ""
  41663. #. type: item
  41664. #: guix-git/doc/guix.texi:28023
  41665. #, no-wrap
  41666. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  41667. msgstr ""
  41668. #. type: table
  41669. #: guix-git/doc/guix.texi:28025
  41670. msgid "The directory to scan for music files."
  41671. msgstr ""
  41672. #. type: item
  41673. #: guix-git/doc/guix.texi:28026
  41674. #, no-wrap
  41675. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  41676. msgstr ""
  41677. #. type: table
  41678. #: guix-git/doc/guix.texi:28028
  41679. msgid "The directory to store playlists."
  41680. msgstr ""
  41681. #. type: item
  41682. #: guix-git/doc/guix.texi:28029
  41683. #, no-wrap
  41684. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  41685. msgstr ""
  41686. #. type: table
  41687. #: guix-git/doc/guix.texi:28031
  41688. msgid "The location of the music database."
  41689. msgstr ""
  41690. #. type: item
  41691. #: guix-git/doc/guix.texi:28032
  41692. #, no-wrap
  41693. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  41694. msgstr ""
  41695. #. type: table
  41696. #: guix-git/doc/guix.texi:28034
  41697. msgid "The location of the file that stores current MPD's state."
  41698. msgstr ""
  41699. #. type: item
  41700. #: guix-git/doc/guix.texi:28035
  41701. #, no-wrap
  41702. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  41703. msgstr ""
  41704. #. type: table
  41705. #: guix-git/doc/guix.texi:28037
  41706. msgid "The location of the sticker database."
  41707. msgstr ""
  41708. #. type: item
  41709. #: guix-git/doc/guix.texi:28038
  41710. #, no-wrap
  41711. msgid "@code{port} (default: @code{\"6600\"})"
  41712. msgstr ""
  41713. #. type: table
  41714. #: guix-git/doc/guix.texi:28040
  41715. msgid "The port to run mpd on."
  41716. msgstr ""
  41717. #. type: item
  41718. #: guix-git/doc/guix.texi:28041
  41719. #, no-wrap
  41720. msgid "@code{address} (default: @code{\"any\"})"
  41721. msgstr ""
  41722. #. type: table
  41723. #: guix-git/doc/guix.texi:28044
  41724. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  41725. msgstr ""
  41726. #. type: item
  41727. #: guix-git/doc/guix.texi:28045
  41728. #, no-wrap
  41729. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  41730. msgstr ""
  41731. #. type: table
  41732. #: guix-git/doc/guix.texi:28047
  41733. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  41734. msgstr ""
  41735. #. type: deftp
  41736. #: guix-git/doc/guix.texi:28051
  41737. #, no-wrap
  41738. msgid "{Data Type} mpd-output"
  41739. msgstr ""
  41740. #. type: deftp
  41741. #: guix-git/doc/guix.texi:28053
  41742. msgid "Data type representing an @command{mpd} audio output."
  41743. msgstr ""
  41744. #. type: item
  41745. #: guix-git/doc/guix.texi:28055
  41746. #, no-wrap
  41747. msgid "@code{name} (default: @code{\"MPD\"})"
  41748. msgstr ""
  41749. #. type: table
  41750. #: guix-git/doc/guix.texi:28057
  41751. msgid "The name of the audio output."
  41752. msgstr ""
  41753. #. type: item
  41754. #: guix-git/doc/guix.texi:28058
  41755. #, no-wrap
  41756. msgid "@code{type} (default: @code{\"pulse\"})"
  41757. msgstr ""
  41758. #. type: table
  41759. #: guix-git/doc/guix.texi:28060
  41760. msgid "The type of audio output."
  41761. msgstr ""
  41762. #. type: item
  41763. #: guix-git/doc/guix.texi:28061
  41764. #, no-wrap
  41765. msgid "@code{enabled?} (default: @code{#t})"
  41766. msgstr ""
  41767. #. type: table
  41768. #: guix-git/doc/guix.texi:28066
  41769. msgid "Specifies whether this audio output is enabled when MPD is started. By default, all audio outputs are enabled. This is just the default setting when there is no state file; with a state file, the previous state is restored."
  41770. msgstr ""
  41771. #. type: item
  41772. #: guix-git/doc/guix.texi:28067
  41773. #, no-wrap
  41774. msgid "@code{tags?} (default: @code{#t})"
  41775. msgstr ""
  41776. #. type: table
  41777. #: guix-git/doc/guix.texi:28071
  41778. msgid "If set to @code{#f}, then MPD will not send tags to this output. This is only useful for output plugins that can receive tags, for example the @code{httpd} output plugin."
  41779. msgstr ""
  41780. #. type: item
  41781. #: guix-git/doc/guix.texi:28072
  41782. #, no-wrap
  41783. msgid "@code{always-on?} (default: @code{#f})"
  41784. msgstr ""
  41785. #. type: table
  41786. #: guix-git/doc/guix.texi:28076
  41787. msgid "If set to @code{#t}, then MPD attempts to keep this audio output always open. This may be useful for streaming servers, when you don’t want to disconnect all listeners even when playback is accidentally stopped."
  41788. msgstr ""
  41789. #. type: code{#1}
  41790. #: guix-git/doc/guix.texi:28077
  41791. #, no-wrap
  41792. msgid "mixer-type"
  41793. msgstr ""
  41794. #. type: table
  41795. #: guix-git/doc/guix.texi:28083
  41796. msgid "This field accepts a symbol that specifies which mixer should be used for this audio output: the @code{hardware} mixer, the @code{software} mixer, the @code{null} mixer (allows setting the volume, but with no effect; this can be used as a trick to implement an external mixer External Mixer) or no mixer (@code{none})."
  41797. msgstr ""
  41798. #. type: table
  41799. #: guix-git/doc/guix.texi:28087
  41800. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  41801. msgstr ""
  41802. #. type: Plain text
  41803. #: guix-git/doc/guix.texi:28093
  41804. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  41805. msgstr ""
  41806. #. type: lisp
  41807. #: guix-git/doc/guix.texi:28105
  41808. #, no-wrap
  41809. msgid ""
  41810. "(service mpd-service-type\n"
  41811. " (mpd-configuration\n"
  41812. " (outputs\n"
  41813. " (list (mpd-output\n"
  41814. " (name \"streaming\")\n"
  41815. " (type \"httpd\")\n"
  41816. " (mixer-type 'null)\n"
  41817. " (extra-options\n"
  41818. " `((encoder . \"vorbis\")\n"
  41819. " (port . \"8080\"))))))))\n"
  41820. msgstr ""
  41821. #. type: Plain text
  41822. #: guix-git/doc/guix.texi:28114
  41823. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  41824. msgstr ""
  41825. #. type: subsubheading
  41826. #: guix-git/doc/guix.texi:28115
  41827. #, no-wrap
  41828. msgid "Libvirt daemon"
  41829. msgstr ""
  41830. #. type: Plain text
  41831. #: guix-git/doc/guix.texi:28120
  41832. msgid "@code{libvirtd} is the server side daemon component of the libvirt virtualization management system. This daemon runs on host servers and performs required management tasks for virtualized guests."
  41833. msgstr ""
  41834. #. type: deffn
  41835. #: guix-git/doc/guix.texi:28121
  41836. #, no-wrap
  41837. msgid "{Scheme Variable} libvirt-service-type"
  41838. msgstr ""
  41839. #. type: deffn
  41840. #: guix-git/doc/guix.texi:28124
  41841. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  41842. msgstr ""
  41843. #. type: lisp
  41844. #: guix-git/doc/guix.texi:28130
  41845. #, no-wrap
  41846. msgid ""
  41847. "(service libvirt-service-type\n"
  41848. " (libvirt-configuration\n"
  41849. " (unix-sock-group \"libvirt\")\n"
  41850. " (tls-port \"16555\")))\n"
  41851. msgstr ""
  41852. #. type: Plain text
  41853. #: guix-git/doc/guix.texi:28135
  41854. msgid "Available @code{libvirt-configuration} fields are:"
  41855. msgstr ""
  41856. #. type: deftypevr
  41857. #: guix-git/doc/guix.texi:28136
  41858. #, no-wrap
  41859. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  41860. msgstr ""
  41861. #. type: deftypevr
  41862. #: guix-git/doc/guix.texi:28138
  41863. msgid "Libvirt package."
  41864. msgstr ""
  41865. #. type: deftypevr
  41866. #: guix-git/doc/guix.texi:28141
  41867. #, no-wrap
  41868. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  41869. msgstr ""
  41870. #. type: deftypevr
  41871. #: guix-git/doc/guix.texi:28144
  41872. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  41873. msgstr ""
  41874. #. type: deftypevr
  41875. #: guix-git/doc/guix.texi:28147
  41876. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  41877. msgstr ""
  41878. #. type: deftypevr
  41879. #: guix-git/doc/guix.texi:28152
  41880. #, no-wrap
  41881. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  41882. msgstr ""
  41883. #. type: deftypevr
  41884. #: guix-git/doc/guix.texi:28155
  41885. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  41886. msgstr ""
  41887. #. type: deftypevr
  41888. #: guix-git/doc/guix.texi:28159
  41889. msgid "Using the TCP socket requires SASL authentication by default. Only SASL mechanisms which support data encryption are allowed. This is DIGEST_MD5 and GSSAPI (Kerberos5)."
  41890. msgstr ""
  41891. #. type: deftypevr
  41892. #: guix-git/doc/guix.texi:28164
  41893. #, no-wrap
  41894. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  41895. msgstr ""
  41896. #. type: deftypevr
  41897. #: guix-git/doc/guix.texi:28167
  41898. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  41899. msgstr ""
  41900. #. type: deftypevr
  41901. #: guix-git/doc/guix.texi:28169
  41902. msgid "Defaults to @samp{\"16514\"}."
  41903. msgstr ""
  41904. #. type: deftypevr
  41905. #: guix-git/doc/guix.texi:28172
  41906. #, no-wrap
  41907. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  41908. msgstr ""
  41909. #. type: deftypevr
  41910. #: guix-git/doc/guix.texi:28175
  41911. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  41912. msgstr ""
  41913. #. type: deftypevr
  41914. #: guix-git/doc/guix.texi:28177
  41915. msgid "Defaults to @samp{\"16509\"}."
  41916. msgstr ""
  41917. #. type: deftypevr
  41918. #: guix-git/doc/guix.texi:28180
  41919. #, no-wrap
  41920. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  41921. msgstr ""
  41922. #. type: deftypevr
  41923. #: guix-git/doc/guix.texi:28182
  41924. msgid "IP address or hostname used for client connections."
  41925. msgstr ""
  41926. #. type: deftypevr
  41927. #: guix-git/doc/guix.texi:28187
  41928. #, no-wrap
  41929. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  41930. msgstr ""
  41931. #. type: deftypevr
  41932. #: guix-git/doc/guix.texi:28189
  41933. msgid "Flag toggling mDNS advertisement of the libvirt service."
  41934. msgstr ""
  41935. #. type: deftypevr
  41936. #: guix-git/doc/guix.texi:28192
  41937. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  41938. msgstr ""
  41939. #. type: deftypevr
  41940. #: guix-git/doc/guix.texi:28197
  41941. #, no-wrap
  41942. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  41943. msgstr ""
  41944. #. type: deftypevr
  41945. #: guix-git/doc/guix.texi:28200
  41946. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  41947. msgstr ""
  41948. #. type: deftypevr
  41949. #: guix-git/doc/guix.texi:28202
  41950. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  41951. msgstr ""
  41952. #. type: deftypevr
  41953. #: guix-git/doc/guix.texi:28205
  41954. #, no-wrap
  41955. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  41956. msgstr ""
  41957. #. type: deftypevr
  41958. #: guix-git/doc/guix.texi:28209
  41959. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  41960. msgstr ""
  41961. #. type: deftypevr
  41962. #: guix-git/doc/guix.texi:28214
  41963. #, no-wrap
  41964. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  41965. msgstr ""
  41966. #. type: deftypevr
  41967. #: guix-git/doc/guix.texi:28217
  41968. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  41969. msgstr ""
  41970. #. type: deftypevr
  41971. #: guix-git/doc/guix.texi:28219 guix-git/doc/guix.texi:28237
  41972. msgid "Defaults to @samp{\"0777\"}."
  41973. msgstr ""
  41974. #. type: deftypevr
  41975. #: guix-git/doc/guix.texi:28222
  41976. #, no-wrap
  41977. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  41978. msgstr ""
  41979. #. type: deftypevr
  41980. #: guix-git/doc/guix.texi:28226
  41981. msgid "UNIX socket permissions for the R/W socket. Default allows only root. If PolicyKit is enabled on the socket, the default will change to allow everyone (eg, 0777)"
  41982. msgstr ""
  41983. #. type: deftypevr
  41984. #: guix-git/doc/guix.texi:28228
  41985. msgid "Defaults to @samp{\"0770\"}."
  41986. msgstr ""
  41987. #. type: deftypevr
  41988. #: guix-git/doc/guix.texi:28231
  41989. #, no-wrap
  41990. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  41991. msgstr ""
  41992. #. type: deftypevr
  41993. #: guix-git/doc/guix.texi:28235
  41994. msgid "UNIX socket permissions for the admin socket. Default allows only owner (root), do not change it unless you are sure to whom you are exposing the access to."
  41995. msgstr ""
  41996. #. type: deftypevr
  41997. #: guix-git/doc/guix.texi:28240
  41998. #, no-wrap
  41999. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  42000. msgstr ""
  42001. #. type: deftypevr
  42002. #: guix-git/doc/guix.texi:28242
  42003. msgid "The directory in which sockets will be found/created."
  42004. msgstr ""
  42005. #. type: deftypevr
  42006. #: guix-git/doc/guix.texi:28244
  42007. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  42008. msgstr ""
  42009. #. type: deftypevr
  42010. #: guix-git/doc/guix.texi:28247
  42011. #, no-wrap
  42012. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  42013. msgstr ""
  42014. #. type: deftypevr
  42015. #: guix-git/doc/guix.texi:28250
  42016. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  42017. msgstr ""
  42018. #. type: deftypevr
  42019. #: guix-git/doc/guix.texi:28252 guix-git/doc/guix.texi:28261
  42020. msgid "Defaults to @samp{\"polkit\"}."
  42021. msgstr ""
  42022. #. type: deftypevr
  42023. #: guix-git/doc/guix.texi:28255
  42024. #, no-wrap
  42025. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  42026. msgstr ""
  42027. #. type: deftypevr
  42028. #: guix-git/doc/guix.texi:28259
  42029. msgid "Authentication scheme for UNIX read-write sockets. By default socket permissions only allow root. If PolicyKit support was compiled into libvirt, the default will be to use 'polkit' auth."
  42030. msgstr ""
  42031. #. type: deftypevr
  42032. #: guix-git/doc/guix.texi:28264
  42033. #, no-wrap
  42034. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  42035. msgstr ""
  42036. #. type: deftypevr
  42037. #: guix-git/doc/guix.texi:28268
  42038. msgid "Authentication scheme for TCP sockets. If you don't enable SASL, then all TCP traffic is cleartext. Don't do this outside of a dev/test scenario."
  42039. msgstr ""
  42040. #. type: deftypevr
  42041. #: guix-git/doc/guix.texi:28270
  42042. msgid "Defaults to @samp{\"sasl\"}."
  42043. msgstr ""
  42044. #. type: deftypevr
  42045. #: guix-git/doc/guix.texi:28273
  42046. #, no-wrap
  42047. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  42048. msgstr ""
  42049. #. type: deftypevr
  42050. #: guix-git/doc/guix.texi:28277
  42051. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  42052. msgstr ""
  42053. #. type: deftypevr
  42054. #: guix-git/doc/guix.texi:28280
  42055. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  42056. msgstr ""
  42057. #. type: deftypevr
  42058. #: guix-git/doc/guix.texi:28282
  42059. msgid "Defaults to @samp{\"none\"}."
  42060. msgstr ""
  42061. #. type: deftypevr
  42062. #: guix-git/doc/guix.texi:28285
  42063. #, no-wrap
  42064. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  42065. msgstr ""
  42066. #. type: deftypevr
  42067. #: guix-git/doc/guix.texi:28287
  42068. msgid "API access control scheme."
  42069. msgstr ""
  42070. #. type: deftypevr
  42071. #: guix-git/doc/guix.texi:28290
  42072. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  42073. msgstr ""
  42074. #. type: deftypevr
  42075. #: guix-git/doc/guix.texi:28295
  42076. #, no-wrap
  42077. msgid "{@code{libvirt-configuration} parameter} string key-file"
  42078. msgstr ""
  42079. #. type: deftypevr
  42080. #: guix-git/doc/guix.texi:28298
  42081. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  42082. msgstr ""
  42083. #. type: deftypevr
  42084. #: guix-git/doc/guix.texi:28303
  42085. #, no-wrap
  42086. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  42087. msgstr ""
  42088. #. type: deftypevr
  42089. #: guix-git/doc/guix.texi:28306
  42090. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  42091. msgstr ""
  42092. #. type: deftypevr
  42093. #: guix-git/doc/guix.texi:28311
  42094. #, no-wrap
  42095. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  42096. msgstr ""
  42097. #. type: deftypevr
  42098. #: guix-git/doc/guix.texi:28314
  42099. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  42100. msgstr ""
  42101. #. type: deftypevr
  42102. #: guix-git/doc/guix.texi:28319
  42103. #, no-wrap
  42104. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  42105. msgstr ""
  42106. #. type: deftypevr
  42107. #: guix-git/doc/guix.texi:28322
  42108. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  42109. msgstr ""
  42110. #. type: deftypevr
  42111. #: guix-git/doc/guix.texi:28327
  42112. #, no-wrap
  42113. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  42114. msgstr ""
  42115. #. type: deftypevr
  42116. #: guix-git/doc/guix.texi:28329
  42117. msgid "Disable verification of our own server certificates."
  42118. msgstr ""
  42119. #. type: deftypevr
  42120. #: guix-git/doc/guix.texi:28332
  42121. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  42122. msgstr ""
  42123. #. type: deftypevr
  42124. #: guix-git/doc/guix.texi:28337
  42125. #, no-wrap
  42126. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  42127. msgstr ""
  42128. #. type: deftypevr
  42129. #: guix-git/doc/guix.texi:28339
  42130. msgid "Disable verification of client certificates."
  42131. msgstr ""
  42132. #. type: deftypevr
  42133. #: guix-git/doc/guix.texi:28343
  42134. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  42135. msgstr ""
  42136. #. type: deftypevr
  42137. #: guix-git/doc/guix.texi:28348
  42138. #, no-wrap
  42139. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  42140. msgstr ""
  42141. #. type: deftypevr
  42142. #: guix-git/doc/guix.texi:28350
  42143. msgid "Whitelist of allowed x509 Distinguished Name."
  42144. msgstr ""
  42145. #. type: deftypevr
  42146. #: guix-git/doc/guix.texi:28355
  42147. #, no-wrap
  42148. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  42149. msgstr ""
  42150. #. type: deftypevr
  42151. #: guix-git/doc/guix.texi:28358
  42152. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  42153. msgstr ""
  42154. #. type: deftypevr
  42155. #: guix-git/doc/guix.texi:28363
  42156. #, no-wrap
  42157. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  42158. msgstr ""
  42159. #. type: deftypevr
  42160. #: guix-git/doc/guix.texi:28367
  42161. msgid "Override the compile time default TLS priority string. The default is usually @samp{\"NORMAL\"} unless overridden at build time. Only set this is it is desired for libvirt to deviate from the global default settings."
  42162. msgstr ""
  42163. #. type: deftypevr
  42164. #: guix-git/doc/guix.texi:28369
  42165. msgid "Defaults to @samp{\"NORMAL\"}."
  42166. msgstr ""
  42167. #. type: deftypevr
  42168. #: guix-git/doc/guix.texi:28372
  42169. #, no-wrap
  42170. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  42171. msgstr ""
  42172. #. type: deftypevr
  42173. #: guix-git/doc/guix.texi:28375 guix-git/doc/guix.texi:28799
  42174. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  42175. msgstr ""
  42176. #. type: deftypevr
  42177. #: guix-git/doc/guix.texi:28377
  42178. msgid "Defaults to @samp{5000}."
  42179. msgstr ""
  42180. #. type: deftypevr
  42181. #: guix-git/doc/guix.texi:28380
  42182. #, no-wrap
  42183. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  42184. msgstr ""
  42185. #. type: deftypevr
  42186. #: guix-git/doc/guix.texi:28384
  42187. msgid "Maximum length of queue of connections waiting to be accepted by the daemon. Note, that some protocols supporting retransmission may obey this so that a later reattempt at connection succeeds."
  42188. msgstr ""
  42189. #. type: deftypevr
  42190. #: guix-git/doc/guix.texi:28389
  42191. #, no-wrap
  42192. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  42193. msgstr ""
  42194. #. type: deftypevr
  42195. #: guix-git/doc/guix.texi:28392
  42196. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  42197. msgstr ""
  42198. #. type: deftypevr
  42199. #: guix-git/doc/guix.texi:28394 guix-git/doc/guix.texi:28412
  42200. #: guix-git/doc/guix.texi:28428
  42201. msgid "Defaults to @samp{20}."
  42202. msgstr ""
  42203. #. type: deftypevr
  42204. #: guix-git/doc/guix.texi:28397
  42205. #, no-wrap
  42206. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  42207. msgstr ""
  42208. #. type: deftypevr
  42209. #: guix-git/doc/guix.texi:28399
  42210. msgid "Number of workers to start up initially."
  42211. msgstr ""
  42212. #. type: deftypevr
  42213. #: guix-git/doc/guix.texi:28404
  42214. #, no-wrap
  42215. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  42216. msgstr ""
  42217. #. type: deftypevr
  42218. #: guix-git/doc/guix.texi:28406
  42219. msgid "Maximum number of worker threads."
  42220. msgstr ""
  42221. #. type: deftypevr
  42222. #: guix-git/doc/guix.texi:28410
  42223. msgid "If the number of active clients exceeds @code{min-workers}, then more threads are spawned, up to max_workers limit. Typically you'd want max_workers to equal maximum number of clients allowed."
  42224. msgstr ""
  42225. #. type: deftypevr
  42226. #: guix-git/doc/guix.texi:28415
  42227. #, no-wrap
  42228. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  42229. msgstr ""
  42230. #. type: deftypevr
  42231. #: guix-git/doc/guix.texi:28419
  42232. msgid "Number of priority workers. If all workers from above pool are stuck, some calls marked as high priority (notably domainDestroy) can be executed in this pool."
  42233. msgstr ""
  42234. #. type: deftypevr
  42235. #: guix-git/doc/guix.texi:28424
  42236. #, no-wrap
  42237. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  42238. msgstr ""
  42239. #. type: deftypevr
  42240. #: guix-git/doc/guix.texi:28426
  42241. msgid "Total global limit on concurrent RPC calls."
  42242. msgstr ""
  42243. #. type: deftypevr
  42244. #: guix-git/doc/guix.texi:28431
  42245. #, no-wrap
  42246. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  42247. msgstr ""
  42248. #. type: deftypevr
  42249. #: guix-git/doc/guix.texi:28435
  42250. msgid "Limit on concurrent requests from a single client connection. To avoid one client monopolizing the server this should be a small fraction of the global max_requests and max_workers parameter."
  42251. msgstr ""
  42252. #. type: deftypevr
  42253. #: guix-git/doc/guix.texi:28440
  42254. #, no-wrap
  42255. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  42256. msgstr ""
  42257. #. type: deftypevr
  42258. #: guix-git/doc/guix.texi:28442
  42259. msgid "Same as @code{min-workers} but for the admin interface."
  42260. msgstr ""
  42261. #. type: deftypevr
  42262. #: guix-git/doc/guix.texi:28447
  42263. #, no-wrap
  42264. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  42265. msgstr ""
  42266. #. type: deftypevr
  42267. #: guix-git/doc/guix.texi:28449
  42268. msgid "Same as @code{max-workers} but for the admin interface."
  42269. msgstr ""
  42270. #. type: deftypevr
  42271. #: guix-git/doc/guix.texi:28454
  42272. #, no-wrap
  42273. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  42274. msgstr ""
  42275. #. type: deftypevr
  42276. #: guix-git/doc/guix.texi:28456
  42277. msgid "Same as @code{max-clients} but for the admin interface."
  42278. msgstr ""
  42279. #. type: deftypevr
  42280. #: guix-git/doc/guix.texi:28461
  42281. #, no-wrap
  42282. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  42283. msgstr ""
  42284. #. type: deftypevr
  42285. #: guix-git/doc/guix.texi:28463
  42286. msgid "Same as @code{max-queued-clients} but for the admin interface."
  42287. msgstr ""
  42288. #. type: deftypevr
  42289. #: guix-git/doc/guix.texi:28468
  42290. #, no-wrap
  42291. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  42292. msgstr ""
  42293. #. type: deftypevr
  42294. #: guix-git/doc/guix.texi:28470
  42295. msgid "Same as @code{max-client-requests} but for the admin interface."
  42296. msgstr ""
  42297. #. type: deftypevr
  42298. #: guix-git/doc/guix.texi:28475
  42299. #, no-wrap
  42300. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  42301. msgstr ""
  42302. #. type: deftypevr
  42303. #: guix-git/doc/guix.texi:28477 guix-git/doc/guix.texi:28701
  42304. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  42305. msgstr ""
  42306. #. type: deftypevr
  42307. #: guix-git/doc/guix.texi:28482
  42308. #, no-wrap
  42309. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  42310. msgstr ""
  42311. #. type: deftypevr
  42312. #: guix-git/doc/guix.texi:28484 guix-git/doc/guix.texi:28708
  42313. msgid "Logging filters."
  42314. msgstr ""
  42315. #. type: deftypevr
  42316. #: guix-git/doc/guix.texi:28487
  42317. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  42318. msgstr ""
  42319. #. type: itemize
  42320. #: guix-git/doc/guix.texi:28491 guix-git/doc/guix.texi:28715
  42321. msgid "x:name"
  42322. msgstr ""
  42323. #. type: itemize
  42324. #: guix-git/doc/guix.texi:28494 guix-git/doc/guix.texi:28718
  42325. msgid "x:+name"
  42326. msgstr ""
  42327. #. type: deftypevr
  42328. #: guix-git/doc/guix.texi:28505
  42329. msgid "where @code{name} is a string which is matched against the category given in the @code{VIR_LOG_INIT()} at the top of each libvirt source file, e.g., @samp{\"remote\"}, @samp{\"qemu\"}, or @samp{\"util.json\"} (the name in the filter can be a substring of the full category name, in order to match multiple similar categories), the optional @samp{\"+\"} prefix tells libvirt to log stack trace for each message matching name, and @code{x} is the minimal level where matching messages should be logged:"
  42330. msgstr ""
  42331. #. type: itemize
  42332. #: guix-git/doc/guix.texi:28509 guix-git/doc/guix.texi:28554
  42333. #: guix-git/doc/guix.texi:28732 guix-git/doc/guix.texi:28777
  42334. msgid "1: DEBUG"
  42335. msgstr ""
  42336. #. type: itemize
  42337. #: guix-git/doc/guix.texi:28512 guix-git/doc/guix.texi:28557
  42338. #: guix-git/doc/guix.texi:28735 guix-git/doc/guix.texi:28780
  42339. msgid "2: INFO"
  42340. msgstr ""
  42341. #. type: itemize
  42342. #: guix-git/doc/guix.texi:28515 guix-git/doc/guix.texi:28560
  42343. #: guix-git/doc/guix.texi:28738 guix-git/doc/guix.texi:28783
  42344. msgid "3: WARNING"
  42345. msgstr ""
  42346. #. type: itemize
  42347. #: guix-git/doc/guix.texi:28518 guix-git/doc/guix.texi:28563
  42348. #: guix-git/doc/guix.texi:28741 guix-git/doc/guix.texi:28786
  42349. msgid "4: ERROR"
  42350. msgstr ""
  42351. #. type: deftypevr
  42352. #: guix-git/doc/guix.texi:28523 guix-git/doc/guix.texi:28746
  42353. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  42354. msgstr ""
  42355. #. type: deftypevr
  42356. #: guix-git/doc/guix.texi:28525 guix-git/doc/guix.texi:28748
  42357. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  42358. msgstr ""
  42359. #. type: deftypevr
  42360. #: guix-git/doc/guix.texi:28528
  42361. #, no-wrap
  42362. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  42363. msgstr ""
  42364. #. type: deftypevr
  42365. #: guix-git/doc/guix.texi:28530 guix-git/doc/guix.texi:28753
  42366. msgid "Logging outputs."
  42367. msgstr ""
  42368. #. type: deftypevr
  42369. #: guix-git/doc/guix.texi:28533
  42370. msgid "An output is one of the places to save logging information. The format for an output can be:"
  42371. msgstr ""
  42372. #. type: item
  42373. #: guix-git/doc/guix.texi:28535 guix-git/doc/guix.texi:28758
  42374. #, no-wrap
  42375. msgid "x:stderr"
  42376. msgstr ""
  42377. #. type: table
  42378. #: guix-git/doc/guix.texi:28537 guix-git/doc/guix.texi:28760
  42379. msgid "output goes to stderr"
  42380. msgstr ""
  42381. #. type: item
  42382. #: guix-git/doc/guix.texi:28538 guix-git/doc/guix.texi:28761
  42383. #, no-wrap
  42384. msgid "x:syslog:name"
  42385. msgstr ""
  42386. #. type: table
  42387. #: guix-git/doc/guix.texi:28540 guix-git/doc/guix.texi:28763
  42388. msgid "use syslog for the output and use the given name as the ident"
  42389. msgstr ""
  42390. #. type: item
  42391. #: guix-git/doc/guix.texi:28541 guix-git/doc/guix.texi:28764
  42392. #, no-wrap
  42393. msgid "x:file:file_path"
  42394. msgstr ""
  42395. #. type: table
  42396. #: guix-git/doc/guix.texi:28543 guix-git/doc/guix.texi:28766
  42397. msgid "output to a file, with the given filepath"
  42398. msgstr ""
  42399. #. type: item
  42400. #: guix-git/doc/guix.texi:28544 guix-git/doc/guix.texi:28767
  42401. #, no-wrap
  42402. msgid "x:journald"
  42403. msgstr ""
  42404. #. type: table
  42405. #: guix-git/doc/guix.texi:28546 guix-git/doc/guix.texi:28769
  42406. msgid "output to journald logging system"
  42407. msgstr ""
  42408. #. type: deftypevr
  42409. #: guix-git/doc/guix.texi:28550 guix-git/doc/guix.texi:28773
  42410. msgid "In all case the x prefix is the minimal level, acting as a filter"
  42411. msgstr ""
  42412. #. type: deftypevr
  42413. #: guix-git/doc/guix.texi:28568 guix-git/doc/guix.texi:28791
  42414. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  42415. msgstr ""
  42416. #. type: deftypevr
  42417. #: guix-git/doc/guix.texi:28570 guix-git/doc/guix.texi:28793
  42418. msgid "Defaults to @samp{\"3:stderr\"}."
  42419. msgstr ""
  42420. #. type: deftypevr
  42421. #: guix-git/doc/guix.texi:28573
  42422. #, no-wrap
  42423. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  42424. msgstr ""
  42425. #. type: deftypevr
  42426. #: guix-git/doc/guix.texi:28575
  42427. msgid "Allows usage of the auditing subsystem to be altered"
  42428. msgstr ""
  42429. #. type: itemize
  42430. #: guix-git/doc/guix.texi:28579
  42431. msgid "0: disable all auditing"
  42432. msgstr ""
  42433. #. type: itemize
  42434. #: guix-git/doc/guix.texi:28582
  42435. msgid "1: enable auditing, only if enabled on host"
  42436. msgstr ""
  42437. #. type: itemize
  42438. #: guix-git/doc/guix.texi:28585
  42439. msgid "2: enable auditing, and exit if disabled on host."
  42440. msgstr ""
  42441. #. type: deftypevr
  42442. #: guix-git/doc/guix.texi:28592
  42443. #, no-wrap
  42444. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  42445. msgstr ""
  42446. #. type: deftypevr
  42447. #: guix-git/doc/guix.texi:28594
  42448. msgid "Send audit messages via libvirt logging infrastructure."
  42449. msgstr ""
  42450. #. type: deftypevr
  42451. #: guix-git/doc/guix.texi:28599
  42452. #, no-wrap
  42453. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  42454. msgstr ""
  42455. #. type: deftypevr
  42456. #: guix-git/doc/guix.texi:28601
  42457. msgid "Host UUID@. UUID must not have all digits be the same."
  42458. msgstr ""
  42459. #. type: deftypevr
  42460. #: guix-git/doc/guix.texi:28606
  42461. #, no-wrap
  42462. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  42463. msgstr ""
  42464. #. type: deftypevr
  42465. #: guix-git/doc/guix.texi:28608
  42466. msgid "Source to read host UUID."
  42467. msgstr ""
  42468. #. type: itemize
  42469. #: guix-git/doc/guix.texi:28612
  42470. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  42471. msgstr ""
  42472. #. type: itemize
  42473. #: guix-git/doc/guix.texi:28615
  42474. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  42475. msgstr ""
  42476. #. type: deftypevr
  42477. #: guix-git/doc/guix.texi:28620
  42478. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  42479. msgstr ""
  42480. #. type: deftypevr
  42481. #: guix-git/doc/guix.texi:28622
  42482. msgid "Defaults to @samp{\"smbios\"}."
  42483. msgstr ""
  42484. #. type: deftypevr
  42485. #: guix-git/doc/guix.texi:28625
  42486. #, no-wrap
  42487. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  42488. msgstr ""
  42489. #. type: deftypevr
  42490. #: guix-git/doc/guix.texi:28630
  42491. msgid "A keepalive message is sent to a client after @code{keepalive_interval} seconds of inactivity to check if the client is still responding. If set to -1, libvirtd will never send keepalive requests; however clients can still send them and the daemon will send responses."
  42492. msgstr ""
  42493. #. type: deftypevr
  42494. #: guix-git/doc/guix.texi:28635
  42495. #, no-wrap
  42496. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  42497. msgstr ""
  42498. #. type: deftypevr
  42499. #: guix-git/doc/guix.texi:28639
  42500. msgid "Maximum number of keepalive messages that are allowed to be sent to the client without getting any response before the connection is considered broken."
  42501. msgstr ""
  42502. #. type: deftypevr
  42503. #: guix-git/doc/guix.texi:28646
  42504. msgid "In other words, the connection is automatically closed approximately after @code{keepalive_interval * (keepalive_count + 1)} seconds since the last message received from the client. When @code{keepalive-count} is set to 0, connections will be automatically closed after @code{keepalive-interval} seconds of inactivity without sending any keepalive messages."
  42505. msgstr ""
  42506. #. type: deftypevr
  42507. #: guix-git/doc/guix.texi:28651
  42508. #, no-wrap
  42509. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  42510. msgstr ""
  42511. #. type: deftypevr
  42512. #: guix-git/doc/guix.texi:28653 guix-git/doc/guix.texi:28660
  42513. msgid "Same as above but for admin interface."
  42514. msgstr ""
  42515. #. type: deftypevr
  42516. #: guix-git/doc/guix.texi:28658
  42517. #, no-wrap
  42518. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  42519. msgstr ""
  42520. #. type: deftypevr
  42521. #: guix-git/doc/guix.texi:28665
  42522. #, no-wrap
  42523. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  42524. msgstr ""
  42525. #. type: deftypevr
  42526. #: guix-git/doc/guix.texi:28667
  42527. msgid "Timeout for Open vSwitch calls."
  42528. msgstr ""
  42529. #. type: deftypevr
  42530. #: guix-git/doc/guix.texi:28671
  42531. msgid "The @code{ovs-vsctl} utility is used for the configuration and its timeout option is set by default to 5 seconds to avoid potential infinite waits blocking libvirt."
  42532. msgstr ""
  42533. #. type: subsubheading
  42534. #: guix-git/doc/guix.texi:28678
  42535. #, no-wrap
  42536. msgid "Virtlog daemon"
  42537. msgstr ""
  42538. #. type: Plain text
  42539. #: guix-git/doc/guix.texi:28681
  42540. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  42541. msgstr ""
  42542. #. type: Plain text
  42543. #: guix-git/doc/guix.texi:28687
  42544. msgid "This daemon is not used directly by libvirt client applications, rather it is called on their behalf by @code{libvirtd}. By maintaining the logs in a standalone daemon, the main @code{libvirtd} daemon can be restarted without risk of losing logs. The @code{virtlogd} daemon has the ability to re-exec() itself upon receiving @code{SIGUSR1}, to allow live upgrades without downtime."
  42545. msgstr ""
  42546. #. type: deffn
  42547. #: guix-git/doc/guix.texi:28688
  42548. #, no-wrap
  42549. msgid "{Scheme Variable} virtlog-service-type"
  42550. msgstr ""
  42551. #. type: deffn
  42552. #: guix-git/doc/guix.texi:28691
  42553. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  42554. msgstr ""
  42555. #. type: lisp
  42556. #: guix-git/doc/guix.texi:28696
  42557. #, no-wrap
  42558. msgid ""
  42559. "(service virtlog-service-type\n"
  42560. " (virtlog-configuration\n"
  42561. " (max-clients 1000)))\n"
  42562. msgstr ""
  42563. #. type: deftypevr
  42564. #: guix-git/doc/guix.texi:28699
  42565. #, no-wrap
  42566. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  42567. msgstr ""
  42568. #. type: deftypevr
  42569. #: guix-git/doc/guix.texi:28706
  42570. #, no-wrap
  42571. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  42572. msgstr ""
  42573. #. type: deftypevr
  42574. #: guix-git/doc/guix.texi:28711
  42575. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  42576. msgstr ""
  42577. #. type: deftypevr
  42578. #: guix-git/doc/guix.texi:28728
  42579. msgid "where @code{name} is a string which is matched against the category given in the @code{VIR_LOG_INIT()} at the top of each libvirt source file, e.g., \"remote\", \"qemu\", or \"util.json\" (the name in the filter can be a substring of the full category name, in order to match multiple similar categories), the optional \"+\" prefix tells libvirt to log stack trace for each message matching name, and @code{x} is the minimal level where matching messages should be logged:"
  42580. msgstr ""
  42581. #. type: deftypevr
  42582. #: guix-git/doc/guix.texi:28751
  42583. #, no-wrap
  42584. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  42585. msgstr ""
  42586. #. type: deftypevr
  42587. #: guix-git/doc/guix.texi:28756
  42588. msgid "An output is one of the places to save logging information The format for an output can be:"
  42589. msgstr ""
  42590. #. type: deftypevr
  42591. #: guix-git/doc/guix.texi:28796
  42592. #, no-wrap
  42593. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  42594. msgstr ""
  42595. #. type: deftypevr
  42596. #: guix-git/doc/guix.texi:28801
  42597. msgid "Defaults to @samp{1024}."
  42598. msgstr ""
  42599. #. type: deftypevr
  42600. #: guix-git/doc/guix.texi:28804
  42601. #, no-wrap
  42602. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  42603. msgstr ""
  42604. #. type: deftypevr
  42605. #: guix-git/doc/guix.texi:28806
  42606. msgid "Maximum file size before rolling over."
  42607. msgstr ""
  42608. #. type: deftypevr
  42609. #: guix-git/doc/guix.texi:28808
  42610. msgid "Defaults to @samp{2MB}"
  42611. msgstr ""
  42612. #. type: deftypevr
  42613. #: guix-git/doc/guix.texi:28811
  42614. #, no-wrap
  42615. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  42616. msgstr ""
  42617. #. type: deftypevr
  42618. #: guix-git/doc/guix.texi:28813
  42619. msgid "Maximum number of backup files to keep."
  42620. msgstr ""
  42621. #. type: deftypevr
  42622. #: guix-git/doc/guix.texi:28815
  42623. msgid "Defaults to @samp{3}"
  42624. msgstr ""
  42625. #. type: anchor{#1}
  42626. #: guix-git/doc/guix.texi:28819
  42627. msgid "transparent-emulation-qemu"
  42628. msgstr ""
  42629. #. type: subsubheading
  42630. #: guix-git/doc/guix.texi:28819
  42631. #, no-wrap
  42632. msgid "Transparent Emulation with QEMU"
  42633. msgstr ""
  42634. #. type: cindex
  42635. #: guix-git/doc/guix.texi:28821
  42636. #, no-wrap
  42637. msgid "emulation"
  42638. msgstr ""
  42639. #. type: code{#1}
  42640. #: guix-git/doc/guix.texi:28822
  42641. #, no-wrap
  42642. msgid "binfmt_misc"
  42643. msgstr ""
  42644. #. type: Plain text
  42645. #: guix-git/doc/guix.texi:28830
  42646. msgid "@code{qemu-binfmt-service-type} provides support for transparent emulation of program binaries built for different architectures---e.g., it allows you to transparently execute an ARMv7 program on an x86_64 machine. It achieves this by combining the @uref{https://www.qemu.org, QEMU} emulator and the @code{binfmt_misc} feature of the kernel Linux. This feature only allows you to emulate GNU/Linux on a different architecture, but see below for GNU/Hurd support."
  42647. msgstr ""
  42648. #. type: defvr
  42649. #: guix-git/doc/guix.texi:28831
  42650. #, no-wrap
  42651. msgid "{Scheme Variable} qemu-binfmt-service-type"
  42652. msgstr ""
  42653. #. type: defvr
  42654. #: guix-git/doc/guix.texi:28836
  42655. msgid "This is the type of the QEMU/binfmt service for transparent emulation. Its value must be a @code{qemu-binfmt-configuration} object, which specifies the QEMU package to use as well as the architecture we want to emulated:"
  42656. msgstr ""
  42657. #. type: lisp
  42658. #: guix-git/doc/guix.texi:28841
  42659. #, no-wrap
  42660. msgid ""
  42661. "(service qemu-binfmt-service-type\n"
  42662. " (qemu-binfmt-configuration\n"
  42663. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  42664. msgstr ""
  42665. #. type: defvr
  42666. #: guix-git/doc/guix.texi:28847
  42667. msgid "In this example, we enable transparent emulation for the ARM and aarch64 platforms. Running @code{herd stop qemu-binfmt} turns it off, and running @code{herd start qemu-binfmt} turns it back on (@pxref{Invoking herd, the @command{herd} command,, shepherd, The GNU Shepherd Manual})."
  42668. msgstr ""
  42669. #. type: deftp
  42670. #: guix-git/doc/guix.texi:28849
  42671. #, no-wrap
  42672. msgid "{Data Type} qemu-binfmt-configuration"
  42673. msgstr ""
  42674. #. type: deftp
  42675. #: guix-git/doc/guix.texi:28851
  42676. msgid "This is the configuration for the @code{qemu-binfmt} service."
  42677. msgstr ""
  42678. #. type: item
  42679. #: guix-git/doc/guix.texi:28853
  42680. #, no-wrap
  42681. msgid "@code{platforms} (default: @code{'()})"
  42682. msgstr ""
  42683. #. type: table
  42684. #: guix-git/doc/guix.texi:28856
  42685. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  42686. msgstr ""
  42687. #. type: table
  42688. #: guix-git/doc/guix.texi:28859
  42689. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  42690. msgstr ""
  42691. #. type: lisp
  42692. #: guix-git/doc/guix.texi:28864
  42693. #, no-wrap
  42694. msgid ""
  42695. "(service qemu-binfmt-service-type\n"
  42696. " (qemu-binfmt-configuration\n"
  42697. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  42698. msgstr ""
  42699. #. type: table
  42700. #: guix-git/doc/guix.texi:28867
  42701. msgid "You can run:"
  42702. msgstr ""
  42703. #. type: example
  42704. #: guix-git/doc/guix.texi:28870
  42705. #, no-wrap
  42706. msgid "guix build -s armhf-linux inkscape\n"
  42707. msgstr ""
  42708. #. type: table
  42709. #: guix-git/doc/guix.texi:28877
  42710. msgid "and it will build Inkscape for ARMv7 @emph{as if it were a native build}, transparently using QEMU to emulate the ARMv7 CPU@. Pretty handy if you'd like to test a package build for an architecture you don't have access to!"
  42711. msgstr ""
  42712. #. type: item
  42713. #: guix-git/doc/guix.texi:28878
  42714. #, no-wrap
  42715. msgid "@code{qemu} (default: @code{qemu})"
  42716. msgstr ""
  42717. #. type: table
  42718. #: guix-git/doc/guix.texi:28880 guix-git/doc/guix.texi:28974
  42719. msgid "The QEMU package to use."
  42720. msgstr ""
  42721. #. type: deffn
  42722. #: guix-git/doc/guix.texi:28883
  42723. #, no-wrap
  42724. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  42725. msgstr ""
  42726. #. type: deffn
  42727. #: guix-git/doc/guix.texi:28888
  42728. msgid "Return the list of QEMU platform objects corresponding to @var{platforms}@dots{}. @var{platforms} must be a list of strings corresponding to platform names, such as @code{\"arm\"}, @code{\"sparc\"}, @code{\"mips64el\"}, and so on."
  42729. msgstr ""
  42730. #. type: deffn
  42731. #: guix-git/doc/guix.texi:28890
  42732. #, no-wrap
  42733. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  42734. msgstr ""
  42735. #. type: deffn
  42736. #: guix-git/doc/guix.texi:28892
  42737. msgid "Return true if @var{obj} is a platform object."
  42738. msgstr ""
  42739. #. type: deffn
  42740. #: guix-git/doc/guix.texi:28894
  42741. #, no-wrap
  42742. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  42743. msgstr ""
  42744. #. type: deffn
  42745. #: guix-git/doc/guix.texi:28896
  42746. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  42747. msgstr ""
  42748. #. type: subsubheading
  42749. #: guix-git/doc/guix.texi:28899
  42750. #, no-wrap
  42751. msgid "The Hurd in a Virtual Machine"
  42752. msgstr ""
  42753. #. type: cindex
  42754. #: guix-git/doc/guix.texi:28902
  42755. #, no-wrap
  42756. msgid "the Hurd"
  42757. msgstr ""
  42758. #. type: cindex
  42759. #: guix-git/doc/guix.texi:28903
  42760. #, no-wrap
  42761. msgid "childhurd"
  42762. msgstr ""
  42763. #. type: Plain text
  42764. #: guix-git/doc/guix.texi:28911
  42765. msgid "Service @code{hurd-vm} provides support for running GNU/Hurd in a virtual machine (VM), a so-called @dfn{childhurd}. This service is meant to be used on GNU/Linux and the given GNU/Hurd operating system configuration is cross-compiled. The virtual machine is a Shepherd service that can be referred to by the names @code{hurd-vm} and @code{childhurd} and be controlled with commands such as:"
  42766. msgstr ""
  42767. #. type: example
  42768. #: guix-git/doc/guix.texi:28915
  42769. #, no-wrap
  42770. msgid ""
  42771. "herd start hurd-vm\n"
  42772. "herd stop childhurd\n"
  42773. msgstr ""
  42774. #. type: Plain text
  42775. #: guix-git/doc/guix.texi:28919
  42776. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  42777. msgstr ""
  42778. #. type: example
  42779. #: guix-git/doc/guix.texi:28923
  42780. #, no-wrap
  42781. msgid ""
  42782. "guix environment --ad-hoc tigervnc-client -- \\\n"
  42783. " vncviewer localhost:5900\n"
  42784. msgstr ""
  42785. #. type: Plain text
  42786. #: guix-git/doc/guix.texi:28929
  42787. msgid "The default configuration (see @code{hurd-vm-configuration} below) spawns a secure shell (SSH) server in your GNU/Hurd system, which QEMU (the virtual machine emulator) redirects to port 10222 on the host. Thus, you can connect over SSH to the childhurd with:"
  42788. msgstr ""
  42789. #. type: example
  42790. #: guix-git/doc/guix.texi:28932
  42791. #, no-wrap
  42792. msgid "ssh root@@localhost -p 10022\n"
  42793. msgstr ""
  42794. #. type: Plain text
  42795. #: guix-git/doc/guix.texi:28941
  42796. msgid "The childhurd is volatile and stateless: it starts with a fresh root file system every time you restart it. By default though, all the files under @file{/etc/childhurd} on the host are copied as is to the root file system of the childhurd when it boots. This allows you to initialize ``secrets'' inside the VM: SSH host keys, authorized substitute keys, and so on---see the explanation of @code{secret-root} below."
  42797. msgstr ""
  42798. #. type: defvr
  42799. #: guix-git/doc/guix.texi:28942
  42800. #, no-wrap
  42801. msgid "{Scheme Variable} hurd-vm-service-type"
  42802. msgstr ""
  42803. #. type: defvr
  42804. #: guix-git/doc/guix.texi:28948
  42805. msgid "This is the type of the Hurd in a Virtual Machine service. Its value must be a @code{hurd-vm-configuration} object, which specifies the operating system (@pxref{operating-system Reference}) and the disk size for the Hurd Virtual Machine, the QEMU package to use as well as the options for running it."
  42806. msgstr ""
  42807. #. type: lisp
  42808. #: guix-git/doc/guix.texi:28956
  42809. #, no-wrap
  42810. msgid ""
  42811. "(service hurd-vm-service-type\n"
  42812. " (hurd-vm-configuration\n"
  42813. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  42814. " (memory-size 1024))) ;1024MiB\n"
  42815. msgstr ""
  42816. #. type: defvr
  42817. #: guix-git/doc/guix.texi:28960
  42818. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  42819. msgstr ""
  42820. #. type: deftp
  42821. #: guix-git/doc/guix.texi:28962
  42822. #, no-wrap
  42823. msgid "{Data Type} hurd-vm-configuration"
  42824. msgstr ""
  42825. #. type: deftp
  42826. #: guix-git/doc/guix.texi:28965
  42827. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  42828. msgstr ""
  42829. #. type: item
  42830. #: guix-git/doc/guix.texi:28967
  42831. #, no-wrap
  42832. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  42833. msgstr ""
  42834. #. type: table
  42835. #: guix-git/doc/guix.texi:28971
  42836. msgid "The operating system to instantiate. This default is bare-bones with a permissive OpenSSH secure shell daemon listening on port 2222 (@pxref{Networking Services, @code{openssh-service-type}})."
  42837. msgstr ""
  42838. #. type: item
  42839. #: guix-git/doc/guix.texi:28972
  42840. #, no-wrap
  42841. msgid "@code{qemu} (default: @code{qemu-minimal})"
  42842. msgstr ""
  42843. #. type: item
  42844. #: guix-git/doc/guix.texi:28975
  42845. #, no-wrap
  42846. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  42847. msgstr ""
  42848. #. type: table
  42849. #: guix-git/doc/guix.texi:28978
  42850. msgid "The procedure used to build the disk-image built from this configuration."
  42851. msgstr ""
  42852. #. type: item
  42853. #: guix-git/doc/guix.texi:28979
  42854. #, no-wrap
  42855. msgid "@code{disk-size} (default: @code{'guess})"
  42856. msgstr ""
  42857. #. type: table
  42858. #: guix-git/doc/guix.texi:28981
  42859. msgid "The size of the disk image."
  42860. msgstr ""
  42861. #. type: item
  42862. #: guix-git/doc/guix.texi:28982
  42863. #, no-wrap
  42864. msgid "@code{memory-size} (default: @code{512})"
  42865. msgstr ""
  42866. #. type: table
  42867. #: guix-git/doc/guix.texi:28984
  42868. msgid "The memory size of the Virtual Machine in mebibytes."
  42869. msgstr ""
  42870. #. type: item
  42871. #: guix-git/doc/guix.texi:28985
  42872. #, no-wrap
  42873. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  42874. msgstr ""
  42875. #. type: table
  42876. #: guix-git/doc/guix.texi:28987
  42877. msgid "The extra options for running QEMU."
  42878. msgstr ""
  42879. #. type: table
  42880. #: guix-git/doc/guix.texi:28992
  42881. msgid "If set, a non-zero positive integer used to parameterize Childhurd instances. It is appended to the service's name, e.g. @code{childhurd1}."
  42882. msgstr ""
  42883. #. type: item
  42884. #: guix-git/doc/guix.texi:28993
  42885. #, no-wrap
  42886. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  42887. msgstr ""
  42888. #. type: table
  42889. #: guix-git/doc/guix.texi:28995
  42890. msgid "The procedure used to produce the list of QEMU networking options."
  42891. msgstr ""
  42892. #. type: table
  42893. #: guix-git/doc/guix.texi:28997
  42894. msgid "By default, it produces"
  42895. msgstr ""
  42896. #. type: lisp
  42897. #: guix-git/doc/guix.texi:29004
  42898. #, no-wrap
  42899. msgid ""
  42900. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  42901. " \"--netdev\" \"user,id=net0\\\n"
  42902. " ,hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004\\\n"
  42903. " ,hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222\\\n"
  42904. " ,hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\")\n"
  42905. msgstr ""
  42906. #. type: table
  42907. #: guix-git/doc/guix.texi:29007
  42908. msgid "with forwarded ports:"
  42909. msgstr ""
  42910. #. type: example
  42911. #: guix-git/doc/guix.texi:29012
  42912. #, no-wrap
  42913. msgid ""
  42914. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  42915. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  42916. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  42917. msgstr ""
  42918. #. type: item
  42919. #: guix-git/doc/guix.texi:29014
  42920. #, no-wrap
  42921. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  42922. msgstr ""
  42923. #. type: table
  42924. #: guix-git/doc/guix.texi:29019
  42925. msgid "The root directory with out-of-band secrets to be installed into the childhurd once it runs. Childhurds are volatile which means that on every startup, secrets such as the SSH host keys and Guix signing key are recreated."
  42926. msgstr ""
  42927. #. type: table
  42928. #: guix-git/doc/guix.texi:29023
  42929. msgid "If the @file{/etc/childhurd} directory does not exist, the @code{secret-service} running in the Childhurd will be sent an empty list of secrets."
  42930. msgstr ""
  42931. #. type: table
  42932. #: guix-git/doc/guix.texi:29026
  42933. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  42934. msgstr ""
  42935. #. type: example
  42936. #: guix-git/doc/guix.texi:29035
  42937. #, no-wrap
  42938. msgid ""
  42939. "/etc/childhurd/etc/guix/acl\n"
  42940. "/etc/childhurd/etc/guix/signing-key.pub\n"
  42941. "/etc/childhurd/etc/guix/signing-key.sec\n"
  42942. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  42943. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  42944. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  42945. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  42946. msgstr ""
  42947. #. type: table
  42948. #: guix-git/doc/guix.texi:29039
  42949. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  42950. msgstr ""
  42951. #. type: cindex
  42952. #: guix-git/doc/guix.texi:29040
  42953. #, no-wrap
  42954. msgid "childhurd, offloading"
  42955. msgstr ""
  42956. #. type: cindex
  42957. #: guix-git/doc/guix.texi:29041
  42958. #, no-wrap
  42959. msgid "Hurd, offloading"
  42960. msgstr ""
  42961. #. type: table
  42962. #: guix-git/doc/guix.texi:29045
  42963. msgid "Having these files in place means that only a couple of things are missing to allow the host to offload @code{i586-gnu} builds to the childhurd:"
  42964. msgstr ""
  42965. #. type: enumerate
  42966. #: guix-git/doc/guix.texi:29050
  42967. msgid "Authorizing the childhurd's key on the host so that the host accepts build results coming from the childhurd, which can be done like so:"
  42968. msgstr ""
  42969. #. type: example
  42970. #: guix-git/doc/guix.texi:29054
  42971. #, no-wrap
  42972. msgid ""
  42973. "guix archive --authorize < \\\n"
  42974. " /etc/childhurd/etc/guix/signing-key.pub\n"
  42975. msgstr ""
  42976. #. type: enumerate
  42977. #: guix-git/doc/guix.texi:29059
  42978. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  42979. msgstr ""
  42980. #. type: table
  42981. #: guix-git/doc/guix.texi:29063
  42982. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  42983. msgstr ""
  42984. #. type: Plain text
  42985. #: guix-git/doc/guix.texi:29070
  42986. msgid "Note that by default the VM image is volatile, i.e., once stopped the contents are lost. If you want a stateful image instead, override the configuration's @code{image} and @code{options} without the @code{--snapshot} flag using something along these lines:"
  42987. msgstr ""
  42988. #. type: lisp
  42989. #: guix-git/doc/guix.texi:29076
  42990. #, no-wrap
  42991. msgid ""
  42992. "(service hurd-vm-service-type\n"
  42993. " (hurd-vm-configuration\n"
  42994. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  42995. " (options '())))\n"
  42996. msgstr ""
  42997. #. type: subsubheading
  42998. #: guix-git/doc/guix.texi:29078
  42999. #, no-wrap
  43000. msgid "Ganeti"
  43001. msgstr ""
  43002. #. type: cindex
  43003. #: guix-git/doc/guix.texi:29080
  43004. #, no-wrap
  43005. msgid "ganeti"
  43006. msgstr ""
  43007. #. type: quotation
  43008. #: guix-git/doc/guix.texi:29087
  43009. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested. Users of this service are encouraged to share their experience at @email{guix-devel@@gnu.org}."
  43010. msgstr ""
  43011. #. type: Plain text
  43012. #: guix-git/doc/guix.texi:29097
  43013. msgid "Ganeti is a virtual machine management system. It is designed to keep virtual machines running on a cluster of servers even in the event of hardware failures, and to make maintenance and recovery tasks easy. It consists of multiple services which are described later in this section. In addition to the Ganeti service, you will need the OpenSSH service (@pxref{Networking Services, @code{openssh-service-type}}), and update the @file{/etc/hosts} file (@pxref{operating-system Reference, @code{hosts-file}}) with the cluster name and address (or use a DNS server)."
  43014. msgstr ""
  43015. #. type: Plain text
  43016. #: guix-git/doc/guix.texi:29102
  43017. msgid "All nodes participating in a Ganeti cluster should have the same Ganeti and @file{/etc/hosts} configuration. Here is an example configuration for a Ganeti cluster node that supports multiple storage backends, and installs the @code{debootstrap} and @code{guix} @dfn{OS providers}:"
  43018. msgstr ""
  43019. #. type: lisp
  43020. #: guix-git/doc/guix.texi:29112
  43021. #, no-wrap
  43022. msgid ""
  43023. "(use-package-modules virtualization)\n"
  43024. "(use-service-modules base ganeti networking ssh)\n"
  43025. "(operating-system\n"
  43026. " ;; @dots{}\n"
  43027. " (host-name \"node1\")\n"
  43028. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  43029. "127.0.0.1 localhost\n"
  43030. "::1 localhost\n"
  43031. "\n"
  43032. msgstr ""
  43033. #. type: lisp
  43034. #: guix-git/doc/guix.texi:29117
  43035. #, no-wrap
  43036. msgid ""
  43037. "192.168.1.200 ganeti.example.com\n"
  43038. "192.168.1.201 node1.example.com node1\n"
  43039. "192.168.1.202 node2.example.com node2\n"
  43040. "\")))\n"
  43041. "\n"
  43042. msgstr ""
  43043. #. type: lisp
  43044. #: guix-git/doc/guix.texi:29131
  43045. #, no-wrap
  43046. msgid ""
  43047. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  43048. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  43049. " (packages (append (map specification->package\n"
  43050. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  43051. " ;; Add the debootstrap and guix OS providers.\n"
  43052. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  43053. " %base-packages))\n"
  43054. " (services\n"
  43055. " (append (list (static-networking-service \"eth0\" \"192.168.1.201\"\n"
  43056. " #:netmask \"255.255.255.0\"\n"
  43057. " #:gateway \"192.168.1.254\"\n"
  43058. " #:name-servers '(\"192.168.1.252\"\n"
  43059. " \"192.168.1.253\"))\n"
  43060. "\n"
  43061. msgstr ""
  43062. #. type: lisp
  43063. #: guix-git/doc/guix.texi:29136
  43064. #, no-wrap
  43065. msgid ""
  43066. " ;; Ganeti uses SSH to communicate between nodes.\n"
  43067. " (service openssh-service-type\n"
  43068. " (openssh-configuration\n"
  43069. " (permit-root-login 'without-password)))\n"
  43070. "\n"
  43071. msgstr ""
  43072. #. type: lisp
  43073. #: guix-git/doc/guix.texi:29146
  43074. #, no-wrap
  43075. msgid ""
  43076. " (service ganeti-service-type\n"
  43077. " (ganeti-configuration\n"
  43078. " ;; This list specifies allowed file system paths\n"
  43079. " ;; for storing virtual machine images.\n"
  43080. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  43081. " ;; This variable configures a single \"variant\" for\n"
  43082. " ;; both Debootstrap and Guix that works with KVM.\n"
  43083. " (os %default-ganeti-os))))\n"
  43084. " %base-services)))\n"
  43085. msgstr ""
  43086. #. type: Plain text
  43087. #: guix-git/doc/guix.texi:29154
  43088. msgid "Users are advised to read the @url{http://docs.ganeti.org/ganeti/master/html/admin.html,Ganeti administrators guide} to learn about the various cluster options and day-to-day operations. There is also a @url{https://guix.gnu.org/blog/2020/running-a-ganeti-cluster-on-guix/,blog post} describing how to configure and initialize a small cluster."
  43089. msgstr ""
  43090. #. type: defvr
  43091. #: guix-git/doc/guix.texi:29155
  43092. #, no-wrap
  43093. msgid "{Scheme Variable} ganeti-service-type"
  43094. msgstr ""
  43095. #. type: defvr
  43096. #: guix-git/doc/guix.texi:29158
  43097. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  43098. msgstr ""
  43099. #. type: defvr
  43100. #: guix-git/doc/guix.texi:29163
  43101. msgid "Its value is a @code{ganeti-configuration} object that defines the package to use for CLI operations, as well as configuration for the various daemons. Allowed file storage paths and available guest operating systems are also configured through this data type."
  43102. msgstr ""
  43103. #. type: deftp
  43104. #: guix-git/doc/guix.texi:29165
  43105. #, no-wrap
  43106. msgid "{Data Type} ganeti-configuration"
  43107. msgstr ""
  43108. #. type: deftp
  43109. #: guix-git/doc/guix.texi:29167
  43110. msgid "The @code{ganeti} service takes the following configuration options:"
  43111. msgstr ""
  43112. #. type: item
  43113. #: guix-git/doc/guix.texi:29169 guix-git/doc/guix.texi:29397
  43114. #: guix-git/doc/guix.texi:29447 guix-git/doc/guix.texi:29477
  43115. #: guix-git/doc/guix.texi:29504 guix-git/doc/guix.texi:29536
  43116. #: guix-git/doc/guix.texi:29589 guix-git/doc/guix.texi:29609
  43117. #: guix-git/doc/guix.texi:29635 guix-git/doc/guix.texi:29668
  43118. #: guix-git/doc/guix.texi:29708
  43119. #, no-wrap
  43120. msgid "@code{ganeti} (default: @code{ganeti})"
  43121. msgstr ""
  43122. #. type: table
  43123. #: guix-git/doc/guix.texi:29174
  43124. msgid "The @code{ganeti} package to use. It will be installed to the system profile and make @command{gnt-cluster}, @command{gnt-instance}, etc available. Note that the value specified here does not affect the other services as each refer to a specific @code{ganeti} package (see below)."
  43125. msgstr ""
  43126. #. type: item
  43127. #: guix-git/doc/guix.texi:29175
  43128. #, no-wrap
  43129. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  43130. msgstr ""
  43131. #. type: itemx
  43132. #: guix-git/doc/guix.texi:29176
  43133. #, no-wrap
  43134. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  43135. msgstr ""
  43136. #. type: itemx
  43137. #: guix-git/doc/guix.texi:29177
  43138. #, no-wrap
  43139. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  43140. msgstr ""
  43141. #. type: itemx
  43142. #: guix-git/doc/guix.texi:29178
  43143. #, no-wrap
  43144. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  43145. msgstr ""
  43146. #. type: itemx
  43147. #: guix-git/doc/guix.texi:29179
  43148. #, no-wrap
  43149. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  43150. msgstr ""
  43151. #. type: itemx
  43152. #: guix-git/doc/guix.texi:29180
  43153. #, no-wrap
  43154. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  43155. msgstr ""
  43156. #. type: itemx
  43157. #: guix-git/doc/guix.texi:29181
  43158. #, no-wrap
  43159. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  43160. msgstr ""
  43161. #. type: itemx
  43162. #: guix-git/doc/guix.texi:29182
  43163. #, no-wrap
  43164. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  43165. msgstr ""
  43166. #. type: itemx
  43167. #: guix-git/doc/guix.texi:29183
  43168. #, no-wrap
  43169. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  43170. msgstr ""
  43171. #. type: itemx
  43172. #: guix-git/doc/guix.texi:29184
  43173. #, no-wrap
  43174. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  43175. msgstr ""
  43176. #. type: table
  43177. #: guix-git/doc/guix.texi:29189
  43178. msgid "These options control the various daemons and cron jobs that are distributed with Ganeti. The possible values for these are described in detail below. To override a setting, you must use the configuration type for that service:"
  43179. msgstr ""
  43180. #. type: lisp
  43181. #: guix-git/doc/guix.texi:29199
  43182. #, no-wrap
  43183. msgid ""
  43184. "(service ganeti-service-type\n"
  43185. " (ganeti-configuration\n"
  43186. " (rapi-configuration\n"
  43187. " (ganeti-rapi-configuration\n"
  43188. " (interface \"eth1\"))))\n"
  43189. " (watcher-configuration\n"
  43190. " (ganeti-watcher-configuration\n"
  43191. " (rapi-ip \"10.0.0.1\"))))\n"
  43192. msgstr ""
  43193. #. type: item
  43194. #: guix-git/doc/guix.texi:29201
  43195. #, no-wrap
  43196. msgid "@code{file-storage-paths} (default: @code{'()})"
  43197. msgstr ""
  43198. #. type: table
  43199. #: guix-git/doc/guix.texi:29203
  43200. msgid "List of allowed directories for file storage backend."
  43201. msgstr ""
  43202. #. type: item
  43203. #: guix-git/doc/guix.texi:29204
  43204. #, no-wrap
  43205. msgid "@code{os} (default: @code{%default-ganeti-os})"
  43206. msgstr ""
  43207. #. type: table
  43208. #: guix-git/doc/guix.texi:29206
  43209. msgid "List of @code{<ganeti-os>} records."
  43210. msgstr ""
  43211. #. type: deftp
  43212. #: guix-git/doc/guix.texi:29210
  43213. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  43214. msgstr ""
  43215. #. type: lisp
  43216. #: guix-git/doc/guix.texi:29221
  43217. #, no-wrap
  43218. msgid ""
  43219. "(service ganeti-noded-service-type)\n"
  43220. "(service ganeti-confd-service-type)\n"
  43221. "(service ganeti-wconfd-service-type)\n"
  43222. "(service ganeti-luxid-service-type)\n"
  43223. "(service ganeti-kvmd-service-type)\n"
  43224. "(service ganeti-mond-service-type)\n"
  43225. "(service ganeti-metad-service-type)\n"
  43226. "(service ganeti-watcher-service-type)\n"
  43227. "(service ganeti-cleaner-service-type)\n"
  43228. msgstr ""
  43229. #. type: deftp
  43230. #: guix-git/doc/guix.texi:29225
  43231. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  43232. msgstr ""
  43233. #. type: deftp
  43234. #: guix-git/doc/guix.texi:29228
  43235. #, no-wrap
  43236. msgid "{Data Type} ganeti-os"
  43237. msgstr ""
  43238. #. type: deftp
  43239. #: guix-git/doc/guix.texi:29231
  43240. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  43241. msgstr ""
  43242. #. type: table
  43243. #: guix-git/doc/guix.texi:29237
  43244. msgid "The name for this OS provider. It is only used to specify where the configuration ends up. Setting it to ``debootstrap'' will create @file{/etc/ganeti/instance-debootstrap}."
  43245. msgstr ""
  43246. #. type: code{#1}
  43247. #: guix-git/doc/guix.texi:29238
  43248. #, no-wrap
  43249. msgid "extension"
  43250. msgstr ""
  43251. #. type: table
  43252. #: guix-git/doc/guix.texi:29241
  43253. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  43254. msgstr ""
  43255. #. type: item
  43256. #: guix-git/doc/guix.texi:29242
  43257. #, no-wrap
  43258. msgid "@code{variants} (default: @code{'()})"
  43259. msgstr ""
  43260. #. type: table
  43261. #: guix-git/doc/guix.texi:29244
  43262. msgid "List of @code{ganeti-os-variant} objects for this OS."
  43263. msgstr ""
  43264. #. type: deftp
  43265. #: guix-git/doc/guix.texi:29248
  43266. #, no-wrap
  43267. msgid "{Data Type} ganeti-os-variant"
  43268. msgstr ""
  43269. #. type: deftp
  43270. #: guix-git/doc/guix.texi:29251
  43271. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  43272. msgstr ""
  43273. #. type: table
  43274. #: guix-git/doc/guix.texi:29255
  43275. msgid "The name of this variant."
  43276. msgstr ""
  43277. #. type: code{#1}
  43278. #: guix-git/doc/guix.texi:29256
  43279. #, no-wrap
  43280. msgid "configuration"
  43281. msgstr ""
  43282. #. type: table
  43283. #: guix-git/doc/guix.texi:29258
  43284. msgid "A configuration file for this variant."
  43285. msgstr ""
  43286. #. type: defvr
  43287. #: guix-git/doc/guix.texi:29261
  43288. #, no-wrap
  43289. msgid "{Scheme Variable} %default-debootstrap-hooks"
  43290. msgstr ""
  43291. #. type: defvr
  43292. #: guix-git/doc/guix.texi:29263
  43293. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  43294. msgstr ""
  43295. #. type: defvr
  43296. #: guix-git/doc/guix.texi:29265
  43297. #, no-wrap
  43298. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  43299. msgstr ""
  43300. #. type: defvr
  43301. #: guix-git/doc/guix.texi:29267
  43302. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  43303. msgstr ""
  43304. #. type: deftp
  43305. #: guix-git/doc/guix.texi:29269
  43306. #, no-wrap
  43307. msgid "{Data Type} debootstrap-configuration"
  43308. msgstr ""
  43309. #. type: deftp
  43310. #: guix-git/doc/guix.texi:29272
  43311. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  43312. msgstr ""
  43313. #. type: item
  43314. #: guix-git/doc/guix.texi:29274
  43315. #, no-wrap
  43316. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  43317. msgstr ""
  43318. #. type: table
  43319. #: guix-git/doc/guix.texi:29278
  43320. msgid "When not @code{#f}, this must be a G-expression that specifies a directory with scripts that will run when the OS is installed. It can also be a list of @code{(name . file-like)} pairs. For example:"
  43321. msgstr ""
  43322. #. type: lisp
  43323. #: guix-git/doc/guix.texi:29281
  43324. #, no-wrap
  43325. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  43326. msgstr ""
  43327. #. type: table
  43328. #: guix-git/doc/guix.texi:29286
  43329. msgid "That will create a directory with one executable named @code{99-hello-world} and run it every time this variant is installed. If set to @code{#f}, hooks in @file{/etc/ganeti/instance-debootstrap/hooks} will be used, if any."
  43330. msgstr ""
  43331. #. type: item
  43332. #: guix-git/doc/guix.texi:29286
  43333. #, no-wrap
  43334. msgid "@code{proxy} (default: @code{#f})"
  43335. msgstr ""
  43336. #. type: table
  43337. #: guix-git/doc/guix.texi:29288
  43338. msgid "Optional HTTP proxy to use."
  43339. msgstr ""
  43340. #. type: item
  43341. #: guix-git/doc/guix.texi:29288
  43342. #, no-wrap
  43343. msgid "@code{mirror} (default: @code{#f})"
  43344. msgstr ""
  43345. #. type: table
  43346. #: guix-git/doc/guix.texi:29291
  43347. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  43348. msgstr ""
  43349. #. type: item
  43350. #: guix-git/doc/guix.texi:29291
  43351. #, no-wrap
  43352. msgid "@code{arch} (default: @code{#f})"
  43353. msgstr ""
  43354. #. type: table
  43355. #: guix-git/doc/guix.texi:29294
  43356. msgid "The dpkg architecture. Set to @code{armhf} to debootstrap an ARMv7 instance on an AArch64 host. Default is to use the current system architecture."
  43357. msgstr ""
  43358. #. type: item
  43359. #: guix-git/doc/guix.texi:29294
  43360. #, no-wrap
  43361. msgid "@code{suite} (default: @code{\"stable\"})"
  43362. msgstr ""
  43363. #. type: table
  43364. #: guix-git/doc/guix.texi:29297
  43365. msgid "When set, this must be a Debian distribution ``suite'' such as @code{buster} or @code{focal}. If set to @code{#f}, the default for the OS provider is used."
  43366. msgstr ""
  43367. #. type: item
  43368. #: guix-git/doc/guix.texi:29297
  43369. #, no-wrap
  43370. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  43371. msgstr ""
  43372. #. type: table
  43373. #: guix-git/doc/guix.texi:29300
  43374. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  43375. msgstr ""
  43376. #. type: item
  43377. #: guix-git/doc/guix.texi:29300
  43378. #, no-wrap
  43379. msgid "@code{components} (default: @code{#f})"
  43380. msgstr ""
  43381. #. type: table
  43382. #: guix-git/doc/guix.texi:29303
  43383. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  43384. msgstr ""
  43385. #. type: item
  43386. #: guix-git/doc/guix.texi:29303
  43387. #, no-wrap
  43388. msgid "@code{generate-cache?} (default: @code{#t})"
  43389. msgstr ""
  43390. #. type: table
  43391. #: guix-git/doc/guix.texi:29305
  43392. msgid "Whether to automatically cache the generated debootstrap archive."
  43393. msgstr ""
  43394. #. type: item
  43395. #: guix-git/doc/guix.texi:29305
  43396. #, no-wrap
  43397. msgid "@code{clean-cache} (default: @code{14})"
  43398. msgstr ""
  43399. #. type: table
  43400. #: guix-git/doc/guix.texi:29308
  43401. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  43402. msgstr ""
  43403. #. type: item
  43404. #: guix-git/doc/guix.texi:29308
  43405. #, no-wrap
  43406. msgid "@code{partition-style} (default: @code{'msdos})"
  43407. msgstr ""
  43408. #. type: table
  43409. #: guix-git/doc/guix.texi:29311
  43410. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  43411. msgstr ""
  43412. #. type: item
  43413. #: guix-git/doc/guix.texi:29311
  43414. #, no-wrap
  43415. msgid "@code{partition-alignment} (default: @code{2048})"
  43416. msgstr ""
  43417. #. type: table
  43418. #: guix-git/doc/guix.texi:29313
  43419. msgid "Alignment of the partition in sectors."
  43420. msgstr ""
  43421. #. type: deffn
  43422. #: guix-git/doc/guix.texi:29316
  43423. #, no-wrap
  43424. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  43425. msgstr ""
  43426. #. type: deffn
  43427. #: guix-git/doc/guix.texi:29319
  43428. msgid "This is a helper procedure that creates a @code{ganeti-os-variant} record. It takes two parameters: a name and a @code{debootstrap-configuration} object."
  43429. msgstr ""
  43430. #. type: deffn
  43431. #: guix-git/doc/guix.texi:29321
  43432. #, no-wrap
  43433. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  43434. msgstr ""
  43435. #. type: deffn
  43436. #: guix-git/doc/guix.texi:29324
  43437. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  43438. msgstr ""
  43439. #. type: deffn
  43440. #: guix-git/doc/guix.texi:29326
  43441. #, no-wrap
  43442. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  43443. msgstr ""
  43444. #. type: deffn
  43445. #: guix-git/doc/guix.texi:29331
  43446. msgid "This is a helper procedure that creates a @code{ganeti-os-variant} record for use with the Guix OS provider. It takes a name and a G-expression that returns a ``file-like'' (@pxref{G-Expressions, file-like objects}) object containing a Guix System configuration."
  43447. msgstr ""
  43448. #. type: deffn
  43449. #: guix-git/doc/guix.texi:29333
  43450. #, no-wrap
  43451. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  43452. msgstr ""
  43453. #. type: deffn
  43454. #: guix-git/doc/guix.texi:29336
  43455. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  43456. msgstr ""
  43457. #. type: defvr
  43458. #: guix-git/doc/guix.texi:29338
  43459. #, no-wrap
  43460. msgid "{Scheme Variable} %default-debootstrap-variants"
  43461. msgstr ""
  43462. #. type: defvr
  43463. #: guix-git/doc/guix.texi:29342
  43464. msgid "This is a convenience variable to make the debootstrap provider work ``out of the box'' without users having to declare variants manually. It contains a single debootstrap variant with the default configuration:"
  43465. msgstr ""
  43466. #. type: lisp
  43467. #: guix-git/doc/guix.texi:29347
  43468. #, no-wrap
  43469. msgid ""
  43470. "(list (debootstrap-variant\n"
  43471. " \"default\"\n"
  43472. " (debootstrap-configuration)))\n"
  43473. msgstr ""
  43474. #. type: defvr
  43475. #: guix-git/doc/guix.texi:29350
  43476. #, no-wrap
  43477. msgid "{Scheme Variable} %default-guix-variants"
  43478. msgstr ""
  43479. #. type: defvr
  43480. #: guix-git/doc/guix.texi:29354
  43481. msgid "This is a convenience variable to make the Guix OS provider work without additional configuration. It creates a virtual machine that has an SSH server, a serial console, and authorizes the Ganeti hosts SSH keys."
  43482. msgstr ""
  43483. #. type: lisp
  43484. #: guix-git/doc/guix.texi:29360
  43485. #, no-wrap
  43486. msgid ""
  43487. "(list (guix-variant\n"
  43488. " \"default\"\n"
  43489. " (file-append ganeti-instance-guix\n"
  43490. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  43491. msgstr ""
  43492. #. type: Plain text
  43493. #: guix-git/doc/guix.texi:29366
  43494. msgid "Users can implement support for OS providers unbeknownst to Guix by extending the @code{ganeti-os} and @code{ganeti-os-variant} records appropriately. For example:"
  43495. msgstr ""
  43496. #. type: lisp
  43497. #: guix-git/doc/guix.texi:29375
  43498. #, no-wrap
  43499. msgid ""
  43500. "(ganeti-os\n"
  43501. " (name \"custom\")\n"
  43502. " (extension \".conf\")\n"
  43503. " (variants\n"
  43504. " (list (ganeti-os-variant\n"
  43505. " (name \"foo\")\n"
  43506. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  43507. msgstr ""
  43508. #. type: Plain text
  43509. #: guix-git/doc/guix.texi:29380
  43510. msgid "That creates @file{/etc/ganeti/instance-custom/variants/foo.conf} which points to a file in the store with contents @code{this is fine}. It also creates @file{/etc/ganeti/instance-custom/variants/variants.list} with contents @code{foo}."
  43511. msgstr ""
  43512. #. type: Plain text
  43513. #: guix-git/doc/guix.texi:29383
  43514. msgid "Obviously this may not work for all OS providers out there. If you find the interface limiting, please reach out to @email{guix-devel@@gnu.org}."
  43515. msgstr ""
  43516. #. type: Plain text
  43517. #: guix-git/doc/guix.texi:29386
  43518. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  43519. msgstr ""
  43520. #. type: defvr
  43521. #: guix-git/doc/guix.texi:29387
  43522. #, no-wrap
  43523. msgid "{Scheme Variable} ganeti-noded-service-type"
  43524. msgstr ""
  43525. #. type: defvr
  43526. #: guix-git/doc/guix.texi:29391
  43527. msgid "@command{ganeti-noded} is the daemon responsible for node-specific functions within the Ganeti system. The value of this service must be a @code{ganeti-noded-configuration} object."
  43528. msgstr ""
  43529. #. type: deftp
  43530. #: guix-git/doc/guix.texi:29393
  43531. #, no-wrap
  43532. msgid "{Data Type} ganeti-noded-configuration"
  43533. msgstr ""
  43534. #. type: deftp
  43535. #: guix-git/doc/guix.texi:29395
  43536. msgid "This is the configuration for the @code{ganeti-noded} service."
  43537. msgstr ""
  43538. #. type: table
  43539. #: guix-git/doc/guix.texi:29399 guix-git/doc/guix.texi:29449
  43540. #: guix-git/doc/guix.texi:29479 guix-git/doc/guix.texi:29506
  43541. #: guix-git/doc/guix.texi:29538 guix-git/doc/guix.texi:29591
  43542. #: guix-git/doc/guix.texi:29611 guix-git/doc/guix.texi:29637
  43543. #: guix-git/doc/guix.texi:29670
  43544. msgid "The @code{ganeti} package to use for this service."
  43545. msgstr ""
  43546. #. type: item
  43547. #: guix-git/doc/guix.texi:29400
  43548. #, no-wrap
  43549. msgid "@code{port} (default: @code{1811})"
  43550. msgstr ""
  43551. #. type: table
  43552. #: guix-git/doc/guix.texi:29402
  43553. msgid "The TCP port on which the node daemon listens for network requests."
  43554. msgstr ""
  43555. #. type: item
  43556. #: guix-git/doc/guix.texi:29403 guix-git/doc/guix.texi:29453
  43557. #: guix-git/doc/guix.texi:29545 guix-git/doc/guix.texi:29615
  43558. #, no-wrap
  43559. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  43560. msgstr ""
  43561. #. type: table
  43562. #: guix-git/doc/guix.texi:29406
  43563. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  43564. msgstr ""
  43565. #. type: table
  43566. #: guix-git/doc/guix.texi:29410
  43567. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  43568. msgstr ""
  43569. #. type: item
  43570. #: guix-git/doc/guix.texi:29411 guix-git/doc/guix.texi:29553
  43571. #, no-wrap
  43572. msgid "@code{max-clients} (default: @code{20})"
  43573. msgstr ""
  43574. #. type: table
  43575. #: guix-git/doc/guix.texi:29415
  43576. msgid "This sets a limit on the maximum number of simultaneous client connections that the daemon will handle. Connections above this count are accepted, but no responses will be sent until enough connections have closed."
  43577. msgstr ""
  43578. #. type: item
  43579. #: guix-git/doc/guix.texi:29416 guix-git/doc/guix.texi:29558
  43580. #, no-wrap
  43581. msgid "@code{ssl?} (default: @code{#t})"
  43582. msgstr ""
  43583. #. type: table
  43584. #: guix-git/doc/guix.texi:29420
  43585. msgid "Whether to use SSL/TLS to encrypt network communications. The certificate is automatically provisioned by the cluster and can be rotated with @command{gnt-cluster renew-crypto}."
  43586. msgstr ""
  43587. #. type: item
  43588. #: guix-git/doc/guix.texi:29421 guix-git/doc/guix.texi:29561
  43589. #, no-wrap
  43590. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  43591. msgstr ""
  43592. #. type: table
  43593. #: guix-git/doc/guix.texi:29423 guix-git/doc/guix.texi:29563
  43594. msgid "This can be used to provide a specific encryption key for TLS communications."
  43595. msgstr ""
  43596. #. type: item
  43597. #: guix-git/doc/guix.texi:29424 guix-git/doc/guix.texi:29564
  43598. #, no-wrap
  43599. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  43600. msgstr ""
  43601. #. type: table
  43602. #: guix-git/doc/guix.texi:29426 guix-git/doc/guix.texi:29566
  43603. msgid "This can be used to provide a specific certificate for TLS communications."
  43604. msgstr ""
  43605. #. type: table
  43606. #: guix-git/doc/guix.texi:29430 guix-git/doc/guix.texi:29570
  43607. msgid "When true, the daemon performs additional logging for debugging purposes. Note that this will leak encryption details to the log files, use with caution."
  43608. msgstr ""
  43609. #. type: defvr
  43610. #: guix-git/doc/guix.texi:29434
  43611. #, no-wrap
  43612. msgid "{Scheme Variable} ganeti-confd-service-type"
  43613. msgstr ""
  43614. #. type: defvr
  43615. #: guix-git/doc/guix.texi:29440
  43616. msgid "@command{ganeti-confd} answers queries related to the configuration of a Ganeti cluster. The purpose of this daemon is to have a highly available and fast way to query cluster configuration values. It is automatically active on all @dfn{master candidates}. The value of this service must be a @code{ganeti-confd-configuration} object."
  43617. msgstr ""
  43618. #. type: deftp
  43619. #: guix-git/doc/guix.texi:29443
  43620. #, no-wrap
  43621. msgid "{Data Type} ganeti-confd-configuration"
  43622. msgstr ""
  43623. #. type: deftp
  43624. #: guix-git/doc/guix.texi:29445
  43625. msgid "This is the configuration for the @code{ganeti-confd} service."
  43626. msgstr ""
  43627. #. type: item
  43628. #: guix-git/doc/guix.texi:29450
  43629. #, no-wrap
  43630. msgid "@code{port} (default: @code{1814})"
  43631. msgstr ""
  43632. #. type: table
  43633. #: guix-git/doc/guix.texi:29452
  43634. msgid "The UDP port on which to listen for network requests."
  43635. msgstr ""
  43636. #. type: table
  43637. #: guix-git/doc/guix.texi:29455
  43638. msgid "Network address that the daemon will bind to."
  43639. msgstr ""
  43640. #. type: table
  43641. #: guix-git/doc/guix.texi:29458 guix-git/doc/guix.texi:29487
  43642. #: guix-git/doc/guix.texi:29514 guix-git/doc/guix.texi:29594
  43643. #: guix-git/doc/guix.texi:29621 guix-git/doc/guix.texi:29647
  43644. msgid "When true, the daemon performs additional logging for debugging purposes."
  43645. msgstr ""
  43646. #. type: defvr
  43647. #: guix-git/doc/guix.texi:29462
  43648. #, no-wrap
  43649. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  43650. msgstr ""
  43651. #. type: defvr
  43652. #: guix-git/doc/guix.texi:29468
  43653. msgid "@command{ganeti-wconfd} is the daemon that has authoritative knowledge about the cluster configuration and is the only entity that can accept changes to it. All jobs that need to modify the configuration will do so by sending appropriate requests to this daemon. It only runs on the @dfn{master node} and will automatically disable itself on other nodes."
  43654. msgstr ""
  43655. #. type: defvr
  43656. #: guix-git/doc/guix.texi:29471
  43657. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  43658. msgstr ""
  43659. #. type: deftp
  43660. #: guix-git/doc/guix.texi:29473
  43661. #, no-wrap
  43662. msgid "{Data Type} ganeti-wconfd-configuration"
  43663. msgstr ""
  43664. #. type: deftp
  43665. #: guix-git/doc/guix.texi:29475 guix-git/doc/guix.texi:29502
  43666. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  43667. msgstr ""
  43668. #. type: item
  43669. #: guix-git/doc/guix.texi:29480 guix-git/doc/guix.texi:29507
  43670. #, no-wrap
  43671. msgid "@code{no-voting?} (default: @code{#f})"
  43672. msgstr ""
  43673. #. type: table
  43674. #: guix-git/doc/guix.texi:29484
  43675. msgid "The daemon will refuse to start if the majority of cluster nodes does not agree that it is running on the master node. Set to @code{#t} to start even if a quorum can not be reached (dangerous, use with caution)."
  43676. msgstr ""
  43677. #. type: defvr
  43678. #: guix-git/doc/guix.texi:29491
  43679. #, no-wrap
  43680. msgid "{Scheme Variable} ganeti-luxid-service-type"
  43681. msgstr ""
  43682. #. type: defvr
  43683. #: guix-git/doc/guix.texi:29496
  43684. msgid "@command{ganeti-luxid} is a daemon used to answer queries related to the configuration and the current live state of a Ganeti cluster. Additionally, it is the authoritative daemon for the Ganeti job queue. Jobs can be submitted via this daemon and it schedules and starts them."
  43685. msgstr ""
  43686. #. type: defvr
  43687. #: guix-git/doc/guix.texi:29498
  43688. msgid "It takes a @code{ganeti-luxid-configuration} object."
  43689. msgstr ""
  43690. #. type: deftp
  43691. #: guix-git/doc/guix.texi:29500
  43692. #, no-wrap
  43693. msgid "{Data Type} ganeti-luxid-configuration"
  43694. msgstr ""
  43695. #. type: table
  43696. #: guix-git/doc/guix.texi:29511
  43697. msgid "The daemon will refuse to start if it cannot verify that the majority of cluster nodes believes that it is running on the master node. Set to @code{#t} to ignore such checks and start anyway (this can be dangerous)."
  43698. msgstr ""
  43699. #. type: defvr
  43700. #: guix-git/doc/guix.texi:29518
  43701. #, no-wrap
  43702. msgid "{Scheme Variable} ganeti-rapi-service-type"
  43703. msgstr ""
  43704. #. type: defvr
  43705. #: guix-git/doc/guix.texi:29522
  43706. msgid "@command{ganeti-rapi} provides a remote API for Ganeti clusters. It runs on the master node and can be used to perform cluster actions programmatically via a JSON-based RPC protocol."
  43707. msgstr ""
  43708. #. type: defvr
  43709. #: guix-git/doc/guix.texi:29528
  43710. msgid "Most query operations are allowed without authentication (unless @var{require-authentication?} is set), whereas write operations require explicit authorization via the @file{/var/lib/ganeti/rapi/users} file. See the @url{http://docs.ganeti.org/ganeti/master/html/rapi.html, Ganeti Remote API documentation} for more information."
  43711. msgstr ""
  43712. #. type: defvr
  43713. #: guix-git/doc/guix.texi:29530
  43714. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  43715. msgstr ""
  43716. #. type: deftp
  43717. #: guix-git/doc/guix.texi:29532
  43718. #, no-wrap
  43719. msgid "{Data Type} ganeti-rapi-configuration"
  43720. msgstr ""
  43721. #. type: deftp
  43722. #: guix-git/doc/guix.texi:29534
  43723. msgid "This is the configuration for the @code{ganeti-rapi} service."
  43724. msgstr ""
  43725. #. type: item
  43726. #: guix-git/doc/guix.texi:29539
  43727. #, no-wrap
  43728. msgid "@code{require-authentication?} (default: @code{#f})"
  43729. msgstr ""
  43730. #. type: table
  43731. #: guix-git/doc/guix.texi:29541
  43732. msgid "Whether to require authentication even for read-only operations."
  43733. msgstr ""
  43734. #. type: item
  43735. #: guix-git/doc/guix.texi:29542
  43736. #, no-wrap
  43737. msgid "@code{port} (default: @code{5080})"
  43738. msgstr ""
  43739. #. type: table
  43740. #: guix-git/doc/guix.texi:29544
  43741. msgid "The TCP port on which to listen to API requests."
  43742. msgstr ""
  43743. #. type: table
  43744. #: guix-git/doc/guix.texi:29548
  43745. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  43746. msgstr ""
  43747. #. type: table
  43748. #: guix-git/doc/guix.texi:29552
  43749. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  43750. msgstr ""
  43751. #. type: table
  43752. #: guix-git/doc/guix.texi:29557
  43753. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  43754. msgstr ""
  43755. #. type: table
  43756. #: guix-git/doc/guix.texi:29560
  43757. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  43758. msgstr ""
  43759. #. type: defvr
  43760. #: guix-git/doc/guix.texi:29574
  43761. #, no-wrap
  43762. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  43763. msgstr ""
  43764. #. type: defvr
  43765. #: guix-git/doc/guix.texi:29582
  43766. msgid "@command{ganeti-kvmd} is responsible for determining whether a given KVM instance was shut down by an administrator or a user. Normally Ganeti will restart an instance that was not stopped through Ganeti itself. If the cluster option @code{user_shutdown} is true, this daemon monitors the @code{QMP} socket provided by QEMU and listens for shutdown events, and marks the instance as @dfn{USER_down} instead of @dfn{ERROR_down} when it shuts down gracefully by itself."
  43767. msgstr ""
  43768. #. type: defvr
  43769. #: guix-git/doc/guix.texi:29584
  43770. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  43771. msgstr ""
  43772. #. type: deftp
  43773. #: guix-git/doc/guix.texi:29586
  43774. #, no-wrap
  43775. msgid "{Data Type} ganeti-kvmd-configuration"
  43776. msgstr ""
  43777. #. type: defvr
  43778. #: guix-git/doc/guix.texi:29598
  43779. #, no-wrap
  43780. msgid "{Scheme Variable} ganeti-mond-service-type"
  43781. msgstr ""
  43782. #. type: defvr
  43783. #: guix-git/doc/guix.texi:29602
  43784. msgid "@command{ganeti-mond} is an optional daemon that provides Ganeti monitoring functionality. It is responsible for running data collectors and publish the collected information through a HTTP interface."
  43785. msgstr ""
  43786. #. type: defvr
  43787. #: guix-git/doc/guix.texi:29604
  43788. msgid "It takes a @code{ganeti-mond-configuration} object."
  43789. msgstr ""
  43790. #. type: deftp
  43791. #: guix-git/doc/guix.texi:29606
  43792. #, no-wrap
  43793. msgid "{Data Type} ganeti-mond-configuration"
  43794. msgstr ""
  43795. #. type: item
  43796. #: guix-git/doc/guix.texi:29612
  43797. #, no-wrap
  43798. msgid "@code{port} (default: @code{1815})"
  43799. msgstr ""
  43800. #. type: table
  43801. #: guix-git/doc/guix.texi:29614 guix-git/doc/guix.texi:29640
  43802. msgid "The port on which the daemon will listen."
  43803. msgstr ""
  43804. #. type: table
  43805. #: guix-git/doc/guix.texi:29618
  43806. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  43807. msgstr ""
  43808. #. type: defvr
  43809. #: guix-git/doc/guix.texi:29625
  43810. #, no-wrap
  43811. msgid "{Scheme Variable} ganeti-metad-service-type"
  43812. msgstr ""
  43813. #. type: defvr
  43814. #: guix-git/doc/guix.texi:29628
  43815. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  43816. msgstr ""
  43817. #. type: defvr
  43818. #: guix-git/doc/guix.texi:29630
  43819. msgid "It takes a @code{ganeti-metad-configuration} object."
  43820. msgstr ""
  43821. #. type: deftp
  43822. #: guix-git/doc/guix.texi:29632
  43823. #, no-wrap
  43824. msgid "{Data Type} ganeti-metad-configuration"
  43825. msgstr ""
  43826. #. type: item
  43827. #: guix-git/doc/guix.texi:29641
  43828. #, no-wrap
  43829. msgid "@code{address} (default: @code{#f})"
  43830. msgstr ""
  43831. #. type: table
  43832. #: guix-git/doc/guix.texi:29644
  43833. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  43834. msgstr ""
  43835. #. type: defvr
  43836. #: guix-git/doc/guix.texi:29651
  43837. #, no-wrap
  43838. msgid "{Scheme Variable} ganeti-watcher-service-type"
  43839. msgstr ""
  43840. #. type: defvr
  43841. #: guix-git/doc/guix.texi:29659
  43842. msgid "@command{ganeti-watcher} is a script designed to run periodically and ensure the health of a cluster. It will automatically restart instances that have stopped without Ganeti's consent, and repairs DRBD links in case a node has rebooted. It also archives old cluster jobs and restarts Ganeti daemons that are not running. If the cluster parameter @code{ensure_node_health} is set, the watcher will also shutdown instances and DRBD devices if the node it is running on is declared offline by known master candidates."
  43843. msgstr ""
  43844. #. type: defvr
  43845. #: guix-git/doc/guix.texi:29661
  43846. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  43847. msgstr ""
  43848. #. type: defvr
  43849. #: guix-git/doc/guix.texi:29663
  43850. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  43851. msgstr ""
  43852. #. type: deftp
  43853. #: guix-git/doc/guix.texi:29665
  43854. #, no-wrap
  43855. msgid "{Data Type} ganeti-watcher-configuration"
  43856. msgstr ""
  43857. #. type: item
  43858. #: guix-git/doc/guix.texi:29671
  43859. #, no-wrap
  43860. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  43861. msgstr ""
  43862. #. type: table
  43863. #: guix-git/doc/guix.texi:29673
  43864. msgid "How often to run the script. The default is every five minutes."
  43865. msgstr ""
  43866. #. type: item
  43867. #: guix-git/doc/guix.texi:29674
  43868. #, no-wrap
  43869. msgid "@code{rapi-ip} (default: @code{#f})"
  43870. msgstr ""
  43871. #. type: table
  43872. #: guix-git/doc/guix.texi:29677
  43873. msgid "This option needs to be specified only if the RAPI daemon is configured to use a particular interface or address. By default the cluster address is used."
  43874. msgstr ""
  43875. #. type: item
  43876. #: guix-git/doc/guix.texi:29678
  43877. #, no-wrap
  43878. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  43879. msgstr ""
  43880. #. type: table
  43881. #: guix-git/doc/guix.texi:29681
  43882. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  43883. msgstr ""
  43884. #. type: item
  43885. #: guix-git/doc/guix.texi:29682
  43886. #, no-wrap
  43887. msgid "@code{verify-disks?} (default: @code{#t})"
  43888. msgstr ""
  43889. #. type: table
  43890. #: guix-git/doc/guix.texi:29686
  43891. msgid "If this is @code{#f}, the watcher will not try to repair broken DRBD links automatically. Administrators will need to use @command{gnt-cluster verify-disks} manually instead."
  43892. msgstr ""
  43893. #. type: table
  43894. #: guix-git/doc/guix.texi:29689
  43895. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  43896. msgstr ""
  43897. #. type: defvr
  43898. #: guix-git/doc/guix.texi:29693
  43899. #, no-wrap
  43900. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  43901. msgstr ""
  43902. #. type: defvr
  43903. #: guix-git/doc/guix.texi:29701
  43904. msgid "@command{ganeti-cleaner} is a script designed to run periodically and remove old files from the cluster. This service type controls two @dfn{cron jobs}: one intended for the master node that permanently purges old cluster jobs, and one intended for every node that removes expired X509 certificates, keys, and outdated @command{ganeti-watcher} information. Like all Ganeti services, it is safe to include even on non-master nodes as it will disable itself as necessary."
  43905. msgstr ""
  43906. #. type: defvr
  43907. #: guix-git/doc/guix.texi:29703
  43908. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  43909. msgstr ""
  43910. #. type: deftp
  43911. #: guix-git/doc/guix.texi:29705
  43912. #, no-wrap
  43913. msgid "{Data Type} ganeti-cleaner-configuration"
  43914. msgstr ""
  43915. #. type: table
  43916. #: guix-git/doc/guix.texi:29710
  43917. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  43918. msgstr ""
  43919. #. type: item
  43920. #: guix-git/doc/guix.texi:29711
  43921. #, no-wrap
  43922. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  43923. msgstr ""
  43924. #. type: table
  43925. #: guix-git/doc/guix.texi:29714
  43926. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  43927. msgstr ""
  43928. #. type: item
  43929. #: guix-git/doc/guix.texi:29715
  43930. #, no-wrap
  43931. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  43932. msgstr ""
  43933. #. type: table
  43934. #: guix-git/doc/guix.texi:29718
  43935. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  43936. msgstr ""
  43937. #. type: Plain text
  43938. #: guix-git/doc/guix.texi:29732
  43939. msgid "The @code{(gnu services version-control)} module provides a service to allow remote access to local Git repositories. There are three options: the @code{git-daemon-service}, which provides access to repositories via the @code{git://} unsecured TCP-based protocol, extending the @code{nginx} web server to proxy some requests to @code{git-http-backend}, or providing a web interface with @code{cgit-service-type}."
  43940. msgstr ""
  43941. #. type: deffn
  43942. #: guix-git/doc/guix.texi:29733
  43943. #, no-wrap
  43944. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  43945. msgstr ""
  43946. #. type: deffn
  43947. #: guix-git/doc/guix.texi:29737
  43948. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  43949. msgstr ""
  43950. #. type: deffn
  43951. #: guix-git/doc/guix.texi:29743
  43952. msgid "The optional @var{config} argument should be a @code{<git-daemon-configuration>} object, by default it allows read-only access to exported@footnote{By creating the magic file @file{git-daemon-export-ok} in the repository directory.} repositories under @file{/srv/git}."
  43953. msgstr ""
  43954. #. type: deftp
  43955. #: guix-git/doc/guix.texi:29746
  43956. #, no-wrap
  43957. msgid "{Data Type} git-daemon-configuration"
  43958. msgstr ""
  43959. #. type: deftp
  43960. #: guix-git/doc/guix.texi:29748
  43961. msgid "Data type representing the configuration for @code{git-daemon-service}."
  43962. msgstr ""
  43963. #. type: item
  43964. #: guix-git/doc/guix.texi:29750
  43965. #, no-wrap
  43966. msgid "@code{package} (default: @code{git})"
  43967. msgstr ""
  43968. #. type: table
  43969. #: guix-git/doc/guix.texi:29752 guix-git/doc/guix.texi:29812
  43970. msgid "Package object of the Git distributed version control system."
  43971. msgstr ""
  43972. #. type: item
  43973. #: guix-git/doc/guix.texi:29753 guix-git/doc/guix.texi:29816
  43974. #, no-wrap
  43975. msgid "@code{export-all?} (default: @code{#f})"
  43976. msgstr ""
  43977. #. type: table
  43978. #: guix-git/doc/guix.texi:29756
  43979. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  43980. msgstr ""
  43981. #. type: item
  43982. #: guix-git/doc/guix.texi:29757
  43983. #, no-wrap
  43984. msgid "@code{base-path} (default: @file{/srv/git})"
  43985. msgstr ""
  43986. #. type: table
  43987. #: guix-git/doc/guix.texi:29763
  43988. msgid "Whether to remap all the path requests as relative to the given path. If you run @command{git daemon} with @code{(base-path \"/srv/git\")} on @samp{example.com}, then if you later try to pull @indicateurl{git://example.com/hello.git}, git daemon will interpret the path as @file{/srv/git/hello.git}."
  43989. msgstr ""
  43990. #. type: item
  43991. #: guix-git/doc/guix.texi:29764
  43992. #, no-wrap
  43993. msgid "@code{user-path} (default: @code{#f})"
  43994. msgstr ""
  43995. #. type: table
  43996. #: guix-git/doc/guix.texi:29772
  43997. msgid "Whether to allow @code{~user} notation to be used in requests. When specified with empty string, requests to @indicateurl{git://host/~alice/foo} is taken as a request to access @code{foo} repository in the home directory of user @code{alice}. If @code{(user-path \"@var{path}\")} is specified, the same request is taken as a request to access @file{@var{path}/foo} repository in the home directory of user @code{alice}."
  43998. msgstr ""
  43999. #. type: item
  44000. #: guix-git/doc/guix.texi:29773
  44001. #, no-wrap
  44002. msgid "@code{listen} (default: @code{'()})"
  44003. msgstr ""
  44004. #. type: table
  44005. #: guix-git/doc/guix.texi:29776
  44006. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  44007. msgstr ""
  44008. #. type: item
  44009. #: guix-git/doc/guix.texi:29777
  44010. #, no-wrap
  44011. msgid "@code{port} (default: @code{#f})"
  44012. msgstr ""
  44013. #. type: table
  44014. #: guix-git/doc/guix.texi:29779
  44015. msgid "Whether to listen on an alternative port, which defaults to 9418."
  44016. msgstr ""
  44017. #. type: item
  44018. #: guix-git/doc/guix.texi:29780
  44019. #, no-wrap
  44020. msgid "@code{whitelist} (default: @code{'()})"
  44021. msgstr ""
  44022. #. type: table
  44023. #: guix-git/doc/guix.texi:29782
  44024. msgid "If not empty, only allow access to this list of directories."
  44025. msgstr ""
  44026. #. type: table
  44027. #: guix-git/doc/guix.texi:29786
  44028. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  44029. msgstr ""
  44030. #. type: Plain text
  44031. #: guix-git/doc/guix.texi:29800
  44032. msgid "The @code{git://} protocol lacks authentication. When you pull from a repository fetched via @code{git://}, you don't know whether the data you receive was modified or is even coming from the specified host, and your connection is subject to eavesdropping. It's better to use an authenticated and encrypted transport, such as @code{https}. Although Git allows you to serve repositories using unsophisticated file-based web servers, there is a faster protocol implemented by the @code{git-http-backend} program. This program is the back-end of a proper Git web service. It is designed to sit behind a FastCGI proxy. @xref{Web Services}, for more on running the necessary @code{fcgiwrap} daemon."
  44033. msgstr ""
  44034. #. type: Plain text
  44035. #: guix-git/doc/guix.texi:29803
  44036. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  44037. msgstr ""
  44038. #. type: deftp
  44039. #: guix-git/doc/guix.texi:29804
  44040. #, no-wrap
  44041. msgid "{Data Type} git-http-configuration"
  44042. msgstr ""
  44043. #. type: deftp
  44044. #: guix-git/doc/guix.texi:29808
  44045. msgid "Data type representing the configuration for a future @code{git-http-service-type}; can currently be used to configure Nginx through @code{git-http-nginx-location-configuration}."
  44046. msgstr ""
  44047. #. type: item
  44048. #: guix-git/doc/guix.texi:29810
  44049. #, no-wrap
  44050. msgid "@code{package} (default: @var{git})"
  44051. msgstr ""
  44052. #. type: item
  44053. #: guix-git/doc/guix.texi:29813
  44054. #, no-wrap
  44055. msgid "@code{git-root} (default: @file{/srv/git})"
  44056. msgstr ""
  44057. #. type: table
  44058. #: guix-git/doc/guix.texi:29815
  44059. msgid "Directory containing the Git repositories to expose to the world."
  44060. msgstr ""
  44061. #. type: table
  44062. #: guix-git/doc/guix.texi:29819
  44063. msgid "Whether to expose access for all Git repositories in @var{git-root}, even if they do not have the @file{git-daemon-export-ok} file."
  44064. msgstr ""
  44065. #. type: item
  44066. #: guix-git/doc/guix.texi:29820
  44067. #, no-wrap
  44068. msgid "@code{uri-path} (default: @samp{/git/})"
  44069. msgstr ""
  44070. #. type: table
  44071. #: guix-git/doc/guix.texi:29825
  44072. msgid "Path prefix for Git access. With the default @samp{/git/} prefix, this will map @indicateurl{http://@var{server}/git/@var{repo}.git} to @file{/srv/git/@var{repo}.git}. Requests whose URI paths do not begin with this prefix are not passed on to this Git instance."
  44073. msgstr ""
  44074. #. type: item
  44075. #: guix-git/doc/guix.texi:29826
  44076. #, no-wrap
  44077. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  44078. msgstr ""
  44079. #. type: table
  44080. #: guix-git/doc/guix.texi:29829
  44081. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  44082. msgstr ""
  44083. #. type: Plain text
  44084. #: guix-git/doc/guix.texi:29836
  44085. msgid "There is no @code{git-http-service-type}, currently; instead you can create an @code{nginx-location-configuration} from a @code{git-http-configuration} and then add that location to a web server."
  44086. msgstr ""
  44087. #. type: deffn
  44088. #: guix-git/doc/guix.texi:29837
  44089. #, no-wrap
  44090. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  44091. msgstr ""
  44092. #. type: deffn
  44093. #: guix-git/doc/guix.texi:29842
  44094. msgid "[config=(git-http-configuration)] Compute an @code{nginx-location-configuration} that corresponds to the given Git http configuration. An example nginx service definition to serve the default @file{/srv/git} over HTTPS might be:"
  44095. msgstr ""
  44096. #. type: lisp
  44097. #: guix-git/doc/guix.texi:29859
  44098. #, no-wrap
  44099. msgid ""
  44100. "(service nginx-service-type\n"
  44101. " (nginx-configuration\n"
  44102. " (server-blocks\n"
  44103. " (list\n"
  44104. " (nginx-server-configuration\n"
  44105. " (listen '(\"443 ssl\"))\n"
  44106. " (server-name \"git.my-host.org\")\n"
  44107. " (ssl-certificate\n"
  44108. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  44109. " (ssl-certificate-key\n"
  44110. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  44111. " (locations\n"
  44112. " (list\n"
  44113. " (git-http-nginx-location-configuration\n"
  44114. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  44115. msgstr ""
  44116. #. type: deffn
  44117. #: guix-git/doc/guix.texi:29866
  44118. msgid "This example assumes that you are using Let's Encrypt to get your TLS certificate. @xref{Certificate Services}. The default @code{certbot} service will redirect all HTTP traffic on @code{git.my-host.org} to HTTPS@. You will also need to add an @code{fcgiwrap} proxy to your system services. @xref{Web Services}."
  44119. msgstr ""
  44120. #. type: subsubheading
  44121. #: guix-git/doc/guix.texi:29868
  44122. #, no-wrap
  44123. msgid "Cgit Service"
  44124. msgstr ""
  44125. #. type: cindex
  44126. #: guix-git/doc/guix.texi:29870
  44127. #, no-wrap
  44128. msgid "Cgit service"
  44129. msgstr ""
  44130. #. type: cindex
  44131. #: guix-git/doc/guix.texi:29871
  44132. #, no-wrap
  44133. msgid "Git, web interface"
  44134. msgstr ""
  44135. #. type: Plain text
  44136. #: guix-git/doc/guix.texi:29874
  44137. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  44138. msgstr ""
  44139. #. type: Plain text
  44140. #: guix-git/doc/guix.texi:29877
  44141. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  44142. msgstr ""
  44143. #. type: lisp
  44144. #: guix-git/doc/guix.texi:29880
  44145. #, no-wrap
  44146. msgid "(service cgit-service-type)\n"
  44147. msgstr ""
  44148. #. type: Plain text
  44149. #: guix-git/doc/guix.texi:29884
  44150. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  44151. msgstr ""
  44152. #. type: Plain text
  44153. #: guix-git/doc/guix.texi:29888
  44154. msgid "Available @code{cgit-configuration} fields are:"
  44155. msgstr ""
  44156. #. type: deftypevr
  44157. #: guix-git/doc/guix.texi:29889
  44158. #, no-wrap
  44159. msgid "{@code{cgit-configuration} parameter} package package"
  44160. msgstr ""
  44161. #. type: deftypevr
  44162. #: guix-git/doc/guix.texi:29891
  44163. msgid "The CGIT package."
  44164. msgstr ""
  44165. #. type: deftypevr
  44166. #: guix-git/doc/guix.texi:29894
  44167. #, no-wrap
  44168. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  44169. msgstr ""
  44170. #. type: deftypevr
  44171. #: guix-git/doc/guix.texi:29899
  44172. #, no-wrap
  44173. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  44174. msgstr ""
  44175. #. type: deftypevr
  44176. #: guix-git/doc/guix.texi:29902
  44177. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  44178. msgstr ""
  44179. #. type: deftypevr
  44180. #: guix-git/doc/guix.texi:29907
  44181. #, no-wrap
  44182. msgid "{@code{cgit-configuration} parameter} string agefile"
  44183. msgstr ""
  44184. #. type: deftypevr
  44185. #: guix-git/doc/guix.texi:29910
  44186. msgid "Specifies a path, relative to each repository path, which can be used to specify the date and time of the youngest commit in the repository."
  44187. msgstr ""
  44188. #. type: deftypevr
  44189. #: guix-git/doc/guix.texi:29915
  44190. #, no-wrap
  44191. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  44192. msgstr ""
  44193. #. type: deftypevr
  44194. #: guix-git/doc/guix.texi:29918
  44195. msgid "Specifies a command that will be invoked for authenticating repository access."
  44196. msgstr ""
  44197. #. type: deftypevr
  44198. #: guix-git/doc/guix.texi:29923
  44199. #, no-wrap
  44200. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  44201. msgstr ""
  44202. #. type: deftypevr
  44203. #: guix-git/doc/guix.texi:29926
  44204. msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set @samp{name} enables ordering by branch name."
  44205. msgstr ""
  44206. #. type: deftypevr
  44207. #: guix-git/doc/guix.texi:29928
  44208. msgid "Defaults to @samp{\"name\"}."
  44209. msgstr ""
  44210. #. type: deftypevr
  44211. #: guix-git/doc/guix.texi:29931
  44212. #, no-wrap
  44213. msgid "{@code{cgit-configuration} parameter} string cache-root"
  44214. msgstr ""
  44215. #. type: deftypevr
  44216. #: guix-git/doc/guix.texi:29933
  44217. msgid "Path used to store the cgit cache entries."
  44218. msgstr ""
  44219. #. type: deftypevr
  44220. #: guix-git/doc/guix.texi:29935
  44221. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  44222. msgstr ""
  44223. #. type: deftypevr
  44224. #: guix-git/doc/guix.texi:29938
  44225. #, no-wrap
  44226. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  44227. msgstr ""
  44228. #. type: deftypevr
  44229. #: guix-git/doc/guix.texi:29941
  44230. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  44231. msgstr ""
  44232. #. type: deftypevr
  44233. #: guix-git/doc/guix.texi:29943 guix-git/doc/guix.texi:30386
  44234. msgid "Defaults to @samp{-1}."
  44235. msgstr ""
  44236. #. type: deftypevr
  44237. #: guix-git/doc/guix.texi:29946
  44238. #, no-wrap
  44239. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  44240. msgstr ""
  44241. #. type: deftypevr
  44242. #: guix-git/doc/guix.texi:29949
  44243. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  44244. msgstr ""
  44245. #. type: deftypevr
  44246. #: guix-git/doc/guix.texi:29954
  44247. #, no-wrap
  44248. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  44249. msgstr ""
  44250. #. type: deftypevr
  44251. #: guix-git/doc/guix.texi:29957
  44252. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  44253. msgstr ""
  44254. #. type: deftypevr
  44255. #: guix-git/doc/guix.texi:29962
  44256. #, no-wrap
  44257. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  44258. msgstr ""
  44259. #. type: deftypevr
  44260. #: guix-git/doc/guix.texi:29965
  44261. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  44262. msgstr ""
  44263. #. type: deftypevr
  44264. #: guix-git/doc/guix.texi:29970
  44265. #, no-wrap
  44266. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  44267. msgstr ""
  44268. #. type: deftypevr
  44269. #: guix-git/doc/guix.texi:29973
  44270. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  44271. msgstr ""
  44272. #. type: deftypevr
  44273. #: guix-git/doc/guix.texi:29978
  44274. #, no-wrap
  44275. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  44276. msgstr ""
  44277. #. type: deftypevr
  44278. #: guix-git/doc/guix.texi:29981
  44279. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  44280. msgstr ""
  44281. #. type: deftypevr
  44282. #: guix-git/doc/guix.texi:29986
  44283. #, no-wrap
  44284. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  44285. msgstr ""
  44286. #. type: deftypevr
  44287. #: guix-git/doc/guix.texi:29989
  44288. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  44289. msgstr ""
  44290. #. type: deftypevr
  44291. #: guix-git/doc/guix.texi:29994
  44292. #, no-wrap
  44293. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  44294. msgstr ""
  44295. #. type: deftypevr
  44296. #: guix-git/doc/guix.texi:29997
  44297. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  44298. msgstr ""
  44299. #. type: deftypevr
  44300. #: guix-git/doc/guix.texi:30002
  44301. #, no-wrap
  44302. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  44303. msgstr ""
  44304. #. type: deftypevr
  44305. #: guix-git/doc/guix.texi:30004
  44306. msgid "Sort items in the repo list case sensitively."
  44307. msgstr ""
  44308. #. type: deftypevr
  44309. #: guix-git/doc/guix.texi:30009
  44310. #, no-wrap
  44311. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  44312. msgstr ""
  44313. #. type: deftypevr
  44314. #: guix-git/doc/guix.texi:30012
  44315. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  44316. msgstr ""
  44317. #. type: deftypevr
  44318. #: guix-git/doc/guix.texi:30017
  44319. #, no-wrap
  44320. msgid "{@code{cgit-configuration} parameter} list clone-url"
  44321. msgstr ""
  44322. #. type: deftypevr
  44323. #: guix-git/doc/guix.texi:30019
  44324. msgid "List of @code{clone-url} templates."
  44325. msgstr ""
  44326. #. type: deftypevr
  44327. #: guix-git/doc/guix.texi:30024
  44328. #, no-wrap
  44329. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  44330. msgstr ""
  44331. #. type: deftypevr
  44332. #: guix-git/doc/guix.texi:30026
  44333. msgid "Command which will be invoked to format commit messages."
  44334. msgstr ""
  44335. #. type: deftypevr
  44336. #: guix-git/doc/guix.texi:30031
  44337. #, no-wrap
  44338. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  44339. msgstr ""
  44340. #. type: deftypevr
  44341. #: guix-git/doc/guix.texi:30035 guix-git/doc/guix.texi:30593
  44342. msgid "Flag which, when set to @samp{date}, enables strict date ordering in the commit log, and when set to @samp{topo} enables strict topological ordering."
  44343. msgstr ""
  44344. #. type: deftypevr
  44345. #: guix-git/doc/guix.texi:30037
  44346. msgid "Defaults to @samp{\"git log\"}."
  44347. msgstr ""
  44348. #. type: deftypevr
  44349. #: guix-git/doc/guix.texi:30040
  44350. #, no-wrap
  44351. msgid "{@code{cgit-configuration} parameter} file-object css"
  44352. msgstr ""
  44353. #. type: deftypevr
  44354. #: guix-git/doc/guix.texi:30042
  44355. msgid "URL which specifies the css document to include in all cgit pages."
  44356. msgstr ""
  44357. #. type: deftypevr
  44358. #: guix-git/doc/guix.texi:30044
  44359. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  44360. msgstr ""
  44361. #. type: deftypevr
  44362. #: guix-git/doc/guix.texi:30047
  44363. #, no-wrap
  44364. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  44365. msgstr ""
  44366. #. type: deftypevr
  44367. #: guix-git/doc/guix.texi:30051
  44368. msgid "Specifies a command which will be invoked to format names and email address of committers, authors, and taggers, as represented in various places throughout the cgit interface."
  44369. msgstr ""
  44370. #. type: deftypevr
  44371. #: guix-git/doc/guix.texi:30056
  44372. #, no-wrap
  44373. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  44374. msgstr ""
  44375. #. type: deftypevr
  44376. #: guix-git/doc/guix.texi:30059
  44377. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  44378. msgstr ""
  44379. #. type: deftypevr
  44380. #: guix-git/doc/guix.texi:30064
  44381. #, no-wrap
  44382. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  44383. msgstr ""
  44384. #. type: deftypevr
  44385. #: guix-git/doc/guix.texi:30068
  44386. msgid "Flag which, when set to @samp{#t}, will make cgit print an ASCII-art commit history graph to the left of the commit messages in the repository log page."
  44387. msgstr ""
  44388. #. type: deftypevr
  44389. #: guix-git/doc/guix.texi:30073
  44390. #, no-wrap
  44391. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  44392. msgstr ""
  44393. #. type: deftypevr
  44394. #: guix-git/doc/guix.texi:30076
  44395. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  44396. msgstr ""
  44397. #. type: deftypevr
  44398. #: guix-git/doc/guix.texi:30081
  44399. #, no-wrap
  44400. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  44401. msgstr ""
  44402. #. type: deftypevr
  44403. #: guix-git/doc/guix.texi:30084
  44404. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  44405. msgstr ""
  44406. #. type: deftypevr
  44407. #: guix-git/doc/guix.texi:30089
  44408. #, no-wrap
  44409. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  44410. msgstr ""
  44411. #. type: deftypevr
  44412. #: guix-git/doc/guix.texi:30092
  44413. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  44414. msgstr ""
  44415. #. type: deftypevr
  44416. #: guix-git/doc/guix.texi:30097
  44417. #, no-wrap
  44418. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  44419. msgstr ""
  44420. #. type: deftypevr
  44421. #: guix-git/doc/guix.texi:30100
  44422. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  44423. msgstr ""
  44424. #. type: deftypevr
  44425. #: guix-git/doc/guix.texi:30105
  44426. #, no-wrap
  44427. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  44428. msgstr ""
  44429. #. type: deftypevr
  44430. #: guix-git/doc/guix.texi:30108
  44431. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  44432. msgstr ""
  44433. #. type: deftypevr
  44434. #: guix-git/doc/guix.texi:30113
  44435. #, no-wrap
  44436. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  44437. msgstr ""
  44438. #. type: deftypevr
  44439. #: guix-git/doc/guix.texi:30116
  44440. msgid "Flag which, when set to @samp{#t}, will make cgit print the number of modified files for each commit on the repository log page."
  44441. msgstr ""
  44442. #. type: deftypevr
  44443. #: guix-git/doc/guix.texi:30121
  44444. #, no-wrap
  44445. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  44446. msgstr ""
  44447. #. type: deftypevr
  44448. #: guix-git/doc/guix.texi:30124
  44449. msgid "Flag which, when set to @samp{#t}, will make cgit print the number of added and removed lines for each commit on the repository log page."
  44450. msgstr ""
  44451. #. type: deftypevr
  44452. #: guix-git/doc/guix.texi:30129
  44453. #, no-wrap
  44454. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  44455. msgstr ""
  44456. #. type: deftypevr
  44457. #: guix-git/doc/guix.texi:30132 guix-git/doc/guix.texi:30656
  44458. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  44459. msgstr ""
  44460. #. type: deftypevr
  44461. #: guix-git/doc/guix.texi:30137
  44462. #, no-wrap
  44463. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  44464. msgstr ""
  44465. #. type: deftypevr
  44466. #: guix-git/doc/guix.texi:30141
  44467. msgid "Flag which, when set to @code{1}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view."
  44468. msgstr ""
  44469. #. type: deftypevr
  44470. #: guix-git/doc/guix.texi:30146
  44471. #, no-wrap
  44472. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  44473. msgstr ""
  44474. #. type: deftypevr
  44475. #: guix-git/doc/guix.texi:30150
  44476. msgid "Flag which, when set to @samp{#t}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view."
  44477. msgstr ""
  44478. #. type: deftypevr
  44479. #: guix-git/doc/guix.texi:30155
  44480. #, no-wrap
  44481. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  44482. msgstr ""
  44483. #. type: deftypevr
  44484. #: guix-git/doc/guix.texi:30158
  44485. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  44486. msgstr ""
  44487. #. type: deftypevr
  44488. #: guix-git/doc/guix.texi:30163
  44489. #, no-wrap
  44490. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  44491. msgstr ""
  44492. #. type: deftypevr
  44493. #: guix-git/doc/guix.texi:30166
  44494. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  44495. msgstr ""
  44496. #. type: deftypevr
  44497. #: guix-git/doc/guix.texi:30171
  44498. #, no-wrap
  44499. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  44500. msgstr ""
  44501. #. type: deftypevr
  44502. #: guix-git/doc/guix.texi:30173
  44503. msgid "URL used as link to a shortcut icon for cgit."
  44504. msgstr ""
  44505. #. type: deftypevr
  44506. #: guix-git/doc/guix.texi:30175
  44507. msgid "Defaults to @samp{\"/favicon.ico\"}."
  44508. msgstr ""
  44509. #. type: deftypevr
  44510. #: guix-git/doc/guix.texi:30178
  44511. #, no-wrap
  44512. msgid "{@code{cgit-configuration} parameter} string footer"
  44513. msgstr ""
  44514. #. type: deftypevr
  44515. #: guix-git/doc/guix.texi:30182
  44516. msgid "The content of the file specified with this option will be included verbatim at the bottom of all pages (i.e.@: it replaces the standard \"generated by...\"@: message)."
  44517. msgstr ""
  44518. #. type: deftypevr
  44519. #: guix-git/doc/guix.texi:30187
  44520. #, no-wrap
  44521. msgid "{@code{cgit-configuration} parameter} string head-include"
  44522. msgstr ""
  44523. #. type: deftypevr
  44524. #: guix-git/doc/guix.texi:30190
  44525. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  44526. msgstr ""
  44527. #. type: deftypevr
  44528. #: guix-git/doc/guix.texi:30195
  44529. #, no-wrap
  44530. msgid "{@code{cgit-configuration} parameter} string header"
  44531. msgstr ""
  44532. #. type: deftypevr
  44533. #: guix-git/doc/guix.texi:30198
  44534. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  44535. msgstr ""
  44536. #. type: deftypevr
  44537. #: guix-git/doc/guix.texi:30203
  44538. #, no-wrap
  44539. msgid "{@code{cgit-configuration} parameter} file-object include"
  44540. msgstr ""
  44541. #. type: deftypevr
  44542. #: guix-git/doc/guix.texi:30206
  44543. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  44544. msgstr ""
  44545. #. type: deftypevr
  44546. #: guix-git/doc/guix.texi:30211
  44547. #, no-wrap
  44548. msgid "{@code{cgit-configuration} parameter} string index-header"
  44549. msgstr ""
  44550. #. type: deftypevr
  44551. #: guix-git/doc/guix.texi:30214
  44552. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  44553. msgstr ""
  44554. #. type: deftypevr
  44555. #: guix-git/doc/guix.texi:30219
  44556. #, no-wrap
  44557. msgid "{@code{cgit-configuration} parameter} string index-info"
  44558. msgstr ""
  44559. #. type: deftypevr
  44560. #: guix-git/doc/guix.texi:30222
  44561. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  44562. msgstr ""
  44563. #. type: deftypevr
  44564. #: guix-git/doc/guix.texi:30227
  44565. #, no-wrap
  44566. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  44567. msgstr ""
  44568. #. type: deftypevr
  44569. #: guix-git/doc/guix.texi:30230
  44570. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  44571. msgstr ""
  44572. #. type: deftypevr
  44573. #: guix-git/doc/guix.texi:30235
  44574. #, no-wrap
  44575. msgid "{@code{cgit-configuration} parameter} file-object logo"
  44576. msgstr ""
  44577. #. type: deftypevr
  44578. #: guix-git/doc/guix.texi:30238
  44579. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  44580. msgstr ""
  44581. #. type: deftypevr
  44582. #: guix-git/doc/guix.texi:30240
  44583. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  44584. msgstr ""
  44585. #. type: deftypevr
  44586. #: guix-git/doc/guix.texi:30243
  44587. #, no-wrap
  44588. msgid "{@code{cgit-configuration} parameter} string logo-link"
  44589. msgstr ""
  44590. #. type: deftypevr
  44591. #: guix-git/doc/guix.texi:30245 guix-git/doc/guix.texi:30702
  44592. msgid "URL loaded when clicking on the cgit logo image."
  44593. msgstr ""
  44594. #. type: deftypevr
  44595. #: guix-git/doc/guix.texi:30250
  44596. #, no-wrap
  44597. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  44598. msgstr ""
  44599. #. type: deftypevr
  44600. #: guix-git/doc/guix.texi:30253
  44601. msgid "Command which will be invoked to format the Owner column of the main page."
  44602. msgstr ""
  44603. #. type: deftypevr
  44604. #: guix-git/doc/guix.texi:30258
  44605. #, no-wrap
  44606. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  44607. msgstr ""
  44608. #. type: deftypevr
  44609. #: guix-git/doc/guix.texi:30260
  44610. msgid "Number of items to display in atom feeds view."
  44611. msgstr ""
  44612. #. type: deftypevr
  44613. #: guix-git/doc/guix.texi:30265
  44614. #, no-wrap
  44615. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  44616. msgstr ""
  44617. #. type: deftypevr
  44618. #: guix-git/doc/guix.texi:30267
  44619. msgid "Number of entries to list per page in \"log\" view."
  44620. msgstr ""
  44621. #. type: deftypevr
  44622. #: guix-git/doc/guix.texi:30272
  44623. #, no-wrap
  44624. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  44625. msgstr ""
  44626. #. type: deftypevr
  44627. #: guix-git/doc/guix.texi:30274
  44628. msgid "Number of commit message characters to display in \"log\" view."
  44629. msgstr ""
  44630. #. type: deftypevr
  44631. #: guix-git/doc/guix.texi:30276 guix-git/doc/guix.texi:30292
  44632. msgid "Defaults to @samp{80}."
  44633. msgstr ""
  44634. #. type: deftypevr
  44635. #: guix-git/doc/guix.texi:30279
  44636. #, no-wrap
  44637. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  44638. msgstr ""
  44639. #. type: deftypevr
  44640. #: guix-git/doc/guix.texi:30282
  44641. msgid "Specifies the number of entries to list per page on the repository index page."
  44642. msgstr ""
  44643. #. type: deftypevr
  44644. #: guix-git/doc/guix.texi:30287
  44645. #, no-wrap
  44646. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  44647. msgstr ""
  44648. #. type: deftypevr
  44649. #: guix-git/doc/guix.texi:30290
  44650. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  44651. msgstr ""
  44652. #. type: deftypevr
  44653. #: guix-git/doc/guix.texi:30295
  44654. #, no-wrap
  44655. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  44656. msgstr ""
  44657. #. type: deftypevr
  44658. #: guix-git/doc/guix.texi:30297
  44659. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  44660. msgstr ""
  44661. #. type: deftypevr
  44662. #: guix-git/doc/guix.texi:30302
  44663. #, no-wrap
  44664. msgid "{@code{cgit-configuration} parameter} string max-stats"
  44665. msgstr ""
  44666. #. type: deftypevr
  44667. #: guix-git/doc/guix.texi:30305
  44668. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  44669. msgstr ""
  44670. #. type: deftypevr
  44671. #: guix-git/doc/guix.texi:30310
  44672. #, no-wrap
  44673. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  44674. msgstr ""
  44675. #. type: deftypevr
  44676. #: guix-git/doc/guix.texi:30312
  44677. msgid "Mimetype for the specified filename extension."
  44678. msgstr ""
  44679. #. type: deftypevr
  44680. #: guix-git/doc/guix.texi:30316
  44681. msgid "Defaults to @samp{((gif \"image/gif\") (html \"text/html\") (jpg \"image/jpeg\") (jpeg \"image/jpeg\") (pdf \"application/pdf\") (png \"image/png\") (svg \"image/svg+xml\"))}."
  44682. msgstr ""
  44683. #. type: deftypevr
  44684. #: guix-git/doc/guix.texi:30319
  44685. #, no-wrap
  44686. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  44687. msgstr ""
  44688. #. type: deftypevr
  44689. #: guix-git/doc/guix.texi:30321
  44690. msgid "Specifies the file to use for automatic mimetype lookup."
  44691. msgstr ""
  44692. #. type: deftypevr
  44693. #: guix-git/doc/guix.texi:30326
  44694. #, no-wrap
  44695. msgid "{@code{cgit-configuration} parameter} string module-link"
  44696. msgstr ""
  44697. #. type: deftypevr
  44698. #: guix-git/doc/guix.texi:30329
  44699. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  44700. msgstr ""
  44701. #. type: deftypevr
  44702. #: guix-git/doc/guix.texi:30334
  44703. #, no-wrap
  44704. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  44705. msgstr ""
  44706. #. type: deftypevr
  44707. #: guix-git/doc/guix.texi:30336
  44708. msgid "If set to the value @samp{#t} caching will be disabled."
  44709. msgstr ""
  44710. #. type: deftypevr
  44711. #: guix-git/doc/guix.texi:30341
  44712. #, no-wrap
  44713. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  44714. msgstr ""
  44715. #. type: deftypevr
  44716. #: guix-git/doc/guix.texi:30344
  44717. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  44718. msgstr ""
  44719. #. type: deftypevr
  44720. #: guix-git/doc/guix.texi:30349
  44721. #, no-wrap
  44722. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  44723. msgstr ""
  44724. #. type: deftypevr
  44725. #: guix-git/doc/guix.texi:30352
  44726. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  44727. msgstr ""
  44728. #. type: deftypevr
  44729. #: guix-git/doc/guix.texi:30357
  44730. #, no-wrap
  44731. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  44732. msgstr ""
  44733. #. type: deftypevr
  44734. #: guix-git/doc/guix.texi:30361
  44735. msgid "A list of subdirectories inside of @code{repository-directory}, relative to it, that should loaded as Git repositories. An empty list means that all subdirectories will be loaded."
  44736. msgstr ""
  44737. #. type: deftypevr
  44738. #: guix-git/doc/guix.texi:30366
  44739. #, no-wrap
  44740. msgid "{@code{cgit-configuration} parameter} file-object readme"
  44741. msgstr ""
  44742. #. type: deftypevr
  44743. #: guix-git/doc/guix.texi:30368
  44744. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  44745. msgstr ""
  44746. #. type: deftypevr
  44747. #: guix-git/doc/guix.texi:30373
  44748. #, no-wrap
  44749. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  44750. msgstr ""
  44751. #. type: deftypevr
  44752. #: guix-git/doc/guix.texi:30377
  44753. msgid "If set to @code{#t} and @code{repository-directory} is enabled, if any repositories are found with a suffix of @code{.git}, this suffix will be removed for the URL and name."
  44754. msgstr ""
  44755. #. type: deftypevr
  44756. #: guix-git/doc/guix.texi:30382
  44757. #, no-wrap
  44758. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  44759. msgstr ""
  44760. #. type: deftypevr
  44761. #: guix-git/doc/guix.texi:30384
  44762. msgid "Maximum number of files to consider when detecting renames."
  44763. msgstr ""
  44764. #. type: deftypevr
  44765. #: guix-git/doc/guix.texi:30389
  44766. #, no-wrap
  44767. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  44768. msgstr ""
  44769. #. type: deftypevr
  44770. #: guix-git/doc/guix.texi:30391
  44771. msgid "The way in which repositories in each section are sorted."
  44772. msgstr ""
  44773. #. type: deftypevr
  44774. #: guix-git/doc/guix.texi:30396
  44775. #, no-wrap
  44776. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  44777. msgstr ""
  44778. #. type: deftypevr
  44779. #: guix-git/doc/guix.texi:30398
  44780. msgid "Text used as content for the @code{robots} meta-tag."
  44781. msgstr ""
  44782. #. type: deftypevr
  44783. #: guix-git/doc/guix.texi:30400
  44784. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  44785. msgstr ""
  44786. #. type: deftypevr
  44787. #: guix-git/doc/guix.texi:30403
  44788. #, no-wrap
  44789. msgid "{@code{cgit-configuration} parameter} string root-desc"
  44790. msgstr ""
  44791. #. type: deftypevr
  44792. #: guix-git/doc/guix.texi:30405
  44793. msgid "Text printed below the heading on the repository index page."
  44794. msgstr ""
  44795. #. type: deftypevr
  44796. #: guix-git/doc/guix.texi:30407
  44797. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  44798. msgstr ""
  44799. #. type: deftypevr
  44800. #: guix-git/doc/guix.texi:30410
  44801. #, no-wrap
  44802. msgid "{@code{cgit-configuration} parameter} string root-readme"
  44803. msgstr ""
  44804. #. type: deftypevr
  44805. #: guix-git/doc/guix.texi:30413
  44806. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  44807. msgstr ""
  44808. #. type: deftypevr
  44809. #: guix-git/doc/guix.texi:30418
  44810. #, no-wrap
  44811. msgid "{@code{cgit-configuration} parameter} string root-title"
  44812. msgstr ""
  44813. #. type: deftypevr
  44814. #: guix-git/doc/guix.texi:30420
  44815. msgid "Text printed as heading on the repository index page."
  44816. msgstr ""
  44817. #. type: deftypevr
  44818. #: guix-git/doc/guix.texi:30425
  44819. #, no-wrap
  44820. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  44821. msgstr ""
  44822. #. type: deftypevr
  44823. #: guix-git/doc/guix.texi:30431
  44824. msgid "If set to @samp{#t} and repository-directory is enabled, repository-directory will recurse into directories whose name starts with a period. Otherwise, repository-directory will stay away from such directories, considered as ``hidden''. Note that this does not apply to the @file{.git} directory in non-bare repos."
  44825. msgstr ""
  44826. #. type: deftypevr
  44827. #: guix-git/doc/guix.texi:30436
  44828. #, no-wrap
  44829. msgid "{@code{cgit-configuration} parameter} list snapshots"
  44830. msgstr ""
  44831. #. type: deftypevr
  44832. #: guix-git/doc/guix.texi:30439
  44833. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  44834. msgstr ""
  44835. #. type: deftypevr
  44836. #: guix-git/doc/guix.texi:30444
  44837. #, no-wrap
  44838. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  44839. msgstr ""
  44840. #. type: deftypevr
  44841. #: guix-git/doc/guix.texi:30447
  44842. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  44843. msgstr ""
  44844. #. type: deftypevr
  44845. #: guix-git/doc/guix.texi:30449
  44846. msgid "Defaults to @samp{\"/srv/git\"}."
  44847. msgstr ""
  44848. #. type: deftypevr
  44849. #: guix-git/doc/guix.texi:30452
  44850. #, no-wrap
  44851. msgid "{@code{cgit-configuration} parameter} string section"
  44852. msgstr ""
  44853. #. type: deftypevr
  44854. #: guix-git/doc/guix.texi:30455 guix-git/doc/guix.texi:30771
  44855. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  44856. msgstr ""
  44857. #. type: deftypevr
  44858. #: guix-git/doc/guix.texi:30460
  44859. #, no-wrap
  44860. msgid "{@code{cgit-configuration} parameter} string section-sort"
  44861. msgstr ""
  44862. #. type: deftypevr
  44863. #: guix-git/doc/guix.texi:30463
  44864. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  44865. msgstr ""
  44866. #. type: deftypevr
  44867. #: guix-git/doc/guix.texi:30468
  44868. #, no-wrap
  44869. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  44870. msgstr ""
  44871. #. type: deftypevr
  44872. #: guix-git/doc/guix.texi:30471
  44873. msgid "A number which, if defined prior to repository-directory, specifies how many path elements from each repo path to use as a default section name."
  44874. msgstr ""
  44875. #. type: deftypevr
  44876. #: guix-git/doc/guix.texi:30476
  44877. #, no-wrap
  44878. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  44879. msgstr ""
  44880. #. type: deftypevr
  44881. #: guix-git/doc/guix.texi:30479
  44882. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  44883. msgstr ""
  44884. #. type: deftypevr
  44885. #: guix-git/doc/guix.texi:30484
  44886. #, no-wrap
  44887. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  44888. msgstr ""
  44889. #. type: deftypevr
  44890. #: guix-git/doc/guix.texi:30487
  44891. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  44892. msgstr ""
  44893. #. type: deftypevr
  44894. #: guix-git/doc/guix.texi:30492
  44895. #, no-wrap
  44896. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  44897. msgstr ""
  44898. #. type: deftypevr
  44899. #: guix-git/doc/guix.texi:30495
  44900. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  44901. msgstr ""
  44902. #. type: deftypevr
  44903. #: guix-git/doc/guix.texi:30500
  44904. #, no-wrap
  44905. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  44906. msgstr ""
  44907. #. type: deftypevr
  44908. #: guix-git/doc/guix.texi:30503
  44909. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  44910. msgstr ""
  44911. #. type: deftypevr
  44912. #: guix-git/doc/guix.texi:30508
  44913. #, no-wrap
  44914. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  44915. msgstr ""
  44916. #. type: deftypevr
  44917. #: guix-git/doc/guix.texi:30511
  44918. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  44919. msgstr ""
  44920. #. type: deftypevr
  44921. #: guix-git/doc/guix.texi:30516
  44922. #, no-wrap
  44923. msgid "{@code{cgit-configuration} parameter} string strict-export"
  44924. msgstr ""
  44925. #. type: deftypevr
  44926. #: guix-git/doc/guix.texi:30519
  44927. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  44928. msgstr ""
  44929. #. type: deftypevr
  44930. #: guix-git/doc/guix.texi:30524
  44931. #, no-wrap
  44932. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  44933. msgstr ""
  44934. #. type: deftypevr
  44935. #: guix-git/doc/guix.texi:30526
  44936. msgid "URL which, if specified, will be used as root for all cgit links."
  44937. msgstr ""
  44938. #. type: deftypevr
  44939. #: guix-git/doc/guix.texi:30528
  44940. msgid "Defaults to @samp{\"/\"}."
  44941. msgstr ""
  44942. #. type: deftypevr
  44943. #: guix-git/doc/guix.texi:30531
  44944. #, no-wrap
  44945. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  44946. msgstr ""
  44947. #. type: deftypevr
  44948. #: guix-git/doc/guix.texi:30533
  44949. msgid "A list of @dfn{cgit-repo} records to use with config."
  44950. msgstr ""
  44951. #. type: deftypevr
  44952. #: guix-git/doc/guix.texi:30537
  44953. msgid "Available @code{repository-cgit-configuration} fields are:"
  44954. msgstr ""
  44955. #. type: deftypevr
  44956. #: guix-git/doc/guix.texi:30538
  44957. #, no-wrap
  44958. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  44959. msgstr ""
  44960. #. type: deftypevr
  44961. #: guix-git/doc/guix.texi:30541
  44962. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  44963. msgstr ""
  44964. #. type: deftypevr
  44965. #: guix-git/doc/guix.texi:30546
  44966. #, no-wrap
  44967. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  44968. msgstr ""
  44969. #. type: deftypevr
  44970. #: guix-git/doc/guix.texi:30548
  44971. msgid "Override the default @code{source-filter}."
  44972. msgstr ""
  44973. #. type: deftypevr
  44974. #: guix-git/doc/guix.texi:30553
  44975. #, no-wrap
  44976. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  44977. msgstr ""
  44978. #. type: deftypevr
  44979. #: guix-git/doc/guix.texi:30555
  44980. msgid "The relative URL used to access the repository."
  44981. msgstr ""
  44982. #. type: deftypevr
  44983. #: guix-git/doc/guix.texi:30560
  44984. #, no-wrap
  44985. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  44986. msgstr ""
  44987. #. type: deftypevr
  44988. #: guix-git/doc/guix.texi:30562
  44989. msgid "Override the default @code{about-filter}."
  44990. msgstr ""
  44991. #. type: deftypevr
  44992. #: guix-git/doc/guix.texi:30567
  44993. #, no-wrap
  44994. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  44995. msgstr ""
  44996. #. type: deftypevr
  44997. #: guix-git/doc/guix.texi:30570
  44998. msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set to @samp{name} enables ordering by branch name."
  44999. msgstr ""
  45000. #. type: deftypevr
  45001. #: guix-git/doc/guix.texi:30575
  45002. #, no-wrap
  45003. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  45004. msgstr ""
  45005. #. type: deftypevr
  45006. #: guix-git/doc/guix.texi:30577
  45007. msgid "A list of URLs which can be used to clone repo."
  45008. msgstr ""
  45009. #. type: deftypevr
  45010. #: guix-git/doc/guix.texi:30582
  45011. #, no-wrap
  45012. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  45013. msgstr ""
  45014. #. type: deftypevr
  45015. #: guix-git/doc/guix.texi:30584
  45016. msgid "Override the default @code{commit-filter}."
  45017. msgstr ""
  45018. #. type: deftypevr
  45019. #: guix-git/doc/guix.texi:30589
  45020. #, no-wrap
  45021. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  45022. msgstr ""
  45023. #. type: deftypevr
  45024. #: guix-git/doc/guix.texi:30598
  45025. #, no-wrap
  45026. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  45027. msgstr ""
  45028. #. type: deftypevr
  45029. #: guix-git/doc/guix.texi:30603
  45030. msgid "The name of the default branch for this repository. If no such branch exists in the repository, the first branch name (when sorted) is used as default instead. By default branch pointed to by HEAD, or ``master'' if there is no suitable HEAD."
  45031. msgstr ""
  45032. #. type: deftypevr
  45033. #: guix-git/doc/guix.texi:30608
  45034. #, no-wrap
  45035. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  45036. msgstr ""
  45037. #. type: deftypevr
  45038. #: guix-git/doc/guix.texi:30610
  45039. msgid "The value to show as repository description."
  45040. msgstr ""
  45041. #. type: deftypevr
  45042. #: guix-git/doc/guix.texi:30615
  45043. #, no-wrap
  45044. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  45045. msgstr ""
  45046. #. type: deftypevr
  45047. #: guix-git/doc/guix.texi:30617
  45048. msgid "The value to show as repository homepage."
  45049. msgstr ""
  45050. #. type: deftypevr
  45051. #: guix-git/doc/guix.texi:30622
  45052. #, no-wrap
  45053. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  45054. msgstr ""
  45055. #. type: deftypevr
  45056. #: guix-git/doc/guix.texi:30624
  45057. msgid "Override the default @code{email-filter}."
  45058. msgstr ""
  45059. #. type: deftypevr
  45060. #: guix-git/doc/guix.texi:30629
  45061. #, no-wrap
  45062. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  45063. msgstr ""
  45064. #. type: deftypevr
  45065. #: guix-git/doc/guix.texi:30632
  45066. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  45067. msgstr ""
  45068. #. type: deftypevr
  45069. #: guix-git/doc/guix.texi:30637
  45070. #, no-wrap
  45071. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  45072. msgstr ""
  45073. #. type: deftypevr
  45074. #: guix-git/doc/guix.texi:30640
  45075. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  45076. msgstr ""
  45077. #. type: deftypevr
  45078. #: guix-git/doc/guix.texi:30645
  45079. #, no-wrap
  45080. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  45081. msgstr ""
  45082. #. type: deftypevr
  45083. #: guix-git/doc/guix.texi:30648
  45084. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  45085. msgstr ""
  45086. #. type: deftypevr
  45087. #: guix-git/doc/guix.texi:30653
  45088. #, no-wrap
  45089. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  45090. msgstr ""
  45091. #. type: deftypevr
  45092. #: guix-git/doc/guix.texi:30661
  45093. #, no-wrap
  45094. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  45095. msgstr ""
  45096. #. type: deftypevr
  45097. #: guix-git/doc/guix.texi:30664
  45098. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  45099. msgstr ""
  45100. #. type: deftypevr
  45101. #: guix-git/doc/guix.texi:30669
  45102. #, no-wrap
  45103. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  45104. msgstr ""
  45105. #. type: deftypevr
  45106. #: guix-git/doc/guix.texi:30672
  45107. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  45108. msgstr ""
  45109. #. type: deftypevr
  45110. #: guix-git/doc/guix.texi:30677
  45111. #, no-wrap
  45112. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  45113. msgstr ""
  45114. #. type: deftypevr
  45115. #: guix-git/doc/guix.texi:30680
  45116. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  45117. msgstr ""
  45118. #. type: deftypevr
  45119. #: guix-git/doc/guix.texi:30685
  45120. #, no-wrap
  45121. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  45122. msgstr ""
  45123. #. type: deftypevr
  45124. #: guix-git/doc/guix.texi:30687
  45125. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  45126. msgstr ""
  45127. #. type: deftypevr
  45128. #: guix-git/doc/guix.texi:30692
  45129. #, no-wrap
  45130. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  45131. msgstr ""
  45132. #. type: deftypevr
  45133. #: guix-git/doc/guix.texi:30695
  45134. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  45135. msgstr ""
  45136. #. type: deftypevr
  45137. #: guix-git/doc/guix.texi:30700
  45138. #, no-wrap
  45139. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  45140. msgstr ""
  45141. #. type: deftypevr
  45142. #: guix-git/doc/guix.texi:30707
  45143. #, no-wrap
  45144. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  45145. msgstr ""
  45146. #. type: deftypevr
  45147. #: guix-git/doc/guix.texi:30709
  45148. msgid "Override the default @code{owner-filter}."
  45149. msgstr ""
  45150. #. type: deftypevr
  45151. #: guix-git/doc/guix.texi:30714
  45152. #, no-wrap
  45153. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  45154. msgstr ""
  45155. #. type: deftypevr
  45156. #: guix-git/doc/guix.texi:30718
  45157. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing. The arguments for the formatstring are the path and SHA1 of the submodule commit."
  45158. msgstr ""
  45159. #. type: deftypevr
  45160. #: guix-git/doc/guix.texi:30723
  45161. #, no-wrap
  45162. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  45163. msgstr ""
  45164. #. type: deftypevr
  45165. #: guix-git/doc/guix.texi:30727
  45166. msgid "Text which will be used as the formatstring for a hyperlink when a submodule with the specified subdirectory path is printed in a directory listing."
  45167. msgstr ""
  45168. #. type: deftypevr
  45169. #: guix-git/doc/guix.texi:30732
  45170. #, no-wrap
  45171. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  45172. msgstr ""
  45173. #. type: deftypevr
  45174. #: guix-git/doc/guix.texi:30734
  45175. msgid "Override the default maximum statistics period."
  45176. msgstr ""
  45177. #. type: deftypevr
  45178. #: guix-git/doc/guix.texi:30739
  45179. #, no-wrap
  45180. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  45181. msgstr ""
  45182. #. type: deftypevr
  45183. #: guix-git/doc/guix.texi:30741
  45184. msgid "The value to show as repository name."
  45185. msgstr ""
  45186. #. type: deftypevr
  45187. #: guix-git/doc/guix.texi:30746
  45188. #, no-wrap
  45189. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  45190. msgstr ""
  45191. #. type: deftypevr
  45192. #: guix-git/doc/guix.texi:30748
  45193. msgid "A value used to identify the owner of the repository."
  45194. msgstr ""
  45195. #. type: deftypevr
  45196. #: guix-git/doc/guix.texi:30753
  45197. #, no-wrap
  45198. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  45199. msgstr ""
  45200. #. type: deftypevr
  45201. #: guix-git/doc/guix.texi:30755
  45202. msgid "An absolute path to the repository directory."
  45203. msgstr ""
  45204. #. type: deftypevr
  45205. #: guix-git/doc/guix.texi:30760
  45206. #, no-wrap
  45207. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  45208. msgstr ""
  45209. #. type: deftypevr
  45210. #: guix-git/doc/guix.texi:30763
  45211. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  45212. msgstr ""
  45213. #. type: deftypevr
  45214. #: guix-git/doc/guix.texi:30768
  45215. #, no-wrap
  45216. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  45217. msgstr ""
  45218. #. type: deftypevr
  45219. #: guix-git/doc/guix.texi:30776
  45220. #, no-wrap
  45221. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  45222. msgstr ""
  45223. #. type: deftypevr
  45224. #: guix-git/doc/guix.texi:30778 guix-git/doc/guix.texi:30787
  45225. msgid "Extra options will be appended to cgitrc file."
  45226. msgstr ""
  45227. #. type: deftypevr
  45228. #: guix-git/doc/guix.texi:30785
  45229. #, no-wrap
  45230. msgid "{@code{cgit-configuration} parameter} list extra-options"
  45231. msgstr ""
  45232. #. type: Plain text
  45233. #: guix-git/doc/guix.texi:30799
  45234. msgid "However, it could be that you just want to get a @code{cgitrc} up and running. In that case, you can pass an @code{opaque-cgit-configuration} as a record to @code{cgit-service-type}. As its name indicates, an opaque configuration does not have easy reflective capabilities."
  45235. msgstr ""
  45236. #. type: Plain text
  45237. #: guix-git/doc/guix.texi:30801
  45238. msgid "Available @code{opaque-cgit-configuration} fields are:"
  45239. msgstr ""
  45240. #. type: deftypevr
  45241. #: guix-git/doc/guix.texi:30802
  45242. #, no-wrap
  45243. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  45244. msgstr ""
  45245. #. type: deftypevr
  45246. #: guix-git/doc/guix.texi:30804
  45247. msgid "The cgit package."
  45248. msgstr ""
  45249. #. type: deftypevr
  45250. #: guix-git/doc/guix.texi:30806
  45251. #, no-wrap
  45252. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  45253. msgstr ""
  45254. #. type: deftypevr
  45255. #: guix-git/doc/guix.texi:30808
  45256. msgid "The contents of the @code{cgitrc}, as a string."
  45257. msgstr ""
  45258. #. type: Plain text
  45259. #: guix-git/doc/guix.texi:30812
  45260. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  45261. msgstr ""
  45262. #. type: lisp
  45263. #: guix-git/doc/guix.texi:30817
  45264. #, no-wrap
  45265. msgid ""
  45266. "(service cgit-service-type\n"
  45267. " (opaque-cgit-configuration\n"
  45268. " (cgitrc \"\")))\n"
  45269. msgstr ""
  45270. #. type: subsubheading
  45271. #: guix-git/doc/guix.texi:30819
  45272. #, no-wrap
  45273. msgid "Gitolite Service"
  45274. msgstr ""
  45275. #. type: cindex
  45276. #: guix-git/doc/guix.texi:30821
  45277. #, no-wrap
  45278. msgid "Gitolite service"
  45279. msgstr ""
  45280. #. type: cindex
  45281. #: guix-git/doc/guix.texi:30822
  45282. #, no-wrap
  45283. msgid "Git, hosting"
  45284. msgstr ""
  45285. #. type: Plain text
  45286. #: guix-git/doc/guix.texi:30825
  45287. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  45288. msgstr ""
  45289. #. type: Plain text
  45290. #: guix-git/doc/guix.texi:30828
  45291. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  45292. msgstr ""
  45293. #. type: Plain text
  45294. #: guix-git/doc/guix.texi:30831
  45295. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  45296. msgstr ""
  45297. #. type: lisp
  45298. #: guix-git/doc/guix.texi:30838
  45299. #, no-wrap
  45300. msgid ""
  45301. "(service gitolite-service-type\n"
  45302. " (gitolite-configuration\n"
  45303. " (admin-pubkey (plain-file\n"
  45304. " \"yourname.pub\"\n"
  45305. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  45306. msgstr ""
  45307. #. type: Plain text
  45308. #: guix-git/doc/guix.texi:30843
  45309. msgid "Gitolite is configured through a special admin repository which you can clone, for example, if you setup Gitolite on @code{example.com}, you would run the following command to clone the admin repository."
  45310. msgstr ""
  45311. #. type: example
  45312. #: guix-git/doc/guix.texi:30846
  45313. #, no-wrap
  45314. msgid "git clone git@@example.com:gitolite-admin\n"
  45315. msgstr ""
  45316. #. type: Plain text
  45317. #: guix-git/doc/guix.texi:30852
  45318. msgid "When the Gitolite service is activated, the provided @code{admin-pubkey} will be inserted in to the @file{keydir} directory in the gitolite-admin repository. If this results in a change in the repository, it will be committed using the message ``gitolite setup by GNU Guix''."
  45319. msgstr ""
  45320. #. type: deftp
  45321. #: guix-git/doc/guix.texi:30853
  45322. #, no-wrap
  45323. msgid "{Data Type} gitolite-configuration"
  45324. msgstr ""
  45325. #. type: deftp
  45326. #: guix-git/doc/guix.texi:30855
  45327. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  45328. msgstr ""
  45329. #. type: item
  45330. #: guix-git/doc/guix.texi:30857
  45331. #, no-wrap
  45332. msgid "@code{package} (default: @var{gitolite})"
  45333. msgstr ""
  45334. #. type: table
  45335. #: guix-git/doc/guix.texi:30859
  45336. msgid "Gitolite package to use."
  45337. msgstr ""
  45338. #. type: item
  45339. #: guix-git/doc/guix.texi:30860
  45340. #, no-wrap
  45341. msgid "@code{user} (default: @var{git})"
  45342. msgstr ""
  45343. #. type: table
  45344. #: guix-git/doc/guix.texi:30863
  45345. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  45346. msgstr ""
  45347. #. type: item
  45348. #: guix-git/doc/guix.texi:30864
  45349. #, no-wrap
  45350. msgid "@code{group} (default: @var{git})"
  45351. msgstr ""
  45352. #. type: table
  45353. #: guix-git/doc/guix.texi:30866
  45354. msgid "Group to use for Gitolite."
  45355. msgstr ""
  45356. #. type: item
  45357. #: guix-git/doc/guix.texi:30867
  45358. #, no-wrap
  45359. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  45360. msgstr ""
  45361. #. type: table
  45362. #: guix-git/doc/guix.texi:30869
  45363. msgid "Directory in which to store the Gitolite configuration and repositories."
  45364. msgstr ""
  45365. #. type: item
  45366. #: guix-git/doc/guix.texi:30870
  45367. #, no-wrap
  45368. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  45369. msgstr ""
  45370. #. type: table
  45371. #: guix-git/doc/guix.texi:30873
  45372. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  45373. msgstr ""
  45374. #. type: item
  45375. #: guix-git/doc/guix.texi:30874
  45376. #, no-wrap
  45377. msgid "@code{admin-pubkey} (default: @var{#f})"
  45378. msgstr ""
  45379. #. type: table
  45380. #: guix-git/doc/guix.texi:30878
  45381. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}) used to setup Gitolite. This will be inserted in to the @file{keydir} directory within the gitolite-admin repository."
  45382. msgstr ""
  45383. #. type: table
  45384. #: guix-git/doc/guix.texi:30880
  45385. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  45386. msgstr ""
  45387. #. type: lisp
  45388. #: guix-git/doc/guix.texi:30883
  45389. #, no-wrap
  45390. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  45391. msgstr ""
  45392. #. type: deftp
  45393. #: guix-git/doc/guix.texi:30888
  45394. #, no-wrap
  45395. msgid "{Data Type} gitolite-rc-file"
  45396. msgstr ""
  45397. #. type: deftp
  45398. #: guix-git/doc/guix.texi:30890
  45399. msgid "Data type representing the Gitolite RC file."
  45400. msgstr ""
  45401. #. type: item
  45402. #: guix-git/doc/guix.texi:30892
  45403. #, no-wrap
  45404. msgid "@code{umask} (default: @code{#o0077})"
  45405. msgstr ""
  45406. #. type: table
  45407. #: guix-git/doc/guix.texi:30895
  45408. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  45409. msgstr ""
  45410. #. type: table
  45411. #: guix-git/doc/guix.texi:30899
  45412. msgid "A value like @code{#o0027} will give read access to the group used by Gitolite (by default: @code{git}). This is necessary when using Gitolite with software like cgit or gitweb."
  45413. msgstr ""
  45414. #. type: item
  45415. #: guix-git/doc/guix.texi:30900
  45416. #, no-wrap
  45417. msgid "@code{git-config-keys} (default: @code{\"\"})"
  45418. msgstr ""
  45419. #. type: table
  45420. #: guix-git/doc/guix.texi:30903
  45421. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  45422. msgstr ""
  45423. #. type: item
  45424. #: guix-git/doc/guix.texi:30904
  45425. #, no-wrap
  45426. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  45427. msgstr ""
  45428. #. type: table
  45429. #: guix-git/doc/guix.texi:30906
  45430. msgid "Set the role names allowed to be used by users running the perms command."
  45431. msgstr ""
  45432. #. type: item
  45433. #: guix-git/doc/guix.texi:30907
  45434. #, no-wrap
  45435. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  45436. msgstr ""
  45437. #. type: table
  45438. #: guix-git/doc/guix.texi:30909
  45439. msgid "This setting controls the commands and features to enable within Gitolite."
  45440. msgstr ""
  45441. #. type: subsubheading
  45442. #: guix-git/doc/guix.texi:30917
  45443. #, no-wrap
  45444. msgid "The Battle for Wesnoth Service"
  45445. msgstr ""
  45446. #. type: cindex
  45447. #: guix-git/doc/guix.texi:30918
  45448. #, no-wrap
  45449. msgid "wesnothd"
  45450. msgstr ""
  45451. #. type: Plain text
  45452. #: guix-git/doc/guix.texi:30922
  45453. msgid "@uref{https://wesnoth.org, The Battle for Wesnoth} is a fantasy, turn based tactical strategy game, with several single player campaigns, and multiplayer games (both networked and local)."
  45454. msgstr ""
  45455. #. type: defvar
  45456. #: guix-git/doc/guix.texi:30923
  45457. #, no-wrap
  45458. msgid "{Scheme Variable} wesnothd-service-type"
  45459. msgstr ""
  45460. #. type: defvar
  45461. #: guix-git/doc/guix.texi:30927
  45462. msgid "Service type for the wesnothd service. Its value must be a @code{wesnothd-configuration} object. To run wesnothd in the default configuration, instantiate it as:"
  45463. msgstr ""
  45464. #. type: lisp
  45465. #: guix-git/doc/guix.texi:30930
  45466. #, no-wrap
  45467. msgid "(service wesnothd-service-type)\n"
  45468. msgstr ""
  45469. #. type: deftp
  45470. #: guix-git/doc/guix.texi:30933
  45471. #, no-wrap
  45472. msgid "{Data Type} wesnothd-configuration"
  45473. msgstr ""
  45474. #. type: deftp
  45475. #: guix-git/doc/guix.texi:30935
  45476. msgid "Data type representing the configuration of @command{wesnothd}."
  45477. msgstr ""
  45478. #. type: item
  45479. #: guix-git/doc/guix.texi:30937
  45480. #, no-wrap
  45481. msgid "@code{package} (default: @code{wesnoth-server})"
  45482. msgstr ""
  45483. #. type: table
  45484. #: guix-git/doc/guix.texi:30939
  45485. msgid "The wesnoth server package to use."
  45486. msgstr ""
  45487. #. type: item
  45488. #: guix-git/doc/guix.texi:30940
  45489. #, no-wrap
  45490. msgid "@code{port} (default: @code{15000})"
  45491. msgstr ""
  45492. #. type: table
  45493. #: guix-git/doc/guix.texi:30942
  45494. msgid "The port to bind the server to."
  45495. msgstr ""
  45496. #. type: cindex
  45497. #: guix-git/doc/guix.texi:30948
  45498. #, no-wrap
  45499. msgid "pam-mount"
  45500. msgstr ""
  45501. #. type: Plain text
  45502. #: guix-git/doc/guix.texi:30953
  45503. msgid "The @code{(gnu services pam-mount)} module provides a service allowing users to mount volumes when they log in. It should be able to mount any volume format supported by the system."
  45504. msgstr ""
  45505. #. type: defvar
  45506. #: guix-git/doc/guix.texi:30954
  45507. #, no-wrap
  45508. msgid "{Scheme Variable} pam-mount-service-type"
  45509. msgstr ""
  45510. #. type: defvar
  45511. #: guix-git/doc/guix.texi:30956
  45512. msgid "Service type for PAM Mount support."
  45513. msgstr ""
  45514. #. type: deftp
  45515. #: guix-git/doc/guix.texi:30958
  45516. #, no-wrap
  45517. msgid "{Data Type} pam-mount-configuration"
  45518. msgstr ""
  45519. #. type: deftp
  45520. #: guix-git/doc/guix.texi:30960
  45521. msgid "Data type representing the configuration of PAM Mount."
  45522. msgstr ""
  45523. #. type: code{#1}
  45524. #: guix-git/doc/guix.texi:30964
  45525. #, no-wrap
  45526. msgid "rules"
  45527. msgstr ""
  45528. #. type: table
  45529. #: guix-git/doc/guix.texi:30967
  45530. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  45531. msgstr ""
  45532. #. type: table
  45533. #: guix-git/doc/guix.texi:30971
  45534. msgid "The configuration rules are SXML elements (@pxref{SXML,,, guile, GNU Guile Reference Manual}), and the default ones don't mount anything for anyone at login:"
  45535. msgstr ""
  45536. #. type: lisp
  45537. #: guix-git/doc/guix.texi:30986
  45538. #, no-wrap
  45539. msgid ""
  45540. "`((debug (@@ (enable \"0\")))\n"
  45541. " (mntoptions (@@ (allow ,(string-join\n"
  45542. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  45543. " \"encryption\" \"fsck\" \"nonempty\"\n"
  45544. " \"allow_root\" \"allow_other\")\n"
  45545. " \",\"))))\n"
  45546. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  45547. " (logout (@@ (wait \"0\")\n"
  45548. " (hup \"0\")\n"
  45549. " (term \"no\")\n"
  45550. " (kill \"no\")))\n"
  45551. " (mkmountpoint (@@ (enable \"1\")\n"
  45552. " (remove \"true\"))))\n"
  45553. msgstr ""
  45554. #. type: table
  45555. #: guix-git/doc/guix.texi:30992
  45556. msgid "Some @code{volume} elements must be added to automatically mount volumes at login. Here's an example allowing the user @code{alice} to mount her encrypted @env{HOME} directory and allowing the user @code{bob} to mount the partition where he stores his data:"
  45557. msgstr ""
  45558. #. type: lisp
  45559. #: guix-git/doc/guix.texi:31017
  45560. #, no-wrap
  45561. msgid ""
  45562. "(define pam-mount-rules\n"
  45563. "`((debug (@@ (enable \"0\")))\n"
  45564. " (volume (@@ (user \"alice\")\n"
  45565. " (fstype \"crypt\")\n"
  45566. " (path \"/dev/sda2\")\n"
  45567. " (mountpoint \"/home/alice\")))\n"
  45568. " (volume (@@ (user \"bob\")\n"
  45569. " (fstype \"auto\")\n"
  45570. " (path \"/dev/sdb3\")\n"
  45571. " (mountpoint \"/home/bob/data\")\n"
  45572. " (options \"defaults,autodefrag,compress\")))\n"
  45573. " (mntoptions (@@ (allow ,(string-join\n"
  45574. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  45575. " \"encryption\" \"fsck\" \"nonempty\"\n"
  45576. " \"allow_root\" \"allow_other\")\n"
  45577. " \",\"))))\n"
  45578. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  45579. " (logout (@@ (wait \"0\")\n"
  45580. " (hup \"0\")\n"
  45581. " (term \"no\")\n"
  45582. " (kill \"no\")))\n"
  45583. " (mkmountpoint (@@ (enable \"1\")\n"
  45584. " (remove \"true\")))))\n"
  45585. "\n"
  45586. msgstr ""
  45587. #. type: lisp
  45588. #: guix-git/doc/guix.texi:31021
  45589. #, no-wrap
  45590. msgid ""
  45591. "(service pam-mount-service-type\n"
  45592. " (pam-mount-configuration\n"
  45593. " (rules pam-mount-rules)))\n"
  45594. msgstr ""
  45595. #. type: table
  45596. #: guix-git/doc/guix.texi:31025
  45597. msgid "The complete list of possible options can be found in the man page for @uref{http://pam-mount.sourceforge.net/pam_mount.conf.5.html, pam_mount.conf}."
  45598. msgstr ""
  45599. #. type: subsubheading
  45600. #: guix-git/doc/guix.texi:31032
  45601. #, no-wrap
  45602. msgid "Guix Build Coordinator"
  45603. msgstr ""
  45604. #. type: Plain text
  45605. #: guix-git/doc/guix.texi:31038
  45606. msgid "The @uref{https://git.cbaines.net/guix/build-coordinator/,Guix Build Coordinator} aids in distributing derivation builds among machines running an @dfn{agent}. The build daemon is still used to build the derivations, but the Guix Build Coordinator manages allocating builds and working with the results."
  45607. msgstr ""
  45608. #. type: quotation
  45609. #: guix-git/doc/guix.texi:31043
  45610. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested."
  45611. msgstr ""
  45612. #. type: Plain text
  45613. #: guix-git/doc/guix.texi:31050
  45614. msgid "The Guix Build Coordinator consists of one @dfn{coordinator}, and one or more connected @dfn{agent} processes. The coordinator process handles clients submitting builds, and allocating builds to agents. The agent processes talk to a build daemon to actually perform the builds, then send the results back to the coordinator."
  45615. msgstr ""
  45616. #. type: Plain text
  45617. #: guix-git/doc/guix.texi:31054
  45618. msgid "There is a script to run the coordinator component of the Guix Build Coordinator, but the Guix service uses a custom Guile script instead, to provide better integration with G-expressions used in the configuration."
  45619. msgstr ""
  45620. #. type: defvar
  45621. #: guix-git/doc/guix.texi:31055
  45622. #, no-wrap
  45623. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  45624. msgstr ""
  45625. #. type: defvar
  45626. #: guix-git/doc/guix.texi:31058
  45627. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  45628. msgstr ""
  45629. #. type: deftp
  45630. #: guix-git/doc/guix.texi:31060
  45631. #, no-wrap
  45632. msgid "{Data Type} guix-build-coordinator-configuration"
  45633. msgstr ""
  45634. #. type: deftp
  45635. #: guix-git/doc/guix.texi:31062
  45636. msgid "Data type representing the configuration of the Guix Build Coordinator."
  45637. msgstr ""
  45638. #. type: item
  45639. #: guix-git/doc/guix.texi:31064 guix-git/doc/guix.texi:31108
  45640. #: guix-git/doc/guix.texi:31225
  45641. #, no-wrap
  45642. msgid "@code{package} (default: @code{guix-build-coordinator})"
  45643. msgstr ""
  45644. #. type: table
  45645. #: guix-git/doc/guix.texi:31066 guix-git/doc/guix.texi:31110
  45646. #: guix-git/doc/guix.texi:31227
  45647. msgid "The Guix Build Coordinator package to use."
  45648. msgstr ""
  45649. #. type: item
  45650. #: guix-git/doc/guix.texi:31067
  45651. #, no-wrap
  45652. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  45653. msgstr ""
  45654. #. type: table
  45655. #: guix-git/doc/guix.texi:31069 guix-git/doc/guix.texi:31113
  45656. #: guix-git/doc/guix.texi:31230 guix-git/doc/guix.texi:31276
  45657. msgid "The system user to run the service as."
  45658. msgstr ""
  45659. #. type: item
  45660. #: guix-git/doc/guix.texi:31070
  45661. #, no-wrap
  45662. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  45663. msgstr ""
  45664. #. type: table
  45665. #: guix-git/doc/guix.texi:31072 guix-git/doc/guix.texi:31279
  45666. msgid "The system group to run the service as."
  45667. msgstr ""
  45668. #. type: item
  45669. #: guix-git/doc/guix.texi:31073
  45670. #, no-wrap
  45671. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  45672. msgstr ""
  45673. #. type: table
  45674. #: guix-git/doc/guix.texi:31075
  45675. msgid "The URI to use for the database."
  45676. msgstr ""
  45677. #. type: item
  45678. #: guix-git/doc/guix.texi:31076
  45679. #, no-wrap
  45680. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  45681. msgstr ""
  45682. #. type: table
  45683. #: guix-git/doc/guix.texi:31078
  45684. msgid "The URI describing how to listen to requests from agent processes."
  45685. msgstr ""
  45686. #. type: item
  45687. #: guix-git/doc/guix.texi:31079
  45688. #, no-wrap
  45689. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  45690. msgstr ""
  45691. #. type: table
  45692. #: guix-git/doc/guix.texi:31083
  45693. msgid "The URI describing how to listen to requests from clients. The client API allows submitting builds and currently isn't authenticated, so take care when configuring this value."
  45694. msgstr ""
  45695. #. type: item
  45696. #: guix-git/doc/guix.texi:31084
  45697. #, no-wrap
  45698. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  45699. msgstr ""
  45700. #. type: table
  45701. #: guix-git/doc/guix.texi:31088
  45702. msgid "A G-expression for the allocation strategy to be used. This is a procedure that takes the datastore as an argument and populates the allocation plan in the database."
  45703. msgstr ""
  45704. #. type: item
  45705. #: guix-git/doc/guix.texi:31089
  45706. #, no-wrap
  45707. msgid "@code{hooks} (default: @var{'()})"
  45708. msgstr ""
  45709. #. type: table
  45710. #: guix-git/doc/guix.texi:31092
  45711. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  45712. msgstr ""
  45713. #. type: item
  45714. #: guix-git/doc/guix.texi:31093
  45715. #, no-wrap
  45716. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  45717. msgstr ""
  45718. #. type: table
  45719. #: guix-git/doc/guix.texi:31095
  45720. msgid "The Guile package with which to run the Guix Build Coordinator."
  45721. msgstr ""
  45722. #. type: defvar
  45723. #: guix-git/doc/guix.texi:31099
  45724. #, no-wrap
  45725. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  45726. msgstr ""
  45727. #. type: defvar
  45728. #: guix-git/doc/guix.texi:31102
  45729. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  45730. msgstr ""
  45731. #. type: deftp
  45732. #: guix-git/doc/guix.texi:31104
  45733. #, no-wrap
  45734. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  45735. msgstr ""
  45736. #. type: deftp
  45737. #: guix-git/doc/guix.texi:31106
  45738. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  45739. msgstr ""
  45740. #. type: item
  45741. #: guix-git/doc/guix.texi:31111
  45742. #, no-wrap
  45743. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  45744. msgstr ""
  45745. #. type: item
  45746. #: guix-git/doc/guix.texi:31114 guix-git/doc/guix.texi:31231
  45747. #, no-wrap
  45748. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  45749. msgstr ""
  45750. #. type: table
  45751. #: guix-git/doc/guix.texi:31116 guix-git/doc/guix.texi:31233
  45752. msgid "The URI to use when connecting to the coordinator."
  45753. msgstr ""
  45754. #. type: code{#1}
  45755. #: guix-git/doc/guix.texi:31117
  45756. #, no-wrap
  45757. msgid "authentication"
  45758. msgstr ""
  45759. #. type: table
  45760. #: guix-git/doc/guix.texi:31120
  45761. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  45762. msgstr ""
  45763. #. type: item
  45764. #: guix-git/doc/guix.texi:31121 guix-git/doc/guix.texi:31234
  45765. #, no-wrap
  45766. msgid "@code{systems} (default: @code{#f})"
  45767. msgstr ""
  45768. #. type: table
  45769. #: guix-git/doc/guix.texi:31124
  45770. msgid "The systems for which this agent should fetch builds. The agent process will use the current system it's running on as the default."
  45771. msgstr ""
  45772. #. type: item
  45773. #: guix-git/doc/guix.texi:31125
  45774. #, no-wrap
  45775. msgid "@code{max-parallel-builds} (default: @code{1})"
  45776. msgstr ""
  45777. #. type: table
  45778. #: guix-git/doc/guix.texi:31127
  45779. msgid "The number of builds to perform in parallel."
  45780. msgstr ""
  45781. #. type: item
  45782. #: guix-git/doc/guix.texi:31128
  45783. #, no-wrap
  45784. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  45785. msgstr ""
  45786. #. type: table
  45787. #: guix-git/doc/guix.texi:31131
  45788. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  45789. msgstr ""
  45790. #. type: item
  45791. #: guix-git/doc/guix.texi:31132
  45792. #, no-wrap
  45793. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  45794. msgstr ""
  45795. #. type: table
  45796. #: guix-git/doc/guix.texi:31135
  45797. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  45798. msgstr ""
  45799. #. type: deftp
  45800. #: guix-git/doc/guix.texi:31139
  45801. #, no-wrap
  45802. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  45803. msgstr ""
  45804. #. type: deftp
  45805. #: guix-git/doc/guix.texi:31142
  45806. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  45807. msgstr ""
  45808. #. type: table
  45809. #: guix-git/doc/guix.texi:31148 guix-git/doc/guix.texi:31164
  45810. msgid "The UUID of the agent. This should be generated by the coordinator process, stored in the coordinator database, and used by the intended agent."
  45811. msgstr ""
  45812. #. type: table
  45813. #: guix-git/doc/guix.texi:31151
  45814. msgid "The password to use when connecting to the coordinator."
  45815. msgstr ""
  45816. #. type: deftp
  45817. #: guix-git/doc/guix.texi:31155
  45818. #, no-wrap
  45819. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  45820. msgstr ""
  45821. #. type: deftp
  45822. #: guix-git/doc/guix.texi:31158
  45823. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  45824. msgstr ""
  45825. #. type: code{#1}
  45826. #: guix-git/doc/guix.texi:31165
  45827. #, no-wrap
  45828. msgid "password-file"
  45829. msgstr ""
  45830. #. type: table
  45831. #: guix-git/doc/guix.texi:31168
  45832. msgid "A file containing the password to use when connecting to the coordinator."
  45833. msgstr ""
  45834. #. type: deftp
  45835. #: guix-git/doc/guix.texi:31172
  45836. #, no-wrap
  45837. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  45838. msgstr ""
  45839. #. type: deftp
  45840. #: guix-git/doc/guix.texi:31175
  45841. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  45842. msgstr ""
  45843. #. type: code{#1}
  45844. #: guix-git/doc/guix.texi:31177 guix-git/doc/guix.texi:31194
  45845. #, no-wrap
  45846. msgid "agent-name"
  45847. msgstr ""
  45848. #. type: table
  45849. #: guix-git/doc/guix.texi:31181 guix-git/doc/guix.texi:31198
  45850. msgid "Name of an agent, this is used to match up to an existing entry in the database if there is one. When no existing entry is found, a new entry is automatically added."
  45851. msgstr ""
  45852. #. type: code{#1}
  45853. #: guix-git/doc/guix.texi:31182
  45854. #, no-wrap
  45855. msgid "token"
  45856. msgstr ""
  45857. #. type: table
  45858. #: guix-git/doc/guix.texi:31185
  45859. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  45860. msgstr ""
  45861. #. type: deftp
  45862. #: guix-git/doc/guix.texi:31189
  45863. #, no-wrap
  45864. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  45865. msgstr ""
  45866. #. type: deftp
  45867. #: guix-git/doc/guix.texi:31192
  45868. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  45869. msgstr ""
  45870. #. type: code{#1}
  45871. #: guix-git/doc/guix.texi:31199
  45872. #, no-wrap
  45873. msgid "token-file"
  45874. msgstr ""
  45875. #. type: table
  45876. #: guix-git/doc/guix.texi:31202
  45877. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  45878. msgstr ""
  45879. #. type: Plain text
  45880. #: guix-git/doc/guix.texi:31212
  45881. msgid "The Guix Build Coordinator package contains a script to query an instance of the Guix Data Service for derivations to build, and then submit builds for those derivations to the coordinator. The service type below assists in running this script. This is an additional tool that may be useful when building derivations contained within an instance of the Guix Data Service."
  45882. msgstr ""
  45883. #. type: defvar
  45884. #: guix-git/doc/guix.texi:31213
  45885. #, no-wrap
  45886. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  45887. msgstr ""
  45888. #. type: defvar
  45889. #: guix-git/doc/guix.texi:31218
  45890. msgid "Service type for the guix-build-coordinator-queue-builds-from-guix-data-service script. Its value must be a @code{guix-build-coordinator-queue-builds-configuration} object."
  45891. msgstr ""
  45892. #. type: deftp
  45893. #: guix-git/doc/guix.texi:31220
  45894. #, no-wrap
  45895. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  45896. msgstr ""
  45897. #. type: deftp
  45898. #: guix-git/doc/guix.texi:31223
  45899. msgid "Data type representing the options to the queue builds from guix data service script."
  45900. msgstr ""
  45901. #. type: item
  45902. #: guix-git/doc/guix.texi:31228
  45903. #, no-wrap
  45904. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  45905. msgstr ""
  45906. #. type: table
  45907. #: guix-git/doc/guix.texi:31236
  45908. msgid "The systems for which to fetch derivations to build."
  45909. msgstr ""
  45910. #. type: item
  45911. #: guix-git/doc/guix.texi:31237
  45912. #, no-wrap
  45913. msgid "@code{systems-and-targets} (default: @code{#f})"
  45914. msgstr ""
  45915. #. type: table
  45916. #: guix-git/doc/guix.texi:31240
  45917. msgid "An association list of system and target pairs for which to fetch derivations to build."
  45918. msgstr ""
  45919. #. type: item
  45920. #: guix-git/doc/guix.texi:31241
  45921. #, no-wrap
  45922. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  45923. msgstr ""
  45924. #. type: table
  45925. #: guix-git/doc/guix.texi:31244
  45926. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  45927. msgstr ""
  45928. #. type: item
  45929. #: guix-git/doc/guix.texi:31245
  45930. #, no-wrap
  45931. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  45932. msgstr ""
  45933. #. type: table
  45934. #: guix-git/doc/guix.texi:31248
  45935. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  45936. msgstr ""
  45937. #. type: subsubheading
  45938. #: guix-git/doc/guix.texi:31252
  45939. #, no-wrap
  45940. msgid "Guix Data Service"
  45941. msgstr ""
  45942. #. type: Plain text
  45943. #: guix-git/doc/guix.texi:31256
  45944. msgid "The @uref{http://data.guix.gnu.org,Guix Data Service} processes, stores and provides data about GNU Guix. This includes information about packages, derivations and lint warnings."
  45945. msgstr ""
  45946. #. type: Plain text
  45947. #: guix-git/doc/guix.texi:31259
  45948. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  45949. msgstr ""
  45950. #. type: defvar
  45951. #: guix-git/doc/guix.texi:31260
  45952. #, no-wrap
  45953. msgid "{Scheme Variable} guix-data-service-type"
  45954. msgstr ""
  45955. #. type: defvar
  45956. #: guix-git/doc/guix.texi:31265
  45957. msgid "Service type for the Guix Data Service. Its value must be a @code{guix-data-service-configuration} object. The service optionally extends the getmail service, as the guix-commits mailing list is used to find out about changes in the Guix git repository."
  45958. msgstr ""
  45959. #. type: deftp
  45960. #: guix-git/doc/guix.texi:31267
  45961. #, no-wrap
  45962. msgid "{Data Type} guix-data-service-configuration"
  45963. msgstr ""
  45964. #. type: deftp
  45965. #: guix-git/doc/guix.texi:31269
  45966. msgid "Data type representing the configuration of the Guix Data Service."
  45967. msgstr ""
  45968. #. type: item
  45969. #: guix-git/doc/guix.texi:31271
  45970. #, no-wrap
  45971. msgid "@code{package} (default: @code{guix-data-service})"
  45972. msgstr ""
  45973. #. type: table
  45974. #: guix-git/doc/guix.texi:31273
  45975. msgid "The Guix Data Service package to use."
  45976. msgstr ""
  45977. #. type: item
  45978. #: guix-git/doc/guix.texi:31274
  45979. #, no-wrap
  45980. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  45981. msgstr ""
  45982. #. type: item
  45983. #: guix-git/doc/guix.texi:31277
  45984. #, no-wrap
  45985. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  45986. msgstr ""
  45987. #. type: item
  45988. #: guix-git/doc/guix.texi:31280
  45989. #, no-wrap
  45990. msgid "@code{port} (default: @code{8765})"
  45991. msgstr ""
  45992. #. type: table
  45993. #: guix-git/doc/guix.texi:31282
  45994. msgid "The port to bind the web service to."
  45995. msgstr ""
  45996. #. type: item
  45997. #: guix-git/doc/guix.texi:31283
  45998. #, no-wrap
  45999. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  46000. msgstr ""
  46001. #. type: table
  46002. #: guix-git/doc/guix.texi:31285
  46003. msgid "The host to bind the web service to."
  46004. msgstr ""
  46005. #. type: item
  46006. #: guix-git/doc/guix.texi:31286
  46007. #, no-wrap
  46008. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  46009. msgstr ""
  46010. #. type: table
  46011. #: guix-git/doc/guix.texi:31289
  46012. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  46013. msgstr ""
  46014. #. type: item
  46015. #: guix-git/doc/guix.texi:31290
  46016. #, no-wrap
  46017. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  46018. msgstr ""
  46019. #. type: table
  46020. #: guix-git/doc/guix.texi:31294
  46021. msgid "If set, this is the @code{getmail-retriever-configuration} object with which to configure getmail to fetch mail from the guix-commits mailing list."
  46022. msgstr ""
  46023. #. type: item
  46024. #: guix-git/doc/guix.texi:31295
  46025. #, no-wrap
  46026. msgid "@code{extra-options} (default: @var{'()})"
  46027. msgstr ""
  46028. #. type: table
  46029. #: guix-git/doc/guix.texi:31297
  46030. msgid "Extra command line options for @code{guix-data-service}."
  46031. msgstr ""
  46032. #. type: item
  46033. #: guix-git/doc/guix.texi:31298
  46034. #, no-wrap
  46035. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  46036. msgstr ""
  46037. #. type: table
  46038. #: guix-git/doc/guix.texi:31300
  46039. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  46040. msgstr ""
  46041. #. type: cindex
  46042. #: guix-git/doc/guix.texi:31307
  46043. #, no-wrap
  46044. msgid "oom"
  46045. msgstr ""
  46046. #. type: cindex
  46047. #: guix-git/doc/guix.texi:31308
  46048. #, no-wrap
  46049. msgid "out of memory killer"
  46050. msgstr ""
  46051. #. type: cindex
  46052. #: guix-git/doc/guix.texi:31309
  46053. #, no-wrap
  46054. msgid "earlyoom"
  46055. msgstr ""
  46056. #. type: cindex
  46057. #: guix-git/doc/guix.texi:31310
  46058. #, no-wrap
  46059. msgid "early out of memory daemon"
  46060. msgstr ""
  46061. #. type: subsubheading
  46062. #: guix-git/doc/guix.texi:31311
  46063. #, no-wrap
  46064. msgid "Early OOM Service"
  46065. msgstr ""
  46066. #. type: Plain text
  46067. #: guix-git/doc/guix.texi:31318
  46068. msgid "@uref{https://github.com/rfjakob/earlyoom,Early OOM}, also known as Earlyoom, is a minimalist out of memory (OOM) daemon that runs in user space and provides a more responsive and configurable alternative to the in-kernel OOM killer. It is useful to prevent the system from becoming unresponsive when it runs out of memory."
  46069. msgstr ""
  46070. #. type: deffn
  46071. #: guix-git/doc/guix.texi:31319
  46072. #, no-wrap
  46073. msgid "{Scheme Variable} earlyoom-service-type"
  46074. msgstr ""
  46075. #. type: deffn
  46076. #: guix-git/doc/guix.texi:31324
  46077. msgid "The service type for running @command{earlyoom}, the Early OOM daemon. Its value must be a @code{earlyoom-configuration} object, described below. The service can be instantiated in its default configuration with:"
  46078. msgstr ""
  46079. #. type: lisp
  46080. #: guix-git/doc/guix.texi:31327
  46081. #, no-wrap
  46082. msgid "(service earlyoom-service-type)\n"
  46083. msgstr ""
  46084. #. type: deftp
  46085. #: guix-git/doc/guix.texi:31330
  46086. #, no-wrap
  46087. msgid "{Data Type} earlyoom-configuration"
  46088. msgstr ""
  46089. #. type: deftp
  46090. #: guix-git/doc/guix.texi:31332
  46091. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  46092. msgstr ""
  46093. #. type: item
  46094. #: guix-git/doc/guix.texi:31334
  46095. #, no-wrap
  46096. msgid "@code{earlyoom} (default: @var{earlyoom})"
  46097. msgstr ""
  46098. #. type: table
  46099. #: guix-git/doc/guix.texi:31336
  46100. msgid "The Earlyoom package to use."
  46101. msgstr ""
  46102. #. type: item
  46103. #: guix-git/doc/guix.texi:31337
  46104. #, no-wrap
  46105. msgid "@code{minimum-available-memory} (default: @code{10})"
  46106. msgstr ""
  46107. #. type: table
  46108. #: guix-git/doc/guix.texi:31339
  46109. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  46110. msgstr ""
  46111. #. type: item
  46112. #: guix-git/doc/guix.texi:31340
  46113. #, no-wrap
  46114. msgid "@code{minimum-free-swap} (default: @code{10})"
  46115. msgstr ""
  46116. #. type: table
  46117. #: guix-git/doc/guix.texi:31342
  46118. msgid "The threshold for the minimum free swap memory, in percentages."
  46119. msgstr ""
  46120. #. type: item
  46121. #: guix-git/doc/guix.texi:31343
  46122. #, no-wrap
  46123. msgid "@code{prefer-regexp} (default: @code{#f})"
  46124. msgstr ""
  46125. #. type: table
  46126. #: guix-git/doc/guix.texi:31346
  46127. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  46128. msgstr ""
  46129. #. type: item
  46130. #: guix-git/doc/guix.texi:31347
  46131. #, no-wrap
  46132. msgid "@code{avoid-regexp} (default: @code{#f})"
  46133. msgstr ""
  46134. #. type: table
  46135. #: guix-git/doc/guix.texi:31350
  46136. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  46137. msgstr ""
  46138. #. type: item
  46139. #: guix-git/doc/guix.texi:31351
  46140. #, no-wrap
  46141. msgid "@code{memory-report-interval} (default: @code{0})"
  46142. msgstr ""
  46143. #. type: table
  46144. #: guix-git/doc/guix.texi:31354
  46145. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  46146. msgstr ""
  46147. #. type: item
  46148. #: guix-git/doc/guix.texi:31355
  46149. #, no-wrap
  46150. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  46151. msgstr ""
  46152. #. type: table
  46153. #: guix-git/doc/guix.texi:31358
  46154. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  46155. msgstr ""
  46156. #. type: item
  46157. #: guix-git/doc/guix.texi:31359
  46158. #, no-wrap
  46159. msgid "@code{show-debug-messages?} (default: @code{#f})"
  46160. msgstr ""
  46161. #. type: table
  46162. #: guix-git/doc/guix.texi:31362
  46163. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  46164. msgstr ""
  46165. #. type: item
  46166. #: guix-git/doc/guix.texi:31363
  46167. #, no-wrap
  46168. msgid "@code{send-notification-command} (default: @code{#f})"
  46169. msgstr ""
  46170. #. type: table
  46171. #: guix-git/doc/guix.texi:31366
  46172. msgid "This can be used to provide a custom command used for sending notifications."
  46173. msgstr ""
  46174. #. type: cindex
  46175. #: guix-git/doc/guix.texi:31369
  46176. #, no-wrap
  46177. msgid "modprobe"
  46178. msgstr ""
  46179. #. type: cindex
  46180. #: guix-git/doc/guix.texi:31370
  46181. #, no-wrap
  46182. msgid "kernel module loader"
  46183. msgstr ""
  46184. #. type: subsubheading
  46185. #: guix-git/doc/guix.texi:31371
  46186. #, no-wrap
  46187. msgid "Kernel Module Loader Service"
  46188. msgstr ""
  46189. #. type: Plain text
  46190. #: guix-git/doc/guix.texi:31377
  46191. msgid "The kernel module loader service allows one to load loadable kernel modules at boot. This is especially useful for modules that don't autoload and need to be manually loaded, as it's the case with @code{ddcci}."
  46192. msgstr ""
  46193. #. type: deffn
  46194. #: guix-git/doc/guix.texi:31378
  46195. #, no-wrap
  46196. msgid "{Scheme Variable} kernel-module-loader-service-type"
  46197. msgstr ""
  46198. #. type: deffn
  46199. #: guix-git/doc/guix.texi:31384
  46200. msgid "The service type for loading loadable kernel modules at boot with @command{modprobe}. Its value must be a list of strings representing module names. For example loading the drivers provided by @code{ddcci-driver-linux}, in debugging mode by passing some module parameters, can be done as follow:"
  46201. msgstr ""
  46202. #. type: lisp
  46203. #: guix-git/doc/guix.texi:31389
  46204. #, no-wrap
  46205. msgid ""
  46206. "(use-modules (gnu) (gnu services))\n"
  46207. "(use-package-modules linux)\n"
  46208. "(use-service-modules linux)\n"
  46209. "\n"
  46210. msgstr ""
  46211. #. type: lisp
  46212. #: guix-git/doc/guix.texi:31393
  46213. #, no-wrap
  46214. msgid ""
  46215. "(define ddcci-config\n"
  46216. " (plain-file \"ddcci.conf\"\n"
  46217. " \"options ddcci dyndbg delay=120\"))\n"
  46218. "\n"
  46219. msgstr ""
  46220. #. type: lisp
  46221. #: guix-git/doc/guix.texi:31403
  46222. #, no-wrap
  46223. msgid ""
  46224. "(operating-system\n"
  46225. " ...\n"
  46226. " (services (cons* (service kernel-module-loader-service-type\n"
  46227. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  46228. " (simple-service 'ddcci-config etc-service-type\n"
  46229. " (list `(\"modprobe.d/ddcci.conf\"\n"
  46230. " ,ddcci-config)))\n"
  46231. " %base-services))\n"
  46232. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  46233. msgstr ""
  46234. #. type: cindex
  46235. #: guix-git/doc/guix.texi:31406
  46236. #, no-wrap
  46237. msgid "zram"
  46238. msgstr ""
  46239. #. type: cindex
  46240. #: guix-git/doc/guix.texi:31407
  46241. #, no-wrap
  46242. msgid "compressed swap"
  46243. msgstr ""
  46244. #. type: cindex
  46245. #: guix-git/doc/guix.texi:31408
  46246. #, no-wrap
  46247. msgid "Compressed RAM-based block devices"
  46248. msgstr ""
  46249. #. type: subsubheading
  46250. #: guix-git/doc/guix.texi:31409
  46251. #, no-wrap
  46252. msgid "Zram Device Service"
  46253. msgstr ""
  46254. #. type: Plain text
  46255. #: guix-git/doc/guix.texi:31415
  46256. msgid "The Zram device service provides a compressed swap device in system memory. The Linux Kernel documentation has more information about @uref{https://www.kernel.org/doc/html/latest/admin-guide/blockdev/zram.html,zram} devices."
  46257. msgstr ""
  46258. #. type: deffn
  46259. #: guix-git/doc/guix.texi:31416
  46260. #, no-wrap
  46261. msgid "{Scheme Variable} zram-device-service-type"
  46262. msgstr ""
  46263. #. type: deffn
  46264. #: guix-git/doc/guix.texi:31420
  46265. msgid "This service creates the zram block device, formats it as swap and enables it as a swap device. The service's value is a @code{zram-device-configuration} record."
  46266. msgstr ""
  46267. #. type: deftp
  46268. #: guix-git/doc/guix.texi:31421
  46269. #, no-wrap
  46270. msgid "{Data Type} zram-device-configuration"
  46271. msgstr ""
  46272. #. type: deftp
  46273. #: guix-git/doc/guix.texi:31424
  46274. msgid "This is the data type representing the configuration for the zram-device service."
  46275. msgstr ""
  46276. #. type: item
  46277. #: guix-git/doc/guix.texi:31426
  46278. #, no-wrap
  46279. msgid "@code{size} (default @code{\"1G\"})"
  46280. msgstr ""
  46281. #. type: table
  46282. #: guix-git/doc/guix.texi:31430
  46283. msgid "This is the amount of space you wish to provide for the zram device. It accepts a string and can be a number of bytes or use a suffix, eg.: @code{\"512M\"} or @code{1024000}."
  46284. msgstr ""
  46285. #. type: item
  46286. #: guix-git/doc/guix.texi:31430
  46287. #, no-wrap
  46288. msgid "@code{compression-algorithm} (default @code{'lzo})"
  46289. msgstr ""
  46290. #. type: table
  46291. #: guix-git/doc/guix.texi:31434
  46292. msgid "This is the compression algorithm you wish to use. It is difficult to list all the possible compression options, but common ones supported by Guix's Linux Libre Kernel include @code{'lzo}, @code{'lz4} and @code{'zstd}."
  46293. msgstr ""
  46294. #. type: item
  46295. #: guix-git/doc/guix.texi:31434
  46296. #, no-wrap
  46297. msgid "@code{memory-limit} (default @code{0})"
  46298. msgstr ""
  46299. #. type: table
  46300. #: guix-git/doc/guix.texi:31441
  46301. msgid "This is the maximum amount of memory which the zram device can use. Setting it to '0' disables the limit. While it is generally expected that compression will be 2:1, it is possible that uncompressable data can be written to swap and this is a method to limit how much memory can be used. It accepts a string and can be a number of bytes or use a suffix, eg.: @code{\"2G\"}."
  46302. msgstr ""
  46303. #. type: item
  46304. #: guix-git/doc/guix.texi:31441
  46305. #, no-wrap
  46306. msgid "@code{priority} (default @code{-1})"
  46307. msgstr ""
  46308. #. type: table
  46309. #: guix-git/doc/guix.texi:31446
  46310. msgid "This is the priority of the swap device created from the zram device. @code{swapon} accepts values between -1 and 32767, with higher values indicating higher priority. Higher priority swap will generally be used first."
  46311. msgstr ""
  46312. #. type: defvr
  46313. #: guix-git/doc/guix.texi:31454
  46314. #, no-wrap
  46315. msgid "{Scheme Variable} hurd-console-service-type"
  46316. msgstr ""
  46317. #. type: defvr
  46318. #: guix-git/doc/guix.texi:31456
  46319. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  46320. msgstr ""
  46321. #. type: defvr
  46322. #: guix-git/doc/guix.texi:31458
  46323. msgid "The service's value is a @code{hurd-console-configuration} record."
  46324. msgstr ""
  46325. #. type: deftp
  46326. #: guix-git/doc/guix.texi:31460
  46327. #, no-wrap
  46328. msgid "{Data Type} hurd-console-configuration"
  46329. msgstr ""
  46330. #. type: deftp
  46331. #: guix-git/doc/guix.texi:31463
  46332. msgid "This is the data type representing the configuration for the hurd-console-service."
  46333. msgstr ""
  46334. #. type: item
  46335. #: guix-git/doc/guix.texi:31465 guix-git/doc/guix.texi:31481
  46336. #, no-wrap
  46337. msgid "@code{hurd} (default: @var{hurd})"
  46338. msgstr ""
  46339. #. type: table
  46340. #: guix-git/doc/guix.texi:31467 guix-git/doc/guix.texi:31483
  46341. msgid "The Hurd package to use."
  46342. msgstr ""
  46343. #. type: defvr
  46344. #: guix-git/doc/guix.texi:31470
  46345. #, no-wrap
  46346. msgid "{Scheme Variable} hurd-getty-service-type"
  46347. msgstr ""
  46348. #. type: defvr
  46349. #: guix-git/doc/guix.texi:31472
  46350. msgid "This service starts a tty using the Hurd @code{getty} program."
  46351. msgstr ""
  46352. #. type: defvr
  46353. #: guix-git/doc/guix.texi:31474
  46354. msgid "The service's value is a @code{hurd-getty-configuration} record."
  46355. msgstr ""
  46356. #. type: deftp
  46357. #: guix-git/doc/guix.texi:31476
  46358. #, no-wrap
  46359. msgid "{Data Type} hurd-getty-configuration"
  46360. msgstr ""
  46361. #. type: deftp
  46362. #: guix-git/doc/guix.texi:31479
  46363. msgid "This is the data type representing the configuration for the hurd-getty-service."
  46364. msgstr ""
  46365. #. type: table
  46366. #: guix-git/doc/guix.texi:31486
  46367. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  46368. msgstr ""
  46369. #. type: item
  46370. #: guix-git/doc/guix.texi:31487
  46371. #, no-wrap
  46372. msgid "@code{baud-rate} (default: @code{38400})"
  46373. msgstr ""
  46374. #. type: table
  46375. #: guix-git/doc/guix.texi:31489
  46376. msgid "An integer specifying the baud rate of the tty."
  46377. msgstr ""
  46378. #. type: cindex
  46379. #: guix-git/doc/guix.texi:31496
  46380. #, no-wrap
  46381. msgid "fingerprint"
  46382. msgstr ""
  46383. #. type: subsubheading
  46384. #: guix-git/doc/guix.texi:31497
  46385. #, no-wrap
  46386. msgid "Fingerprint Service"
  46387. msgstr ""
  46388. #. type: Plain text
  46389. #: guix-git/doc/guix.texi:31501
  46390. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  46391. msgstr ""
  46392. #. type: defvr
  46393. #: guix-git/doc/guix.texi:31502
  46394. #, no-wrap
  46395. msgid "{Scheme Variable} fprintd-service-type"
  46396. msgstr ""
  46397. #. type: defvr
  46398. #: guix-git/doc/guix.texi:31505
  46399. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  46400. msgstr ""
  46401. #. type: lisp
  46402. #: guix-git/doc/guix.texi:31508
  46403. #, no-wrap
  46404. msgid "(service fprintd-service-type)\n"
  46405. msgstr ""
  46406. #. type: cindex
  46407. #: guix-git/doc/guix.texi:31511
  46408. #, no-wrap
  46409. msgid "sysctl"
  46410. msgstr ""
  46411. #. type: subsubheading
  46412. #: guix-git/doc/guix.texi:31512
  46413. #, no-wrap
  46414. msgid "System Control Service"
  46415. msgstr ""
  46416. #. type: Plain text
  46417. #: guix-git/doc/guix.texi:31516
  46418. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  46419. msgstr ""
  46420. #. type: defvr
  46421. #: guix-git/doc/guix.texi:31517
  46422. #, no-wrap
  46423. msgid "{Scheme Variable} sysctl-service-type"
  46424. msgstr ""
  46425. #. type: defvr
  46426. #: guix-git/doc/guix.texi:31521
  46427. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  46428. msgstr ""
  46429. #. type: lisp
  46430. #: guix-git/doc/guix.texi:31526
  46431. #, no-wrap
  46432. msgid ""
  46433. "(service sysctl-service-type\n"
  46434. " (sysctl-configuration\n"
  46435. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  46436. msgstr ""
  46437. #. type: defvr
  46438. #: guix-git/doc/guix.texi:31533
  46439. msgid "Since @code{sysctl-service-type} is used in the default lists of services, @code{%base-services} and @code{%desktop-services}, you can use @code{modify-services} to change its configuration and add the kernel parameters that you want (@pxref{Service Reference, @code{modify-services}})."
  46440. msgstr ""
  46441. #. type: lisp
  46442. #: guix-git/doc/guix.texi:31540
  46443. #, no-wrap
  46444. msgid ""
  46445. "(modify-services %base-services\n"
  46446. " (sysctl-service-type config =>\n"
  46447. " (sysctl-configuration\n"
  46448. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  46449. " %default-sysctl-settings)))))\n"
  46450. msgstr ""
  46451. #. type: deftp
  46452. #: guix-git/doc/guix.texi:31544
  46453. #, no-wrap
  46454. msgid "{Data Type} sysctl-configuration"
  46455. msgstr ""
  46456. #. type: deftp
  46457. #: guix-git/doc/guix.texi:31546
  46458. msgid "The data type representing the configuration of @command{sysctl}."
  46459. msgstr ""
  46460. #. type: item
  46461. #: guix-git/doc/guix.texi:31548
  46462. #, no-wrap
  46463. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  46464. msgstr ""
  46465. #. type: table
  46466. #: guix-git/doc/guix.texi:31550
  46467. msgid "The @command{sysctl} executable to use."
  46468. msgstr ""
  46469. #. type: item
  46470. #: guix-git/doc/guix.texi:31551
  46471. #, no-wrap
  46472. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  46473. msgstr ""
  46474. #. type: table
  46475. #: guix-git/doc/guix.texi:31553
  46476. msgid "An association list specifies kernel parameters and their values."
  46477. msgstr ""
  46478. #. type: defvr
  46479. #: guix-git/doc/guix.texi:31556
  46480. #, no-wrap
  46481. msgid "{Scheme Variable} %default-sysctl-settings"
  46482. msgstr ""
  46483. #. type: defvr
  46484. #: guix-git/doc/guix.texi:31559
  46485. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  46486. msgstr ""
  46487. #. type: cindex
  46488. #: guix-git/doc/guix.texi:31561
  46489. #, no-wrap
  46490. msgid "pcscd"
  46491. msgstr ""
  46492. #. type: subsubheading
  46493. #: guix-git/doc/guix.texi:31562
  46494. #, no-wrap
  46495. msgid "PC/SC Smart Card Daemon Service"
  46496. msgstr ""
  46497. #. type: Plain text
  46498. #: guix-git/doc/guix.texi:31569
  46499. msgid "The @code{(gnu services security-token)} module provides the following service to run @command{pcscd}, the PC/SC Smart Card Daemon. @command{pcscd} is the daemon program for pcsc-lite and the MuscleCard framework. It is a resource manager that coordinates communications with smart card readers, smart cards and cryptographic tokens that are connected to the system."
  46500. msgstr ""
  46501. #. type: defvr
  46502. #: guix-git/doc/guix.texi:31570
  46503. #, no-wrap
  46504. msgid "{Scheme Variable} pcscd-service-type"
  46505. msgstr ""
  46506. #. type: defvr
  46507. #: guix-git/doc/guix.texi:31574
  46508. msgid "Service type for the @command{pcscd} service. Its value must be a @code{pcscd-configuration} object. To run pcscd in the default configuration, instantiate it as:"
  46509. msgstr ""
  46510. #. type: lisp
  46511. #: guix-git/doc/guix.texi:31577
  46512. #, no-wrap
  46513. msgid "(service pcscd-service-type)\n"
  46514. msgstr ""
  46515. #. type: deftp
  46516. #: guix-git/doc/guix.texi:31580
  46517. #, no-wrap
  46518. msgid "{Data Type} pcscd-configuration"
  46519. msgstr ""
  46520. #. type: deftp
  46521. #: guix-git/doc/guix.texi:31582
  46522. msgid "The data type representing the configuration of @command{pcscd}."
  46523. msgstr ""
  46524. #. type: item
  46525. #: guix-git/doc/guix.texi:31584
  46526. #, no-wrap
  46527. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  46528. msgstr ""
  46529. #. type: table
  46530. #: guix-git/doc/guix.texi:31586
  46531. msgid "The pcsc-lite package that provides pcscd."
  46532. msgstr ""
  46533. #. type: item
  46534. #: guix-git/doc/guix.texi:31586
  46535. #, no-wrap
  46536. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  46537. msgstr ""
  46538. #. type: table
  46539. #: guix-git/doc/guix.texi:31589
  46540. msgid "List of packages that provide USB drivers to pcscd. Drivers are expected to be under @file{pcsc/drivers} in the store directory of the package."
  46541. msgstr ""
  46542. #. type: cindex
  46543. #: guix-git/doc/guix.texi:31592
  46544. #, no-wrap
  46545. msgid "lirc"
  46546. msgstr ""
  46547. #. type: subsubheading
  46548. #: guix-git/doc/guix.texi:31593
  46549. #, no-wrap
  46550. msgid "Lirc Service"
  46551. msgstr ""
  46552. #. type: Plain text
  46553. #: guix-git/doc/guix.texi:31596
  46554. msgid "The @code{(gnu services lirc)} module provides the following service."
  46555. msgstr ""
  46556. #. type: deffn
  46557. #: guix-git/doc/guix.texi:31597
  46558. #, no-wrap
  46559. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  46560. msgstr ""
  46561. #. type: deffn
  46562. #: guix-git/doc/guix.texi:31602
  46563. msgid "[#:device #f] [#:driver #f] [#:config-file #f] @ [#:extra-options '()] Return a service that runs @url{http://www.lirc.org,LIRC}, a daemon that decodes infrared signals from remote controls."
  46564. msgstr ""
  46565. #. type: deffn
  46566. #: guix-git/doc/guix.texi:31606
  46567. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  46568. msgstr ""
  46569. #. type: deffn
  46570. #: guix-git/doc/guix.texi:31609
  46571. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  46572. msgstr ""
  46573. #. type: cindex
  46574. #: guix-git/doc/guix.texi:31611
  46575. #, no-wrap
  46576. msgid "spice"
  46577. msgstr ""
  46578. #. type: subsubheading
  46579. #: guix-git/doc/guix.texi:31612
  46580. #, no-wrap
  46581. msgid "Spice Service"
  46582. msgstr ""
  46583. #. type: Plain text
  46584. #: guix-git/doc/guix.texi:31615
  46585. msgid "The @code{(gnu services spice)} module provides the following service."
  46586. msgstr ""
  46587. #. type: deffn
  46588. #: guix-git/doc/guix.texi:31616
  46589. #, no-wrap
  46590. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  46591. msgstr ""
  46592. #. type: deffn
  46593. #: guix-git/doc/guix.texi:31620
  46594. msgid "Returns a service that runs @url{https://www.spice-space.org,VDAGENT}, a daemon that enables sharing the clipboard with a vm and setting the guest display resolution when the graphical console window resizes."
  46595. msgstr ""
  46596. #. type: cindex
  46597. #: guix-git/doc/guix.texi:31622
  46598. #, no-wrap
  46599. msgid "inputattach"
  46600. msgstr ""
  46601. #. type: subsubheading
  46602. #: guix-git/doc/guix.texi:31623
  46603. #, no-wrap
  46604. msgid "inputattach Service"
  46605. msgstr ""
  46606. #. type: cindex
  46607. #: guix-git/doc/guix.texi:31625
  46608. #, no-wrap
  46609. msgid "tablet input, for Xorg"
  46610. msgstr ""
  46611. #. type: cindex
  46612. #: guix-git/doc/guix.texi:31626
  46613. #, no-wrap
  46614. msgid "touchscreen input, for Xorg"
  46615. msgstr ""
  46616. #. type: Plain text
  46617. #: guix-git/doc/guix.texi:31630
  46618. msgid "The @uref{https://linuxwacom.github.io/, inputattach} service allows you to use input devices such as Wacom tablets, touchscreens, or joysticks with the Xorg display server."
  46619. msgstr ""
  46620. #. type: deffn
  46621. #: guix-git/doc/guix.texi:31631
  46622. #, no-wrap
  46623. msgid "{Scheme Variable} inputattach-service-type"
  46624. msgstr ""
  46625. #. type: deffn
  46626. #: guix-git/doc/guix.texi:31634
  46627. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  46628. msgstr ""
  46629. #. type: deftp
  46630. #: guix-git/doc/guix.texi:31636
  46631. #, no-wrap
  46632. msgid "{Data Type} inputattach-configuration"
  46633. msgstr ""
  46634. #. type: item
  46635. #: guix-git/doc/guix.texi:31638
  46636. #, no-wrap
  46637. msgid "@code{device-type} (default: @code{\"wacom\"})"
  46638. msgstr ""
  46639. #. type: table
  46640. #: guix-git/doc/guix.texi:31641
  46641. msgid "The type of device to connect to. Run @command{inputattach --help}, from the @code{inputattach} package, to see the list of supported device types."
  46642. msgstr ""
  46643. #. type: item
  46644. #: guix-git/doc/guix.texi:31642
  46645. #, no-wrap
  46646. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  46647. msgstr ""
  46648. #. type: table
  46649. #: guix-git/doc/guix.texi:31644
  46650. msgid "The device file to connect to the device."
  46651. msgstr ""
  46652. #. type: table
  46653. #: guix-git/doc/guix.texi:31648
  46654. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  46655. msgstr ""
  46656. #. type: item
  46657. #: guix-git/doc/guix.texi:31649
  46658. #, no-wrap
  46659. msgid "@code{log-file} (default: @code{#f})"
  46660. msgstr ""
  46661. #. type: table
  46662. #: guix-git/doc/guix.texi:31651
  46663. msgid "If true, this must be the name of a file to log messages to."
  46664. msgstr ""
  46665. #. type: subsubheading
  46666. #: guix-git/doc/guix.texi:31654
  46667. #, no-wrap
  46668. msgid "Dictionary Service"
  46669. msgstr ""
  46670. #. type: cindex
  46671. #: guix-git/doc/guix.texi:31655
  46672. #, no-wrap
  46673. msgid "dictionary"
  46674. msgstr ""
  46675. #. type: Plain text
  46676. #: guix-git/doc/guix.texi:31657
  46677. msgid "The @code{(gnu services dict)} module provides the following service:"
  46678. msgstr ""
  46679. #. type: defvr
  46680. #: guix-git/doc/guix.texi:31658
  46681. #, no-wrap
  46682. msgid "{Scheme Variable} dicod-service-type"
  46683. msgstr ""
  46684. #. type: defvr
  46685. #: guix-git/doc/guix.texi:31661
  46686. msgid "This is the type of the service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  46687. msgstr ""
  46688. #. type: deffn
  46689. #: guix-git/doc/guix.texi:31663
  46690. #, no-wrap
  46691. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  46692. msgstr ""
  46693. #. type: deffn
  46694. #: guix-git/doc/guix.texi:31666
  46695. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  46696. msgstr ""
  46697. #. type: deffn
  46698. #: guix-git/doc/guix.texi:31670
  46699. msgid "The optional @var{config} argument specifies the configuration for @command{dicod}, which should be a @code{<dicod-configuration>} object, by default it serves the GNU Collaborative International Dictionary of English."
  46700. msgstr ""
  46701. #. type: deffn
  46702. #: guix-git/doc/guix.texi:31674
  46703. msgid "You can add @command{open localhost} to your @file{~/.dico} file to make @code{localhost} the default server for @command{dico} client (@pxref{Initialization File,,, dico, GNU Dico Manual})."
  46704. msgstr ""
  46705. #. type: deftp
  46706. #: guix-git/doc/guix.texi:31676
  46707. #, no-wrap
  46708. msgid "{Data Type} dicod-configuration"
  46709. msgstr ""
  46710. #. type: deftp
  46711. #: guix-git/doc/guix.texi:31678
  46712. msgid "Data type representing the configuration of dicod."
  46713. msgstr ""
  46714. #. type: item
  46715. #: guix-git/doc/guix.texi:31680
  46716. #, no-wrap
  46717. msgid "@code{dico} (default: @var{dico})"
  46718. msgstr ""
  46719. #. type: table
  46720. #: guix-git/doc/guix.texi:31682
  46721. msgid "Package object of the GNU Dico dictionary server."
  46722. msgstr ""
  46723. #. type: item
  46724. #: guix-git/doc/guix.texi:31683
  46725. #, no-wrap
  46726. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  46727. msgstr ""
  46728. #. type: table
  46729. #: guix-git/doc/guix.texi:31687
  46730. msgid "This is the list of IP addresses and ports and possibly socket file names to listen to (@pxref{Server Settings, @code{listen} directive,, dico, GNU Dico Manual})."
  46731. msgstr ""
  46732. #. type: item
  46733. #: guix-git/doc/guix.texi:31688
  46734. #, no-wrap
  46735. msgid "@code{handlers} (default: @var{'()})"
  46736. msgstr ""
  46737. #. type: table
  46738. #: guix-git/doc/guix.texi:31690
  46739. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  46740. msgstr ""
  46741. #. type: item
  46742. #: guix-git/doc/guix.texi:31691
  46743. #, no-wrap
  46744. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  46745. msgstr ""
  46746. #. type: table
  46747. #: guix-git/doc/guix.texi:31693
  46748. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  46749. msgstr ""
  46750. #. type: deftp
  46751. #: guix-git/doc/guix.texi:31696
  46752. #, no-wrap
  46753. msgid "{Data Type} dicod-handler"
  46754. msgstr ""
  46755. #. type: deftp
  46756. #: guix-git/doc/guix.texi:31698
  46757. msgid "Data type representing a dictionary handler (module instance)."
  46758. msgstr ""
  46759. #. type: table
  46760. #: guix-git/doc/guix.texi:31702
  46761. msgid "Name of the handler (module instance)."
  46762. msgstr ""
  46763. #. type: item
  46764. #: guix-git/doc/guix.texi:31703
  46765. #, no-wrap
  46766. msgid "@code{module} (default: @var{#f})"
  46767. msgstr ""
  46768. #. type: table
  46769. #: guix-git/doc/guix.texi:31707
  46770. msgid "Name of the dicod module of the handler (instance). If it is @code{#f}, the module has the same name as the handler. (@pxref{Modules,,, dico, GNU Dico Manual})."
  46771. msgstr ""
  46772. #. type: table
  46773. #: guix-git/doc/guix.texi:31710
  46774. msgid "List of strings or gexps representing the arguments for the module handler"
  46775. msgstr ""
  46776. #. type: deftp
  46777. #: guix-git/doc/guix.texi:31713
  46778. #, no-wrap
  46779. msgid "{Data Type} dicod-database"
  46780. msgstr ""
  46781. #. type: deftp
  46782. #: guix-git/doc/guix.texi:31715
  46783. msgid "Data type representing a dictionary database."
  46784. msgstr ""
  46785. #. type: table
  46786. #: guix-git/doc/guix.texi:31719
  46787. msgid "Name of the database, will be used in DICT commands."
  46788. msgstr ""
  46789. #. type: code{#1}
  46790. #: guix-git/doc/guix.texi:31720
  46791. #, no-wrap
  46792. msgid "handler"
  46793. msgstr ""
  46794. #. type: table
  46795. #: guix-git/doc/guix.texi:31723
  46796. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  46797. msgstr ""
  46798. #. type: item
  46799. #: guix-git/doc/guix.texi:31724
  46800. #, no-wrap
  46801. msgid "@code{complex?} (default: @var{#f})"
  46802. msgstr ""
  46803. #. type: table
  46804. #: guix-git/doc/guix.texi:31727
  46805. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  46806. msgstr ""
  46807. #. type: table
  46808. #: guix-git/doc/guix.texi:31731
  46809. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  46810. msgstr ""
  46811. #. type: defvr
  46812. #: guix-git/doc/guix.texi:31734
  46813. #, no-wrap
  46814. msgid "{Scheme Variable} %dicod-database:gcide"
  46815. msgstr ""
  46816. #. type: defvr
  46817. #: guix-git/doc/guix.texi:31737
  46818. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  46819. msgstr ""
  46820. #. type: Plain text
  46821. #: guix-git/doc/guix.texi:31740
  46822. msgid "The following is an example @code{dicod-service} configuration."
  46823. msgstr ""
  46824. #. type: lisp
  46825. #: guix-git/doc/guix.texi:31755
  46826. #, no-wrap
  46827. msgid ""
  46828. "(dicod-service #:config\n"
  46829. " (dicod-configuration\n"
  46830. " (handlers (list (dicod-handler\n"
  46831. " (name \"wordnet\")\n"
  46832. " (module \"dictorg\")\n"
  46833. " (options\n"
  46834. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  46835. " (databases (list (dicod-database\n"
  46836. " (name \"wordnet\")\n"
  46837. " (complex? #t)\n"
  46838. " (handler \"wordnet\")\n"
  46839. " (options '(\"database=wn\")))\n"
  46840. " %dicod-database:gcide))))\n"
  46841. msgstr ""
  46842. #. type: cindex
  46843. #: guix-git/doc/guix.texi:31757
  46844. #, no-wrap
  46845. msgid "Docker"
  46846. msgstr ""
  46847. #. type: subsubheading
  46848. #: guix-git/doc/guix.texi:31758
  46849. #, no-wrap
  46850. msgid "Docker Service"
  46851. msgstr ""
  46852. #. type: Plain text
  46853. #: guix-git/doc/guix.texi:31761
  46854. msgid "The @code{(gnu services docker)} module provides the following services."
  46855. msgstr ""
  46856. #. type: defvr
  46857. #: guix-git/doc/guix.texi:31762
  46858. #, no-wrap
  46859. msgid "{Scheme Variable} docker-service-type"
  46860. msgstr ""
  46861. #. type: defvr
  46862. #: guix-git/doc/guix.texi:31767
  46863. msgid "This is the type of the service that runs @url{https://www.docker.com,Docker}, a daemon that can execute application bundles (sometimes referred to as ``containers'') in isolated environments."
  46864. msgstr ""
  46865. #. type: deftp
  46866. #: guix-git/doc/guix.texi:31770
  46867. #, no-wrap
  46868. msgid "{Data Type} docker-configuration"
  46869. msgstr ""
  46870. #. type: deftp
  46871. #: guix-git/doc/guix.texi:31772
  46872. msgid "This is the data type representing the configuration of Docker and Containerd."
  46873. msgstr ""
  46874. #. type: item
  46875. #: guix-git/doc/guix.texi:31775
  46876. #, no-wrap
  46877. msgid "@code{package} (default: @code{docker})"
  46878. msgstr ""
  46879. #. type: table
  46880. #: guix-git/doc/guix.texi:31777
  46881. msgid "The Docker daemon package to use."
  46882. msgstr ""
  46883. #. type: item
  46884. #: guix-git/doc/guix.texi:31778
  46885. #, no-wrap
  46886. msgid "@code{package} (default: @code{docker-cli})"
  46887. msgstr ""
  46888. #. type: table
  46889. #: guix-git/doc/guix.texi:31780
  46890. msgid "The Docker client package to use."
  46891. msgstr ""
  46892. #. type: item
  46893. #: guix-git/doc/guix.texi:31781
  46894. #, no-wrap
  46895. msgid "@code{containerd} (default: @var{containerd})"
  46896. msgstr ""
  46897. #. type: table
  46898. #: guix-git/doc/guix.texi:31783
  46899. msgid "The Containerd package to use."
  46900. msgstr ""
  46901. #. type: item
  46902. #: guix-git/doc/guix.texi:31784
  46903. #, no-wrap
  46904. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  46905. msgstr ""
  46906. #. type: table
  46907. #: guix-git/doc/guix.texi:31786
  46908. msgid "The Docker user-land networking proxy package to use."
  46909. msgstr ""
  46910. #. type: item
  46911. #: guix-git/doc/guix.texi:31787
  46912. #, no-wrap
  46913. msgid "@code{enable-proxy?} (default @code{#t})"
  46914. msgstr ""
  46915. #. type: table
  46916. #: guix-git/doc/guix.texi:31789
  46917. msgid "Enable or disable the use of the Docker user-land networking proxy."
  46918. msgstr ""
  46919. #. type: item
  46920. #: guix-git/doc/guix.texi:31790
  46921. #, no-wrap
  46922. msgid "@code{debug?} (default @code{#f})"
  46923. msgstr ""
  46924. #. type: table
  46925. #: guix-git/doc/guix.texi:31792
  46926. msgid "Enable or disable debug output."
  46927. msgstr ""
  46928. #. type: item
  46929. #: guix-git/doc/guix.texi:31793
  46930. #, no-wrap
  46931. msgid "@code{enable-iptables?} (default @code{#t})"
  46932. msgstr ""
  46933. #. type: table
  46934. #: guix-git/doc/guix.texi:31795
  46935. msgid "Enable or disable the addition of iptables rules."
  46936. msgstr ""
  46937. #. type: cindex
  46938. #: guix-git/doc/guix.texi:31799
  46939. #, no-wrap
  46940. msgid "Singularity, container service"
  46941. msgstr ""
  46942. #. type: defvr
  46943. #: guix-git/doc/guix.texi:31800
  46944. #, no-wrap
  46945. msgid "{Scheme Variable} singularity-service-type"
  46946. msgstr ""
  46947. #. type: defvr
  46948. #: guix-git/doc/guix.texi:31805
  46949. msgid "This is the type of the service that allows you to run @url{https://www.sylabs.io/singularity/, Singularity}, a Docker-style tool to create and run application bundles (aka. ``containers''). The value for this service is the Singularity package to use."
  46950. msgstr ""
  46951. #. type: defvr
  46952. #: guix-git/doc/guix.texi:31809
  46953. msgid "The service does not install a daemon; instead, it installs helper programs as setuid-root (@pxref{Setuid Programs}) such that unprivileged users can invoke @command{singularity run} and similar commands."
  46954. msgstr ""
  46955. #. type: cindex
  46956. #: guix-git/doc/guix.texi:31811
  46957. #, no-wrap
  46958. msgid "Audit"
  46959. msgstr ""
  46960. #. type: subsubheading
  46961. #: guix-git/doc/guix.texi:31812
  46962. #, no-wrap
  46963. msgid "Auditd Service"
  46964. msgstr ""
  46965. #. type: Plain text
  46966. #: guix-git/doc/guix.texi:31815
  46967. msgid "The @code{(gnu services auditd)} module provides the following service."
  46968. msgstr ""
  46969. #. type: defvr
  46970. #: guix-git/doc/guix.texi:31816
  46971. #, no-wrap
  46972. msgid "{Scheme Variable} auditd-service-type"
  46973. msgstr ""
  46974. #. type: defvr
  46975. #: guix-git/doc/guix.texi:31821
  46976. msgid "This is the type of the service that runs @url{https://people.redhat.com/sgrubb/audit/,auditd}, a daemon that tracks security-relevant information on your system."
  46977. msgstr ""
  46978. #. type: defvr
  46979. #: guix-git/doc/guix.texi:31823
  46980. msgid "Examples of things that can be tracked:"
  46981. msgstr ""
  46982. #. type: enumerate
  46983. #: guix-git/doc/guix.texi:31827
  46984. msgid "File accesses"
  46985. msgstr ""
  46986. #. type: enumerate
  46987. #: guix-git/doc/guix.texi:31829
  46988. msgid "System calls"
  46989. msgstr ""
  46990. #. type: enumerate
  46991. #: guix-git/doc/guix.texi:31831
  46992. msgid "Invoked commands"
  46993. msgstr ""
  46994. #. type: enumerate
  46995. #: guix-git/doc/guix.texi:31833
  46996. msgid "Failed login attempts"
  46997. msgstr ""
  46998. #. type: enumerate
  46999. #: guix-git/doc/guix.texi:31835
  47000. msgid "Firewall filtering"
  47001. msgstr ""
  47002. #. type: enumerate
  47003. #: guix-git/doc/guix.texi:31837
  47004. msgid "Network access"
  47005. msgstr ""
  47006. #. type: defvr
  47007. #: guix-git/doc/guix.texi:31848
  47008. msgid "@command{auditctl} from the @code{audit} package can be used in order to add or remove events to be tracked (until the next reboot). In order to permanently track events, put the command line arguments of auditctl into a file called @code{audit.rules} in the configuration directory (see below). @command{aureport} from the @code{audit} package can be used in order to view a report of all recorded events. The audit daemon by default logs into the file @file{/var/log/audit.log}."
  47009. msgstr ""
  47010. #. type: deftp
  47011. #: guix-git/doc/guix.texi:31851
  47012. #, no-wrap
  47013. msgid "{Data Type} auditd-configuration"
  47014. msgstr ""
  47015. #. type: deftp
  47016. #: guix-git/doc/guix.texi:31853
  47017. msgid "This is the data type representing the configuration of auditd."
  47018. msgstr ""
  47019. #. type: item
  47020. #: guix-git/doc/guix.texi:31856
  47021. #, no-wrap
  47022. msgid "@code{audit} (default: @code{audit})"
  47023. msgstr ""
  47024. #. type: table
  47025. #: guix-git/doc/guix.texi:31858
  47026. msgid "The audit package to use."
  47027. msgstr ""
  47028. #. type: item
  47029. #: guix-git/doc/guix.texi:31859
  47030. #, no-wrap
  47031. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  47032. msgstr ""
  47033. #. type: table
  47034. #: guix-git/doc/guix.texi:31863
  47035. msgid "The directory containing the configuration file for the audit package, which must be named @code{auditd.conf}, and optionally some audit rules to instantiate on startup."
  47036. msgstr ""
  47037. #. type: cindex
  47038. #: guix-git/doc/guix.texi:31867
  47039. #, no-wrap
  47040. msgid "rshiny"
  47041. msgstr ""
  47042. #. type: subsubheading
  47043. #: guix-git/doc/guix.texi:31868
  47044. #, no-wrap
  47045. msgid "R-Shiny service"
  47046. msgstr ""
  47047. #. type: Plain text
  47048. #: guix-git/doc/guix.texi:31871
  47049. msgid "The @code{(gnu services science)} module provides the following service."
  47050. msgstr ""
  47051. #. type: defvr
  47052. #: guix-git/doc/guix.texi:31872
  47053. #, no-wrap
  47054. msgid "{Scheme Variable} rshiny-service-type"
  47055. msgstr ""
  47056. #. type: defvr
  47057. #: guix-git/doc/guix.texi:31877
  47058. msgid "This is a type of service which is used to run a webapp created with @code{r-shiny}. This service sets the @env{R_LIBS_USER} environment variable and runs the provided script to call @code{runApp}."
  47059. msgstr ""
  47060. #. type: deftp
  47061. #: guix-git/doc/guix.texi:31878
  47062. #, no-wrap
  47063. msgid "{Data Type} rshiny-configuration"
  47064. msgstr ""
  47065. #. type: deftp
  47066. #: guix-git/doc/guix.texi:31880
  47067. msgid "This is the data type representing the configuration of rshiny."
  47068. msgstr ""
  47069. #. type: item
  47070. #: guix-git/doc/guix.texi:31883
  47071. #, no-wrap
  47072. msgid "@code{package} (default: @code{r-shiny})"
  47073. msgstr ""
  47074. #. type: table
  47075. #: guix-git/doc/guix.texi:31885
  47076. msgid "The package to use."
  47077. msgstr ""
  47078. #. type: item
  47079. #: guix-git/doc/guix.texi:31886
  47080. #, no-wrap
  47081. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  47082. msgstr ""
  47083. #. type: table
  47084. #: guix-git/doc/guix.texi:31889
  47085. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  47086. msgstr ""
  47087. #. type: table
  47088. #: guix-git/doc/guix.texi:31891
  47089. msgid "The common way to create this file is as follows:"
  47090. msgstr ""
  47091. #. type: lisp
  47092. #: guix-git/doc/guix.texi:31909
  47093. #, no-wrap
  47094. msgid ""
  47095. "@dots{}\n"
  47096. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  47097. " (targetdir (string-append out \"/share/\" ,name))\n"
  47098. " (app (string-append out \"/bin/\" ,name))\n"
  47099. " (Rbin (string-append (assoc-ref %build-inputs \"r-min\")\n"
  47100. " \"/bin/Rscript\")))\n"
  47101. " ;; @dots{}\n"
  47102. " (mkdir-p (string-append out \"/bin\"))\n"
  47103. " (call-with-output-file app\n"
  47104. " (lambda (port)\n"
  47105. " (format port\n"
  47106. "\"#!~a\n"
  47107. "library(shiny)\n"
  47108. "setwd(\\\"~a\\\")\n"
  47109. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  47110. " Rbin targetdir))))\n"
  47111. msgstr ""
  47112. #. type: cindex
  47113. #: guix-git/doc/guix.texi:31915
  47114. #, no-wrap
  47115. msgid "Nix"
  47116. msgstr ""
  47117. #. type: subsubheading
  47118. #: guix-git/doc/guix.texi:31916
  47119. #, no-wrap
  47120. msgid "Nix service"
  47121. msgstr ""
  47122. #. type: Plain text
  47123. #: guix-git/doc/guix.texi:31919
  47124. msgid "The @code{(gnu services nix)} module provides the following service."
  47125. msgstr ""
  47126. #. type: defvr
  47127. #: guix-git/doc/guix.texi:31920
  47128. #, no-wrap
  47129. msgid "{Scheme Variable} nix-service-type"
  47130. msgstr ""
  47131. #. type: defvr
  47132. #: guix-git/doc/guix.texi:31925
  47133. msgid "This is the type of the service that runs build daemon of the @url{https://nixos.org/nix/, Nix} package manager. Here is an example showing how to use it:"
  47134. msgstr ""
  47135. #. type: lisp
  47136. #: guix-git/doc/guix.texi:31930
  47137. #, no-wrap
  47138. msgid ""
  47139. "(use-modules (gnu))\n"
  47140. "(use-service-modules nix)\n"
  47141. "(use-package-modules package-management)\n"
  47142. "\n"
  47143. msgstr ""
  47144. #. type: lisp
  47145. #: guix-git/doc/guix.texi:31935
  47146. #, no-wrap
  47147. msgid ""
  47148. "(operating-system\n"
  47149. " ;; @dots{}\n"
  47150. " (packages (append (list nix)\n"
  47151. " %base-packages))\n"
  47152. "\n"
  47153. msgstr ""
  47154. #. type: lisp
  47155. #: guix-git/doc/guix.texi:31938
  47156. #, no-wrap
  47157. msgid ""
  47158. " (services (append (list (service nix-service-type))\n"
  47159. " %base-services)))\n"
  47160. msgstr ""
  47161. #. type: defvr
  47162. #: guix-git/doc/guix.texi:31941
  47163. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  47164. msgstr ""
  47165. #. type: item
  47166. #: guix-git/doc/guix.texi:31943
  47167. #, no-wrap
  47168. msgid "Add a Nix channel and update it. See"
  47169. msgstr ""
  47170. #. type: itemize
  47171. #: guix-git/doc/guix.texi:31945
  47172. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  47173. msgstr ""
  47174. #. type: item
  47175. #: guix-git/doc/guix.texi:31946
  47176. #, no-wrap
  47177. msgid "Create a symlink to your profile and activate Nix profile:"
  47178. msgstr ""
  47179. #. type: example
  47180. #: guix-git/doc/guix.texi:31952
  47181. #, no-wrap
  47182. msgid ""
  47183. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  47184. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  47185. msgstr ""
  47186. #. type: deftp
  47187. #: guix-git/doc/guix.texi:31956
  47188. #, no-wrap
  47189. msgid "{Data Type} nix-configuration"
  47190. msgstr ""
  47191. #. type: deftp
  47192. #: guix-git/doc/guix.texi:31958
  47193. msgid "This data type represents the configuration of the Nix daemon."
  47194. msgstr ""
  47195. #. type: item
  47196. #: guix-git/doc/guix.texi:31960
  47197. #, no-wrap
  47198. msgid "@code{nix} (default: @code{nix})"
  47199. msgstr ""
  47200. #. type: table
  47201. #: guix-git/doc/guix.texi:31962
  47202. msgid "The Nix package to use."
  47203. msgstr ""
  47204. #. type: item
  47205. #: guix-git/doc/guix.texi:31963
  47206. #, no-wrap
  47207. msgid "@code{sandbox} (default: @code{#t})"
  47208. msgstr ""
  47209. #. type: table
  47210. #: guix-git/doc/guix.texi:31965
  47211. msgid "Specifies whether builds are sandboxed by default."
  47212. msgstr ""
  47213. #. type: item
  47214. #: guix-git/doc/guix.texi:31966
  47215. #, no-wrap
  47216. msgid "@code{build-sandbox-items} (default: @code{'()})"
  47217. msgstr ""
  47218. #. type: table
  47219. #: guix-git/doc/guix.texi:31969
  47220. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  47221. msgstr ""
  47222. #. type: table
  47223. #: guix-git/doc/guix.texi:31977
  47224. msgid "Extra command line options for @code{nix-service-type}."
  47225. msgstr ""
  47226. #. type: cindex
  47227. #: guix-git/doc/guix.texi:31983
  47228. #, no-wrap
  47229. msgid "setuid programs"
  47230. msgstr ""
  47231. #. type: Plain text
  47232. #: guix-git/doc/guix.texi:31993
  47233. msgid "Some programs need to run with ``root'' privileges, even when they are launched by unprivileged users. A notorious example is the @command{passwd} program, which users can run to change their password, and which needs to access the @file{/etc/passwd} and @file{/etc/shadow} files---something normally restricted to root, for obvious security reasons. To address that, these executables are @dfn{setuid-root}, meaning that they always run with root privileges (@pxref{How Change Persona,,, libc, The GNU C Library Reference Manual}, for more info about the setuid mechanism)."
  47234. msgstr ""
  47235. #. type: Plain text
  47236. #: guix-git/doc/guix.texi:32000
  47237. msgid "The store itself @emph{cannot} contain setuid programs: that would be a security issue since any user on the system can write derivations that populate the store (@pxref{The Store}). Thus, a different mechanism is used: instead of changing the setuid bit directly on files that are in the store, we let the system administrator @emph{declare} which programs should be setuid root."
  47238. msgstr ""
  47239. #. type: Plain text
  47240. #: guix-git/doc/guix.texi:32006
  47241. msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of G-expressions denoting the names of programs to be setuid-root (@pxref{Using the Configuration System}). For instance, the @command{passwd} program, which is part of the Shadow package, can be designated by this G-expression (@pxref{G-Expressions}):"
  47242. msgstr ""
  47243. #. type: example
  47244. #: guix-git/doc/guix.texi:32009
  47245. #, no-wrap
  47246. msgid "#~(string-append #$shadow \"/bin/passwd\")\n"
  47247. msgstr ""
  47248. #. type: Plain text
  47249. #: guix-git/doc/guix.texi:32013
  47250. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  47251. msgstr ""
  47252. #. type: defvr
  47253. #: guix-git/doc/guix.texi:32014
  47254. #, no-wrap
  47255. msgid "{Scheme Variable} %setuid-programs"
  47256. msgstr ""
  47257. #. type: defvr
  47258. #: guix-git/doc/guix.texi:32016
  47259. msgid "A list of G-expressions denoting common programs that are setuid-root."
  47260. msgstr ""
  47261. #. type: defvr
  47262. #: guix-git/doc/guix.texi:32019
  47263. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  47264. msgstr ""
  47265. #. type: Plain text
  47266. #: guix-git/doc/guix.texi:32025
  47267. msgid "Under the hood, the actual setuid programs are created in the @file{/run/setuid-programs} directory at system activation time. The files in this directory refer to the ``real'' binaries, which are in the store."
  47268. msgstr ""
  47269. #. type: cindex
  47270. #: guix-git/doc/guix.texi:32029
  47271. #, no-wrap
  47272. msgid "HTTPS, certificates"
  47273. msgstr ""
  47274. #. type: cindex
  47275. #: guix-git/doc/guix.texi:32030
  47276. #, no-wrap
  47277. msgid "X.509 certificates"
  47278. msgstr ""
  47279. #. type: cindex
  47280. #: guix-git/doc/guix.texi:32031
  47281. #, no-wrap
  47282. msgid "TLS"
  47283. msgstr ""
  47284. #. type: Plain text
  47285. #: guix-git/doc/guix.texi:32038
  47286. msgid "Web servers available over HTTPS (that is, HTTP over the transport-layer security mechanism, TLS) send client programs an @dfn{X.509 certificate} that the client can then use to @emph{authenticate} the server. To do that, clients verify that the server's certificate is signed by a so-called @dfn{certificate authority} (CA). But to verify the CA's signature, clients must have first acquired the CA's certificate."
  47287. msgstr ""
  47288. #. type: Plain text
  47289. #: guix-git/doc/guix.texi:32042
  47290. msgid "Web browsers such as GNU@tie{}IceCat include their own set of CA certificates, such that they are able to verify CA signatures out-of-the-box."
  47291. msgstr ""
  47292. #. type: Plain text
  47293. #: guix-git/doc/guix.texi:32046
  47294. msgid "However, most other programs that can talk HTTPS---@command{wget}, @command{git}, @command{w3m}, etc.---need to be told where CA certificates can be found."
  47295. msgstr ""
  47296. #. type: Plain text
  47297. #: guix-git/doc/guix.texi:32053
  47298. msgid "In Guix, this is done by adding a package that provides certificates to the @code{packages} field of the @code{operating-system} declaration (@pxref{operating-system Reference}). Guix includes one such package, @code{nss-certs}, which is a set of CA certificates provided as part of Mozilla's Network Security Services."
  47299. msgstr ""
  47300. #. type: Plain text
  47301. #: guix-git/doc/guix.texi:32058
  47302. msgid "Note that it is @emph{not} part of @code{%base-packages}, so you need to explicitly add it. The @file{/etc/ssl/certs} directory, which is where most applications and libraries look for certificates by default, points to the certificates installed globally."
  47303. msgstr ""
  47304. #. type: Plain text
  47305. #: guix-git/doc/guix.texi:32068
  47306. msgid "Unprivileged users, including users of Guix on a foreign distro, can also install their own certificate package in their profile. A number of environment variables need to be defined so that applications and libraries know where to find them. Namely, the OpenSSL library honors the @env{SSL_CERT_DIR} and @env{SSL_CERT_FILE} variables. Some applications add their own environment variables; for instance, the Git version control system honors the certificate bundle pointed to by the @env{GIT_SSL_CAINFO} environment variable. Thus, you would typically run something like:"
  47307. msgstr ""
  47308. #. type: example
  47309. #: guix-git/doc/guix.texi:32074
  47310. #, no-wrap
  47311. msgid ""
  47312. "guix install nss-certs\n"
  47313. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  47314. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  47315. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  47316. msgstr ""
  47317. #. type: Plain text
  47318. #: guix-git/doc/guix.texi:32079
  47319. msgid "As another example, R requires the @env{CURL_CA_BUNDLE} environment variable to point to a certificate bundle, so you would have to run something like this:"
  47320. msgstr ""
  47321. #. type: example
  47322. #: guix-git/doc/guix.texi:32083
  47323. #, no-wrap
  47324. msgid ""
  47325. "guix install nss-certs\n"
  47326. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  47327. msgstr ""
  47328. #. type: Plain text
  47329. #: guix-git/doc/guix.texi:32087
  47330. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  47331. msgstr ""
  47332. #. type: cindex
  47333. #: guix-git/doc/guix.texi:32092
  47334. #, no-wrap
  47335. msgid "name service switch"
  47336. msgstr ""
  47337. #. type: cindex
  47338. #: guix-git/doc/guix.texi:32093
  47339. #, no-wrap
  47340. msgid "NSS"
  47341. msgstr ""
  47342. #. type: Plain text
  47343. #: guix-git/doc/guix.texi:32102
  47344. msgid "The @code{(gnu system nss)} module provides bindings to the configuration file of the libc @dfn{name service switch} or @dfn{NSS} (@pxref{NSS Configuration File,,, libc, The GNU C Library Reference Manual}). In a nutshell, the NSS is a mechanism that allows libc to be extended with new ``name'' lookup methods for system databases, which includes host names, service names, user accounts, and more (@pxref{Name Service Switch, System Databases and Name Service Switch,, libc, The GNU C Library Reference Manual})."
  47345. msgstr ""
  47346. #. type: Plain text
  47347. #: guix-git/doc/guix.texi:32109
  47348. msgid "The NSS configuration specifies, for each system database, which lookup method is to be used, and how the various methods are chained together---for instance, under which circumstances NSS should try the next method in the list. The NSS configuration is given in the @code{name-service-switch} field of @code{operating-system} declarations (@pxref{operating-system Reference, @code{name-service-switch}})."
  47349. msgstr ""
  47350. #. type: cindex
  47351. #: guix-git/doc/guix.texi:32110
  47352. #, no-wrap
  47353. msgid "nss-mdns"
  47354. msgstr ""
  47355. #. type: cindex
  47356. #: guix-git/doc/guix.texi:32111
  47357. #, no-wrap
  47358. msgid ".local, host name lookup"
  47359. msgstr ""
  47360. #. type: Plain text
  47361. #: guix-git/doc/guix.texi:32116
  47362. msgid "As an example, the declaration below configures the NSS to use the @uref{https://0pointer.de/lennart/projects/nss-mdns/, @code{nss-mdns} back-end}, which supports host name lookups over multicast DNS (mDNS) for host names ending in @code{.local}:"
  47363. msgstr ""
  47364. #. type: lisp
  47365. #: guix-git/doc/guix.texi:32120
  47366. #, no-wrap
  47367. msgid ""
  47368. "(name-service-switch\n"
  47369. " (hosts (list %files ;first, check /etc/hosts\n"
  47370. "\n"
  47371. msgstr ""
  47372. #. type: lisp
  47373. #: guix-git/doc/guix.texi:32125
  47374. #, no-wrap
  47375. msgid ""
  47376. " ;; If the above did not succeed, try\n"
  47377. " ;; with 'mdns_minimal'.\n"
  47378. " (name-service\n"
  47379. " (name \"mdns_minimal\")\n"
  47380. "\n"
  47381. msgstr ""
  47382. #. type: lisp
  47383. #: guix-git/doc/guix.texi:32131
  47384. #, no-wrap
  47385. msgid ""
  47386. " ;; 'mdns_minimal' is authoritative for\n"
  47387. " ;; '.local'. When it returns \"not found\",\n"
  47388. " ;; no need to try the next methods.\n"
  47389. " (reaction (lookup-specification\n"
  47390. " (not-found => return))))\n"
  47391. "\n"
  47392. msgstr ""
  47393. #. type: lisp
  47394. #: guix-git/doc/guix.texi:32135
  47395. #, no-wrap
  47396. msgid ""
  47397. " ;; Then fall back to DNS.\n"
  47398. " (name-service\n"
  47399. " (name \"dns\"))\n"
  47400. "\n"
  47401. msgstr ""
  47402. #. type: lisp
  47403. #: guix-git/doc/guix.texi:32139
  47404. #, no-wrap
  47405. msgid ""
  47406. " ;; Finally, try with the \"full\" 'mdns'.\n"
  47407. " (name-service\n"
  47408. " (name \"mdns\")))))\n"
  47409. msgstr ""
  47410. #. type: Plain text
  47411. #: guix-git/doc/guix.texi:32144
  47412. msgid "Do not worry: the @code{%mdns-host-lookup-nss} variable (see below) contains this configuration, so you will not have to type it if all you want is to have @code{.local} host lookup working."
  47413. msgstr ""
  47414. #. type: Plain text
  47415. #: guix-git/doc/guix.texi:32152
  47416. msgid "Note that, in this case, in addition to setting the @code{name-service-switch} of the @code{operating-system} declaration, you also need to use @code{avahi-service-type} (@pxref{Networking Services, @code{avahi-service-type}}), or @code{%desktop-services}, which includes it (@pxref{Desktop Services}). Doing this makes @code{nss-mdns} accessible to the name service cache daemon (@pxref{Base Services, @code{nscd-service}})."
  47417. msgstr ""
  47418. #. type: Plain text
  47419. #: guix-git/doc/guix.texi:32155
  47420. msgid "For convenience, the following variables provide typical NSS configurations."
  47421. msgstr ""
  47422. #. type: defvr
  47423. #: guix-git/doc/guix.texi:32156
  47424. #, no-wrap
  47425. msgid "{Scheme Variable} %default-nss"
  47426. msgstr ""
  47427. #. type: defvr
  47428. #: guix-git/doc/guix.texi:32159
  47429. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  47430. msgstr ""
  47431. #. type: defvr
  47432. #: guix-git/doc/guix.texi:32161
  47433. #, no-wrap
  47434. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  47435. msgstr ""
  47436. #. type: defvr
  47437. #: guix-git/doc/guix.texi:32164
  47438. msgid "This is the name service switch configuration with support for host name lookup over multicast DNS (mDNS) for host names ending in @code{.local}."
  47439. msgstr ""
  47440. #. type: Plain text
  47441. #: guix-git/doc/guix.texi:32174
  47442. msgid "The reference for name service switch configuration is given below. It is a direct mapping of the configuration file format of the C library , so please refer to the C library manual for more information (@pxref{NSS Configuration File,,, libc, The GNU C Library Reference Manual}). Compared to the configuration file format of libc NSS, it has the advantage not only of adding this warm parenthetic feel that we like, but also static checks: you will know about syntax errors and typos as soon as you run @command{guix system}."
  47443. msgstr ""
  47444. #. type: deftp
  47445. #: guix-git/doc/guix.texi:32175
  47446. #, no-wrap
  47447. msgid "{Data Type} name-service-switch"
  47448. msgstr ""
  47449. #. type: deftp
  47450. #: guix-git/doc/guix.texi:32180
  47451. msgid "This is the data type representation the configuration of libc's name service switch (NSS). Each field below represents one of the supported system databases."
  47452. msgstr ""
  47453. #. type: item
  47454. #: guix-git/doc/guix.texi:32182
  47455. #, no-wrap
  47456. msgid "aliases"
  47457. msgstr ""
  47458. #. type: itemx
  47459. #: guix-git/doc/guix.texi:32183
  47460. #, no-wrap
  47461. msgid "ethers"
  47462. msgstr ""
  47463. #. type: itemx
  47464. #: guix-git/doc/guix.texi:32185
  47465. #, no-wrap
  47466. msgid "gshadow"
  47467. msgstr ""
  47468. #. type: itemx
  47469. #: guix-git/doc/guix.texi:32186
  47470. #, no-wrap
  47471. msgid "hosts"
  47472. msgstr ""
  47473. #. type: itemx
  47474. #: guix-git/doc/guix.texi:32187
  47475. #, no-wrap
  47476. msgid "initgroups"
  47477. msgstr ""
  47478. #. type: itemx
  47479. #: guix-git/doc/guix.texi:32188
  47480. #, no-wrap
  47481. msgid "netgroup"
  47482. msgstr ""
  47483. #. type: itemx
  47484. #: guix-git/doc/guix.texi:32189
  47485. #, no-wrap
  47486. msgid "networks"
  47487. msgstr ""
  47488. #. type: itemx
  47489. #: guix-git/doc/guix.texi:32192
  47490. #, no-wrap
  47491. msgid "rpc"
  47492. msgstr ""
  47493. #. type: itemx
  47494. #: guix-git/doc/guix.texi:32194
  47495. #, no-wrap
  47496. msgid "shadow"
  47497. msgstr ""
  47498. #. type: table
  47499. #: guix-git/doc/guix.texi:32197
  47500. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  47501. msgstr ""
  47502. #. type: deftp
  47503. #: guix-git/doc/guix.texi:32200
  47504. #, no-wrap
  47505. msgid "{Data Type} name-service"
  47506. msgstr ""
  47507. #. type: deftp
  47508. #: guix-git/doc/guix.texi:32204
  47509. msgid "This is the data type representing an actual name service and the associated lookup action."
  47510. msgstr ""
  47511. #. type: table
  47512. #: guix-git/doc/guix.texi:32209
  47513. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  47514. msgstr ""
  47515. #. type: table
  47516. #: guix-git/doc/guix.texi:32214
  47517. msgid "Note that name services listed here must be visible to nscd. This is achieved by passing the @code{#:name-services} argument to @code{nscd-service} the list of packages providing the needed name services (@pxref{Base Services, @code{nscd-service}})."
  47518. msgstr ""
  47519. #. type: item
  47520. #: guix-git/doc/guix.texi:32215
  47521. #, no-wrap
  47522. msgid "reaction"
  47523. msgstr ""
  47524. #. type: table
  47525. #: guix-git/doc/guix.texi:32219
  47526. msgid "An action specified using the @code{lookup-specification} macro (@pxref{Actions in the NSS configuration,,, libc, The GNU C Library Reference Manual}). For example:"
  47527. msgstr ""
  47528. #. type: lisp
  47529. #: guix-git/doc/guix.texi:32223
  47530. #, no-wrap
  47531. msgid ""
  47532. "(lookup-specification (unavailable => continue)\n"
  47533. " (success => return))\n"
  47534. msgstr ""
  47535. #. type: Plain text
  47536. #: guix-git/doc/guix.texi:32237
  47537. msgid "For bootstrapping purposes, the Linux-Libre kernel is passed an @dfn{initial RAM disk}, or @dfn{initrd}. An initrd contains a temporary root file system as well as an initialization script. The latter is responsible for mounting the real root file system, and for loading any kernel modules that may be needed to achieve that."
  47538. msgstr ""
  47539. #. type: Plain text
  47540. #: guix-git/doc/guix.texi:32246
  47541. msgid "The @code{initrd-modules} field of an @code{operating-system} declaration allows you to specify Linux-libre kernel modules that must be available in the initrd. In particular, this is where you would list modules needed to actually drive the hard disk where your root partition is---although the default value of @code{initrd-modules} should cover most use cases. For example, assuming you need the @code{megaraid_sas} module in addition to the default modules to be able to access your root file system, you would write:"
  47542. msgstr ""
  47543. #. type: lisp
  47544. #: guix-git/doc/guix.texi:32251
  47545. #, no-wrap
  47546. msgid ""
  47547. "(operating-system\n"
  47548. " ;; @dots{}\n"
  47549. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  47550. msgstr ""
  47551. #. type: defvr
  47552. #: guix-git/doc/guix.texi:32253
  47553. #, no-wrap
  47554. msgid "{Scheme Variable} %base-initrd-modules"
  47555. msgstr ""
  47556. #. type: defvr
  47557. #: guix-git/doc/guix.texi:32255
  47558. msgid "This is the list of kernel modules included in the initrd by default."
  47559. msgstr ""
  47560. #. type: Plain text
  47561. #: guix-git/doc/guix.texi:32263
  47562. msgid "Furthermore, if you need lower-level customization, the @code{initrd} field of an @code{operating-system} declaration allows you to specify which initrd you would like to use. The @code{(gnu system linux-initrd)} module provides three ways to build an initrd: the high-level @code{base-initrd} procedure and the low-level @code{raw-initrd} and @code{expression->initrd} procedures."
  47563. msgstr ""
  47564. #. type: Plain text
  47565. #: guix-git/doc/guix.texi:32268
  47566. msgid "The @code{base-initrd} procedure is intended to cover most common uses. For example, if you want to add a bunch of kernel modules to be loaded at boot time, you can define the @code{initrd} field of the operating system declaration like this:"
  47567. msgstr ""
  47568. #. type: lisp
  47569. #: guix-git/doc/guix.texi:32276
  47570. #, no-wrap
  47571. msgid ""
  47572. "(initrd (lambda (file-systems . rest)\n"
  47573. " ;; Create a standard initrd but set up networking\n"
  47574. " ;; with the parameters QEMU expects by default.\n"
  47575. " (apply base-initrd file-systems\n"
  47576. " #:qemu-networking? #t\n"
  47577. " rest)))\n"
  47578. msgstr ""
  47579. #. type: Plain text
  47580. #: guix-git/doc/guix.texi:32281
  47581. msgid "The @code{base-initrd} procedure also handles common use cases that involves using the system as a QEMU guest, or as a ``live'' system with volatile root file system."
  47582. msgstr ""
  47583. #. type: Plain text
  47584. #: guix-git/doc/guix.texi:32288
  47585. msgid "The @code{base-initrd} procedure is built from @code{raw-initrd} procedure. Unlike @code{base-initrd}, @code{raw-initrd} doesn't do anything high-level, such as trying to guess which kernel modules and packages should be included to the initrd. An example use of @code{raw-initrd} is when a user has a custom Linux kernel configuration and default kernel modules included by @code{base-initrd} are not available."
  47586. msgstr ""
  47587. #. type: Plain text
  47588. #: guix-git/doc/guix.texi:32293
  47589. msgid "The initial RAM disk produced by @code{base-initrd} or @code{raw-initrd} honors several options passed on the Linux kernel command line (that is, arguments passed @i{via} the @code{linux} command of GRUB, or the @code{-append} option of QEMU), notably:"
  47590. msgstr ""
  47591. #. type: item
  47592. #: guix-git/doc/guix.texi:32295
  47593. #, no-wrap
  47594. msgid "--load=@var{boot}"
  47595. msgstr ""
  47596. #. type: table
  47597. #: guix-git/doc/guix.texi:32298
  47598. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  47599. msgstr ""
  47600. #. type: table
  47601. #: guix-git/doc/guix.texi:32302
  47602. msgid "Guix uses this option to yield control to a boot program that runs the service activation programs and then spawns the GNU@tie{}Shepherd, the initialization system."
  47603. msgstr ""
  47604. #. type: item
  47605. #: guix-git/doc/guix.texi:32303
  47606. #, no-wrap
  47607. msgid "--root=@var{root}"
  47608. msgstr ""
  47609. #. type: table
  47610. #: guix-git/doc/guix.texi:32308
  47611. msgid "Mount @var{root} as the root file system. @var{root} can be a device name like @code{/dev/sda1}, a file system label, or a file system UUID. When unspecified, the device name from the root file system of the operating system declaration is used."
  47612. msgstr ""
  47613. #. type: table
  47614. #: guix-git/doc/guix.texi:32312
  47615. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  47616. msgstr ""
  47617. #. type: item
  47618. #: guix-git/doc/guix.texi:32313
  47619. #, no-wrap
  47620. msgid "modprobe.blacklist=@var{modules}@dots{}"
  47621. msgstr ""
  47622. #. type: cindex
  47623. #: guix-git/doc/guix.texi:32314
  47624. #, no-wrap
  47625. msgid "module, black-listing"
  47626. msgstr ""
  47627. #. type: cindex
  47628. #: guix-git/doc/guix.texi:32315
  47629. #, no-wrap
  47630. msgid "black list, of kernel modules"
  47631. msgstr ""
  47632. #. type: table
  47633. #: guix-git/doc/guix.texi:32320
  47634. msgid "Instruct the initial RAM disk as well as the @command{modprobe} command (from the kmod package) to refuse to load @var{modules}. @var{modules} must be a comma-separated list of module names---e.g., @code{usbkbd,9pnet}."
  47635. msgstr ""
  47636. #. type: item
  47637. #: guix-git/doc/guix.texi:32321
  47638. #, no-wrap
  47639. msgid "--repl"
  47640. msgstr ""
  47641. #. type: table
  47642. #: guix-git/doc/guix.texi:32327
  47643. msgid "Start a read-eval-print loop (REPL) from the initial RAM disk before it tries to load kernel modules and to mount the root file system. Our marketing team calls it @dfn{boot-to-Guile}. The Schemer in you will love it. @xref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}, for more information on Guile's REPL."
  47644. msgstr ""
  47645. #. type: Plain text
  47646. #: guix-git/doc/guix.texi:32333
  47647. msgid "Now that you know all the features that initial RAM disks produced by @code{base-initrd} and @code{raw-initrd} provide, here is how to use it and customize it further."
  47648. msgstr ""
  47649. #. type: deffn
  47650. #: guix-git/doc/guix.texi:32336
  47651. #, no-wrap
  47652. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  47653. msgstr ""
  47654. #. type: deffn
  47655. #: guix-git/doc/guix.texi:32350
  47656. msgid "[#:linux-modules '()] [#:mapped-devices '()] @ [#:keyboard-layout #f] @ [#:helper-packages '()] [#:qemu-networking? #f] [#:volatile-root? #f] Return a derivation that builds a raw initrd. @var{file-systems} is a list of file systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @option{--root}. @var{linux-modules} is a list of kernel modules to be loaded at boot time. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted (@pxref{Mapped Devices}). @var{helper-packages} is a list of packages to be copied in the initrd. It may include @code{e2fsck/static} or other packages needed by the initrd to check the root file system."
  47657. msgstr ""
  47658. #. type: deffn
  47659. #: guix-git/doc/guix.texi:32356 guix-git/doc/guix.texi:32380
  47660. msgid "When true, @var{keyboard-layout} is a @code{<keyboard-layout>} record denoting the desired console keyboard layout. This is done before @var{mapped-devices} are set up and before @var{file-systems} are mounted such that, should the user need to enter a passphrase or use the REPL, this happens using the intended keyboard layout."
  47661. msgstr ""
  47662. #. type: deffn
  47663. #: guix-git/doc/guix.texi:32360
  47664. msgid "When @var{qemu-networking?} is true, set up networking with the standard QEMU parameters. When @var{virtio?} is true, load additional modules so that the initrd can be used as a QEMU guest with para-virtualized I/O drivers."
  47665. msgstr ""
  47666. #. type: deffn
  47667. #: guix-git/doc/guix.texi:32363
  47668. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  47669. msgstr ""
  47670. #. type: deffn
  47671. #: guix-git/doc/guix.texi:32365
  47672. #, no-wrap
  47673. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  47674. msgstr ""
  47675. #. type: deffn
  47676. #: guix-git/doc/guix.texi:32374
  47677. msgid "[#:mapped-devices '()] [#:keyboard-layout #f] @ [#:qemu-networking? #f] [#:volatile-root? #f] @ [#:linux-modules '()] Return as a file-like object a generic initrd, with kernel modules taken from @var{linux}. @var{file-systems} is a list of file-systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @option{--root}. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted."
  47678. msgstr ""
  47679. #. type: deffn
  47680. #: guix-git/doc/guix.texi:32382
  47681. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  47682. msgstr ""
  47683. #. type: deffn
  47684. #: guix-git/doc/guix.texi:32387
  47685. msgid "The initrd is automatically populated with all the kernel modules necessary for @var{file-systems} and for the given options. Additional kernel modules can be listed in @var{linux-modules}. They will be added to the initrd, and loaded at boot time in the order in which they appear."
  47686. msgstr ""
  47687. #. type: Plain text
  47688. #: guix-git/doc/guix.texi:32394
  47689. msgid "Needless to say, the initrds we produce and use embed a statically-linked Guile, and the initialization program is a Guile program. That gives a lot of flexibility. The @code{expression->initrd} procedure builds such an initrd, given the program to run in that initrd."
  47690. msgstr ""
  47691. #. type: deffn
  47692. #: guix-git/doc/guix.texi:32395
  47693. #, no-wrap
  47694. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  47695. msgstr ""
  47696. #. type: deffn
  47697. #: guix-git/doc/guix.texi:32401
  47698. msgid "[#:guile %guile-3.0-static-stripped] [#:name \"guile-initrd\"] Return as a file-like object a Linux initrd (a gzipped cpio archive) containing @var{guile} and that evaluates @var{exp}, a G-expression, upon booting. All the derivations referenced by @var{exp} are automatically copied to the initrd."
  47699. msgstr ""
  47700. #. type: cindex
  47701. #: guix-git/doc/guix.texi:32407
  47702. #, no-wrap
  47703. msgid "boot loader"
  47704. msgstr ""
  47705. #. type: Plain text
  47706. #: guix-git/doc/guix.texi:32414
  47707. msgid "The operating system supports multiple bootloaders. The bootloader is configured using @code{bootloader-configuration} declaration. All the fields of this structure are bootloader agnostic except for one field, @code{bootloader} that indicates the bootloader to be configured and installed."
  47708. msgstr ""
  47709. #. type: Plain text
  47710. #: guix-git/doc/guix.texi:32419
  47711. msgid "Some of the bootloaders do not honor every field of @code{bootloader-configuration}. For instance, the extlinux bootloader does not support themes and thus ignores the @code{theme} field."
  47712. msgstr ""
  47713. #. type: deftp
  47714. #: guix-git/doc/guix.texi:32420
  47715. #, no-wrap
  47716. msgid "{Data Type} bootloader-configuration"
  47717. msgstr ""
  47718. #. type: deftp
  47719. #: guix-git/doc/guix.texi:32422
  47720. msgid "The type of a bootloader configuration declaration."
  47721. msgstr ""
  47722. #. type: cindex
  47723. #: guix-git/doc/guix.texi:32426
  47724. #, no-wrap
  47725. msgid "EFI, bootloader"
  47726. msgstr ""
  47727. #. type: cindex
  47728. #: guix-git/doc/guix.texi:32427
  47729. #, no-wrap
  47730. msgid "UEFI, bootloader"
  47731. msgstr ""
  47732. #. type: cindex
  47733. #: guix-git/doc/guix.texi:32428
  47734. #, no-wrap
  47735. msgid "BIOS, bootloader"
  47736. msgstr ""
  47737. #. type: table
  47738. #: guix-git/doc/guix.texi:32433
  47739. msgid "The bootloader to use, as a @code{bootloader} object. For now @code{grub-bootloader}, @code{grub-efi-bootloader}, @code{grub-efi-netboot-bootloader}, @code{extlinux-bootloader} and @code{u-boot-bootloader} are supported."
  47740. msgstr ""
  47741. #. type: cindex
  47742. #: guix-git/doc/guix.texi:32434
  47743. #, no-wrap
  47744. msgid "ARM, bootloaders"
  47745. msgstr ""
  47746. #. type: cindex
  47747. #: guix-git/doc/guix.texi:32435
  47748. #, no-wrap
  47749. msgid "AArch64, bootloaders"
  47750. msgstr ""
  47751. #. type: table
  47752. #: guix-git/doc/guix.texi:32440
  47753. msgid "Available bootloaders are described in @code{(gnu bootloader @dots{})} modules. In particular, @code{(gnu bootloader u-boot)} contains definitions of bootloaders for a wide range of ARM and AArch64 systems, using the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot bootloader}."
  47754. msgstr ""
  47755. #. type: table
  47756. #: guix-git/doc/guix.texi:32446
  47757. msgid "@code{grub-efi-bootloader} allows to boot on modern systems using the @dfn{Unified Extensible Firmware Interface} (UEFI). This is what you should use if the installation image contains a @file{/sys/firmware/efi} directory when you boot it on your system."
  47758. msgstr ""
  47759. #. type: table
  47760. #: guix-git/doc/guix.texi:32450
  47761. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  47762. msgstr ""
  47763. #. type: vindex
  47764. #: guix-git/doc/guix.texi:32451
  47765. #, no-wrap
  47766. msgid "grub-efi-netboot-bootloader"
  47767. msgstr ""
  47768. #. type: table
  47769. #: guix-git/doc/guix.texi:32455
  47770. msgid "@code{grub-efi-netboot-bootloader} allows you to boot your system over network through TFTP@. In combination with an NFS root file system this allows you to build a diskless Guix system."
  47771. msgstr ""
  47772. #. type: table
  47773. #: guix-git/doc/guix.texi:32461
  47774. msgid "The installation of the @code{grub-efi-netboot-bootloader} generates the content of the TFTP root directory at @code{target} (@pxref{Bootloader Configuration, @code{target}}), to be served by a TFTP server. You may want to mount your TFTP server directory onto @code{target} to move the required files to the TFTP server automatically."
  47775. msgstr ""
  47776. #. type: table
  47777. #: guix-git/doc/guix.texi:32470
  47778. msgid "If you plan to use an NFS root file system as well (actually if you mount the store from an NFS share), then the TFTP server needs to serve the file @file{/boot/grub/grub.cfg} and other files from the store (like GRUBs background image, the kernel (@pxref{operating-system Reference, @code{kernel}}) and the initrd (@pxref{operating-system Reference, @code{initrd}})), too. All these files from the store will be accessed by GRUB through TFTP with their normal store path, for example as @file{tftp://tftp-server/gnu/store/…-initrd/initrd.cpio.gz}."
  47779. msgstr ""
  47780. #. type: table
  47781. #: guix-git/doc/guix.texi:32478
  47782. msgid "Two symlinks are created to make this possible. The first symlink is @code{target}@file{/efi/Guix/boot/grub/grub.cfg} pointing to @file{../../../boot/grub/grub.cfg}, where @code{target} may be @file{/boot}. In this case the link is not leaving the served TFTP root directory, but otherwise it does. The second link is @code{target}@file{/gnu/store} and points to @file{../gnu/store}. This link is leaving the served TFTP root directory."
  47783. msgstr ""
  47784. #. type: table
  47785. #: guix-git/doc/guix.texi:32483
  47786. msgid "The assumption behind all this is that you have an NFS server exporting the root file system for your Guix system, and additionally a TFTP server exporting your @code{target} directory—usually @file{/boot}—from that same root file system for your Guix system. In this constellation the symlinks will work."
  47787. msgstr ""
  47788. #. type: table
  47789. #: guix-git/doc/guix.texi:32487
  47790. msgid "For other constellations you will have to program your own bootloader installer, which then takes care to make necessary files from the store accessible through TFTP, for example by copying them into the TFTP root directory at @code{target}."
  47791. msgstr ""
  47792. #. type: table
  47793. #: guix-git/doc/guix.texi:32492
  47794. msgid "It is important to note that symlinks pointing outside the TFTP root directory may need to be allowed in the configuration of your TFTP server. Further the store link exposes the whole store through TFTP@. Both points need to be considered carefully for security aspects."
  47795. msgstr ""
  47796. #. type: table
  47797. #: guix-git/doc/guix.texi:32497
  47798. msgid "Beside the @code{grub-efi-netboot-bootloader}, the already mentioned TFTP and NFS servers, you also need a properly configured DHCP server to make the booting over netboot possible. For all this we can currently only recommend you to look for instructions about @acronym{PXE, Preboot eXecution Environment}."
  47799. msgstr ""
  47800. #. type: table
  47801. #: guix-git/doc/guix.texi:32501
  47802. msgid "This is a string denoting the target onto which to install the bootloader."
  47803. msgstr ""
  47804. #. type: table
  47805. #: guix-git/doc/guix.texi:32510
  47806. msgid "The interpretation depends on the bootloader in question. For @code{grub-bootloader}, for example, it should be a device name understood by the bootloader @command{installer} command, such as @code{/dev/sda} or @code{(hd0)} (@pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). For @code{grub-efi-bootloader}, it should be the mount point of the EFI file system, usually @file{/boot/efi}. For @code{grub-efi-netboot-bootloader}, @code{target} should be the mount point corresponding to the TFTP root directory of your TFTP server."
  47807. msgstr ""
  47808. #. type: item
  47809. #: guix-git/doc/guix.texi:32511
  47810. #, no-wrap
  47811. msgid "@code{menu-entries} (default: @code{()})"
  47812. msgstr ""
  47813. #. type: table
  47814. #: guix-git/doc/guix.texi:32515
  47815. msgid "A possibly empty list of @code{menu-entry} objects (see below), denoting entries to appear in the bootloader menu, in addition to the current system entry and the entry pointing to previous system generations."
  47816. msgstr ""
  47817. #. type: item
  47818. #: guix-git/doc/guix.texi:32516
  47819. #, no-wrap
  47820. msgid "@code{default-entry} (default: @code{0})"
  47821. msgstr ""
  47822. #. type: table
  47823. #: guix-git/doc/guix.texi:32519
  47824. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  47825. msgstr ""
  47826. #. type: item
  47827. #: guix-git/doc/guix.texi:32520
  47828. #, no-wrap
  47829. msgid "@code{timeout} (default: @code{5})"
  47830. msgstr ""
  47831. #. type: table
  47832. #: guix-git/doc/guix.texi:32523
  47833. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  47834. msgstr ""
  47835. #. type: cindex
  47836. #: guix-git/doc/guix.texi:32524
  47837. #, no-wrap
  47838. msgid "keyboard layout, for the bootloader"
  47839. msgstr ""
  47840. #. type: table
  47841. #: guix-git/doc/guix.texi:32528
  47842. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  47843. msgstr ""
  47844. #. type: table
  47845. #: guix-git/doc/guix.texi:32531
  47846. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  47847. msgstr ""
  47848. #. type: quotation
  47849. #: guix-git/doc/guix.texi:32535
  47850. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  47851. msgstr ""
  47852. #. type: item
  47853. #: guix-git/doc/guix.texi:32537
  47854. #, no-wrap
  47855. msgid "@code{theme} (default: @var{#f})"
  47856. msgstr ""
  47857. #. type: table
  47858. #: guix-git/doc/guix.texi:32541
  47859. msgid "The bootloader theme object describing the theme to use. If no theme is provided, some bootloaders might use a default theme, that's true for GRUB."
  47860. msgstr ""
  47861. #. type: item
  47862. #: guix-git/doc/guix.texi:32542
  47863. #, no-wrap
  47864. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  47865. msgstr ""
  47866. #. type: table
  47867. #: guix-git/doc/guix.texi:32549
  47868. msgid "The output terminals used for the bootloader boot menu, as a list of symbols. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{gfxterm}, @code{vga_text}, @code{mda_text}, @code{morse}, and @code{pkmodem}. This field corresponds to the GRUB variable @code{GRUB_TERMINAL_OUTPUT} (@pxref{Simple configuration,,, grub,GNU GRUB manual})."
  47869. msgstr ""
  47870. #. type: item
  47871. #: guix-git/doc/guix.texi:32550
  47872. #, no-wrap
  47873. msgid "@code{terminal-inputs} (default: @code{'()})"
  47874. msgstr ""
  47875. #. type: table
  47876. #: guix-git/doc/guix.texi:32558
  47877. msgid "The input terminals used for the bootloader boot menu, as a list of symbols. For GRUB, the default is the native platform terminal as determined at run-time. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{at_keyboard}, and @code{usb_keyboard}. This field corresponds to the GRUB variable @code{GRUB_TERMINAL_INPUT} (@pxref{Simple configuration,,, grub,GNU GRUB manual})."
  47878. msgstr ""
  47879. #. type: item
  47880. #: guix-git/doc/guix.texi:32559
  47881. #, no-wrap
  47882. msgid "@code{serial-unit} (default: @code{#f})"
  47883. msgstr ""
  47884. #. type: table
  47885. #: guix-git/doc/guix.texi:32563
  47886. msgid "The serial unit used by the bootloader, as an integer from 0 to 3. For GRUB, it is chosen at run-time; currently GRUB chooses 0, which corresponds to COM1 (@pxref{Serial terminal,,, grub,GNU GRUB manual})."
  47887. msgstr ""
  47888. #. type: item
  47889. #: guix-git/doc/guix.texi:32564
  47890. #, no-wrap
  47891. msgid "@code{serial-speed} (default: @code{#f})"
  47892. msgstr ""
  47893. #. type: table
  47894. #: guix-git/doc/guix.texi:32568
  47895. msgid "The speed of the serial interface, as an integer. For GRUB, the default value is chosen at run-time; currently GRUB chooses 9600@tie{}bps (@pxref{Serial terminal,,, grub,GNU GRUB manual})."
  47896. msgstr ""
  47897. #. type: cindex
  47898. #: guix-git/doc/guix.texi:32572
  47899. #, no-wrap
  47900. msgid "dual boot"
  47901. msgstr ""
  47902. #. type: cindex
  47903. #: guix-git/doc/guix.texi:32573
  47904. #, no-wrap
  47905. msgid "boot menu"
  47906. msgstr ""
  47907. #. type: Plain text
  47908. #: guix-git/doc/guix.texi:32579
  47909. msgid "Should you want to list additional boot menu entries @i{via} the @code{menu-entries} field above, you will need to create them with the @code{menu-entry} form. For example, imagine you want to be able to boot another distro (hard to imagine!), you can define a menu entry along these lines:"
  47910. msgstr ""
  47911. #. type: lisp
  47912. #: guix-git/doc/guix.texi:32586
  47913. #, no-wrap
  47914. msgid ""
  47915. "(menu-entry\n"
  47916. " (label \"The Other Distro\")\n"
  47917. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  47918. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  47919. " (initrd \"/boot/old/initrd\"))\n"
  47920. msgstr ""
  47921. #. type: Plain text
  47922. #: guix-git/doc/guix.texi:32589
  47923. msgid "Details below."
  47924. msgstr ""
  47925. #. type: deftp
  47926. #: guix-git/doc/guix.texi:32590
  47927. #, no-wrap
  47928. msgid "{Data Type} menu-entry"
  47929. msgstr ""
  47930. #. type: deftp
  47931. #: guix-git/doc/guix.texi:32592
  47932. msgid "The type of an entry in the bootloader menu."
  47933. msgstr ""
  47934. #. type: table
  47935. #: guix-git/doc/guix.texi:32597
  47936. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  47937. msgstr ""
  47938. #. type: item
  47939. #: guix-git/doc/guix.texi:32598
  47940. #, no-wrap
  47941. msgid "@code{linux} (default: @code{#f})"
  47942. msgstr ""
  47943. #. type: table
  47944. #: guix-git/doc/guix.texi:32600
  47945. msgid "The Linux kernel image to boot, for example:"
  47946. msgstr ""
  47947. #. type: lisp
  47948. #: guix-git/doc/guix.texi:32603
  47949. #, no-wrap
  47950. msgid "(file-append linux-libre \"/bzImage\")\n"
  47951. msgstr ""
  47952. #. type: table
  47953. #: guix-git/doc/guix.texi:32608
  47954. msgid "For GRUB, it is also possible to specify a device explicitly in the file path using GRUB's device naming convention (@pxref{Naming convention,,, grub, GNU GRUB manual}), for example:"
  47955. msgstr ""
  47956. #. type: example
  47957. #: guix-git/doc/guix.texi:32611
  47958. #, no-wrap
  47959. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  47960. msgstr ""
  47961. #. type: table
  47962. #: guix-git/doc/guix.texi:32615
  47963. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  47964. msgstr ""
  47965. #. type: item
  47966. #: guix-git/doc/guix.texi:32616
  47967. #, no-wrap
  47968. msgid "@code{linux-arguments} (default: @code{()})"
  47969. msgstr ""
  47970. #. type: table
  47971. #: guix-git/doc/guix.texi:32619
  47972. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  47973. msgstr ""
  47974. #. type: item
  47975. #: guix-git/doc/guix.texi:32620
  47976. #, no-wrap
  47977. msgid "@code{initrd} (default: @code{#f})"
  47978. msgstr ""
  47979. #. type: table
  47980. #: guix-git/doc/guix.texi:32623
  47981. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  47982. msgstr ""
  47983. #. type: item
  47984. #: guix-git/doc/guix.texi:32624
  47985. #, no-wrap
  47986. msgid "@code{device} (default: @code{#f})"
  47987. msgstr ""
  47988. #. type: table
  47989. #: guix-git/doc/guix.texi:32627
  47990. msgid "The device where the kernel and initrd are to be found---i.e., for GRUB, @dfn{root} for this menu entry (@pxref{root,,, grub, GNU GRUB manual})."
  47991. msgstr ""
  47992. #. type: table
  47993. #: guix-git/doc/guix.texi:32633
  47994. msgid "This may be a file system label (a string), a file system UUID (a bytevector, @pxref{File Systems}), or @code{#f}, in which case the bootloader will search the device containing the file specified by the @code{linux} field (@pxref{search,,, grub, GNU GRUB manual}). It must @emph{not} be an OS device name such as @file{/dev/sda1}."
  47995. msgstr ""
  47996. #. type: item
  47997. #: guix-git/doc/guix.texi:32634
  47998. #, no-wrap
  47999. msgid "@code{multiboot-kernel} (default: @code{#f})"
  48000. msgstr ""
  48001. #. type: table
  48002. #: guix-git/doc/guix.texi:32638
  48003. msgid "The kernel to boot in Multiboot-mode (@pxref{multiboot,,, grub, GNU GRUB manual}). When this field is set, a Multiboot menu-entry is generated. For example:"
  48004. msgstr ""
  48005. #. type: lisp
  48006. #: guix-git/doc/guix.texi:32641
  48007. #, no-wrap
  48008. msgid "(file-append mach \"/boot/gnumach\")\n"
  48009. msgstr ""
  48010. #. type: item
  48011. #: guix-git/doc/guix.texi:32643
  48012. #, no-wrap
  48013. msgid "@code{multiboot-arguments} (default: @code{()})"
  48014. msgstr ""
  48015. #. type: table
  48016. #: guix-git/doc/guix.texi:32645
  48017. msgid "The list of extra command-line arguments for the multiboot-kernel."
  48018. msgstr ""
  48019. #. type: item
  48020. #: guix-git/doc/guix.texi:32646
  48021. #, no-wrap
  48022. msgid "@code{multiboot-modules} (default: @code{()})"
  48023. msgstr ""
  48024. #. type: table
  48025. #: guix-git/doc/guix.texi:32648
  48026. msgid "The list of commands for loading Multiboot modules. For example:"
  48027. msgstr ""
  48028. #. type: lisp
  48029. #: guix-git/doc/guix.texi:32654
  48030. #, no-wrap
  48031. msgid ""
  48032. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  48033. " @dots{})\n"
  48034. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  48035. " @dots{}))\n"
  48036. msgstr ""
  48037. #. type: cindex
  48038. #: guix-git/doc/guix.texi:32659 guix-git/doc/guix.texi:32718
  48039. #, no-wrap
  48040. msgid "HDPI"
  48041. msgstr ""
  48042. #. type: cindex
  48043. #: guix-git/doc/guix.texi:32660 guix-git/doc/guix.texi:32719
  48044. #, no-wrap
  48045. msgid "HiDPI"
  48046. msgstr ""
  48047. #. type: cindex
  48048. #: guix-git/doc/guix.texi:32661 guix-git/doc/guix.texi:32720
  48049. #, no-wrap
  48050. msgid "resolution"
  48051. msgstr ""
  48052. #. type: Plain text
  48053. #: guix-git/doc/guix.texi:32665
  48054. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  48055. msgstr ""
  48056. #. type: deftp
  48057. #: guix-git/doc/guix.texi:32666
  48058. #, no-wrap
  48059. msgid "{Data Type} grub-theme"
  48060. msgstr ""
  48061. #. type: deftp
  48062. #: guix-git/doc/guix.texi:32668
  48063. msgid "Data type representing the configuration of the GRUB theme."
  48064. msgstr ""
  48065. #. type: item
  48066. #: guix-git/doc/guix.texi:32670
  48067. #, no-wrap
  48068. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  48069. msgstr ""
  48070. #. type: table
  48071. #: guix-git/doc/guix.texi:32673
  48072. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  48073. msgstr ""
  48074. #. type: deffn
  48075. #: guix-git/doc/guix.texi:32676
  48076. #, no-wrap
  48077. msgid "{Scheme Procedure} grub-theme"
  48078. msgstr ""
  48079. #. type: deffn
  48080. #: guix-git/doc/guix.texi:32680
  48081. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  48082. msgstr ""
  48083. #. type: deffn
  48084. #: guix-git/doc/guix.texi:32683
  48085. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  48086. msgstr ""
  48087. #. type: Plain text
  48088. #: guix-git/doc/guix.texi:32687
  48089. msgid "For example, to override the default resolution, you may use something like"
  48090. msgstr ""
  48091. #. type: lisp
  48092. #: guix-git/doc/guix.texi:32695
  48093. #, no-wrap
  48094. msgid ""
  48095. "(bootloader\n"
  48096. " (bootloader-configuration\n"
  48097. " ;; @dots{}\n"
  48098. " (theme (grub-theme\n"
  48099. " (inherit (grub-theme))\n"
  48100. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  48101. msgstr ""
  48102. #. type: section
  48103. #: guix-git/doc/guix.texi:32698
  48104. #, no-wrap
  48105. msgid "Invoking @code{guix system}"
  48106. msgstr ""
  48107. #. type: Plain text
  48108. #: guix-git/doc/guix.texi:32703
  48109. msgid "Once you have written an operating system declaration as seen in the previous section, it can be @dfn{instantiated} using the @command{guix system} command. The synopsis is:"
  48110. msgstr ""
  48111. #. type: example
  48112. #: guix-git/doc/guix.texi:32706
  48113. #, no-wrap
  48114. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  48115. msgstr ""
  48116. #. type: Plain text
  48117. #: guix-git/doc/guix.texi:32712
  48118. msgid "@var{file} must be the name of a file containing an @code{operating-system} declaration. @var{action} specifies how the operating system is instantiated. Currently the following values are supported:"
  48119. msgstr ""
  48120. #. type: item
  48121. #: guix-git/doc/guix.texi:32714
  48122. #, no-wrap
  48123. msgid "search"
  48124. msgstr ""
  48125. #. type: table
  48126. #: guix-git/doc/guix.texi:32717
  48127. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  48128. msgstr ""
  48129. #. type: example
  48130. #: guix-git/doc/guix.texi:32739
  48131. #, no-wrap
  48132. msgid ""
  48133. "$ guix system search console\n"
  48134. "name: console-fonts\n"
  48135. "location: gnu/services/base.scm:806:2\n"
  48136. "extends: shepherd-root\n"
  48137. "description: Install the given fonts on the specified ttys (fonts are per\n"
  48138. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  48139. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  48140. "+ package or any valid argument to `setfont', as in this example:\n"
  48141. "+\n"
  48142. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  48143. "+ (\"tty2\" . (file-append\n"
  48144. "+ font-tamzen\n"
  48145. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  48146. "+ (\"tty3\" . (file-append\n"
  48147. "+ font-terminus\n"
  48148. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  48149. "relevance: 9\n"
  48150. "\n"
  48151. msgstr ""
  48152. #. type: example
  48153. #: guix-git/doc/guix.texi:32745
  48154. #, no-wrap
  48155. msgid ""
  48156. "name: mingetty\n"
  48157. "location: gnu/services/base.scm:1190:2\n"
  48158. "extends: shepherd-root\n"
  48159. "description: Provide console login using the `mingetty' program.\n"
  48160. "relevance: 2\n"
  48161. "\n"
  48162. msgstr ""
  48163. #. type: example
  48164. #: guix-git/doc/guix.texi:32752
  48165. #, no-wrap
  48166. msgid ""
  48167. "name: login\n"
  48168. "location: gnu/services/base.scm:860:2\n"
  48169. "extends: pam\n"
  48170. "description: Provide a console log-in service as specified by its\n"
  48171. "+ configuration value, a `login-configuration' object.\n"
  48172. "relevance: 2\n"
  48173. "\n"
  48174. msgstr ""
  48175. #. type: example
  48176. #: guix-git/doc/guix.texi:32754
  48177. #, no-wrap
  48178. msgid "@dots{}\n"
  48179. msgstr ""
  48180. #. type: table
  48181. #: guix-git/doc/guix.texi:32759
  48182. msgid "As for @command{guix package --search}, the result is written in @code{recutils} format, which makes it easy to filter the output (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  48183. msgstr ""
  48184. #. type: item
  48185. #: guix-git/doc/guix.texi:32760
  48186. #, no-wrap
  48187. msgid "reconfigure"
  48188. msgstr ""
  48189. #. type: table
  48190. #: guix-git/doc/guix.texi:32765
  48191. msgid "Build the operating system described in @var{file}, activate it, and switch to it@footnote{This action (and the related actions @code{switch-generation} and @code{roll-back}) are usable only on systems already running Guix System.}."
  48192. msgstr ""
  48193. #. type: quotation
  48194. #: guix-git/doc/guix.texi:32773
  48195. msgid "It is highly recommended to run @command{guix pull} once before you run @command{guix system reconfigure} for the first time (@pxref{Invoking guix pull}). Failing to do that you would see an older version of Guix once @command{reconfigure} has completed."
  48196. msgstr ""
  48197. #. type: table
  48198. #: guix-git/doc/guix.texi:32781
  48199. msgid "This effects all the configuration specified in @var{file}: user accounts, system services, global package list, setuid programs, etc. The command starts system services specified in @var{file} that are not currently running; if a service is currently running this command will arrange for it to be upgraded the next time it is stopped (e.g.@: by @code{herd stop X} or @code{herd restart X})."
  48200. msgstr ""
  48201. #. type: table
  48202. #: guix-git/doc/guix.texi:32787
  48203. msgid "This command creates a new generation whose number is one greater than the current generation (as reported by @command{guix system list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package})."
  48204. msgstr ""
  48205. #. type: table
  48206. #: guix-git/doc/guix.texi:32792
  48207. msgid "It also adds a bootloader menu entry for the new OS configuration, ---unless @option{--no-bootloader} is passed. For GRUB, it moves entries for older configurations to a submenu, allowing you to choose an older system generation at boot time should you need it."
  48208. msgstr ""
  48209. #. type: cindex
  48210. #: guix-git/doc/guix.texi:32793 guix-git/doc/guix.texi:33118
  48211. #: guix-git/doc/guix.texi:34066
  48212. #, no-wrap
  48213. msgid "provenance tracking, of the operating system"
  48214. msgstr ""
  48215. #. type: table
  48216. #: guix-git/doc/guix.texi:32798
  48217. msgid "Upon completion, the new system is deployed under @file{/run/current-system}. This directory contains @dfn{provenance meta-data}: the list of channels in use (@pxref{Channels}) and @var{file} itself, when available. You can view it by running:"
  48218. msgstr ""
  48219. #. type: example
  48220. #: guix-git/doc/guix.texi:32801
  48221. #, no-wrap
  48222. msgid "guix system describe\n"
  48223. msgstr ""
  48224. #. type: table
  48225. #: guix-git/doc/guix.texi:32807
  48226. msgid "This information is useful should you later want to inspect how this particular generation was built. In fact, assuming @var{file} is self-contained, you can later rebuild generation @var{n} of your operating system with:"
  48227. msgstr ""
  48228. #. type: example
  48229. #: guix-git/doc/guix.texi:32813
  48230. #, no-wrap
  48231. msgid ""
  48232. "guix time-machine \\\n"
  48233. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  48234. " system reconfigure \\\n"
  48235. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  48236. msgstr ""
  48237. #. type: table
  48238. #: guix-git/doc/guix.texi:32819
  48239. msgid "You can think of it as some sort of built-in version control! Your system is not just a binary artifact: @emph{it carries its own source}. @xref{Service Reference, @code{provenance-service-type}}, for more information on provenance tracking."
  48240. msgstr ""
  48241. #. type: table
  48242. #: guix-git/doc/guix.texi:32825
  48243. msgid "By default, @command{reconfigure} @emph{prevents you from downgrading your system}, which could (re)introduce security vulnerabilities and also cause problems with ``stateful'' services such as database management systems. You can override that behavior by passing @option{--allow-downgrades}."
  48244. msgstr ""
  48245. #. type: item
  48246. #: guix-git/doc/guix.texi:32826
  48247. #, no-wrap
  48248. msgid "switch-generation"
  48249. msgstr ""
  48250. #. type: table
  48251. #: guix-git/doc/guix.texi:32835
  48252. msgid "Switch to an existing system generation. This action atomically switches the system profile to the specified system generation. It also rearranges the system's existing bootloader menu entries. It makes the menu entry for the specified system generation the default, and it moves the entries for the other generations to a submenu, if supported by the bootloader being used. The next time the system boots, it will use the specified system generation."
  48253. msgstr ""
  48254. #. type: table
  48255. #: guix-git/doc/guix.texi:32839
  48256. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  48257. msgstr ""
  48258. #. type: table
  48259. #: guix-git/doc/guix.texi:32843
  48260. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  48261. msgstr ""
  48262. #. type: example
  48263. #: guix-git/doc/guix.texi:32846
  48264. #, no-wrap
  48265. msgid "guix system switch-generation 7\n"
  48266. msgstr ""
  48267. #. type: table
  48268. #: guix-git/doc/guix.texi:32854
  48269. msgid "The target generation can also be specified relative to the current generation with the form @code{+N} or @code{-N}, where @code{+3} means ``3 generations ahead of the current generation,'' and @code{-1} means ``1 generation prior to the current generation.'' When specifying a negative value such as @code{-1}, you must precede it with @code{--} to prevent it from being parsed as an option. For example:"
  48270. msgstr ""
  48271. #. type: example
  48272. #: guix-git/doc/guix.texi:32857
  48273. #, no-wrap
  48274. msgid "guix system switch-generation -- -1\n"
  48275. msgstr ""
  48276. #. type: table
  48277. #: guix-git/doc/guix.texi:32865
  48278. msgid "Currently, the effect of invoking this action is @emph{only} to switch the system profile to an existing generation and rearrange the bootloader menu entries. To actually start using the target system generation, you must reboot after running this action. In the future, it will be updated to do the same things as @command{reconfigure}, like activating and deactivating services."
  48279. msgstr ""
  48280. #. type: table
  48281. #: guix-git/doc/guix.texi:32867
  48282. msgid "This action will fail if the specified generation does not exist."
  48283. msgstr ""
  48284. #. type: item
  48285. #: guix-git/doc/guix.texi:32868
  48286. #, no-wrap
  48287. msgid "roll-back"
  48288. msgstr ""
  48289. #. type: table
  48290. #: guix-git/doc/guix.texi:32874
  48291. msgid "Switch to the preceding system generation. The next time the system boots, it will use the preceding system generation. This is the inverse of @command{reconfigure}, and it is exactly the same as invoking @command{switch-generation} with an argument of @code{-1}."
  48292. msgstr ""
  48293. #. type: table
  48294. #: guix-git/doc/guix.texi:32878
  48295. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  48296. msgstr ""
  48297. #. type: item
  48298. #: guix-git/doc/guix.texi:32879
  48299. #, no-wrap
  48300. msgid "delete-generations"
  48301. msgstr ""
  48302. #. type: cindex
  48303. #: guix-git/doc/guix.texi:32880
  48304. #, no-wrap
  48305. msgid "deleting system generations"
  48306. msgstr ""
  48307. #. type: cindex
  48308. #: guix-git/doc/guix.texi:32881
  48309. #, no-wrap
  48310. msgid "saving space"
  48311. msgstr ""
  48312. #. type: table
  48313. #: guix-git/doc/guix.texi:32885
  48314. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  48315. msgstr ""
  48316. #. type: table
  48317. #: guix-git/doc/guix.texi:32889
  48318. msgid "This works in the same way as @samp{guix package --delete-generations} (@pxref{Invoking guix package, @option{--delete-generations}}). With no arguments, all system generations but the current one are deleted:"
  48319. msgstr ""
  48320. #. type: example
  48321. #: guix-git/doc/guix.texi:32892
  48322. #, no-wrap
  48323. msgid "guix system delete-generations\n"
  48324. msgstr ""
  48325. #. type: table
  48326. #: guix-git/doc/guix.texi:32896
  48327. msgid "You can also select the generations you want to delete. The example below deletes all the system generations that are more than two month old:"
  48328. msgstr ""
  48329. #. type: example
  48330. #: guix-git/doc/guix.texi:32899
  48331. #, no-wrap
  48332. msgid "guix system delete-generations 2m\n"
  48333. msgstr ""
  48334. #. type: table
  48335. #: guix-git/doc/guix.texi:32904
  48336. msgid "Running this command automatically reinstalls the bootloader with an updated list of menu entries---e.g., the ``old generations'' sub-menu in GRUB no longer lists the generations that have been deleted."
  48337. msgstr ""
  48338. #. type: table
  48339. #: guix-git/doc/guix.texi:32909
  48340. msgid "Build the derivation of the operating system, which includes all the configuration files and programs needed to boot and run the system. This action does not actually install anything."
  48341. msgstr ""
  48342. #. type: item
  48343. #: guix-git/doc/guix.texi:32910
  48344. #, no-wrap
  48345. msgid "init"
  48346. msgstr ""
  48347. #. type: table
  48348. #: guix-git/doc/guix.texi:32914
  48349. msgid "Populate the given directory with all the files necessary to run the operating system specified in @var{file}. This is useful for first-time installations of Guix System. For instance:"
  48350. msgstr ""
  48351. #. type: example
  48352. #: guix-git/doc/guix.texi:32917
  48353. #, no-wrap
  48354. msgid "guix system init my-os-config.scm /mnt\n"
  48355. msgstr ""
  48356. #. type: table
  48357. #: guix-git/doc/guix.texi:32924
  48358. msgid "copies to @file{/mnt} all the store items required by the configuration specified in @file{my-os-config.scm}. This includes configuration files, packages, and so on. It also creates other essential files needed for the system to operate correctly---e.g., the @file{/etc}, @file{/var}, and @file{/run} directories, and the @file{/bin/sh} file."
  48359. msgstr ""
  48360. #. type: table
  48361. #: guix-git/doc/guix.texi:32928
  48362. msgid "This command also installs bootloader on the target specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  48363. msgstr ""
  48364. #. type: item
  48365. #: guix-git/doc/guix.texi:32929
  48366. #, no-wrap
  48367. msgid "vm"
  48368. msgstr ""
  48369. #. type: cindex
  48370. #: guix-git/doc/guix.texi:32930 guix-git/doc/guix.texi:33491
  48371. #, no-wrap
  48372. msgid "virtual machine"
  48373. msgstr ""
  48374. #. type: cindex
  48375. #: guix-git/doc/guix.texi:32931
  48376. #, no-wrap
  48377. msgid "VM"
  48378. msgstr ""
  48379. #. type: anchor{#1}
  48380. #: guix-git/doc/guix.texi:32935
  48381. msgid "guix system vm"
  48382. msgstr ""
  48383. #. type: table
  48384. #: guix-git/doc/guix.texi:32935
  48385. msgid "Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM)."
  48386. msgstr ""
  48387. #. type: quotation
  48388. #: guix-git/doc/guix.texi:32943
  48389. msgid "The @code{vm} action and others below can use KVM support in the Linux-libre kernel. Specifically, if the machine has hardware virtualization support, the corresponding KVM kernel module should be loaded, and the @file{/dev/kvm} device node must exist and be readable and writable by the user and by the build users of the daemon (@pxref{Build Environment Setup})."
  48390. msgstr ""
  48391. #. type: table
  48392. #: guix-git/doc/guix.texi:32948
  48393. msgid "Arguments given to the script are passed to QEMU as in the example below, which enables networking and requests 1@tie{}GiB of RAM for the emulated machine:"
  48394. msgstr ""
  48395. #. type: example
  48396. #: guix-git/doc/guix.texi:32951
  48397. #, no-wrap
  48398. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -net user,model=virtio-net-pci\n"
  48399. msgstr ""
  48400. #. type: table
  48401. #: guix-git/doc/guix.texi:32954
  48402. msgid "The VM shares its store with the host system."
  48403. msgstr ""
  48404. #. type: table
  48405. #: guix-git/doc/guix.texi:32959
  48406. msgid "Additional file systems can be shared between the host and the VM using the @option{--share} and @option{--expose} command-line options: the former specifies a directory to be shared with write access, while the latter provides read-only access to the shared directory."
  48407. msgstr ""
  48408. #. type: table
  48409. #: guix-git/doc/guix.texi:32963
  48410. msgid "The example below creates a VM in which the user's home directory is accessible read-only, and where the @file{/exchange} directory is a read-write mapping of @file{$HOME/tmp} on the host:"
  48411. msgstr ""
  48412. #. type: example
  48413. #: guix-git/doc/guix.texi:32967
  48414. #, no-wrap
  48415. msgid ""
  48416. "guix system vm my-config.scm \\\n"
  48417. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  48418. msgstr ""
  48419. #. type: table
  48420. #: guix-git/doc/guix.texi:32972
  48421. msgid "On GNU/Linux, the default is to boot directly to the kernel; this has the advantage of requiring only a very tiny root disk image since the store of the host can then be mounted."
  48422. msgstr ""
  48423. #. type: table
  48424. #: guix-git/doc/guix.texi:32978
  48425. msgid "The @option{--full-boot} option forces a complete boot sequence, starting with the bootloader. This requires more disk space since a root image containing at least the kernel, initrd, and bootloader data files must be created. The @option{--image-size} option can be used to specify the size of the image."
  48426. msgstr ""
  48427. #. type: cindex
  48428. #: guix-git/doc/guix.texi:32979
  48429. #, no-wrap
  48430. msgid "System images, creation in various formats"
  48431. msgstr ""
  48432. #. type: cindex
  48433. #: guix-git/doc/guix.texi:32980
  48434. #, no-wrap
  48435. msgid "Creating system images in various formats"
  48436. msgstr ""
  48437. #. type: item
  48438. #: guix-git/doc/guix.texi:32981
  48439. #, no-wrap
  48440. msgid "image"
  48441. msgstr ""
  48442. #. type: itemx
  48443. #: guix-git/doc/guix.texi:32982
  48444. #, no-wrap
  48445. msgid "docker-image"
  48446. msgstr ""
  48447. #. type: table
  48448. #: guix-git/doc/guix.texi:32990
  48449. msgid "Return a virtual machine, disk image, or Docker image of the operating system declared in @var{file} that stands alone. By default, @command{guix system} estimates the size of the image needed to store the system, but you can use the @option{--image-size} option to specify a value. Docker images are built to contain exactly what they need, so the @option{--image-size} option is ignored in the case of @code{docker-image}."
  48450. msgstr ""
  48451. #. type: cindex
  48452. #: guix-git/doc/guix.texi:32991
  48453. #, no-wrap
  48454. msgid "image, creating disk images"
  48455. msgstr ""
  48456. #. type: table
  48457. #: guix-git/doc/guix.texi:33003
  48458. msgid "The @code{image} command can produce various image types. The image type can be selected using the @option{--image-type} option. It defaults to @code{efi-raw}. When its value is @code{iso9660}, the @option{--label} option can be used to specify a volume ID with @code{image}. By default, the root file system of a disk image is mounted non-volatile; the @option{--volatile} option can be provided to make it volatile instead. When using @code{image}, the bootloader installed on the generated image is taken from the provided @code{operating-system} definition. The following example demonstrates how to generate an image that uses the @code{grub-efi-bootloader} bootloader and boot it with QEMU:"
  48459. msgstr ""
  48460. #. type: example
  48461. #: guix-git/doc/guix.texi:33011
  48462. #, no-wrap
  48463. msgid ""
  48464. "image=$(guix system image --image-type=qcow2 \\\n"
  48465. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  48466. "cp $image /tmp/my-image.qcow2\n"
  48467. "chmod +w /tmp/my-image.qcow2\n"
  48468. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  48469. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  48470. msgstr ""
  48471. #. type: table
  48472. #: guix-git/doc/guix.texi:33017
  48473. msgid "When using the @code{efi-raw} image type, a raw disk image is produced; it can be copied as is to a USB stick, for instance. Assuming @code{/dev/sdc} is the device corresponding to a USB stick, one can copy the image to it using the following command:"
  48474. msgstr ""
  48475. #. type: example
  48476. #: guix-git/doc/guix.texi:33020
  48477. #, no-wrap
  48478. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  48479. msgstr ""
  48480. #. type: table
  48481. #: guix-git/doc/guix.texi:33024
  48482. msgid "The @code{--list-image-types} command lists all the available image types."
  48483. msgstr ""
  48484. #. type: cindex
  48485. #: guix-git/doc/guix.texi:33025
  48486. #, no-wrap
  48487. msgid "creating virtual machine images"
  48488. msgstr ""
  48489. #. type: table
  48490. #: guix-git/doc/guix.texi:33034
  48491. msgid "When using the @code{qcow2} image type, the returned image is in qcow2 format, which the QEMU emulator can efficiently use. @xref{Running Guix in a VM}, for more information on how to run the image in a virtual machine. The @code{grub-bootloader} bootloader is always used independently of what is declared in the @code{operating-system} file passed as argument. This is to make it easier to work with QEMU, which uses the SeaBIOS BIOS by default, expecting a bootloader to be installed in the Master Boot Record (MBR)."
  48492. msgstr ""
  48493. #. type: cindex
  48494. #: guix-git/doc/guix.texi:33035
  48495. #, no-wrap
  48496. msgid "docker-image, creating docker images"
  48497. msgstr ""
  48498. #. type: table
  48499. #: guix-git/doc/guix.texi:33041
  48500. msgid "When using @code{docker-image}, a Docker image is produced. Guix builds the image from scratch, not from a pre-existing Docker base image. As a result, it contains @emph{exactly} what you define in the operating system configuration file. You can then load the image and launch a Docker container using commands like the following:"
  48501. msgstr ""
  48502. #. type: example
  48503. #: guix-git/doc/guix.texi:33046
  48504. #, no-wrap
  48505. msgid ""
  48506. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  48507. "container_id=\"$(docker create $image_id)\"\n"
  48508. "docker start $container_id\n"
  48509. msgstr ""
  48510. #. type: table
  48511. #: guix-git/doc/guix.texi:33053
  48512. msgid "This command starts a new Docker container from the specified image. It will boot the Guix system in the usual manner, which means it will start any services you have defined in the operating system configuration. You can get an interactive shell running in the container using @command{docker exec}:"
  48513. msgstr ""
  48514. #. type: example
  48515. #: guix-git/doc/guix.texi:33056
  48516. #, no-wrap
  48517. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  48518. msgstr ""
  48519. #. type: table
  48520. #: guix-git/doc/guix.texi:33063
  48521. msgid "Depending on what you run in the Docker container, it may be necessary to give the container additional permissions. For example, if you intend to build software using Guix inside of the Docker container, you may need to pass the @option{--privileged} option to @code{docker create}."
  48522. msgstr ""
  48523. #. type: table
  48524. #: guix-git/doc/guix.texi:33067
  48525. msgid "Last, the @option{--network} option applies to @command{guix system docker-image}: it produces an image where network is supposedly shared with the host, and thus without services like nscd or NetworkManager."
  48526. msgstr ""
  48527. #. type: table
  48528. #: guix-git/doc/guix.texi:33075
  48529. msgid "Return a script to run the operating system declared in @var{file} within a container. Containers are a set of lightweight isolation mechanisms provided by the kernel Linux-libre. Containers are substantially less resource-demanding than full virtual machines since the kernel, shared objects, and other resources can be shared with the host system; this also means they provide thinner isolation."
  48530. msgstr ""
  48531. #. type: table
  48532. #: guix-git/doc/guix.texi:33079
  48533. msgid "Currently, the script must be run as root in order to support more than a single user and group. The container shares its store with the host system."
  48534. msgstr ""
  48535. #. type: table
  48536. #: guix-git/doc/guix.texi:33083
  48537. msgid "As with the @code{vm} action (@pxref{guix system vm}), additional file systems to be shared between the host and container can be specified using the @option{--share} and @option{--expose} options:"
  48538. msgstr ""
  48539. #. type: example
  48540. #: guix-git/doc/guix.texi:33087
  48541. #, no-wrap
  48542. msgid ""
  48543. "guix system container my-config.scm \\\n"
  48544. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  48545. msgstr ""
  48546. #. type: quotation
  48547. #: guix-git/doc/guix.texi:33091
  48548. msgid "This option requires Linux-libre 3.19 or newer."
  48549. msgstr ""
  48550. #. type: Plain text
  48551. #: guix-git/doc/guix.texi:33098
  48552. msgid "@var{options} can contain any of the common build options (@pxref{Common Build Options}). In addition, @var{options} can contain one of the following:"
  48553. msgstr ""
  48554. #. type: table
  48555. #: guix-git/doc/guix.texi:33107
  48556. msgid "Consider the operating-system @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to an operating system. This is used to generate the Guix system installer @pxref{Building the Installation Image})."
  48557. msgstr ""
  48558. #. type: table
  48559. #: guix-git/doc/guix.texi:33112
  48560. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  48561. msgstr ""
  48562. #. type: table
  48563. #: guix-git/doc/guix.texi:33117
  48564. msgid "Return the derivation file name of the given operating system without building anything."
  48565. msgstr ""
  48566. #. type: table
  48567. #: guix-git/doc/guix.texi:33126
  48568. msgid "As discussed above, @command{guix system init} and @command{guix system reconfigure} always save provenance information @i{via} a dedicated service (@pxref{Service Reference, @code{provenance-service-type}}). However, other commands don't do that by default. If you wish to, say, create a virtual machine image that contains provenance information, you can run:"
  48569. msgstr ""
  48570. #. type: example
  48571. #: guix-git/doc/guix.texi:33129
  48572. #, no-wrap
  48573. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  48574. msgstr ""
  48575. #. type: table
  48576. #: guix-git/doc/guix.texi:33136
  48577. msgid "That way, the resulting image will effectively ``embed its own source'' in the form of meta-data in @file{/run/current-system}. With that information, one can rebuild the image to make sure it really contains what it pretends to contain; or they could use that to derive a variant of the image."
  48578. msgstr ""
  48579. #. type: item
  48580. #: guix-git/doc/guix.texi:33137
  48581. #, no-wrap
  48582. msgid "--image-type=@var{type}"
  48583. msgstr ""
  48584. #. type: table
  48585. #: guix-git/doc/guix.texi:33140
  48586. msgid "For the @code{image} action, create an image with given @var{type}."
  48587. msgstr ""
  48588. #. type: table
  48589. #: guix-git/doc/guix.texi:33143
  48590. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  48591. msgstr ""
  48592. #. type: cindex
  48593. #: guix-git/doc/guix.texi:33144
  48594. #, no-wrap
  48595. msgid "ISO-9660 format"
  48596. msgstr ""
  48597. #. type: cindex
  48598. #: guix-git/doc/guix.texi:33145
  48599. #, no-wrap
  48600. msgid "CD image format"
  48601. msgstr ""
  48602. #. type: cindex
  48603. #: guix-git/doc/guix.texi:33146
  48604. #, no-wrap
  48605. msgid "DVD image format"
  48606. msgstr ""
  48607. #. type: table
  48608. #: guix-git/doc/guix.texi:33149
  48609. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  48610. msgstr ""
  48611. #. type: item
  48612. #: guix-git/doc/guix.texi:33150
  48613. #, no-wrap
  48614. msgid "--image-size=@var{size}"
  48615. msgstr ""
  48616. #. type: table
  48617. #: guix-git/doc/guix.texi:33155
  48618. msgid "For the @code{image} action, create an image of the given @var{size}. @var{size} may be a number of bytes, or it may include a unit as a suffix (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})."
  48619. msgstr ""
  48620. #. type: table
  48621. #: guix-git/doc/guix.texi:33159
  48622. msgid "When this option is omitted, @command{guix system} computes an estimate of the image size as a function of the size of the system declared in @var{file}."
  48623. msgstr ""
  48624. #. type: table
  48625. #: guix-git/doc/guix.texi:33164
  48626. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  48627. msgstr ""
  48628. #. type: item
  48629. #: guix-git/doc/guix.texi:33170
  48630. #, no-wrap
  48631. msgid "--skip-checks"
  48632. msgstr ""
  48633. #. type: table
  48634. #: guix-git/doc/guix.texi:33172
  48635. msgid "Skip pre-installation safety checks."
  48636. msgstr ""
  48637. #. type: table
  48638. #: guix-git/doc/guix.texi:33179
  48639. msgid "By default, @command{guix system init} and @command{guix system reconfigure} perform safety checks: they make sure the file systems that appear in the @code{operating-system} declaration actually exist (@pxref{File Systems}), and that any Linux kernel modules that may be needed at boot time are listed in @code{initrd-modules} (@pxref{Initial RAM Disk}). Passing this option skips these tests altogether."
  48640. msgstr ""
  48641. #. type: table
  48642. #: guix-git/doc/guix.texi:33182
  48643. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  48644. msgstr ""
  48645. #. type: table
  48646. #: guix-git/doc/guix.texi:33190
  48647. msgid "By default, @command{reconfigure} prevents you from downgrading your system. It achieves that by comparing the provenance info of your system (shown by @command{guix system describe}) with that of your @command{guix} command (shown by @command{guix describe}). If the commits for @command{guix} are not descendants of those used for your system, @command{guix system reconfigure} errors out. Passing @option{--allow-downgrades} allows you to bypass these checks."
  48648. msgstr ""
  48649. #. type: cindex
  48650. #: guix-git/doc/guix.texi:33196
  48651. #, no-wrap
  48652. msgid "on-error"
  48653. msgstr ""
  48654. #. type: cindex
  48655. #: guix-git/doc/guix.texi:33197
  48656. #, no-wrap
  48657. msgid "on-error strategy"
  48658. msgstr ""
  48659. #. type: cindex
  48660. #: guix-git/doc/guix.texi:33198
  48661. #, no-wrap
  48662. msgid "error strategy"
  48663. msgstr ""
  48664. #. type: item
  48665. #: guix-git/doc/guix.texi:33199
  48666. #, no-wrap
  48667. msgid "--on-error=@var{strategy}"
  48668. msgstr ""
  48669. #. type: table
  48670. #: guix-git/doc/guix.texi:33202
  48671. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  48672. msgstr ""
  48673. #. type: item
  48674. #: guix-git/doc/guix.texi:33204
  48675. #, no-wrap
  48676. msgid "nothing-special"
  48677. msgstr ""
  48678. #. type: table
  48679. #: guix-git/doc/guix.texi:33206
  48680. msgid "Report the error concisely and exit. This is the default strategy."
  48681. msgstr ""
  48682. #. type: item
  48683. #: guix-git/doc/guix.texi:33207
  48684. #, no-wrap
  48685. msgid "backtrace"
  48686. msgstr ""
  48687. #. type: table
  48688. #: guix-git/doc/guix.texi:33209
  48689. msgid "Likewise, but also display a backtrace."
  48690. msgstr ""
  48691. #. type: item
  48692. #: guix-git/doc/guix.texi:33210
  48693. #, no-wrap
  48694. msgid "debug"
  48695. msgstr ""
  48696. #. type: table
  48697. #: guix-git/doc/guix.texi:33216
  48698. msgid "Report the error and enter Guile's debugger. From there, you can run commands such as @code{,bt} to get a backtrace, @code{,locals} to display local variable values, and more generally inspect the state of the program. @xref{Debug Commands,,, guile, GNU Guile Reference Manual}, for a list of available debugging commands."
  48699. msgstr ""
  48700. #. type: Plain text
  48701. #: guix-git/doc/guix.texi:33223
  48702. msgid "Once you have built, configured, re-configured, and re-re-configured your Guix installation, you may find it useful to list the operating system generations available on disk---and that you can choose from the bootloader boot menu:"
  48703. msgstr ""
  48704. #. type: item
  48705. #: guix-git/doc/guix.texi:33226
  48706. #, no-wrap
  48707. msgid "describe"
  48708. msgstr ""
  48709. #. type: table
  48710. #: guix-git/doc/guix.texi:33229
  48711. msgid "Describe the current system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  48712. msgstr ""
  48713. #. type: item
  48714. #: guix-git/doc/guix.texi:33230
  48715. #, no-wrap
  48716. msgid "list-generations"
  48717. msgstr ""
  48718. #. type: table
  48719. #: guix-git/doc/guix.texi:33235
  48720. msgid "List a summary of each generation of the operating system available on disk, in a human-readable way. This is similar to the @option{--list-generations} option of @command{guix package} (@pxref{Invoking guix package})."
  48721. msgstr ""
  48722. #. type: table
  48723. #: guix-git/doc/guix.texi:33240
  48724. msgid "Optionally, one can specify a pattern, with the same syntax that is used in @command{guix package --list-generations}, to restrict the list of generations displayed. For instance, the following command displays generations that are up to 10 days old:"
  48725. msgstr ""
  48726. #. type: example
  48727. #: guix-git/doc/guix.texi:33243
  48728. #, no-wrap
  48729. msgid "$ guix system list-generations 10d\n"
  48730. msgstr ""
  48731. #. type: Plain text
  48732. #: guix-git/doc/guix.texi:33250
  48733. msgid "The @command{guix system} command has even more to offer! The following sub-commands allow you to visualize how your system services relate to each other:"
  48734. msgstr ""
  48735. #. type: anchor{#1}
  48736. #: guix-git/doc/guix.texi:33252
  48737. msgid "system-extension-graph"
  48738. msgstr ""
  48739. #. type: item
  48740. #: guix-git/doc/guix.texi:33254
  48741. #, no-wrap
  48742. msgid "extension-graph"
  48743. msgstr ""
  48744. #. type: table
  48745. #: guix-git/doc/guix.texi:33261
  48746. msgid "Emit to standard output the @dfn{service extension graph} of the operating system defined in @var{file} (@pxref{Service Composition}, for more information on service extensions). By default the output is in Dot/Graphviz format, but you can choose a different format with @option{--graph-backend}, as with @command{guix graph} (@pxref{Invoking guix graph, @option{--backend}}):"
  48747. msgstr ""
  48748. #. type: table
  48749. #: guix-git/doc/guix.texi:33263
  48750. msgid "The command:"
  48751. msgstr ""
  48752. #. type: example
  48753. #: guix-git/doc/guix.texi:33266
  48754. #, no-wrap
  48755. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  48756. msgstr ""
  48757. #. type: table
  48758. #: guix-git/doc/guix.texi:33269
  48759. msgid "shows the extension relations among services."
  48760. msgstr ""
  48761. #. type: anchor{#1}
  48762. #: guix-git/doc/guix.texi:33271
  48763. msgid "system-shepherd-graph"
  48764. msgstr ""
  48765. #. type: item
  48766. #: guix-git/doc/guix.texi:33271
  48767. #, no-wrap
  48768. msgid "shepherd-graph"
  48769. msgstr ""
  48770. #. type: table
  48771. #: guix-git/doc/guix.texi:33276
  48772. msgid "Emit to standard output the @dfn{dependency graph} of shepherd services of the operating system defined in @var{file}. @xref{Shepherd Services}, for more information and for an example graph."
  48773. msgstr ""
  48774. #. type: table
  48775. #: guix-git/doc/guix.texi:33279
  48776. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  48777. msgstr ""
  48778. #. type: section
  48779. #: guix-git/doc/guix.texi:33283
  48780. #, no-wrap
  48781. msgid "Invoking @code{guix deploy}"
  48782. msgstr ""
  48783. #. type: Plain text
  48784. #: guix-git/doc/guix.texi:33291
  48785. msgid "We've already seen @code{operating-system} declarations used to manage a machine's configuration locally. Suppose you need to configure multiple machines, though---perhaps you're managing a service on the web that's comprised of several servers. @command{guix deploy} enables you to use those same @code{operating-system} declarations to manage multiple remote hosts at once as a logical ``deployment''."
  48786. msgstr ""
  48787. #. type: quotation
  48788. #: guix-git/doc/guix.texi:33296
  48789. msgid "The functionality described in this section is still under development and is subject to change. Get in touch with us on @email{guix-devel@@gnu.org}!"
  48790. msgstr ""
  48791. #. type: example
  48792. #: guix-git/doc/guix.texi:33300
  48793. #, no-wrap
  48794. msgid "guix deploy @var{file}\n"
  48795. msgstr ""
  48796. #. type: Plain text
  48797. #: guix-git/doc/guix.texi:33304
  48798. msgid "Such an invocation will deploy the machines that the code within @var{file} evaluates to. As an example, @var{file} might contain a definition like this:"
  48799. msgstr ""
  48800. #. type: lisp
  48801. #: guix-git/doc/guix.texi:33311
  48802. #, no-wrap
  48803. msgid ""
  48804. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  48805. ";; no X11 display server, to a machine with an SSH daemon\n"
  48806. ";; listening on localhost:2222. A configuration such as this\n"
  48807. ";; may be appropriate for virtual machine with ports\n"
  48808. ";; forwarded to the host's loopback interface.\n"
  48809. "\n"
  48810. msgstr ""
  48811. #. type: lisp
  48812. #: guix-git/doc/guix.texi:33314
  48813. #, no-wrap
  48814. msgid ""
  48815. "(use-service-modules networking ssh)\n"
  48816. "(use-package-modules bootloaders)\n"
  48817. "\n"
  48818. msgstr ""
  48819. #. type: lisp
  48820. #: guix-git/doc/guix.texi:33335
  48821. #, no-wrap
  48822. msgid ""
  48823. "(define %system\n"
  48824. " (operating-system\n"
  48825. " (host-name \"gnu-deployed\")\n"
  48826. " (timezone \"Etc/UTC\")\n"
  48827. " (bootloader (bootloader-configuration\n"
  48828. " (bootloader grub-bootloader)\n"
  48829. " (target \"/dev/vda\")\n"
  48830. " (terminal-outputs '(console))))\n"
  48831. " (file-systems (cons (file-system\n"
  48832. " (mount-point \"/\")\n"
  48833. " (device \"/dev/vda1\")\n"
  48834. " (type \"ext4\"))\n"
  48835. " %base-file-systems))\n"
  48836. " (services\n"
  48837. " (append (list (service dhcp-client-service-type)\n"
  48838. " (service openssh-service-type\n"
  48839. " (openssh-configuration\n"
  48840. " (permit-root-login #t)\n"
  48841. " (allow-empty-passwords? #t))))\n"
  48842. " %base-services))))\n"
  48843. "\n"
  48844. msgstr ""
  48845. #. type: lisp
  48846. #: guix-git/doc/guix.texi:33345
  48847. #, no-wrap
  48848. msgid ""
  48849. "(list (machine\n"
  48850. " (operating-system %system)\n"
  48851. " (environment managed-host-environment-type)\n"
  48852. " (configuration (machine-ssh-configuration\n"
  48853. " (host-name \"localhost\")\n"
  48854. " (system \"x86_64-linux\")\n"
  48855. " (user \"alice\")\n"
  48856. " (identity \"./id_rsa\")\n"
  48857. " (port 2222)))))\n"
  48858. msgstr ""
  48859. #. type: Plain text
  48860. #: guix-git/doc/guix.texi:33358
  48861. msgid "The file should evaluate to a list of @var{machine} objects. This example, upon being deployed, will create a new generation on the remote system realizing the @code{operating-system} declaration @code{%system}. @code{environment} and @code{configuration} specify how the machine should be provisioned---that is, how the computing resources should be created and managed. The above example does not create any resources, as a @code{'managed-host} is a machine that is already running the Guix system and available over the network. This is a particularly simple case; a more complex deployment may involve, for example, starting virtual machines through a Virtual Private Server (VPS) provider. In such a case, a different @var{environment} type would be used."
  48862. msgstr ""
  48863. #. type: Plain text
  48864. #: guix-git/doc/guix.texi:33363
  48865. msgid "Do note that you first need to generate a key pair on the coordinator machine to allow the daemon to export signed archives of files from the store (@pxref{Invoking guix archive}), though this step is automatic on Guix System:"
  48866. msgstr ""
  48867. #. type: Plain text
  48868. #: guix-git/doc/guix.texi:33371
  48869. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  48870. msgstr ""
  48871. #. type: example
  48872. #: guix-git/doc/guix.texi:33374
  48873. #, no-wrap
  48874. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  48875. msgstr ""
  48876. #. type: Plain text
  48877. #: guix-git/doc/guix.texi:33385
  48878. msgid "@code{user}, in this example, specifies the name of the user account to log in as to perform the deployment. Its default value is @code{root}, but root login over SSH may be forbidden in some cases. To work around this, @command{guix deploy} can log in as an unprivileged user and employ @code{sudo} to escalate privileges. This will only work if @code{sudo} is currently installed on the remote and can be invoked non-interactively as @code{user}. That is, the line in @code{sudoers} granting @code{user} the ability to use @code{sudo} must contain the @code{NOPASSWD} tag. This can be accomplished with the following operating system configuration snippet:"
  48879. msgstr ""
  48880. #. type: lisp
  48881. #: guix-git/doc/guix.texi:33389
  48882. #, no-wrap
  48883. msgid ""
  48884. "(use-modules ...\n"
  48885. " (gnu system)) ;for %sudoers-specification\n"
  48886. "\n"
  48887. msgstr ""
  48888. #. type: lisp
  48889. #: guix-git/doc/guix.texi:33391
  48890. #, no-wrap
  48891. msgid ""
  48892. "(define %user \"username\")\n"
  48893. "\n"
  48894. msgstr ""
  48895. #. type: lisp
  48896. #: guix-git/doc/guix.texi:33399
  48897. #, no-wrap
  48898. msgid ""
  48899. "(operating-system\n"
  48900. " ...\n"
  48901. " (sudoers-file\n"
  48902. " (plain-file \"sudoers\"\n"
  48903. " (string-append (plain-file-content %sudoers-specification)\n"
  48904. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  48905. " %user)))))\n"
  48906. "\n"
  48907. msgstr ""
  48908. #. type: Plain text
  48909. #: guix-git/doc/guix.texi:33404
  48910. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  48911. msgstr ""
  48912. #. type: deftp
  48913. #: guix-git/doc/guix.texi:33405
  48914. #, no-wrap
  48915. msgid "{Data Type} machine"
  48916. msgstr ""
  48917. #. type: deftp
  48918. #: guix-git/doc/guix.texi:33408
  48919. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  48920. msgstr ""
  48921. #. type: table
  48922. #: guix-git/doc/guix.texi:33412
  48923. msgid "The object of the operating system configuration to deploy."
  48924. msgstr ""
  48925. #. type: code{#1}
  48926. #: guix-git/doc/guix.texi:33413
  48927. #, no-wrap
  48928. msgid "environment"
  48929. msgstr ""
  48930. #. type: table
  48931. #: guix-git/doc/guix.texi:33415
  48932. msgid "An @code{environment-type} describing how the machine should be provisioned."
  48933. msgstr ""
  48934. #. type: item
  48935. #: guix-git/doc/guix.texi:33416
  48936. #, no-wrap
  48937. msgid "@code{configuration} (default: @code{#f})"
  48938. msgstr ""
  48939. #. type: table
  48940. #: guix-git/doc/guix.texi:33421
  48941. msgid "An object describing the configuration for the machine's @code{environment}. If the @code{environment} has a default configuration, @code{#f} may be used. If @code{#f} is used for an environment with no default configuration, however, an error will be thrown."
  48942. msgstr ""
  48943. #. type: deftp
  48944. #: guix-git/doc/guix.texi:33424
  48945. #, no-wrap
  48946. msgid "{Data Type} machine-ssh-configuration"
  48947. msgstr ""
  48948. #. type: deftp
  48949. #: guix-git/doc/guix.texi:33427
  48950. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  48951. msgstr ""
  48952. #. type: item
  48953. #: guix-git/doc/guix.texi:33430
  48954. #, no-wrap
  48955. msgid "@code{build-locally?} (default: @code{#t})"
  48956. msgstr ""
  48957. #. type: table
  48958. #: guix-git/doc/guix.texi:33432
  48959. msgid "If false, system derivations will be built on the machine being deployed to."
  48960. msgstr ""
  48961. #. type: code{#1}
  48962. #: guix-git/doc/guix.texi:33432
  48963. #, no-wrap
  48964. msgid "system"
  48965. msgstr ""
  48966. #. type: table
  48967. #: guix-git/doc/guix.texi:33435
  48968. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  48969. msgstr ""
  48970. #. type: item
  48971. #: guix-git/doc/guix.texi:33435
  48972. #, no-wrap
  48973. msgid "@code{authorize?} (default: @code{#t})"
  48974. msgstr ""
  48975. #. type: table
  48976. #: guix-git/doc/guix.texi:33438
  48977. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  48978. msgstr ""
  48979. #. type: item
  48980. #: guix-git/doc/guix.texi:33439
  48981. #, no-wrap
  48982. msgid "@code{user} (default: @code{\"root\"})"
  48983. msgstr ""
  48984. #. type: item
  48985. #: guix-git/doc/guix.texi:33440
  48986. #, no-wrap
  48987. msgid "@code{identity} (default: @code{#f})"
  48988. msgstr ""
  48989. #. type: table
  48990. #: guix-git/doc/guix.texi:33443
  48991. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  48992. msgstr ""
  48993. #. type: item
  48994. #: guix-git/doc/guix.texi:33444
  48995. #, no-wrap
  48996. msgid "@code{host-key} (default: @code{#f})"
  48997. msgstr ""
  48998. #. type: table
  48999. #: guix-git/doc/guix.texi:33446
  49000. msgid "This should be the SSH host key of the machine, which looks like this:"
  49001. msgstr ""
  49002. #. type: example
  49003. #: guix-git/doc/guix.texi:33449
  49004. #, no-wrap
  49005. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  49006. msgstr ""
  49007. #. type: table
  49008. #: guix-git/doc/guix.texi:33454
  49009. msgid "When @code{host-key} is @code{#f}, the server is authenticated against the @file{~/.ssh/known_hosts} file, just like the OpenSSH @command{ssh} client does."
  49010. msgstr ""
  49011. #. type: item
  49012. #: guix-git/doc/guix.texi:33455
  49013. #, no-wrap
  49014. msgid "@code{allow-downgrades?} (default: @code{#f})"
  49015. msgstr ""
  49016. #. type: table
  49017. #: guix-git/doc/guix.texi:33457
  49018. msgid "Whether to allow potential downgrades."
  49019. msgstr ""
  49020. #. type: table
  49021. #: guix-git/doc/guix.texi:33465
  49022. msgid "Like @command{guix system reconfigure}, @command{guix deploy} compares the channel commits currently deployed on the remote host (as returned by @command{guix system describe}) to those currently in use (as returned by @command{guix describe}) to determine whether commits currently in use are descendants of those deployed. When this is not the case and @code{allow-downgrades?} is false, it raises an error. This ensures you do not accidentally downgrade remote machines."
  49023. msgstr ""
  49024. #. type: deftp
  49025. #: guix-git/doc/guix.texi:33468
  49026. #, no-wrap
  49027. msgid "{Data Type} digital-ocean-configuration"
  49028. msgstr ""
  49029. #. type: deftp
  49030. #: guix-git/doc/guix.texi:33471
  49031. msgid "This is the data type describing the Droplet that should be created for a machine with an @code{environment} of @code{digital-ocean-environment-type}."
  49032. msgstr ""
  49033. #. type: code{#1}
  49034. #: guix-git/doc/guix.texi:33473
  49035. #, no-wrap
  49036. msgid "ssh-key"
  49037. msgstr ""
  49038. #. type: table
  49039. #: guix-git/doc/guix.texi:33476
  49040. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  49041. msgstr ""
  49042. #. type: code{#1}
  49043. #: guix-git/doc/guix.texi:33476
  49044. #, no-wrap
  49045. msgid "tags"
  49046. msgstr ""
  49047. #. type: table
  49048. #: guix-git/doc/guix.texi:33479
  49049. msgid "A list of string ``tags'' that uniquely identify the machine. Must be given such that no two machines in the deployment have the same set of tags."
  49050. msgstr ""
  49051. #. type: code{#1}
  49052. #: guix-git/doc/guix.texi:33479
  49053. #, no-wrap
  49054. msgid "region"
  49055. msgstr ""
  49056. #. type: table
  49057. #: guix-git/doc/guix.texi:33481
  49058. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  49059. msgstr ""
  49060. #. type: table
  49061. #: guix-git/doc/guix.texi:33483
  49062. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  49063. msgstr ""
  49064. #. type: code{#1}
  49065. #: guix-git/doc/guix.texi:33483
  49066. #, no-wrap
  49067. msgid "enable-ipv6?"
  49068. msgstr ""
  49069. #. type: table
  49070. #: guix-git/doc/guix.texi:33485
  49071. msgid "Whether or not the droplet should be created with IPv6 networking."
  49072. msgstr ""
  49073. #. type: section
  49074. #: guix-git/doc/guix.texi:33489
  49075. #, no-wrap
  49076. msgid "Running Guix in a Virtual Machine"
  49077. msgstr ""
  49078. #. type: Plain text
  49079. #: guix-git/doc/guix.texi:33498
  49080. msgid "To run Guix in a virtual machine (VM), one can use the pre-built Guix VM image distributed at @url{@value{BASE-URL}/guix-system-vm-image-@value{VERSION}.x86_64-linux.qcow2}. This image is a compressed image in QCOW format. You will first need to decompress with @command{xz -d}, and then you can pass it to an emulator such as QEMU (see below for details)."
  49081. msgstr ""
  49082. #. type: Plain text
  49083. #: guix-git/doc/guix.texi:33505
  49084. msgid "This image boots the Xfce graphical environment and it contains some commonly used tools. You can install more software in the image by running @command{guix package} in a terminal (@pxref{Invoking guix package}). You can also reconfigure the system based on its initial configuration file available as @file{/run/current-system/configuration.scm} (@pxref{Using the Configuration System})."
  49085. msgstr ""
  49086. #. type: Plain text
  49087. #: guix-git/doc/guix.texi:33510
  49088. msgid "Instead of using this pre-built image, one can also build their own virtual machine image using @command{guix system vm-image} (@pxref{Invoking guix system}). The returned image is in qcow2 format, which the @uref{https://qemu.org/, QEMU emulator} can efficiently use."
  49089. msgstr ""
  49090. #. type: cindex
  49091. #: guix-git/doc/guix.texi:33511
  49092. #, no-wrap
  49093. msgid "QEMU"
  49094. msgstr ""
  49095. #. type: Plain text
  49096. #: guix-git/doc/guix.texi:33518
  49097. msgid "If you built your own image, you must copy it out of the store (@pxref{The Store}) and give yourself permission to write to the copy before you can use it. When invoking QEMU, you must choose a system emulator that is suitable for your hardware platform. Here is a minimal QEMU invocation that will boot the result of @command{guix system image -t qcow2} on x86_64 hardware:"
  49098. msgstr ""
  49099. #. type: example
  49100. #: guix-git/doc/guix.texi:33525
  49101. #, no-wrap
  49102. msgid ""
  49103. "$ qemu-system-x86_64 \\\n"
  49104. " -nic user,model=virtio-net-pci \\\n"
  49105. " -enable-kvm -m 1024 \\\n"
  49106. " -device virtio-blk,drive=myhd \\\n"
  49107. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  49108. msgstr ""
  49109. #. type: Plain text
  49110. #: guix-git/doc/guix.texi:33528
  49111. msgid "Here is what each of these options means:"
  49112. msgstr ""
  49113. #. type: item
  49114. #: guix-git/doc/guix.texi:33530
  49115. #, no-wrap
  49116. msgid "qemu-system-x86_64"
  49117. msgstr ""
  49118. #. type: table
  49119. #: guix-git/doc/guix.texi:33533
  49120. msgid "This specifies the hardware platform to emulate. This should match the host."
  49121. msgstr ""
  49122. #. type: item
  49123. #: guix-git/doc/guix.texi:33534
  49124. #, no-wrap
  49125. msgid "-nic user,model=virtio-net-pci"
  49126. msgstr ""
  49127. #. type: table
  49128. #: guix-git/doc/guix.texi:33542
  49129. msgid "Enable the unprivileged user-mode network stack. The guest OS can access the host but not vice versa. This is the simplest way to get the guest OS online. @code{model} specifies which network device to emulate: @code{virtio-net-pci} is a special device made for virtualized operating systems and recommended for most uses. Assuming your hardware platform is x86_64, you can get a list of available NIC models by running @command{qemu-system-x86_64 -nic model=help}."
  49130. msgstr ""
  49131. #. type: item
  49132. #: guix-git/doc/guix.texi:33543
  49133. #, no-wrap
  49134. msgid "-enable-kvm"
  49135. msgstr ""
  49136. #. type: table
  49137. #: guix-git/doc/guix.texi:33547
  49138. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  49139. msgstr ""
  49140. #. type: item
  49141. #: guix-git/doc/guix.texi:33549
  49142. #, no-wrap
  49143. msgid "-m 1024"
  49144. msgstr ""
  49145. #. type: table
  49146. #: guix-git/doc/guix.texi:33552
  49147. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  49148. msgstr ""
  49149. #. type: item
  49150. #: guix-git/doc/guix.texi:33553
  49151. #, no-wrap
  49152. msgid "-device virtio-blk,drive=myhd"
  49153. msgstr ""
  49154. #. type: table
  49155. #: guix-git/doc/guix.texi:33558
  49156. msgid "Create a @code{virtio-blk} drive called ``myhd''. @code{virtio-blk} is a ``paravirtualization'' mechanism for block devices that allows QEMU to achieve better performance than if it were emulating a complete disk drive. See the QEMU and KVM documentation for more info."
  49157. msgstr ""
  49158. #. type: item
  49159. #: guix-git/doc/guix.texi:33559
  49160. #, no-wrap
  49161. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  49162. msgstr ""
  49163. #. type: table
  49164. #: guix-git/doc/guix.texi:33562
  49165. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  49166. msgstr ""
  49167. #. type: Plain text
  49168. #: guix-git/doc/guix.texi:33572
  49169. msgid "The default @command{run-vm.sh} script that is returned by an invocation of @command{guix system vm} does not add a @command{-nic user} flag by default. To get network access from within the vm add the @code{(dhcp-client-service)} to your system definition and start the VM using @command{$(guix system vm config.scm) -nic user}. An important caveat of using @command{-nic user} for networking is that @command{ping} will not work, because it uses the ICMP protocol. You'll have to use a different command to check for network connectivity, for example @command{guix download}."
  49170. msgstr ""
  49171. #. type: subsection
  49172. #: guix-git/doc/guix.texi:33573
  49173. #, no-wrap
  49174. msgid "Connecting Through SSH"
  49175. msgstr ""
  49176. #. type: Plain text
  49177. #: guix-git/doc/guix.texi:33581
  49178. msgid "To enable SSH inside a VM you need to add an SSH server like @code{openssh-service-type} to your VM (@pxref{Networking Services, @code{openssh-service-type}}). In addition you need to forward the SSH port, 22 by default, to the host. You can do this with"
  49179. msgstr ""
  49180. #. type: example
  49181. #: guix-git/doc/guix.texi:33584
  49182. #, no-wrap
  49183. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  49184. msgstr ""
  49185. #. type: Plain text
  49186. #: guix-git/doc/guix.texi:33587
  49187. msgid "To connect to the VM you can run"
  49188. msgstr ""
  49189. #. type: example
  49190. #: guix-git/doc/guix.texi:33590
  49191. #, no-wrap
  49192. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  49193. msgstr ""
  49194. #. type: Plain text
  49195. #: guix-git/doc/guix.texi:33597
  49196. msgid "The @command{-p} tells @command{ssh} the port you want to connect to. @command{-o UserKnownHostsFile=/dev/null} prevents @command{ssh} from complaining every time you modify your @command{config.scm} file and the @command{-o StrictHostKeyChecking=no} prevents you from having to allow a connection to an unknown host every time you connect."
  49197. msgstr ""
  49198. #. type: subsection
  49199. #: guix-git/doc/guix.texi:33598
  49200. #, no-wrap
  49201. msgid "Using @command{virt-viewer} with Spice"
  49202. msgstr ""
  49203. #. type: Plain text
  49204. #: guix-git/doc/guix.texi:33604
  49205. msgid "As an alternative to the default @command{qemu} graphical client you can use the @command{remote-viewer} from the @command{virt-viewer} package. To connect pass the @command{-spice port=5930,disable-ticketing} flag to @command{qemu}. See previous section for further information on how to do this."
  49206. msgstr ""
  49207. #. type: Plain text
  49208. #: guix-git/doc/guix.texi:33607
  49209. msgid "Spice also allows you to do some nice stuff like share your clipboard with your VM@. To enable that you'll also have to pass the following flags to @command{qemu}:"
  49210. msgstr ""
  49211. #. type: example
  49212. #: guix-git/doc/guix.texi:33613
  49213. #, no-wrap
  49214. msgid ""
  49215. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  49216. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  49217. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\n"
  49218. "name=com.redhat.spice.0\n"
  49219. msgstr ""
  49220. #. type: Plain text
  49221. #: guix-git/doc/guix.texi:33617
  49222. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  49223. msgstr ""
  49224. #. type: Plain text
  49225. #: guix-git/doc/guix.texi:33624
  49226. msgid "The previous sections show the available services and how one can combine them in an @code{operating-system} declaration. But how do we define them in the first place? And what is a service anyway?"
  49227. msgstr ""
  49228. #. type: cindex
  49229. #: guix-git/doc/guix.texi:33636
  49230. #, no-wrap
  49231. msgid "daemons"
  49232. msgstr ""
  49233. #. type: Plain text
  49234. #: guix-git/doc/guix.texi:33649
  49235. msgid "Here we define a @dfn{service} as, broadly, something that extends the functionality of the operating system. Often a service is a process---a @dfn{daemon}---started when the system boots: a secure shell server, a Web server, the Guix build daemon, etc. Sometimes a service is a daemon whose execution can be triggered by another daemon---e.g., an FTP server started by @command{inetd} or a D-Bus service activated by @command{dbus-daemon}. Occasionally, a service does not map to a daemon. For instance, the ``account'' service collects user accounts and makes sure they exist when the system runs; the ``udev'' service collects device management rules and makes them available to the eudev daemon; the @file{/etc} service populates the @file{/etc} directory of the system."
  49236. msgstr ""
  49237. #. type: cindex
  49238. #: guix-git/doc/guix.texi:33650
  49239. #, no-wrap
  49240. msgid "service extensions"
  49241. msgstr ""
  49242. #. type: Plain text
  49243. #: guix-git/doc/guix.texi:33662
  49244. msgid "Guix system services are connected by @dfn{extensions}. For instance, the secure shell service @emph{extends} the Shepherd---the initialization system, running as PID@tie{}1---by giving it the command lines to start and stop the secure shell daemon (@pxref{Networking Services, @code{openssh-service-type}}); the UPower service extends the D-Bus service by passing it its @file{.service} specification, and extends the udev service by passing it device management rules (@pxref{Desktop Services, @code{upower-service}}); the Guix daemon service extends the Shepherd by passing it the command lines to start and stop the daemon, and extends the account service by passing it a list of required build user accounts (@pxref{Base Services})."
  49245. msgstr ""
  49246. #. type: Plain text
  49247. #: guix-git/doc/guix.texi:33666
  49248. msgid "All in all, services and their ``extends'' relations form a directed acyclic graph (DAG). If we represent services as boxes and extensions as arrows, a typical system might provide something like this:"
  49249. msgstr ""
  49250. #. type: Plain text
  49251. #: guix-git/doc/guix.texi:33668
  49252. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  49253. msgstr ""
  49254. #. type: cindex
  49255. #: guix-git/doc/guix.texi:33669
  49256. #, no-wrap
  49257. msgid "system service"
  49258. msgstr ""
  49259. #. type: Plain text
  49260. #: guix-git/doc/guix.texi:33677
  49261. msgid "At the bottom, we see the @dfn{system service}, which produces the directory containing everything to run and boot the system, as returned by the @command{guix system build} command. @xref{Service Reference}, to learn about the other service types shown here. @xref{system-extension-graph, the @command{guix system extension-graph} command}, for information on how to generate this representation for a particular operating system definition."
  49262. msgstr ""
  49263. #. type: cindex
  49264. #: guix-git/doc/guix.texi:33678
  49265. #, no-wrap
  49266. msgid "service types"
  49267. msgstr ""
  49268. #. type: Plain text
  49269. #: guix-git/doc/guix.texi:33684
  49270. msgid "Technically, developers can define @dfn{service types} to express these relations. There can be any number of services of a given type on the system---for instance, a system running two instances of the GNU secure shell server (lsh) has two instances of @code{lsh-service-type}, with different parameters."
  49271. msgstr ""
  49272. #. type: Plain text
  49273. #: guix-git/doc/guix.texi:33687
  49274. msgid "The following section describes the programming interface for service types and services."
  49275. msgstr ""
  49276. #. type: Plain text
  49277. #: guix-git/doc/guix.texi:33694
  49278. msgid "A @dfn{service type} is a node in the DAG described above. Let us start with a simple example, the service type for the Guix build daemon (@pxref{Invoking guix-daemon}):"
  49279. msgstr ""
  49280. #. type: lisp
  49281. #: guix-git/doc/guix.texi:33704
  49282. #, no-wrap
  49283. msgid ""
  49284. "(define guix-service-type\n"
  49285. " (service-type\n"
  49286. " (name 'guix)\n"
  49287. " (extensions\n"
  49288. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  49289. " (service-extension account-service-type guix-accounts)\n"
  49290. " (service-extension activation-service-type guix-activation)))\n"
  49291. " (default-value (guix-configuration))))\n"
  49292. msgstr ""
  49293. #. type: Plain text
  49294. #: guix-git/doc/guix.texi:33708
  49295. msgid "It defines three things:"
  49296. msgstr ""
  49297. #. type: enumerate
  49298. #: guix-git/doc/guix.texi:33712
  49299. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  49300. msgstr ""
  49301. #. type: enumerate
  49302. #: guix-git/doc/guix.texi:33717
  49303. msgid "A list of @dfn{service extensions}, where each extension designates the target service type and a procedure that, given the parameters of the service, returns a list of objects to extend the service of that type."
  49304. msgstr ""
  49305. #. type: enumerate
  49306. #: guix-git/doc/guix.texi:33720
  49307. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  49308. msgstr ""
  49309. #. type: enumerate
  49310. #: guix-git/doc/guix.texi:33723
  49311. msgid "Optionally, a default value for instances of this type."
  49312. msgstr ""
  49313. #. type: Plain text
  49314. #: guix-git/doc/guix.texi:33726
  49315. msgid "In this example, @code{guix-service-type} extends three services:"
  49316. msgstr ""
  49317. #. type: item
  49318. #: guix-git/doc/guix.texi:33728
  49319. #, no-wrap
  49320. msgid "shepherd-root-service-type"
  49321. msgstr ""
  49322. #. type: table
  49323. #: guix-git/doc/guix.texi:33733
  49324. msgid "The @code{guix-shepherd-service} procedure defines how the Shepherd service is extended. Namely, it returns a @code{<shepherd-service>} object that defines how @command{guix-daemon} is started and stopped (@pxref{Shepherd Services})."
  49325. msgstr ""
  49326. #. type: item
  49327. #: guix-git/doc/guix.texi:33734
  49328. #, no-wrap
  49329. msgid "account-service-type"
  49330. msgstr ""
  49331. #. type: table
  49332. #: guix-git/doc/guix.texi:33739
  49333. msgid "This extension for this service is computed by @code{guix-accounts}, which returns a list of @code{user-group} and @code{user-account} objects representing the build user accounts (@pxref{Invoking guix-daemon})."
  49334. msgstr ""
  49335. #. type: item
  49336. #: guix-git/doc/guix.texi:33740
  49337. #, no-wrap
  49338. msgid "activation-service-type"
  49339. msgstr ""
  49340. #. type: table
  49341. #: guix-git/doc/guix.texi:33744
  49342. msgid "Here @code{guix-activation} is a procedure that returns a gexp, which is a code snippet to run at ``activation time''---e.g., when the service is booted."
  49343. msgstr ""
  49344. #. type: Plain text
  49345. #: guix-git/doc/guix.texi:33747
  49346. msgid "A service of this type is instantiated like this:"
  49347. msgstr ""
  49348. #. type: lisp
  49349. #: guix-git/doc/guix.texi:33753
  49350. #, no-wrap
  49351. msgid ""
  49352. "(service guix-service-type\n"
  49353. " (guix-configuration\n"
  49354. " (build-accounts 5)\n"
  49355. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  49356. msgstr ""
  49357. #. type: Plain text
  49358. #: guix-git/doc/guix.texi:33761
  49359. msgid "The second argument to the @code{service} form is a value representing the parameters of this specific service instance. @xref{guix-configuration-type, @code{guix-configuration}}, for information about the @code{guix-configuration} data type. When the value is omitted, the default value specified by @code{guix-service-type} is used:"
  49360. msgstr ""
  49361. #. type: lisp
  49362. #: guix-git/doc/guix.texi:33764
  49363. #, no-wrap
  49364. msgid "(service guix-service-type)\n"
  49365. msgstr ""
  49366. #. type: Plain text
  49367. #: guix-git/doc/guix.texi:33768
  49368. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  49369. msgstr ""
  49370. #. type: Plain text
  49371. #: guix-git/doc/guix.texi:33772
  49372. msgid "The service type for an @emph{extensible} service looks like this:"
  49373. msgstr ""
  49374. #. type: lisp
  49375. #: guix-git/doc/guix.texi:33779
  49376. #, no-wrap
  49377. msgid ""
  49378. "(define udev-service-type\n"
  49379. " (service-type (name 'udev)\n"
  49380. " (extensions\n"
  49381. " (list (service-extension shepherd-root-service-type\n"
  49382. " udev-shepherd-service)))\n"
  49383. "\n"
  49384. msgstr ""
  49385. #. type: lisp
  49386. #: guix-git/doc/guix.texi:33787
  49387. #, no-wrap
  49388. msgid ""
  49389. " (compose concatenate) ;concatenate the list of rules\n"
  49390. " (extend (lambda (config rules)\n"
  49391. " (match config\n"
  49392. " (($ <udev-configuration> udev initial-rules)\n"
  49393. " (udev-configuration\n"
  49394. " (udev udev) ;the udev package to use\n"
  49395. " (rules (append initial-rules rules)))))))))\n"
  49396. msgstr ""
  49397. #. type: Plain text
  49398. #: guix-git/doc/guix.texi:33793
  49399. msgid "This is the service type for the @uref{https://wiki.gentoo.org/wiki/Project:Eudev, eudev device management daemon}. Compared to the previous example, in addition to an extension of @code{shepherd-root-service-type}, we see two new fields:"
  49400. msgstr ""
  49401. #. type: item
  49402. #: guix-git/doc/guix.texi:33795
  49403. #, no-wrap
  49404. msgid "compose"
  49405. msgstr ""
  49406. #. type: table
  49407. #: guix-git/doc/guix.texi:33798
  49408. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  49409. msgstr ""
  49410. #. type: table
  49411. #: guix-git/doc/guix.texi:33801
  49412. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  49413. msgstr ""
  49414. #. type: item
  49415. #: guix-git/doc/guix.texi:33802
  49416. #, no-wrap
  49417. msgid "extend"
  49418. msgstr ""
  49419. #. type: table
  49420. #: guix-git/doc/guix.texi:33805
  49421. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  49422. msgstr ""
  49423. #. type: table
  49424. #: guix-git/doc/guix.texi:33810
  49425. msgid "Udev extensions are composed into a list of rules, but the udev service value is itself a @code{<udev-configuration>} record. So here, we extend that record by appending the list of rules it contains to the list of contributed rules."
  49426. msgstr ""
  49427. #. type: table
  49428. #: guix-git/doc/guix.texi:33816
  49429. msgid "This is a string giving an overview of the service type. The string can contain Texinfo markup (@pxref{Overview,,, texinfo, GNU Texinfo}). The @command{guix system search} command searches these strings and displays them (@pxref{Invoking guix system})."
  49430. msgstr ""
  49431. #. type: Plain text
  49432. #: guix-git/doc/guix.texi:33821
  49433. msgid "There can be only one instance of an extensible service type such as @code{udev-service-type}. If there were more, the @code{service-extension} specifications would be ambiguous."
  49434. msgstr ""
  49435. #. type: Plain text
  49436. #: guix-git/doc/guix.texi:33824
  49437. msgid "Still here? The next section provides a reference of the programming interface for services."
  49438. msgstr ""
  49439. #. type: Plain text
  49440. #: guix-git/doc/guix.texi:33832
  49441. msgid "We have seen an overview of service types (@pxref{Service Types and Services}). This section provides a reference on how to manipulate services and service types. This interface is provided by the @code{(gnu services)} module."
  49442. msgstr ""
  49443. #. type: deffn
  49444. #: guix-git/doc/guix.texi:33833
  49445. #, no-wrap
  49446. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  49447. msgstr ""
  49448. #. type: deffn
  49449. #: guix-git/doc/guix.texi:33837
  49450. msgid "Return a new service of @var{type}, a @code{<service-type>} object (see below). @var{value} can be any object; it represents the parameters of this particular service instance."
  49451. msgstr ""
  49452. #. type: deffn
  49453. #: guix-git/doc/guix.texi:33841
  49454. msgid "When @var{value} is omitted, the default value specified by @var{type} is used; if @var{type} does not specify a default value, an error is raised."
  49455. msgstr ""
  49456. #. type: deffn
  49457. #: guix-git/doc/guix.texi:33843
  49458. msgid "For instance, this:"
  49459. msgstr ""
  49460. #. type: lisp
  49461. #: guix-git/doc/guix.texi:33846
  49462. #, no-wrap
  49463. msgid "(service openssh-service-type)\n"
  49464. msgstr ""
  49465. #. type: deffn
  49466. #: guix-git/doc/guix.texi:33850
  49467. msgid "is equivalent to this:"
  49468. msgstr ""
  49469. #. type: lisp
  49470. #: guix-git/doc/guix.texi:33854
  49471. #, no-wrap
  49472. msgid ""
  49473. "(service openssh-service-type\n"
  49474. " (openssh-configuration))\n"
  49475. msgstr ""
  49476. #. type: deffn
  49477. #: guix-git/doc/guix.texi:33858
  49478. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  49479. msgstr ""
  49480. #. type: deffn
  49481. #: guix-git/doc/guix.texi:33860
  49482. #, no-wrap
  49483. msgid "{Scheme Procedure} service? @var{obj}"
  49484. msgstr ""
  49485. #. type: deffn
  49486. #: guix-git/doc/guix.texi:33862
  49487. msgid "Return true if @var{obj} is a service."
  49488. msgstr ""
  49489. #. type: deffn
  49490. #: guix-git/doc/guix.texi:33864
  49491. #, no-wrap
  49492. msgid "{Scheme Procedure} service-kind @var{service}"
  49493. msgstr ""
  49494. #. type: deffn
  49495. #: guix-git/doc/guix.texi:33866
  49496. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  49497. msgstr ""
  49498. #. type: deffn
  49499. #: guix-git/doc/guix.texi:33868
  49500. #, no-wrap
  49501. msgid "{Scheme Procedure} service-value @var{service}"
  49502. msgstr ""
  49503. #. type: deffn
  49504. #: guix-git/doc/guix.texi:33871
  49505. msgid "Return the value associated with @var{service}. It represents its parameters."
  49506. msgstr ""
  49507. #. type: Plain text
  49508. #: guix-git/doc/guix.texi:33874
  49509. msgid "Here is an example of how a service is created and manipulated:"
  49510. msgstr ""
  49511. #. type: lisp
  49512. #: guix-git/doc/guix.texi:33883
  49513. #, no-wrap
  49514. msgid ""
  49515. "(define s\n"
  49516. " (service nginx-service-type\n"
  49517. " (nginx-configuration\n"
  49518. " (nginx nginx)\n"
  49519. " (log-directory log-directory)\n"
  49520. " (run-directory run-directory)\n"
  49521. " (file config-file))))\n"
  49522. "\n"
  49523. msgstr ""
  49524. #. type: lisp
  49525. #: guix-git/doc/guix.texi:33886
  49526. #, no-wrap
  49527. msgid ""
  49528. "(service? s)\n"
  49529. "@result{} #t\n"
  49530. "\n"
  49531. msgstr ""
  49532. #. type: lisp
  49533. #: guix-git/doc/guix.texi:33889
  49534. #, no-wrap
  49535. msgid ""
  49536. "(eq? (service-kind s) nginx-service-type)\n"
  49537. "@result{} #t\n"
  49538. msgstr ""
  49539. #. type: Plain text
  49540. #: guix-git/doc/guix.texi:33899
  49541. msgid "The @code{modify-services} form provides a handy way to change the parameters of some of the services of a list such as @code{%base-services} (@pxref{Base Services, @code{%base-services}}). It evaluates to a list of services. Of course, you could always use standard list combinators such as @code{map} and @code{fold} to do that (@pxref{SRFI-1, List Library,, guile, GNU Guile Reference Manual}); @code{modify-services} simply provides a more concise form for this common pattern."
  49542. msgstr ""
  49543. #. type: deffn
  49544. #: guix-git/doc/guix.texi:33900
  49545. #, no-wrap
  49546. msgid "{Scheme Syntax} modify-services @var{services} @"
  49547. msgstr ""
  49548. #. type: deffn
  49549. #: guix-git/doc/guix.texi:33902
  49550. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  49551. msgstr ""
  49552. #. type: deffn
  49553. #: guix-git/doc/guix.texi:33905
  49554. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  49555. msgstr ""
  49556. #. type: example
  49557. #: guix-git/doc/guix.texi:33908
  49558. #, no-wrap
  49559. msgid "(@var{type} @var{variable} => @var{body})\n"
  49560. msgstr ""
  49561. #. type: deffn
  49562. #: guix-git/doc/guix.texi:33915
  49563. msgid "where @var{type} is a service type---e.g., @code{guix-service-type}---and @var{variable} is an identifier that is bound within the @var{body} to the service parameters---e.g., a @code{guix-configuration} instance---of the original service of that @var{type}."
  49564. msgstr ""
  49565. #. type: deffn
  49566. #: guix-git/doc/guix.texi:33922
  49567. msgid "The @var{body} should evaluate to the new service parameters, which will be used to configure the new service. This new service will replace the original in the resulting list. Because a service's service parameters are created using @code{define-record-type*}, you can write a succinct @var{body} that evaluates to the new service parameters by using the @code{inherit} feature that @code{define-record-type*} provides."
  49568. msgstr ""
  49569. #. type: deffn
  49570. #: guix-git/doc/guix.texi:33924
  49571. msgid "@xref{Using the Configuration System}, for example usage."
  49572. msgstr ""
  49573. #. type: Plain text
  49574. #: guix-git/doc/guix.texi:33931
  49575. msgid "Next comes the programming interface for service types. This is something you want to know when writing new service definitions, but not necessarily when simply looking for ways to customize your @code{operating-system} declaration."
  49576. msgstr ""
  49577. #. type: deftp
  49578. #: guix-git/doc/guix.texi:33932
  49579. #, no-wrap
  49580. msgid "{Data Type} service-type"
  49581. msgstr ""
  49582. #. type: cindex
  49583. #: guix-git/doc/guix.texi:33933
  49584. #, no-wrap
  49585. msgid "service type"
  49586. msgstr ""
  49587. #. type: deftp
  49588. #: guix-git/doc/guix.texi:33936
  49589. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  49590. msgstr ""
  49591. #. type: table
  49592. #: guix-git/doc/guix.texi:33940
  49593. msgid "This is a symbol, used only to simplify inspection and debugging."
  49594. msgstr ""
  49595. #. type: code{#1}
  49596. #: guix-git/doc/guix.texi:33941
  49597. #, no-wrap
  49598. msgid "extensions"
  49599. msgstr ""
  49600. #. type: table
  49601. #: guix-git/doc/guix.texi:33943
  49602. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  49603. msgstr ""
  49604. #. type: item
  49605. #: guix-git/doc/guix.texi:33944
  49606. #, no-wrap
  49607. msgid "@code{compose} (default: @code{#f})"
  49608. msgstr ""
  49609. #. type: table
  49610. #: guix-git/doc/guix.texi:33948
  49611. msgid "If this is @code{#f}, then the service type denotes services that cannot be extended---i.e., services that do not receive ``values'' from other services."
  49612. msgstr ""
  49613. #. type: table
  49614. #: guix-git/doc/guix.texi:33952
  49615. msgid "Otherwise, it must be a one-argument procedure. The procedure is called by @code{fold-services} and is passed a list of values collected from extensions. It may return any single value."
  49616. msgstr ""
  49617. #. type: item
  49618. #: guix-git/doc/guix.texi:33953
  49619. #, no-wrap
  49620. msgid "@code{extend} (default: @code{#f})"
  49621. msgstr ""
  49622. #. type: table
  49623. #: guix-git/doc/guix.texi:33955
  49624. msgid "If this is @code{#f}, services of this type cannot be extended."
  49625. msgstr ""
  49626. #. type: table
  49627. #: guix-git/doc/guix.texi:33961
  49628. msgid "Otherwise, it must be a two-argument procedure: @code{fold-services} calls it, passing it the initial value of the service as the first argument and the result of applying @code{compose} to the extension values as the second argument. It must return a value that is a valid parameter value for the service instance."
  49629. msgstr ""
  49630. #. type: table
  49631. #: guix-git/doc/guix.texi:33967
  49632. msgid "This is a string, possibly using Texinfo markup, describing in a couple of sentences what the service is about. This string allows users to find about the service through @command{guix system search} (@pxref{Invoking guix system})."
  49633. msgstr ""
  49634. #. type: item
  49635. #: guix-git/doc/guix.texi:33968
  49636. #, no-wrap
  49637. msgid "@code{default-value} (default: @code{&no-default-value})"
  49638. msgstr ""
  49639. #. type: table
  49640. #: guix-git/doc/guix.texi:33971
  49641. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  49642. msgstr ""
  49643. #. type: lisp
  49644. #: guix-git/doc/guix.texi:33974
  49645. #, no-wrap
  49646. msgid "(service @var{type})\n"
  49647. msgstr ""
  49648. #. type: table
  49649. #: guix-git/doc/guix.texi:33978
  49650. msgid "The returned service in this case has the default value specified by @var{type}."
  49651. msgstr ""
  49652. #. type: deftp
  49653. #: guix-git/doc/guix.texi:33981
  49654. msgid "@xref{Service Types and Services}, for examples."
  49655. msgstr ""
  49656. #. type: deffn
  49657. #: guix-git/doc/guix.texi:33983
  49658. #, no-wrap
  49659. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  49660. msgstr ""
  49661. #. type: deffn
  49662. #: guix-git/doc/guix.texi:33989
  49663. msgid "@var{compute} Return a new extension for services of type @var{target-type}. @var{compute} must be a one-argument procedure: @code{fold-services} calls it, passing it the value associated with the service that provides the extension; it must return a valid value for the target service."
  49664. msgstr ""
  49665. #. type: deffn
  49666. #: guix-git/doc/guix.texi:33991
  49667. #, no-wrap
  49668. msgid "{Scheme Procedure} service-extension? @var{obj}"
  49669. msgstr ""
  49670. #. type: deffn
  49671. #: guix-git/doc/guix.texi:33993
  49672. msgid "Return true if @var{obj} is a service extension."
  49673. msgstr ""
  49674. #. type: Plain text
  49675. #: guix-git/doc/guix.texi:33999
  49676. msgid "Occasionally, you might want to simply extend an existing service. This involves creating a new service type and specifying the extension of interest, which can be verbose; the @code{simple-service} procedure provides a shorthand for this."
  49677. msgstr ""
  49678. #. type: deffn
  49679. #: guix-git/doc/guix.texi:34000
  49680. #, no-wrap
  49681. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  49682. msgstr ""
  49683. #. type: deffn
  49684. #: guix-git/doc/guix.texi:34004
  49685. msgid "Return a service that extends @var{target} with @var{value}. This works by creating a singleton service type @var{name}, of which the returned service is an instance."
  49686. msgstr ""
  49687. #. type: deffn
  49688. #: guix-git/doc/guix.texi:34007
  49689. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  49690. msgstr ""
  49691. #. type: lisp
  49692. #: guix-git/doc/guix.texi:34011
  49693. #, no-wrap
  49694. msgid ""
  49695. "(simple-service 'my-mcron-job mcron-service-type\n"
  49696. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  49697. msgstr ""
  49698. #. type: Plain text
  49699. #: guix-git/doc/guix.texi:34021
  49700. msgid "At the core of the service abstraction lies the @code{fold-services} procedure, which is responsible for ``compiling'' a list of services down to a single directory that contains everything needed to boot and run the system---the directory shown by the @command{guix system build} command (@pxref{Invoking guix system}). In essence, it propagates service extensions down the service graph, updating each node parameters on the way, until it reaches the root node."
  49701. msgstr ""
  49702. #. type: deffn
  49703. #: guix-git/doc/guix.texi:34022
  49704. #, no-wrap
  49705. msgid "{Scheme Procedure} fold-services @var{services} @"
  49706. msgstr ""
  49707. #. type: deffn
  49708. #: guix-git/doc/guix.texi:34026
  49709. msgid "[#:target-type @var{system-service-type}] Fold @var{services} by propagating their extensions down to the root of type @var{target-type}; return the root service adjusted accordingly."
  49710. msgstr ""
  49711. #. type: Plain text
  49712. #: guix-git/doc/guix.texi:34030
  49713. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  49714. msgstr ""
  49715. #. type: defvr
  49716. #: guix-git/doc/guix.texi:34031
  49717. #, no-wrap
  49718. msgid "{Scheme Variable} system-service-type"
  49719. msgstr ""
  49720. #. type: defvr
  49721. #: guix-git/doc/guix.texi:34034
  49722. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  49723. msgstr ""
  49724. #. type: defvr
  49725. #: guix-git/doc/guix.texi:34036
  49726. #, no-wrap
  49727. msgid "{Scheme Variable} boot-service-type"
  49728. msgstr ""
  49729. #. type: defvr
  49730. #: guix-git/doc/guix.texi:34039
  49731. msgid "The type of the ``boot service'', which produces the @dfn{boot script}. The boot script is what the initial RAM disk runs when booting."
  49732. msgstr ""
  49733. #. type: defvr
  49734. #: guix-git/doc/guix.texi:34041
  49735. #, no-wrap
  49736. msgid "{Scheme Variable} etc-service-type"
  49737. msgstr ""
  49738. #. type: defvr
  49739. #: guix-git/doc/guix.texi:34045
  49740. msgid "The type of the @file{/etc} service. This service is used to create files under @file{/etc} and can be extended by passing it name/file tuples such as:"
  49741. msgstr ""
  49742. #. type: lisp
  49743. #: guix-git/doc/guix.texi:34048
  49744. #, no-wrap
  49745. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  49746. msgstr ""
  49747. #. type: defvr
  49748. #: guix-git/doc/guix.texi:34052
  49749. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  49750. msgstr ""
  49751. #. type: defvr
  49752. #: guix-git/doc/guix.texi:34054
  49753. #, no-wrap
  49754. msgid "{Scheme Variable} setuid-program-service-type"
  49755. msgstr ""
  49756. #. type: defvr
  49757. #: guix-git/doc/guix.texi:34058
  49758. msgid "Type for the ``setuid-program service''. This service collects lists of executable file names, passed as gexps, and adds them to the set of setuid-root programs on the system (@pxref{Setuid Programs})."
  49759. msgstr ""
  49760. #. type: defvr
  49761. #: guix-git/doc/guix.texi:34060
  49762. #, no-wrap
  49763. msgid "{Scheme Variable} profile-service-type"
  49764. msgstr ""
  49765. #. type: defvr
  49766. #: guix-git/doc/guix.texi:34064
  49767. msgid "Type of the service that populates the @dfn{system profile}---i.e., the programs under @file{/run/current-system/profile}. Other services can extend it by passing it lists of packages to add to the system profile."
  49768. msgstr ""
  49769. #. type: anchor{#1}
  49770. #: guix-git/doc/guix.texi:34068
  49771. msgid "provenance-service-type"
  49772. msgstr ""
  49773. #. type: defvr
  49774. #: guix-git/doc/guix.texi:34068
  49775. #, no-wrap
  49776. msgid "{Scheme Variable} provenance-service-type"
  49777. msgstr ""
  49778. #. type: defvr
  49779. #: guix-git/doc/guix.texi:34072
  49780. msgid "This is the type of the service that records @dfn{provenance meta-data} in the system itself. It creates several files under @file{/run/current-system}:"
  49781. msgstr ""
  49782. #. type: item
  49783. #: guix-git/doc/guix.texi:34074
  49784. #, no-wrap
  49785. msgid "channels.scm"
  49786. msgstr ""
  49787. #. type: table
  49788. #: guix-git/doc/guix.texi:34079
  49789. msgid "This is a ``channel file'' that can be passed to @command{guix pull -C} or @command{guix time-machine -C}, and which describes the channels used to build the system, if that information was available (@pxref{Channels})."
  49790. msgstr ""
  49791. #. type: item
  49792. #: guix-git/doc/guix.texi:34080
  49793. #, no-wrap
  49794. msgid "configuration.scm"
  49795. msgstr ""
  49796. #. type: table
  49797. #: guix-git/doc/guix.texi:34085
  49798. msgid "This is the file that was passed as the value for this @code{provenance-service-type} service. By default, @command{guix system reconfigure} automatically passes the OS configuration file it received on the command line."
  49799. msgstr ""
  49800. #. type: item
  49801. #: guix-git/doc/guix.texi:34086
  49802. #, no-wrap
  49803. msgid "provenance"
  49804. msgstr ""
  49805. #. type: table
  49806. #: guix-git/doc/guix.texi:34089
  49807. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  49808. msgstr ""
  49809. #. type: defvr
  49810. #: guix-git/doc/guix.texi:34093
  49811. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  49812. msgstr ""
  49813. #. type: quotation
  49814. #: guix-git/doc/guix.texi:34094
  49815. #, no-wrap
  49816. msgid "Caveats"
  49817. msgstr ""
  49818. #. type: quotation
  49819. #: guix-git/doc/guix.texi:34101
  49820. msgid "This information is necessary to rebuild your operating system, but it is not always sufficient. In particular, @file{configuration.scm} itself is insufficient if it is not self-contained---if it refers to external Guile modules or to extra files. If you want @file{configuration.scm} to be self-contained, we recommend that modules or files it refers to be part of a channel."
  49821. msgstr ""
  49822. #. type: quotation
  49823. #: guix-git/doc/guix.texi:34109
  49824. msgid "Besides, provenance meta-data is ``silent'' in the sense that it does not change the bits contained in your system, @emph{except for the meta-data bits themselves}. Two different OS configurations or sets of channels can lead to the same system, bit-for-bit; when @code{provenance-service-type} is used, these two systems will have different meta-data and thus different store file names, which makes comparison less trivial."
  49825. msgstr ""
  49826. #. type: defvr
  49827. #: guix-git/doc/guix.texi:34114
  49828. msgid "This service is automatically added to your operating system configuration when you use @command{guix system reconfigure}, @command{guix system init}, or @command{guix deploy}."
  49829. msgstr ""
  49830. #. type: cindex
  49831. #: guix-git/doc/guix.texi:34119
  49832. #, no-wrap
  49833. msgid "shepherd services"
  49834. msgstr ""
  49835. #. type: cindex
  49836. #: guix-git/doc/guix.texi:34120
  49837. #, no-wrap
  49838. msgid "PID 1"
  49839. msgstr ""
  49840. #. type: cindex
  49841. #: guix-git/doc/guix.texi:34121
  49842. #, no-wrap
  49843. msgid "init system"
  49844. msgstr ""
  49845. #. type: Plain text
  49846. #: guix-git/doc/guix.texi:34127
  49847. msgid "The @code{(gnu services shepherd)} module provides a way to define services managed by the GNU@tie{}Shepherd, which is the initialization system---the first process that is started when the system boots, also known as PID@tie{}1 (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual})."
  49848. msgstr ""
  49849. #. type: Plain text
  49850. #: guix-git/doc/guix.texi:34133
  49851. msgid "Services in the Shepherd can depend on each other. For instance, the SSH daemon may need to be started after the syslog daemon has been started, which in turn can only happen once all the file systems have been mounted. The simple operating system defined earlier (@pxref{Using the Configuration System}) results in a service graph like this:"
  49852. msgstr ""
  49853. #. type: Plain text
  49854. #: guix-git/doc/guix.texi:34135
  49855. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  49856. msgstr ""
  49857. #. type: Plain text
  49858. #: guix-git/doc/guix.texi:34139
  49859. msgid "You can actually generate such a graph for any operating system definition using the @command{guix system shepherd-graph} command (@pxref{system-shepherd-graph, @command{guix system shepherd-graph}})."
  49860. msgstr ""
  49861. #. type: Plain text
  49862. #: guix-git/doc/guix.texi:34143
  49863. msgid "The @code{%shepherd-root-service} is a service object representing PID@tie{}1, of type @code{shepherd-root-service-type}; it can be extended by passing it lists of @code{<shepherd-service>} objects."
  49864. msgstr ""
  49865. #. type: deftp
  49866. #: guix-git/doc/guix.texi:34144
  49867. #, no-wrap
  49868. msgid "{Data Type} shepherd-service"
  49869. msgstr ""
  49870. #. type: deftp
  49871. #: guix-git/doc/guix.texi:34146
  49872. msgid "The data type representing a service managed by the Shepherd."
  49873. msgstr ""
  49874. #. type: code{#1}
  49875. #: guix-git/doc/guix.texi:34148
  49876. #, no-wrap
  49877. msgid "provision"
  49878. msgstr ""
  49879. #. type: table
  49880. #: guix-git/doc/guix.texi:34150
  49881. msgid "This is a list of symbols denoting what the service provides."
  49882. msgstr ""
  49883. #. type: table
  49884. #: guix-git/doc/guix.texi:34155
  49885. msgid "These are the names that may be passed to @command{herd start}, @command{herd status}, and similar commands (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual}). @xref{Slots of services, the @code{provides} slot,, shepherd, The GNU Shepherd Manual}, for details."
  49886. msgstr ""
  49887. #. type: item
  49888. #: guix-git/doc/guix.texi:34156
  49889. #, no-wrap
  49890. msgid "@code{requirement} (default: @code{'()})"
  49891. msgstr ""
  49892. #. type: table
  49893. #: guix-git/doc/guix.texi:34158
  49894. msgid "List of symbols denoting the Shepherd services this one depends on."
  49895. msgstr ""
  49896. #. type: cindex
  49897. #: guix-git/doc/guix.texi:34159
  49898. #, no-wrap
  49899. msgid "one-shot services, for the Shepherd"
  49900. msgstr ""
  49901. #. type: table
  49902. #: guix-git/doc/guix.texi:34164
  49903. msgid "Whether this service is @dfn{one-shot}. One-shot services stop immediately after their @code{start} action has completed. @xref{Slots of services,,, shepherd, The GNU Shepherd Manual}, for more info."
  49904. msgstr ""
  49905. #. type: item
  49906. #: guix-git/doc/guix.texi:34165
  49907. #, no-wrap
  49908. msgid "@code{respawn?} (default: @code{#t})"
  49909. msgstr ""
  49910. #. type: table
  49911. #: guix-git/doc/guix.texi:34168
  49912. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  49913. msgstr ""
  49914. #. type: code{#1}
  49915. #: guix-git/doc/guix.texi:34169
  49916. #, no-wrap
  49917. msgid "start"
  49918. msgstr ""
  49919. #. type: itemx
  49920. #: guix-git/doc/guix.texi:34170
  49921. #, no-wrap
  49922. msgid "@code{stop} (default: @code{#~(const #f)})"
  49923. msgstr ""
  49924. #. type: table
  49925. #: guix-git/doc/guix.texi:34176
  49926. msgid "The @code{start} and @code{stop} fields refer to the Shepherd's facilities to start and stop processes (@pxref{Service De- and Constructors,,, shepherd, The GNU Shepherd Manual}). They are given as G-expressions that get expanded in the Shepherd configuration file (@pxref{G-Expressions})."
  49927. msgstr ""
  49928. #. type: item
  49929. #: guix-git/doc/guix.texi:34177
  49930. #, no-wrap
  49931. msgid "@code{actions} (default: @code{'()})"
  49932. msgstr ""
  49933. #. type: cindex
  49934. #: guix-git/doc/guix.texi:34178
  49935. #, no-wrap
  49936. msgid "actions, of Shepherd services"
  49937. msgstr ""
  49938. #. type: table
  49939. #: guix-git/doc/guix.texi:34183
  49940. msgid "This is a list of @code{shepherd-action} objects (see below) defining @dfn{actions} supported by the service, in addition to the standard @code{start} and @code{stop} actions. Actions listed here become available as @command{herd} sub-commands:"
  49941. msgstr ""
  49942. #. type: example
  49943. #: guix-git/doc/guix.texi:34186
  49944. #, no-wrap
  49945. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  49946. msgstr ""
  49947. #. type: item
  49948. #: guix-git/doc/guix.texi:34188
  49949. #, no-wrap
  49950. msgid "@code{auto-start?} (default: @code{#t})"
  49951. msgstr ""
  49952. #. type: table
  49953. #: guix-git/doc/guix.texi:34191
  49954. msgid "Whether this service should be started automatically by the Shepherd. If it is @code{#f} the service has to be started manually with @code{herd start}."
  49955. msgstr ""
  49956. #. type: table
  49957. #: guix-git/doc/guix.texi:34194
  49958. msgid "A documentation string, as shown when running:"
  49959. msgstr ""
  49960. #. type: example
  49961. #: guix-git/doc/guix.texi:34197
  49962. #, no-wrap
  49963. msgid "herd doc @var{service-name}\n"
  49964. msgstr ""
  49965. #. type: table
  49966. #: guix-git/doc/guix.texi:34201
  49967. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  49968. msgstr ""
  49969. #. type: item
  49970. #: guix-git/doc/guix.texi:34202
  49971. #, no-wrap
  49972. msgid "@code{modules} (default: @code{%default-modules})"
  49973. msgstr ""
  49974. #. type: table
  49975. #: guix-git/doc/guix.texi:34205
  49976. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  49977. msgstr ""
  49978. #. type: Plain text
  49979. #: guix-git/doc/guix.texi:34213
  49980. msgid "The example below defines a Shepherd service that spawns @command{syslogd}, the system logger from the GNU Networking Utilities (@pxref{syslogd invocation, @command{syslogd},, inetutils, GNU Inetutils}):"
  49981. msgstr ""
  49982. #. type: example
  49983. #: guix-git/doc/guix.texi:34225
  49984. #, no-wrap
  49985. msgid ""
  49986. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  49987. " (shepherd-service\n"
  49988. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  49989. " (provision '(syslogd))\n"
  49990. " (requirement '(user-processes))\n"
  49991. " (start #~(make-forkexec-constructor\n"
  49992. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  49993. " \"--rcfile\" #$config)\n"
  49994. " #:pid-file \"/var/run/syslog.pid\"))\n"
  49995. " (stop #~(make-kill-destructor))))\n"
  49996. msgstr ""
  49997. #. type: Plain text
  49998. #: guix-git/doc/guix.texi:34240
  49999. msgid "Key elements in this example are the @code{start} and @code{stop} fields: they are @dfn{staged} code snippets that use the @code{make-forkexec-constructor} procedure provided by the Shepherd and its dual, @code{make-kill-destructor} (@pxref{Service De- and Constructors,,, shepherd, The GNU Shepherd Manual}). The @code{start} field will have @command{shepherd} spawn @command{syslogd} with the given option; note that we pass @code{config} after @option{--rcfile}, which is a configuration file declared above (contents of this file are omitted). Likewise, the @code{stop} field tells how this service is to be stopped; in this case, it is stopped by making the @code{kill} system call on its PID@. Code staging is achieved using G-expressions: @code{#~} stages code, while @code{#$} ``escapes'' back to host code (@pxref{G-Expressions})."
  50000. msgstr ""
  50001. #. type: deftp
  50002. #: guix-git/doc/guix.texi:34241
  50003. #, no-wrap
  50004. msgid "{Data Type} shepherd-action"
  50005. msgstr ""
  50006. #. type: deftp
  50007. #: guix-git/doc/guix.texi:34244
  50008. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  50009. msgstr ""
  50010. #. type: table
  50011. #: guix-git/doc/guix.texi:34248
  50012. msgid "Symbol naming the action."
  50013. msgstr ""
  50014. #. type: table
  50015. #: guix-git/doc/guix.texi:34251
  50016. msgid "This is a documentation string for the action. It can be viewed by running:"
  50017. msgstr ""
  50018. #. type: example
  50019. #: guix-git/doc/guix.texi:34254
  50020. #, no-wrap
  50021. msgid "herd doc @var{service} action @var{action}\n"
  50022. msgstr ""
  50023. #. type: item
  50024. #: guix-git/doc/guix.texi:34256
  50025. #, no-wrap
  50026. msgid "procedure"
  50027. msgstr ""
  50028. #. type: table
  50029. #: guix-git/doc/guix.texi:34260
  50030. msgid "This should be a gexp that evaluates to a procedure of at least one argument, which is the ``running value'' of the service (@pxref{Slots of services,,, shepherd, The GNU Shepherd Manual})."
  50031. msgstr ""
  50032. #. type: deftp
  50033. #: guix-git/doc/guix.texi:34264
  50034. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  50035. msgstr ""
  50036. #. type: lisp
  50037. #: guix-git/doc/guix.texi:34273
  50038. #, no-wrap
  50039. msgid ""
  50040. "(shepherd-action\n"
  50041. " (name 'say-hello)\n"
  50042. " (documentation \"Say hi!\")\n"
  50043. " (procedure #~(lambda (running . args)\n"
  50044. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  50045. " args)\n"
  50046. " #t)))\n"
  50047. msgstr ""
  50048. #. type: deftp
  50049. #: guix-git/doc/guix.texi:34276
  50050. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  50051. msgstr ""
  50052. #. type: example
  50053. #: guix-git/doc/guix.texi:34282
  50054. #, no-wrap
  50055. msgid ""
  50056. "# herd say-hello example\n"
  50057. "Hello, friend! arguments: ()\n"
  50058. "# herd say-hello example a b c\n"
  50059. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  50060. msgstr ""
  50061. #. type: deftp
  50062. #: guix-git/doc/guix.texi:34287
  50063. msgid "This, as you can see, is a fairly sophisticated way to say hello. @xref{Service Convenience,,, shepherd, The GNU Shepherd Manual}, for more info on actions."
  50064. msgstr ""
  50065. #. type: defvr
  50066. #: guix-git/doc/guix.texi:34289
  50067. #, no-wrap
  50068. msgid "{Scheme Variable} shepherd-root-service-type"
  50069. msgstr ""
  50070. #. type: defvr
  50071. #: guix-git/doc/guix.texi:34291
  50072. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  50073. msgstr ""
  50074. #. type: defvr
  50075. #: guix-git/doc/guix.texi:34296
  50076. msgid "This is the service type that extensions target when they want to create shepherd services (@pxref{Service Types and Services}, for an example). Each extension must pass a list of @code{<shepherd-service>}. Its value must be a @code{shepherd-configuration}, as described below."
  50077. msgstr ""
  50078. #. type: deftp
  50079. #: guix-git/doc/guix.texi:34298
  50080. #, no-wrap
  50081. msgid "{Data Type} shepherd-configuration"
  50082. msgstr ""
  50083. #. type: deftp
  50084. #: guix-git/doc/guix.texi:34300
  50085. msgid "This data type represents the Shepherd's configuration."
  50086. msgstr ""
  50087. #. type: item
  50088. #: guix-git/doc/guix.texi:34302
  50089. #, no-wrap
  50090. msgid "shepherd (default: @code{shepherd})"
  50091. msgstr ""
  50092. #. type: table
  50093. #: guix-git/doc/guix.texi:34304
  50094. msgid "The Shepherd package to use."
  50095. msgstr ""
  50096. #. type: item
  50097. #: guix-git/doc/guix.texi:34305
  50098. #, no-wrap
  50099. msgid "services (default: @code{'()})"
  50100. msgstr ""
  50101. #. type: table
  50102. #: guix-git/doc/guix.texi:34309
  50103. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  50104. msgstr ""
  50105. #. type: Plain text
  50106. #: guix-git/doc/guix.texi:34314
  50107. msgid "The following example specifies the Shepherd package for the operating system:"
  50108. msgstr ""
  50109. #. type: lisp
  50110. #: guix-git/doc/guix.texi:34329
  50111. #, no-wrap
  50112. msgid ""
  50113. "(operating-system\n"
  50114. " ;; ...\n"
  50115. " (services (append (list openssh-service-type))\n"
  50116. " ;; ...\n"
  50117. " %desktop-services)\n"
  50118. " ;; ...\n"
  50119. " ;; Use own Shepherd package.\n"
  50120. " (essential-services\n"
  50121. " (modify-services (operating-system-default-essential-services\n"
  50122. " this-operating-system)\n"
  50123. " (shepherd-root-service-type config => (shepherd-configuration\n"
  50124. " (inherit config)\n"
  50125. " (shepherd my-shepherd))))))\n"
  50126. msgstr ""
  50127. #. type: defvr
  50128. #: guix-git/doc/guix.texi:34331
  50129. #, no-wrap
  50130. msgid "{Scheme Variable} %shepherd-root-service"
  50131. msgstr ""
  50132. #. type: defvr
  50133. #: guix-git/doc/guix.texi:34333
  50134. msgid "This service represents PID@tie{}1."
  50135. msgstr ""
  50136. #. type: cindex
  50137. #: guix-git/doc/guix.texi:34339
  50138. #, no-wrap
  50139. msgid "documentation, searching for"
  50140. msgstr ""
  50141. #. type: cindex
  50142. #: guix-git/doc/guix.texi:34340
  50143. #, no-wrap
  50144. msgid "searching for documentation"
  50145. msgstr ""
  50146. #. type: cindex
  50147. #: guix-git/doc/guix.texi:34341
  50148. #, no-wrap
  50149. msgid "Info, documentation format"
  50150. msgstr ""
  50151. #. type: cindex
  50152. #: guix-git/doc/guix.texi:34342
  50153. #, no-wrap
  50154. msgid "man pages"
  50155. msgstr ""
  50156. #. type: cindex
  50157. #: guix-git/doc/guix.texi:34343
  50158. #, no-wrap
  50159. msgid "manual pages"
  50160. msgstr ""
  50161. #. type: Plain text
  50162. #: guix-git/doc/guix.texi:34350
  50163. msgid "In most cases packages installed with Guix come with documentation. There are two main documentation formats: ``Info'', a browsable hypertext format used for GNU software, and ``manual pages'' (or ``man pages''), the linear documentation format traditionally found on Unix. Info manuals are accessed with the @command{info} command or with Emacs, and man pages are accessed using @command{man}."
  50164. msgstr ""
  50165. #. type: Plain text
  50166. #: guix-git/doc/guix.texi:34354
  50167. msgid "You can look for documentation of software installed on your system by keyword. For example, the following command searches for information about ``TLS'' in Info manuals:"
  50168. msgstr ""
  50169. #. type: example
  50170. #: guix-git/doc/guix.texi:34362
  50171. #, no-wrap
  50172. msgid ""
  50173. "$ info -k TLS\n"
  50174. "\"(emacs)Network Security\" -- STARTTLS\n"
  50175. "\"(emacs)Network Security\" -- TLS\n"
  50176. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  50177. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  50178. "@dots{}\n"
  50179. msgstr ""
  50180. #. type: Plain text
  50181. #: guix-git/doc/guix.texi:34366
  50182. msgid "The command below searches for the same keyword in man pages:"
  50183. msgstr ""
  50184. #. type: example
  50185. #: guix-git/doc/guix.texi:34372
  50186. #, no-wrap
  50187. msgid ""
  50188. "$ man -k TLS\n"
  50189. "SSL (7) - OpenSSL SSL/TLS library\n"
  50190. "certtool (1) - GnuTLS certificate tool\n"
  50191. "@dots {}\n"
  50192. msgstr ""
  50193. #. type: Plain text
  50194. #: guix-git/doc/guix.texi:34378
  50195. msgid "These searches are purely local to your computer so you have the guarantee that documentation you find corresponds to what you have actually installed, you can access it off-line, and your privacy is respected."
  50196. msgstr ""
  50197. #. type: Plain text
  50198. #: guix-git/doc/guix.texi:34381
  50199. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  50200. msgstr ""
  50201. #. type: example
  50202. #: guix-git/doc/guix.texi:34384
  50203. #, no-wrap
  50204. msgid "$ info \"(gnutls)Core TLS API\"\n"
  50205. msgstr ""
  50206. #. type: Plain text
  50207. #: guix-git/doc/guix.texi:34388
  50208. msgid "or:"
  50209. msgstr ""
  50210. #. type: example
  50211. #: guix-git/doc/guix.texi:34391
  50212. #, no-wrap
  50213. msgid "$ man certtool\n"
  50214. msgstr ""
  50215. #. type: Plain text
  50216. #: guix-git/doc/guix.texi:34399
  50217. msgid "Info manuals contain sections and indices as well as hyperlinks like those found in Web pages. The @command{info} reader (@pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}) and its Emacs counterpart (@pxref{Misc Help,,, emacs, The GNU Emacs Manual}) provide intuitive key bindings to navigate manuals. @xref{Getting Started,,, info, Info: An Introduction}, for an introduction to Info navigation."
  50218. msgstr ""
  50219. #. type: cindex
  50220. #: guix-git/doc/guix.texi:34403
  50221. #, no-wrap
  50222. msgid "debugging files"
  50223. msgstr ""
  50224. #. type: Plain text
  50225. #: guix-git/doc/guix.texi:34409
  50226. msgid "Program binaries, as produced by the GCC compilers for instance, are typically written in the ELF format, with a section containing @dfn{debugging information}. Debugging information is what allows the debugger, GDB, to map binary code to source code; it is required to debug a compiled program in good conditions."
  50227. msgstr ""
  50228. #. type: Plain text
  50229. #: guix-git/doc/guix.texi:34413
  50230. msgid "This chapter explains how to use separate debug info when packages provide it, and how to rebuild packages with debug info when it's missing."
  50231. msgstr ""
  50232. #. type: Plain text
  50233. #: guix-git/doc/guix.texi:34429
  50234. msgid "The problem with debugging information is that is takes up a fair amount of disk space. For example, debugging information for the GNU C Library weighs in at more than 60 MiB@. Thus, as a user, keeping all the debugging info of all the installed programs is usually not an option. Yet, space savings should not come at the cost of an impediment to debugging---especially in the GNU system, which should make it easier for users to exert their computing freedom (@pxref{GNU Distribution})."
  50235. msgstr ""
  50236. #. type: Plain text
  50237. #: guix-git/doc/guix.texi:34436
  50238. msgid "Thankfully, the GNU Binary Utilities (Binutils) and GDB provide a mechanism that allows users to get the best of both worlds: debugging information can be stripped from the binaries and stored in separate files. GDB is then able to load debugging information from those files, when they are available (@pxref{Separate Debug Files,,, gdb, Debugging with GDB})."
  50239. msgstr ""
  50240. #. type: Plain text
  50241. #: guix-git/doc/guix.texi:34444
  50242. msgid "The GNU distribution takes advantage of this by storing debugging information in the @code{lib/debug} sub-directory of a separate package output unimaginatively called @code{debug} (@pxref{Packages with Multiple Outputs}). Users can choose to install the @code{debug} output of a package when they need it. For instance, the following command installs the debugging information for the GNU C Library and for GNU Guile:"
  50243. msgstr ""
  50244. #. type: example
  50245. #: guix-git/doc/guix.texi:34447
  50246. #, no-wrap
  50247. msgid "guix install glibc:debug guile:debug\n"
  50248. msgstr ""
  50249. #. type: Plain text
  50250. #: guix-git/doc/guix.texi:34453
  50251. msgid "GDB must then be told to look for debug files in the user's profile, by setting the @code{debug-file-directory} variable (consider setting it from the @file{~/.gdbinit} file, @pxref{Startup,,, gdb, Debugging with GDB}):"
  50252. msgstr ""
  50253. #. type: example
  50254. #: guix-git/doc/guix.texi:34456
  50255. #, no-wrap
  50256. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  50257. msgstr ""
  50258. #. type: Plain text
  50259. #: guix-git/doc/guix.texi:34460
  50260. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  50261. msgstr ""
  50262. #. type: Plain text
  50263. #: guix-git/doc/guix.texi:34467
  50264. msgid "In addition, you will most likely want GDB to be able to show the source code being debugged. To do that, you will have to unpack the source code of the package of interest (obtained with @code{guix build --source}, @pxref{Invoking guix build}), and to point GDB to that source directory using the @code{directory} command (@pxref{Source Path, @code{directory},, gdb, Debugging with GDB})."
  50265. msgstr ""
  50266. #. type: Plain text
  50267. #: guix-git/doc/guix.texi:34475
  50268. msgid "The @code{debug} output mechanism in Guix is implemented by the @code{gnu-build-system} (@pxref{Build Systems}). Currently, it is opt-in---debugging information is available only for the packages with definitions explicitly declaring a @code{debug} output. To check whether a package has a @code{debug} output, use @command{guix package --list-available} (@pxref{Invoking guix package})."
  50269. msgstr ""
  50270. #. type: Plain text
  50271. #: guix-git/doc/guix.texi:34477
  50272. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  50273. msgstr ""
  50274. #. type: Plain text
  50275. #: guix-git/doc/guix.texi:34489
  50276. msgid "As we saw above, some packages, but not all, provide debugging info in a @code{debug} output. What can you do when debugging info is missing? The @option{--with-debug-info} option provides a solution to that: it allows you to rebuild the package(s) for which debugging info is missing---and only those---and to graft those onto the application you're debugging. Thus, while it's not as fast as installing a @code{debug} output, it is relatively inexpensive."
  50277. msgstr ""
  50278. #. type: Plain text
  50279. #: guix-git/doc/guix.texi:34494
  50280. msgid "Let's illustrate that. Suppose you're experiencing a bug in Inkscape and would like to see what's going on in GLib, a library that's deep down in its dependency graph. As it turns out, GLib does not have a @code{debug} output and the backtrace GDB shows is all sadness:"
  50281. msgstr ""
  50282. #. type: example
  50283. #: guix-git/doc/guix.texi:34505
  50284. #, no-wrap
  50285. msgid ""
  50286. "(gdb) bt\n"
  50287. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  50288. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  50289. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  50290. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  50291. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  50292. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  50293. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  50294. " at dl-init.c:118\n"
  50295. msgstr ""
  50296. #. type: Plain text
  50297. #: guix-git/doc/guix.texi:34509
  50298. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  50299. msgstr ""
  50300. #. type: Plain text
  50301. #: guix-git/doc/guix.texi:34515
  50302. msgid "This time, debugging will be a whole lot nicer:"
  50303. msgstr ""
  50304. #. type: example
  50305. #: guix-git/doc/guix.texi:34533
  50306. #, no-wrap
  50307. msgid ""
  50308. "$ gdb --args sh -c 'exec inkscape'\n"
  50309. "@dots{}\n"
  50310. "(gdb) b g_getenv\n"
  50311. "Function \"g_getenv\" not defined.\n"
  50312. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  50313. "Breakpoint 1 (g_getenv) pending.\n"
  50314. "(gdb) r\n"
  50315. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  50316. "@dots{}\n"
  50317. "(gdb) bt\n"
  50318. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  50319. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  50320. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  50321. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  50322. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  50323. "@dots{}\n"
  50324. msgstr ""
  50325. #. type: Plain text
  50326. #: guix-git/doc/guix.texi:34536
  50327. msgid "Much better!"
  50328. msgstr ""
  50329. #. type: Plain text
  50330. #: guix-git/doc/guix.texi:34540
  50331. msgid "Note that there can be packages for which @option{--with-debug-info} will not have the desired effect. @xref{Package Transformation Options, @option{--with-debug-info}}, for more information."
  50332. msgstr ""
  50333. #. type: cindex
  50334. #: guix-git/doc/guix.texi:34544
  50335. #, no-wrap
  50336. msgid "security updates"
  50337. msgstr ""
  50338. #. type: Plain text
  50339. #: guix-git/doc/guix.texi:34553
  50340. msgid "Occasionally, important security vulnerabilities are discovered in software packages and must be patched. Guix developers try hard to keep track of known vulnerabilities and to apply fixes as soon as possible in the @code{master} branch of Guix (we do not yet provide a ``stable'' branch containing only security updates). The @command{guix lint} tool helps developers find out about vulnerable versions of software packages in the distribution:"
  50341. msgstr ""
  50342. #. type: smallexample
  50343. #: guix-git/doc/guix.texi:34560
  50344. #, no-wrap
  50345. msgid ""
  50346. "$ guix lint -c cve\n"
  50347. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  50348. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  50349. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  50350. "@dots{}\n"
  50351. msgstr ""
  50352. #. type: Plain text
  50353. #: guix-git/doc/guix.texi:34563
  50354. msgid "@xref{Invoking guix lint}, for more information."
  50355. msgstr ""
  50356. #. type: Plain text
  50357. #: guix-git/doc/guix.texi:34572
  50358. msgid "Guix follows a functional package management discipline (@pxref{Introduction}), which implies that, when a package is changed, @emph{every package that depends on it} must be rebuilt. This can significantly slow down the deployment of fixes in core packages such as libc or Bash, since basically the whole distribution would need to be rebuilt. Using pre-built binaries helps (@pxref{Substitutes}), but deployment may still take more time than desired."
  50359. msgstr ""
  50360. #. type: cindex
  50361. #: guix-git/doc/guix.texi:34573
  50362. #, no-wrap
  50363. msgid "grafts"
  50364. msgstr ""
  50365. #. type: Plain text
  50366. #: guix-git/doc/guix.texi:34581
  50367. msgid "To address this, Guix implements @dfn{grafts}, a mechanism that allows for fast deployment of critical updates without the costs associated with a whole-distribution rebuild. The idea is to rebuild only the package that needs to be patched, and then to ``graft'' it onto packages explicitly installed by the user and that were previously referring to the original package. The cost of grafting is typically very low, and order of magnitudes lower than a full rebuild of the dependency chain."
  50368. msgstr ""
  50369. #. type: cindex
  50370. #: guix-git/doc/guix.texi:34582
  50371. #, no-wrap
  50372. msgid "replacements of packages, for grafts"
  50373. msgstr ""
  50374. #. type: Plain text
  50375. #: guix-git/doc/guix.texi:34588
  50376. msgid "For instance, suppose a security update needs to be applied to Bash. Guix developers will provide a package definition for the ``fixed'' Bash, say @code{bash-fixed}, in the usual way (@pxref{Defining Packages}). Then, the original package definition is augmented with a @code{replacement} field pointing to the package containing the bug fix:"
  50377. msgstr ""
  50378. #. type: lisp
  50379. #: guix-git/doc/guix.texi:34595
  50380. #, no-wrap
  50381. msgid ""
  50382. "(define bash\n"
  50383. " (package\n"
  50384. " (name \"bash\")\n"
  50385. " ;; @dots{}\n"
  50386. " (replacement bash-fixed)))\n"
  50387. msgstr ""
  50388. #. type: Plain text
  50389. #: guix-git/doc/guix.texi:34605
  50390. msgid "From there on, any package depending directly or indirectly on Bash---as reported by @command{guix gc --requisites} (@pxref{Invoking guix gc})---that is installed is automatically ``rewritten'' to refer to @code{bash-fixed} instead of @code{bash}. This grafting process takes time proportional to the size of the package, usually less than a minute for an ``average'' package on a recent machine. Grafting is recursive: when an indirect dependency requires grafting, then grafting ``propagates'' up to the package that the user is installing."
  50391. msgstr ""
  50392. #. type: Plain text
  50393. #: guix-git/doc/guix.texi:34613
  50394. msgid "Currently, the length of the name and version of the graft and that of the package it replaces (@code{bash-fixed} and @code{bash} in the example above) must be equal. This restriction mostly comes from the fact that grafting works by patching files, including binary files, directly. Other restrictions may apply: for instance, when adding a graft to a package providing a shared library, the original shared library and its replacement must have the same @code{SONAME} and be binary-compatible."
  50395. msgstr ""
  50396. #. type: Plain text
  50397. #: guix-git/doc/guix.texi:34617
  50398. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  50399. msgstr ""
  50400. #. type: example
  50401. #: guix-git/doc/guix.texi:34620
  50402. #, no-wrap
  50403. msgid "guix build bash --no-grafts\n"
  50404. msgstr ""
  50405. #. type: Plain text
  50406. #: guix-git/doc/guix.texi:34624
  50407. msgid "returns the store file name of the original Bash, whereas:"
  50408. msgstr ""
  50409. #. type: example
  50410. #: guix-git/doc/guix.texi:34627
  50411. #, no-wrap
  50412. msgid "guix build bash\n"
  50413. msgstr ""
  50414. #. type: Plain text
  50415. #: guix-git/doc/guix.texi:34632
  50416. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  50417. msgstr ""
  50418. #. type: Plain text
  50419. #: guix-git/doc/guix.texi:34635
  50420. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  50421. msgstr ""
  50422. #. type: example
  50423. #: guix-git/doc/guix.texi:34638
  50424. #, no-wrap
  50425. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  50426. msgstr ""
  50427. #. type: Plain text
  50428. #: guix-git/doc/guix.texi:34643
  50429. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  50430. msgstr ""
  50431. #. type: example
  50432. #: guix-git/doc/guix.texi:34646
  50433. #, no-wrap
  50434. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  50435. msgstr ""
  50436. #. type: Plain text
  50437. #: guix-git/doc/guix.texi:34650
  50438. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  50439. msgstr ""
  50440. #. type: example
  50441. #: guix-git/doc/guix.texi:34653
  50442. #, no-wrap
  50443. msgid "lsof | grep /gnu/store/.*bash\n"
  50444. msgstr ""
  50445. #. type: cindex
  50446. #: guix-git/doc/guix.texi:34661
  50447. #, no-wrap
  50448. msgid "bootstrapping"
  50449. msgstr ""
  50450. #. type: Plain text
  50451. #: guix-git/doc/guix.texi:34668
  50452. msgid "Bootstrapping in our context refers to how the distribution gets built ``from nothing''. Remember that the build environment of a derivation contains nothing but its declared inputs (@pxref{Introduction}). So there's an obvious chicken-and-egg problem: how does the first package get built? How does the first compiler get compiled?"
  50453. msgstr ""
  50454. #. type: Plain text
  50455. #: guix-git/doc/guix.texi:34676
  50456. msgid "It is tempting to think of this question as one that only die-hard hackers may care about. However, while the answer to that question is technical in nature, its implications are wide-ranging. How the distribution is bootstrapped defines the extent to which we, as individuals and as a collective of users and hackers, can trust the software we run. It is a central concern from the standpoint of @emph{security} and from a @emph{user freedom} viewpoint."
  50457. msgstr ""
  50458. #. type: cindex
  50459. #: guix-git/doc/guix.texi:34677 guix-git/doc/guix.texi:34889
  50460. #, no-wrap
  50461. msgid "bootstrap binaries"
  50462. msgstr ""
  50463. #. type: Plain text
  50464. #: guix-git/doc/guix.texi:34687
  50465. msgid "The GNU system is primarily made of C code, with libc at its core. The GNU build system itself assumes the availability of a Bourne shell and command-line tools provided by GNU Coreutils, Awk, Findutils, `sed', and `grep'. Furthermore, build programs---programs that run @code{./configure}, @code{make}, etc.---are written in Guile Scheme (@pxref{Derivations}). Consequently, to be able to build anything at all, from scratch, Guix relies on pre-built binaries of Guile, GCC, Binutils, libc, and the other packages mentioned above---the @dfn{bootstrap binaries}."
  50466. msgstr ""
  50467. #. type: Plain text
  50468. #: guix-git/doc/guix.texi:34691
  50469. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  50470. msgstr ""
  50471. #. type: section
  50472. #: guix-git/doc/guix.texi:34698
  50473. #, no-wrap
  50474. msgid "The Reduced Binary Seed Bootstrap"
  50475. msgstr ""
  50476. #. type: Plain text
  50477. #: guix-git/doc/guix.texi:34705
  50478. msgid "Guix---like other GNU/Linux distributions---is traditionally bootstrapped from a set of bootstrap binaries: Bourne shell, command-line tools provided by GNU Coreutils, Awk, Findutils, `sed', and `grep' and Guile, GCC, Binutils, and the GNU C Library (@pxref{Bootstrapping}). Usually, these bootstrap binaries are ``taken for granted.''"
  50479. msgstr ""
  50480. #. type: Plain text
  50481. #: guix-git/doc/guix.texi:34711
  50482. msgid "Taking the bootstrap binaries for granted means that we consider them to be a correct and trustworthy ``seed'' for building the complete system. Therein lies a problem: the combined size of these bootstrap binaries is about 250MB (@pxref{Bootstrappable Builds,,, mes, GNU Mes}). Auditing or even inspecting these is next to impossible."
  50483. msgstr ""
  50484. #. type: Plain text
  50485. #: guix-git/doc/guix.texi:34716
  50486. msgid "For @code{i686-linux} and @code{x86_64-linux}, Guix now features a ``Reduced Binary Seed'' bootstrap @footnote{We would like to say: ``Full Source Bootstrap'' and while we are working towards that goal it would be hyperbole to use that term for what we do now.}."
  50487. msgstr ""
  50488. #. type: Plain text
  50489. #: guix-git/doc/guix.texi:34722
  50490. msgid "The Reduced Binary Seed bootstrap removes the most critical tools---from a trust perspective---from the bootstrap binaries: GCC, Binutils and the GNU C Library are replaced by: @code{bootstrap-mescc-tools} (a tiny assembler and linker) and @code{bootstrap-mes} (a small Scheme Interpreter and a C compiler written in Scheme and the Mes C Library, built for TinyCC and for GCC)."
  50491. msgstr ""
  50492. #. type: Plain text
  50493. #: guix-git/doc/guix.texi:34727
  50494. msgid "Using these new binary seeds the ``missing'' Binutils, GCC, and the GNU C Library are built from source. From here on the more traditional bootstrap process resumes. This approach has reduced the bootstrap binaries in size to about 145MB in Guix v1.1."
  50495. msgstr ""
  50496. #. type: Plain text
  50497. #: guix-git/doc/guix.texi:34735
  50498. msgid "The next step that Guix has taken is to replace the shell and all its utilities with implementations in Guile Scheme, the @emph{Scheme-only bootstrap}. Gash (@pxref{Gash,,, gash, The Gash manual}) is a POSIX-compatible shell that replaces Bash, and it comes with Gash Utils which has minimalist replacements for Awk, the GNU Core Utilities, Grep, Gzip, Sed, and Tar. The rest of the bootstrap binary seeds that were removed are now built from source."
  50499. msgstr ""
  50500. #. type: Plain text
  50501. #: guix-git/doc/guix.texi:34745
  50502. msgid "Building the GNU System from source is currently only possible by adding some historical GNU packages as intermediate steps@footnote{Packages such as @code{gcc-2.95.3}, @code{binutils-2.14}, @code{glibc-2.2.5}, @code{gzip-1.2.4}, @code{tar-1.22}, and some others. For details, see @file{gnu/packages/commencement.scm}.}. As Gash and Gash Utils mature, and GNU packages become more bootstrappable again (e.g., new releases of GNU Sed will also ship as gzipped tarballs again, as alternative to the hard to bootstrap @code{xz}-compression), this set of added packages can hopefully be reduced again."
  50503. msgstr ""
  50504. #. type: Plain text
  50505. #: guix-git/doc/guix.texi:34749
  50506. msgid "The graph below shows the resulting dependency graph for @code{gcc-core-mesboot0}, the bootstrap compiler used for the traditional bootstrap of the rest of the Guix System."
  50507. msgstr ""
  50508. #. type: Plain text
  50509. #: guix-git/doc/guix.texi:34752
  50510. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  50511. msgstr ""
  50512. #. type: Plain text
  50513. #: guix-git/doc/guix.texi:34759
  50514. msgid "The only significant binary bootstrap seeds that remain@footnote{ Ignoring the 68KB @code{mescc-tools}; that will be removed later, together with @code{mes}.} are a Scheme interpreter and a Scheme compiler: GNU Mes and GNU Guile@footnote{Not shown in this graph are the static binaries for @file{bash}, @code{tar}, and @code{xz} that are used to get Guile running.}."
  50515. msgstr ""
  50516. #. type: Plain text
  50517. #: guix-git/doc/guix.texi:34762
  50518. msgid "This further reduction has brought down the size of the binary seed to about 60MB for @code{i686-linux} and @code{x86_64-linux}."
  50519. msgstr ""
  50520. #. type: Plain text
  50521. #: guix-git/doc/guix.texi:34767
  50522. msgid "Work is ongoing to remove all binary blobs from our free software bootstrap stack, working towards a Full Source Bootstrap. Also ongoing is work to bring these bootstraps to the @code{arm-linux} and @code{aarch64-linux} architectures and to the Hurd."
  50523. msgstr ""
  50524. #. type: Plain text
  50525. #: guix-git/doc/guix.texi:34771
  50526. msgid "If you are interested, join us on @samp{#bootstrappable} on the Freenode IRC network or discuss on @email{bug-mes@@gnu.org} or @email{gash-devel@@nongnu.org}."
  50527. msgstr ""
  50528. #. type: Plain text
  50529. #: guix-git/doc/guix.texi:34778
  50530. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  50531. msgstr ""
  50532. #. type: Plain text
  50533. #: guix-git/doc/guix.texi:34783
  50534. msgid "The figure above shows the very beginning of the dependency graph of the distribution, corresponding to the package definitions of the @code{(gnu packages bootstrap)} module. A similar figure can be generated with @command{guix graph} (@pxref{Invoking guix graph}), along the lines of:"
  50535. msgstr ""
  50536. #. type: example
  50537. #: guix-git/doc/guix.texi:34788
  50538. #, no-wrap
  50539. msgid ""
  50540. "guix graph -t derivation \\\n"
  50541. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  50542. " | dot -Tps > gcc.ps\n"
  50543. msgstr ""
  50544. #. type: Plain text
  50545. #: guix-git/doc/guix.texi:34791
  50546. msgid "or, for the further Reduced Binary Seed bootstrap"
  50547. msgstr ""
  50548. #. type: example
  50549. #: guix-git/doc/guix.texi:34796
  50550. #, no-wrap
  50551. msgid ""
  50552. "guix graph -t derivation \\\n"
  50553. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  50554. " | dot -Tps > mes.ps\n"
  50555. msgstr ""
  50556. #. type: Plain text
  50557. #: guix-git/doc/guix.texi:34805
  50558. msgid "At this level of detail, things are slightly complex. First, Guile itself consists of an ELF executable, along with many source and compiled Scheme files that are dynamically loaded when it runs. This gets stored in the @file{guile-2.0.7.tar.xz} tarball shown in this graph. This tarball is part of Guix's ``source'' distribution, and gets inserted into the store with @code{add-to-store} (@pxref{The Store})."
  50559. msgstr ""
  50560. #. type: Plain text
  50561. #: guix-git/doc/guix.texi:34814
  50562. msgid "But how do we write a derivation that unpacks this tarball and adds it to the store? To solve this problem, the @code{guile-bootstrap-2.0.drv} derivation---the first one that gets built---uses @code{bash} as its builder, which runs @code{build-bootstrap-guile.sh}, which in turn calls @code{tar} to unpack the tarball. Thus, @file{bash}, @file{tar}, @file{xz}, and @file{mkdir} are statically-linked binaries, also part of the Guix source distribution, whose sole purpose is to allow the Guile tarball to be unpacked."
  50563. msgstr ""
  50564. #. type: Plain text
  50565. #: guix-git/doc/guix.texi:34826
  50566. msgid "Once @code{guile-bootstrap-2.0.drv} is built, we have a functioning Guile that can be used to run subsequent build programs. Its first task is to download tarballs containing the other pre-built binaries---this is what the @file{.tar.xz.drv} derivations do. Guix modules such as @code{ftp-client.scm} are used for this purpose. The @code{module-import.drv} derivations import those modules in a directory in the store, using the original layout. The @code{module-import-compiled.drv} derivations compile those modules, and write them in an output directory with the right layout. This corresponds to the @code{#:modules} argument of @code{build-expression->derivation} (@pxref{Derivations})."
  50567. msgstr ""
  50568. #. type: Plain text
  50569. #: guix-git/doc/guix.texi:34831
  50570. msgid "Finally, the various tarballs are unpacked by the derivations @code{gcc-bootstrap-0.drv}, @code{glibc-bootstrap-0.drv}, or @code{bootstrap-mes-0.drv} and @code{bootstrap-mescc-tools-0.drv}, at which point we have a working C tool chain."
  50571. msgstr ""
  50572. #. type: unnumberedsec
  50573. #: guix-git/doc/guix.texi:34832
  50574. #, no-wrap
  50575. msgid "Building the Build Tools"
  50576. msgstr ""
  50577. #. type: Plain text
  50578. #: guix-git/doc/guix.texi:34841
  50579. msgid "Bootstrapping is complete when we have a full tool chain that does not depend on the pre-built bootstrap tools discussed above. This no-dependency requirement is verified by checking whether the files of the final tool chain contain references to the @file{/gnu/store} directories of the bootstrap inputs. The process that leads to this ``final'' tool chain is described by the package definitions found in the @code{(gnu packages commencement)} module."
  50580. msgstr ""
  50581. #. type: Plain text
  50582. #: guix-git/doc/guix.texi:34848
  50583. msgid "The @command{guix graph} command allows us to ``zoom out'' compared to the graph above, by looking at the level of package objects instead of individual derivations---remember that a package may translate to several derivations, typically one derivation to download its source, one to build the Guile modules it needs, and one to actually build the package from source. The command:"
  50584. msgstr ""
  50585. #. type: example
  50586. #: guix-git/doc/guix.texi:34853
  50587. #, no-wrap
  50588. msgid ""
  50589. "guix graph -t bag \\\n"
  50590. " -e '(@@@@ (gnu packages commencement)\n"
  50591. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  50592. msgstr ""
  50593. #. type: Plain text
  50594. #: guix-git/doc/guix.texi:34860
  50595. msgid "displays the dependency graph leading to the ``final'' C library@footnote{You may notice the @code{glibc-intermediate} label, suggesting that it is not @emph{quite} final, but as a good approximation, we will consider it final.}, depicted below."
  50596. msgstr ""
  50597. #. type: Plain text
  50598. #: guix-git/doc/guix.texi:34862
  50599. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  50600. msgstr ""
  50601. #. type: Plain text
  50602. #: guix-git/doc/guix.texi:34868
  50603. msgid "The first tool that gets built with the bootstrap binaries is GNU@tie{}Make---noted @code{make-boot0} above---which is a prerequisite for all the following packages. From there Findutils and Diffutils get built."
  50604. msgstr ""
  50605. #. type: Plain text
  50606. #: guix-git/doc/guix.texi:34873
  50607. msgid "Then come the first-stage Binutils and GCC, built as pseudo cross tools---i.e., with @option{--target} equal to @option{--host}. They are used to build libc. Thanks to this cross-build trick, this libc is guaranteed not to hold any reference to the initial tool chain."
  50608. msgstr ""
  50609. #. type: Plain text
  50610. #: guix-git/doc/guix.texi:34879
  50611. msgid "From there the final Binutils and GCC (not shown above) are built. GCC uses @command{ld} from the final Binutils, and links programs against the just-built libc. This tool chain is used to build the other packages used by Guix and by the GNU Build System: Guile, Bash, Coreutils, etc."
  50612. msgstr ""
  50613. #. type: Plain text
  50614. #: guix-git/doc/guix.texi:34885
  50615. msgid "And voilà! At this point we have the complete set of build tools that the GNU Build System expects. These are in the @code{%final-inputs} variable of the @code{(gnu packages commencement)} module, and are implicitly used by any package that uses @code{gnu-build-system} (@pxref{Build Systems, @code{gnu-build-system}})."
  50616. msgstr ""
  50617. #. type: unnumberedsec
  50618. #: guix-git/doc/guix.texi:34887
  50619. #, no-wrap
  50620. msgid "Building the Bootstrap Binaries"
  50621. msgstr ""
  50622. #. type: Plain text
  50623. #: guix-git/doc/guix.texi:34894
  50624. msgid "Because the final tool chain does not depend on the bootstrap binaries, those rarely need to be updated. Nevertheless, it is useful to have an automated way to produce them, should an update occur, and this is what the @code{(gnu packages make-bootstrap)} module provides."
  50625. msgstr ""
  50626. #. type: Plain text
  50627. #: guix-git/doc/guix.texi:34900
  50628. msgid "The following command builds the tarballs containing the bootstrap binaries (Binutils, GCC, glibc, for the traditional bootstrap and linux-libre-headers, bootstrap-mescc-tools, bootstrap-mes for the Reduced Binary Seed bootstrap, and Guile, and a tarball containing a mixture of Coreutils and other basic command-line tools):"
  50629. msgstr ""
  50630. #. type: example
  50631. #: guix-git/doc/guix.texi:34903
  50632. #, no-wrap
  50633. msgid "guix build bootstrap-tarballs\n"
  50634. msgstr ""
  50635. #. type: Plain text
  50636. #: guix-git/doc/guix.texi:34908
  50637. msgid "The generated tarballs are those that should be referred to in the @code{(gnu packages bootstrap)} module mentioned at the beginning of this section."
  50638. msgstr ""
  50639. #. type: Plain text
  50640. #: guix-git/doc/guix.texi:34914
  50641. msgid "Still here? Then perhaps by now you've started to wonder: when do we reach a fixed point? That is an interesting question! The answer is unknown, but if you would like to investigate further (and have significant computational and storage resources to do so), then let us know."
  50642. msgstr ""
  50643. #. type: unnumberedsec
  50644. #: guix-git/doc/guix.texi:34915
  50645. #, no-wrap
  50646. msgid "Reducing the Set of Bootstrap Binaries"
  50647. msgstr ""
  50648. #. type: Plain text
  50649. #: guix-git/doc/guix.texi:34923
  50650. msgid "Our traditional bootstrap includes GCC, GNU Libc, Guile, etc. That's a lot of binary code! Why is that a problem? It's a problem because these big chunks of binary code are practically non-auditable, which makes it hard to establish what source code produced them. Every unauditable binary also leaves us vulnerable to compiler backdoors as described by Ken Thompson in the 1984 paper @emph{Reflections on Trusting Trust}."
  50651. msgstr ""
  50652. #. type: Plain text
  50653. #: guix-git/doc/guix.texi:34929
  50654. msgid "This is mitigated by the fact that our bootstrap binaries were generated from an earlier Guix revision. Nevertheless it lacks the level of transparency that we get in the rest of the package dependency graph, where Guix always gives us a source-to-binary mapping. Thus, our goal is to reduce the set of bootstrap binaries to the bare minimum."
  50655. msgstr ""
  50656. #. type: Plain text
  50657. #: guix-git/doc/guix.texi:34935
  50658. msgid "The @uref{https://bootstrappable.org, Bootstrappable.org web site} lists on-going projects to do that. One of these is about replacing the bootstrap GCC with a sequence of assemblers, interpreters, and compilers of increasing complexity, which could be built from source starting from a simple and auditable assembler."
  50659. msgstr ""
  50660. #. type: Plain text
  50661. #: guix-git/doc/guix.texi:34944
  50662. msgid "Our first major achievement is the replacement of of GCC, the GNU C Library and Binutils by MesCC-Tools (a simple hex linker and macro assembler) and Mes (@pxref{Top, GNU Mes Reference Manual,, mes, GNU Mes}, a Scheme interpreter and C compiler in Scheme). Neither MesCC-Tools nor Mes can be fully bootstrapped yet and thus we inject them as binary seeds. We call this the Reduced Binary Seed bootstrap, as it has halved the size of our bootstrap binaries! Also, it has eliminated the C compiler binary; i686-linux and x86_64-linux Guix packages are now bootstrapped without any binary C compiler."
  50663. msgstr ""
  50664. #. type: Plain text
  50665. #: guix-git/doc/guix.texi:34947
  50666. msgid "Work is ongoing to make MesCC-Tools and Mes fully bootstrappable and we are also looking at any other bootstrap binaries. Your help is welcome!"
  50667. msgstr ""
  50668. #. type: chapter
  50669. #: guix-git/doc/guix.texi:34949
  50670. #, no-wrap
  50671. msgid "Porting to a New Platform"
  50672. msgstr ""
  50673. #. type: Plain text
  50674. #: guix-git/doc/guix.texi:34958
  50675. msgid "As discussed above, the GNU distribution is self-contained, and self-containment is achieved by relying on pre-built ``bootstrap binaries'' (@pxref{Bootstrapping}). These binaries are specific to an operating system kernel, CPU architecture, and application binary interface (ABI). Thus, to port the distribution to a platform that is not yet supported, one must build those bootstrap binaries, and update the @code{(gnu packages bootstrap)} module to use them on that platform."
  50676. msgstr ""
  50677. #. type: Plain text
  50678. #: guix-git/doc/guix.texi:34963
  50679. msgid "Fortunately, Guix can @emph{cross compile} those bootstrap binaries. When everything goes well, and assuming the GNU tool chain supports the target platform, this can be as simple as running a command like this one:"
  50680. msgstr ""
  50681. #. type: example
  50682. #: guix-git/doc/guix.texi:34966
  50683. #, no-wrap
  50684. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  50685. msgstr ""
  50686. #. type: Plain text
  50687. #: guix-git/doc/guix.texi:34973
  50688. msgid "For this to work, the @code{glibc-dynamic-linker} procedure in @code{(gnu packages bootstrap)} must be augmented to return the right file name for libc's dynamic linker on that platform; likewise, @code{system->linux-architecture} in @code{(gnu packages linux)} must be taught about the new platform."
  50689. msgstr ""
  50690. #. type: Plain text
  50691. #: guix-git/doc/guix.texi:34982
  50692. msgid "Once these are built, the @code{(gnu packages bootstrap)} module needs to be updated to refer to these binaries on the target platform. That is, the hashes and URLs of the bootstrap tarballs for the new platform must be added alongside those of the currently supported platforms. The bootstrap Guile tarball is treated specially: it is expected to be available locally, and @file{gnu/local.mk} has rules to download it for the supported architectures; a rule for the new platform must be added as well."
  50693. msgstr ""
  50694. #. type: Plain text
  50695. #: guix-git/doc/guix.texi:34991
  50696. msgid "In practice, there may be some complications. First, it may be that the extended GNU triplet that specifies an ABI (like the @code{eabi} suffix above) is not recognized by all the GNU tools. Typically, glibc recognizes some of these, whereas GCC uses an extra @option{--with-abi} configure flag (see @code{gcc.scm} for examples of how to handle this). Second, some of the required packages could fail to build for that platform. Lastly, the generated binaries could be broken for some reason."
  50697. msgstr ""
  50698. #. type: include
  50699. #: guix-git/doc/guix.texi:34993
  50700. #, no-wrap
  50701. msgid "contributing.texi"
  50702. msgstr "contributing.sk.texi"
  50703. #. type: Plain text
  50704. #: guix-git/doc/guix.texi:35006
  50705. msgid "Guix is based on the @uref{https://nixos.org/nix/, Nix package manager}, which was designed and implemented by Eelco Dolstra, with contributions from other people (see the @file{nix/AUTHORS} file in Guix). Nix pioneered functional package management, and promoted unprecedented features, such as transactional package upgrades and rollbacks, per-user profiles, and referentially transparent build processes. Without this work, Guix would not exist."
  50706. msgstr ""
  50707. #. type: Plain text
  50708. #: guix-git/doc/guix.texi:35009
  50709. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  50710. msgstr ""
  50711. #. type: Plain text
  50712. #: guix-git/doc/guix.texi:35015
  50713. msgid "GNU@tie{}Guix itself is a collective work with contributions from a number of people. See the @file{AUTHORS} file in Guix for more information on these fine people. The @file{THANKS} file lists people who have helped by reporting bugs, taking care of the infrastructure, providing artwork and themes, making suggestions, and more---thank you!"
  50714. msgstr ""
  50715. #. type: cindex
  50716. #: guix-git/doc/guix.texi:35020
  50717. #, no-wrap
  50718. msgid "license, GNU Free Documentation License"
  50719. msgstr ""
  50720. #. type: include
  50721. #: guix-git/doc/guix.texi:35021
  50722. #, no-wrap
  50723. msgid "fdl-1.3.texi"
  50724. msgstr ""