guix-manual.sk.po 2.2 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551505525055350554505555055650557505585055950560505615056250563505645056550566505675056850569505705057150572505735057450575505765057750578505795058050581505825058350584505855058650587505885058950590505915059250593505945059550596505975059850599506005060150602506035060450605506065060750608506095061050611506125061350614506155061650617506185061950620506215062250623506245062550626506275062850629506305063150632506335063450635506365063750638506395064050641506425064350644506455064650647506485064950650506515065250653506545065550656506575065850659506605066150662506635066450665506665066750668506695067050671506725067350674506755067650677506785067950680506815068250683506845068550686506875068850689506905069150692506935069450695506965069750698506995070050701507025070350704507055070650707507085070950710507115071250713507145071550716507175071850719507205072150722507235072450725507265072750728507295073050731507325073350734507355073650737507385073950740507415074250743507445074550746507475074850749507505075150752507535075450755507565075750758507595076050761507625076350764507655076650767507685076950770507715077250773507745077550776507775077850779507805078150782507835078450785507865078750788507895079050791507925079350794507955079650797507985079950800508015080250803508045080550806508075080850809508105081150812508135081450815508165081750818508195082050821508225082350824508255082650827508285082950830508315083250833508345083550836508375083850839508405084150842508435084450845508465084750848508495085050851508525085350854508555085650857508585085950860508615086250863508645086550866508675086850869508705087150872508735087450875508765087750878508795088050881508825088350884508855088650887508885088950890508915089250893508945089550896508975089850899509005090150902509035090450905509065090750908509095091050911509125091350914509155091650917509185091950920509215092250923509245092550926509275092850929509305093150932509335093450935509365093750938509395094050941509425094350944509455094650947509485094950950509515095250953509545095550956509575095850959509605096150962509635096450965509665096750968509695097050971509725097350974509755097650977509785097950980509815098250983509845098550986509875098850989509905099150992509935099450995509965099750998509995100051001510025100351004510055100651007510085100951010510115101251013510145101551016510175101851019510205102151022510235102451025510265102751028510295103051031510325103351034510355103651037510385103951040510415104251043510445104551046510475104851049510505105151052510535105451055510565105751058510595106051061510625106351064510655106651067510685106951070510715107251073510745107551076510775107851079510805108151082510835108451085510865108751088510895109051091510925109351094510955109651097510985109951100511015110251103511045110551106511075110851109511105111151112511135111451115511165111751118511195112051121511225112351124511255112651127511285112951130511315113251133511345113551136511375113851139511405114151142511435114451145511465114751148511495115051151511525115351154511555115651157511585115951160511615116251163511645116551166511675116851169511705117151172511735117451175511765117751178511795118051181511825118351184511855118651187511885118951190511915119251193511945119551196511975119851199512005120151202512035120451205512065120751208512095121051211512125121351214512155121651217512185121951220512215122251223512245122551226512275122851229512305123151232512335123451235512365123751238512395124051241512425124351244512455124651247512485124951250512515125251253512545125551256512575125851259512605126151262512635126451265512665126751268512695127051271512725127351274512755127651277512785127951280512815128251283512845128551286512875128851289512905129151292512935129451295512965129751298512995130051301513025130351304513055130651307513085130951310513115131251313513145131551316513175131851319513205132151322513235132451325513265132751328513295133051331513325133351334513355133651337513385133951340513415134251343513445134551346513475134851349513505135151352513535135451355513565135751358513595136051361513625136351364513655136651367513685136951370513715137251373513745137551376513775137851379513805138151382513835138451385513865138751388513895139051391513925139351394513955139651397513985139951400514015140251403514045140551406514075140851409514105141151412514135141451415514165141751418514195142051421514225142351424514255142651427514285142951430514315143251433514345143551436514375143851439514405144151442514435144451445514465144751448514495145051451514525145351454514555145651457514585145951460514615146251463514645146551466514675146851469514705147151472514735147451475514765147751478514795148051481514825148351484514855148651487514885148951490514915149251493514945149551496514975149851499515005150151502515035150451505515065150751508515095151051511515125151351514515155151651517515185151951520515215152251523515245152551526515275152851529515305153151532515335153451535515365153751538515395154051541515425154351544515455154651547515485154951550515515155251553515545155551556515575155851559515605156151562515635156451565515665156751568515695157051571515725157351574515755157651577515785157951580515815158251583515845158551586515875158851589515905159151592515935159451595515965159751598515995160051601516025160351604516055160651607516085160951610516115161251613516145161551616516175161851619516205162151622516235162451625516265162751628516295163051631516325163351634516355163651637516385163951640516415164251643516445164551646516475164851649516505165151652516535165451655516565165751658516595166051661516625166351664516655166651667516685166951670516715167251673516745167551676516775167851679516805168151682516835168451685516865168751688516895169051691516925169351694516955169651697516985169951700517015170251703517045170551706517075170851709517105171151712517135171451715517165171751718517195172051721517225172351724517255172651727517285172951730517315173251733517345173551736517375173851739517405174151742517435174451745517465174751748517495175051751517525175351754517555175651757517585175951760517615176251763517645176551766517675176851769517705177151772517735177451775517765177751778517795178051781517825178351784517855178651787517885178951790517915179251793517945179551796517975179851799518005180151802518035180451805518065180751808518095181051811518125181351814518155181651817518185181951820518215182251823518245182551826518275182851829518305183151832518335183451835518365183751838518395184051841518425184351844518455184651847518485184951850518515185251853518545185551856518575185851859518605186151862518635186451865518665186751868518695187051871518725187351874518755187651877518785187951880518815188251883518845188551886518875188851889518905189151892518935189451895518965189751898518995190051901519025190351904519055190651907519085190951910519115191251913519145191551916519175191851919519205192151922519235192451925519265192751928519295193051931519325193351934519355193651937519385193951940519415194251943519445194551946519475194851949519505195151952519535195451955519565195751958519595196051961519625196351964519655196651967519685196951970519715197251973519745197551976519775197851979519805198151982519835198451985519865198751988519895199051991519925199351994519955199651997519985199952000520015200252003520045200552006520075200852009520105201152012520135201452015520165201752018520195202052021520225202352024520255202652027520285202952030520315203252033520345203552036520375203852039520405204152042520435204452045520465204752048520495205052051520525205352054520555205652057520585205952060520615206252063520645206552066520675206852069520705207152072520735207452075520765207752078520795208052081520825208352084520855208652087520885208952090520915209252093520945209552096520975209852099521005210152102521035210452105521065210752108521095211052111521125211352114521155211652117521185211952120521215212252123521245212552126521275212852129521305213152132521335213452135521365213752138521395214052141521425214352144521455214652147521485214952150521515215252153521545215552156521575215852159521605216152162521635216452165521665216752168521695217052171521725217352174521755217652177521785217952180521815218252183521845218552186521875218852189521905219152192521935219452195521965219752198521995220052201522025220352204522055220652207522085220952210522115221252213522145221552216522175221852219522205222152222522235222452225522265222752228522295223052231522325223352234522355223652237522385223952240522415224252243522445224552246522475224852249522505225152252522535225452255522565225752258522595226052261522625226352264522655226652267522685226952270522715227252273522745227552276522775227852279522805228152282522835228452285522865228752288522895229052291522925229352294522955229652297522985229952300523015230252303523045230552306523075230852309523105231152312523135231452315523165231752318523195232052321523225232352324523255232652327523285232952330523315233252333523345233552336523375233852339523405234152342523435234452345523465234752348523495235052351523525235352354523555235652357523585235952360523615236252363523645236552366523675236852369523705237152372523735237452375523765237752378523795238052381523825238352384523855238652387523885238952390523915239252393523945239552396523975239852399524005240152402524035240452405524065240752408524095241052411524125241352414524155241652417524185241952420524215242252423524245242552426524275242852429524305243152432524335243452435524365243752438524395244052441524425244352444524455244652447524485244952450524515245252453524545245552456524575245852459524605246152462524635246452465524665246752468524695247052471524725247352474524755247652477524785247952480524815248252483524845248552486524875248852489524905249152492524935249452495524965249752498524995250052501525025250352504525055250652507525085250952510525115251252513525145251552516525175251852519525205252152522525235252452525525265252752528525295253052531525325253352534525355253652537525385253952540525415254252543525445254552546525475254852549525505255152552525535255452555525565255752558525595256052561525625256352564525655256652567525685256952570525715257252573525745257552576525775257852579525805258152582525835258452585525865258752588525895259052591525925259352594525955259652597525985259952600526015260252603526045260552606526075260852609526105261152612526135261452615526165261752618526195262052621526225262352624526255262652627526285262952630526315263252633526345263552636526375263852639526405264152642526435264452645526465264752648526495265052651526525265352654526555265652657526585265952660526615266252663526645266552666526675266852669526705267152672526735267452675526765267752678526795268052681526825268352684526855268652687526885268952690526915269252693526945269552696526975269852699527005270152702527035270452705527065270752708527095271052711527125271352714527155271652717527185271952720527215272252723527245272552726527275272852729527305273152732527335273452735527365273752738527395274052741527425274352744527455274652747527485274952750527515275252753527545275552756527575275852759527605276152762527635276452765527665276752768527695277052771527725277352774527755277652777527785277952780527815278252783527845278552786527875278852789527905279152792527935279452795527965279752798527995280052801528025280352804528055280652807528085280952810528115281252813528145281552816528175281852819528205282152822528235282452825528265282752828528295283052831528325283352834528355283652837528385283952840528415284252843528445284552846528475284852849528505285152852528535285452855528565285752858528595286052861528625286352864528655286652867528685286952870528715287252873528745287552876528775287852879528805288152882528835288452885528865288752888528895289052891528925289352894528955289652897528985289952900529015290252903529045290552906529075290852909529105291152912529135291452915529165291752918529195292052921529225292352924529255292652927529285292952930529315293252933529345293552936529375293852939529405294152942529435294452945529465294752948529495295052951529525295352954529555295652957529585295952960529615296252963529645296552966529675296852969529705297152972529735297452975529765297752978529795298052981529825298352984529855298652987529885298952990529915299252993529945299552996529975299852999530005300153002530035300453005530065300753008530095301053011530125301353014530155301653017530185301953020530215302253023530245302553026530275302853029530305303153032530335303453035530365303753038530395304053041530425304353044530455304653047530485304953050530515305253053530545305553056530575305853059530605306153062530635306453065530665306753068530695307053071530725307353074530755307653077530785307953080530815308253083530845308553086530875308853089530905309153092530935309453095530965309753098530995310053101531025310353104531055310653107531085310953110531115311253113531145311553116531175311853119531205312153122531235312453125531265312753128531295313053131531325313353134531355313653137531385313953140531415314253143531445314553146531475314853149531505315153152531535315453155531565315753158531595316053161531625316353164531655316653167531685316953170531715317253173531745317553176531775317853179531805318153182531835318453185531865318753188531895319053191531925319353194531955319653197531985319953200532015320253203532045320553206532075320853209532105321153212532135321453215532165321753218532195322053221532225322353224532255322653227532285322953230532315323253233532345323553236532375323853239532405324153242532435324453245532465324753248532495325053251532525325353254532555325653257532585325953260532615326253263532645326553266532675326853269532705327153272532735327453275532765327753278532795328053281532825328353284532855328653287532885328953290532915329253293532945329553296532975329853299533005330153302533035330453305533065330753308533095331053311533125331353314533155331653317533185331953320533215332253323533245332553326533275332853329533305333153332533335333453335533365333753338533395334053341533425334353344533455334653347533485334953350533515335253353533545335553356533575335853359533605336153362533635336453365533665336753368533695337053371533725337353374533755337653377533785337953380533815338253383533845338553386533875338853389533905339153392533935339453395533965339753398533995340053401534025340353404534055340653407534085340953410534115341253413534145341553416534175341853419534205342153422534235342453425534265342753428534295343053431534325343353434534355343653437534385343953440534415344253443534445344553446534475344853449534505345153452534535345453455534565345753458534595346053461534625346353464534655346653467534685346953470534715347253473534745347553476534775347853479534805348153482534835348453485534865348753488534895349053491534925349353494534955349653497534985349953500535015350253503535045350553506535075350853509535105351153512535135351453515535165351753518535195352053521535225352353524535255352653527535285352953530535315353253533535345353553536535375353853539535405354153542535435354453545535465354753548535495355053551535525355353554535555355653557535585355953560535615356253563535645356553566535675356853569535705357153572535735357453575535765357753578535795358053581535825358353584535855358653587535885358953590535915359253593535945359553596535975359853599536005360153602536035360453605536065360753608536095361053611536125361353614536155361653617536185361953620536215362253623536245362553626536275362853629536305363153632536335363453635536365363753638536395364053641536425364353644536455364653647536485364953650536515365253653536545365553656536575365853659536605366153662536635366453665536665366753668536695367053671536725367353674536755367653677536785367953680536815368253683536845368553686536875368853689536905369153692536935369453695536965369753698536995370053701537025370353704537055370653707537085370953710537115371253713537145371553716537175371853719537205372153722537235372453725537265372753728537295373053731537325373353734537355373653737537385373953740537415374253743537445374553746537475374853749537505375153752537535375453755537565375753758537595376053761537625376353764537655376653767537685376953770537715377253773537745377553776537775377853779537805378153782537835378453785537865378753788537895379053791537925379353794537955379653797537985379953800538015380253803538045380553806538075380853809538105381153812538135381453815538165381753818538195382053821538225382353824538255382653827538285382953830538315383253833538345383553836538375383853839538405384153842538435384453845538465384753848538495385053851538525385353854538555385653857538585385953860538615386253863538645386553866538675386853869538705387153872538735387453875538765387753878538795388053881538825388353884538855388653887538885388953890538915389253893538945389553896538975389853899539005390153902539035390453905539065390753908539095391053911539125391353914539155391653917539185391953920539215392253923539245392553926539275392853929539305393153932539335393453935539365393753938539395394053941539425394353944539455394653947539485394953950539515395253953539545395553956539575395853959539605396153962539635396453965539665396753968539695397053971539725397353974539755397653977539785397953980539815398253983539845398553986539875398853989539905399153992539935399453995539965399753998539995400054001540025400354004540055400654007540085400954010540115401254013540145401554016540175401854019540205402154022540235402454025540265402754028540295403054031540325403354034540355403654037540385403954040540415404254043540445404554046540475404854049540505405154052540535405454055540565405754058540595406054061540625406354064540655406654067540685406954070540715407254073540745407554076540775407854079540805408154082540835408454085540865408754088540895409054091540925409354094540955409654097540985409954100541015410254103541045410554106541075410854109541105411154112541135411454115541165411754118541195412054121541225412354124541255412654127541285412954130541315413254133541345413554136541375413854139541405414154142541435414454145541465414754148541495415054151541525415354154541555415654157541585415954160541615416254163541645416554166541675416854169541705417154172541735417454175541765417754178541795418054181541825418354184541855418654187541885418954190541915419254193541945419554196541975419854199542005420154202542035420454205542065420754208542095421054211542125421354214542155421654217542185421954220542215422254223542245422554226542275422854229542305423154232542335423454235542365423754238542395424054241542425424354244542455424654247542485424954250542515425254253542545425554256542575425854259542605426154262542635426454265542665426754268542695427054271542725427354274542755427654277542785427954280542815428254283542845428554286542875428854289542905429154292542935429454295542965429754298542995430054301543025430354304543055430654307543085430954310543115431254313543145431554316543175431854319543205432154322543235432454325543265432754328543295433054331543325433354334543355433654337543385433954340543415434254343543445434554346543475434854349543505435154352543535435454355543565435754358543595436054361543625436354364543655436654367543685436954370543715437254373543745437554376543775437854379543805438154382543835438454385543865438754388543895439054391543925439354394543955439654397543985439954400544015440254403544045440554406544075440854409544105441154412544135441454415544165441754418544195442054421544225442354424544255442654427544285442954430544315443254433544345443554436544375443854439544405444154442544435444454445544465444754448544495445054451544525445354454544555445654457544585445954460544615446254463544645446554466544675446854469544705447154472544735447454475544765447754478544795448054481544825448354484544855448654487544885448954490544915449254493544945449554496544975449854499545005450154502545035450454505545065450754508545095451054511545125451354514545155451654517545185451954520545215452254523545245452554526545275452854529545305453154532545335453454535545365453754538545395454054541545425454354544545455454654547545485454954550545515455254553545545455554556545575455854559545605456154562545635456454565545665456754568545695457054571545725457354574545755457654577545785457954580545815458254583545845458554586545875458854589545905459154592545935459454595545965459754598545995460054601546025460354604546055460654607546085460954610546115461254613546145461554616546175461854619546205462154622546235462454625546265462754628546295463054631546325463354634546355463654637546385463954640546415464254643546445464554646546475464854649546505465154652546535465454655546565465754658546595466054661546625466354664546655466654667546685466954670546715467254673546745467554676546775467854679546805468154682546835468454685546865468754688546895469054691546925469354694546955469654697546985469954700547015470254703547045470554706547075470854709547105471154712547135471454715547165471754718547195472054721547225472354724547255472654727547285472954730547315473254733547345473554736547375473854739547405474154742547435474454745547465474754748547495475054751547525475354754547555475654757547585475954760547615476254763547645476554766547675476854769547705477154772547735477454775547765477754778547795478054781547825478354784547855478654787547885478954790547915479254793547945479554796547975479854799548005480154802548035480454805548065480754808548095481054811548125481354814548155481654817548185481954820548215482254823548245482554826548275482854829548305483154832548335483454835548365483754838548395484054841548425484354844548455484654847548485484954850548515485254853548545485554856548575485854859548605486154862548635486454865548665486754868548695487054871548725487354874548755487654877548785487954880548815488254883548845488554886548875488854889548905489154892548935489454895548965489754898548995490054901549025490354904549055490654907549085490954910549115491254913549145491554916549175491854919549205492154922549235492454925549265492754928549295493054931549325493354934549355493654937549385493954940549415494254943549445494554946549475494854949549505495154952549535495454955549565495754958549595496054961549625496354964549655496654967549685496954970549715497254973549745497554976549775497854979549805498154982549835498454985549865498754988549895499054991549925499354994549955499654997549985499955000550015500255003550045500555006550075500855009550105501155012550135501455015550165501755018550195502055021550225502355024550255502655027550285502955030550315503255033550345503555036550375503855039550405504155042550435504455045550465504755048550495505055051550525505355054550555505655057550585505955060550615506255063550645506555066550675506855069550705507155072550735507455075550765507755078550795508055081550825508355084550855508655087550885508955090550915509255093550945509555096550975509855099551005510155102551035510455105551065510755108551095511055111551125511355114551155511655117551185511955120551215512255123551245512555126551275512855129551305513155132551335513455135551365513755138551395514055141551425514355144551455514655147551485514955150551515515255153551545515555156551575515855159551605516155162551635516455165551665516755168551695517055171551725517355174551755517655177551785517955180551815518255183551845518555186551875518855189551905519155192551935519455195551965519755198551995520055201552025520355204552055520655207552085520955210552115521255213552145521555216552175521855219552205522155222552235522455225552265522755228552295523055231552325523355234552355523655237552385523955240552415524255243552445524555246552475524855249552505525155252552535525455255552565525755258552595526055261552625526355264552655526655267552685526955270552715527255273552745527555276552775527855279552805528155282552835528455285552865528755288552895529055291552925529355294552955529655297552985529955300553015530255303553045530555306553075530855309553105531155312553135531455315553165531755318553195532055321553225532355324553255532655327553285532955330553315533255333553345533555336553375533855339553405534155342553435534455345553465534755348553495535055351553525535355354553555535655357553585535955360553615536255363553645536555366553675536855369553705537155372553735537455375553765537755378553795538055381553825538355384553855538655387553885538955390553915539255393553945539555396553975539855399554005540155402554035540455405554065540755408554095541055411554125541355414554155541655417554185541955420554215542255423554245542555426554275542855429554305543155432554335543455435554365543755438554395544055441554425544355444554455544655447554485544955450554515545255453554545545555456554575545855459554605546155462554635546455465554665546755468554695547055471554725547355474554755547655477554785547955480554815548255483554845548555486554875548855489554905549155492554935549455495554965549755498554995550055501555025550355504555055550655507555085550955510555115551255513555145551555516555175551855519555205552155522555235552455525555265552755528555295553055531555325553355534555355553655537555385553955540555415554255543555445554555546555475554855549555505555155552555535555455555555565555755558555595556055561555625556355564555655556655567555685556955570555715557255573555745557555576555775557855579555805558155582555835558455585555865558755588555895559055591555925559355594555955559655597555985559955600556015560255603556045560555606556075560855609556105561155612556135561455615556165561755618556195562055621556225562355624556255562655627556285562955630556315563255633556345563555636556375563855639556405564155642556435564455645556465564755648556495565055651556525565355654556555565655657556585565955660556615566255663556645566555666556675566855669556705567155672556735567455675556765567755678556795568055681556825568355684556855568655687556885568955690556915569255693556945569555696556975569855699557005570155702557035570455705557065570755708557095571055711557125571355714557155571655717557185571955720557215572255723557245572555726557275572855729557305573155732557335573455735557365573755738557395574055741557425574355744557455574655747557485574955750557515575255753557545575555756557575575855759557605576155762557635576455765557665576755768557695577055771557725577355774557755577655777557785577955780557815578255783557845578555786557875578855789557905579155792557935579455795557965579755798557995580055801558025580355804558055580655807558085580955810558115581255813558145581555816558175581855819558205582155822558235582455825558265582755828558295583055831558325583355834558355583655837558385583955840558415584255843558445584555846558475584855849558505585155852558535585455855558565585755858558595586055861558625586355864558655586655867558685586955870558715587255873558745587555876558775587855879558805588155882558835588455885558865588755888558895589055891558925589355894558955589655897558985589955900559015590255903559045590555906559075590855909559105591155912559135591455915559165591755918559195592055921559225592355924559255592655927559285592955930559315593255933559345593555936559375593855939559405594155942559435594455945559465594755948559495595055951559525595355954559555595655957559585595955960559615596255963559645596555966559675596855969559705597155972559735597455975559765597755978559795598055981559825598355984559855598655987559885598955990559915599255993559945599555996559975599855999560005600156002560035600456005560065600756008560095601056011560125601356014560155601656017560185601956020560215602256023560245602556026560275602856029560305603156032560335603456035560365603756038560395604056041560425604356044560455604656047560485604956050560515605256053560545605556056560575605856059560605606156062560635606456065560665606756068560695607056071560725607356074560755607656077560785607956080560815608256083560845608556086560875608856089560905609156092560935609456095560965609756098560995610056101561025610356104561055610656107561085610956110561115611256113561145611556116561175611856119561205612156122561235612456125561265612756128561295613056131561325613356134561355613656137561385613956140561415614256143561445614556146561475614856149561505615156152561535615456155561565615756158561595616056161561625616356164561655616656167561685616956170561715617256173561745617556176561775617856179561805618156182561835618456185561865618756188561895619056191561925619356194561955619656197561985619956200562015620256203562045620556206562075620856209562105621156212562135621456215562165621756218562195622056221562225622356224562255622656227562285622956230562315623256233562345623556236562375623856239562405624156242562435624456245562465624756248562495625056251562525625356254562555625656257562585625956260562615626256263562645626556266562675626856269562705627156272562735627456275562765627756278562795628056281562825628356284562855628656287562885628956290562915629256293562945629556296562975629856299563005630156302563035630456305563065630756308563095631056311563125631356314563155631656317563185631956320563215632256323563245632556326563275632856329563305633156332563335633456335563365633756338563395634056341563425634356344563455634656347563485634956350563515635256353563545635556356563575635856359563605636156362563635636456365563665636756368563695637056371563725637356374563755637656377563785637956380563815638256383563845638556386563875638856389563905639156392563935639456395563965639756398563995640056401564025640356404564055640656407564085640956410564115641256413564145641556416564175641856419564205642156422564235642456425564265642756428564295643056431564325643356434564355643656437564385643956440564415644256443564445644556446564475644856449564505645156452564535645456455564565645756458564595646056461564625646356464564655646656467564685646956470564715647256473564745647556476564775647856479564805648156482564835648456485564865648756488564895649056491564925649356494564955649656497564985649956500565015650256503565045650556506565075650856509565105651156512565135651456515565165651756518565195652056521565225652356524565255652656527565285652956530565315653256533565345653556536565375653856539565405654156542565435654456545565465654756548565495655056551565525655356554565555655656557565585655956560565615656256563565645656556566565675656856569565705657156572565735657456575565765657756578565795658056581565825658356584565855658656587565885658956590565915659256593565945659556596565975659856599566005660156602566035660456605566065660756608566095661056611566125661356614566155661656617566185661956620566215662256623566245662556626566275662856629566305663156632566335663456635566365663756638566395664056641566425664356644566455664656647566485664956650566515665256653566545665556656566575665856659566605666156662566635666456665566665666756668566695667056671566725667356674566755667656677566785667956680566815668256683566845668556686566875668856689566905669156692566935669456695566965669756698566995670056701567025670356704567055670656707567085670956710567115671256713567145671556716567175671856719567205672156722567235672456725567265672756728567295673056731567325673356734567355673656737567385673956740567415674256743567445674556746567475674856749567505675156752567535675456755567565675756758567595676056761567625676356764567655676656767567685676956770567715677256773567745677556776567775677856779567805678156782567835678456785567865678756788567895679056791567925679356794567955679656797567985679956800568015680256803568045680556806568075680856809568105681156812568135681456815568165681756818568195682056821568225682356824568255682656827568285682956830568315683256833568345683556836568375683856839568405684156842568435684456845568465684756848568495685056851568525685356854568555685656857568585685956860568615686256863568645686556866568675686856869568705687156872568735687456875568765687756878568795688056881568825688356884568855688656887568885688956890568915689256893568945689556896568975689856899569005690156902569035690456905569065690756908569095691056911569125691356914569155691656917569185691956920569215692256923569245692556926569275692856929569305693156932569335693456935569365693756938569395694056941569425694356944569455694656947569485694956950569515695256953569545695556956569575695856959569605696156962569635696456965569665696756968569695697056971569725697356974569755697656977569785697956980569815698256983569845698556986569875698856989569905699156992569935699456995569965699756998569995700057001570025700357004570055700657007570085700957010570115701257013570145701557016570175701857019570205702157022570235702457025570265702757028570295703057031570325703357034570355703657037570385703957040570415704257043570445704557046570475704857049570505705157052570535705457055570565705757058570595706057061570625706357064570655706657067570685706957070570715707257073570745707557076570775707857079570805708157082570835708457085570865708757088570895709057091570925709357094570955709657097570985709957100571015710257103571045710557106571075710857109571105711157112571135711457115571165711757118571195712057121571225712357124571255712657127571285712957130571315713257133571345713557136571375713857139571405714157142571435714457145571465714757148571495715057151571525715357154571555715657157571585715957160571615716257163571645716557166571675716857169571705717157172571735717457175571765717757178571795718057181571825718357184571855718657187571885718957190571915719257193571945719557196571975719857199572005720157202572035720457205572065720757208572095721057211572125721357214572155721657217572185721957220572215722257223572245722557226572275722857229572305723157232572335723457235572365723757238572395724057241572425724357244572455724657247572485724957250572515725257253572545725557256572575725857259572605726157262572635726457265572665726757268572695727057271572725727357274572755727657277572785727957280572815728257283572845728557286572875728857289572905729157292572935729457295572965729757298572995730057301573025730357304573055730657307573085730957310573115731257313573145731557316573175731857319573205732157322573235732457325573265732757328573295733057331573325733357334573355733657337573385733957340573415734257343573445734557346573475734857349573505735157352573535735457355573565735757358573595736057361573625736357364573655736657367573685736957370573715737257373573745737557376573775737857379573805738157382573835738457385573865738757388573895739057391573925739357394573955739657397573985739957400574015740257403574045740557406574075740857409574105741157412574135741457415574165741757418574195742057421574225742357424574255742657427574285742957430574315743257433574345743557436574375743857439574405744157442574435744457445574465744757448574495745057451574525745357454574555745657457574585745957460574615746257463574645746557466574675746857469574705747157472574735747457475574765747757478574795748057481574825748357484574855748657487574885748957490574915749257493574945749557496574975749857499575005750157502575035750457505575065750757508575095751057511575125751357514575155751657517575185751957520575215752257523575245752557526575275752857529575305753157532575335753457535575365753757538575395754057541575425754357544575455754657547575485754957550575515755257553575545755557556575575755857559575605756157562575635756457565575665756757568575695757057571575725757357574575755757657577575785757957580575815758257583575845758557586575875758857589575905759157592575935759457595575965759757598575995760057601576025760357604576055760657607576085760957610576115761257613576145761557616576175761857619576205762157622576235762457625576265762757628576295763057631576325763357634576355763657637576385763957640576415764257643576445764557646576475764857649576505765157652576535765457655576565765757658576595766057661576625766357664576655766657667576685766957670576715767257673576745767557676576775767857679576805768157682576835768457685576865768757688576895769057691576925769357694576955769657697576985769957700577015770257703577045770557706577075770857709577105771157712577135771457715577165771757718577195772057721577225772357724577255772657727577285772957730577315773257733577345773557736577375773857739577405774157742577435774457745577465774757748577495775057751577525775357754577555775657757577585775957760577615776257763577645776557766577675776857769577705777157772577735777457775577765777757778577795778057781577825778357784577855778657787577885778957790577915779257793577945779557796577975779857799578005780157802578035780457805578065780757808578095781057811578125781357814578155781657817578185781957820578215782257823578245782557826578275782857829578305783157832578335783457835578365783757838578395784057841578425784357844578455784657847578485784957850578515785257853578545785557856578575785857859578605786157862578635786457865578665786757868578695787057871578725787357874578755787657877578785787957880578815788257883578845788557886578875788857889578905789157892578935789457895578965789757898578995790057901579025790357904579055790657907579085790957910579115791257913579145791557916579175791857919579205792157922579235792457925579265792757928579295793057931579325793357934579355793657937579385793957940579415794257943579445794557946579475794857949579505795157952579535795457955579565795757958579595796057961579625796357964579655796657967579685796957970579715797257973579745797557976579775797857979579805798157982579835798457985579865798757988579895799057991579925799357994579955799657997579985799958000580015800258003580045800558006580075800858009580105801158012580135801458015580165801758018580195802058021580225802358024580255802658027580285802958030580315803258033580345803558036580375803858039580405804158042580435804458045580465804758048580495805058051580525805358054580555805658057580585805958060580615806258063580645806558066580675806858069580705807158072580735807458075580765807758078580795808058081580825808358084580855808658087580885808958090580915809258093580945809558096580975809858099581005810158102581035810458105581065810758108581095811058111581125811358114581155811658117581185811958120581215812258123581245812558126581275812858129581305813158132581335813458135581365813758138581395814058141581425814358144581455814658147581485814958150581515815258153581545815558156581575815858159581605816158162581635816458165581665816758168581695817058171581725817358174581755817658177581785817958180581815818258183581845818558186581875818858189581905819158192581935819458195581965819758198581995820058201582025820358204582055820658207582085820958210582115821258213582145821558216582175821858219582205822158222582235822458225582265822758228582295823058231582325823358234582355823658237582385823958240582415824258243582445824558246582475824858249582505825158252582535825458255582565825758258582595826058261582625826358264582655826658267582685826958270582715827258273582745827558276582775827858279582805828158282582835828458285582865828758288582895829058291582925829358294582955829658297582985829958300583015830258303583045830558306583075830858309583105831158312583135831458315583165831758318583195832058321583225832358324583255832658327583285832958330583315833258333583345833558336583375833858339583405834158342583435834458345583465834758348583495835058351583525835358354583555835658357583585835958360583615836258363583645836558366583675836858369583705837158372583735837458375583765837758378583795838058381583825838358384583855838658387583885838958390583915839258393583945839558396583975839858399584005840158402584035840458405584065840758408584095841058411584125841358414584155841658417584185841958420584215842258423584245842558426584275842858429584305843158432584335843458435584365843758438584395844058441584425844358444584455844658447584485844958450584515845258453584545845558456584575845858459584605846158462584635846458465584665846758468584695847058471584725847358474584755847658477584785847958480584815848258483584845848558486584875848858489584905849158492584935849458495584965849758498584995850058501585025850358504585055850658507585085850958510585115851258513585145851558516585175851858519585205852158522585235852458525585265852758528585295853058531585325853358534585355853658537585385853958540585415854258543585445854558546585475854858549585505855158552585535855458555585565855758558585595856058561585625856358564585655856658567585685856958570585715857258573585745857558576585775857858579585805858158582585835858458585585865858758588585895859058591585925859358594585955859658597585985859958600586015860258603586045860558606586075860858609586105861158612586135861458615586165861758618586195862058621586225862358624586255862658627586285862958630586315863258633586345863558636586375863858639586405864158642586435864458645586465864758648586495865058651586525865358654586555865658657586585865958660586615866258663586645866558666586675866858669586705867158672586735867458675586765867758678586795868058681586825868358684586855868658687586885868958690586915869258693586945869558696586975869858699587005870158702587035870458705587065870758708587095871058711587125871358714587155871658717587185871958720587215872258723587245872558726587275872858729587305873158732587335873458735587365873758738587395874058741587425874358744587455874658747587485874958750587515875258753587545875558756587575875858759587605876158762587635876458765587665876758768587695877058771587725877358774587755877658777587785877958780587815878258783587845878558786587875878858789587905879158792587935879458795587965879758798587995880058801588025880358804588055880658807588085880958810588115881258813588145881558816588175881858819588205882158822588235882458825588265882758828588295883058831588325883358834588355883658837588385883958840588415884258843588445884558846588475884858849588505885158852588535885458855588565885758858588595886058861588625886358864588655886658867588685886958870588715887258873588745887558876588775887858879588805888158882588835888458885588865888758888588895889058891588925889358894588955889658897588985889958900589015890258903589045890558906589075890858909589105891158912589135891458915589165891758918589195892058921589225892358924589255892658927589285892958930589315893258933589345893558936589375893858939589405894158942589435894458945589465894758948589495895058951589525895358954589555895658957589585895958960589615896258963589645896558966589675896858969589705897158972589735897458975589765897758978589795898058981589825898358984589855898658987589885898958990589915899258993589945899558996589975899858999590005900159002590035900459005590065900759008590095901059011590125901359014590155901659017590185901959020590215902259023590245902559026590275902859029590305903159032590335903459035590365903759038590395904059041590425904359044590455904659047590485904959050590515905259053590545905559056590575905859059590605906159062590635906459065590665906759068590695907059071590725907359074590755907659077590785907959080590815908259083590845908559086590875908859089590905909159092590935909459095590965909759098590995910059101591025910359104591055910659107591085910959110591115911259113591145911559116591175911859119591205912159122591235912459125591265912759128591295913059131591325913359134591355913659137591385913959140591415914259143591445914559146591475914859149591505915159152591535915459155591565915759158591595916059161591625916359164591655916659167591685916959170591715917259173591745917559176591775917859179591805918159182591835918459185591865918759188591895919059191591925919359194591955919659197591985919959200592015920259203592045920559206592075920859209592105921159212592135921459215592165921759218592195922059221592225922359224592255922659227592285922959230592315923259233592345923559236592375923859239592405924159242592435924459245592465924759248592495925059251592525925359254592555925659257592585925959260592615926259263592645926559266592675926859269592705927159272592735927459275592765927759278592795928059281592825928359284592855928659287592885928959290592915929259293592945929559296592975929859299593005930159302593035930459305593065930759308593095931059311593125931359314593155931659317593185931959320593215932259323593245932559326593275932859329593305933159332593335933459335593365933759338593395934059341593425934359344593455934659347593485934959350593515935259353593545935559356593575935859359593605936159362593635936459365593665936759368593695937059371593725937359374593755937659377593785937959380593815938259383593845938559386593875938859389593905939159392593935939459395593965939759398593995940059401594025940359404594055940659407594085940959410594115941259413594145941559416594175941859419594205942159422594235942459425594265942759428594295943059431594325943359434594355943659437594385943959440594415944259443594445944559446594475944859449594505945159452594535945459455594565945759458594595946059461594625946359464594655946659467594685946959470594715947259473594745947559476594775947859479594805948159482594835948459485594865948759488594895949059491594925949359494594955949659497594985949959500595015950259503595045950559506595075950859509595105951159512595135951459515595165951759518595195952059521595225952359524595255952659527595285952959530595315953259533595345953559536595375953859539595405954159542595435954459545595465954759548595495955059551595525955359554595555955659557595585955959560595615956259563595645956559566595675956859569595705957159572595735957459575595765957759578595795958059581595825958359584595855958659587595885958959590595915959259593595945959559596595975959859599596005960159602596035960459605596065960759608596095961059611596125961359614596155961659617596185961959620596215962259623596245962559626596275962859629596305963159632596335963459635596365963759638596395964059641596425964359644596455964659647596485964959650596515965259653596545965559656596575965859659596605966159662596635966459665596665966759668596695967059671596725967359674596755967659677596785967959680596815968259683596845968559686596875968859689596905969159692596935969459695596965969759698596995970059701597025970359704597055970659707597085970959710597115971259713597145971559716597175971859719597205972159722597235972459725597265972759728597295973059731597325973359734597355973659737597385973959740597415974259743597445974559746597475974859749597505975159752597535975459755597565975759758597595976059761597625976359764597655976659767597685976959770597715977259773597745977559776597775977859779597805978159782597835978459785597865978759788597895979059791597925979359794597955979659797597985979959800598015980259803598045980559806598075980859809598105981159812598135981459815598165981759818598195982059821598225982359824598255982659827598285982959830598315983259833598345983559836598375983859839598405984159842598435984459845598465984759848598495985059851598525985359854598555985659857598585985959860598615986259863598645986559866598675986859869598705987159872598735987459875598765987759878598795988059881598825988359884598855988659887598885988959890598915989259893598945989559896598975989859899599005990159902599035990459905599065990759908599095991059911599125991359914599155991659917599185991959920599215992259923599245992559926599275992859929599305993159932599335993459935599365993759938599395994059941599425994359944599455994659947599485994959950599515995259953599545995559956599575995859959599605996159962599635996459965599665996759968599695997059971599725997359974599755997659977599785997959980599815998259983599845998559986599875998859989599905999159992599935999459995599965999759998599996000060001600026000360004600056000660007600086000960010600116001260013600146001560016600176001860019600206002160022600236002460025600266002760028600296003060031600326003360034600356003660037600386003960040600416004260043600446004560046600476004860049600506005160052600536005460055600566005760058600596006060061600626006360064600656006660067600686006960070600716007260073600746007560076600776007860079600806008160082600836008460085600866008760088600896009060091600926009360094600956009660097600986009960100601016010260103601046010560106601076010860109601106011160112601136011460115601166011760118601196012060121601226012360124601256012660127601286012960130601316013260133601346013560136601376013860139601406014160142601436014460145601466014760148601496015060151601526015360154601556015660157601586015960160601616016260163601646016560166601676016860169601706017160172601736017460175601766017760178601796018060181601826018360184601856018660187601886018960190601916019260193601946019560196601976019860199602006020160202602036020460205602066020760208602096021060211602126021360214602156021660217602186021960220602216022260223602246022560226602276022860229602306023160232602336023460235602366023760238602396024060241602426024360244602456024660247602486024960250602516025260253602546025560256602576025860259602606026160262602636026460265602666026760268602696027060271602726027360274602756027660277602786027960280602816028260283602846028560286602876028860289602906029160292602936029460295602966029760298602996030060301603026030360304603056030660307603086030960310603116031260313603146031560316603176031860319603206032160322603236032460325603266032760328603296033060331603326033360334603356033660337603386033960340603416034260343603446034560346603476034860349603506035160352603536035460355603566035760358603596036060361603626036360364603656036660367603686036960370603716037260373603746037560376603776037860379603806038160382603836038460385603866038760388603896039060391603926039360394603956039660397603986039960400604016040260403604046040560406604076040860409604106041160412604136041460415604166041760418604196042060421604226042360424604256042660427604286042960430604316043260433604346043560436604376043860439604406044160442604436044460445604466044760448604496045060451604526045360454604556045660457604586045960460604616046260463604646046560466604676046860469604706047160472604736047460475604766047760478604796048060481604826048360484604856048660487604886048960490604916049260493604946049560496604976049860499605006050160502605036050460505605066050760508605096051060511605126051360514605156051660517605186051960520605216052260523605246052560526605276052860529605306053160532605336053460535605366053760538605396054060541605426054360544605456054660547605486054960550605516055260553605546055560556605576055860559605606056160562605636056460565605666056760568605696057060571605726057360574605756057660577605786057960580605816058260583605846058560586605876058860589605906059160592605936059460595605966059760598605996060060601606026060360604606056060660607606086060960610606116061260613606146061560616606176061860619606206062160622606236062460625606266062760628606296063060631606326063360634606356063660637606386063960640606416064260643606446064560646606476064860649606506065160652606536065460655606566065760658606596066060661606626066360664606656066660667606686066960670606716067260673606746067560676606776067860679606806068160682606836068460685606866068760688606896069060691606926069360694606956069660697606986069960700607016070260703607046070560706607076070860709607106071160712607136071460715607166071760718607196072060721607226072360724607256072660727607286072960730607316073260733607346073560736607376073860739607406074160742607436074460745607466074760748607496075060751607526075360754607556075660757607586075960760607616076260763607646076560766607676076860769607706077160772607736077460775607766077760778607796078060781607826078360784607856078660787607886078960790607916079260793607946079560796607976079860799608006080160802608036080460805608066080760808608096081060811608126081360814608156081660817608186081960820608216082260823608246082560826608276082860829608306083160832608336083460835608366083760838608396084060841608426084360844608456084660847608486084960850608516085260853608546085560856608576085860859608606086160862608636086460865608666086760868608696087060871608726087360874608756087660877608786087960880608816088260883608846088560886608876088860889608906089160892608936089460895608966089760898608996090060901609026090360904609056090660907609086090960910609116091260913609146091560916609176091860919609206092160922609236092460925609266092760928609296093060931609326093360934609356093660937609386093960940609416094260943609446094560946609476094860949609506095160952609536095460955609566095760958609596096060961609626096360964609656096660967609686096960970609716097260973609746097560976609776097860979609806098160982609836098460985609866098760988609896099060991609926099360994609956099660997609986099961000610016100261003610046100561006610076100861009610106101161012610136101461015610166101761018610196102061021610226102361024610256102661027610286102961030610316103261033610346103561036610376103861039610406104161042610436104461045610466104761048610496105061051610526105361054610556105661057610586105961060610616106261063610646106561066610676106861069610706107161072610736107461075610766107761078610796108061081610826108361084610856108661087610886108961090610916109261093610946109561096610976109861099611006110161102611036110461105611066110761108611096111061111611126111361114611156111661117611186111961120611216112261123611246112561126611276112861129611306113161132611336113461135611366113761138611396114061141611426114361144611456114661147611486114961150611516115261153611546115561156611576115861159611606116161162611636116461165611666116761168611696117061171611726117361174611756117661177611786117961180611816118261183611846118561186611876118861189611906119161192611936119461195611966119761198611996120061201612026120361204612056120661207612086120961210612116121261213612146121561216612176121861219612206122161222612236122461225612266122761228612296123061231612326123361234612356123661237612386123961240612416124261243612446124561246612476124861249612506125161252612536125461255612566125761258612596126061261612626126361264612656126661267612686126961270612716127261273612746127561276612776127861279612806128161282612836128461285612866128761288612896129061291612926129361294612956129661297612986129961300613016130261303613046130561306613076130861309613106131161312613136131461315613166131761318613196132061321613226132361324613256132661327613286132961330613316133261333613346133561336613376133861339613406134161342613436134461345613466134761348613496135061351613526135361354613556135661357613586135961360613616136261363613646136561366613676136861369613706137161372613736137461375613766137761378613796138061381613826138361384613856138661387613886138961390613916139261393613946139561396613976139861399614006140161402614036140461405614066140761408614096141061411614126141361414614156141661417614186141961420614216142261423614246142561426614276142861429614306143161432614336143461435614366143761438614396144061441614426144361444614456144661447614486144961450614516145261453614546145561456614576145861459614606146161462614636146461465614666146761468614696147061471614726147361474614756147661477614786147961480614816148261483614846148561486614876148861489614906149161492614936149461495614966149761498614996150061501615026150361504615056150661507615086150961510615116151261513615146151561516615176151861519615206152161522615236152461525615266152761528615296153061531615326153361534615356153661537615386153961540615416154261543615446154561546615476154861549615506155161552615536155461555615566155761558615596156061561615626156361564615656156661567615686156961570615716157261573615746157561576615776157861579615806158161582615836158461585615866158761588615896159061591615926159361594615956159661597615986159961600616016160261603616046160561606616076160861609616106161161612616136161461615616166161761618616196162061621616226162361624616256162661627616286162961630616316163261633616346163561636616376163861639616406164161642616436164461645616466164761648616496165061651616526165361654616556165661657616586165961660616616166261663616646166561666616676166861669616706167161672616736167461675616766167761678616796168061681616826168361684616856168661687616886168961690616916169261693616946169561696616976169861699617006170161702617036170461705617066170761708617096171061711617126171361714617156171661717617186171961720617216172261723617246172561726617276172861729617306173161732617336173461735617366173761738617396174061741617426174361744617456174661747617486174961750617516175261753617546175561756617576175861759617606176161762617636176461765617666176761768617696177061771617726177361774617756177661777617786177961780617816178261783617846178561786617876178861789617906179161792617936179461795617966179761798617996180061801618026180361804618056180661807618086180961810618116181261813618146181561816618176181861819618206182161822618236182461825618266182761828618296183061831618326183361834618356183661837618386183961840618416184261843618446184561846618476184861849618506185161852618536185461855618566185761858618596186061861618626186361864618656186661867618686186961870618716187261873618746187561876618776187861879618806188161882618836188461885618866188761888618896189061891618926189361894618956189661897618986189961900619016190261903619046190561906619076190861909619106191161912619136191461915619166191761918619196192061921619226192361924619256192661927619286192961930619316193261933619346193561936619376193861939619406194161942619436194461945619466194761948619496195061951619526195361954619556195661957619586195961960619616196261963619646196561966619676196861969619706197161972619736197461975619766197761978619796198061981619826198361984619856198661987619886198961990619916199261993619946199561996619976199861999620006200162002620036200462005620066200762008620096201062011620126201362014620156201662017620186201962020620216202262023620246202562026620276202862029620306203162032620336203462035620366203762038620396204062041620426204362044620456204662047620486204962050620516205262053620546205562056620576205862059620606206162062620636206462065620666206762068620696207062071620726207362074620756207662077620786207962080620816208262083620846208562086620876208862089620906209162092620936209462095620966209762098620996210062101621026210362104621056210662107621086210962110621116211262113621146211562116621176211862119621206212162122621236212462125621266212762128621296213062131621326213362134621356213662137621386213962140621416214262143621446214562146621476214862149621506215162152621536215462155621566215762158621596216062161621626216362164621656216662167621686216962170621716217262173621746217562176621776217862179621806218162182621836218462185621866218762188621896219062191621926219362194621956219662197621986219962200622016220262203622046220562206622076220862209622106221162212622136221462215622166221762218622196222062221622226222362224622256222662227622286222962230622316223262233622346223562236622376223862239622406224162242622436224462245622466224762248622496225062251622526225362254622556225662257622586225962260622616226262263622646226562266622676226862269622706227162272622736227462275622766227762278622796228062281622826228362284622856228662287622886228962290622916229262293622946229562296622976229862299623006230162302623036230462305623066230762308623096231062311623126231362314623156231662317623186231962320623216232262323623246232562326623276232862329623306233162332623336233462335623366233762338623396234062341623426234362344623456234662347623486234962350623516235262353623546235562356623576235862359623606236162362623636236462365623666236762368623696237062371623726237362374623756237662377623786237962380623816238262383623846238562386623876238862389623906239162392623936239462395623966239762398623996240062401624026240362404624056240662407624086240962410624116241262413624146241562416624176241862419624206242162422624236242462425624266242762428624296243062431624326243362434624356243662437624386243962440624416244262443624446244562446624476244862449624506245162452624536245462455624566245762458624596246062461624626246362464624656246662467624686246962470624716247262473624746247562476624776247862479624806248162482624836248462485624866248762488624896249062491624926249362494624956249662497624986249962500625016250262503625046250562506625076250862509625106251162512625136251462515625166251762518625196252062521625226252362524625256252662527625286252962530625316253262533625346253562536625376253862539625406254162542625436254462545625466254762548625496255062551625526255362554625556255662557625586255962560625616256262563625646256562566625676256862569625706257162572625736257462575625766257762578625796258062581625826258362584625856258662587625886258962590625916259262593625946259562596625976259862599626006260162602626036260462605626066260762608626096261062611626126261362614626156261662617626186261962620626216262262623626246262562626626276262862629626306263162632626336263462635626366263762638626396264062641626426264362644626456264662647626486264962650626516265262653626546265562656626576265862659626606266162662626636266462665626666266762668626696267062671626726267362674626756267662677626786267962680626816268262683626846268562686626876268862689626906269162692626936269462695626966269762698626996270062701627026270362704627056270662707627086270962710627116271262713627146271562716627176271862719627206272162722627236272462725627266272762728627296273062731627326273362734627356273662737627386273962740627416274262743627446274562746627476274862749627506275162752627536275462755627566275762758627596276062761627626276362764627656276662767627686276962770627716277262773627746277562776627776277862779627806278162782627836278462785627866278762788627896279062791627926279362794627956279662797627986279962800628016280262803628046280562806628076280862809628106281162812628136281462815628166281762818628196282062821628226282362824628256282662827628286282962830628316283262833628346283562836628376283862839628406284162842628436284462845628466284762848628496285062851628526285362854628556285662857628586285962860628616286262863628646286562866628676286862869628706287162872628736287462875628766287762878628796288062881628826288362884628856288662887628886288962890628916289262893628946289562896628976289862899629006290162902629036290462905629066290762908629096291062911629126291362914629156291662917629186291962920629216292262923629246292562926629276292862929629306293162932629336293462935629366293762938629396294062941629426294362944629456294662947629486294962950629516295262953629546295562956629576295862959629606296162962629636296462965629666296762968629696297062971629726297362974629756297662977629786297962980629816298262983629846298562986629876298862989629906299162992629936299462995629966299762998629996300063001630026300363004630056300663007630086300963010630116301263013630146301563016630176301863019630206302163022630236302463025630266302763028630296303063031630326303363034630356303663037630386303963040630416304263043630446304563046630476304863049630506305163052630536305463055630566305763058630596306063061630626306363064630656306663067630686306963070630716307263073630746307563076630776307863079630806308163082630836308463085630866308763088630896309063091630926309363094630956309663097630986309963100631016310263103631046310563106631076310863109631106311163112631136311463115631166311763118631196312063121631226312363124631256312663127631286312963130631316313263133631346313563136631376313863139631406314163142631436314463145631466314763148631496315063151631526315363154631556315663157631586315963160631616316263163631646316563166631676316863169631706317163172631736317463175631766317763178631796318063181631826318363184631856318663187631886318963190631916319263193631946319563196631976319863199632006320163202632036320463205632066320763208632096321063211632126321363214632156321663217632186321963220632216322263223632246322563226632276322863229632306323163232632336323463235632366323763238632396324063241632426324363244632456324663247632486324963250632516325263253632546325563256632576325863259632606326163262632636326463265632666326763268632696327063271632726327363274632756327663277632786327963280632816328263283632846328563286632876328863289632906329163292632936329463295632966329763298632996330063301633026330363304633056330663307633086330963310633116331263313633146331563316633176331863319633206332163322633236332463325633266332763328633296333063331633326333363334633356333663337633386333963340633416334263343633446334563346633476334863349633506335163352633536335463355633566335763358633596336063361633626336363364633656336663367633686336963370633716337263373633746337563376633776337863379633806338163382633836338463385633866338763388633896339063391633926339363394633956339663397633986339963400634016340263403634046340563406634076340863409634106341163412634136341463415634166341763418634196342063421634226342363424634256342663427634286342963430634316343263433634346343563436634376343863439634406344163442634436344463445634466344763448634496345063451634526345363454634556345663457634586345963460634616346263463634646346563466634676346863469634706347163472634736347463475634766347763478634796348063481634826348363484634856348663487634886348963490634916349263493634946349563496634976349863499635006350163502635036350463505635066350763508635096351063511635126351363514635156351663517635186351963520635216352263523635246352563526635276352863529635306353163532635336353463535635366353763538635396354063541635426354363544635456354663547635486354963550635516355263553635546355563556635576355863559635606356163562635636356463565635666356763568635696357063571635726357363574635756357663577635786357963580635816358263583635846358563586635876358863589635906359163592635936359463595635966359763598635996360063601636026360363604636056360663607636086360963610636116361263613636146361563616636176361863619636206362163622636236362463625636266362763628636296363063631636326363363634636356363663637636386363963640636416364263643636446364563646636476364863649636506365163652636536365463655636566365763658636596366063661636626366363664636656366663667636686366963670636716367263673636746367563676636776367863679636806368163682636836368463685636866368763688636896369063691636926369363694636956369663697636986369963700637016370263703637046370563706637076370863709637106371163712637136371463715637166371763718637196372063721637226372363724637256372663727637286372963730637316373263733637346373563736637376373863739637406374163742637436374463745637466374763748637496375063751637526375363754637556375663757637586375963760637616376263763637646376563766637676376863769637706377163772637736377463775637766377763778637796378063781637826378363784637856378663787637886378963790637916379263793637946379563796637976379863799638006380163802638036380463805638066380763808638096381063811638126381363814638156381663817638186381963820638216382263823638246382563826638276382863829638306383163832638336383463835638366383763838638396384063841638426384363844638456384663847638486384963850638516385263853638546385563856638576385863859638606386163862638636386463865638666386763868638696387063871638726387363874638756387663877638786387963880638816388263883638846388563886638876388863889638906389163892638936389463895638966389763898638996390063901639026390363904639056390663907639086390963910639116391263913639146391563916639176391863919639206392163922639236392463925639266392763928639296393063931639326393363934639356393663937639386393963940639416394263943639446394563946639476394863949639506395163952639536395463955639566395763958639596396063961639626396363964639656396663967639686396963970639716397263973639746397563976639776397863979639806398163982639836398463985639866398763988639896399063991639926399363994639956399663997639986399964000640016400264003640046400564006640076400864009640106401164012640136401464015640166401764018640196402064021640226402364024640256402664027640286402964030640316403264033640346403564036640376403864039640406404164042640436404464045640466404764048640496405064051640526405364054640556405664057640586405964060640616406264063640646406564066640676406864069640706407164072640736407464075640766407764078640796408064081640826408364084640856408664087640886408964090640916409264093640946409564096640976409864099641006410164102641036410464105641066410764108641096411064111641126411364114641156411664117641186411964120641216412264123641246412564126641276412864129641306413164132641336413464135641366413764138641396414064141641426414364144641456414664147641486414964150641516415264153641546415564156641576415864159641606416164162641636416464165641666416764168641696417064171641726417364174641756417664177641786417964180641816418264183641846418564186641876418864189641906419164192641936419464195641966419764198641996420064201642026420364204642056420664207642086420964210642116421264213642146421564216642176421864219642206422164222642236422464225642266422764228642296423064231642326423364234642356423664237642386423964240642416424264243642446424564246642476424864249642506425164252642536425464255642566425764258642596426064261642626426364264642656426664267642686426964270642716427264273642746427564276642776427864279642806428164282642836428464285642866428764288642896429064291642926429364294642956429664297642986429964300643016430264303643046430564306643076430864309643106431164312643136431464315643166431764318643196432064321643226432364324643256432664327643286432964330643316433264333643346433564336643376433864339643406434164342643436434464345643466434764348643496435064351643526435364354643556435664357643586435964360643616436264363643646436564366643676436864369643706437164372643736437464375643766437764378643796438064381643826438364384643856438664387643886438964390643916439264393643946439564396643976439864399644006440164402644036440464405644066440764408644096441064411644126441364414644156441664417644186441964420644216442264423644246442564426644276442864429644306443164432644336443464435644366443764438644396444064441644426444364444644456444664447644486444964450644516445264453644546445564456644576445864459644606446164462644636446464465644666446764468644696447064471644726447364474644756447664477644786447964480644816448264483644846448564486644876448864489644906449164492644936449464495644966449764498644996450064501645026450364504645056450664507645086450964510645116451264513645146451564516645176451864519645206452164522645236452464525645266452764528645296453064531645326453364534645356453664537645386453964540645416454264543645446454564546645476454864549645506455164552645536455464555645566455764558645596456064561645626456364564645656456664567645686456964570645716457264573645746457564576645776457864579645806458164582645836458464585645866458764588645896459064591645926459364594645956459664597645986459964600646016460264603646046460564606646076460864609646106461164612646136461464615646166461764618646196462064621646226462364624646256462664627646286462964630646316463264633646346463564636646376463864639646406464164642646436464464645646466464764648646496465064651646526465364654646556465664657646586465964660646616466264663646646466564666646676466864669646706467164672646736467464675646766467764678646796468064681646826468364684646856468664687646886468964690646916469264693646946469564696646976469864699647006470164702647036470464705647066470764708647096471064711647126471364714647156471664717647186471964720647216472264723647246472564726647276472864729647306473164732647336473464735647366473764738647396474064741647426474364744647456474664747647486474964750647516475264753647546475564756647576475864759647606476164762647636476464765647666476764768647696477064771647726477364774647756477664777647786477964780647816478264783647846478564786647876478864789647906479164792647936479464795647966479764798647996480064801648026480364804648056480664807648086480964810648116481264813648146481564816648176481864819648206482164822648236482464825648266482764828648296483064831648326483364834648356483664837648386483964840648416484264843648446484564846648476484864849648506485164852648536485464855648566485764858648596486064861648626486364864648656486664867648686486964870648716487264873648746487564876648776487864879648806488164882648836488464885648866488764888648896489064891648926489364894648956489664897648986489964900649016490264903649046490564906649076490864909649106491164912649136491464915649166491764918649196492064921649226492364924649256492664927649286492964930649316493264933649346493564936649376493864939649406494164942649436494464945649466494764948649496495064951649526495364954649556495664957649586495964960649616496264963649646496564966649676496864969649706497164972649736497464975649766497764978649796498064981649826498364984649856498664987649886498964990649916499264993649946499564996649976499864999650006500165002650036500465005650066500765008650096501065011650126501365014650156501665017650186501965020650216502265023650246502565026650276502865029650306503165032650336503465035650366503765038650396504065041650426504365044650456504665047650486504965050650516505265053650546505565056650576505865059650606506165062650636506465065650666506765068650696507065071650726507365074650756507665077650786507965080650816508265083650846508565086650876508865089650906509165092650936509465095650966509765098650996510065101651026510365104651056510665107651086510965110651116511265113651146511565116651176511865119651206512165122651236512465125651266512765128651296513065131651326513365134651356513665137651386513965140651416514265143651446514565146651476514865149651506515165152651536515465155651566515765158651596516065161651626516365164651656516665167651686516965170651716517265173651746517565176651776517865179651806518165182651836518465185651866518765188651896519065191651926519365194651956519665197651986519965200652016520265203652046520565206652076520865209652106521165212652136521465215652166521765218652196522065221652226522365224652256522665227652286522965230652316523265233652346523565236652376523865239652406524165242652436524465245652466524765248652496525065251652526525365254652556525665257652586525965260652616526265263652646526565266652676526865269652706527165272652736527465275652766527765278652796528065281652826528365284652856528665287652886528965290652916529265293652946529565296652976529865299653006530165302653036530465305653066530765308653096531065311653126531365314653156531665317653186531965320653216532265323653246532565326653276532865329653306533165332653336533465335653366533765338653396534065341653426534365344653456534665347653486534965350653516535265353653546535565356653576535865359653606536165362653636536465365653666536765368653696537065371653726537365374653756537665377653786537965380653816538265383653846538565386653876538865389653906539165392653936539465395653966539765398653996540065401654026540365404654056540665407654086540965410654116541265413654146541565416654176541865419654206542165422654236542465425654266542765428654296543065431654326543365434654356543665437654386543965440654416544265443654446544565446654476544865449654506545165452654536545465455654566545765458654596546065461654626546365464654656546665467654686546965470654716547265473654746547565476654776547865479654806548165482654836548465485654866548765488654896549065491654926549365494654956549665497654986549965500655016550265503655046550565506655076550865509655106551165512655136551465515655166551765518655196552065521655226552365524655256552665527655286552965530655316553265533655346553565536655376553865539655406554165542655436554465545655466554765548655496555065551655526555365554655556555665557655586555965560655616556265563655646556565566655676556865569655706557165572655736557465575655766557765578655796558065581655826558365584655856558665587655886558965590655916559265593655946559565596655976559865599656006560165602656036560465605656066560765608656096561065611656126561365614656156561665617656186561965620656216562265623656246562565626656276562865629656306563165632656336563465635656366563765638656396564065641656426564365644656456564665647656486564965650656516565265653656546565565656656576565865659656606566165662656636566465665656666566765668656696567065671656726567365674656756567665677656786567965680656816568265683656846568565686656876568865689656906569165692656936569465695656966569765698656996570065701657026570365704657056570665707657086570965710657116571265713657146571565716657176571865719657206572165722657236572465725657266572765728657296573065731657326573365734657356573665737657386573965740657416574265743657446574565746657476574865749657506575165752657536575465755657566575765758657596576065761657626576365764657656576665767657686576965770657716577265773657746577565776657776577865779657806578165782657836578465785657866578765788657896579065791657926579365794657956579665797657986579965800658016580265803658046580565806658076580865809658106581165812658136581465815658166581765818658196582065821658226582365824658256582665827658286582965830658316583265833658346583565836658376583865839658406584165842658436584465845658466584765848658496585065851658526585365854658556585665857658586585965860658616586265863658646586565866658676586865869658706587165872658736587465875658766587765878658796588065881658826588365884658856588665887658886588965890658916589265893658946589565896658976589865899659006590165902659036590465905659066590765908659096591065911659126591365914659156591665917659186591965920659216592265923659246592565926659276592865929659306593165932659336593465935659366593765938659396594065941659426594365944659456594665947659486594965950659516595265953659546595565956659576595865959659606596165962659636596465965659666596765968659696597065971659726597365974659756597665977659786597965980659816598265983659846598565986659876598865989659906599165992659936599465995659966599765998659996600066001660026600366004660056600666007660086600966010660116601266013660146601566016660176601866019660206602166022660236602466025660266602766028660296603066031660326603366034660356603666037660386603966040660416604266043660446604566046660476604866049660506605166052660536605466055660566605766058660596606066061660626606366064660656606666067660686606966070660716607266073660746607566076660776607866079660806608166082660836608466085660866608766088660896609066091660926609366094660956609666097660986609966100661016610266103661046610566106661076610866109661106611166112661136611466115661166611766118661196612066121661226612366124661256612666127661286612966130661316613266133661346613566136661376613866139661406614166142661436614466145661466614766148661496615066151661526615366154661556615666157661586615966160661616616266163661646616566166661676616866169661706617166172661736617466175661766617766178661796618066181661826618366184661856618666187661886618966190661916619266193661946619566196661976619866199662006620166202662036620466205662066620766208662096621066211662126621366214662156621666217662186621966220662216622266223662246622566226662276622866229662306623166232662336623466235662366623766238662396624066241662426624366244662456624666247662486624966250662516625266253662546625566256662576625866259662606626166262662636626466265662666626766268662696627066271662726627366274662756627666277662786627966280662816628266283662846628566286662876628866289662906629166292662936629466295662966629766298662996630066301663026630366304663056630666307663086630966310663116631266313663146631566316663176631866319663206632166322663236632466325663266632766328663296633066331663326633366334663356633666337663386633966340663416634266343663446634566346663476634866349663506635166352663536635466355663566635766358663596636066361663626636366364663656636666367663686636966370663716637266373663746637566376663776637866379663806638166382663836638466385663866638766388663896639066391663926639366394663956639666397663986639966400664016640266403664046640566406664076640866409664106641166412664136641466415664166641766418664196642066421664226642366424664256642666427664286642966430664316643266433664346643566436664376643866439664406644166442664436644466445664466644766448664496645066451664526645366454664556645666457664586645966460664616646266463664646646566466664676646866469664706647166472664736647466475664766647766478664796648066481664826648366484664856648666487664886648966490664916649266493664946649566496664976649866499665006650166502665036650466505665066650766508665096651066511665126651366514665156651666517665186651966520665216652266523665246652566526665276652866529665306653166532665336653466535665366653766538665396654066541665426654366544665456654666547665486654966550665516655266553665546655566556665576655866559665606656166562665636656466565665666656766568665696657066571665726657366574665756657666577665786657966580665816658266583665846658566586665876658866589665906659166592665936659466595665966659766598665996660066601666026660366604666056660666607666086660966610666116661266613666146661566616666176661866619666206662166622666236662466625666266662766628666296663066631666326663366634666356663666637666386663966640666416664266643666446664566646666476664866649666506665166652666536665466655666566665766658666596666066661666626666366664666656666666667666686666966670666716667266673666746667566676666776667866679666806668166682666836668466685666866668766688666896669066691666926669366694666956669666697666986669966700667016670266703667046670566706667076670866709667106671166712667136671466715667166671766718667196672066721667226672366724667256672666727667286672966730667316673266733667346673566736667376673866739667406674166742667436674466745667466674766748667496675066751667526675366754667556675666757667586675966760667616676266763667646676566766667676676866769667706677166772667736677466775667766677766778667796678066781667826678366784667856678666787667886678966790667916679266793667946679566796667976679866799668006680166802668036680466805668066680766808668096681066811668126681366814668156681666817668186681966820668216682266823668246682566826668276682866829668306683166832668336683466835668366683766838668396684066841668426684366844668456684666847668486684966850668516685266853668546685566856668576685866859668606686166862668636686466865668666686766868668696687066871668726687366874668756687666877668786687966880668816688266883668846688566886668876688866889668906689166892668936689466895668966689766898668996690066901669026690366904669056690666907669086690966910669116691266913669146691566916669176691866919669206692166922669236692466925669266692766928669296693066931669326693366934669356693666937669386693966940669416694266943669446694566946669476694866949669506695166952669536695466955669566695766958669596696066961669626696366964669656696666967669686696966970669716697266973669746697566976669776697866979669806698166982669836698466985669866698766988669896699066991669926699366994669956699666997669986699967000670016700267003670046700567006670076700867009670106701167012670136701467015670166701767018670196702067021670226702367024670256702667027670286702967030670316703267033670346703567036670376703867039670406704167042670436704467045670466704767048670496705067051670526705367054670556705667057
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) 2021 the authors of Guix (msgids) and the following authors (msgstr)
  3. # This file is distributed under the same license as the guix manual package.
  4. # Marek Felšöci <marek@felsoci.sk>, 2021.
  5. # Rostislav Svoboda <Rostislav.Svoboda@gmail.com>, 2021.
  6. msgid ""
  7. msgstr ""
  8. "Project-Id-Version: guix manual checkout\n"
  9. "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
  10. "POT-Creation-Date: 2021-12-21 15:18+0000\n"
  11. "PO-Revision-Date: 2021-12-13 01:16+0000\n"
  12. "Last-Translator: Marek Felšöci <marek@felsoci.sk>\n"
  13. "Language-Team: Slovak <https://translate.fedoraproject.org/projects/guix/documentation-manual/sk/>\n"
  14. "Language: sk\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
  19. "X-Generator: Weblate 4.9.1\n"
  20. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  21. #. type: chapter
  22. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  23. #. type: menuentry
  24. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  25. #: guix-git/doc/guix.texi:182
  26. #, no-wrap
  27. msgid "Contributing"
  28. msgstr "Zapojiť sa"
  29. #. type: Plain text
  30. #: guix-git/doc/contributing.texi:9
  31. 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 Libera Chat 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})."
  32. 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 Libera Chat. 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})."
  33. #. type: cindex
  34. #: guix-git/doc/contributing.texi:10
  35. #, no-wrap
  36. msgid "code of conduct, of contributors"
  37. msgstr "zásady správania, prispievateľov"
  38. #. type: cindex
  39. #: guix-git/doc/contributing.texi:11
  40. #, no-wrap
  41. msgid "contributor covenant"
  42. msgstr "záväzok prispievateľa"
  43. #. type: Plain text
  44. #: guix-git/doc/contributing.texi:17
  45. 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."
  46. 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."
  47. #. type: Plain text
  48. #: guix-git/doc/contributing.texi:21
  49. 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."
  50. 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."
  51. #. type: section
  52. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:35
  53. #: guix-git/doc/contributing.texi:36
  54. #, no-wrap
  55. msgid "Building from Git"
  56. msgstr "Zostavenie z Gitu"
  57. #. type: menuentry
  58. #: guix-git/doc/contributing.texi:33
  59. msgid "The latest and greatest."
  60. msgstr "Vždy ten najnovší."
  61. #. type: section
  62. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:161
  63. #: guix-git/doc/contributing.texi:162
  64. #, no-wrap
  65. msgid "Running Guix Before It Is Installed"
  66. msgstr "Spúšťanie Guixu ešte pred inštaláciou"
  67. #. type: menuentry
  68. #: guix-git/doc/contributing.texi:33
  69. msgid "Hacker tricks."
  70. msgstr "Finty pre hackerov."
  71. #. type: section
  72. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:235
  73. #: guix-git/doc/contributing.texi:236
  74. #, no-wrap
  75. msgid "The Perfect Setup"
  76. msgstr "Dokonalé nastavenie"
  77. #. type: menuentry
  78. #: guix-git/doc/contributing.texi:33
  79. msgid "The right tools."
  80. msgstr "Správne nástroje."
  81. #. type: section
  82. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:326
  83. #: guix-git/doc/contributing.texi:327
  84. #, no-wrap
  85. msgid "Packaging Guidelines"
  86. msgstr "Zásady pridávania balíkov"
  87. #. type: menuentry
  88. #: guix-git/doc/contributing.texi:33
  89. msgid "Growing the distribution."
  90. msgstr "Rast distribúcie."
  91. #. type: section
  92. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:890
  93. #: guix-git/doc/contributing.texi:891
  94. #, no-wrap
  95. msgid "Coding Style"
  96. msgstr "Štýl kódovania"
  97. #. type: menuentry
  98. #: guix-git/doc/contributing.texi:33
  99. msgid "Hygiene of the contributor."
  100. msgstr "Návyky prispievateľa."
  101. #. type: section
  102. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:989
  103. #: guix-git/doc/contributing.texi:990
  104. #, no-wrap
  105. msgid "Submitting Patches"
  106. msgstr "Odovzdávanie záplat"
  107. #. type: menuentry
  108. #: guix-git/doc/contributing.texi:33
  109. msgid "Share your work."
  110. msgstr "Zdieľajte vašu prácu."
  111. #. type: section
  112. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1270
  113. #: guix-git/doc/contributing.texi:1271
  114. #, no-wrap
  115. msgid "Tracking Bugs and Patches"
  116. msgstr "Sledovanie chýb a záplat"
  117. #. type: menuentry
  118. #: guix-git/doc/contributing.texi:33
  119. msgid "Keeping it all organized."
  120. msgstr "Organizácia správy chýb."
  121. #. type: section
  122. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1385
  123. #: guix-git/doc/contributing.texi:1386
  124. #, no-wrap
  125. msgid "Commit Access"
  126. msgstr "Právo na úpravu"
  127. #. type: menuentry
  128. #: guix-git/doc/contributing.texi:33
  129. msgid "Pushing to the official repository."
  130. msgstr "Odosielanie úprav do oficiálneho repozitára."
  131. #. type: section
  132. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1611
  133. #: guix-git/doc/contributing.texi:1612
  134. #, no-wrap
  135. msgid "Updating the Guix Package"
  136. msgstr "Aktualizácia balíka Guix"
  137. #. type: menuentry
  138. #: guix-git/doc/contributing.texi:33
  139. msgid "Updating the Guix package definition."
  140. msgstr "Aktualizovať zadanie balíka Guix."
  141. #. type: section
  142. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1652
  143. #: guix-git/doc/contributing.texi:1653
  144. #, no-wrap
  145. msgid "Translating Guix"
  146. msgstr "Preklad Guixu"
  147. #. type: menuentry
  148. #: guix-git/doc/contributing.texi:33
  149. msgid "Make Guix speak your native language."
  150. msgstr "Guix vo vašom materinskom jazyku."
  151. #. type: Plain text
  152. #: guix-git/doc/contributing.texi:40
  153. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  154. msgstr "Ak chcete pracovať na Guixe samotnom, odporúčame vám použiť najnovšiu verziu z Git repozitára:"
  155. #. type: example
  156. #: guix-git/doc/contributing.texi:43
  157. #, no-wrap
  158. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  159. msgstr "git clone https://git.savannah.gnu.org/git/guix.git\n"
  160. #. type: cindex
  161. #: guix-git/doc/contributing.texi:45
  162. #, no-wrap
  163. msgid "authentication, of a Guix checkout"
  164. msgstr "overenie, miestneho Git repozitára Guixu"
  165. #. type: Plain text
  166. #: guix-git/doc/contributing.texi:50
  167. 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}):"
  168. 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}):"
  169. #. type: example
  170. #: guix-git/doc/contributing.texi:57
  171. #, no-wrap
  172. msgid ""
  173. "git fetch origin keyring:keyring\n"
  174. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  175. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  176. msgstr ""
  177. "git fetch origin keyring:keyring\n"
  178. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  179. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  180. #. type: Plain text
  181. #: guix-git/doc/contributing.texi:62
  182. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  183. 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."
  184. #. type: Plain text
  185. #: guix-git/doc/contributing.texi:69
  186. 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."
  187. 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."
  188. #. type: Plain text
  189. #: guix-git/doc/contributing.texi:74
  190. 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:"
  191. 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:"
  192. #. type: example
  193. #: guix-git/doc/contributing.texi:77
  194. #, fuzzy, no-wrap
  195. #| msgid "guix environment guix --pure\n"
  196. msgid "guix shell -D guix --pure\n"
  197. msgstr "guix environment guix --pure\n"
  198. #. type: Plain text
  199. #: guix-git/doc/contributing.texi:80
  200. #, fuzzy
  201. #| msgid "@xref{Invoking guix environment}, for more information on that command."
  202. msgid "@xref{Invoking guix shell}, for more information on that command."
  203. msgstr "@xref{Invoking guix environment}, pre viac podrobností o tomto príkaze."
  204. #. type: Plain text
  205. #: guix-git/doc/contributing.texi:84
  206. 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})."
  207. 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."
  208. #. type: item
  209. #: guix-git/doc/contributing.texi:86
  210. #, no-wrap
  211. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  212. msgstr "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  213. #. type: item
  214. #: guix-git/doc/contributing.texi:87
  215. #, no-wrap
  216. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  217. msgstr "@url{https://gnu.org/software/automake/, GNU Automake};"
  218. #. type: item
  219. #: guix-git/doc/contributing.texi:88
  220. #, no-wrap
  221. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  222. msgstr "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  223. #. type: item
  224. #: guix-git/doc/contributing.texi:89
  225. #, no-wrap
  226. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  227. msgstr "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  228. #. type: item
  229. #: guix-git/doc/contributing.texi:90
  230. #, no-wrap
  231. msgid "@url{https://www.graphviz.org/, Graphviz};"
  232. msgstr "@url{https://www.graphviz.org/, Graphviz};"
  233. #. type: item
  234. #: guix-git/doc/contributing.texi:91
  235. #, no-wrap
  236. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  237. msgstr "@url{https://www.gnu.org/software/help2man/, GNU Help2man (nepovinné)}."
  238. #. type: Plain text
  239. #: guix-git/doc/contributing.texi:96
  240. #, fuzzy
  241. #| msgid "On Guix, extra dependencies can be added by instead running @command{guix environment} with @option{--ad-hoc}:"
  242. msgid "On Guix, extra dependencies can be added by instead running @command{guix shell}:"
  243. msgstr "S Guixom môžete pridať dodatočné závislosti pomocou príkazu @command{guix environment} s prepínačom @option{--ad-hoc}:"
  244. #. type: example
  245. #: guix-git/doc/contributing.texi:99
  246. #, fuzzy, no-wrap
  247. #| msgid "guix environment guix --pure --ad-hoc help2man git strace\n"
  248. msgid "guix shell -D guix help2man git strace --pure\n"
  249. msgstr "guix environment guix --pure --ad-hoc help2man git strace\n"
  250. #. type: Plain text
  251. #: guix-git/doc/contributing.texi:103
  252. msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  253. msgstr "Spustite @command{./bootstrap} pre vytvorenie kostry zostavovacieho systému pomocou nástrojov Autoconf a Automake. V prípade chyby ako je táto:"
  254. #. type: example
  255. #: guix-git/doc/contributing.texi:106
  256. #, no-wrap
  257. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  258. msgstr "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  259. #. type: Plain text
  260. #: guix-git/doc/contributing.texi:115
  261. 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:"
  262. msgstr ""
  263. #. type: example
  264. #: guix-git/doc/contributing.texi:118
  265. #, no-wrap
  266. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  267. msgstr ""
  268. #. type: Plain text
  269. #: guix-git/doc/contributing.texi:122
  270. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  271. msgstr ""
  272. #. type: Plain text
  273. #: guix-git/doc/contributing.texi:129
  274. msgid "Then, run @command{./configure --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}."
  275. msgstr ""
  276. #. type: Plain text
  277. #: guix-git/doc/contributing.texi:134
  278. 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}."
  279. msgstr ""
  280. #. type: Plain text
  281. #: guix-git/doc/contributing.texi:137
  282. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  283. msgstr ""
  284. #. type: example
  285. #: guix-git/doc/contributing.texi:140
  286. #, no-wrap
  287. msgid "make authenticate\n"
  288. msgstr ""
  289. #. type: Plain text
  290. #: guix-git/doc/contributing.texi:143
  291. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  292. msgstr ""
  293. #. type: Plain text
  294. #: guix-git/doc/contributing.texi:149
  295. 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:"
  296. msgstr ""
  297. #. type: example
  298. #: guix-git/doc/contributing.texi:152
  299. #, no-wrap
  300. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  301. msgstr ""
  302. #. type: quotation
  303. #: guix-git/doc/contributing.texi:154 guix-git/doc/contributing.texi:1463
  304. #: guix-git/doc/guix.texi:594 guix-git/doc/guix.texi:643
  305. #: guix-git/doc/guix.texi:833 guix-git/doc/guix.texi:1813
  306. #: guix-git/doc/guix.texi:2060 guix-git/doc/guix.texi:2244
  307. #: guix-git/doc/guix.texi:2465 guix-git/doc/guix.texi:2677
  308. #: guix-git/doc/guix.texi:3807 guix-git/doc/guix.texi:4548
  309. #: guix-git/doc/guix.texi:4562 guix-git/doc/guix.texi:4644
  310. #: guix-git/doc/guix.texi:4874 guix-git/doc/guix.texi:5615
  311. #: guix-git/doc/guix.texi:6082 guix-git/doc/guix.texi:6333
  312. #: guix-git/doc/guix.texi:6454 guix-git/doc/guix.texi:6482
  313. #: guix-git/doc/guix.texi:6535 guix-git/doc/guix.texi:9391
  314. #: guix-git/doc/guix.texi:9461 guix-git/doc/guix.texi:11198
  315. #: guix-git/doc/guix.texi:11238 guix-git/doc/guix.texi:11512
  316. #: guix-git/doc/guix.texi:11524 guix-git/doc/guix.texi:14000
  317. #: guix-git/doc/guix.texi:14631 guix-git/doc/guix.texi:15521
  318. #: guix-git/doc/guix.texi:16507 guix-git/doc/guix.texi:19140
  319. #: guix-git/doc/guix.texi:19310 guix-git/doc/guix.texi:27188
  320. #: guix-git/doc/guix.texi:30914 guix-git/doc/guix.texi:34669
  321. #: guix-git/doc/guix.texi:34903 guix-git/doc/guix.texi:35073
  322. #: guix-git/doc/guix.texi:35232 guix-git/doc/guix.texi:35334
  323. #: guix-git/doc/guix.texi:35435 guix-git/doc/guix.texi:35738
  324. #: guix-git/doc/guix.texi:36896 guix-git/doc/guix.texi:36971
  325. #: guix-git/doc/guix.texi:37006 guix-git/doc/guix.texi:37056
  326. #: guix-git/doc/guix.texi:37143 guix-git/doc/guix.texi:37564
  327. #, no-wrap
  328. msgid "Note"
  329. msgstr ""
  330. #. type: quotation
  331. #: guix-git/doc/contributing.texi:158
  332. 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."
  333. msgstr ""
  334. #. type: Plain text
  335. #: guix-git/doc/contributing.texi:168
  336. 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."
  337. msgstr ""
  338. #. type: Plain text
  339. #: guix-git/doc/contributing.texi:179
  340. 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):"
  341. msgstr ""
  342. #. type: example
  343. #: guix-git/doc/contributing.texi:182
  344. #, no-wrap
  345. msgid "$ ./pre-inst-env guix build hello\n"
  346. msgstr ""
  347. #. type: Plain text
  348. #: guix-git/doc/contributing.texi:186
  349. msgid "Similarly, an example for a Guile session using the Guix modules:"
  350. msgstr ""
  351. #. type: example
  352. #: guix-git/doc/contributing.texi:189
  353. #, no-wrap
  354. msgid ""
  355. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  356. "\n"
  357. msgstr ""
  358. #. type: example
  359. #: guix-git/doc/contributing.texi:191
  360. #, no-wrap
  361. msgid ";;; (\"x86_64-linux\")\n"
  362. msgstr ""
  363. #. type: cindex
  364. #: guix-git/doc/contributing.texi:194
  365. #, no-wrap
  366. msgid "REPL"
  367. msgstr ""
  368. #. type: cindex
  369. #: guix-git/doc/contributing.texi:195
  370. #, no-wrap
  371. msgid "read-eval-print loop"
  372. msgstr ""
  373. #. type: Plain text
  374. #: guix-git/doc/contributing.texi:198
  375. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  376. msgstr ""
  377. #. type: example
  378. #: guix-git/doc/contributing.texi:213
  379. #, no-wrap
  380. msgid ""
  381. "$ ./pre-inst-env guile\n"
  382. "scheme@@(guile-user)> ,use(guix)\n"
  383. "scheme@@(guile-user)> ,use(gnu)\n"
  384. "scheme@@(guile-user)> (define snakes\n"
  385. " (fold-packages\n"
  386. " (lambda (package lst)\n"
  387. " (if (string-prefix? \"python\"\n"
  388. " (package-name package))\n"
  389. " (cons package lst)\n"
  390. " lst))\n"
  391. " '()))\n"
  392. "scheme@@(guile-user)> (length snakes)\n"
  393. "$1 = 361\n"
  394. msgstr ""
  395. #. type: Plain text
  396. #: guix-git/doc/contributing.texi:221
  397. 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.}:"
  398. msgstr ""
  399. #. type: example
  400. #: guix-git/doc/contributing.texi:224
  401. #, no-wrap
  402. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  403. msgstr ""
  404. #. type: Plain text
  405. #: guix-git/doc/contributing.texi:228
  406. 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}."
  407. msgstr ""
  408. #. type: Plain text
  409. #: guix-git/doc/contributing.texi:233
  410. 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."
  411. msgstr ""
  412. #. type: Plain text
  413. #: guix-git/doc/contributing.texi:243
  414. 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:"
  415. msgstr ""
  416. #. type: example
  417. #: guix-git/doc/contributing.texi:246
  418. #, no-wrap
  419. msgid "guix package -i emacs guile emacs-geiser emacs-geiser-guile\n"
  420. msgstr ""
  421. #. type: Plain text
  422. #: guix-git/doc/contributing.texi:255
  423. 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:"
  424. msgstr ""
  425. #. type: lisp
  426. #: guix-git/doc/contributing.texi:260
  427. #, no-wrap
  428. msgid ""
  429. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  430. "(with-eval-after-load 'geiser-guile\n"
  431. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  432. msgstr ""
  433. #. type: Plain text
  434. #: guix-git/doc/contributing.texi:268
  435. 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."
  436. msgstr ""
  437. #. type: cindex
  438. #: guix-git/doc/contributing.texi:269
  439. #, no-wrap
  440. msgid "code snippets"
  441. msgstr ""
  442. #. type: cindex
  443. #: guix-git/doc/contributing.texi:270
  444. #, no-wrap
  445. msgid "templates"
  446. msgstr ""
  447. #. type: cindex
  448. #: guix-git/doc/contributing.texi:271
  449. #, no-wrap
  450. msgid "reducing boilerplate"
  451. msgstr ""
  452. #. type: Plain text
  453. #: guix-git/doc/contributing.texi:278
  454. 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."
  455. msgstr ""
  456. #. type: lisp
  457. #: guix-git/doc/contributing.texi:283
  458. #, no-wrap
  459. msgid ""
  460. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  461. "(with-eval-after-load 'yasnippet\n"
  462. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  463. msgstr ""
  464. #. type: Plain text
  465. #: guix-git/doc/contributing.texi:291
  466. 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."
  467. msgstr ""
  468. #. type: Plain text
  469. #: guix-git/doc/contributing.texi:297
  470. 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."
  471. msgstr ""
  472. #. type: cindex
  473. #: guix-git/doc/contributing.texi:298
  474. #, no-wrap
  475. msgid "insert or update copyright"
  476. msgstr ""
  477. #. type: code{#1}
  478. #: guix-git/doc/contributing.texi:299
  479. #, no-wrap
  480. msgid "M-x guix-copyright"
  481. msgstr ""
  482. #. type: code{#1}
  483. #: guix-git/doc/contributing.texi:300
  484. #, no-wrap
  485. msgid "M-x copyright-update"
  486. msgstr ""
  487. #. type: Plain text
  488. #: guix-git/doc/contributing.texi:304
  489. 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."
  490. msgstr ""
  491. #. type: lisp
  492. #: guix-git/doc/contributing.texi:310
  493. #, no-wrap
  494. msgid ""
  495. "(setq user-full-name \"Alice Doe\")\n"
  496. "(setq user-mail-address \"alice@@mail.org\")\n"
  497. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  498. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  499. msgstr ""
  500. #. type: Plain text
  501. #: guix-git/doc/contributing.texi:313
  502. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  503. msgstr ""
  504. #. type: Plain text
  505. #: guix-git/doc/contributing.texi:315
  506. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  507. msgstr ""
  508. #. type: lisp
  509. #: guix-git/doc/contributing.texi:319
  510. #, no-wrap
  511. msgid ""
  512. "(setq copyright-names-regexp\n"
  513. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  514. msgstr ""
  515. #. type: Plain text
  516. #: guix-git/doc/contributing.texi:325
  517. 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."
  518. msgstr ""
  519. #. type: cindex
  520. #: guix-git/doc/contributing.texi:329
  521. #, no-wrap
  522. msgid "packages, creating"
  523. msgstr ""
  524. #. type: Plain text
  525. #: guix-git/doc/contributing.texi:333
  526. 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."
  527. msgstr ""
  528. #. type: Plain text
  529. #: guix-git/doc/contributing.texi:341
  530. 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."
  531. msgstr ""
  532. #. type: Plain text
  533. #: guix-git/doc/contributing.texi:350
  534. 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}."
  535. msgstr ""
  536. #. type: Plain text
  537. #: guix-git/doc/contributing.texi:356
  538. 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}):"
  539. msgstr ""
  540. #. type: example
  541. #: guix-git/doc/contributing.texi:359
  542. #, no-wrap
  543. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  544. msgstr ""
  545. #. type: Plain text
  546. #: guix-git/doc/contributing.texi:365
  547. 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."
  548. msgstr ""
  549. #. type: Plain text
  550. #: guix-git/doc/contributing.texi:370
  551. 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:"
  552. msgstr ""
  553. #. type: example
  554. #: guix-git/doc/contributing.texi:373
  555. #, no-wrap
  556. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  557. msgstr ""
  558. #. type: Plain text
  559. #: guix-git/doc/contributing.texi:380
  560. 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{https://@value{SUBSTITUTE-SERVER-1}, our continuous integration system}."
  561. msgstr ""
  562. #. type: cindex
  563. #: guix-git/doc/contributing.texi:381
  564. #, no-wrap
  565. msgid "substituter"
  566. msgstr ""
  567. #. type: Plain text
  568. #: guix-git/doc/contributing.texi:388
  569. msgid "Users can obtain the new package definition simply by running @command{guix pull} (@pxref{Invoking guix pull}). When @code{@value{SUBSTITUTE-SERVER-1}} 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."
  570. msgstr ""
  571. #. type: subsection
  572. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:404
  573. #: guix-git/doc/contributing.texi:405
  574. #, no-wrap
  575. msgid "Software Freedom"
  576. msgstr ""
  577. #. type: menuentry
  578. #: guix-git/doc/contributing.texi:402
  579. msgid "What may go into the distribution."
  580. msgstr ""
  581. #. type: subsection
  582. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:432
  583. #: guix-git/doc/contributing.texi:433
  584. #, no-wrap
  585. msgid "Package Naming"
  586. msgstr ""
  587. #. type: menuentry
  588. #: guix-git/doc/contributing.texi:402
  589. msgid "What's in a name?"
  590. msgstr ""
  591. #. type: subsection
  592. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:465
  593. #: guix-git/doc/contributing.texi:466
  594. #, no-wrap
  595. msgid "Version Numbers"
  596. msgstr ""
  597. #. type: menuentry
  598. #: guix-git/doc/contributing.texi:402
  599. msgid "When the name is not enough."
  600. msgstr ""
  601. #. type: subsection
  602. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:572
  603. #: guix-git/doc/contributing.texi:573
  604. #, no-wrap
  605. msgid "Synopses and Descriptions"
  606. msgstr ""
  607. #. type: menuentry
  608. #: guix-git/doc/contributing.texi:402
  609. msgid "Helping users find the right package."
  610. msgstr ""
  611. #. type: subsection
  612. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:651
  613. #: guix-git/doc/contributing.texi:652
  614. #, no-wrap
  615. msgid "Snippets versus Phases"
  616. msgstr ""
  617. #. type: menuentry
  618. #: guix-git/doc/contributing.texi:402
  619. msgid "Whether to use a snippet, or a build phase."
  620. msgstr ""
  621. #. type: subsection
  622. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:666
  623. #: guix-git/doc/contributing.texi:667 guix-git/doc/guix.texi:1995
  624. #, no-wrap
  625. msgid "Emacs Packages"
  626. msgstr ""
  627. #. type: menuentry
  628. #: guix-git/doc/contributing.texi:402
  629. msgid "Your Elisp fix."
  630. msgstr ""
  631. #. type: subsection
  632. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:706
  633. #: guix-git/doc/contributing.texi:707
  634. #, no-wrap
  635. msgid "Python Modules"
  636. msgstr ""
  637. #. type: menuentry
  638. #: guix-git/doc/contributing.texi:402
  639. msgid "A touch of British comedy."
  640. msgstr ""
  641. #. type: subsection
  642. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:782
  643. #: guix-git/doc/contributing.texi:783
  644. #, no-wrap
  645. msgid "Perl Modules"
  646. msgstr ""
  647. #. type: menuentry
  648. #: guix-git/doc/contributing.texi:402
  649. msgid "Little pearls."
  650. msgstr ""
  651. #. type: subsection
  652. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:798
  653. #: guix-git/doc/contributing.texi:799
  654. #, no-wrap
  655. msgid "Java Packages"
  656. msgstr ""
  657. #. type: menuentry
  658. #: guix-git/doc/contributing.texi:402
  659. msgid "Coffee break."
  660. msgstr ""
  661. #. type: subsection
  662. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:818
  663. #: guix-git/doc/contributing.texi:819
  664. #, no-wrap
  665. msgid "Rust Crates"
  666. msgstr ""
  667. #. type: menuentry
  668. #: guix-git/doc/contributing.texi:402
  669. msgid "Beware of oxidation."
  670. msgstr ""
  671. #. type: subsection
  672. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:852
  673. #: guix-git/doc/contributing.texi:853
  674. #, no-wrap
  675. msgid "Fonts"
  676. msgstr ""
  677. #. type: menuentry
  678. #: guix-git/doc/contributing.texi:402
  679. msgid "Fond of fonts."
  680. msgstr ""
  681. #. type: cindex
  682. #: guix-git/doc/contributing.texi:408
  683. #, no-wrap
  684. msgid "free software"
  685. msgstr ""
  686. #. type: Plain text
  687. #: guix-git/doc/contributing.texi:416
  688. 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."
  689. msgstr ""
  690. #. type: Plain text
  691. #: guix-git/doc/contributing.texi:422
  692. 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."
  693. msgstr ""
  694. #. type: Plain text
  695. #: guix-git/doc/contributing.texi:430
  696. 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."
  697. msgstr ""
  698. #. type: cindex
  699. #: guix-git/doc/contributing.texi:435
  700. #, no-wrap
  701. msgid "package name"
  702. msgstr ""
  703. #. type: Plain text
  704. #: guix-git/doc/contributing.texi:443
  705. 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}."
  706. msgstr ""
  707. #. type: Plain text
  708. #: guix-git/doc/contributing.texi:448
  709. 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}."
  710. msgstr ""
  711. #. type: Plain text
  712. #: guix-git/doc/contributing.texi:456
  713. 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."
  714. msgstr ""
  715. #. type: Plain text
  716. #: guix-git/doc/contributing.texi:461
  717. 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."
  718. msgstr ""
  719. #. type: Plain text
  720. #: guix-git/doc/contributing.texi:463
  721. msgid "Font package names are handled differently, @pxref{Fonts}."
  722. msgstr ""
  723. #. type: cindex
  724. #: guix-git/doc/contributing.texi:468
  725. #, no-wrap
  726. msgid "package version"
  727. msgstr ""
  728. #. type: Plain text
  729. #: guix-git/doc/contributing.texi:477
  730. 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."
  731. msgstr ""
  732. #. type: Plain text
  733. #: guix-git/doc/contributing.texi:480
  734. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  735. msgstr ""
  736. #. type: Plain text
  737. #: guix-git/doc/contributing.texi:482
  738. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  739. msgstr ""
  740. #. type: lisp
  741. #: guix-git/doc/contributing.texi:494
  742. #, no-wrap
  743. msgid ""
  744. "(define-public gtk+\n"
  745. " (package\n"
  746. " (name \"gtk+\")\n"
  747. " (version \"3.9.12\")\n"
  748. " ...))\n"
  749. "(define-public gtk+-2\n"
  750. " (package\n"
  751. " (name \"gtk+\")\n"
  752. " (version \"2.24.20\")\n"
  753. " ...))\n"
  754. msgstr ""
  755. #. type: Plain text
  756. #: guix-git/doc/contributing.texi:496
  757. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  758. msgstr ""
  759. #. type: lisp
  760. #: guix-git/doc/contributing.texi:502
  761. #, no-wrap
  762. msgid ""
  763. "(define-public gtk+-3.8\n"
  764. " (package\n"
  765. " (name \"gtk+\")\n"
  766. " (version \"3.8.2\")\n"
  767. " ...))\n"
  768. msgstr ""
  769. #. type: cindex
  770. #: guix-git/doc/contributing.texi:506
  771. #, no-wrap
  772. msgid "version number, for VCS snapshots"
  773. msgstr ""
  774. #. type: Plain text
  775. #: guix-git/doc/contributing.texi:512
  776. 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?"
  777. msgstr ""
  778. #. type: Plain text
  779. #: guix-git/doc/contributing.texi:520
  780. 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:"
  781. msgstr ""
  782. #. type: example
  783. #: guix-git/doc/contributing.texi:529
  784. #, no-wrap
  785. msgid ""
  786. "2.0.11-3.cabba9e\n"
  787. " ^ ^ ^\n"
  788. " | | `-- upstream commit ID\n"
  789. " | |\n"
  790. " | `--- Guix package revision\n"
  791. " |\n"
  792. "latest upstream version\n"
  793. msgstr ""
  794. #. type: Plain text
  795. #: guix-git/doc/contributing.texi:539
  796. 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). There are helper functions for doing this for packages using @code{git-fetch} or @code{hg-fetch} (see below). 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:"
  797. msgstr ""
  798. #. type: lisp
  799. #: guix-git/doc/contributing.texi:556
  800. #, no-wrap
  801. msgid ""
  802. "(define my-package\n"
  803. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  804. " (revision \"1\")) ;Guix package revision\n"
  805. " (package\n"
  806. " (version (git-version \"0.9\" revision commit))\n"
  807. " (source (origin\n"
  808. " (method git-fetch)\n"
  809. " (uri (git-reference\n"
  810. " (url \"git://example.org/my-package.git\")\n"
  811. " (commit commit)))\n"
  812. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  813. " (file-name (git-file-name name version))))\n"
  814. " ;; @dots{}\n"
  815. " )))\n"
  816. msgstr ""
  817. #. type: deffn
  818. #: guix-git/doc/contributing.texi:558
  819. #, no-wrap
  820. msgid "{Scheme Procedure} git-version @var{VERSION} @var{REVISION} @var{COMMIT}"
  821. msgstr ""
  822. #. type: deffn
  823. #: guix-git/doc/contributing.texi:560
  824. msgid "Return the version string for packages using @code{git-fetch}."
  825. msgstr ""
  826. #. type: lisp
  827. #: guix-git/doc/contributing.texi:564
  828. #, no-wrap
  829. msgid ""
  830. "(git-version \"0.2.3\" \"0\" \"93818c936ee7e2f1ba1b315578bde363a7d43d05\")\n"
  831. "@result{} \"0.2.3-0.93818c9\"\n"
  832. msgstr ""
  833. #. type: deffn
  834. #: guix-git/doc/contributing.texi:567
  835. #, no-wrap
  836. msgid "{Scheme Procedure} hg-version @var{VERSION} @var{REVISION} @var{CHANGESET}"
  837. msgstr ""
  838. #. type: deffn
  839. #: guix-git/doc/contributing.texi:570
  840. msgid "Return the version string for packages using @code{hg-fetch}. It works in the same way as @code{git-version}."
  841. msgstr ""
  842. #. type: cindex
  843. #: guix-git/doc/contributing.texi:575
  844. #, no-wrap
  845. msgid "package description"
  846. msgstr ""
  847. #. type: cindex
  848. #: guix-git/doc/contributing.texi:576
  849. #, no-wrap
  850. msgid "package synopsis"
  851. msgstr ""
  852. #. type: Plain text
  853. #: guix-git/doc/contributing.texi:583
  854. 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."
  855. msgstr ""
  856. #. type: Plain text
  857. #: guix-git/doc/contributing.texi:591
  858. 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''."
  859. msgstr ""
  860. #. type: Plain text
  861. #: guix-git/doc/contributing.texi:601
  862. 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."
  863. msgstr ""
  864. #. type: Plain text
  865. #: guix-git/doc/contributing.texi:609
  866. 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."
  867. msgstr ""
  868. #. type: cindex
  869. #: guix-git/doc/contributing.texi:610
  870. #, no-wrap
  871. msgid "Texinfo markup, in package descriptions"
  872. msgstr ""
  873. #. type: Plain text
  874. #: guix-git/doc/contributing.texi:619
  875. 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."
  876. msgstr ""
  877. #. type: Plain text
  878. #: guix-git/doc/contributing.texi:625
  879. 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."
  880. msgstr ""
  881. #. type: Plain text
  882. #: guix-git/doc/contributing.texi:630
  883. 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:"
  884. msgstr ""
  885. #. type: lisp
  886. #: guix-git/doc/contributing.texi:636
  887. #, no-wrap
  888. msgid ""
  889. "(package\n"
  890. " ;; @dots{}\n"
  891. " (synopsis \"This is translatable\")\n"
  892. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  893. msgstr ""
  894. #. type: Plain text
  895. #: guix-git/doc/contributing.texi:644
  896. 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}):"
  897. msgstr ""
  898. #. type: lisp
  899. #: guix-git/doc/contributing.texi:649
  900. #, no-wrap
  901. msgid ""
  902. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  903. "(description \"ARandR is designed to provide a simple visual front end\n"
  904. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  905. msgstr ""
  906. #. type: cindex
  907. #: guix-git/doc/contributing.texi:654
  908. #, no-wrap
  909. msgid "snippets, when to use"
  910. msgstr ""
  911. #. type: Plain text
  912. #: guix-git/doc/contributing.texi:665
  913. 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})."
  914. msgstr ""
  915. #. type: cindex
  916. #: guix-git/doc/contributing.texi:669
  917. #, no-wrap
  918. msgid "emacs, packaging"
  919. msgstr ""
  920. #. type: cindex
  921. #: guix-git/doc/contributing.texi:670
  922. #, no-wrap
  923. msgid "elisp, packaging"
  924. msgstr ""
  925. #. type: Plain text
  926. #: guix-git/doc/contributing.texi:682
  927. 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."
  928. msgstr ""
  929. #. type: Plain text
  930. #: guix-git/doc/contributing.texi:687
  931. 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}."
  932. msgstr ""
  933. #. type: Plain text
  934. #: guix-git/doc/contributing.texi:696
  935. 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:"
  936. msgstr ""
  937. #. type: lisp
  938. #: guix-git/doc/contributing.texi:699
  939. #, no-wrap
  940. msgid "#:include (cons \"^snippets/\" %default-include)\n"
  941. msgstr ""
  942. #. type: Plain text
  943. #: guix-git/doc/contributing.texi:705
  944. 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."
  945. msgstr ""
  946. #. type: cindex
  947. #: guix-git/doc/contributing.texi:709
  948. #, no-wrap
  949. msgid "python"
  950. msgstr ""
  951. #. type: Plain text
  952. #: guix-git/doc/contributing.texi:715
  953. 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}."
  954. msgstr ""
  955. #. type: Plain text
  956. #: guix-git/doc/contributing.texi:722
  957. 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."
  958. msgstr ""
  959. #. type: Plain text
  960. #: guix-git/doc/contributing.texi:728
  961. 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."
  962. msgstr ""
  963. #. type: subsubsection
  964. #: guix-git/doc/contributing.texi:729
  965. #, no-wrap
  966. msgid "Specifying Dependencies"
  967. msgstr ""
  968. #. type: cindex
  969. #: guix-git/doc/contributing.texi:730
  970. #, no-wrap
  971. msgid "inputs, for Python packages"
  972. msgstr ""
  973. #. type: Plain text
  974. #: guix-git/doc/contributing.texi:735
  975. 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}."
  976. msgstr ""
  977. #. type: Plain text
  978. #: guix-git/doc/contributing.texi:741
  979. 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."
  980. msgstr ""
  981. #. type: itemize
  982. #: guix-git/doc/contributing.texi:749
  983. 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."
  984. msgstr ""
  985. #. type: itemize
  986. #: guix-git/doc/contributing.texi:755
  987. 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."
  988. msgstr ""
  989. #. type: itemize
  990. #: guix-git/doc/contributing.texi:763
  991. 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."
  992. msgstr ""
  993. #. type: itemize
  994. #: guix-git/doc/contributing.texi:767
  995. 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}."
  996. msgstr ""
  997. #. type: itemize
  998. #: guix-git/doc/contributing.texi:772
  999. 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."
  1000. msgstr ""
  1001. #. type: itemize
  1002. #: guix-git/doc/contributing.texi:778
  1003. 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}})."
  1004. msgstr ""
  1005. #. type: cindex
  1006. #: guix-git/doc/contributing.texi:785
  1007. #, no-wrap
  1008. msgid "perl"
  1009. msgstr ""
  1010. #. type: Plain text
  1011. #: guix-git/doc/contributing.texi:796
  1012. 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}."
  1013. msgstr ""
  1014. #. type: cindex
  1015. #: guix-git/doc/contributing.texi:801
  1016. #, no-wrap
  1017. msgid "java"
  1018. msgstr ""
  1019. #. type: Plain text
  1020. #: guix-git/doc/contributing.texi:804
  1021. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1022. msgstr ""
  1023. #. type: Plain text
  1024. #: guix-git/doc/contributing.texi:810
  1025. 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}."
  1026. msgstr ""
  1027. #. type: Plain text
  1028. #: guix-git/doc/contributing.texi:816
  1029. 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}."
  1030. msgstr ""
  1031. #. type: cindex
  1032. #: guix-git/doc/contributing.texi:821
  1033. #, no-wrap
  1034. msgid "rust"
  1035. msgstr ""
  1036. #. type: Plain text
  1037. #: guix-git/doc/contributing.texi:824
  1038. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1039. msgstr ""
  1040. #. type: Plain text
  1041. #: guix-git/doc/contributing.texi:828
  1042. 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."
  1043. msgstr ""
  1044. #. type: Plain text
  1045. #: guix-git/doc/contributing.texi:834
  1046. 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}."
  1047. msgstr ""
  1048. #. type: Plain text
  1049. #: guix-git/doc/contributing.texi:844
  1050. 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."
  1051. msgstr ""
  1052. #. type: Plain text
  1053. #: guix-git/doc/contributing.texi:850
  1054. 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."
  1055. msgstr ""
  1056. #. type: cindex
  1057. #: guix-git/doc/contributing.texi:855 guix-git/doc/guix.texi:1930
  1058. #, no-wrap
  1059. msgid "fonts"
  1060. msgstr ""
  1061. #. type: Plain text
  1062. #: guix-git/doc/contributing.texi:861
  1063. 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."
  1064. msgstr ""
  1065. #. type: Plain text
  1066. #: guix-git/doc/contributing.texi:865
  1067. 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."
  1068. msgstr ""
  1069. #. type: Plain text
  1070. #: guix-git/doc/contributing.texi:873
  1071. 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}."
  1072. msgstr ""
  1073. #. type: Plain text
  1074. #: guix-git/doc/contributing.texi:882
  1075. 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}."
  1076. msgstr ""
  1077. #. type: Plain text
  1078. #: guix-git/doc/contributing.texi:888
  1079. 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."
  1080. msgstr ""
  1081. #. type: Plain text
  1082. #: guix-git/doc/contributing.texi:896
  1083. 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."
  1084. msgstr ""
  1085. #. type: subsection
  1086. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:904
  1087. #: guix-git/doc/contributing.texi:905
  1088. #, no-wrap
  1089. msgid "Programming Paradigm"
  1090. msgstr ""
  1091. #. type: menuentry
  1092. #: guix-git/doc/contributing.texi:902
  1093. msgid "How to compose your elements."
  1094. msgstr ""
  1095. #. type: subsection
  1096. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:911
  1097. #: guix-git/doc/contributing.texi:912
  1098. #, no-wrap
  1099. msgid "Modules"
  1100. msgstr ""
  1101. #. type: menuentry
  1102. #: guix-git/doc/contributing.texi:902
  1103. msgid "Where to store your code?"
  1104. msgstr ""
  1105. #. type: subsection
  1106. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:922
  1107. #: guix-git/doc/contributing.texi:923
  1108. #, no-wrap
  1109. msgid "Data Types and Pattern Matching"
  1110. msgstr ""
  1111. #. type: menuentry
  1112. #: guix-git/doc/contributing.texi:902
  1113. msgid "Implementing data structures."
  1114. msgstr ""
  1115. #. type: subsection
  1116. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:937
  1117. #: guix-git/doc/contributing.texi:938
  1118. #, no-wrap
  1119. msgid "Formatting Code"
  1120. msgstr ""
  1121. #. type: menuentry
  1122. #: guix-git/doc/contributing.texi:902
  1123. msgid "Writing conventions."
  1124. msgstr ""
  1125. #. type: Plain text
  1126. #: guix-git/doc/contributing.texi:910
  1127. 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."
  1128. msgstr ""
  1129. #. type: Plain text
  1130. #: guix-git/doc/contributing.texi:918
  1131. 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."
  1132. msgstr ""
  1133. #. type: Plain text
  1134. #: guix-git/doc/contributing.texi:921
  1135. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1136. msgstr ""
  1137. #. type: Plain text
  1138. #: guix-git/doc/contributing.texi:930
  1139. 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."
  1140. msgstr ""
  1141. #. type: Plain text
  1142. #: guix-git/doc/contributing.texi:936
  1143. 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})."
  1144. msgstr ""
  1145. #. type: cindex
  1146. #: guix-git/doc/contributing.texi:940
  1147. #, no-wrap
  1148. msgid "formatting code"
  1149. msgstr ""
  1150. #. type: cindex
  1151. #: guix-git/doc/contributing.texi:941
  1152. #, no-wrap
  1153. msgid "coding style"
  1154. msgstr ""
  1155. #. type: Plain text
  1156. #: guix-git/doc/contributing.texi:948
  1157. 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."
  1158. msgstr ""
  1159. #. type: Plain text
  1160. #: guix-git/doc/contributing.texi:955
  1161. 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})."
  1162. msgstr ""
  1163. #. type: cindex
  1164. #: guix-git/doc/contributing.texi:956
  1165. #, no-wrap
  1166. msgid "indentation, of code"
  1167. msgstr ""
  1168. #. type: cindex
  1169. #: guix-git/doc/contributing.texi:957
  1170. #, no-wrap
  1171. msgid "formatting, of code"
  1172. msgstr ""
  1173. #. type: Plain text
  1174. #: guix-git/doc/contributing.texi:960
  1175. 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:"
  1176. msgstr ""
  1177. #. type: example
  1178. #: guix-git/doc/contributing.texi:963
  1179. #, no-wrap
  1180. msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  1181. msgstr ""
  1182. #. type: Plain text
  1183. #: guix-git/doc/contributing.texi:969
  1184. 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:"
  1185. msgstr ""
  1186. #. type: example
  1187. #: guix-git/doc/contributing.texi:972
  1188. #, no-wrap
  1189. msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  1190. msgstr ""
  1191. #. type: cindex
  1192. #: guix-git/doc/contributing.texi:974
  1193. #, no-wrap
  1194. msgid "Vim, Scheme code editing"
  1195. msgstr ""
  1196. #. type: Plain text
  1197. #: guix-git/doc/contributing.texi:980
  1198. 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."
  1199. msgstr ""
  1200. #. type: Plain text
  1201. #: guix-git/doc/contributing.texi:984
  1202. 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."
  1203. msgstr ""
  1204. #. type: Plain text
  1205. #: guix-git/doc/contributing.texi:987
  1206. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1207. msgstr ""
  1208. #. type: Plain text
  1209. #: guix-git/doc/contributing.texi:1001
  1210. 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 (@pxref{submitting patches,, Submitting patches to a project, git, Git User Manual}). Contributors are encouraged to take a moment to set some Git repository options (@pxref{Configuring Git}) first, which can improve the readability of patches. Seasoned Guix developers may also want to look at the section on commit access (@pxref{Commit Access})."
  1211. msgstr ""
  1212. #. type: Plain text
  1213. #: guix-git/doc/contributing.texi:1008
  1214. 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})."
  1215. msgstr ""
  1216. #. type: Plain text
  1217. #: guix-git/doc/contributing.texi:1012
  1218. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1219. msgstr ""
  1220. #. type: Plain text
  1221. #: guix-git/doc/contributing.texi:1015
  1222. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1223. msgstr ""
  1224. #. type: code{#1}
  1225. #: guix-git/doc/contributing.texi:1017 guix-git/doc/contributing.texi:1223
  1226. #, no-wrap
  1227. msgid "git format-patch"
  1228. msgstr ""
  1229. #. type: code{#1}
  1230. #: guix-git/doc/contributing.texi:1018
  1231. #, no-wrap
  1232. msgid "git-format-patch"
  1233. msgstr ""
  1234. #. type: enumerate
  1235. #: guix-git/doc/contributing.texi:1025
  1236. msgid "When generating your patches with @code{git format-patch} or @code{git send-email}, we recommend using the option @code{--base=}, perhaps with the value @code{auto}. This option adds a note to the patch stating which commit the patch is based on. This helps reviewers understand how to apply and review your patches."
  1237. msgstr ""
  1238. #. type: enumerate
  1239. #: guix-git/doc/contributing.texi:1031
  1240. 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."
  1241. msgstr ""
  1242. #. type: enumerate
  1243. #: guix-git/doc/contributing.texi:1035
  1244. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1245. msgstr ""
  1246. #. type: enumerate
  1247. #: guix-git/doc/contributing.texi:1040
  1248. 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})."
  1249. msgstr ""
  1250. #. type: enumerate
  1251. #: guix-git/doc/contributing.texi:1044
  1252. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1253. msgstr ""
  1254. #. type: enumerate
  1255. #: guix-git/doc/contributing.texi:1052
  1256. 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 @code{virtualization} service module and the following service to the list of services in your @code{operating-system} configuration:"
  1257. msgstr ""
  1258. #. type: lisp
  1259. #: guix-git/doc/contributing.texi:1057
  1260. #, no-wrap
  1261. msgid ""
  1262. "(service qemu-binfmt-service-type\n"
  1263. " (qemu-binfmt-configuration\n"
  1264. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  1265. msgstr ""
  1266. #. type: enumerate
  1267. #: guix-git/doc/contributing.texi:1060
  1268. msgid "Then reconfigure your system."
  1269. msgstr ""
  1270. #. type: enumerate
  1271. #: guix-git/doc/contributing.texi:1065
  1272. 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 or aarch64 architectures, you would run the following commands, respectively:"
  1273. msgstr ""
  1274. #. type: example
  1275. #: guix-git/doc/contributing.texi:1068
  1276. #, no-wrap
  1277. msgid ""
  1278. "guix build --system=armhf-linux --rounds=2 hello\n"
  1279. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1280. msgstr ""
  1281. #. type: cindex
  1282. #: guix-git/doc/contributing.texi:1071
  1283. #, no-wrap
  1284. msgid "bundling"
  1285. msgstr ""
  1286. #. type: enumerate
  1287. #: guix-git/doc/contributing.texi:1074
  1288. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1289. msgstr ""
  1290. #. type: enumerate
  1291. #: guix-git/doc/contributing.texi:1083
  1292. 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."
  1293. msgstr ""
  1294. #. type: enumerate
  1295. #: guix-git/doc/contributing.texi:1092
  1296. 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."
  1297. msgstr ""
  1298. #. type: enumerate
  1299. #: guix-git/doc/contributing.texi:1097
  1300. msgid "For important changes, check that dependent packages (if applicable) are not affected by the change; @code{guix refresh --list-dependent @var{package}} will help you do that (@pxref{Invoking guix refresh})."
  1301. msgstr ""
  1302. #. type: cindex
  1303. #: guix-git/doc/contributing.texi:1099
  1304. #, no-wrap
  1305. msgid "branching strategy"
  1306. msgstr ""
  1307. #. type: cindex
  1308. #: guix-git/doc/contributing.texi:1100
  1309. #, no-wrap
  1310. msgid "rebuild scheduling strategy"
  1311. msgstr ""
  1312. #. type: enumerate
  1313. #: guix-git/doc/contributing.texi:1103
  1314. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1315. msgstr ""
  1316. #. type: item
  1317. #: guix-git/doc/contributing.texi:1105
  1318. #, no-wrap
  1319. msgid "300 dependent packages or less"
  1320. msgstr ""
  1321. #. type: table
  1322. #: guix-git/doc/contributing.texi:1107
  1323. msgid "@code{master} branch (non-disruptive changes)."
  1324. msgstr ""
  1325. #. type: item
  1326. #: guix-git/doc/contributing.texi:1108
  1327. #, no-wrap
  1328. msgid "between 300 and 1,800 dependent packages"
  1329. msgstr ""
  1330. #. type: table
  1331. #: guix-git/doc/contributing.texi:1114
  1332. 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}). This branch is not expected to be buildable or usable until late in its development process."
  1333. msgstr ""
  1334. #. type: item
  1335. #: guix-git/doc/contributing.texi:1115
  1336. #, no-wrap
  1337. msgid "more than 1,800 dependent packages"
  1338. msgstr ""
  1339. #. type: table
  1340. #: guix-git/doc/contributing.texi:1120
  1341. 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. This branch is not expected to be buildable or usable until late in its development process."
  1342. msgstr ""
  1343. #. type: enumerate
  1344. #: guix-git/doc/contributing.texi:1127
  1345. msgid "All these branches are @uref{https://@value{SUBSTITUTE-SERVER-1}, 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."
  1346. msgstr ""
  1347. #. type: enumerate
  1348. #: guix-git/doc/contributing.texi:1136
  1349. 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."
  1350. msgstr ""
  1351. #. type: cindex
  1352. #: guix-git/doc/contributing.texi:1138
  1353. #, no-wrap
  1354. msgid "determinism, of build processes"
  1355. msgstr ""
  1356. #. type: cindex
  1357. #: guix-git/doc/contributing.texi:1139
  1358. #, no-wrap
  1359. msgid "reproducible builds, checking"
  1360. msgstr ""
  1361. #. type: enumerate
  1362. #: guix-git/doc/contributing.texi:1143
  1363. 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."
  1364. msgstr ""
  1365. #. type: enumerate
  1366. #: guix-git/doc/contributing.texi:1146
  1367. 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}):"
  1368. msgstr ""
  1369. #. type: example
  1370. #: guix-git/doc/contributing.texi:1149
  1371. #, no-wrap
  1372. msgid "guix build --rounds=2 my-package\n"
  1373. msgstr ""
  1374. #. type: enumerate
  1375. #: guix-git/doc/contributing.texi:1153
  1376. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1377. msgstr ""
  1378. #. type: enumerate
  1379. #: guix-git/doc/contributing.texi:1163
  1380. 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-1}} 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."
  1381. msgstr ""
  1382. #. type: enumerate
  1383. #: guix-git/doc/contributing.texi:1169
  1384. 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."
  1385. msgstr ""
  1386. #. type: enumerate
  1387. #: guix-git/doc/contributing.texi:1173
  1388. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1389. msgstr ""
  1390. #. type: enumerate
  1391. #: guix-git/doc/contributing.texi:1176
  1392. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1393. msgstr ""
  1394. #. type: enumerate
  1395. #: guix-git/doc/contributing.texi:1181
  1396. 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})."
  1397. msgstr ""
  1398. #. type: enumerate
  1399. #: guix-git/doc/contributing.texi:1189
  1400. 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."
  1401. msgstr ""
  1402. #. type: enumerate
  1403. #: guix-git/doc/contributing.texi:1193
  1404. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1405. msgstr ""
  1406. #. type: enumerate
  1407. #: guix-git/doc/contributing.texi:1196
  1408. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1409. msgstr ""
  1410. #. type: example
  1411. #: guix-git/doc/contributing.texi:1198
  1412. #, no-wrap
  1413. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1414. msgstr ""
  1415. #. type: Plain text
  1416. #: guix-git/doc/contributing.texi:1211
  1417. 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."
  1418. msgstr ""
  1419. #. type: Plain text
  1420. #: guix-git/doc/contributing.texi:1216
  1421. msgid "Expect some delay when you submit your very first patch to @email{guix-patches@@gnu.org}. You have to wait until you get an acknowledgement with the assigned tracking number. Future acknowledgements should not be delayed."
  1422. msgstr ""
  1423. #. type: Plain text
  1424. #: guix-git/doc/contributing.texi:1219
  1425. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1426. msgstr ""
  1427. #. type: subsection
  1428. #: guix-git/doc/contributing.texi:1220 guix-git/doc/contributing.texi:1221
  1429. #, fuzzy, no-wrap
  1430. #| msgid "System Configuration"
  1431. msgid "Configuring Git"
  1432. msgstr "Nastavenie systému"
  1433. #. type: cindex
  1434. #: guix-git/doc/contributing.texi:1222
  1435. #, fuzzy, no-wrap
  1436. #| msgid "System Configuration"
  1437. msgid "git configuration"
  1438. msgstr "Nastavenie systému"
  1439. #. type: code{#1}
  1440. #: guix-git/doc/contributing.texi:1224 guix-git/doc/contributing.texi:1259
  1441. #, no-wrap
  1442. msgid "git send-email"
  1443. msgstr ""
  1444. #. type: Plain text
  1445. #: guix-git/doc/contributing.texi:1232
  1446. msgid "If you have not done so already, you may wish to set a name and email that will be associated with your commits (@pxref{telling git your name, , Telling Git your name, git, Git User Manual}). If you wish to use a different name or email just for commits in this repository, you can use @command{git config --local}, or edit @file{.git/config} in the repository instead of @file{~/.gitconfig}."
  1447. msgstr ""
  1448. #. type: Plain text
  1449. #: guix-git/doc/contributing.texi:1238
  1450. msgid "We provide some default settings in @file{etc/git/gitconfig} which modify how patches are generated, making them easier to read and apply. These settings can be applied by manually copying them to @file{.git/config} in your checkout, or by telling Git to include the whole file:"
  1451. msgstr ""
  1452. #. type: example
  1453. #: guix-git/doc/contributing.texi:1241
  1454. #, no-wrap
  1455. msgid "git config --local include.path ../etc/git/gitconfig\n"
  1456. msgstr ""
  1457. #. type: Plain text
  1458. #: guix-git/doc/contributing.texi:1245
  1459. msgid "From then on, any changes to @file{etc/git/gitconfig} would automatically take effect."
  1460. msgstr ""
  1461. #. type: Plain text
  1462. #: guix-git/doc/contributing.texi:1250
  1463. msgid "Since the first patch in a series must be sent separately (@pxref{Sending a Patch Series}), it can also be helpful to tell @command{git format-patch} to handle the e-mail threading instead of @command{git send-email}:"
  1464. msgstr ""
  1465. #. type: example
  1466. #: guix-git/doc/contributing.texi:1254
  1467. #, no-wrap
  1468. msgid ""
  1469. "git config --local format.thread shallow\n"
  1470. "git config --local sendemail.thread no\n"
  1471. msgstr ""
  1472. #. type: anchor{#1}
  1473. #: guix-git/doc/contributing.texi:1256 guix-git/doc/contributing.texi:1258
  1474. #, no-wrap
  1475. msgid "Sending a Patch Series"
  1476. msgstr ""
  1477. #. type: cindex
  1478. #: guix-git/doc/contributing.texi:1258
  1479. #, no-wrap
  1480. msgid "patch series"
  1481. msgstr ""
  1482. #. type: Plain text
  1483. #: guix-git/doc/contributing.texi:1269
  1484. 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}."
  1485. msgstr ""
  1486. #. type: Plain text
  1487. #: guix-git/doc/contributing.texi:1275
  1488. msgid "This section describes how the Guix project tracks its bug reports and patch submissions."
  1489. msgstr ""
  1490. #. type: subsection
  1491. #: guix-git/doc/contributing.texi:1280 guix-git/doc/contributing.texi:1282
  1492. #: guix-git/doc/contributing.texi:1283
  1493. #, no-wrap
  1494. msgid "The Issue Tracker"
  1495. msgstr ""
  1496. #. type: menuentry
  1497. #: guix-git/doc/contributing.texi:1280
  1498. msgid "The official bug and patch tracker."
  1499. msgstr ""
  1500. #. type: subsection
  1501. #: guix-git/doc/contributing.texi:1280 guix-git/doc/contributing.texi:1296
  1502. #: guix-git/doc/contributing.texi:1297
  1503. #, no-wrap
  1504. msgid "Debbugs User Interfaces"
  1505. msgstr ""
  1506. #. type: menuentry
  1507. #: guix-git/doc/contributing.texi:1280
  1508. msgid "Ways to interact with Debbugs."
  1509. msgstr ""
  1510. #. type: subsection
  1511. #: guix-git/doc/contributing.texi:1280 guix-git/doc/contributing.texi:1336
  1512. #: guix-git/doc/contributing.texi:1337
  1513. #, no-wrap
  1514. msgid "Debbugs Usertags"
  1515. msgstr ""
  1516. #. type: menuentry
  1517. #: guix-git/doc/contributing.texi:1280
  1518. msgid "Tag reports with custom labels."
  1519. msgstr ""
  1520. #. type: cindex
  1521. #: guix-git/doc/contributing.texi:1285
  1522. #, no-wrap
  1523. msgid "bug reports, tracking"
  1524. msgstr ""
  1525. #. type: cindex
  1526. #: guix-git/doc/contributing.texi:1286
  1527. #, no-wrap
  1528. msgid "patch submissions, tracking"
  1529. msgstr ""
  1530. #. type: cindex
  1531. #: guix-git/doc/contributing.texi:1287
  1532. #, no-wrap
  1533. msgid "issue tracking"
  1534. msgstr ""
  1535. #. type: cindex
  1536. #: guix-git/doc/contributing.texi:1288
  1537. #, no-wrap
  1538. msgid "Debbugs, issue tracking system"
  1539. msgstr ""
  1540. #. type: Plain text
  1541. #: guix-git/doc/contributing.texi:1295
  1542. 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})."
  1543. msgstr ""
  1544. #. type: Plain text
  1545. #: guix-git/doc/contributing.texi:1301
  1546. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1547. msgstr ""
  1548. #. type: itemize
  1549. #: guix-git/doc/contributing.texi:1310
  1550. 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;"
  1551. msgstr ""
  1552. #. type: itemize
  1553. #: guix-git/doc/contributing.texi:1312
  1554. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1555. msgstr ""
  1556. #. type: itemize
  1557. #: guix-git/doc/contributing.texi:1314
  1558. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1559. msgstr ""
  1560. #. type: Plain text
  1561. #: guix-git/doc/contributing.texi:1319
  1562. 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}}."
  1563. msgstr ""
  1564. #. type: Plain text
  1565. #: guix-git/doc/contributing.texi:1322
  1566. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1567. msgstr ""
  1568. #. type: example
  1569. #: guix-git/doc/contributing.texi:1325
  1570. #, no-wrap
  1571. msgid "guix install emacs-debbugs\n"
  1572. msgstr ""
  1573. #. type: Plain text
  1574. #: guix-git/doc/contributing.texi:1328
  1575. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1576. msgstr ""
  1577. #. type: example
  1578. #: guix-git/doc/contributing.texi:1331
  1579. #, no-wrap
  1580. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1581. msgstr ""
  1582. #. type: Plain text
  1583. #: guix-git/doc/contributing.texi:1335
  1584. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1585. msgstr ""
  1586. #. type: cindex
  1587. #: guix-git/doc/contributing.texi:1339
  1588. #, no-wrap
  1589. msgid "usertags, for debbugs"
  1590. msgstr ""
  1591. #. type: cindex
  1592. #: guix-git/doc/contributing.texi:1340
  1593. #, no-wrap
  1594. msgid "Debbugs usertags"
  1595. msgstr ""
  1596. #. type: Plain text
  1597. #: guix-git/doc/contributing.texi:1346
  1598. msgid "Debbugs provides a feature called @dfn{usertags} that allows any user to tag any bug with an arbitrary label. Bugs can be searched by usertag, so this is a handy way to organize bugs@footnote{The list of usertags is public information, and anyone can modify any user's list of usertags, so keep that in mind if you choose to use this feature.}."
  1599. msgstr ""
  1600. #. type: Plain text
  1601. #: guix-git/doc/contributing.texi:1352
  1602. msgid "For example, to view all the bug reports (or patches, in the case of @code{guix-patches}) tagged with the usertag @code{powerpc64le-linux} for the user @code{guix}, open a URL like the following in a web browser: @url{https://debbugs.gnu.org/cgi-bin/pkgreport.cgi?tag=powerpc64le-linux;users=guix}."
  1603. msgstr ""
  1604. #. type: Plain text
  1605. #: guix-git/doc/contributing.texi:1356
  1606. msgid "For more information on how to use usertags, please refer to the documentation for Debbugs or the documentation for whatever tool you use to interact with Debbugs."
  1607. msgstr ""
  1608. #. type: Plain text
  1609. #: guix-git/doc/contributing.texi:1361
  1610. msgid "In Guix, we are experimenting with usertags to keep track of architecture-specific issues. To facilitate collaboration, all our usertags are associated with the single user @code{guix}. The following usertags currently exist for that user:"
  1611. msgstr ""
  1612. #. type: item
  1613. #: guix-git/doc/contributing.texi:1364 guix-git/doc/guix.texi:556
  1614. #, no-wrap
  1615. msgid "powerpc64le-linux"
  1616. msgstr ""
  1617. #. type: table
  1618. #: guix-git/doc/contributing.texi:1372
  1619. msgid "The purpose of this usertag is to make it easy to find the issues that matter most for the @code{powerpc64le-linux} system type. Please assign this usertag to bugs or patches that affect @code{powerpc64le-linux} but not other system types. In addition, you may use it to identify issues that for some reason are particularly important for the @code{powerpc64le-linux} system type, even if the issue affects other system types, too."
  1620. msgstr ""
  1621. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1622. #. type: item
  1623. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1624. #. type: cindex
  1625. #: guix-git/doc/contributing.texi:1373 guix-git/doc/guix.texi:3070
  1626. #: guix-git/doc/guix.texi:4771
  1627. #, no-wrap
  1628. msgid "reproducibility"
  1629. msgstr ""
  1630. #. type: table
  1631. #: guix-git/doc/contributing.texi:1377
  1632. msgid "For issues related to reproducibility. For example, it would be appropriate to assign this usertag to a bug report for a package that fails to build reproducibly."
  1633. msgstr ""
  1634. #. type: Plain text
  1635. #: guix-git/doc/contributing.texi:1384
  1636. msgid "If you're a committer and you want to add a usertag, just start using it with the @code{guix} user. If the usertag proves useful to you, consider updating this section of the manual so that others will know what your usertag means."
  1637. msgstr ""
  1638. #. type: cindex
  1639. #: guix-git/doc/contributing.texi:1388
  1640. #, no-wrap
  1641. msgid "commit access, for developers"
  1642. msgstr ""
  1643. #. type: Plain text
  1644. #: guix-git/doc/contributing.texi:1394
  1645. msgid "Everyone can contribute to Guix without having commit access (@pxref{Submitting Patches}). However, for frequent contributors, having write access to the repository can be convenient. Commit access should not be thought of as a ``badge of honor'' but rather as a responsibility a contributor is willing to take to help the project."
  1646. msgstr ""
  1647. #. type: Plain text
  1648. #: guix-git/doc/contributing.texi:1398
  1649. msgid "The following sections explain how to get commit access, how to be ready to push commits, and the policies and community expectations for commits pushed upstream."
  1650. msgstr ""
  1651. #. type: subsection
  1652. #: guix-git/doc/contributing.texi:1399
  1653. #, fuzzy, no-wrap
  1654. #| msgid "Commit Access"
  1655. msgid "Applying for Commit Access"
  1656. msgstr "Právo na úpravu"
  1657. #. type: Plain text
  1658. #: guix-git/doc/contributing.texi:1403
  1659. msgid "When you deem it necessary, consider applying for commit access by following these steps:"
  1660. msgstr ""
  1661. #. type: enumerate
  1662. #: guix-git/doc/contributing.texi:1412
  1663. 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."
  1664. msgstr ""
  1665. #. type: enumerate
  1666. #: guix-git/doc/contributing.texi:1418
  1667. 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''."
  1668. msgstr ""
  1669. #. type: enumerate
  1670. #: guix-git/doc/contributing.texi:1425
  1671. 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."
  1672. msgstr ""
  1673. #. type: enumerate
  1674. #: guix-git/doc/contributing.texi:1431
  1675. 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}):"
  1676. msgstr ""
  1677. #. type: example
  1678. #: guix-git/doc/contributing.texi:1434
  1679. #, no-wrap
  1680. msgid "digest-algo sha512\n"
  1681. msgstr ""
  1682. #. type: enumerate
  1683. #: guix-git/doc/contributing.texi:1439
  1684. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1685. msgstr ""
  1686. #. type: cindex
  1687. #: guix-git/doc/contributing.texi:1441
  1688. #, no-wrap
  1689. msgid "OpenPGP, signed commits"
  1690. msgstr ""
  1691. #. type: enumerate
  1692. #: guix-git/doc/contributing.texi:1446
  1693. 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."
  1694. msgstr ""
  1695. #. type: quotation
  1696. #: guix-git/doc/contributing.texi:1447 guix-git/doc/guix.texi:17972
  1697. #, no-wrap
  1698. msgid "Important"
  1699. msgstr ""
  1700. #. type: quotation
  1701. #: guix-git/doc/contributing.texi:1449
  1702. msgid "Before you can push for the first time, maintainers must:"
  1703. msgstr ""
  1704. #. type: enumerate
  1705. #: guix-git/doc/contributing.texi:1453
  1706. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1707. msgstr ""
  1708. #. type: enumerate
  1709. #: guix-git/doc/contributing.texi:1456
  1710. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1711. msgstr ""
  1712. #. type: enumerate
  1713. #: guix-git/doc/contributing.texi:1461
  1714. msgid "Make sure to read the rest of this section and... profit!"
  1715. msgstr ""
  1716. #. type: quotation
  1717. #: guix-git/doc/contributing.texi:1467
  1718. 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!"
  1719. msgstr ""
  1720. #. type: quotation
  1721. #: guix-git/doc/contributing.texi:1471
  1722. 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!"
  1723. msgstr ""
  1724. #. type: Plain text
  1725. #: guix-git/doc/contributing.texi:1478
  1726. 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:"
  1727. msgstr ""
  1728. #. type: example
  1729. #: guix-git/doc/contributing.texi:1481
  1730. #, no-wrap
  1731. msgid ""
  1732. "git config commit.gpgsign true\n"
  1733. "\n"
  1734. msgstr ""
  1735. #. type: example
  1736. #: guix-git/doc/contributing.texi:1484
  1737. #, no-wrap
  1738. msgid ""
  1739. "# Substitute the fingerprint of your public PGP key.\n"
  1740. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1741. msgstr ""
  1742. #. type: Plain text
  1743. #: guix-git/doc/contributing.texi:1489
  1744. msgid "You can prevent yourself from accidentally pushing unsigned commits to Savannah by using the pre-push Git hook located at @file{etc/git/pre-push}:"
  1745. msgstr ""
  1746. #. type: example
  1747. #: guix-git/doc/contributing.texi:1492
  1748. #, no-wrap
  1749. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1750. msgstr ""
  1751. #. type: subsection
  1752. #: guix-git/doc/contributing.texi:1494
  1753. #, fuzzy, no-wrap
  1754. #| msgid "Commit Access"
  1755. msgid "Commit Policy"
  1756. msgstr "Právo na úpravu"
  1757. #. type: Plain text
  1758. #: guix-git/doc/contributing.texi:1499
  1759. 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})."
  1760. msgstr ""
  1761. #. type: Plain text
  1762. #: guix-git/doc/contributing.texi:1504
  1763. 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})."
  1764. msgstr ""
  1765. #. type: Plain text
  1766. #: guix-git/doc/contributing.texi:1513
  1767. 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}."
  1768. msgstr ""
  1769. #. type: Plain text
  1770. #: guix-git/doc/contributing.texi:1518
  1771. 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."
  1772. msgstr ""
  1773. #. type: Plain text
  1774. #: guix-git/doc/contributing.texi:1522
  1775. 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:"
  1776. msgstr ""
  1777. #. type: example
  1778. #: guix-git/doc/contributing.texi:1525
  1779. #, no-wrap
  1780. msgid "make check-channel-news\n"
  1781. msgstr ""
  1782. #. type: Plain text
  1783. #: guix-git/doc/contributing.texi:1531
  1784. 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."
  1785. msgstr ""
  1786. #. type: Plain text
  1787. #: guix-git/doc/contributing.texi:1534
  1788. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1789. msgstr ""
  1790. #. type: subsection
  1791. #: guix-git/doc/contributing.texi:1535
  1792. #, no-wrap
  1793. msgid "Addressing Issues"
  1794. msgstr ""
  1795. #. type: Plain text
  1796. #: guix-git/doc/contributing.texi:1546
  1797. msgid "Peer review (@pxref{Submitting Patches}) and tools such as @command{guix lint} (@pxref{Invoking guix lint}) and the test suite (@pxref{Running the Test Suite}) should catch issues before they are pushed. Yet, commits that ``break'' functionality might occasionally go through. When that happens, there are two priorities: mitigating the impact, and understanding what happened to reduce the chance of similar incidents in the future. The responsibility for both these things primarily lies with those involved, but like everything this is a group effort."
  1798. msgstr ""
  1799. #. type: Plain text
  1800. #: guix-git/doc/contributing.texi:1551
  1801. msgid "Some issues can directly affect all users---for instance because they make @command{guix pull} fail or break core functionality, because they break major packages (at build time or run time), or because they introduce known security vulnerabilities."
  1802. msgstr ""
  1803. #. type: cindex
  1804. #: guix-git/doc/contributing.texi:1552
  1805. #, no-wrap
  1806. msgid "reverting commits"
  1807. msgstr ""
  1808. #. type: Plain text
  1809. #: guix-git/doc/contributing.texi:1558
  1810. msgid "The people involved in authoring, reviewing, and pushing such commit(s) should be at the forefront to mitigate their impact in a timely fashion: by pushing a followup commit to fix it (if possible), or by reverting it to leave time to come up with a proper fix, and by communicating with other developers about the problem."
  1811. msgstr ""
  1812. #. type: Plain text
  1813. #: guix-git/doc/contributing.texi:1564
  1814. msgid "If these persons are unavailable to address the issue in time, other committers are entitled to revert the commit(s), explaining in the commit log and on the mailing list what the problem was, with the goal of leaving time to the original committer, reviewer(s), and author(s) to propose a way forward."
  1815. msgstr ""
  1816. #. type: Plain text
  1817. #: guix-git/doc/contributing.texi:1573
  1818. msgid "Once the problem has been dealt with, it is the responsibility of those involved to make sure the situation is understood. If you are working to understand what happened, focus on gathering information and avoid assigning any blame. Do ask those involved to describe what happened, do not ask them to explain the situation---this would implicitly blame them, which is unhelpful. Accountability comes from a consensus about the problem, learning from it and improving processes so that it's less likely to reoccur."
  1819. msgstr ""
  1820. #. type: subsection
  1821. #: guix-git/doc/contributing.texi:1574
  1822. #, no-wrap
  1823. msgid "Commit Revocation"
  1824. msgstr ""
  1825. #. type: Plain text
  1826. #: guix-git/doc/contributing.texi:1581
  1827. 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."
  1828. msgstr ""
  1829. #. type: Plain text
  1830. #: guix-git/doc/contributing.texi:1591
  1831. msgid "Maintainers@footnote{See @uref{https://guix.gnu.org/en/about} for the current list of maintainers. You can email them privately at @email{guix-maintainers@@gnu.org}.} may also revoke an individual's commit rights, as a last resort, if cooperation with the rest of the community has caused too much friction---even within the bounds of the project's code of conduct (@pxref{Contributing}). They would only do so after public or private discussion with the individual and a clear notice. Examples of behavior that hinders cooperation and could lead to such a decision include:"
  1832. msgstr ""
  1833. #. type: item
  1834. #: guix-git/doc/contributing.texi:1593
  1835. #, no-wrap
  1836. msgid "repeated violation of the commit policy stated above;"
  1837. msgstr ""
  1838. #. type: item
  1839. #: guix-git/doc/contributing.texi:1594
  1840. #, no-wrap
  1841. msgid "repeated failure to take peer criticism into account;"
  1842. msgstr ""
  1843. #. type: item
  1844. #: guix-git/doc/contributing.texi:1595
  1845. #, no-wrap
  1846. msgid "breaching trust through a series of grave incidents."
  1847. msgstr ""
  1848. #. type: Plain text
  1849. #: guix-git/doc/contributing.texi:1602
  1850. msgid "When maintainers resort to such a decision, they notify developers on @email{guix-devel@@gnu.org}; inquiries may be sent to @email{guix-maintainers@@gnu.org}. Depending on the situation, the individual may still be welcome to contribute."
  1851. msgstr ""
  1852. #. type: subsection
  1853. #: guix-git/doc/contributing.texi:1603
  1854. #, no-wrap
  1855. msgid "Helping Out"
  1856. msgstr ""
  1857. #. type: Plain text
  1858. #: guix-git/doc/contributing.texi:1610
  1859. 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!"
  1860. msgstr ""
  1861. #. type: cindex
  1862. #: guix-git/doc/contributing.texi:1614
  1863. #, no-wrap
  1864. msgid "update-guix-package, updating the guix package"
  1865. msgstr ""
  1866. #. type: Plain text
  1867. #: guix-git/doc/contributing.texi:1620
  1868. 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:"
  1869. msgstr ""
  1870. #. type: example
  1871. #: guix-git/doc/contributing.texi:1623
  1872. #, no-wrap
  1873. msgid "make update-guix-package\n"
  1874. msgstr ""
  1875. #. type: Plain text
  1876. #: guix-git/doc/contributing.texi:1630
  1877. 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."
  1878. msgstr ""
  1879. #. type: Plain text
  1880. #: guix-git/doc/contributing.texi:1634
  1881. 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:"
  1882. msgstr ""
  1883. #. type: example
  1884. #: guix-git/doc/contributing.texi:1637
  1885. #, no-wrap
  1886. msgid "./pre-inst-env guix build guix\n"
  1887. msgstr ""
  1888. #. type: Plain text
  1889. #: guix-git/doc/contributing.texi:1642
  1890. 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."
  1891. msgstr ""
  1892. #. type: Plain text
  1893. #: guix-git/doc/contributing.texi:1647
  1894. 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."
  1895. msgstr ""
  1896. #. type: cindex
  1897. #: guix-git/doc/contributing.texi:1648
  1898. #, no-wrap
  1899. msgid "translation"
  1900. msgstr ""
  1901. #. type: cindex
  1902. #: guix-git/doc/contributing.texi:1649
  1903. #, no-wrap
  1904. msgid "l10n"
  1905. msgstr ""
  1906. #. type: cindex
  1907. #: guix-git/doc/contributing.texi:1650
  1908. #, no-wrap
  1909. msgid "i18n"
  1910. msgstr ""
  1911. #. type: cindex
  1912. #: guix-git/doc/contributing.texi:1651
  1913. #, no-wrap
  1914. msgid "native language support"
  1915. msgstr ""
  1916. #. type: Plain text
  1917. #: guix-git/doc/contributing.texi:1661
  1918. msgid "Writing code and packages is not the only way to provide a meaningful contribution to Guix. Translating to a language you speak is another example of a valuable contribution you can make. This section is designed to describe the translation process. It gives you advice on how you can get involved, what can be translated, what mistakes you should avoid and what we can do to help you!"
  1919. msgstr ""
  1920. #. type: Plain text
  1921. #: guix-git/doc/contributing.texi:1667
  1922. msgid "Guix is a big project that has multiple components that can be translated. We coordinate the translation effort on a @uref{https://translate.fedoraproject.org/projects/guix/,Weblate instance} hosted by our friends at Fedora. You will need an account to submit translations."
  1923. msgstr ""
  1924. #. type: Plain text
  1925. #: guix-git/doc/contributing.texi:1674
  1926. msgid "Some of the software packaged in Guix also contain translations. We do not host a translation platform for them. If you want to translate a package provided by Guix, you should contact their developers or find the information on their website. As an example, you can find the homepage of the @code{hello} package by typing @code{guix show hello}. On the ``homepage'' line, you will see @url{https://www.gnu.org/software/hello/} as the homepage."
  1927. msgstr ""
  1928. #. type: Plain text
  1929. #: guix-git/doc/contributing.texi:1679
  1930. msgid "Many GNU and non-GNU packages can be translated on the @uref{https://translationproject.org,Translation Project}. Some projects with multiple components have their own platform. For instance, GNOME has its own platform, @uref{https://l10n.gnome.org/,Damned Lies}."
  1931. msgstr ""
  1932. #. type: Plain text
  1933. #: guix-git/doc/contributing.texi:1681
  1934. msgid "Guix has five components hosted on Weblate."
  1935. msgstr ""
  1936. #. type: item
  1937. #: guix-git/doc/contributing.texi:1683
  1938. #, no-wrap
  1939. msgid "@code{guix} contains all the strings from the Guix software (the"
  1940. msgstr ""
  1941. #. type: itemize
  1942. #: guix-git/doc/contributing.texi:1685
  1943. msgid "guided system installer, the package manager, etc), excluding packages."
  1944. msgstr ""
  1945. #. type: item
  1946. #: guix-git/doc/contributing.texi:1685
  1947. #, no-wrap
  1948. msgid "@code{packages} contains the synopsis (single-sentence description"
  1949. msgstr ""
  1950. #. type: itemize
  1951. #: guix-git/doc/contributing.texi:1687
  1952. msgid "of a package) and description (longer description) of packages in Guix."
  1953. msgstr ""
  1954. #. type: item
  1955. #: guix-git/doc/contributing.texi:1687
  1956. #, no-wrap
  1957. msgid "@code{website} contains the official Guix website, except for"
  1958. msgstr ""
  1959. #. type: itemize
  1960. #: guix-git/doc/contributing.texi:1689
  1961. msgid "blog posts and multimedia content."
  1962. msgstr ""
  1963. #. type: item
  1964. #: guix-git/doc/contributing.texi:1689
  1965. #, no-wrap
  1966. msgid "@code{documentation-manual} corresponds to this manual."
  1967. msgstr ""
  1968. #. type: item
  1969. #: guix-git/doc/contributing.texi:1690
  1970. #, no-wrap
  1971. msgid "@code{documentation-cookbook} is the component for the cookbook."
  1972. msgstr ""
  1973. #. type: subsubheading
  1974. #: guix-git/doc/contributing.texi:1693
  1975. #, no-wrap
  1976. msgid "General Directions"
  1977. msgstr ""
  1978. #. type: Plain text
  1979. #: guix-git/doc/contributing.texi:1701
  1980. msgid "Once you get an account, you should be able to select a component from @uref{https://translate.fedoraproject.org/projects/guix/,the guix project}, and select a language. If your language does not appear in the list, go to the bottom and click on the ``Start new translation'' button. Select the language you want to translate to from the list, to start your new translation."
  1981. msgstr ""
  1982. #. type: Plain text
  1983. #: guix-git/doc/contributing.texi:1706
  1984. msgid "Like lots of other free software packages, Guix uses @uref{https://www.gnu.org/software/gettext,GNU Gettext} for its translations, with which translatable strings are extracted from the source code to so-called PO files."
  1985. msgstr ""
  1986. #. type: Plain text
  1987. #: guix-git/doc/contributing.texi:1717
  1988. msgid "Even though PO files are text files, changes should not be made with a text editor but with PO editing software. Weblate integrates PO editing functionality. Alternatively, translators can use any of various free-software tools for filling in translations, of which @uref{https://poedit.net/,Poedit} is one example, and (after logging in) @uref{https://docs.weblate.org/en/latest/user/files.html,upload} the changed file. There is also a special @uref{https://www.emacswiki.org/emacs/PoMode,PO editing mode} for users of GNU Emacs. Over time translators find out what software they are happy with and what features they need."
  1989. msgstr ""
  1990. #. type: Plain text
  1991. #: guix-git/doc/contributing.texi:1722
  1992. msgid "On Weblate, you will find various links to the editor, that will show various subsets (or all) of the strings. Have a look around and at the @uref{https://docs.weblate.org/en/latest/,documentation} to familiarize yourself with the platform."
  1993. msgstr ""
  1994. #. type: subsubheading
  1995. #: guix-git/doc/contributing.texi:1723
  1996. #, no-wrap
  1997. msgid "Translation Components"
  1998. msgstr ""
  1999. #. type: Plain text
  2000. #: guix-git/doc/contributing.texi:1728
  2001. msgid "In this section, we provide more detailed guidance on the translation process, as well as details on what you should or should not do. When in doubt, please contact us, we will be happy to help!"
  2002. msgstr ""
  2003. #. type: item
  2004. #: guix-git/doc/contributing.texi:1730 guix-git/doc/guix.texi:9420
  2005. #, no-wrap
  2006. msgid "guix"
  2007. msgstr ""
  2008. #. type: table
  2009. #: guix-git/doc/contributing.texi:1735
  2010. msgid "Guix is written in the Guile programming language, and some strings contain special formatting that is interpreted by Guile. These special formatting should be highlighted by Weblate. They start with @code{~} followed by one or more characters."
  2011. msgstr ""
  2012. #. type: table
  2013. #: guix-git/doc/contributing.texi:1744
  2014. msgid "When printing the string, Guile replaces the special formatting symbols with actual values. For instance, the string @samp{ambiguous package specification `~a'} would be substituted to contain said package specification instead of @code{~a}. To properly translate this string, you must keep the formatting code in your translation, although you can place it where it makes sense in your language. For instance, the French translation says @samp{spécification du paquet « ~a » ambiguë} because the adjective needs to be placed in the end of the sentence."
  2015. msgstr ""
  2016. #. type: table
  2017. #: guix-git/doc/contributing.texi:1748
  2018. msgid "If there are multiple formatting symbols, make sure to respect the order. Guile does not know in which order you intended the string to be read, so it will substitute the symbols in the same order as the English sentence."
  2019. msgstr ""
  2020. #. type: table
  2021. #: guix-git/doc/contributing.texi:1756
  2022. msgid "As an example, you cannot translate @samp{package '~a' has been superseded by '~a'} by @samp{'~a' superseeds package '~a'}, because the meaning would be reversed. If @var{foo} is superseded by @var{bar}, the translation would read @samp{'foo' superseeds package 'bar'}. To work around this problem, it is possible to use more advanced formatting to select a given piece of data, instead of following the default English order. @xref{Formatted Output,,, guile, GNU Guile Reference Manual}, for more information on formatting in Guile."
  2023. msgstr ""
  2024. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2025. #. type: item
  2026. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2027. #. type: cindex
  2028. #: guix-git/doc/contributing.texi:1757 guix-git/doc/guix.texi:2988
  2029. #, no-wrap
  2030. msgid "packages"
  2031. msgstr ""
  2032. #. type: table
  2033. #: guix-git/doc/contributing.texi:1762
  2034. msgid "Package descriptions occasionally contain Texinfo markup (@pxref{Synopses and Descriptions}). Texinfo markup looks like @samp{@@code@{rm -rf@}}, @samp{@@emph@{important@}}, etc. When translating, please leave markup as is."
  2035. msgstr ""
  2036. #. type: table
  2037. #: guix-git/doc/contributing.texi:1771
  2038. msgid "The characters after ``@@'' form the name of the markup, and the text between ``@{'' and ``@}'' is its content. In general, you should not translate the content of markup like @code{@@code}, as it contains literal code that do not change with language. You can translate the content of formatting markup such as @code{@@emph}, @code{@@i}, @code{@@itemize}, @code{@@item}. However, do not translate the name of the markup, or it will not be recognized. Do not translate the word after @code{@@end}, it is the name of the markup that is closed at this position (e.g.@: @code{@@itemize ... @@end itemize})."
  2039. msgstr ""
  2040. #. type: item
  2041. #: guix-git/doc/contributing.texi:1772
  2042. #, no-wrap
  2043. msgid "documentation-manual and documentation-cookbook"
  2044. msgstr ""
  2045. #. type: table
  2046. #: guix-git/doc/contributing.texi:1776
  2047. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  2048. msgstr ""
  2049. #. type: item
  2050. #: guix-git/doc/contributing.texi:1778
  2051. #, no-wrap
  2052. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  2053. msgstr ""
  2054. #. type: itemize
  2055. #: guix-git/doc/contributing.texi:1781
  2056. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  2057. msgstr ""
  2058. #. type: item
  2059. #: guix-git/doc/contributing.texi:1781
  2060. #, no-wrap
  2061. msgid "@code{contributing.texi}: Translate this string as"
  2062. msgstr ""
  2063. #. type: itemize
  2064. #: guix-git/doc/contributing.texi:1783
  2065. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2066. msgstr ""
  2067. #. type: item
  2068. #: guix-git/doc/contributing.texi:1783
  2069. #, no-wrap
  2070. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2071. msgstr ""
  2072. #. type: itemize
  2073. #: guix-git/doc/contributing.texi:1786
  2074. msgid "If you translate it, the document will be empty (missing a Top node). Please look for it, and register @code{Top} as its translation."
  2075. msgstr ""
  2076. #. type: table
  2077. #: guix-git/doc/contributing.texi:1791
  2078. msgid "Translating these strings first ensure we can include your translation in the guix repository without breaking the make process or the @command{guix pull} machinery."
  2079. msgstr ""
  2080. #. type: table
  2081. #: guix-git/doc/contributing.texi:1798
  2082. msgid "The manual and the cookbook both use Texinfo. As for @code{packages}, please keep Texinfo markup as is. There are more possible markup types in the manual than in the package descriptions. In general, do not translate the content of @code{@@code}, @code{@@file}, @code{@@var}, @code{@@value}, etc. You should translate the content of formatting markup such as @code{@@emph}, @code{@@i}, etc."
  2083. msgstr ""
  2084. #. type: table
  2085. #: guix-git/doc/contributing.texi:1806
  2086. msgid "The manual contains sections that can be referred to by name by @code{@@ref}, @code{@@xref} and @code{@@pxref}. We have a mechanism in place so you do not have to translate their content. If you keep the English title, we will automatically replace it with your translation of that title. This ensures that Texinfo will always be able to find the node. If you decide to change the translation of the title, the references will automatically be updated and you will not have to update them all yourself."
  2087. msgstr ""
  2088. #. type: table
  2089. #: guix-git/doc/contributing.texi:1816
  2090. msgid "When translating references from the cookbook to the manual, you need to replace the name of the manual and the name of the section. For instance, to translate @code{@@pxref@{Defining Packages,,, guix, GNU Guix Reference Manual@}}, you would replace @code{Defining Packages} with the title of that section in the translated manual @emph{only} if that title is translated. If the title is not translated in your language yet, do not translate it here, or the link will be broken. Replace @code{guix} with @code{guix.xx} where @code{xx} is your language code. @code{GNU Guix Reference Manual} is the text of the link. You can translate it however you wish."
  2091. msgstr ""
  2092. #. type: item
  2093. #: guix-git/doc/contributing.texi:1817
  2094. #, no-wrap
  2095. msgid "website"
  2096. msgstr ""
  2097. #. type: table
  2098. #: guix-git/doc/contributing.texi:1824
  2099. msgid "The website pages are written using SXML, an s-expression version of HTML, the basic language of the web. We have a process to extract translatable strings from the source, and replace complex s-expressions with a more familiar XML markup, where each markup is numbered. Translators can arbitrarily change the ordering, as in the following example."
  2100. msgstr ""
  2101. #. type: example
  2102. #: guix-git/doc/contributing.texi:1831
  2103. #, no-wrap
  2104. msgid ""
  2105. "#. TRANSLATORS: Defining Packages is a section name\n"
  2106. "#. in the English (en) manual.\n"
  2107. "#: apps/base/templates/about.scm:64\n"
  2108. "msgid \"Packages are <1>defined<1.1>en</1.1><1.2>Defining-Packages.html</1.2></1> as native <2>Guile</2> modules.\"\n"
  2109. "msgstr \"Pakete werden als reine <2>Guile</2>-Module <1>definiert<1.1>de</1.1><1.2>Pakete-definieren.html</1.2></1>.\"\n"
  2110. msgstr ""
  2111. #. type: table
  2112. #: guix-git/doc/contributing.texi:1834
  2113. msgid "Note that you need to include the same markups. You cannot skip any."
  2114. msgstr ""
  2115. #. type: Plain text
  2116. #: guix-git/doc/contributing.texi:1842
  2117. msgid "In case you make a mistake, the component might fail to build properly with your language, or even make guix pull fail. To prevent that, we have a process in place to check the content of the files before pushing to our repository. We will not be able to update the translation for your language in Guix, so we will notify you (through weblate and/or by email) so you get a chance to fix the issue."
  2118. msgstr ""
  2119. #. type: subsubheading
  2120. #: guix-git/doc/contributing.texi:1843
  2121. #, no-wrap
  2122. msgid "Outside of Weblate"
  2123. msgstr ""
  2124. #. type: Plain text
  2125. #: guix-git/doc/contributing.texi:1846
  2126. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2127. msgstr ""
  2128. #. type: item
  2129. #: guix-git/doc/contributing.texi:1848
  2130. #, no-wrap
  2131. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2132. msgstr ""
  2133. #. type: itemize
  2134. #: guix-git/doc/contributing.texi:1854
  2135. msgid "available from Weblate. If you want to provide a translation, you can prepare a patch as described above, or simply send us your translation with the name of the news entry you translated and your language. @xref{Writing Channel News}, for more information about channel news."
  2136. msgstr ""
  2137. #. type: item
  2138. #: guix-git/doc/contributing.texi:1854
  2139. #, no-wrap
  2140. msgid "Guix blog posts cannot currently be translated."
  2141. msgstr ""
  2142. #. type: item
  2143. #: guix-git/doc/contributing.texi:1855
  2144. #, no-wrap
  2145. msgid "The installer script (for foreign distributions) is entirely in English."
  2146. msgstr ""
  2147. #. type: item
  2148. #: guix-git/doc/contributing.texi:1856
  2149. #, no-wrap
  2150. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2151. msgstr ""
  2152. #. type: itemize
  2153. #: guix-git/doc/contributing.texi:1858
  2154. msgid "outside of the Guix project. Guile itself is not internationalized."
  2155. msgstr ""
  2156. #. type: item
  2157. #: guix-git/doc/contributing.texi:1858
  2158. #, no-wrap
  2159. msgid "Other manuals linked from this manual or the cookbook might not be"
  2160. msgstr ""
  2161. #. type: itemize
  2162. #: guix-git/doc/contributing.texi:1860
  2163. msgid "translated."
  2164. msgstr ""
  2165. #. type: subsubheading
  2166. #: guix-git/doc/contributing.texi:1862
  2167. #, no-wrap
  2168. msgid "Translation Infrastructure"
  2169. msgstr ""
  2170. #. type: Plain text
  2171. #: guix-git/doc/contributing.texi:1873
  2172. msgid "Weblate is backed by a git repository from which it discovers new strings to translate and pushes new and updated translations. Normally, it would be enough to give it commit access to our repositories. However, we decided to use a separate repository for two reasons. First, we would have to give Weblate commit access and authorize its signing key, but we do not trust it in the same way we trust guix developers, especially since we do not manage the instance ourselves. Second, if translators mess something up, it can break the generation of the website and/or guix pull for all our users, independently of their language."
  2173. msgstr ""
  2174. #. type: Plain text
  2175. #: guix-git/doc/contributing.texi:1877
  2176. msgid "For these reasons, we use a dedicated repository to host translations, and we synchronize it with our guix and artworks repositories after checking no issue was introduced in the translation."
  2177. msgstr ""
  2178. #. type: Plain text
  2179. #: guix-git/doc/contributing.texi:1883
  2180. msgid "Developers can download the latest PO files from weblate in the Guix repository by running the @command{make download-po} command. It will automatically download the latest files from weblate, reformat them to a canonical form, and check they do not contain issues. The manual needs to be built again to check for additional issues that might crash Texinfo."
  2181. msgstr ""
  2182. #. type: Plain text
  2183. #: guix-git/doc/contributing.texi:1887
  2184. msgid "Before pushing new translation files, developers should add them to the make machinery so the translations are actually available. The process differs for the various components."
  2185. msgstr ""
  2186. #. type: item
  2187. #: guix-git/doc/contributing.texi:1889
  2188. #, no-wrap
  2189. msgid "New po files for the @code{guix} and @code{packages} components must"
  2190. msgstr ""
  2191. #. type: itemize
  2192. #: guix-git/doc/contributing.texi:1892
  2193. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2194. msgstr ""
  2195. #. type: item
  2196. #: guix-git/doc/contributing.texi:1892
  2197. #, no-wrap
  2198. msgid "New po files for the @code{documentation-manual} component must be"
  2199. msgstr ""
  2200. #. type: itemize
  2201. #: guix-git/doc/contributing.texi:1898
  2202. msgid "registered by adding the file name to @code{DOC_PO_FILES} in @file{po/doc/local.mk}, the generated @file{%D%/guix.xx.texi} manual to @code{info_TEXINFOS} in @file{doc/local.mk} and the generated @file{%D%/guix.xx.texi} and @file{%D%/contributing.xx.texi} to @code{TRANSLATED_INFO} also in @file{doc/local.mk}."
  2203. msgstr ""
  2204. #. type: item
  2205. #: guix-git/doc/contributing.texi:1898
  2206. #, no-wrap
  2207. msgid "New po files for the @code{documentation-cookbook} component must be"
  2208. msgstr ""
  2209. #. type: itemize
  2210. #: guix-git/doc/contributing.texi:1904
  2211. msgid "registered by adding the file name to @code{DOC_COOKBOOK_PO_FILES} in @file{po/doc/local.mk}, the generated @file{%D%/guix-cookbook.xx.texi} manual to @code{info_TEXINFOS} in @file{doc/local.mk} and the generated @file{%D%/guix-cookbook.xx.texi} to @code{TRANSLATED_INFO} also in @file{doc/local.mk}."
  2212. msgstr ""
  2213. #. type: item
  2214. #: guix-git/doc/contributing.texi:1904
  2215. #, no-wrap
  2216. msgid "New po files for the @code{website} component must be added to the"
  2217. msgstr ""
  2218. #. type: itemize
  2219. #: guix-git/doc/contributing.texi:1909
  2220. msgid "@code{guix-artwork} repository, in @file{website/po/}. @file{website/po/LINGUAS} and @file{website/po/ietf-tags.scm} must be updated accordingly (see @file{website/i18n-howto.txt} for more information on the process)."
  2221. msgstr ""
  2222. #. type: Plain text
  2223. #: guix-git/doc/guix.texi:7
  2224. msgid "@documentencoding UTF-8"
  2225. msgstr ""
  2226. "@documentencoding UTF-8\n"
  2227. "@documentlanguage sk"
  2228. #. type: title
  2229. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:131
  2230. #, no-wrap
  2231. msgid "GNU Guix Reference Manual"
  2232. msgstr ""
  2233. #. type: include
  2234. #: guix-git/doc/guix.texi:10
  2235. #, no-wrap
  2236. msgid "version.texi"
  2237. msgstr "version-sk.texi"
  2238. #. type: copying
  2239. #: guix-git/doc/guix.texi:103
  2240. 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, 2021 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, 2021 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 Christine Lemmer-Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021 Marius Bakke@* Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017–2022 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, 2021 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Liliana Marie Prikler@* Copyright @copyright{} 2019, 2020, 2021 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, 2021 Brice Waegeneire@* Copyright @copyright{} 2020 R Veera Kumar@* Copyright @copyright{} 2020, 2021 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@* Copyright @copyright{} 2021 B. Wilson@* Copyright @copyright{} 2021 Xinglu Chen@* Copyright @copyright{} 2021 Raghav Gururajan@* Copyright @copyright{} 2021 Domagoj Stolfa@* Copyright @copyright{} 2021 Hui Lu@* Copyright @copyright{} 2021 pukkamustard@* Copyright @copyright{} 2021 Alice Brenon@* Copyright @copyright{} 2021 Josselin Poiret@* Copyright @copyright{} 2021 Andrew Tropin@* Copyright @copyright{} 2021 Sarah Morgensen@* Copyright @copyright{} 2021 Josselin Poiret@*"
  2241. msgstr ""
  2242. #. type: copying
  2243. #: guix-git/doc/guix.texi:110
  2244. 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''."
  2245. msgstr "Tento dokument môžete kopírovať, ďalej šíriť a/alebo upravovať pod podmienkami licencie GNU Free Documentation License vo verzii 1.3 alebo v akejkoľvek novšej verzii, ktorú vydáva Free Software Foundation; bez nemenných oddielov, úvodnej strany a propagačného textu. Kópia tejto licencie je priložená v oddiele „GNU Free Documentation License“."
  2246. #. type: dircategory
  2247. #: guix-git/doc/guix.texi:112
  2248. #, no-wrap
  2249. msgid "System administration"
  2250. msgstr "Správa systému"
  2251. #. type: menuentry
  2252. #: guix-git/doc/guix.texi:120
  2253. msgid "Guix: (guix)"
  2254. msgstr ""
  2255. #. type: menuentry
  2256. #: guix-git/doc/guix.texi:120
  2257. msgid "Manage installed software and system configuration."
  2258. msgstr ""
  2259. #. type: menuentry
  2260. #: guix-git/doc/guix.texi:120
  2261. msgid "guix package: (guix)Invoking guix package"
  2262. msgstr ""
  2263. #. type: menuentry
  2264. #: guix-git/doc/guix.texi:120
  2265. msgid "Installing, removing, and upgrading packages."
  2266. msgstr ""
  2267. #. type: menuentry
  2268. #: guix-git/doc/guix.texi:120
  2269. msgid "guix gc: (guix)Invoking guix gc"
  2270. msgstr ""
  2271. #. type: menuentry
  2272. #: guix-git/doc/guix.texi:120
  2273. msgid "Reclaiming unused disk space."
  2274. msgstr ""
  2275. #. type: menuentry
  2276. #: guix-git/doc/guix.texi:120
  2277. msgid "guix pull: (guix)Invoking guix pull"
  2278. msgstr ""
  2279. #. type: menuentry
  2280. #: guix-git/doc/guix.texi:120
  2281. msgid "Update the list of available packages."
  2282. msgstr ""
  2283. #. type: menuentry
  2284. #: guix-git/doc/guix.texi:120
  2285. msgid "guix system: (guix)Invoking guix system"
  2286. msgstr ""
  2287. #. type: menuentry
  2288. #: guix-git/doc/guix.texi:120
  2289. msgid "Manage the operating system configuration."
  2290. msgstr ""
  2291. #. type: menuentry
  2292. #: guix-git/doc/guix.texi:120
  2293. msgid "guix deploy: (guix)Invoking guix deploy"
  2294. msgstr ""
  2295. #. type: menuentry
  2296. #: guix-git/doc/guix.texi:120
  2297. msgid "Manage operating system configurations for remote hosts."
  2298. msgstr ""
  2299. #. type: dircategory
  2300. #: guix-git/doc/guix.texi:122
  2301. #, no-wrap
  2302. msgid "Software development"
  2303. msgstr ""
  2304. #. type: menuentry
  2305. #: guix-git/doc/guix.texi:128
  2306. msgid "guix shell: (guix)Invoking guix shell"
  2307. msgstr ""
  2308. #. type: menuentry
  2309. #: guix-git/doc/guix.texi:128
  2310. msgid "Creating software environments."
  2311. msgstr ""
  2312. #. type: menuentry
  2313. #: guix-git/doc/guix.texi:128
  2314. msgid "guix environment: (guix)Invoking guix environment"
  2315. msgstr ""
  2316. #. type: menuentry
  2317. #: guix-git/doc/guix.texi:128
  2318. msgid "Building development environments with Guix."
  2319. msgstr ""
  2320. #. type: menuentry
  2321. #: guix-git/doc/guix.texi:128
  2322. msgid "guix build: (guix)Invoking guix build"
  2323. msgstr ""
  2324. #. type: menuentry
  2325. #: guix-git/doc/guix.texi:128
  2326. msgid "Building packages."
  2327. msgstr ""
  2328. #. type: menuentry
  2329. #: guix-git/doc/guix.texi:128
  2330. msgid "guix pack: (guix)Invoking guix pack"
  2331. msgstr ""
  2332. #. type: menuentry
  2333. #: guix-git/doc/guix.texi:128
  2334. msgid "Creating binary bundles."
  2335. msgstr ""
  2336. #. type: subtitle
  2337. #: guix-git/doc/guix.texi:132
  2338. #, no-wrap
  2339. msgid "Using the GNU Guix Functional Package Manager"
  2340. msgstr ""
  2341. #. type: author
  2342. #: guix-git/doc/guix.texi:133
  2343. #, no-wrap
  2344. msgid "The GNU Guix Developers"
  2345. msgstr "Vývojári GNU Guix"
  2346. #. type: titlepage
  2347. #: guix-git/doc/guix.texi:139
  2348. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2349. msgstr ""
  2350. #. type: node
  2351. #: guix-git/doc/guix.texi:146
  2352. #, no-wrap
  2353. msgid "Top"
  2354. msgstr "Top"
  2355. #. type: top
  2356. #: guix-git/doc/guix.texi:147
  2357. #, no-wrap
  2358. msgid "GNU Guix"
  2359. msgstr ""
  2360. #. type: Plain text
  2361. #: guix-git/doc/guix.texi:151
  2362. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2363. msgstr ""
  2364. #. type: Plain text
  2365. #: guix-git/doc/guix.texi:163
  2366. 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} (@pxref{Translating Guix})."
  2367. msgstr ""
  2368. #. type: chapter
  2369. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:192
  2370. #: guix-git/doc/guix.texi:402 guix-git/doc/guix.texi:403
  2371. #, no-wrap
  2372. msgid "Introduction"
  2373. msgstr ""
  2374. #. type: menuentry
  2375. #: guix-git/doc/guix.texi:182
  2376. msgid "What is Guix about?"
  2377. msgstr ""
  2378. #. type: chapter
  2379. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:197
  2380. #: guix-git/doc/guix.texi:589 guix-git/doc/guix.texi:590
  2381. #, no-wrap
  2382. msgid "Installation"
  2383. msgstr ""
  2384. #. type: menuentry
  2385. #: guix-git/doc/guix.texi:182
  2386. msgid "Installing Guix."
  2387. msgstr ""
  2388. #. type: chapter
  2389. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:213
  2390. #: guix-git/doc/guix.texi:2049 guix-git/doc/guix.texi:2050
  2391. #, no-wrap
  2392. msgid "System Installation"
  2393. msgstr ""
  2394. #. type: menuentry
  2395. #: guix-git/doc/guix.texi:182
  2396. msgid "Installing the whole operating system."
  2397. msgstr ""
  2398. #. type: chapter
  2399. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:2777
  2400. #: guix-git/doc/guix.texi:2778
  2401. #, no-wrap
  2402. msgid "Getting Started"
  2403. msgstr ""
  2404. #. type: menuentry
  2405. #: guix-git/doc/guix.texi:182
  2406. msgid "Your first steps."
  2407. msgstr ""
  2408. #. type: chapter
  2409. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:230
  2410. #: guix-git/doc/guix.texi:2985 guix-git/doc/guix.texi:2986
  2411. #, no-wrap
  2412. msgid "Package Management"
  2413. msgstr ""
  2414. #. type: menuentry
  2415. #: guix-git/doc/guix.texi:182
  2416. msgid "Package installation, upgrade, etc."
  2417. msgstr ""
  2418. #. type: chapter
  2419. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:253
  2420. #: guix-git/doc/guix.texi:5053 guix-git/doc/guix.texi:5054
  2421. #, no-wrap
  2422. msgid "Channels"
  2423. msgstr ""
  2424. #. type: menuentry
  2425. #: guix-git/doc/guix.texi:182
  2426. msgid "Customizing the package collection."
  2427. msgstr ""
  2428. #. type: chapter
  2429. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:267
  2430. #: guix-git/doc/guix.texi:5581 guix-git/doc/guix.texi:5582
  2431. #, no-wrap
  2432. msgid "Development"
  2433. msgstr ""
  2434. #. type: menuentry
  2435. #: guix-git/doc/guix.texi:182
  2436. msgid "Guix-aided software development."
  2437. msgstr ""
  2438. #. type: chapter
  2439. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:275
  2440. #: guix-git/doc/guix.texi:6799 guix-git/doc/guix.texi:6800
  2441. #, no-wrap
  2442. msgid "Programming Interface"
  2443. msgstr ""
  2444. #. type: menuentry
  2445. #: guix-git/doc/guix.texi:182
  2446. msgid "Using Guix in Scheme."
  2447. msgstr ""
  2448. #. type: chapter
  2449. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:294
  2450. #: guix-git/doc/guix.texi:10774 guix-git/doc/guix.texi:10775
  2451. #, no-wrap
  2452. msgid "Utilities"
  2453. msgstr ""
  2454. #. type: menuentry
  2455. #: guix-git/doc/guix.texi:182
  2456. msgid "Package management commands."
  2457. msgstr ""
  2458. #. type: chapter
  2459. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:320
  2460. #: guix-git/doc/guix.texi:14278 guix-git/doc/guix.texi:14279
  2461. #, no-wrap
  2462. msgid "System Configuration"
  2463. msgstr "Nastavenie systému"
  2464. #. type: menuentry
  2465. #: guix-git/doc/guix.texi:182
  2466. msgid "Configuring the operating system."
  2467. msgstr ""
  2468. #. type: chapter
  2469. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:36881
  2470. #: guix-git/doc/guix.texi:36882
  2471. #, fuzzy, no-wrap
  2472. #| msgid "System Configuration"
  2473. msgid "Home Configuration"
  2474. msgstr "Nastavenie systému"
  2475. #. type: menuentry
  2476. #: guix-git/doc/guix.texi:182
  2477. msgid "Configuring the home environment."
  2478. msgstr ""
  2479. #. type: chapter
  2480. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:37721
  2481. #: guix-git/doc/guix.texi:37722
  2482. #, no-wrap
  2483. msgid "Documentation"
  2484. msgstr "Dokumentácia"
  2485. #. type: menuentry
  2486. #: guix-git/doc/guix.texi:182
  2487. msgid "Browsing software user manuals."
  2488. msgstr ""
  2489. #. type: chapter
  2490. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:389
  2491. #: guix-git/doc/guix.texi:37787 guix-git/doc/guix.texi:37788
  2492. #, no-wrap
  2493. msgid "Installing Debugging Files"
  2494. msgstr ""
  2495. #. type: menuentry
  2496. #: guix-git/doc/guix.texi:182
  2497. msgid "Feeding the debugger."
  2498. msgstr ""
  2499. #. type: chapter
  2500. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:37942
  2501. #: guix-git/doc/guix.texi:37943
  2502. #, no-wrap
  2503. msgid "Security Updates"
  2504. msgstr ""
  2505. #. type: menuentry
  2506. #: guix-git/doc/guix.texi:182
  2507. msgid "Deploying security fixes quickly."
  2508. msgstr ""
  2509. #. type: chapter
  2510. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:394
  2511. #: guix-git/doc/guix.texi:38057 guix-git/doc/guix.texi:38058
  2512. #, no-wrap
  2513. msgid "Bootstrapping"
  2514. msgstr ""
  2515. #. type: menuentry
  2516. #: guix-git/doc/guix.texi:182
  2517. msgid "GNU/Linux built from scratch."
  2518. msgstr ""
  2519. #. type: node
  2520. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38349
  2521. #, no-wrap
  2522. msgid "Porting"
  2523. msgstr ""
  2524. #. type: menuentry
  2525. #: guix-git/doc/guix.texi:182
  2526. msgid "Targeting another platform or kernel."
  2527. msgstr ""
  2528. #. type: menuentry
  2529. #: guix-git/doc/guix.texi:182
  2530. msgid "Your help needed!"
  2531. msgstr ""
  2532. #. type: chapter
  2533. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:38397
  2534. #: guix-git/doc/guix.texi:38398
  2535. #, no-wrap
  2536. msgid "Acknowledgments"
  2537. msgstr "Poďakovanie"
  2538. #. type: menuentry
  2539. #: guix-git/doc/guix.texi:187
  2540. msgid "Thanks!"
  2541. msgstr "Ďakujeme!"
  2542. #. type: appendix
  2543. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:38419
  2544. #: guix-git/doc/guix.texi:38420
  2545. #, no-wrap
  2546. msgid "GNU Free Documentation License"
  2547. msgstr "GNU Free Documentation License"
  2548. #. type: menuentry
  2549. #: guix-git/doc/guix.texi:187
  2550. msgid "The license of this manual."
  2551. msgstr ""
  2552. #. type: unnumbered
  2553. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:38425
  2554. #: guix-git/doc/guix.texi:38426
  2555. #, no-wrap
  2556. msgid "Concept Index"
  2557. msgstr "Zoznam pojmov"
  2558. #. type: menuentry
  2559. #: guix-git/doc/guix.texi:187
  2560. msgid "Concepts."
  2561. msgstr "Pojmy."
  2562. #. type: unnumbered
  2563. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:38429
  2564. #: guix-git/doc/guix.texi:38430
  2565. #, no-wrap
  2566. msgid "Programming Index"
  2567. msgstr ""
  2568. #. type: menuentry
  2569. #: guix-git/doc/guix.texi:187
  2570. msgid "Data types, functions, and variables."
  2571. msgstr ""
  2572. #. type: menuentry
  2573. #: guix-git/doc/guix.texi:190
  2574. msgid "--- The Detailed Node Listing ---"
  2575. msgstr "--- Podrobný zoznam uzlov ---"
  2576. #. type: section
  2577. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:429
  2578. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:432
  2579. #, no-wrap
  2580. msgid "Managing Software the Guix Way"
  2581. msgstr ""
  2582. #. type: menuentry
  2583. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:429
  2584. msgid "What's special."
  2585. msgstr ""
  2586. #. type: section
  2587. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:429
  2588. #: guix-git/doc/guix.texi:486 guix-git/doc/guix.texi:487
  2589. #, no-wrap
  2590. msgid "GNU Distribution"
  2591. msgstr ""
  2592. #. type: menuentry
  2593. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:429
  2594. msgid "The packages and tools."
  2595. msgstr ""
  2596. #. type: section
  2597. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2598. #: guix-git/doc/guix.texi:631 guix-git/doc/guix.texi:632
  2599. #, no-wrap
  2600. msgid "Binary Installation"
  2601. msgstr ""
  2602. #. type: menuentry
  2603. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2604. msgid "Getting Guix running in no time!"
  2605. msgstr ""
  2606. #. type: section
  2607. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2608. #: guix-git/doc/guix.texi:871 guix-git/doc/guix.texi:872
  2609. #, no-wrap
  2610. msgid "Requirements"
  2611. msgstr ""
  2612. #. type: menuentry
  2613. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2614. msgid "Software needed to build and run Guix."
  2615. msgstr ""
  2616. #. type: section
  2617. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2618. #: guix-git/doc/guix.texi:957 guix-git/doc/guix.texi:958
  2619. #, no-wrap
  2620. msgid "Running the Test Suite"
  2621. msgstr ""
  2622. #. type: menuentry
  2623. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2624. msgid "Testing Guix."
  2625. msgstr ""
  2626. #. type: section
  2627. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:207
  2628. #: guix-git/doc/guix.texi:629 guix-git/doc/guix.texi:1054
  2629. #: guix-git/doc/guix.texi:1055
  2630. #, no-wrap
  2631. msgid "Setting Up the Daemon"
  2632. msgstr ""
  2633. #. type: menuentry
  2634. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2635. msgid "Preparing the build daemon's environment."
  2636. msgstr ""
  2637. #. type: node
  2638. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2639. #: guix-git/doc/guix.texi:1525
  2640. #, no-wrap
  2641. msgid "Invoking guix-daemon"
  2642. msgstr ""
  2643. #. type: menuentry
  2644. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2645. msgid "Running the build daemon."
  2646. msgstr ""
  2647. #. type: section
  2648. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2649. #: guix-git/doc/guix.texi:1827 guix-git/doc/guix.texi:1828
  2650. #, no-wrap
  2651. msgid "Application Setup"
  2652. msgstr ""
  2653. #. type: menuentry
  2654. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2655. msgid "Application-specific setup."
  2656. msgstr ""
  2657. #. type: section
  2658. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2659. #: guix-git/doc/guix.texi:2012 guix-git/doc/guix.texi:2013
  2660. #, no-wrap
  2661. msgid "Upgrading Guix"
  2662. msgstr ""
  2663. #. type: menuentry
  2664. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2665. msgid "Upgrading Guix and its build daemon."
  2666. msgstr ""
  2667. #. type: subsection
  2668. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2669. #: guix-git/doc/guix.texi:1076 guix-git/doc/guix.texi:1077
  2670. #, no-wrap
  2671. msgid "Build Environment Setup"
  2672. msgstr ""
  2673. #. type: menuentry
  2674. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2675. msgid "Preparing the isolated build environment."
  2676. msgstr ""
  2677. #. type: node
  2678. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2679. #: guix-git/doc/guix.texi:1195
  2680. #, no-wrap
  2681. msgid "Daemon Offload Setup"
  2682. msgstr ""
  2683. #. type: menuentry
  2684. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2685. msgid "Offloading builds to remote machines."
  2686. msgstr ""
  2687. #. type: subsection
  2688. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2689. #: guix-git/doc/guix.texi:1434 guix-git/doc/guix.texi:1435
  2690. #, no-wrap
  2691. msgid "SELinux Support"
  2692. msgstr ""
  2693. #. type: menuentry
  2694. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2695. msgid "Using an SELinux policy for the daemon."
  2696. msgstr ""
  2697. #. type: section
  2698. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:1470
  2699. #: guix-git/doc/guix.texi:2083 guix-git/doc/guix.texi:2085
  2700. #: guix-git/doc/guix.texi:2086
  2701. #, no-wrap
  2702. msgid "Limitations"
  2703. msgstr ""
  2704. #. type: menuentry
  2705. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2706. msgid "What you can expect."
  2707. msgstr ""
  2708. #. type: section
  2709. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2710. #: guix-git/doc/guix.texi:2111 guix-git/doc/guix.texi:2112
  2711. #, no-wrap
  2712. msgid "Hardware Considerations"
  2713. msgstr ""
  2714. #. type: menuentry
  2715. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2716. msgid "Supported hardware."
  2717. msgstr ""
  2718. #. type: section
  2719. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2720. #: guix-git/doc/guix.texi:2146 guix-git/doc/guix.texi:2147
  2721. #, no-wrap
  2722. msgid "USB Stick and DVD Installation"
  2723. msgstr ""
  2724. #. type: menuentry
  2725. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2726. msgid "Preparing the installation medium."
  2727. msgstr ""
  2728. #. type: section
  2729. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2730. #: guix-git/doc/guix.texi:2227 guix-git/doc/guix.texi:2228
  2731. #, no-wrap
  2732. msgid "Preparing for Installation"
  2733. msgstr ""
  2734. #. type: menuentry
  2735. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2736. msgid "Networking, partitioning, etc."
  2737. msgstr ""
  2738. #. type: section
  2739. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2740. #: guix-git/doc/guix.texi:2250 guix-git/doc/guix.texi:2251
  2741. #, no-wrap
  2742. msgid "Guided Graphical Installation"
  2743. msgstr ""
  2744. #. type: menuentry
  2745. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2746. msgid "Easy graphical installation."
  2747. msgstr ""
  2748. #. type: section
  2749. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:225
  2750. #: guix-git/doc/guix.texi:2083 guix-git/doc/guix.texi:2281
  2751. #: guix-git/doc/guix.texi:2282
  2752. #, no-wrap
  2753. msgid "Manual Installation"
  2754. msgstr ""
  2755. #. type: menuentry
  2756. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2757. msgid "Manual installation for wizards."
  2758. msgstr ""
  2759. #. type: section
  2760. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2761. #: guix-git/doc/guix.texi:2660 guix-git/doc/guix.texi:2661
  2762. #, no-wrap
  2763. msgid "After System Installation"
  2764. msgstr ""
  2765. #. type: menuentry
  2766. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2767. msgid "When installation succeeded."
  2768. msgstr ""
  2769. #. type: node
  2770. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2771. #: guix-git/doc/guix.texi:2694
  2772. #, no-wrap
  2773. msgid "Installing Guix in a VM"
  2774. msgstr ""
  2775. #. type: menuentry
  2776. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2777. msgid "Guix System playground."
  2778. msgstr ""
  2779. #. type: section
  2780. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2781. #: guix-git/doc/guix.texi:2745 guix-git/doc/guix.texi:2746
  2782. #, no-wrap
  2783. msgid "Building the Installation Image"
  2784. msgstr ""
  2785. #. type: menuentry
  2786. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2787. msgid "How this comes to be."
  2788. msgstr ""
  2789. #. type: node
  2790. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2299
  2791. #: guix-git/doc/guix.texi:2301
  2792. #, no-wrap
  2793. msgid "Keyboard Layout and Networking and Partitioning"
  2794. msgstr ""
  2795. #. type: menuentry
  2796. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2299
  2797. msgid "Initial setup."
  2798. msgstr ""
  2799. #. type: subsection
  2800. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2299
  2801. #: guix-git/doc/guix.texi:2571 guix-git/doc/guix.texi:2572
  2802. #, no-wrap
  2803. msgid "Proceeding with the Installation"
  2804. msgstr ""
  2805. #. type: menuentry
  2806. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2299
  2807. msgid "Installing."
  2808. msgstr ""
  2809. #. type: section
  2810. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2811. #: guix-git/doc/guix.texi:3019 guix-git/doc/guix.texi:3020
  2812. #, no-wrap
  2813. msgid "Features"
  2814. msgstr "Možnosti"
  2815. #. type: menuentry
  2816. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2817. msgid "How Guix will make your life brighter."
  2818. msgstr ""
  2819. #. type: node
  2820. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2821. #: guix-git/doc/guix.texi:3109
  2822. #, no-wrap
  2823. msgid "Invoking guix package"
  2824. msgstr ""
  2825. #. type: menuentry
  2826. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2827. msgid "Package installation, removal, etc."
  2828. msgstr ""
  2829. #. type: section
  2830. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:243
  2831. #: guix-git/doc/guix.texi:3017 guix-git/doc/guix.texi:3738
  2832. #: guix-git/doc/guix.texi:3739
  2833. #, no-wrap
  2834. msgid "Substitutes"
  2835. msgstr ""
  2836. #. type: menuentry
  2837. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2838. msgid "Downloading pre-built binaries."
  2839. msgstr ""
  2840. #. type: section
  2841. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2842. #: guix-git/doc/guix.texi:4074 guix-git/doc/guix.texi:4075
  2843. #, no-wrap
  2844. msgid "Packages with Multiple Outputs"
  2845. msgstr ""
  2846. #. type: menuentry
  2847. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2848. msgid "Single source package, multiple outputs."
  2849. msgstr ""
  2850. #. type: node
  2851. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2852. #: guix-git/doc/guix.texi:4128
  2853. #, no-wrap
  2854. msgid "Invoking guix gc"
  2855. msgstr ""
  2856. #. type: menuentry
  2857. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2858. msgid "Running the garbage collector."
  2859. msgstr ""
  2860. #. type: node
  2861. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2862. #: guix-git/doc/guix.texi:4338
  2863. #, no-wrap
  2864. msgid "Invoking guix pull"
  2865. msgstr ""
  2866. #. type: menuentry
  2867. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2868. msgid "Fetching the latest Guix and distribution."
  2869. msgstr ""
  2870. #. type: node
  2871. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2872. #: guix-git/doc/guix.texi:4585
  2873. #, no-wrap
  2874. msgid "Invoking guix time-machine"
  2875. msgstr ""
  2876. #. type: menuentry
  2877. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2878. msgid "Running an older revision of Guix."
  2879. msgstr ""
  2880. #. type: section
  2881. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2882. #: guix-git/doc/guix.texi:4640 guix-git/doc/guix.texi:4641
  2883. #, no-wrap
  2884. msgid "Inferiors"
  2885. msgstr ""
  2886. #. type: menuentry
  2887. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2888. msgid "Interacting with another revision of Guix."
  2889. msgstr ""
  2890. #. type: node
  2891. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2892. #: guix-git/doc/guix.texi:4768
  2893. #, no-wrap
  2894. msgid "Invoking guix describe"
  2895. msgstr ""
  2896. #. type: menuentry
  2897. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2898. msgid "Display information about your Guix revision."
  2899. msgstr ""
  2900. #. type: node
  2901. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2902. #: guix-git/doc/guix.texi:4863
  2903. #, no-wrap
  2904. msgid "Invoking guix archive"
  2905. msgstr ""
  2906. #. type: menuentry
  2907. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2908. msgid "Exporting and importing store files."
  2909. msgstr ""
  2910. #. type: subsection
  2911. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2912. #: guix-git/doc/guix.texi:3764 guix-git/doc/guix.texi:3765
  2913. #, no-wrap
  2914. msgid "Official Substitute Servers"
  2915. msgstr ""
  2916. #. type: menuentry
  2917. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2918. msgid "One particular source of substitutes."
  2919. msgstr ""
  2920. #. type: subsection
  2921. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2922. #: guix-git/doc/guix.texi:3794 guix-git/doc/guix.texi:3795
  2923. #, no-wrap
  2924. msgid "Substitute Server Authorization"
  2925. msgstr ""
  2926. #. type: menuentry
  2927. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2928. msgid "How to enable or disable substitutes."
  2929. msgstr ""
  2930. #. type: subsection
  2931. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2932. #: guix-git/doc/guix.texi:3864 guix-git/doc/guix.texi:3865
  2933. #, no-wrap
  2934. msgid "Getting Substitutes from Other Servers"
  2935. msgstr ""
  2936. #. type: menuentry
  2937. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2938. msgid "Substitute diversity."
  2939. msgstr ""
  2940. #. type: subsection
  2941. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2942. #: guix-git/doc/guix.texi:3969 guix-git/doc/guix.texi:3970
  2943. #, no-wrap
  2944. msgid "Substitute Authentication"
  2945. msgstr ""
  2946. #. type: menuentry
  2947. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2948. msgid "How Guix verifies substitutes."
  2949. msgstr ""
  2950. #. type: subsection
  2951. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2952. #: guix-git/doc/guix.texi:4004 guix-git/doc/guix.texi:4005
  2953. #, no-wrap
  2954. msgid "Proxy Settings"
  2955. msgstr ""
  2956. #. type: menuentry
  2957. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2958. msgid "How to get substitutes via proxy."
  2959. msgstr ""
  2960. #. type: subsection
  2961. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2962. #: guix-git/doc/guix.texi:4016 guix-git/doc/guix.texi:4017
  2963. #, no-wrap
  2964. msgid "Substitution Failure"
  2965. msgstr ""
  2966. #. type: menuentry
  2967. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2968. msgid "What happens when substitution fails."
  2969. msgstr ""
  2970. #. type: subsection
  2971. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2972. #: guix-git/doc/guix.texi:4044 guix-git/doc/guix.texi:4045
  2973. #, no-wrap
  2974. msgid "On Trusting Binaries"
  2975. msgstr ""
  2976. #. type: menuentry
  2977. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2978. msgid "How can you trust that binary blob?"
  2979. msgstr ""
  2980. #. type: section
  2981. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  2982. #: guix-git/doc/guix.texi:5086 guix-git/doc/guix.texi:5087
  2983. #, no-wrap
  2984. msgid "Specifying Additional Channels"
  2985. msgstr ""
  2986. #. type: menuentry
  2987. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  2988. msgid "Extending the package collection."
  2989. msgstr ""
  2990. #. type: section
  2991. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  2992. #: guix-git/doc/guix.texi:5136 guix-git/doc/guix.texi:5137
  2993. #, no-wrap
  2994. msgid "Using a Custom Guix Channel"
  2995. msgstr ""
  2996. #. type: menuentry
  2997. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  2998. msgid "Using a customized Guix."
  2999. msgstr ""
  3000. #. type: section
  3001. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3002. #: guix-git/doc/guix.texi:5158 guix-git/doc/guix.texi:5159
  3003. #, no-wrap
  3004. msgid "Replicating Guix"
  3005. msgstr ""
  3006. #. type: menuentry
  3007. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3008. msgid "Running the @emph{exact same} Guix."
  3009. msgstr ""
  3010. #. type: section
  3011. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3012. #: guix-git/doc/guix.texi:5199 guix-git/doc/guix.texi:5200
  3013. #, no-wrap
  3014. msgid "Channel Authentication"
  3015. msgstr ""
  3016. #. type: menuentry
  3017. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3018. msgid "How Guix verifies what it fetches."
  3019. msgstr ""
  3020. #. type: section
  3021. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3022. #: guix-git/doc/guix.texi:5239 guix-git/doc/guix.texi:5240
  3023. #, no-wrap
  3024. msgid "Channels with Substitutes"
  3025. msgstr ""
  3026. #. type: menuentry
  3027. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3028. msgid "Using channels with available substitutes."
  3029. msgstr ""
  3030. #. type: section
  3031. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3032. #: guix-git/doc/guix.texi:5264 guix-git/doc/guix.texi:5265
  3033. #, no-wrap
  3034. msgid "Creating a Channel"
  3035. msgstr ""
  3036. #. type: menuentry
  3037. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3038. msgid "How to write your custom channel."
  3039. msgstr ""
  3040. #. type: section
  3041. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3042. #: guix-git/doc/guix.texi:5331 guix-git/doc/guix.texi:5332
  3043. #, no-wrap
  3044. msgid "Package Modules in a Sub-directory"
  3045. msgstr ""
  3046. #. type: menuentry
  3047. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3048. msgid "Specifying the channel's package modules location."
  3049. msgstr ""
  3050. #. type: section
  3051. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3052. #: guix-git/doc/guix.texi:5345 guix-git/doc/guix.texi:5346
  3053. #, no-wrap
  3054. msgid "Declaring Channel Dependencies"
  3055. msgstr ""
  3056. #. type: menuentry
  3057. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3058. msgid "How to depend on other channels."
  3059. msgstr ""
  3060. #. type: section
  3061. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3062. #: guix-git/doc/guix.texi:5387 guix-git/doc/guix.texi:5388
  3063. #, no-wrap
  3064. msgid "Specifying Channel Authorizations"
  3065. msgstr ""
  3066. #. type: menuentry
  3067. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3068. msgid "Defining channel authors authorizations."
  3069. msgstr ""
  3070. #. type: section
  3071. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3072. #: guix-git/doc/guix.texi:5488 guix-git/doc/guix.texi:5489
  3073. #, no-wrap
  3074. msgid "Primary URL"
  3075. msgstr ""
  3076. #. type: menuentry
  3077. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3078. msgid "Distinguishing mirror to original."
  3079. msgstr ""
  3080. #. type: section
  3081. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3082. #: guix-git/doc/guix.texi:5511 guix-git/doc/guix.texi:5512
  3083. #, no-wrap
  3084. msgid "Writing Channel News"
  3085. msgstr ""
  3086. #. type: menuentry
  3087. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3088. msgid "Communicating information to channel's users."
  3089. msgstr ""
  3090. #. type: node
  3091. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3092. #: guix-git/doc/guix.texi:5603
  3093. #, no-wrap
  3094. msgid "Invoking guix shell"
  3095. msgstr ""
  3096. #. type: menuentry
  3097. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3098. msgid "Spawning one-off software environments."
  3099. msgstr ""
  3100. #. type: node
  3101. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3102. #: guix-git/doc/guix.texi:5956
  3103. #, no-wrap
  3104. msgid "Invoking guix environment"
  3105. msgstr ""
  3106. #. type: menuentry
  3107. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3108. msgid "Setting up development environments."
  3109. msgstr ""
  3110. #. type: node
  3111. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3112. #: guix-git/doc/guix.texi:6325
  3113. #, no-wrap
  3114. msgid "Invoking guix pack"
  3115. msgstr ""
  3116. #. type: menuentry
  3117. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3118. msgid "Creating software bundles."
  3119. msgstr ""
  3120. #. type: section
  3121. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3122. #: guix-git/doc/guix.texi:6711 guix-git/doc/guix.texi:6712
  3123. #, no-wrap
  3124. msgid "The GCC toolchain"
  3125. msgstr ""
  3126. #. type: menuentry
  3127. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3128. msgid "Working with languages supported by GCC."
  3129. msgstr ""
  3130. #. type: node
  3131. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3132. #: guix-git/doc/guix.texi:6737
  3133. #, no-wrap
  3134. msgid "Invoking guix git authenticate"
  3135. msgstr ""
  3136. #. type: menuentry
  3137. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3138. msgid "Authenticating Git repositories."
  3139. msgstr ""
  3140. #. type: section
  3141. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3142. #: guix-git/doc/guix.texi:6841 guix-git/doc/guix.texi:6842
  3143. #, no-wrap
  3144. msgid "Package Modules"
  3145. msgstr ""
  3146. #. type: menuentry
  3147. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3148. msgid "Packages from the programmer's viewpoint."
  3149. msgstr ""
  3150. #. type: section
  3151. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:289
  3152. #: guix-git/doc/guix.texi:6839 guix-git/doc/guix.texi:6903
  3153. #: guix-git/doc/guix.texi:6904
  3154. #, no-wrap
  3155. msgid "Defining Packages"
  3156. msgstr ""
  3157. #. type: menuentry
  3158. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3159. msgid "Defining new packages."
  3160. msgstr ""
  3161. #. type: section
  3162. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3163. #: guix-git/doc/guix.texi:7554 guix-git/doc/guix.texi:7555
  3164. #, no-wrap
  3165. msgid "Defining Package Variants"
  3166. msgstr ""
  3167. #. type: menuentry
  3168. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3169. msgid "Customizing packages."
  3170. msgstr ""
  3171. #. type: section
  3172. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3173. #: guix-git/doc/guix.texi:7821 guix-git/doc/guix.texi:7822
  3174. #, no-wrap
  3175. msgid "Build Systems"
  3176. msgstr ""
  3177. #. type: menuentry
  3178. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3179. msgid "Specifying how packages are built."
  3180. msgstr ""
  3181. #. type: subsection
  3182. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3183. #: guix-git/doc/guix.texi:8861 guix-git/doc/guix.texi:8862
  3184. #: guix-git/doc/guix.texi:9292
  3185. #, no-wrap
  3186. msgid "Build Phases"
  3187. msgstr ""
  3188. #. type: menuentry
  3189. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3190. msgid "Phases of the build process of a package."
  3191. msgstr ""
  3192. #. type: section
  3193. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3194. #: guix-git/doc/guix.texi:9055 guix-git/doc/guix.texi:9056
  3195. #, no-wrap
  3196. msgid "Build Utilities"
  3197. msgstr ""
  3198. #. type: menuentry
  3199. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3200. msgid "Helpers for your package definitions and more."
  3201. msgstr ""
  3202. #. type: section
  3203. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3204. #: guix-git/doc/guix.texi:9369 guix-git/doc/guix.texi:9370
  3205. #, no-wrap
  3206. msgid "The Store"
  3207. msgstr ""
  3208. #. type: menuentry
  3209. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3210. msgid "Manipulating the package store."
  3211. msgstr ""
  3212. #. type: section
  3213. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3214. #: guix-git/doc/guix.texi:9522 guix-git/doc/guix.texi:9523
  3215. #, no-wrap
  3216. msgid "Derivations"
  3217. msgstr ""
  3218. #. type: menuentry
  3219. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3220. msgid "Low-level interface to package derivations."
  3221. msgstr ""
  3222. #. type: section
  3223. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3224. #: guix-git/doc/guix.texi:9716 guix-git/doc/guix.texi:9717
  3225. #, no-wrap
  3226. msgid "The Store Monad"
  3227. msgstr ""
  3228. #. type: menuentry
  3229. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3230. msgid "Purely functional interface to the store."
  3231. msgstr ""
  3232. #. type: section
  3233. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3234. #: guix-git/doc/guix.texi:10035 guix-git/doc/guix.texi:10036
  3235. #, no-wrap
  3236. msgid "G-Expressions"
  3237. msgstr ""
  3238. #. type: menuentry
  3239. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3240. msgid "Manipulating build expressions."
  3241. msgstr ""
  3242. #. type: node
  3243. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3244. #: guix-git/doc/guix.texi:10674
  3245. #, no-wrap
  3246. msgid "Invoking guix repl"
  3247. msgstr ""
  3248. #. type: menuentry
  3249. #: guix-git/doc/guix.texi:287
  3250. msgid "Programming Guix in Guile."
  3251. msgstr ""
  3252. #. type: node
  3253. #: guix-git/doc/guix.texi:292 guix-git/doc/guix.texi:7100
  3254. #: guix-git/doc/guix.texi:7103
  3255. #, no-wrap
  3256. msgid "package Reference"
  3257. msgstr ""
  3258. #. type: menuentry
  3259. #: guix-git/doc/guix.texi:292 guix-git/doc/guix.texi:7100
  3260. msgid "The package data type."
  3261. msgstr ""
  3262. #. type: node
  3263. #: guix-git/doc/guix.texi:292 guix-git/doc/guix.texi:7100
  3264. #: guix-git/doc/guix.texi:7362
  3265. #, no-wrap
  3266. msgid "origin Reference"
  3267. msgstr ""
  3268. #. type: menuentry
  3269. #: guix-git/doc/guix.texi:292 guix-git/doc/guix.texi:7100
  3270. msgid "The origin data type."
  3271. msgstr ""
  3272. #. type: node
  3273. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3274. #: guix-git/doc/guix.texi:10801
  3275. #, no-wrap
  3276. msgid "Invoking guix build"
  3277. msgstr ""
  3278. #. type: menuentry
  3279. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3280. msgid "Building packages from the command line."
  3281. msgstr ""
  3282. #. type: node
  3283. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3284. #: guix-git/doc/guix.texi:11699
  3285. #, no-wrap
  3286. msgid "Invoking guix edit"
  3287. msgstr ""
  3288. #. type: menuentry
  3289. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3290. msgid "Editing package definitions."
  3291. msgstr ""
  3292. #. type: node
  3293. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3294. #: guix-git/doc/guix.texi:11729
  3295. #, no-wrap
  3296. msgid "Invoking guix download"
  3297. msgstr ""
  3298. #. type: menuentry
  3299. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3300. msgid "Downloading a file and printing its hash."
  3301. msgstr ""
  3302. #. type: node
  3303. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3304. #: guix-git/doc/guix.texi:11787
  3305. #, no-wrap
  3306. msgid "Invoking guix hash"
  3307. msgstr ""
  3308. #. type: menuentry
  3309. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3310. msgid "Computing the cryptographic hash of a file."
  3311. msgstr ""
  3312. #. type: node
  3313. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3314. #: guix-git/doc/guix.texi:11877
  3315. #, no-wrap
  3316. msgid "Invoking guix import"
  3317. msgstr ""
  3318. #. type: menuentry
  3319. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3320. msgid "Importing package definitions."
  3321. msgstr ""
  3322. #. type: node
  3323. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3324. #: guix-git/doc/guix.texi:12412
  3325. #, no-wrap
  3326. msgid "Invoking guix refresh"
  3327. msgstr ""
  3328. #. type: menuentry
  3329. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3330. msgid "Updating package definitions."
  3331. msgstr ""
  3332. #. type: node
  3333. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3334. #: guix-git/doc/guix.texi:12784
  3335. #, no-wrap
  3336. msgid "Invoking guix style"
  3337. msgstr ""
  3338. #. type: menuentry
  3339. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3340. #, fuzzy
  3341. #| msgid "Updating the Guix package definition."
  3342. msgid "Styling package definitions."
  3343. msgstr "Aktualizovať zadanie balíka Guix."
  3344. #. type: node
  3345. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3346. #: guix-git/doc/guix.texi:12880
  3347. #, no-wrap
  3348. msgid "Invoking guix lint"
  3349. msgstr ""
  3350. #. type: menuentry
  3351. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3352. msgid "Finding errors in package definitions."
  3353. msgstr ""
  3354. #. type: node
  3355. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3356. #: guix-git/doc/guix.texi:13056
  3357. #, no-wrap
  3358. msgid "Invoking guix size"
  3359. msgstr ""
  3360. #. type: menuentry
  3361. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3362. msgid "Profiling disk usage."
  3363. msgstr ""
  3364. #. type: node
  3365. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3366. #: guix-git/doc/guix.texi:13200
  3367. #, no-wrap
  3368. msgid "Invoking guix graph"
  3369. msgstr ""
  3370. #. type: menuentry
  3371. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3372. msgid "Visualizing the graph of packages."
  3373. msgstr ""
  3374. #. type: node
  3375. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3376. #: guix-git/doc/guix.texi:13481
  3377. #, no-wrap
  3378. msgid "Invoking guix publish"
  3379. msgstr ""
  3380. #. type: menuentry
  3381. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3382. msgid "Sharing substitutes."
  3383. msgstr ""
  3384. #. type: node
  3385. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3386. #: guix-git/doc/guix.texi:13750
  3387. #, no-wrap
  3388. msgid "Invoking guix challenge"
  3389. msgstr ""
  3390. #. type: menuentry
  3391. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3392. msgid "Challenging substitute servers."
  3393. msgstr ""
  3394. #. type: node
  3395. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3396. #: guix-git/doc/guix.texi:13933
  3397. #, no-wrap
  3398. msgid "Invoking guix copy"
  3399. msgstr ""
  3400. #. type: menuentry
  3401. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3402. msgid "Copying to and from a remote store."
  3403. msgstr ""
  3404. #. type: node
  3405. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3406. #: guix-git/doc/guix.texi:13996
  3407. #, no-wrap
  3408. msgid "Invoking guix container"
  3409. msgstr ""
  3410. #. type: menuentry
  3411. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3412. msgid "Process isolation."
  3413. msgstr ""
  3414. #. type: node
  3415. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3416. #: guix-git/doc/guix.texi:14050
  3417. #, no-wrap
  3418. msgid "Invoking guix weather"
  3419. msgstr ""
  3420. #. type: menuentry
  3421. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3422. msgid "Assessing substitute availability."
  3423. msgstr ""
  3424. #. type: node
  3425. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3426. #: guix-git/doc/guix.texi:14180
  3427. #, no-wrap
  3428. msgid "Invoking guix processes"
  3429. msgstr ""
  3430. #. type: menuentry
  3431. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3432. msgid "Listing client processes."
  3433. msgstr ""
  3434. #. type: section
  3435. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10802
  3436. #, no-wrap
  3437. msgid "Invoking @command{guix build}"
  3438. msgstr ""
  3439. #. type: subsection
  3440. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3441. #: guix-git/doc/guix.texi:10855 guix-git/doc/guix.texi:10856
  3442. #, no-wrap
  3443. msgid "Common Build Options"
  3444. msgstr ""
  3445. #. type: menuentry
  3446. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3447. msgid "Build options for most commands."
  3448. msgstr ""
  3449. #. type: subsection
  3450. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3451. #: guix-git/doc/guix.texi:11010 guix-git/doc/guix.texi:11011
  3452. #, no-wrap
  3453. msgid "Package Transformation Options"
  3454. msgstr ""
  3455. #. type: menuentry
  3456. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3457. msgid "Creating variants of packages."
  3458. msgstr ""
  3459. #. type: subsection
  3460. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3461. #: guix-git/doc/guix.texi:11381 guix-git/doc/guix.texi:11382
  3462. #, no-wrap
  3463. msgid "Additional Build Options"
  3464. msgstr ""
  3465. #. type: menuentry
  3466. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3467. msgid "Options specific to 'guix build'."
  3468. msgstr ""
  3469. #. type: subsection
  3470. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3471. #: guix-git/doc/guix.texi:11619 guix-git/doc/guix.texi:11620
  3472. #, no-wrap
  3473. msgid "Debugging Build Failures"
  3474. msgstr ""
  3475. #. type: menuentry
  3476. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3477. msgid "Real life packaging experience."
  3478. msgstr ""
  3479. #. type: section
  3480. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3481. #: guix-git/doc/guix.texi:14324 guix-git/doc/guix.texi:14325
  3482. #, no-wrap
  3483. msgid "Using the Configuration System"
  3484. msgstr ""
  3485. #. type: menuentry
  3486. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3487. msgid "Customizing your GNU system."
  3488. msgstr ""
  3489. #. type: node
  3490. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3491. #: guix-git/doc/guix.texi:14575
  3492. #, no-wrap
  3493. msgid "operating-system Reference"
  3494. msgstr ""
  3495. #. type: menuentry
  3496. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3497. msgid "Detail of operating-system declarations."
  3498. msgstr ""
  3499. #. type: section
  3500. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3501. #: guix-git/doc/guix.texi:14798 guix-git/doc/guix.texi:14799
  3502. #, no-wrap
  3503. msgid "File Systems"
  3504. msgstr ""
  3505. #. type: menuentry
  3506. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3507. msgid "Configuring file system mounts."
  3508. msgstr ""
  3509. #. type: section
  3510. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3511. #: guix-git/doc/guix.texi:15151 guix-git/doc/guix.texi:15152
  3512. #, no-wrap
  3513. msgid "Mapped Devices"
  3514. msgstr ""
  3515. #. type: menuentry
  3516. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3517. msgid "Block device extra processing."
  3518. msgstr ""
  3519. #. type: section
  3520. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3521. #: guix-git/doc/guix.texi:15300 guix-git/doc/guix.texi:15301
  3522. #, no-wrap
  3523. msgid "Swap Space"
  3524. msgstr ""
  3525. #. type: menuentry
  3526. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3527. msgid "Backing RAM with disk space."
  3528. msgstr ""
  3529. #. type: section
  3530. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3531. #: guix-git/doc/guix.texi:15400 guix-git/doc/guix.texi:15401
  3532. #, no-wrap
  3533. msgid "User Accounts"
  3534. msgstr ""
  3535. #. type: menuentry
  3536. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3537. msgid "Specifying user accounts."
  3538. msgstr ""
  3539. #. type: section
  3540. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:2308
  3541. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:15581
  3542. #: guix-git/doc/guix.texi:15582
  3543. #, no-wrap
  3544. msgid "Keyboard Layout"
  3545. msgstr ""
  3546. #. type: menuentry
  3547. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3548. msgid "How the system interprets key strokes."
  3549. msgstr ""
  3550. #. type: section
  3551. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:1835
  3552. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:15727
  3553. #: guix-git/doc/guix.texi:15728
  3554. #, no-wrap
  3555. msgid "Locales"
  3556. msgstr ""
  3557. #. type: menuentry
  3558. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3559. msgid "Language and cultural convention settings."
  3560. msgstr ""
  3561. #. type: section
  3562. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:345
  3563. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:15867
  3564. #: guix-git/doc/guix.texi:15868
  3565. #, no-wrap
  3566. msgid "Services"
  3567. msgstr "Služby"
  3568. #. type: menuentry
  3569. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3570. msgid "Specifying system services."
  3571. msgstr ""
  3572. #. type: section
  3573. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3574. #: guix-git/doc/guix.texi:34056 guix-git/doc/guix.texi:34057
  3575. #, no-wrap
  3576. msgid "Setuid Programs"
  3577. msgstr ""
  3578. #. type: menuentry
  3579. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3580. msgid "Programs running with root privileges."
  3581. msgstr ""
  3582. #. type: section
  3583. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:1984
  3584. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:34140
  3585. #: guix-git/doc/guix.texi:34141
  3586. #, no-wrap
  3587. msgid "X.509 Certificates"
  3588. msgstr ""
  3589. #. type: menuentry
  3590. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3591. msgid "Authenticating HTTPS servers."
  3592. msgstr ""
  3593. #. type: section
  3594. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:1878
  3595. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:34203
  3596. #: guix-git/doc/guix.texi:34204
  3597. #, no-wrap
  3598. msgid "Name Service Switch"
  3599. msgstr ""
  3600. #. type: menuentry
  3601. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3602. msgid "Configuring libc's name service switch."
  3603. msgstr ""
  3604. #. type: section
  3605. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3606. #: guix-git/doc/guix.texi:34341 guix-git/doc/guix.texi:34342
  3607. #, no-wrap
  3608. msgid "Initial RAM Disk"
  3609. msgstr ""
  3610. #. type: menuentry
  3611. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3612. msgid "Linux-Libre bootstrapping."
  3613. msgstr ""
  3614. #. type: section
  3615. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3616. #: guix-git/doc/guix.texi:34536 guix-git/doc/guix.texi:34537
  3617. #, no-wrap
  3618. msgid "Bootloader Configuration"
  3619. msgstr ""
  3620. #. type: menuentry
  3621. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3622. msgid "Configuring the boot loader."
  3623. msgstr ""
  3624. #. type: node
  3625. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3626. #: guix-git/doc/guix.texi:34834
  3627. #, no-wrap
  3628. msgid "Invoking guix system"
  3629. msgstr ""
  3630. #. type: menuentry
  3631. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3632. msgid "Instantiating a system configuration."
  3633. msgstr ""
  3634. #. type: node
  3635. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3636. #: guix-git/doc/guix.texi:35425
  3637. #, no-wrap
  3638. msgid "Invoking guix deploy"
  3639. msgstr ""
  3640. #. type: menuentry
  3641. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3642. msgid "Deploying a system configuration to a remote host."
  3643. msgstr ""
  3644. #. type: node
  3645. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3646. #: guix-git/doc/guix.texi:35631
  3647. #, no-wrap
  3648. msgid "Running Guix in a VM"
  3649. msgstr ""
  3650. #. type: menuentry
  3651. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3652. msgid "How to run Guix System in a virtual machine."
  3653. msgstr ""
  3654. #. type: section
  3655. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:381
  3656. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:35765
  3657. #: guix-git/doc/guix.texi:35766
  3658. #, no-wrap
  3659. msgid "Defining Services"
  3660. msgstr ""
  3661. #. type: menuentry
  3662. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3663. msgid "Adding new service definitions."
  3664. msgstr ""
  3665. #. type: menuentry
  3666. #: guix-git/doc/guix.texi:341
  3667. #, fuzzy
  3668. #| msgid "System Configuration"
  3669. msgid "Home Environment Configuration"
  3670. msgstr "Nastavenie systému"
  3671. #. type: node
  3672. #: guix-git/doc/guix.texi:343 guix-git/doc/guix.texi:36944
  3673. #: guix-git/doc/guix.texi:37478
  3674. #, no-wrap
  3675. msgid "Invoking guix home"
  3676. msgstr ""
  3677. #. type: menuentry
  3678. #: guix-git/doc/guix.texi:343
  3679. msgid "Instantiating a home environment configuration."
  3680. msgstr ""
  3681. #. type: subsection
  3682. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3683. #: guix-git/doc/guix.texi:15953 guix-git/doc/guix.texi:15954
  3684. #, no-wrap
  3685. msgid "Base Services"
  3686. msgstr ""
  3687. #. type: menuentry
  3688. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3689. msgid "Essential system services."
  3690. msgstr ""
  3691. #. type: subsection
  3692. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3693. #: guix-git/doc/guix.texi:16880 guix-git/doc/guix.texi:16881
  3694. #, no-wrap
  3695. msgid "Scheduled Job Execution"
  3696. msgstr ""
  3697. #. type: menuentry
  3698. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3699. msgid "The mcron service."
  3700. msgstr ""
  3701. #. type: subsection
  3702. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3703. #: guix-git/doc/guix.texi:17030 guix-git/doc/guix.texi:17031
  3704. #, no-wrap
  3705. msgid "Log Rotation"
  3706. msgstr ""
  3707. #. type: menuentry
  3708. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3709. msgid "The rottlog service."
  3710. msgstr ""
  3711. #. type: subsection
  3712. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3713. #: guix-git/doc/guix.texi:17143 guix-git/doc/guix.texi:17144
  3714. #, no-wrap
  3715. msgid "Networking Setup"
  3716. msgstr ""
  3717. #. type: menuentry
  3718. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3719. msgid "Setting up network interfaces."
  3720. msgstr ""
  3721. #. type: subsection
  3722. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3723. #: guix-git/doc/guix.texi:17561 guix-git/doc/guix.texi:17562
  3724. #, no-wrap
  3725. msgid "Networking Services"
  3726. msgstr ""
  3727. #. type: menuentry
  3728. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3729. msgid "Firewall, SSH daemon, etc."
  3730. msgstr ""
  3731. #. type: subsection
  3732. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3733. #: guix-git/doc/guix.texi:19020 guix-git/doc/guix.texi:19021
  3734. #, no-wrap
  3735. msgid "Unattended Upgrades"
  3736. msgstr ""
  3737. #. type: menuentry
  3738. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3739. msgid "Automated system upgrades."
  3740. msgstr ""
  3741. #. type: subsection
  3742. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3743. #: guix-git/doc/guix.texi:19158 guix-git/doc/guix.texi:19159
  3744. #, no-wrap
  3745. msgid "X Window"
  3746. msgstr ""
  3747. #. type: menuentry
  3748. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3749. msgid "Graphical display."
  3750. msgstr ""
  3751. #. type: subsection
  3752. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3753. #: guix-git/doc/guix.texi:19556 guix-git/doc/guix.texi:19557
  3754. #, no-wrap
  3755. msgid "Printing Services"
  3756. msgstr ""
  3757. #. type: menuentry
  3758. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3759. msgid "Local and remote printer support."
  3760. msgstr ""
  3761. #. type: subsection
  3762. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3763. #: guix-git/doc/guix.texi:20409 guix-git/doc/guix.texi:20410
  3764. #, no-wrap
  3765. msgid "Desktop Services"
  3766. msgstr ""
  3767. #. type: menuentry
  3768. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3769. msgid "D-Bus and desktop services."
  3770. msgstr ""
  3771. #. type: subsection
  3772. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3773. #: guix-git/doc/guix.texi:20928 guix-git/doc/guix.texi:20929
  3774. #, no-wrap
  3775. msgid "Sound Services"
  3776. msgstr ""
  3777. #. type: menuentry
  3778. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3779. msgid "ALSA and Pulseaudio services."
  3780. msgstr ""
  3781. #. type: subsection
  3782. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3783. #: guix-git/doc/guix.texi:21068 guix-git/doc/guix.texi:21069
  3784. #, no-wrap
  3785. msgid "Database Services"
  3786. msgstr ""
  3787. #. type: menuentry
  3788. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3789. msgid "SQL databases, key-value stores, etc."
  3790. msgstr ""
  3791. #. type: subsection
  3792. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3793. #: guix-git/doc/guix.texi:21403 guix-git/doc/guix.texi:21404
  3794. #, no-wrap
  3795. msgid "Mail Services"
  3796. msgstr ""
  3797. #. type: menuentry
  3798. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3799. msgid "IMAP, POP3, SMTP, and all that."
  3800. msgstr ""
  3801. #. type: subsection
  3802. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3803. #: guix-git/doc/guix.texi:23262 guix-git/doc/guix.texi:23263
  3804. #, no-wrap
  3805. msgid "Messaging Services"
  3806. msgstr ""
  3807. #. type: menuentry
  3808. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3809. msgid "Messaging services."
  3810. msgstr ""
  3811. #. type: subsection
  3812. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3813. #: guix-git/doc/guix.texi:23765 guix-git/doc/guix.texi:23766
  3814. #, no-wrap
  3815. msgid "Telephony Services"
  3816. msgstr ""
  3817. #. type: menuentry
  3818. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3819. msgid "Telephony services."
  3820. msgstr ""
  3821. #. type: subsection
  3822. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3823. #: guix-git/doc/guix.texi:24996 guix-git/doc/guix.texi:24997
  3824. #, no-wrap
  3825. msgid "Monitoring Services"
  3826. msgstr ""
  3827. #. type: menuentry
  3828. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3829. msgid "Monitoring services."
  3830. msgstr ""
  3831. #. type: subsection
  3832. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3833. #: guix-git/doc/guix.texi:25507 guix-git/doc/guix.texi:25508
  3834. #, no-wrap
  3835. msgid "Kerberos Services"
  3836. msgstr ""
  3837. #. type: menuentry
  3838. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3839. msgid "Kerberos services."
  3840. msgstr ""
  3841. #. type: subsection
  3842. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3843. #: guix-git/doc/guix.texi:25633 guix-git/doc/guix.texi:25634
  3844. #, no-wrap
  3845. msgid "LDAP Services"
  3846. msgstr ""
  3847. #. type: menuentry
  3848. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3849. msgid "LDAP services."
  3850. msgstr ""
  3851. #. type: subsection
  3852. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3853. #: guix-git/doc/guix.texi:26112 guix-git/doc/guix.texi:26113
  3854. #, no-wrap
  3855. msgid "Web Services"
  3856. msgstr ""
  3857. #. type: menuentry
  3858. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3859. msgid "Web servers."
  3860. msgstr ""
  3861. #. type: subsection
  3862. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3863. #: guix-git/doc/guix.texi:27320 guix-git/doc/guix.texi:27321
  3864. #, no-wrap
  3865. msgid "Certificate Services"
  3866. msgstr ""
  3867. #. type: menuentry
  3868. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3869. msgid "TLS certificates via Let's Encrypt."
  3870. msgstr ""
  3871. #. type: subsection
  3872. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3873. #: guix-git/doc/guix.texi:27501 guix-git/doc/guix.texi:27502
  3874. #, no-wrap
  3875. msgid "DNS Services"
  3876. msgstr ""
  3877. #. type: menuentry
  3878. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3879. msgid "DNS daemons."
  3880. msgstr ""
  3881. #. type: subsection
  3882. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3883. #: guix-git/doc/guix.texi:28246 guix-git/doc/guix.texi:28247
  3884. #, no-wrap
  3885. msgid "VPN Services"
  3886. msgstr ""
  3887. #. type: menuentry
  3888. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3889. msgid "VPN daemons."
  3890. msgstr ""
  3891. #. type: subsection
  3892. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3893. #: guix-git/doc/guix.texi:28758 guix-git/doc/guix.texi:28759
  3894. #, no-wrap
  3895. msgid "Network File System"
  3896. msgstr ""
  3897. #. type: menuentry
  3898. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3899. msgid "NFS related services."
  3900. msgstr ""
  3901. #. type: subsection
  3902. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3903. #: guix-git/doc/guix.texi:28954 guix-git/doc/guix.texi:28955
  3904. #, no-wrap
  3905. msgid "Continuous Integration"
  3906. msgstr ""
  3907. #. type: menuentry
  3908. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3909. msgid "Cuirass and Laminar services."
  3910. msgstr ""
  3911. #. type: subsection
  3912. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3913. #: guix-git/doc/guix.texi:29240 guix-git/doc/guix.texi:29241
  3914. #, no-wrap
  3915. msgid "Power Management Services"
  3916. msgstr ""
  3917. #. type: menuentry
  3918. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3919. msgid "Extending battery life."
  3920. msgstr ""
  3921. #. type: subsection
  3922. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3923. #: guix-git/doc/guix.texi:29774 guix-git/doc/guix.texi:29775
  3924. #, no-wrap
  3925. msgid "Audio Services"
  3926. msgstr ""
  3927. #. type: menuentry
  3928. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3929. msgid "The MPD."
  3930. msgstr ""
  3931. #. type: subsection
  3932. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3933. #: guix-git/doc/guix.texi:29893 guix-git/doc/guix.texi:29894
  3934. #, no-wrap
  3935. msgid "Virtualization Services"
  3936. msgstr ""
  3937. #. type: menuentry
  3938. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3939. msgid "Virtualization services."
  3940. msgstr ""
  3941. #. type: subsection
  3942. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3943. #: guix-git/doc/guix.texi:31561 guix-git/doc/guix.texi:31562
  3944. #, no-wrap
  3945. msgid "Version Control Services"
  3946. msgstr ""
  3947. #. type: menuentry
  3948. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3949. msgid "Providing remote access to Git repositories."
  3950. msgstr ""
  3951. #. type: subsection
  3952. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3953. #: guix-git/doc/guix.texi:32897 guix-git/doc/guix.texi:32898
  3954. #, no-wrap
  3955. msgid "Game Services"
  3956. msgstr ""
  3957. #. type: menuentry
  3958. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3959. msgid "Game servers."
  3960. msgstr ""
  3961. #. type: subsection
  3962. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3963. #: guix-git/doc/guix.texi:32929 guix-git/doc/guix.texi:32930
  3964. #, no-wrap
  3965. msgid "PAM Mount Service"
  3966. msgstr ""
  3967. #. type: menuentry
  3968. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3969. msgid "Service to mount volumes when logging in."
  3970. msgstr ""
  3971. #. type: subsection
  3972. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3973. #: guix-git/doc/guix.texi:33012 guix-git/doc/guix.texi:33013
  3974. #, no-wrap
  3975. msgid "Guix Services"
  3976. msgstr ""
  3977. #. type: menuentry
  3978. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3979. msgid "Services relating specifically to Guix."
  3980. msgstr ""
  3981. #. type: subsection
  3982. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3983. #: guix-git/doc/guix.texi:33290 guix-git/doc/guix.texi:33291
  3984. #, no-wrap
  3985. msgid "Linux Services"
  3986. msgstr ""
  3987. #. type: menuentry
  3988. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3989. msgid "Services tied to the Linux kernel."
  3990. msgstr ""
  3991. #. type: subsection
  3992. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3993. #: guix-git/doc/guix.texi:33517 guix-git/doc/guix.texi:33518
  3994. #, no-wrap
  3995. msgid "Hurd Services"
  3996. msgstr ""
  3997. #. type: menuentry
  3998. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3999. msgid "Services specific for a Hurd System."
  4000. msgstr ""
  4001. #. type: subsection
  4002. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  4003. #: guix-git/doc/guix.texi:33559 guix-git/doc/guix.texi:33560
  4004. #, no-wrap
  4005. msgid "Miscellaneous Services"
  4006. msgstr ""
  4007. #. type: menuentry
  4008. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  4009. msgid "Other services."
  4010. msgstr ""
  4011. #. type: subsection
  4012. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4013. #: guix-git/doc/guix.texi:35780 guix-git/doc/guix.texi:35781
  4014. #, no-wrap
  4015. msgid "Service Composition"
  4016. msgstr ""
  4017. #. type: menuentry
  4018. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4019. msgid "The model for composing services."
  4020. msgstr ""
  4021. #. type: subsection
  4022. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4023. #: guix-git/doc/guix.texi:35836 guix-git/doc/guix.texi:35837
  4024. #, no-wrap
  4025. msgid "Service Types and Services"
  4026. msgstr ""
  4027. #. type: menuentry
  4028. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4029. msgid "Types and services."
  4030. msgstr ""
  4031. #. type: subsection
  4032. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4033. #: guix-git/doc/guix.texi:35973 guix-git/doc/guix.texi:35974
  4034. #, no-wrap
  4035. msgid "Service Reference"
  4036. msgstr ""
  4037. #. type: menuentry
  4038. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4039. msgid "API reference."
  4040. msgstr ""
  4041. #. type: subsection
  4042. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4043. #: guix-git/doc/guix.texi:36292 guix-git/doc/guix.texi:36293
  4044. #, no-wrap
  4045. msgid "Shepherd Services"
  4046. msgstr ""
  4047. #. type: menuentry
  4048. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4049. msgid "A particular type of service."
  4050. msgstr ""
  4051. #. type: subsection
  4052. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4053. #: guix-git/doc/guix.texi:36511 guix-git/doc/guix.texi:36512
  4054. #, fuzzy, no-wrap
  4055. #| msgid "System Configuration"
  4056. msgid "Complex Configurations"
  4057. msgstr "Nastavenie systému"
  4058. #. type: menuentry
  4059. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4060. msgid "Defining bindings for complex configurations."
  4061. msgstr ""
  4062. #. type: section
  4063. #: guix-git/doc/guix.texi:392 guix-git/doc/guix.texi:37804
  4064. #: guix-git/doc/guix.texi:37806 guix-git/doc/guix.texi:37807
  4065. #, no-wrap
  4066. msgid "Separate Debug Info"
  4067. msgstr ""
  4068. #. type: menuentry
  4069. #: guix-git/doc/guix.texi:392 guix-git/doc/guix.texi:37804
  4070. msgid "Installing 'debug' outputs."
  4071. msgstr ""
  4072. #. type: section
  4073. #: guix-git/doc/guix.texi:392 guix-git/doc/guix.texi:37804
  4074. #: guix-git/doc/guix.texi:37879 guix-git/doc/guix.texi:37880
  4075. #, no-wrap
  4076. msgid "Rebuilding Debug Info"
  4077. msgstr ""
  4078. #. type: menuentry
  4079. #: guix-git/doc/guix.texi:392 guix-git/doc/guix.texi:37804
  4080. msgid "Building missing debug info."
  4081. msgstr ""
  4082. #. type: node
  4083. #: guix-git/doc/guix.texi:397 guix-git/doc/guix.texi:38096
  4084. #: guix-git/doc/guix.texi:38098
  4085. #, no-wrap
  4086. msgid "Reduced Binary Seed Bootstrap"
  4087. msgstr ""
  4088. #. type: menuentry
  4089. #: guix-git/doc/guix.texi:397 guix-git/doc/guix.texi:38096
  4090. msgid "A Bootstrap worthy of GNU."
  4091. msgstr ""
  4092. #. type: section
  4093. #: guix-git/doc/guix.texi:397 guix-git/doc/guix.texi:38096
  4094. #: guix-git/doc/guix.texi:38173 guix-git/doc/guix.texi:38174
  4095. #, no-wrap
  4096. msgid "Preparing to Use the Bootstrap Binaries"
  4097. msgstr ""
  4098. #. type: menuentry
  4099. #: guix-git/doc/guix.texi:397 guix-git/doc/guix.texi:38096
  4100. msgid "Building that what matters most."
  4101. msgstr ""
  4102. #. type: cindex
  4103. #: guix-git/doc/guix.texi:405
  4104. #, no-wrap
  4105. msgid "purpose"
  4106. msgstr ""
  4107. #. type: Plain text
  4108. #: guix-git/doc/guix.texi:413
  4109. 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."
  4110. msgstr ""
  4111. #. type: cindex
  4112. #: guix-git/doc/guix.texi:414 guix-git/doc/guix.texi:489
  4113. #, no-wrap
  4114. msgid "Guix System"
  4115. msgstr ""
  4116. #. type: cindex
  4117. #: guix-git/doc/guix.texi:415
  4118. #, no-wrap
  4119. msgid "GuixSD, now Guix System"
  4120. msgstr ""
  4121. #. type: cindex
  4122. #: guix-git/doc/guix.texi:416
  4123. #, no-wrap
  4124. msgid "Guix System Distribution, now Guix System"
  4125. msgstr ""
  4126. #. type: Plain text
  4127. #: guix-git/doc/guix.texi:425
  4128. 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}."
  4129. msgstr ""
  4130. #. type: cindex
  4131. #: guix-git/doc/guix.texi:434
  4132. #, no-wrap
  4133. msgid "user interfaces"
  4134. msgstr ""
  4135. #. type: Plain text
  4136. #: guix-git/doc/guix.texi:440
  4137. 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})."
  4138. msgstr ""
  4139. #. type: cindex
  4140. #: guix-git/doc/guix.texi:440
  4141. #, no-wrap
  4142. msgid "build daemon"
  4143. msgstr ""
  4144. #. type: Plain text
  4145. #: guix-git/doc/guix.texi:444
  4146. 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})."
  4147. msgstr ""
  4148. #. type: cindex
  4149. #: guix-git/doc/guix.texi:445
  4150. #, no-wrap
  4151. msgid "extensibility of the distribution"
  4152. msgstr ""
  4153. #. type: cindex
  4154. #: guix-git/doc/guix.texi:446 guix-git/doc/guix.texi:6863
  4155. #, no-wrap
  4156. msgid "customization, of packages"
  4157. msgstr ""
  4158. #. type: Plain text
  4159. #: guix-git/doc/guix.texi:455
  4160. 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})."
  4161. msgstr ""
  4162. #. type: cindex
  4163. #: guix-git/doc/guix.texi:456
  4164. #, no-wrap
  4165. msgid "functional package management"
  4166. msgstr ""
  4167. #. type: cindex
  4168. #: guix-git/doc/guix.texi:457
  4169. #, no-wrap
  4170. msgid "isolation"
  4171. msgstr ""
  4172. #. type: Plain text
  4173. #: guix-git/doc/guix.texi:472
  4174. 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."
  4175. msgstr ""
  4176. #. type: cindex
  4177. #: guix-git/doc/guix.texi:473 guix-git/doc/guix.texi:9372
  4178. #, no-wrap
  4179. msgid "store"
  4180. msgstr ""
  4181. #. type: Plain text
  4182. #: guix-git/doc/guix.texi:480
  4183. 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."
  4184. msgstr ""
  4185. #. type: Plain text
  4186. #: guix-git/doc/guix.texi:484
  4187. 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})."
  4188. msgstr ""
  4189. #. type: Plain text
  4190. #: guix-git/doc/guix.texi:499
  4191. 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."
  4192. msgstr ""
  4193. #. type: Plain text
  4194. #: guix-git/doc/guix.texi:505
  4195. 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}):"
  4196. msgstr ""
  4197. #. type: example
  4198. #: guix-git/doc/guix.texi:508
  4199. #, no-wrap
  4200. msgid "guix package --list-available\n"
  4201. msgstr ""
  4202. #. type: Plain text
  4203. #: guix-git/doc/guix.texi:514
  4204. 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."
  4205. msgstr ""
  4206. #. type: Plain text
  4207. #: guix-git/doc/guix.texi:516
  4208. msgid "Packages are currently available on the following platforms:"
  4209. msgstr ""
  4210. #. type: item
  4211. #: guix-git/doc/guix.texi:519 guix-git/doc/guix.texi:2155
  4212. #, no-wrap
  4213. msgid "x86_64-linux"
  4214. msgstr ""
  4215. #. type: table
  4216. #: guix-git/doc/guix.texi:521
  4217. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4218. msgstr ""
  4219. #. type: item
  4220. #: guix-git/doc/guix.texi:522 guix-git/doc/guix.texi:2158
  4221. #, no-wrap
  4222. msgid "i686-linux"
  4223. msgstr ""
  4224. #. type: table
  4225. #: guix-git/doc/guix.texi:524
  4226. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4227. msgstr ""
  4228. #. type: item
  4229. #: guix-git/doc/guix.texi:525
  4230. #, no-wrap
  4231. msgid "armhf-linux"
  4232. msgstr ""
  4233. #. type: table
  4234. #: guix-git/doc/guix.texi:529
  4235. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4236. msgstr ""
  4237. #. type: item
  4238. #: guix-git/doc/guix.texi:530
  4239. #, no-wrap
  4240. msgid "aarch64-linux"
  4241. msgstr ""
  4242. #. type: table
  4243. #: guix-git/doc/guix.texi:532
  4244. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4245. msgstr ""
  4246. #. type: item
  4247. #: guix-git/doc/guix.texi:533
  4248. #, no-wrap
  4249. msgid "i586-gnu"
  4250. msgstr ""
  4251. #. type: table
  4252. #: guix-git/doc/guix.texi:536
  4253. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4254. msgstr ""
  4255. #. type: table
  4256. #: guix-git/doc/guix.texi:542
  4257. 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!"
  4258. msgstr ""
  4259. #. type: item
  4260. #: guix-git/doc/guix.texi:543
  4261. #, no-wrap
  4262. msgid "mips64el-linux (unsupported)"
  4263. msgstr ""
  4264. #. type: table
  4265. #: guix-git/doc/guix.texi:549
  4266. 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."
  4267. msgstr ""
  4268. #. type: item
  4269. #: guix-git/doc/guix.texi:550
  4270. #, no-wrap
  4271. msgid "powerpc-linux (unsupported)"
  4272. msgstr ""
  4273. #. type: table
  4274. #: guix-git/doc/guix.texi:555
  4275. msgid "big-endian 32-bit PowerPC processors, specifically the PowerPC G4 with AltiVec support, and Linux-Libre kernel. This configuration is not fully supported and there is no ongoing work to ensure this architecture works."
  4276. msgstr ""
  4277. #. type: table
  4278. #: guix-git/doc/guix.texi:566
  4279. 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!"
  4280. msgstr ""
  4281. #. type: Plain text
  4282. #: guix-git/doc/guix.texi:576
  4283. 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."
  4284. msgstr ""
  4285. #. type: Plain text
  4286. #: guix-git/doc/guix.texi:579
  4287. msgid "Guix System is available on all the above platforms except @code{mips64el-linux} and @code{powerpc64le-linux}."
  4288. msgstr ""
  4289. #. type: Plain text
  4290. #: guix-git/doc/guix.texi:583
  4291. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4292. msgstr ""
  4293. #. type: Plain text
  4294. #: guix-git/doc/guix.texi:586
  4295. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4296. msgstr ""
  4297. #. type: cindex
  4298. #: guix-git/doc/guix.texi:592
  4299. #, no-wrap
  4300. msgid "installing Guix"
  4301. msgstr ""
  4302. #. type: quotation
  4303. #: guix-git/doc/guix.texi:604
  4304. 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."
  4305. msgstr ""
  4306. #. type: cindex
  4307. #: guix-git/doc/guix.texi:606 guix-git/doc/guix.texi:1830
  4308. #, no-wrap
  4309. msgid "foreign distro"
  4310. msgstr "cudzia distribúcia"
  4311. #. type: cindex
  4312. #: guix-git/doc/guix.texi:607
  4313. #, no-wrap
  4314. msgid "directories related to foreign distro"
  4315. msgstr ""
  4316. #. type: Plain text
  4317. #: guix-git/doc/guix.texi:612
  4318. 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."
  4319. msgstr ""
  4320. #. type: Plain text
  4321. #: guix-git/doc/guix.texi:615
  4322. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4323. msgstr ""
  4324. #. type: Plain text
  4325. #: guix-git/doc/guix.texi:620
  4326. 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."
  4327. msgstr ""
  4328. #. type: cindex
  4329. #: guix-git/doc/guix.texi:634
  4330. #, no-wrap
  4331. msgid "installing Guix from binaries"
  4332. msgstr ""
  4333. #. type: cindex
  4334. #: guix-git/doc/guix.texi:635
  4335. #, no-wrap
  4336. msgid "installer script"
  4337. msgstr ""
  4338. #. type: Plain text
  4339. #: guix-git/doc/guix.texi:641
  4340. 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."
  4341. msgstr ""
  4342. #. type: quotation
  4343. #: guix-git/doc/guix.texi:649
  4344. 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:"
  4345. msgstr ""
  4346. #. type: example
  4347. #: guix-git/doc/guix.texi:655
  4348. #, no-wrap
  4349. msgid ""
  4350. "cd /tmp\n"
  4351. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4352. "chmod +x guix-install.sh\n"
  4353. "./guix-install.sh\n"
  4354. msgstr ""
  4355. #. type: quotation
  4356. #: guix-git/doc/guix.texi:659
  4357. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4358. msgstr ""
  4359. #. type: Plain text
  4360. #: guix-git/doc/guix.texi:662
  4361. msgid "Installing goes along these lines:"
  4362. msgstr ""
  4363. #. type: cindex
  4364. #: guix-git/doc/guix.texi:665
  4365. #, no-wrap
  4366. msgid "downloading Guix binary"
  4367. msgstr ""
  4368. #. type: enumerate
  4369. #: guix-git/doc/guix.texi:671
  4370. 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})."
  4371. msgstr ""
  4372. #. type: enumerate
  4373. #: guix-git/doc/guix.texi:675
  4374. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4375. msgstr ""
  4376. #. type: example
  4377. #: guix-git/doc/guix.texi:679
  4378. #, no-wrap
  4379. msgid ""
  4380. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4381. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4382. msgstr ""
  4383. #. type: Plain text
  4384. #: guix-git/doc/guix.texi:683 guix-git/doc/guix.texi:2173
  4385. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4386. msgstr ""
  4387. #. type: example
  4388. #: guix-git/doc/guix.texi:687
  4389. #, no-wrap
  4390. msgid ""
  4391. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4392. " -qO - | gpg --import -\n"
  4393. msgstr ""
  4394. #. type: Plain text
  4395. #: guix-git/doc/guix.texi:691 guix-git/doc/guix.texi:2181
  4396. msgid "and rerun the @code{gpg --verify} command."
  4397. msgstr ""
  4398. #. type: Plain text
  4399. #: guix-git/doc/guix.texi:694 guix-git/doc/guix.texi:2184
  4400. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4401. msgstr ""
  4402. #. type: enumerate
  4403. #: guix-git/doc/guix.texi:700
  4404. 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:"
  4405. msgstr ""
  4406. #. type: example
  4407. #: guix-git/doc/guix.texi:706
  4408. #, no-wrap
  4409. msgid ""
  4410. "# cd /tmp\n"
  4411. "# tar --warning=no-timestamp -xf \\\n"
  4412. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4413. "# mv var/guix /var/ && mv gnu /\n"
  4414. msgstr ""
  4415. #. type: enumerate
  4416. #: guix-git/doc/guix.texi:711
  4417. 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)."
  4418. msgstr ""
  4419. #. type: enumerate
  4420. #: guix-git/doc/guix.texi:714
  4421. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4422. msgstr ""
  4423. #. type: enumerate
  4424. #: guix-git/doc/guix.texi:724
  4425. 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."
  4426. msgstr ""
  4427. #. type: enumerate
  4428. #: guix-git/doc/guix.texi:728
  4429. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4430. msgstr ""
  4431. #. type: example
  4432. #: guix-git/doc/guix.texi:733
  4433. #, no-wrap
  4434. msgid ""
  4435. "# mkdir -p ~root/.config/guix\n"
  4436. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4437. " ~root/.config/guix/current\n"
  4438. msgstr ""
  4439. #. type: enumerate
  4440. #: guix-git/doc/guix.texi:737
  4441. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4442. msgstr ""
  4443. #. type: example
  4444. #: guix-git/doc/guix.texi:741
  4445. #, no-wrap
  4446. msgid ""
  4447. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4448. " source $GUIX_PROFILE/etc/profile\n"
  4449. msgstr ""
  4450. #. type: enumerate
  4451. #: guix-git/doc/guix.texi:746
  4452. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4453. msgstr ""
  4454. #. type: enumerate
  4455. #: guix-git/doc/guix.texi:749
  4456. msgid "Run the daemon, and set it to automatically start on boot."
  4457. msgstr ""
  4458. #. type: enumerate
  4459. #: guix-git/doc/guix.texi:752
  4460. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4461. msgstr ""
  4462. #. type: example
  4463. #: guix-git/doc/guix.texi:765
  4464. #, no-wrap
  4465. msgid ""
  4466. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4467. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4468. " /etc/systemd/system/\n"
  4469. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4470. msgstr ""
  4471. #. type: enumerate
  4472. #: guix-git/doc/guix.texi:768
  4473. msgid "You may also want to arrange for @command{guix gc} to run periodically:"
  4474. msgstr ""
  4475. #. type: example
  4476. #: guix-git/doc/guix.texi:774
  4477. #, no-wrap
  4478. msgid ""
  4479. "# cp ~root/.config/guix/current/lib/systemd/system/guix-gc.service \\\n"
  4480. " ~root/.config/guix/current/lib/systemd/system/guix-gc.timer \\\n"
  4481. " /etc/systemd/system/\n"
  4482. "# systemctl enable --now guix-gc.timer\n"
  4483. msgstr ""
  4484. #. type: enumerate
  4485. #: guix-git/doc/guix.texi:778
  4486. msgid "You may want to edit @file{guix-gc.service} to adjust the command line options to fit your needs (@pxref{Invoking guix gc})."
  4487. msgstr ""
  4488. #. type: itemize
  4489. #: guix-git/doc/guix.texi:780 guix-git/doc/guix.texi:13740
  4490. msgid "If your host distro uses the Upstart init system:"
  4491. msgstr ""
  4492. #. type: example
  4493. #: guix-git/doc/guix.texi:786
  4494. #, no-wrap
  4495. msgid ""
  4496. "# initctl reload-configuration\n"
  4497. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4498. " /etc/init/\n"
  4499. "# start guix-daemon\n"
  4500. msgstr ""
  4501. #. type: enumerate
  4502. #: guix-git/doc/guix.texi:789
  4503. msgid "Otherwise, you can still start the daemon manually with:"
  4504. msgstr ""
  4505. #. type: example
  4506. #: guix-git/doc/guix.texi:793
  4507. #, no-wrap
  4508. msgid ""
  4509. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4510. " --build-users-group=guixbuild\n"
  4511. msgstr ""
  4512. #. type: enumerate
  4513. #: guix-git/doc/guix.texi:798
  4514. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4515. msgstr ""
  4516. #. type: example
  4517. #: guix-git/doc/guix.texi:803
  4518. #, no-wrap
  4519. msgid ""
  4520. "# mkdir -p /usr/local/bin\n"
  4521. "# cd /usr/local/bin\n"
  4522. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4523. msgstr ""
  4524. #. type: enumerate
  4525. #: guix-git/doc/guix.texi:807
  4526. msgid "It is also a good idea to make the Info version of this manual available there:"
  4527. msgstr ""
  4528. #. type: example
  4529. #: guix-git/doc/guix.texi:813
  4530. #, no-wrap
  4531. msgid ""
  4532. "# mkdir -p /usr/local/share/info\n"
  4533. "# cd /usr/local/share/info\n"
  4534. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4535. " do ln -s $i ; done\n"
  4536. msgstr ""
  4537. #. type: enumerate
  4538. #: guix-git/doc/guix.texi:819
  4539. 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)."
  4540. msgstr ""
  4541. #. type: cindex
  4542. #: guix-git/doc/guix.texi:821 guix-git/doc/guix.texi:3798
  4543. #: guix-git/doc/guix.texi:16494
  4544. #, no-wrap
  4545. msgid "substitutes, authorization thereof"
  4546. msgstr ""
  4547. #. type: enumerate
  4548. #: guix-git/doc/guix.texi:825
  4549. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4550. msgstr ""
  4551. #. type: example
  4552. #: guix-git/doc/guix.texi:831
  4553. #, no-wrap
  4554. msgid ""
  4555. "# guix archive --authorize < \\\n"
  4556. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4557. "# guix archive --authorize < \\\n"
  4558. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4559. msgstr ""
  4560. #. type: quotation
  4561. #: guix-git/doc/guix.texi:838
  4562. msgid "If you do not enable substitutes, Guix will end up building @emph{everything} from source on your machine, making each installation and upgrade very expensive. @xref{On Trusting Binaries}, for a discussion of reasons why one might want do disable substitutes."
  4563. msgstr ""
  4564. #. type: enumerate
  4565. #: guix-git/doc/guix.texi:843
  4566. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4567. msgstr ""
  4568. #. type: Plain text
  4569. #: guix-git/doc/guix.texi:846
  4570. msgid "Voilà, the installation is complete!"
  4571. msgstr ""
  4572. #. type: Plain text
  4573. #: guix-git/doc/guix.texi:849
  4574. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4575. msgstr ""
  4576. #. type: example
  4577. #: guix-git/doc/guix.texi:852
  4578. #, no-wrap
  4579. msgid "# guix install hello\n"
  4580. msgstr ""
  4581. #. type: Plain text
  4582. #: guix-git/doc/guix.texi:856
  4583. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4584. msgstr ""
  4585. #. type: example
  4586. #: guix-git/doc/guix.texi:859
  4587. #, no-wrap
  4588. msgid "make guix-binary.@var{system}.tar.xz\n"
  4589. msgstr ""
  4590. #. type: Plain text
  4591. #: guix-git/doc/guix.texi:863
  4592. msgid "...@: which, in turn, runs:"
  4593. msgstr ""
  4594. #. type: example
  4595. #: guix-git/doc/guix.texi:867
  4596. #, no-wrap
  4597. msgid ""
  4598. "guix pack -s @var{system} --localstatedir \\\n"
  4599. " --profile-name=current-guix guix\n"
  4600. msgstr ""
  4601. #. type: Plain text
  4602. #: guix-git/doc/guix.texi:870
  4603. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4604. msgstr ""
  4605. #. type: Plain text
  4606. #: guix-git/doc/guix.texi:878
  4607. 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."
  4608. msgstr ""
  4609. #. type: cindex
  4610. #: guix-git/doc/guix.texi:879
  4611. #, no-wrap
  4612. msgid "official website"
  4613. msgstr ""
  4614. #. type: Plain text
  4615. #: guix-git/doc/guix.texi:882
  4616. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4617. msgstr ""
  4618. #. type: Plain text
  4619. #: guix-git/doc/guix.texi:884
  4620. msgid "GNU Guix depends on the following packages:"
  4621. msgstr ""
  4622. #. type: item
  4623. #: guix-git/doc/guix.texi:886
  4624. #, fuzzy, no-wrap
  4625. #| msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4626. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x;"
  4627. msgstr "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4628. #. type: item
  4629. #: guix-git/doc/guix.texi:887
  4630. #, no-wrap
  4631. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4632. msgstr ""
  4633. #. type: itemize
  4634. #: guix-git/doc/guix.texi:889
  4635. msgid "0.1.0 or later;"
  4636. msgstr ""
  4637. #. type: itemize
  4638. #: guix-git/doc/guix.texi:893
  4639. 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});"
  4640. msgstr ""
  4641. #. type: itemize
  4642. #: guix-git/doc/guix.texi:896
  4643. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4644. msgstr ""
  4645. #. type: item
  4646. #: guix-git/doc/guix.texi:896
  4647. #, no-wrap
  4648. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4649. msgstr ""
  4650. #. type: itemize
  4651. #: guix-git/doc/guix.texi:898
  4652. msgid "version 0.1.0 or later;"
  4653. msgstr ""
  4654. #. type: item
  4655. #: guix-git/doc/guix.texi:898
  4656. #, no-wrap
  4657. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4658. msgstr ""
  4659. #. type: item
  4660. #: guix-git/doc/guix.texi:899
  4661. #, no-wrap
  4662. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4663. msgstr ""
  4664. #. type: itemize
  4665. #: guix-git/doc/guix.texi:903
  4666. #, fuzzy
  4667. #| msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4668. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4669. msgstr "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4670. #. type: item
  4671. #: guix-git/doc/guix.texi:903
  4672. #, no-wrap
  4673. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4674. msgstr ""
  4675. #. type: itemize
  4676. #: guix-git/doc/guix.texi:905
  4677. msgid "4.3.0 or later;"
  4678. msgstr ""
  4679. #. type: item
  4680. #: guix-git/doc/guix.texi:905
  4681. #, no-wrap
  4682. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4683. msgstr ""
  4684. #. type: Plain text
  4685. #: guix-git/doc/guix.texi:909
  4686. msgid "The following dependencies are optional:"
  4687. msgstr ""
  4688. #. type: itemize
  4689. #: guix-git/doc/guix.texi:917
  4690. 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."
  4691. msgstr ""
  4692. #. type: itemize
  4693. #: guix-git/doc/guix.texi:922
  4694. 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})."
  4695. msgstr ""
  4696. #. type: itemize
  4697. #: guix-git/doc/guix.texi:926
  4698. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4699. msgstr ""
  4700. #. type: itemize
  4701. #: guix-git/doc/guix.texi:931
  4702. 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})."
  4703. msgstr ""
  4704. #. type: itemize
  4705. #: guix-git/doc/guix.texi:935
  4706. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4707. msgstr ""
  4708. #. type: Plain text
  4709. #: guix-git/doc/guix.texi:939
  4710. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4711. msgstr ""
  4712. #. type: item
  4713. #: guix-git/doc/guix.texi:941
  4714. #, no-wrap
  4715. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4716. msgstr ""
  4717. #. type: item
  4718. #: guix-git/doc/guix.texi:942
  4719. #, no-wrap
  4720. msgid "@url{https://sqlite.org, SQLite 3};"
  4721. msgstr ""
  4722. #. type: item
  4723. #: guix-git/doc/guix.texi:943
  4724. #, no-wrap
  4725. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4726. msgstr ""
  4727. #. type: itemize
  4728. #: guix-git/doc/guix.texi:945
  4729. msgid "C++11 standard."
  4730. msgstr ""
  4731. #. type: cindex
  4732. #: guix-git/doc/guix.texi:947
  4733. #, no-wrap
  4734. msgid "state directory"
  4735. msgstr ""
  4736. #. type: Plain text
  4737. #: guix-git/doc/guix.texi:956
  4738. 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})."
  4739. msgstr ""
  4740. #. type: cindex
  4741. #: guix-git/doc/guix.texi:960
  4742. #, no-wrap
  4743. msgid "test suite"
  4744. msgstr ""
  4745. #. type: Plain text
  4746. #: guix-git/doc/guix.texi:966
  4747. 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:"
  4748. msgstr ""
  4749. #. type: example
  4750. #: guix-git/doc/guix.texi:969
  4751. #, no-wrap
  4752. msgid "make check\n"
  4753. msgstr ""
  4754. #. type: Plain text
  4755. #: guix-git/doc/guix.texi:976
  4756. 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."
  4757. msgstr ""
  4758. #. type: Plain text
  4759. #: guix-git/doc/guix.texi:979
  4760. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4761. msgstr ""
  4762. #. type: example
  4763. #: guix-git/doc/guix.texi:982
  4764. #, no-wrap
  4765. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4766. msgstr ""
  4767. #. type: Plain text
  4768. #: guix-git/doc/guix.texi:987
  4769. 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:"
  4770. msgstr ""
  4771. #. type: example
  4772. #: guix-git/doc/guix.texi:990
  4773. #, no-wrap
  4774. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4775. msgstr ""
  4776. #. type: Plain text
  4777. #: guix-git/doc/guix.texi:998
  4778. 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'':"
  4779. msgstr ""
  4780. #. type: example
  4781. #: guix-git/doc/guix.texi:1002
  4782. #, no-wrap
  4783. msgid ""
  4784. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4785. "make check TESTS=\"tests/packages.scm\"\n"
  4786. msgstr ""
  4787. #. type: Plain text
  4788. #: guix-git/doc/guix.texi:1008
  4789. 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:"
  4790. msgstr ""
  4791. #. type: example
  4792. #: guix-git/doc/guix.texi:1011
  4793. #, no-wrap
  4794. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4795. msgstr ""
  4796. #. type: Plain text
  4797. #: guix-git/doc/guix.texi:1016
  4798. 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}:"
  4799. msgstr ""
  4800. #. type: example
  4801. #: guix-git/doc/guix.texi:1019
  4802. #, no-wrap
  4803. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4804. msgstr ""
  4805. #. type: Plain text
  4806. #: guix-git/doc/guix.texi:1023
  4807. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4808. msgstr ""
  4809. #. type: Plain text
  4810. #: guix-git/doc/guix.texi:1028
  4811. 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."
  4812. msgstr ""
  4813. #. type: Plain text
  4814. #: guix-git/doc/guix.texi:1032
  4815. 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:"
  4816. msgstr ""
  4817. #. type: example
  4818. #: guix-git/doc/guix.texi:1035
  4819. #, no-wrap
  4820. msgid "make check-system\n"
  4821. msgstr ""
  4822. #. type: Plain text
  4823. #: guix-git/doc/guix.texi:1039
  4824. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4825. msgstr ""
  4826. #. type: example
  4827. #: guix-git/doc/guix.texi:1042
  4828. #, no-wrap
  4829. msgid "make check-system TESTS=\"basic mcron\"\n"
  4830. msgstr ""
  4831. #. type: Plain text
  4832. #: guix-git/doc/guix.texi:1050
  4833. 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."
  4834. msgstr ""
  4835. #. type: Plain text
  4836. #: guix-git/doc/guix.texi:1053
  4837. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4838. msgstr ""
  4839. #. type: cindex
  4840. #: guix-git/doc/guix.texi:1057
  4841. #, no-wrap
  4842. msgid "daemon"
  4843. msgstr ""
  4844. #. type: Plain text
  4845. #: guix-git/doc/guix.texi:1065
  4846. 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."
  4847. msgstr ""
  4848. #. type: Plain text
  4849. #: guix-git/doc/guix.texi:1069
  4850. 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."
  4851. msgstr ""
  4852. #. type: cindex
  4853. #: guix-git/doc/guix.texi:1079 guix-git/doc/guix.texi:1542
  4854. #, no-wrap
  4855. msgid "build environment"
  4856. msgstr ""
  4857. #. type: Plain text
  4858. #: guix-git/doc/guix.texi:1087
  4859. 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."
  4860. msgstr ""
  4861. #. type: cindex
  4862. #: guix-git/doc/guix.texi:1088
  4863. #, no-wrap
  4864. msgid "build users"
  4865. msgstr ""
  4866. #. type: Plain text
  4867. #: guix-git/doc/guix.texi:1099
  4868. 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})."
  4869. msgstr ""
  4870. #. type: Plain text
  4871. #: guix-git/doc/guix.texi:1102
  4872. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4873. msgstr ""
  4874. #. type: example
  4875. #: guix-git/doc/guix.texi:1114
  4876. #, no-wrap
  4877. msgid ""
  4878. "# groupadd --system guixbuild\n"
  4879. "# for i in $(seq -w 1 10);\n"
  4880. " do\n"
  4881. " useradd -g guixbuild -G guixbuild \\\n"
  4882. " -d /var/empty -s $(which nologin) \\\n"
  4883. " -c \"Guix build user $i\" --system \\\n"
  4884. " guixbuilder$i;\n"
  4885. " done\n"
  4886. msgstr ""
  4887. #. type: Plain text
  4888. #: guix-git/doc/guix.texi:1124
  4889. 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})."
  4890. msgstr ""
  4891. #. type: Plain text
  4892. #: guix-git/doc/guix.texi:1133
  4893. 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}.}:"
  4894. msgstr ""
  4895. #. type: example
  4896. #: guix-git/doc/guix.texi:1136 guix-git/doc/guix.texi:1535
  4897. #, no-wrap
  4898. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4899. msgstr ""
  4900. #. type: cindex
  4901. #: guix-git/doc/guix.texi:1138 guix-git/doc/guix.texi:1540
  4902. #, no-wrap
  4903. msgid "chroot"
  4904. msgstr ""
  4905. #. type: Plain text
  4906. #: guix-git/doc/guix.texi:1143
  4907. 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:"
  4908. msgstr ""
  4909. #. type: itemize
  4910. #: guix-git/doc/guix.texi:1151
  4911. 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.};"
  4912. msgstr ""
  4913. #. type: itemize
  4914. #: guix-git/doc/guix.texi:1155
  4915. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4916. msgstr ""
  4917. #. type: itemize
  4918. #: guix-git/doc/guix.texi:1159
  4919. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4920. msgstr ""
  4921. #. type: itemize
  4922. #: guix-git/doc/guix.texi:1162
  4923. msgid "@file{/etc/group} with an entry for the user's group;"
  4924. msgstr ""
  4925. #. type: itemize
  4926. #: guix-git/doc/guix.texi:1166
  4927. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4928. msgstr ""
  4929. #. type: itemize
  4930. #: guix-git/doc/guix.texi:1169
  4931. msgid "a writable @file{/tmp} directory."
  4932. msgstr ""
  4933. #. type: Plain text
  4934. #: guix-git/doc/guix.texi:1178
  4935. 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."
  4936. msgstr ""
  4937. #. type: vindex
  4938. #: guix-git/doc/guix.texi:1179 guix-git/doc/guix.texi:4007
  4939. #, no-wrap
  4940. msgid "http_proxy"
  4941. msgstr ""
  4942. #. type: vindex
  4943. #: guix-git/doc/guix.texi:1180 guix-git/doc/guix.texi:4008
  4944. #, no-wrap
  4945. msgid "https_proxy"
  4946. msgstr ""
  4947. #. type: Plain text
  4948. #: guix-git/doc/guix.texi:1185
  4949. 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})."
  4950. msgstr ""
  4951. #. type: Plain text
  4952. #: guix-git/doc/guix.texi:1193
  4953. 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."
  4954. msgstr ""
  4955. #. type: subsection
  4956. #: guix-git/doc/guix.texi:1196
  4957. #, no-wrap
  4958. msgid "Using the Offload Facility"
  4959. msgstr ""
  4960. #. type: cindex
  4961. #: guix-git/doc/guix.texi:1198 guix-git/doc/guix.texi:1601
  4962. #, no-wrap
  4963. msgid "offloading"
  4964. msgstr ""
  4965. #. type: cindex
  4966. #: guix-git/doc/guix.texi:1199
  4967. #, no-wrap
  4968. msgid "build hook"
  4969. msgstr ""
  4970. #. type: Plain text
  4971. #: guix-git/doc/guix.texi:1218
  4972. 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:"
  4973. msgstr ""
  4974. #. type: enumerate
  4975. #: guix-git/doc/guix.texi:1224
  4976. 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."
  4977. msgstr ""
  4978. #. type: enumerate
  4979. #: guix-git/doc/guix.texi:1228
  4980. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  4981. msgstr ""
  4982. #. type: enumerate
  4983. #: guix-git/doc/guix.texi:1233
  4984. 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."
  4985. msgstr ""
  4986. #. type: enumerate
  4987. #: guix-git/doc/guix.texi:1236
  4988. msgid "Disk space availability. More than a 100 MiB must be available."
  4989. msgstr ""
  4990. #. type: Plain text
  4991. #: guix-git/doc/guix.texi:1239
  4992. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  4993. msgstr ""
  4994. #. type: lisp
  4995. #: guix-git/doc/guix.texi:1247
  4996. #, no-wrap
  4997. msgid ""
  4998. "(list (build-machine\n"
  4999. " (name \"eightysix.example.org\")\n"
  5000. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  5001. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  5002. " (user \"bob\")\n"
  5003. " (speed 2.)) ;incredibly fast!\n"
  5004. "\n"
  5005. msgstr ""
  5006. #. type: lisp
  5007. #: guix-git/doc/guix.texi:1253
  5008. #, no-wrap
  5009. msgid ""
  5010. " (build-machine\n"
  5011. " (name \"armeight.example.org\")\n"
  5012. " (systems (list \"aarch64-linux\"))\n"
  5013. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  5014. " (user \"alice\")\n"
  5015. "\n"
  5016. msgstr ""
  5017. #. type: lisp
  5018. #: guix-git/doc/guix.texi:1257
  5019. #, no-wrap
  5020. msgid ""
  5021. " ;; Remember 'guix offload' is spawned by\n"
  5022. " ;; 'guix-daemon' as root.\n"
  5023. " (private-key \"/root/.ssh/identity-for-guix\")))\n"
  5024. msgstr ""
  5025. #. type: Plain text
  5026. #: guix-git/doc/guix.texi:1263
  5027. 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."
  5028. msgstr ""
  5029. #. type: Plain text
  5030. #: guix-git/doc/guix.texi:1272
  5031. 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."
  5032. msgstr ""
  5033. #. type: deftp
  5034. #: guix-git/doc/guix.texi:1273
  5035. #, no-wrap
  5036. msgid "{Data Type} build-machine"
  5037. msgstr ""
  5038. #. type: deftp
  5039. #: guix-git/doc/guix.texi:1276
  5040. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  5041. msgstr ""
  5042. #. type: item
  5043. #: guix-git/doc/guix.texi:1279 guix-git/doc/guix.texi:7113
  5044. #: guix-git/doc/guix.texi:15446 guix-git/doc/guix.texi:15545
  5045. #: guix-git/doc/guix.texi:15786 guix-git/doc/guix.texi:17314
  5046. #: guix-git/doc/guix.texi:17935 guix-git/doc/guix.texi:18209
  5047. #: guix-git/doc/guix.texi:21269 guix-git/doc/guix.texi:24179
  5048. #: guix-git/doc/guix.texi:25568 guix-git/doc/guix.texi:26180
  5049. #: guix-git/doc/guix.texi:26533 guix-git/doc/guix.texi:26574
  5050. #: guix-git/doc/guix.texi:28735 guix-git/doc/guix.texi:31072
  5051. #: guix-git/doc/guix.texi:31092 guix-git/doc/guix.texi:33766
  5052. #: guix-git/doc/guix.texi:33783 guix-git/doc/guix.texi:34320
  5053. #: guix-git/doc/guix.texi:36095 guix-git/doc/guix.texi:36422
  5054. #, no-wrap
  5055. msgid "name"
  5056. msgstr "name"
  5057. #. type: table
  5058. #: guix-git/doc/guix.texi:1281
  5059. msgid "The host name of the remote machine."
  5060. msgstr ""
  5061. #. type: item
  5062. #: guix-git/doc/guix.texi:1282
  5063. #, no-wrap
  5064. msgid "systems"
  5065. msgstr ""
  5066. #. type: table
  5067. #: guix-git/doc/guix.texi:1285
  5068. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  5069. msgstr ""
  5070. #. type: code{#1}
  5071. #: guix-git/doc/guix.texi:1286 guix-git/doc/guix.texi:17945
  5072. #, no-wrap
  5073. msgid "user"
  5074. msgstr ""
  5075. #. type: table
  5076. #: guix-git/doc/guix.texi:1290
  5077. 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."
  5078. msgstr ""
  5079. #. type: item
  5080. #: guix-git/doc/guix.texi:1291
  5081. #, no-wrap
  5082. msgid "host-key"
  5083. msgstr ""
  5084. #. type: table
  5085. #: guix-git/doc/guix.texi:1295
  5086. 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:"
  5087. msgstr ""
  5088. #. type: example
  5089. #: guix-git/doc/guix.texi:1298
  5090. #, no-wrap
  5091. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  5092. msgstr ""
  5093. #. type: table
  5094. #: guix-git/doc/guix.texi:1303
  5095. 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}."
  5096. msgstr ""
  5097. #. type: table
  5098. #: guix-git/doc/guix.texi:1308
  5099. 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}):"
  5100. msgstr ""
  5101. #. type: example
  5102. #: guix-git/doc/guix.texi:1312
  5103. #, no-wrap
  5104. msgid ""
  5105. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  5106. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  5107. msgstr ""
  5108. #. type: deftp
  5109. #: guix-git/doc/guix.texi:1317
  5110. msgid "A number of optional fields may be specified:"
  5111. msgstr ""
  5112. #. type: item
  5113. #: guix-git/doc/guix.texi:1320 guix-git/doc/guix.texi:35581
  5114. #, no-wrap
  5115. msgid "@code{port} (default: @code{22})"
  5116. msgstr ""
  5117. #. type: table
  5118. #: guix-git/doc/guix.texi:1322
  5119. msgid "Port number of SSH server on the machine."
  5120. msgstr ""
  5121. #. type: item
  5122. #: guix-git/doc/guix.texi:1323
  5123. #, no-wrap
  5124. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  5125. msgstr ""
  5126. #. type: table
  5127. #: guix-git/doc/guix.texi:1326
  5128. 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."
  5129. msgstr ""
  5130. #. type: table
  5131. #: guix-git/doc/guix.texi:1329
  5132. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  5133. msgstr ""
  5134. #. type: item
  5135. #: guix-git/doc/guix.texi:1330
  5136. #, no-wrap
  5137. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  5138. msgstr ""
  5139. #. type: itemx
  5140. #: guix-git/doc/guix.texi:1331
  5141. #, no-wrap
  5142. msgid "@code{compression-level} (default: @code{3})"
  5143. msgstr ""
  5144. #. type: table
  5145. #: guix-git/doc/guix.texi:1333
  5146. msgid "The SSH-level compression methods and compression level requested."
  5147. msgstr ""
  5148. #. type: table
  5149. #: guix-git/doc/guix.texi:1336
  5150. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  5151. msgstr ""
  5152. #. type: item
  5153. #: guix-git/doc/guix.texi:1337
  5154. #, no-wrap
  5155. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  5156. msgstr ""
  5157. #. type: table
  5158. #: guix-git/doc/guix.texi:1340
  5159. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  5160. msgstr ""
  5161. #. type: item
  5162. #: guix-git/doc/guix.texi:1341
  5163. #, no-wrap
  5164. msgid "@code{overload-threshold} (default: @code{0.6})"
  5165. msgstr ""
  5166. #. type: table
  5167. #: guix-git/doc/guix.texi:1347
  5168. 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}."
  5169. msgstr ""
  5170. #. type: item
  5171. #: guix-git/doc/guix.texi:1348
  5172. #, no-wrap
  5173. msgid "@code{parallel-builds} (default: @code{1})"
  5174. msgstr ""
  5175. #. type: table
  5176. #: guix-git/doc/guix.texi:1350
  5177. msgid "The number of builds that may run in parallel on the machine."
  5178. msgstr ""
  5179. #. type: item
  5180. #: guix-git/doc/guix.texi:1351
  5181. #, no-wrap
  5182. msgid "@code{speed} (default: @code{1.0})"
  5183. msgstr ""
  5184. #. type: table
  5185. #: guix-git/doc/guix.texi:1354
  5186. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  5187. msgstr ""
  5188. #. type: item
  5189. #: guix-git/doc/guix.texi:1355
  5190. #, no-wrap
  5191. msgid "@code{features} (default: @code{'()})"
  5192. msgstr ""
  5193. #. type: table
  5194. #: guix-git/doc/guix.texi:1360
  5195. 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."
  5196. msgstr ""
  5197. #. type: Plain text
  5198. #: guix-git/doc/guix.texi:1366
  5199. 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:"
  5200. msgstr ""
  5201. #. type: example
  5202. #: guix-git/doc/guix.texi:1369
  5203. #, no-wrap
  5204. msgid "ssh build-machine guix repl --version\n"
  5205. msgstr ""
  5206. #. type: Plain text
  5207. #: guix-git/doc/guix.texi:1376
  5208. 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}):"
  5209. msgstr ""
  5210. #. type: example
  5211. #: guix-git/doc/guix.texi:1379 guix-git/doc/guix.texi:35509
  5212. #, no-wrap
  5213. msgid "# guix archive --generate-key\n"
  5214. msgstr ""
  5215. #. type: Plain text
  5216. #: guix-git/doc/guix.texi:1384
  5217. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5218. msgstr ""
  5219. #. type: example
  5220. #: guix-git/doc/guix.texi:1387
  5221. #, no-wrap
  5222. msgid "# guix archive --authorize < master-public-key.txt\n"
  5223. msgstr ""
  5224. #. type: Plain text
  5225. #: guix-git/doc/guix.texi:1391
  5226. msgid "Likewise, the master machine must authorize the key of each build machine."
  5227. msgstr ""
  5228. #. type: Plain text
  5229. #: guix-git/doc/guix.texi:1397
  5230. 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."
  5231. msgstr ""
  5232. #. type: cindex
  5233. #: guix-git/doc/guix.texi:1398
  5234. #, no-wrap
  5235. msgid "offload test"
  5236. msgstr ""
  5237. #. type: Plain text
  5238. #: guix-git/doc/guix.texi:1401
  5239. msgid "To test whether your setup is operational, run this command on the master node:"
  5240. msgstr ""
  5241. #. type: example
  5242. #: guix-git/doc/guix.texi:1404
  5243. #, no-wrap
  5244. msgid "# guix offload test\n"
  5245. msgstr ""
  5246. #. type: Plain text
  5247. #: guix-git/doc/guix.texi:1410
  5248. 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."
  5249. msgstr ""
  5250. #. type: Plain text
  5251. #: guix-git/doc/guix.texi:1413
  5252. msgid "If you want to test a different machine file, just specify it on the command line:"
  5253. msgstr ""
  5254. #. type: example
  5255. #: guix-git/doc/guix.texi:1416
  5256. #, no-wrap
  5257. msgid "# guix offload test machines-qualif.scm\n"
  5258. msgstr ""
  5259. #. type: Plain text
  5260. #: guix-git/doc/guix.texi:1420
  5261. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5262. msgstr ""
  5263. #. type: example
  5264. #: guix-git/doc/guix.texi:1423
  5265. #, no-wrap
  5266. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5267. msgstr ""
  5268. #. type: cindex
  5269. #: guix-git/doc/guix.texi:1425
  5270. #, no-wrap
  5271. msgid "offload status"
  5272. msgstr ""
  5273. #. type: Plain text
  5274. #: guix-git/doc/guix.texi:1428
  5275. msgid "To display the current load of all build hosts, run this command on the main node:"
  5276. msgstr ""
  5277. #. type: example
  5278. #: guix-git/doc/guix.texi:1431
  5279. #, no-wrap
  5280. msgid "# guix offload status\n"
  5281. msgstr ""
  5282. #. type: cindex
  5283. #: guix-git/doc/guix.texi:1437
  5284. #, no-wrap
  5285. msgid "SELinux, daemon policy"
  5286. msgstr ""
  5287. #. type: cindex
  5288. #: guix-git/doc/guix.texi:1438
  5289. #, no-wrap
  5290. msgid "mandatory access control, SELinux"
  5291. msgstr ""
  5292. #. type: cindex
  5293. #: guix-git/doc/guix.texi:1439
  5294. #, no-wrap
  5295. msgid "security, guix-daemon"
  5296. msgstr ""
  5297. #. type: Plain text
  5298. #: guix-git/doc/guix.texi:1445
  5299. 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."
  5300. msgstr ""
  5301. #. type: subsubsection
  5302. #: guix-git/doc/guix.texi:1446
  5303. #, no-wrap
  5304. msgid "Installing the SELinux policy"
  5305. msgstr ""
  5306. #. type: cindex
  5307. #: guix-git/doc/guix.texi:1447
  5308. #, no-wrap
  5309. msgid "SELinux, policy installation"
  5310. msgstr ""
  5311. #. type: Plain text
  5312. #: guix-git/doc/guix.texi:1449
  5313. msgid "To install the policy run this command as root:"
  5314. msgstr ""
  5315. #. type: example
  5316. #: guix-git/doc/guix.texi:1452
  5317. #, no-wrap
  5318. msgid "semodule -i etc/guix-daemon.cil\n"
  5319. msgstr ""
  5320. #. type: Plain text
  5321. #: guix-git/doc/guix.texi:1456
  5322. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5323. msgstr ""
  5324. #. type: Plain text
  5325. #: guix-git/doc/guix.texi:1461
  5326. 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:"
  5327. msgstr ""
  5328. #. type: example
  5329. #: guix-git/doc/guix.texi:1464
  5330. #, no-wrap
  5331. msgid "ps -Zax | grep guix-daemon\n"
  5332. msgstr ""
  5333. #. type: Plain text
  5334. #: guix-git/doc/guix.texi:1469
  5335. 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."
  5336. msgstr ""
  5337. #. type: cindex
  5338. #: guix-git/doc/guix.texi:1471
  5339. #, no-wrap
  5340. msgid "SELinux, limitations"
  5341. msgstr ""
  5342. #. type: Plain text
  5343. #: guix-git/doc/guix.texi:1476
  5344. 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."
  5345. msgstr ""
  5346. #. type: enumerate
  5347. #: guix-git/doc/guix.texi:1483
  5348. 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."
  5349. msgstr ""
  5350. #. type: enumerate
  5351. #: guix-git/doc/guix.texi:1494
  5352. 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."
  5353. msgstr ""
  5354. #. type: enumerate
  5355. #: guix-git/doc/guix.texi:1499
  5356. 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."
  5357. msgstr ""
  5358. #. type: enumerate
  5359. #: guix-git/doc/guix.texi:1510
  5360. 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."
  5361. msgstr ""
  5362. #. type: enumerate
  5363. #: guix-git/doc/guix.texi:1515
  5364. 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."
  5365. msgstr ""
  5366. #. type: enumerate
  5367. #: guix-git/doc/guix.texi:1523
  5368. 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."
  5369. msgstr ""
  5370. #. type: section
  5371. #: guix-git/doc/guix.texi:1526
  5372. #, no-wrap
  5373. msgid "Invoking @command{guix-daemon}"
  5374. msgstr ""
  5375. #. type: Plain text
  5376. #: guix-git/doc/guix.texi:1532
  5377. 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:"
  5378. msgstr ""
  5379. #. type: Plain text
  5380. #: guix-git/doc/guix.texi:1539
  5381. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5382. msgstr ""
  5383. #. type: cindex
  5384. #: guix-git/doc/guix.texi:1541
  5385. #, no-wrap
  5386. msgid "container, build environment"
  5387. msgstr ""
  5388. #. type: cindex
  5389. #: guix-git/doc/guix.texi:1543 guix-git/doc/guix.texi:3071
  5390. #: guix-git/doc/guix.texi:3988 guix-git/doc/guix.texi:13753
  5391. #, no-wrap
  5392. msgid "reproducible builds"
  5393. msgstr ""
  5394. #. type: Plain text
  5395. #: guix-git/doc/guix.texi:1555
  5396. 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})."
  5397. msgstr ""
  5398. #. type: Plain text
  5399. #: guix-git/doc/guix.texi:1561
  5400. 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}."
  5401. msgstr ""
  5402. #. type: Plain text
  5403. #: guix-git/doc/guix.texi:1565
  5404. 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}})."
  5405. msgstr ""
  5406. #. type: Plain text
  5407. #: guix-git/doc/guix.texi:1571
  5408. 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."
  5409. msgstr ""
  5410. #. type: Plain text
  5411. #: guix-git/doc/guix.texi:1573
  5412. msgid "The following command-line options are supported:"
  5413. msgstr ""
  5414. #. type: item
  5415. #: guix-git/doc/guix.texi:1575
  5416. #, no-wrap
  5417. msgid "--build-users-group=@var{group}"
  5418. msgstr ""
  5419. #. type: table
  5420. #: guix-git/doc/guix.texi:1578
  5421. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5422. msgstr ""
  5423. #. type: item
  5424. #: guix-git/doc/guix.texi:1579 guix-git/doc/guix.texi:10915
  5425. #, no-wrap
  5426. msgid "--no-substitutes"
  5427. msgstr ""
  5428. #. type: cindex
  5429. #: guix-git/doc/guix.texi:1580 guix-git/doc/guix.texi:3083
  5430. #: guix-git/doc/guix.texi:3741
  5431. #, no-wrap
  5432. msgid "substitutes"
  5433. msgstr ""
  5434. #. type: table
  5435. #: guix-git/doc/guix.texi:1584 guix-git/doc/guix.texi:10919
  5436. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5437. msgstr ""
  5438. #. type: table
  5439. #: guix-git/doc/guix.texi:1588
  5440. 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})."
  5441. msgstr ""
  5442. #. type: anchor{#1}
  5443. #: guix-git/doc/guix.texi:1590
  5444. msgid "daemon-substitute-urls"
  5445. msgstr ""
  5446. #. type: item
  5447. #: guix-git/doc/guix.texi:1590 guix-git/doc/guix.texi:10902
  5448. #: guix-git/doc/guix.texi:13160 guix-git/doc/guix.texi:13899
  5449. #: guix-git/doc/guix.texi:14124
  5450. #, no-wrap
  5451. msgid "--substitute-urls=@var{urls}"
  5452. msgstr ""
  5453. #. type: table
  5454. #: guix-git/doc/guix.texi:1594
  5455. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5456. msgstr ""
  5457. #. type: table
  5458. #: guix-git/doc/guix.texi:1597
  5459. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5460. msgstr ""
  5461. #. type: table
  5462. #: guix-git/doc/guix.texi:1600
  5463. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5464. msgstr ""
  5465. #. type: item
  5466. #: guix-git/doc/guix.texi:1602 guix-git/doc/guix.texi:10938
  5467. #, no-wrap
  5468. msgid "--no-offload"
  5469. msgstr ""
  5470. #. type: table
  5471. #: guix-git/doc/guix.texi:1606 guix-git/doc/guix.texi:10942
  5472. 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."
  5473. msgstr ""
  5474. #. type: item
  5475. #: guix-git/doc/guix.texi:1607
  5476. #, no-wrap
  5477. msgid "--cache-failures"
  5478. msgstr ""
  5479. #. type: table
  5480. #: guix-git/doc/guix.texi:1609
  5481. msgid "Cache build failures. By default, only successful builds are cached."
  5482. msgstr ""
  5483. #. type: table
  5484. #: guix-git/doc/guix.texi:1614
  5485. 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}."
  5486. msgstr ""
  5487. #. type: item
  5488. #: guix-git/doc/guix.texi:1615 guix-git/doc/guix.texi:10968
  5489. #, no-wrap
  5490. msgid "--cores=@var{n}"
  5491. msgstr ""
  5492. #. type: itemx
  5493. #: guix-git/doc/guix.texi:1616 guix-git/doc/guix.texi:10969
  5494. #, no-wrap
  5495. msgid "-c @var{n}"
  5496. msgstr ""
  5497. #. type: table
  5498. #: guix-git/doc/guix.texi:1619
  5499. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5500. msgstr ""
  5501. #. type: table
  5502. #: guix-git/doc/guix.texi:1623
  5503. 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})."
  5504. msgstr ""
  5505. #. type: table
  5506. #: guix-git/doc/guix.texi:1627
  5507. 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}."
  5508. msgstr ""
  5509. #. type: item
  5510. #: guix-git/doc/guix.texi:1628 guix-git/doc/guix.texi:10973
  5511. #, no-wrap
  5512. msgid "--max-jobs=@var{n}"
  5513. msgstr ""
  5514. #. type: itemx
  5515. #: guix-git/doc/guix.texi:1629 guix-git/doc/guix.texi:10974
  5516. #, no-wrap
  5517. msgid "-M @var{n}"
  5518. msgstr ""
  5519. #. type: table
  5520. #: guix-git/doc/guix.texi:1634
  5521. 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."
  5522. msgstr ""
  5523. #. type: item
  5524. #: guix-git/doc/guix.texi:1635 guix-git/doc/guix.texi:10943
  5525. #, no-wrap
  5526. msgid "--max-silent-time=@var{seconds}"
  5527. msgstr ""
  5528. #. type: table
  5529. #: guix-git/doc/guix.texi:1638 guix-git/doc/guix.texi:10946
  5530. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5531. msgstr ""
  5532. #. type: table
  5533. #: guix-git/doc/guix.texi:1640 guix-git/doc/guix.texi:1649
  5534. msgid "The default value is @code{0}, which disables the timeout."
  5535. msgstr ""
  5536. #. type: table
  5537. #: guix-git/doc/guix.texi:1643
  5538. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5539. msgstr ""
  5540. #. type: item
  5541. #: guix-git/doc/guix.texi:1644 guix-git/doc/guix.texi:10950
  5542. #, no-wrap
  5543. msgid "--timeout=@var{seconds}"
  5544. msgstr ""
  5545. #. type: table
  5546. #: guix-git/doc/guix.texi:1647 guix-git/doc/guix.texi:10953
  5547. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5548. msgstr ""
  5549. #. type: table
  5550. #: guix-git/doc/guix.texi:1652
  5551. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5552. msgstr ""
  5553. #. type: item
  5554. #: guix-git/doc/guix.texi:1653
  5555. #, no-wrap
  5556. msgid "--rounds=@var{N}"
  5557. msgstr ""
  5558. #. type: table
  5559. #: guix-git/doc/guix.texi:1658
  5560. 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})."
  5561. msgstr ""
  5562. #. type: table
  5563. #: guix-git/doc/guix.texi:1662 guix-git/doc/guix.texi:10937
  5564. #: guix-git/doc/guix.texi:11561
  5565. 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."
  5566. msgstr ""
  5567. #. type: item
  5568. #: guix-git/doc/guix.texi:1663
  5569. #, no-wrap
  5570. msgid "--debug"
  5571. msgstr ""
  5572. #. type: table
  5573. #: guix-git/doc/guix.texi:1665
  5574. msgid "Produce debugging output."
  5575. msgstr ""
  5576. #. type: table
  5577. #: guix-git/doc/guix.texi:1669
  5578. 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})."
  5579. msgstr ""
  5580. #. type: item
  5581. #: guix-git/doc/guix.texi:1670
  5582. #, no-wrap
  5583. msgid "--chroot-directory=@var{dir}"
  5584. msgstr ""
  5585. #. type: table
  5586. #: guix-git/doc/guix.texi:1672
  5587. msgid "Add @var{dir} to the build chroot."
  5588. msgstr ""
  5589. #. type: table
  5590. #: guix-git/doc/guix.texi:1678
  5591. 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."
  5592. msgstr ""
  5593. #. type: item
  5594. #: guix-git/doc/guix.texi:1679
  5595. #, no-wrap
  5596. msgid "--disable-chroot"
  5597. msgstr ""
  5598. #. type: table
  5599. #: guix-git/doc/guix.texi:1681
  5600. msgid "Disable chroot builds."
  5601. msgstr ""
  5602. #. type: table
  5603. #: guix-git/doc/guix.texi:1686
  5604. 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."
  5605. msgstr ""
  5606. #. type: item
  5607. #: guix-git/doc/guix.texi:1687
  5608. #, no-wrap
  5609. msgid "--log-compression=@var{type}"
  5610. msgstr ""
  5611. #. type: table
  5612. #: guix-git/doc/guix.texi:1690
  5613. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5614. msgstr ""
  5615. #. type: table
  5616. #: guix-git/doc/guix.texi:1694
  5617. 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."
  5618. msgstr ""
  5619. #. type: item
  5620. #: guix-git/doc/guix.texi:1695
  5621. #, no-wrap
  5622. msgid "--discover[=yes|no]"
  5623. msgstr ""
  5624. #. type: table
  5625. #: guix-git/doc/guix.texi:1698 guix-git/doc/guix.texi:16563
  5626. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5627. msgstr ""
  5628. #. type: table
  5629. #: guix-git/doc/guix.texi:1701
  5630. msgid "This feature is still experimental. However, here are a few considerations."
  5631. msgstr ""
  5632. #. type: enumerate
  5633. #: guix-git/doc/guix.texi:1705
  5634. msgid "It might be faster/less expensive than fetching from remote servers;"
  5635. msgstr ""
  5636. #. type: enumerate
  5637. #: guix-git/doc/guix.texi:1708
  5638. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5639. msgstr ""
  5640. #. type: enumerate
  5641. #: guix-git/doc/guix.texi:1712
  5642. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5643. msgstr ""
  5644. #. type: enumerate
  5645. #: guix-git/doc/guix.texi:1715
  5646. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5647. msgstr ""
  5648. #. type: table
  5649. #: guix-git/doc/guix.texi:1719
  5650. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5651. msgstr ""
  5652. #. type: example
  5653. #: guix-git/doc/guix.texi:1723
  5654. #, no-wrap
  5655. msgid ""
  5656. "herd discover guix-daemon on\n"
  5657. "herd discover guix-daemon off\n"
  5658. msgstr ""
  5659. #. type: item
  5660. #: guix-git/doc/guix.texi:1725
  5661. #, no-wrap
  5662. msgid "--disable-deduplication"
  5663. msgstr ""
  5664. #. type: cindex
  5665. #: guix-git/doc/guix.texi:1726 guix-git/doc/guix.texi:4326
  5666. #, no-wrap
  5667. msgid "deduplication"
  5668. msgstr ""
  5669. #. type: table
  5670. #: guix-git/doc/guix.texi:1728
  5671. msgid "Disable automatic file ``deduplication'' in the store."
  5672. msgstr ""
  5673. #. type: table
  5674. #: guix-git/doc/guix.texi:1735
  5675. 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."
  5676. msgstr ""
  5677. #. type: item
  5678. #: guix-git/doc/guix.texi:1736
  5679. #, no-wrap
  5680. msgid "--gc-keep-outputs[=yes|no]"
  5681. msgstr ""
  5682. #. type: table
  5683. #: guix-git/doc/guix.texi:1739
  5684. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5685. msgstr ""
  5686. #. type: cindex
  5687. #: guix-git/doc/guix.texi:1740 guix-git/doc/guix.texi:4139
  5688. #, no-wrap
  5689. msgid "GC roots"
  5690. msgstr ""
  5691. #. type: cindex
  5692. #: guix-git/doc/guix.texi:1741 guix-git/doc/guix.texi:4140
  5693. #, no-wrap
  5694. msgid "garbage collector roots"
  5695. msgstr ""
  5696. #. type: table
  5697. #: guix-git/doc/guix.texi:1747
  5698. 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."
  5699. msgstr ""
  5700. #. type: item
  5701. #: guix-git/doc/guix.texi:1748
  5702. #, no-wrap
  5703. msgid "--gc-keep-derivations[=yes|no]"
  5704. msgstr ""
  5705. #. type: table
  5706. #: guix-git/doc/guix.texi:1751
  5707. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5708. msgstr ""
  5709. #. type: table
  5710. #: guix-git/doc/guix.texi:1757
  5711. 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."
  5712. msgstr ""
  5713. #. type: table
  5714. #: guix-git/doc/guix.texi:1766
  5715. 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."
  5716. msgstr ""
  5717. #. type: item
  5718. #: guix-git/doc/guix.texi:1767
  5719. #, no-wrap
  5720. msgid "--impersonate-linux-2.6"
  5721. msgstr ""
  5722. #. type: table
  5723. #: guix-git/doc/guix.texi:1770
  5724. 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."
  5725. msgstr ""
  5726. #. type: table
  5727. #: guix-git/doc/guix.texi:1773
  5728. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5729. msgstr ""
  5730. #. type: item
  5731. #: guix-git/doc/guix.texi:1774
  5732. #, no-wrap
  5733. msgid "--lose-logs"
  5734. msgstr ""
  5735. #. type: table
  5736. #: guix-git/doc/guix.texi:1777
  5737. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5738. msgstr ""
  5739. #. type: item
  5740. #: guix-git/doc/guix.texi:1778 guix-git/doc/guix.texi:4567
  5741. #: guix-git/doc/guix.texi:5846 guix-git/doc/guix.texi:6229
  5742. #: guix-git/doc/guix.texi:6629 guix-git/doc/guix.texi:11505
  5743. #: guix-git/doc/guix.texi:13187 guix-git/doc/guix.texi:13452
  5744. #: guix-git/doc/guix.texi:14129 guix-git/doc/guix.texi:34442
  5745. #: guix-git/doc/guix.texi:35251
  5746. #, no-wrap
  5747. msgid "--system=@var{system}"
  5748. msgstr ""
  5749. #. type: table
  5750. #: guix-git/doc/guix.texi:1782
  5751. 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}."
  5752. msgstr ""
  5753. #. type: item
  5754. #: guix-git/doc/guix.texi:1783 guix-git/doc/guix.texi:10747
  5755. #, no-wrap
  5756. msgid "--listen=@var{endpoint}"
  5757. msgstr ""
  5758. #. type: table
  5759. #: guix-git/doc/guix.texi:1788
  5760. 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:"
  5761. msgstr ""
  5762. #. type: item
  5763. #: guix-git/doc/guix.texi:1790
  5764. #, no-wrap
  5765. msgid "--listen=/gnu/var/daemon"
  5766. msgstr ""
  5767. #. type: table
  5768. #: guix-git/doc/guix.texi:1793
  5769. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5770. msgstr ""
  5771. #. type: item
  5772. #: guix-git/doc/guix.texi:1794
  5773. #, no-wrap
  5774. msgid "--listen=localhost"
  5775. msgstr ""
  5776. #. type: cindex
  5777. #: guix-git/doc/guix.texi:1795 guix-git/doc/guix.texi:9421
  5778. #, no-wrap
  5779. msgid "daemon, remote access"
  5780. msgstr ""
  5781. #. type: cindex
  5782. #: guix-git/doc/guix.texi:1796 guix-git/doc/guix.texi:9422
  5783. #, no-wrap
  5784. msgid "remote access to the daemon"
  5785. msgstr ""
  5786. #. type: cindex
  5787. #: guix-git/doc/guix.texi:1797 guix-git/doc/guix.texi:9423
  5788. #, no-wrap
  5789. msgid "daemon, cluster setup"
  5790. msgstr ""
  5791. #. type: cindex
  5792. #: guix-git/doc/guix.texi:1798 guix-git/doc/guix.texi:9424
  5793. #, no-wrap
  5794. msgid "clusters, daemon setup"
  5795. msgstr ""
  5796. #. type: table
  5797. #: guix-git/doc/guix.texi:1801
  5798. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5799. msgstr ""
  5800. #. type: item
  5801. #: guix-git/doc/guix.texi:1802
  5802. #, no-wrap
  5803. msgid "--listen=128.0.0.42:1234"
  5804. msgstr ""
  5805. #. type: table
  5806. #: guix-git/doc/guix.texi:1805
  5807. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5808. msgstr ""
  5809. #. type: table
  5810. #: guix-git/doc/guix.texi:1812
  5811. 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}})."
  5812. msgstr ""
  5813. #. type: quotation
  5814. #: guix-git/doc/guix.texi:1819
  5815. 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."
  5816. msgstr ""
  5817. #. type: table
  5818. #: guix-git/doc/guix.texi:1824
  5819. 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}."
  5820. msgstr ""
  5821. #. type: Plain text
  5822. #: guix-git/doc/guix.texi:1834
  5823. 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."
  5824. msgstr ""
  5825. #. type: anchor{#1}
  5826. #: guix-git/doc/guix.texi:1838
  5827. msgid "locales-and-locpath"
  5828. msgstr ""
  5829. #. type: cindex
  5830. #: guix-git/doc/guix.texi:1838
  5831. #, no-wrap
  5832. msgid "locales, when not on Guix System"
  5833. msgstr ""
  5834. #. type: vindex
  5835. #: guix-git/doc/guix.texi:1839 guix-git/doc/guix.texi:15770
  5836. #, no-wrap
  5837. msgid "LOCPATH"
  5838. msgstr ""
  5839. #. type: vindex
  5840. #: guix-git/doc/guix.texi:1840
  5841. #, no-wrap
  5842. msgid "GUIX_LOCPATH"
  5843. msgstr ""
  5844. #. type: Plain text
  5845. #: guix-git/doc/guix.texi:1845
  5846. 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:"
  5847. msgstr ""
  5848. #. type: example
  5849. #: guix-git/doc/guix.texi:1849
  5850. #, no-wrap
  5851. msgid ""
  5852. "$ guix install glibc-locales\n"
  5853. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5854. msgstr ""
  5855. #. type: Plain text
  5856. #: guix-git/doc/guix.texi:1855
  5857. 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."
  5858. msgstr ""
  5859. #. type: Plain text
  5860. #: guix-git/doc/guix.texi:1859
  5861. 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:"
  5862. msgstr ""
  5863. #. type: enumerate
  5864. #: guix-git/doc/guix.texi:1866
  5865. 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."
  5866. msgstr ""
  5867. #. type: enumerate
  5868. #: guix-git/doc/guix.texi:1873
  5869. 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."
  5870. msgstr ""
  5871. #. type: Plain text
  5872. #: guix-git/doc/guix.texi:1877
  5873. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5874. msgstr ""
  5875. #. type: cindex
  5876. #: guix-git/doc/guix.texi:1880
  5877. #, no-wrap
  5878. msgid "name service switch, glibc"
  5879. msgstr ""
  5880. #. type: cindex
  5881. #: guix-git/doc/guix.texi:1881
  5882. #, no-wrap
  5883. msgid "NSS (name service switch), glibc"
  5884. msgstr ""
  5885. #. type: cindex
  5886. #: guix-git/doc/guix.texi:1882
  5887. #, no-wrap
  5888. msgid "nscd (name service caching daemon)"
  5889. msgstr ""
  5890. #. type: cindex
  5891. #: guix-git/doc/guix.texi:1883
  5892. #, no-wrap
  5893. msgid "name service caching daemon (nscd)"
  5894. msgstr ""
  5895. #. type: Plain text
  5896. #: guix-git/doc/guix.texi:1890
  5897. 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."
  5898. msgstr ""
  5899. #. type: file{#1}
  5900. #: guix-git/doc/guix.texi:1891
  5901. #, no-wrap
  5902. msgid "nsswitch.conf"
  5903. msgstr ""
  5904. #. type: Plain text
  5905. #: guix-git/doc/guix.texi:1896
  5906. 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})."
  5907. msgstr ""
  5908. #. type: cindex
  5909. #: guix-git/doc/guix.texi:1897
  5910. #, no-wrap
  5911. msgid "Network information service (NIS)"
  5912. msgstr ""
  5913. #. type: cindex
  5914. #: guix-git/doc/guix.texi:1898
  5915. #, no-wrap
  5916. msgid "NIS (Network information service)"
  5917. msgstr ""
  5918. #. type: Plain text
  5919. #: guix-git/doc/guix.texi:1907
  5920. 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})."
  5921. msgstr ""
  5922. #. type: Plain text
  5923. #: guix-git/doc/guix.texi:1917
  5924. 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)."
  5925. msgstr ""
  5926. #. type: Plain text
  5927. #: guix-git/doc/guix.texi:1922
  5928. 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."
  5929. msgstr ""
  5930. #. type: Plain text
  5931. #: guix-git/doc/guix.texi:1927
  5932. 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."
  5933. msgstr ""
  5934. #. type: subsection
  5935. #: guix-git/doc/guix.texi:1928
  5936. #, no-wrap
  5937. msgid "X11 Fonts"
  5938. msgstr ""
  5939. #. type: Plain text
  5940. #: guix-git/doc/guix.texi:1938
  5941. 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{font-ghostscript}, @code{font-dejavu}, and @code{font-gnu-freefont}."
  5942. msgstr ""
  5943. #. type: code{#1}
  5944. #: guix-git/doc/guix.texi:1939
  5945. #, no-wrap
  5946. msgid "fc-cache"
  5947. msgstr ""
  5948. #. type: cindex
  5949. #: guix-git/doc/guix.texi:1940
  5950. #, no-wrap
  5951. msgid "font cache"
  5952. msgstr ""
  5953. #. type: Plain text
  5954. #: guix-git/doc/guix.texi:1944
  5955. 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:"
  5956. msgstr ""
  5957. #. type: example
  5958. #: guix-git/doc/guix.texi:1948
  5959. #, no-wrap
  5960. msgid ""
  5961. "guix install fontconfig\n"
  5962. "fc-cache -rv\n"
  5963. msgstr ""
  5964. #. type: Plain text
  5965. #: guix-git/doc/guix.texi:1956
  5966. 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:"
  5967. msgstr ""
  5968. #. type: example
  5969. #: guix-git/doc/guix.texi:1959
  5970. #, no-wrap
  5971. msgid "guix install font-adobe-source-han-sans:cn\n"
  5972. msgstr ""
  5973. #. type: code{#1}
  5974. #: guix-git/doc/guix.texi:1961
  5975. #, no-wrap
  5976. msgid "xterm"
  5977. msgstr ""
  5978. #. type: Plain text
  5979. #: guix-git/doc/guix.texi:1965
  5980. 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:"
  5981. msgstr ""
  5982. #. type: example
  5983. #: guix-git/doc/guix.texi:1968
  5984. #, no-wrap
  5985. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  5986. msgstr ""
  5987. #. type: Plain text
  5988. #: guix-git/doc/guix.texi:1972
  5989. 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:"
  5990. msgstr ""
  5991. #. type: example
  5992. #: guix-git/doc/guix.texi:1977
  5993. #, no-wrap
  5994. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  5995. msgstr ""
  5996. #. type: code{#1}
  5997. #: guix-git/doc/guix.texi:1979
  5998. #, no-wrap
  5999. msgid "xlsfonts"
  6000. msgstr ""
  6001. #. type: Plain text
  6002. #: guix-git/doc/guix.texi:1982
  6003. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  6004. msgstr ""
  6005. #. type: code{#1}
  6006. #: guix-git/doc/guix.texi:1986 guix-git/doc/guix.texi:34161
  6007. #, no-wrap
  6008. msgid "nss-certs"
  6009. msgstr ""
  6010. #. type: Plain text
  6011. #: guix-git/doc/guix.texi:1989
  6012. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  6013. msgstr ""
  6014. #. type: Plain text
  6015. #: guix-git/doc/guix.texi:1994
  6016. 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."
  6017. msgstr ""
  6018. #. type: code{#1}
  6019. #: guix-git/doc/guix.texi:1997
  6020. #, no-wrap
  6021. msgid "emacs"
  6022. msgstr ""
  6023. #. type: Plain text
  6024. #: guix-git/doc/guix.texi:2003
  6025. 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."
  6026. msgstr ""
  6027. #. type: Plain text
  6028. #: guix-git/doc/guix.texi:2010
  6029. 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})."
  6030. msgstr ""
  6031. #. type: cindex
  6032. #: guix-git/doc/guix.texi:2015
  6033. #, no-wrap
  6034. msgid "Upgrading Guix, on a foreign distro"
  6035. msgstr ""
  6036. #. type: Plain text
  6037. #: guix-git/doc/guix.texi:2018
  6038. msgid "To upgrade Guix, run:"
  6039. msgstr ""
  6040. #. type: example
  6041. #: guix-git/doc/guix.texi:2021 guix-git/doc/guix.texi:2879
  6042. #, no-wrap
  6043. msgid "guix pull\n"
  6044. msgstr ""
  6045. #. type: Plain text
  6046. #: guix-git/doc/guix.texi:2024
  6047. msgid "@xref{Invoking guix pull}, for more information."
  6048. msgstr ""
  6049. #. type: cindex
  6050. #: guix-git/doc/guix.texi:2025
  6051. #, no-wrap
  6052. msgid "upgrading Guix for the root user, on a foreign distro"
  6053. msgstr ""
  6054. #. type: cindex
  6055. #: guix-git/doc/guix.texi:2026
  6056. #, no-wrap
  6057. msgid "upgrading the Guix daemon, on a foreign distro"
  6058. msgstr ""
  6059. #. type: cindex
  6060. #: guix-git/doc/guix.texi:2027
  6061. #, no-wrap
  6062. msgid "@command{guix pull} for the root user, on a foreign distro"
  6063. msgstr ""
  6064. #. type: Plain text
  6065. #: guix-git/doc/guix.texi:2030
  6066. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  6067. msgstr ""
  6068. #. type: example
  6069. #: guix-git/doc/guix.texi:2033
  6070. #, no-wrap
  6071. msgid "sudo -i guix pull\n"
  6072. msgstr ""
  6073. #. type: Plain text
  6074. #: guix-git/doc/guix.texi:2038
  6075. msgid "followed by (assuming your distro uses the systemd service management tool):"
  6076. msgstr ""
  6077. #. type: example
  6078. #: guix-git/doc/guix.texi:2041
  6079. #, no-wrap
  6080. msgid "systemctl restart guix-daemon.service\n"
  6081. msgstr ""
  6082. #. type: Plain text
  6083. #: guix-git/doc/guix.texi:2045
  6084. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  6085. msgstr ""
  6086. #. type: cindex
  6087. #: guix-git/doc/guix.texi:2052
  6088. #, no-wrap
  6089. msgid "installing Guix System"
  6090. msgstr ""
  6091. #. type: cindex
  6092. #: guix-git/doc/guix.texi:2053
  6093. #, no-wrap
  6094. msgid "Guix System, installation"
  6095. msgstr ""
  6096. #. type: Plain text
  6097. #: guix-git/doc/guix.texi:2058
  6098. 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}."
  6099. msgstr ""
  6100. #. type: quotation
  6101. #: guix-git/doc/guix.texi:2067
  6102. 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."
  6103. msgstr ""
  6104. #. type: quotation
  6105. #: guix-git/doc/guix.texi:2070
  6106. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  6107. msgstr ""
  6108. #. type: Plain text
  6109. #: guix-git/doc/guix.texi:2091
  6110. 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."
  6111. msgstr ""
  6112. #. type: Plain text
  6113. #: guix-git/doc/guix.texi:2094
  6114. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  6115. msgstr ""
  6116. #. type: itemize
  6117. #: guix-git/doc/guix.texi:2099
  6118. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  6119. msgstr ""
  6120. #. type: itemize
  6121. #: guix-git/doc/guix.texi:2104
  6122. 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."
  6123. msgstr ""
  6124. #. type: Plain text
  6125. #: guix-git/doc/guix.texi:2109
  6126. 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."
  6127. msgstr ""
  6128. #. type: cindex
  6129. #: guix-git/doc/guix.texi:2114
  6130. #, no-wrap
  6131. msgid "hardware support on Guix System"
  6132. msgstr ""
  6133. #. type: Plain text
  6134. #: guix-git/doc/guix.texi:2123
  6135. 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."
  6136. msgstr ""
  6137. #. type: cindex
  6138. #: guix-git/doc/guix.texi:2124
  6139. #, no-wrap
  6140. msgid "WiFi, hardware support"
  6141. msgstr ""
  6142. #. type: Plain text
  6143. #: guix-git/doc/guix.texi:2133
  6144. 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}})."
  6145. msgstr ""
  6146. #. type: cindex
  6147. #: guix-git/doc/guix.texi:2134
  6148. #, no-wrap
  6149. msgid "RYF, Respects Your Freedom"
  6150. msgstr ""
  6151. #. type: Plain text
  6152. #: guix-git/doc/guix.texi:2140
  6153. 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."
  6154. msgstr ""
  6155. #. type: Plain text
  6156. #: guix-git/doc/guix.texi:2144
  6157. 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."
  6158. msgstr ""
  6159. #. type: Plain text
  6160. #: guix-git/doc/guix.texi:2153
  6161. 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:"
  6162. msgstr ""
  6163. #. type: table
  6164. #: guix-git/doc/guix.texi:2157
  6165. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  6166. msgstr ""
  6167. #. type: table
  6168. #: guix-git/doc/guix.texi:2160
  6169. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  6170. msgstr ""
  6171. #. type: Plain text
  6172. #: guix-git/doc/guix.texi:2165
  6173. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  6174. msgstr ""
  6175. #. type: example
  6176. #: guix-git/doc/guix.texi:2169
  6177. #, no-wrap
  6178. msgid ""
  6179. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6180. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6181. msgstr ""
  6182. #. type: example
  6183. #: guix-git/doc/guix.texi:2177
  6184. #, no-wrap
  6185. msgid ""
  6186. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  6187. " -qO - | gpg --import -\n"
  6188. msgstr ""
  6189. #. type: Plain text
  6190. #: guix-git/doc/guix.texi:2189
  6191. 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."
  6192. msgstr ""
  6193. #. type: unnumberedsubsec
  6194. #: guix-git/doc/guix.texi:2190
  6195. #, no-wrap
  6196. msgid "Copying to a USB Stick"
  6197. msgstr ""
  6198. #. type: Plain text
  6199. #: guix-git/doc/guix.texi:2195
  6200. 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:"
  6201. msgstr ""
  6202. #. type: example
  6203. #: guix-git/doc/guix.texi:2199
  6204. #, no-wrap
  6205. msgid ""
  6206. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6207. "sync\n"
  6208. msgstr ""
  6209. #. type: Plain text
  6210. #: guix-git/doc/guix.texi:2202
  6211. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6212. msgstr ""
  6213. #. type: unnumberedsubsec
  6214. #: guix-git/doc/guix.texi:2203
  6215. #, no-wrap
  6216. msgid "Burning on a DVD"
  6217. msgstr ""
  6218. #. type: Plain text
  6219. #: guix-git/doc/guix.texi:2208
  6220. 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:"
  6221. msgstr ""
  6222. #. type: example
  6223. #: guix-git/doc/guix.texi:2211
  6224. #, no-wrap
  6225. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6226. msgstr ""
  6227. #. type: Plain text
  6228. #: guix-git/doc/guix.texi:2214
  6229. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6230. msgstr ""
  6231. #. type: unnumberedsubsec
  6232. #: guix-git/doc/guix.texi:2215
  6233. #, no-wrap
  6234. msgid "Booting"
  6235. msgstr ""
  6236. #. type: Plain text
  6237. #: guix-git/doc/guix.texi:2222
  6238. 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}."
  6239. msgstr ""
  6240. #. type: Plain text
  6241. #: guix-git/doc/guix.texi:2225
  6242. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6243. msgstr ""
  6244. #. type: Plain text
  6245. #: guix-git/doc/guix.texi:2235
  6246. 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})."
  6247. msgstr ""
  6248. #. type: Plain text
  6249. #: guix-git/doc/guix.texi:2243
  6250. 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."
  6251. msgstr ""
  6252. #. type: quotation
  6253. #: guix-git/doc/guix.texi:2248
  6254. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6255. msgstr ""
  6256. #. type: Plain text
  6257. #: guix-git/doc/guix.texi:2255
  6258. 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."
  6259. msgstr ""
  6260. #. type: Plain text
  6261. #: guix-git/doc/guix.texi:2260
  6262. 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."
  6263. msgstr ""
  6264. #. type: Plain text
  6265. #: guix-git/doc/guix.texi:2262
  6266. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6267. msgstr ""
  6268. #. type: Plain text
  6269. #: guix-git/doc/guix.texi:2267
  6270. 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."
  6271. msgstr ""
  6272. #. type: Plain text
  6273. #: guix-git/doc/guix.texi:2269
  6274. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6275. msgstr ""
  6276. #. type: Plain text
  6277. #: guix-git/doc/guix.texi:2272
  6278. 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."
  6279. msgstr ""
  6280. #. type: Plain text
  6281. #: guix-git/doc/guix.texi:2274
  6282. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6283. msgstr ""
  6284. #. type: Plain text
  6285. #: guix-git/doc/guix.texi:2279
  6286. 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!"
  6287. msgstr ""
  6288. #. type: Plain text
  6289. #: guix-git/doc/guix.texi:2289
  6290. 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})."
  6291. msgstr ""
  6292. #. type: Plain text
  6293. #: guix-git/doc/guix.texi:2295
  6294. 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})."
  6295. msgstr ""
  6296. #. type: subsection
  6297. #: guix-git/doc/guix.texi:2302
  6298. #, no-wrap
  6299. msgid "Keyboard Layout, Networking, and Partitioning"
  6300. msgstr ""
  6301. #. type: Plain text
  6302. #: guix-git/doc/guix.texi:2307
  6303. 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."
  6304. msgstr ""
  6305. #. type: cindex
  6306. #: guix-git/doc/guix.texi:2310 guix-git/doc/guix.texi:15584
  6307. #, no-wrap
  6308. msgid "keyboard layout"
  6309. msgstr ""
  6310. #. type: Plain text
  6311. #: guix-git/doc/guix.texi:2314
  6312. 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:"
  6313. msgstr ""
  6314. #. type: example
  6315. #: guix-git/doc/guix.texi:2317
  6316. #, no-wrap
  6317. msgid "loadkeys dvorak\n"
  6318. msgstr ""
  6319. #. type: Plain text
  6320. #: guix-git/doc/guix.texi:2322
  6321. 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."
  6322. msgstr ""
  6323. #. type: subsubsection
  6324. #: guix-git/doc/guix.texi:2323
  6325. #, no-wrap
  6326. msgid "Networking"
  6327. msgstr ""
  6328. #. type: Plain text
  6329. #: guix-git/doc/guix.texi:2326
  6330. msgid "Run the following command to see what your network interfaces are called:"
  6331. msgstr ""
  6332. #. type: example
  6333. #: guix-git/doc/guix.texi:2329
  6334. #, no-wrap
  6335. msgid "ifconfig -a\n"
  6336. msgstr ""
  6337. #. type: table
  6338. #: guix-git/doc/guix.texi:2333 guix-git/doc/guix.texi:2355
  6339. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6340. msgstr ""
  6341. #. type: example
  6342. #: guix-git/doc/guix.texi:2336
  6343. #, no-wrap
  6344. msgid "ip address\n"
  6345. msgstr ""
  6346. #. type: Plain text
  6347. #: guix-git/doc/guix.texi:2343
  6348. 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}."
  6349. msgstr ""
  6350. #. type: item
  6351. #: guix-git/doc/guix.texi:2345
  6352. #, no-wrap
  6353. msgid "Wired connection"
  6354. msgstr ""
  6355. #. type: table
  6356. #: guix-git/doc/guix.texi:2348
  6357. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6358. msgstr ""
  6359. #. type: example
  6360. #: guix-git/doc/guix.texi:2351
  6361. #, no-wrap
  6362. msgid "ifconfig @var{interface} up\n"
  6363. msgstr ""
  6364. #. type: example
  6365. #: guix-git/doc/guix.texi:2358
  6366. #, no-wrap
  6367. msgid "ip link set @var{interface} up\n"
  6368. msgstr ""
  6369. #. type: item
  6370. #: guix-git/doc/guix.texi:2360
  6371. #, no-wrap
  6372. msgid "Wireless connection"
  6373. msgstr ""
  6374. #. type: cindex
  6375. #: guix-git/doc/guix.texi:2361 guix-git/doc/guix.texi:17484
  6376. #, no-wrap
  6377. msgid "wireless"
  6378. msgstr ""
  6379. #. type: cindex
  6380. #: guix-git/doc/guix.texi:2362 guix-git/doc/guix.texi:17485
  6381. #, no-wrap
  6382. msgid "WiFi"
  6383. msgstr ""
  6384. #. type: table
  6385. #: guix-git/doc/guix.texi:2367
  6386. 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}:"
  6387. msgstr ""
  6388. #. type: example
  6389. #: guix-git/doc/guix.texi:2370
  6390. #, no-wrap
  6391. msgid "nano wpa_supplicant.conf\n"
  6392. msgstr ""
  6393. #. type: table
  6394. #: guix-git/doc/guix.texi:2375
  6395. 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:"
  6396. msgstr ""
  6397. #. type: example
  6398. #: guix-git/doc/guix.texi:2382
  6399. #, no-wrap
  6400. msgid ""
  6401. "network=@{\n"
  6402. " ssid=\"@var{my-ssid}\"\n"
  6403. " key_mgmt=WPA-PSK\n"
  6404. " psk=\"the network's secret passphrase\"\n"
  6405. "@}\n"
  6406. msgstr ""
  6407. #. type: table
  6408. #: guix-git/doc/guix.texi:2387
  6409. 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):"
  6410. msgstr ""
  6411. #. type: example
  6412. #: guix-git/doc/guix.texi:2390
  6413. #, no-wrap
  6414. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6415. msgstr ""
  6416. #. type: table
  6417. #: guix-git/doc/guix.texi:2393
  6418. msgid "Run @command{man wpa_supplicant} for more information."
  6419. msgstr ""
  6420. #. type: cindex
  6421. #: guix-git/doc/guix.texi:2395
  6422. #, no-wrap
  6423. msgid "DHCP"
  6424. msgstr ""
  6425. #. type: Plain text
  6426. #: guix-git/doc/guix.texi:2398
  6427. 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:"
  6428. msgstr ""
  6429. #. type: example
  6430. #: guix-git/doc/guix.texi:2401
  6431. #, no-wrap
  6432. msgid "dhclient -v @var{interface}\n"
  6433. msgstr ""
  6434. #. type: Plain text
  6435. #: guix-git/doc/guix.texi:2404
  6436. msgid "Try to ping a server to see if networking is up and running:"
  6437. msgstr ""
  6438. #. type: example
  6439. #: guix-git/doc/guix.texi:2407
  6440. #, no-wrap
  6441. msgid "ping -c 3 gnu.org\n"
  6442. msgstr ""
  6443. #. type: Plain text
  6444. #: guix-git/doc/guix.texi:2411
  6445. 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."
  6446. msgstr ""
  6447. #. type: cindex
  6448. #: guix-git/doc/guix.texi:2412
  6449. #, no-wrap
  6450. msgid "proxy, during system installation"
  6451. msgstr ""
  6452. #. type: Plain text
  6453. #: guix-git/doc/guix.texi:2415
  6454. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6455. msgstr ""
  6456. #. type: example
  6457. #: guix-git/doc/guix.texi:2418
  6458. #, no-wrap
  6459. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6460. msgstr ""
  6461. #. type: Plain text
  6462. #: guix-git/doc/guix.texi:2423
  6463. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6464. msgstr ""
  6465. #. type: cindex
  6466. #: guix-git/doc/guix.texi:2424
  6467. #, no-wrap
  6468. msgid "installing over SSH"
  6469. msgstr ""
  6470. #. type: Plain text
  6471. #: guix-git/doc/guix.texi:2427
  6472. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6473. msgstr ""
  6474. #. type: example
  6475. #: guix-git/doc/guix.texi:2430
  6476. #, no-wrap
  6477. msgid "herd start ssh-daemon\n"
  6478. msgstr ""
  6479. #. type: Plain text
  6480. #: guix-git/doc/guix.texi:2434
  6481. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6482. msgstr ""
  6483. #. type: subsubsection
  6484. #: guix-git/doc/guix.texi:2435
  6485. #, no-wrap
  6486. msgid "Disk Partitioning"
  6487. msgstr ""
  6488. #. type: Plain text
  6489. #: guix-git/doc/guix.texi:2439
  6490. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6491. msgstr ""
  6492. #. type: Plain text
  6493. #: guix-git/doc/guix.texi:2444
  6494. 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:"
  6495. msgstr ""
  6496. #. type: example
  6497. #: guix-git/doc/guix.texi:2447
  6498. #, no-wrap
  6499. msgid "cfdisk\n"
  6500. msgstr ""
  6501. #. type: Plain text
  6502. #: guix-git/doc/guix.texi:2453
  6503. 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})."
  6504. msgstr ""
  6505. #. type: cindex
  6506. #: guix-git/doc/guix.texi:2454
  6507. #, no-wrap
  6508. msgid "EFI, installation"
  6509. msgstr ""
  6510. #. type: cindex
  6511. #: guix-git/doc/guix.texi:2455
  6512. #, no-wrap
  6513. msgid "UEFI, installation"
  6514. msgstr ""
  6515. #. type: cindex
  6516. #: guix-git/doc/guix.texi:2456
  6517. #, no-wrap
  6518. msgid "ESP, EFI system partition"
  6519. msgstr ""
  6520. #. type: Plain text
  6521. #: guix-git/doc/guix.texi:2460
  6522. 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}:"
  6523. msgstr ""
  6524. #. type: example
  6525. #: guix-git/doc/guix.texi:2463
  6526. #, no-wrap
  6527. msgid "parted /dev/sda set 1 esp on\n"
  6528. msgstr ""
  6529. #. type: vindex
  6530. #: guix-git/doc/guix.texi:2466 guix-git/doc/guix.texi:34580
  6531. #, no-wrap
  6532. msgid "grub-bootloader"
  6533. msgstr ""
  6534. #. type: vindex
  6535. #: guix-git/doc/guix.texi:2467 guix-git/doc/guix.texi:34574
  6536. #, no-wrap
  6537. msgid "grub-efi-bootloader"
  6538. msgstr ""
  6539. #. type: quotation
  6540. #: guix-git/doc/guix.texi:2474
  6541. 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."
  6542. msgstr ""
  6543. #. type: Plain text
  6544. #: guix-git/doc/guix.texi:2482
  6545. 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, F2FS, and XFS 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:"
  6546. msgstr ""
  6547. #. type: example
  6548. #: guix-git/doc/guix.texi:2485
  6549. #, no-wrap
  6550. msgid "mkfs.fat -F32 /dev/sda1\n"
  6551. msgstr ""
  6552. #. type: Plain text
  6553. #: guix-git/doc/guix.texi:2492
  6554. 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})."
  6555. msgstr ""
  6556. #. type: Plain text
  6557. #: guix-git/doc/guix.texi:2499
  6558. 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:"
  6559. msgstr ""
  6560. #. type: example
  6561. #: guix-git/doc/guix.texi:2502
  6562. #, no-wrap
  6563. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6564. msgstr ""
  6565. #. type: cindex
  6566. #: guix-git/doc/guix.texi:2504 guix-git/doc/guix.texi:14475
  6567. #, no-wrap
  6568. msgid "encrypted disk"
  6569. msgstr ""
  6570. #. type: Plain text
  6571. #: guix-git/doc/guix.texi:2509
  6572. 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)."
  6573. msgstr ""
  6574. #. type: quotation
  6575. #: guix-git/doc/guix.texi:2510 guix-git/doc/guix.texi:5280
  6576. #: guix-git/doc/guix.texi:6489 guix-git/doc/guix.texi:14601
  6577. #: guix-git/doc/guix.texi:21013 guix-git/doc/guix.texi:21020
  6578. #, no-wrap
  6579. msgid "Warning"
  6580. msgstr ""
  6581. #. type: quotation
  6582. #: guix-git/doc/guix.texi:2517
  6583. msgid "Note that GRUB can unlock LUKS2 devices since version 2.06, but only supports the PBKDF2 key derivation function, which is not the default for @command{cryptsetup luksFormat}. You can check which key derivation function is being used by a device by running @command{cryptsetup luksDump @var{device}}, and looking for the PBKDF field of your keyslots."
  6584. msgstr ""
  6585. #. type: Plain text
  6586. #: guix-git/doc/guix.texi:2522
  6587. msgid "Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence to format it as a LUKS2 partition would be along these lines:"
  6588. msgstr ""
  6589. #. type: example
  6590. #: guix-git/doc/guix.texi:2527
  6591. #, no-wrap
  6592. msgid ""
  6593. "cryptsetup luksFormat --type luks2 --pbkdf pbkdf2 /dev/sda2\n"
  6594. "cryptsetup open /dev/sda2 my-partition\n"
  6595. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6596. msgstr ""
  6597. #. type: Plain text
  6598. #: guix-git/doc/guix.texi:2532
  6599. 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):"
  6600. msgstr ""
  6601. #. type: example
  6602. #: guix-git/doc/guix.texi:2535
  6603. #, no-wrap
  6604. msgid "mount LABEL=my-root /mnt\n"
  6605. msgstr ""
  6606. #. type: Plain text
  6607. #: guix-git/doc/guix.texi:2541
  6608. 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."
  6609. msgstr ""
  6610. #. type: Plain text
  6611. #: guix-git/doc/guix.texi:2545
  6612. msgid "Finally, if you plan to use one or more swap partitions (@pxref{Swap Space}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:"
  6613. msgstr ""
  6614. #. type: example
  6615. #: guix-git/doc/guix.texi:2549
  6616. #, no-wrap
  6617. msgid ""
  6618. "mkswap /dev/sda3\n"
  6619. "swapon /dev/sda3\n"
  6620. msgstr ""
  6621. #. type: Plain text
  6622. #: guix-git/doc/guix.texi:2557
  6623. 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}.}:"
  6624. msgstr ""
  6625. #. type: example
  6626. #: guix-git/doc/guix.texi:2565
  6627. #, no-wrap
  6628. msgid ""
  6629. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6630. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6631. "# For security, make the file readable and writable only by root.\n"
  6632. "chmod 600 /mnt/swapfile\n"
  6633. "mkswap /mnt/swapfile\n"
  6634. "swapon /mnt/swapfile\n"
  6635. msgstr ""
  6636. #. type: Plain text
  6637. #: guix-git/doc/guix.texi:2570
  6638. 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."
  6639. msgstr ""
  6640. #. type: Plain text
  6641. #: guix-git/doc/guix.texi:2576
  6642. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6643. msgstr ""
  6644. #. type: example
  6645. #: guix-git/doc/guix.texi:2579
  6646. #, no-wrap
  6647. msgid "herd start cow-store /mnt\n"
  6648. msgstr ""
  6649. #. type: Plain text
  6650. #: guix-git/doc/guix.texi:2586
  6651. 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."
  6652. msgstr ""
  6653. #. type: Plain text
  6654. #: guix-git/doc/guix.texi:2597
  6655. 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 mg (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."
  6656. msgstr ""
  6657. #. type: Plain text
  6658. #: guix-git/doc/guix.texi:2604
  6659. 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:"
  6660. msgstr ""
  6661. #. type: example
  6662. #: guix-git/doc/guix.texi:2609
  6663. #, no-wrap
  6664. msgid ""
  6665. "# mkdir /mnt/etc\n"
  6666. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6667. "# nano /mnt/etc/config.scm\n"
  6668. msgstr ""
  6669. #. type: Plain text
  6670. #: guix-git/doc/guix.texi:2613
  6671. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6672. msgstr ""
  6673. #. type: itemize
  6674. #: guix-git/doc/guix.texi:2625
  6675. msgid "Make sure the @code{bootloader-configuration} form refers to the targets 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{targets} field contain the names of the devices, like @code{(list \"/dev/sda\")}; for UEFI systems it names the paths to mounted EFI partitions, like @code{(list \"/boot/efi\")}; do make sure the paths are currently mounted and a @code{file-system} entry is specified in your configuration."
  6676. msgstr ""
  6677. #. type: itemize
  6678. #: guix-git/doc/guix.texi:2631
  6679. 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."
  6680. msgstr ""
  6681. #. type: itemize
  6682. #: guix-git/doc/guix.texi:2635
  6683. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6684. msgstr ""
  6685. #. type: Plain text
  6686. #: guix-git/doc/guix.texi:2640
  6687. 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}):"
  6688. msgstr ""
  6689. #. type: example
  6690. #: guix-git/doc/guix.texi:2643
  6691. #, no-wrap
  6692. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6693. msgstr ""
  6694. #. type: Plain text
  6695. #: guix-git/doc/guix.texi:2650
  6696. 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."
  6697. msgstr ""
  6698. #. type: Plain text
  6699. #: guix-git/doc/guix.texi:2658
  6700. 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!"
  6701. msgstr ""
  6702. #. type: Plain text
  6703. #: guix-git/doc/guix.texi:2665
  6704. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6705. msgstr ""
  6706. #. type: example
  6707. #: guix-git/doc/guix.texi:2669
  6708. #, no-wrap
  6709. msgid ""
  6710. "guix pull\n"
  6711. "sudo guix system reconfigure /etc/config.scm\n"
  6712. msgstr ""
  6713. #. type: Plain text
  6714. #: guix-git/doc/guix.texi:2675
  6715. 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})."
  6716. msgstr ""
  6717. #. type: cindex
  6718. #: guix-git/doc/guix.texi:2678
  6719. #, no-wrap
  6720. msgid "sudo vs. @command{guix pull}"
  6721. msgstr ""
  6722. #. type: quotation
  6723. #: guix-git/doc/guix.texi:2682
  6724. 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{}}."
  6725. msgstr ""
  6726. #. type: quotation
  6727. #: guix-git/doc/guix.texi:2687
  6728. 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."
  6729. msgstr ""
  6730. #. type: Plain text
  6731. #: guix-git/doc/guix.texi:2692
  6732. msgid "Now, @pxref{Getting Started}, and join us on @code{#guix} on the Libera Chat IRC network or on @email{guix-devel@@gnu.org} to share your experience!"
  6733. msgstr ""
  6734. #. type: section
  6735. #: guix-git/doc/guix.texi:2695
  6736. #, no-wrap
  6737. msgid "Installing Guix in a Virtual Machine"
  6738. msgstr ""
  6739. #. type: cindex
  6740. #: guix-git/doc/guix.texi:2697
  6741. #, no-wrap
  6742. msgid "virtual machine, Guix System installation"
  6743. msgstr ""
  6744. #. type: cindex
  6745. #: guix-git/doc/guix.texi:2698
  6746. #, no-wrap
  6747. msgid "virtual private server (VPS)"
  6748. msgstr ""
  6749. #. type: cindex
  6750. #: guix-git/doc/guix.texi:2699
  6751. #, no-wrap
  6752. msgid "VPS (virtual private server)"
  6753. msgstr ""
  6754. #. type: Plain text
  6755. #: guix-git/doc/guix.texi:2703
  6756. 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."
  6757. msgstr ""
  6758. #. type: Plain text
  6759. #: guix-git/doc/guix.texi:2706
  6760. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6761. msgstr ""
  6762. #. type: enumerate
  6763. #: guix-git/doc/guix.texi:2711
  6764. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6765. msgstr ""
  6766. #. type: enumerate
  6767. #: guix-git/doc/guix.texi:2715
  6768. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6769. msgstr ""
  6770. #. type: example
  6771. #: guix-git/doc/guix.texi:2718
  6772. #, no-wrap
  6773. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6774. msgstr ""
  6775. #. type: enumerate
  6776. #: guix-git/doc/guix.texi:2722
  6777. 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."
  6778. msgstr ""
  6779. #. type: enumerate
  6780. #: guix-git/doc/guix.texi:2725
  6781. msgid "Boot the USB installation image in an VM:"
  6782. msgstr ""
  6783. #. type: example
  6784. #: guix-git/doc/guix.texi:2731
  6785. #, no-wrap
  6786. msgid ""
  6787. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6788. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6789. " -drive file=guix-system.img \\\n"
  6790. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6791. msgstr ""
  6792. #. type: enumerate
  6793. #: guix-git/doc/guix.texi:2735
  6794. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6795. msgstr ""
  6796. #. type: enumerate
  6797. #: guix-git/doc/guix.texi:2739
  6798. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6799. msgstr ""
  6800. #. type: Plain text
  6801. #: guix-git/doc/guix.texi:2744
  6802. 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."
  6803. msgstr ""
  6804. #. type: cindex
  6805. #: guix-git/doc/guix.texi:2748
  6806. #, no-wrap
  6807. msgid "installation image"
  6808. msgstr ""
  6809. #. type: Plain text
  6810. #: guix-git/doc/guix.texi:2751
  6811. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6812. msgstr ""
  6813. #. type: example
  6814. #: guix-git/doc/guix.texi:2754
  6815. #, no-wrap
  6816. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6817. msgstr ""
  6818. #. type: Plain text
  6819. #: guix-git/doc/guix.texi:2759
  6820. 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."
  6821. msgstr ""
  6822. #. type: section
  6823. #: guix-git/doc/guix.texi:2760
  6824. #, no-wrap
  6825. msgid "Building the Installation Image for ARM Boards"
  6826. msgstr ""
  6827. #. type: Plain text
  6828. #: guix-git/doc/guix.texi:2764
  6829. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6830. msgstr ""
  6831. #. type: Plain text
  6832. #: guix-git/doc/guix.texi:2768
  6833. 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:"
  6834. msgstr ""
  6835. #. type: example
  6836. #: guix-git/doc/guix.texi:2771
  6837. #, no-wrap
  6838. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6839. msgstr ""
  6840. #. type: Plain text
  6841. #: guix-git/doc/guix.texi:2775
  6842. 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."
  6843. msgstr ""
  6844. #. type: Plain text
  6845. #: guix-git/doc/guix.texi:2785
  6846. 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."
  6847. msgstr ""
  6848. #. type: Plain text
  6849. #: guix-git/doc/guix.texi:2789
  6850. 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:"
  6851. msgstr ""
  6852. #. type: example
  6853. #: guix-git/doc/guix.texi:2792
  6854. #, no-wrap
  6855. msgid "guix search text editor\n"
  6856. msgstr ""
  6857. #. type: Plain text
  6858. #: guix-git/doc/guix.texi:2799
  6859. 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}!):"
  6860. msgstr ""
  6861. #. type: example
  6862. #: guix-git/doc/guix.texi:2802
  6863. #, no-wrap
  6864. msgid "guix install emacs\n"
  6865. msgstr ""
  6866. #. type: cindex
  6867. #: guix-git/doc/guix.texi:2804 guix-git/doc/guix.texi:3116
  6868. #: guix-git/doc/guix.texi:3168
  6869. #, no-wrap
  6870. msgid "profile"
  6871. msgstr ""
  6872. #. type: Plain text
  6873. #: guix-git/doc/guix.texi:2812
  6874. 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)."
  6875. msgstr ""
  6876. #. type: Plain text
  6877. #: guix-git/doc/guix.texi:2815
  6878. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6879. msgstr ""
  6880. #. type: example
  6881. #: guix-git/doc/guix.texi:2818
  6882. #, no-wrap
  6883. msgid ""
  6884. "hint: Consider setting the necessary environment variables by running:\n"
  6885. "\n"
  6886. msgstr ""
  6887. #. type: example
  6888. #: guix-git/doc/guix.texi:2821
  6889. #, no-wrap
  6890. msgid ""
  6891. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6892. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6893. "\n"
  6894. msgstr ""
  6895. #. type: example
  6896. #: guix-git/doc/guix.texi:2823
  6897. #, no-wrap
  6898. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6899. msgstr ""
  6900. #. type: Plain text
  6901. #: guix-git/doc/guix.texi:2837
  6902. 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, @env{GUIX_PYTHONPATH} will be defined."
  6903. msgstr ""
  6904. #. type: Plain text
  6905. #: guix-git/doc/guix.texi:2840
  6906. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6907. msgstr ""
  6908. #. type: example
  6909. #: guix-git/doc/guix.texi:2843
  6910. #, no-wrap
  6911. msgid "guix package --list-installed\n"
  6912. msgstr ""
  6913. #. type: Plain text
  6914. #: guix-git/doc/guix.texi:2848
  6915. 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:"
  6916. msgstr ""
  6917. #. type: example
  6918. #: guix-git/doc/guix.texi:2851
  6919. #, no-wrap
  6920. msgid "guix package --roll-back\n"
  6921. msgstr ""
  6922. #. type: Plain text
  6923. #: guix-git/doc/guix.texi:2856
  6924. 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:"
  6925. msgstr ""
  6926. #. type: example
  6927. #: guix-git/doc/guix.texi:2859
  6928. #, no-wrap
  6929. msgid "guix package --list-generations\n"
  6930. msgstr ""
  6931. #. type: Plain text
  6932. #: guix-git/doc/guix.texi:2862
  6933. msgid "Now you know the basics of package management!"
  6934. msgstr ""
  6935. #. type: quotation
  6936. #: guix-git/doc/guix.texi:2863 guix-git/doc/guix.texi:2922
  6937. #, no-wrap
  6938. msgid "Going further"
  6939. msgstr ""
  6940. #. type: quotation
  6941. #: guix-git/doc/guix.texi:2871
  6942. 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."
  6943. msgstr ""
  6944. #. type: Plain text
  6945. #: guix-git/doc/guix.texi:2876
  6946. 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:"
  6947. msgstr ""
  6948. #. type: Plain text
  6949. #: guix-git/doc/guix.texi:2886
  6950. 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}:"
  6951. msgstr ""
  6952. #. type: example
  6953. #: guix-git/doc/guix.texi:2890
  6954. #, no-wrap
  6955. msgid ""
  6956. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  6957. ". \"$GUIX_PROFILE/etc/profile\"\n"
  6958. msgstr ""
  6959. #. type: Plain text
  6960. #: guix-git/doc/guix.texi:2894
  6961. msgid "You must also instruct your shell to point to this new @command{guix}:"
  6962. msgstr ""
  6963. #. type: example
  6964. #: guix-git/doc/guix.texi:2897
  6965. #, no-wrap
  6966. msgid "hash guix\n"
  6967. msgstr ""
  6968. #. type: Plain text
  6969. #: guix-git/doc/guix.texi:2901
  6970. 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:"
  6971. msgstr ""
  6972. #. type: example
  6973. #: guix-git/doc/guix.texi:2904
  6974. #, no-wrap
  6975. msgid "guix upgrade\n"
  6976. msgstr ""
  6977. #. type: Plain text
  6978. #: guix-git/doc/guix.texi:2910
  6979. 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!"
  6980. msgstr ""
  6981. #. type: Plain text
  6982. #: guix-git/doc/guix.texi:2913
  6983. msgid "You can display the exact revision of Guix you're currently using by running:"
  6984. msgstr ""
  6985. #. type: example
  6986. #: guix-git/doc/guix.texi:2916
  6987. #, no-wrap
  6988. msgid "guix describe\n"
  6989. msgstr ""
  6990. #. type: Plain text
  6991. #: guix-git/doc/guix.texi:2921
  6992. 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."
  6993. msgstr ""
  6994. #. type: quotation
  6995. #: guix-git/doc/guix.texi:2927
  6996. 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})."
  6997. msgstr ""
  6998. #. type: Plain text
  6999. #: guix-git/doc/guix.texi:2932
  7000. 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:"
  7001. msgstr ""
  7002. #. type: example
  7003. #: guix-git/doc/guix.texi:2935
  7004. #, no-wrap
  7005. msgid "sudo guix system reconfigure /etc/config.scm\n"
  7006. msgstr ""
  7007. #. type: Plain text
  7008. #: guix-git/doc/guix.texi:2944
  7009. 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}:"
  7010. msgstr ""
  7011. #. type: example
  7012. #: guix-git/doc/guix.texi:2947
  7013. #, no-wrap
  7014. msgid "sudo guix system roll-back\n"
  7015. msgstr ""
  7016. #. type: Plain text
  7017. #: guix-git/doc/guix.texi:2954
  7018. 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."
  7019. msgstr ""
  7020. #. type: Plain text
  7021. #: guix-git/doc/guix.texi:2956
  7022. msgid "Now you know enough to get started!"
  7023. msgstr ""
  7024. #. type: quotation
  7025. #: guix-git/doc/guix.texi:2957
  7026. #, no-wrap
  7027. msgid "Resources"
  7028. msgstr ""
  7029. #. type: quotation
  7030. #: guix-git/doc/guix.texi:2960
  7031. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  7032. msgstr ""
  7033. #. type: itemize
  7034. #: guix-git/doc/guix.texi:2965
  7035. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  7036. msgstr ""
  7037. #. type: itemize
  7038. #: guix-git/doc/guix.texi:2970
  7039. 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."
  7040. msgstr ""
  7041. #. type: itemize
  7042. #: guix-git/doc/guix.texi:2975
  7043. 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."
  7044. msgstr ""
  7045. #. type: itemize
  7046. #: guix-git/doc/guix.texi:2979
  7047. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  7048. msgstr ""
  7049. #. type: quotation
  7050. #: guix-git/doc/guix.texi:2982
  7051. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  7052. msgstr ""
  7053. #. type: Plain text
  7054. #: guix-git/doc/guix.texi:2993
  7055. 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."
  7056. msgstr ""
  7057. #. type: Plain text
  7058. #: guix-git/doc/guix.texi:3001
  7059. 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):"
  7060. msgstr ""
  7061. #. type: example
  7062. #: guix-git/doc/guix.texi:3004
  7063. #, no-wrap
  7064. msgid "guix install emacs-guix\n"
  7065. msgstr ""
  7066. #. type: Plain text
  7067. #: guix-git/doc/guix.texi:3025
  7068. 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."
  7069. msgstr ""
  7070. #. type: Plain text
  7071. #: guix-git/doc/guix.texi:3029
  7072. 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."
  7073. msgstr ""
  7074. #. type: Plain text
  7075. #: guix-git/doc/guix.texi:3034
  7076. 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}."
  7077. msgstr ""
  7078. #. type: Plain text
  7079. #: guix-git/doc/guix.texi:3042
  7080. 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."
  7081. msgstr ""
  7082. #. type: Plain text
  7083. #: guix-git/doc/guix.texi:3046
  7084. 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}."
  7085. msgstr ""
  7086. #. type: cindex
  7087. #: guix-git/doc/guix.texi:3047 guix-git/doc/guix.texi:3130
  7088. #, no-wrap
  7089. msgid "transactions"
  7090. msgstr ""
  7091. #. type: Plain text
  7092. #: guix-git/doc/guix.texi:3054
  7093. 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."
  7094. msgstr ""
  7095. #. type: Plain text
  7096. #: guix-git/doc/guix.texi:3062
  7097. 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})."
  7098. msgstr ""
  7099. #. type: Plain text
  7100. #: guix-git/doc/guix.texi:3069
  7101. 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."
  7102. msgstr ""
  7103. #. type: Plain text
  7104. #: guix-git/doc/guix.texi:3082
  7105. 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})."
  7106. msgstr ""
  7107. #. type: Plain text
  7108. #: guix-git/doc/guix.texi:3093
  7109. 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})."
  7110. msgstr ""
  7111. #. type: Plain text
  7112. #: guix-git/doc/guix.texi:3099
  7113. msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix shell} 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 shell})."
  7114. msgstr ""
  7115. #. type: cindex
  7116. #: guix-git/doc/guix.texi:3100
  7117. #, no-wrap
  7118. msgid "replication, of software environments"
  7119. msgstr ""
  7120. #. type: cindex
  7121. #: guix-git/doc/guix.texi:3101
  7122. #, no-wrap
  7123. msgid "provenance tracking, of software artifacts"
  7124. msgstr ""
  7125. #. type: Plain text
  7126. #: guix-git/doc/guix.texi:3108
  7127. 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."
  7128. msgstr ""
  7129. #. type: section
  7130. #: guix-git/doc/guix.texi:3110
  7131. #, no-wrap
  7132. msgid "Invoking @command{guix package}"
  7133. msgstr ""
  7134. #. type: cindex
  7135. #: guix-git/doc/guix.texi:3112
  7136. #, no-wrap
  7137. msgid "installing packages"
  7138. msgstr ""
  7139. #. type: cindex
  7140. #: guix-git/doc/guix.texi:3113
  7141. #, no-wrap
  7142. msgid "removing packages"
  7143. msgstr ""
  7144. #. type: cindex
  7145. #: guix-git/doc/guix.texi:3114
  7146. #, no-wrap
  7147. msgid "package installation"
  7148. msgstr ""
  7149. #. type: cindex
  7150. #: guix-git/doc/guix.texi:3115
  7151. #, no-wrap
  7152. msgid "package removal"
  7153. msgstr ""
  7154. #. type: Plain text
  7155. #: guix-git/doc/guix.texi:3125
  7156. 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:"
  7157. msgstr ""
  7158. #. type: example
  7159. #: guix-git/doc/guix.texi:3128
  7160. #, no-wrap
  7161. msgid "guix package @var{options}\n"
  7162. msgstr ""
  7163. #. type: Plain text
  7164. #: guix-git/doc/guix.texi:3135
  7165. 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."
  7166. msgstr ""
  7167. #. type: Plain text
  7168. #: guix-git/doc/guix.texi:3138
  7169. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  7170. msgstr ""
  7171. #. type: example
  7172. #: guix-git/doc/guix.texi:3141
  7173. #, no-wrap
  7174. msgid "guix package -r lua -i guile guile-cairo\n"
  7175. msgstr ""
  7176. #. type: cindex
  7177. #: guix-git/doc/guix.texi:3143
  7178. #, no-wrap
  7179. msgid "aliases, for @command{guix package}"
  7180. msgstr ""
  7181. #. type: Plain text
  7182. #: guix-git/doc/guix.texi:3145
  7183. msgid "For your convenience, we also provide the following aliases:"
  7184. msgstr ""
  7185. #. type: itemize
  7186. #: guix-git/doc/guix.texi:3149
  7187. msgid "@command{guix search} is an alias for @command{guix package -s},"
  7188. msgstr ""
  7189. #. type: itemize
  7190. #: guix-git/doc/guix.texi:3151
  7191. msgid "@command{guix install} is an alias for @command{guix package -i},"
  7192. msgstr ""
  7193. #. type: itemize
  7194. #: guix-git/doc/guix.texi:3153
  7195. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  7196. msgstr ""
  7197. #. type: itemize
  7198. #: guix-git/doc/guix.texi:3155
  7199. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  7200. msgstr ""
  7201. #. type: itemize
  7202. #: guix-git/doc/guix.texi:3157
  7203. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7204. msgstr ""
  7205. #. type: Plain text
  7206. #: guix-git/doc/guix.texi:3162
  7207. 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."
  7208. msgstr ""
  7209. #. type: Plain text
  7210. #: guix-git/doc/guix.texi:3167
  7211. 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}})."
  7212. msgstr ""
  7213. #. type: Plain text
  7214. #: guix-git/doc/guix.texi:3174
  7215. 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."
  7216. msgstr ""
  7217. #. type: cindex
  7218. #: guix-git/doc/guix.texi:3174 guix-git/doc/guix.texi:3418
  7219. #, no-wrap
  7220. msgid "search paths"
  7221. msgstr ""
  7222. #. type: Plain text
  7223. #: guix-git/doc/guix.texi:3179
  7224. 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:"
  7225. msgstr ""
  7226. #. type: example
  7227. #: guix-git/doc/guix.texi:3183
  7228. #, no-wrap
  7229. msgid ""
  7230. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7231. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7232. msgstr ""
  7233. #. type: Plain text
  7234. #: guix-git/doc/guix.texi:3194
  7235. 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}."
  7236. msgstr ""
  7237. #. type: Plain text
  7238. #: guix-git/doc/guix.texi:3196
  7239. msgid "The @var{options} can be among the following:"
  7240. msgstr ""
  7241. #. type: item
  7242. #: guix-git/doc/guix.texi:3199
  7243. #, no-wrap
  7244. msgid "--install=@var{package} @dots{}"
  7245. msgstr ""
  7246. #. type: itemx
  7247. #: guix-git/doc/guix.texi:3200
  7248. #, no-wrap
  7249. msgid "-i @var{package} @dots{}"
  7250. msgstr ""
  7251. #. type: table
  7252. #: guix-git/doc/guix.texi:3202
  7253. msgid "Install the specified @var{package}s."
  7254. msgstr ""
  7255. #. type: table
  7256. #: guix-git/doc/guix.texi:3207
  7257. 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)."
  7258. msgstr ""
  7259. #. type: table
  7260. #: guix-git/doc/guix.texi:3215
  7261. 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})."
  7262. msgstr ""
  7263. #. type: cindex
  7264. #: guix-git/doc/guix.texi:3216
  7265. #, no-wrap
  7266. msgid "propagated inputs"
  7267. msgstr ""
  7268. #. type: table
  7269. #: guix-git/doc/guix.texi:3222
  7270. 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)."
  7271. msgstr ""
  7272. #. type: anchor{#1}
  7273. #: guix-git/doc/guix.texi:3229
  7274. msgid "package-cmd-propagated-inputs"
  7275. msgstr ""
  7276. #. type: table
  7277. #: guix-git/doc/guix.texi:3229
  7278. 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."
  7279. msgstr ""
  7280. #. type: table
  7281. #: guix-git/doc/guix.texi:3234
  7282. 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."
  7283. msgstr ""
  7284. #. type: item
  7285. #: guix-git/doc/guix.texi:3235
  7286. #, no-wrap
  7287. msgid "--install-from-expression=@var{exp}"
  7288. msgstr ""
  7289. #. type: itemx
  7290. #: guix-git/doc/guix.texi:3236
  7291. #, no-wrap
  7292. msgid "-e @var{exp}"
  7293. msgstr ""
  7294. #. type: table
  7295. #: guix-git/doc/guix.texi:3238
  7296. msgid "Install the package @var{exp} evaluates to."
  7297. msgstr ""
  7298. #. type: table
  7299. #: guix-git/doc/guix.texi:3243
  7300. 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)}."
  7301. msgstr ""
  7302. #. type: table
  7303. #: guix-git/doc/guix.texi:3247
  7304. 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."
  7305. msgstr ""
  7306. #. type: item
  7307. #: guix-git/doc/guix.texi:3248
  7308. #, no-wrap
  7309. msgid "--install-from-file=@var{file}"
  7310. msgstr ""
  7311. #. type: itemx
  7312. #: guix-git/doc/guix.texi:3249 guix-git/doc/guix.texi:5781
  7313. #: guix-git/doc/guix.texi:11396
  7314. #, no-wrap
  7315. msgid "-f @var{file}"
  7316. msgstr ""
  7317. #. type: table
  7318. #: guix-git/doc/guix.texi:3251
  7319. msgid "Install the package that the code within @var{file} evaluates to."
  7320. msgstr ""
  7321. #. type: table
  7322. #: guix-git/doc/guix.texi:3254 guix-git/doc/guix.texi:5787
  7323. #: guix-git/doc/guix.texi:6162
  7324. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7325. msgstr ""
  7326. #. type: include
  7327. #: guix-git/doc/guix.texi:3256 guix-git/doc/guix.texi:11404
  7328. #, no-wrap
  7329. msgid "package-hello.scm"
  7330. msgstr ""
  7331. #. type: table
  7332. #: guix-git/doc/guix.texi:3263
  7333. 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 shell})."
  7334. msgstr ""
  7335. #. type: table
  7336. #: guix-git/doc/guix.texi:3268
  7337. 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}:"
  7338. msgstr ""
  7339. #. type: example
  7340. #: guix-git/doc/guix.texi:3271 guix-git/doc/guix.texi:11414
  7341. #, no-wrap
  7342. msgid "@verbatiminclude package-hello.json\n"
  7343. msgstr ""
  7344. #. type: item
  7345. #: guix-git/doc/guix.texi:3273
  7346. #, no-wrap
  7347. msgid "--remove=@var{package} @dots{}"
  7348. msgstr ""
  7349. #. type: itemx
  7350. #: guix-git/doc/guix.texi:3274
  7351. #, no-wrap
  7352. msgid "-r @var{package} @dots{}"
  7353. msgstr ""
  7354. #. type: table
  7355. #: guix-git/doc/guix.texi:3276
  7356. msgid "Remove the specified @var{package}s."
  7357. msgstr ""
  7358. #. type: table
  7359. #: guix-git/doc/guix.texi:3281
  7360. 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}."
  7361. msgstr ""
  7362. #. type: item
  7363. #: guix-git/doc/guix.texi:3282
  7364. #, no-wrap
  7365. msgid "--upgrade[=@var{regexp} @dots{}]"
  7366. msgstr ""
  7367. #. type: itemx
  7368. #: guix-git/doc/guix.texi:3283
  7369. #, no-wrap
  7370. msgid "-u [@var{regexp} @dots{}]"
  7371. msgstr ""
  7372. #. type: cindex
  7373. #: guix-git/doc/guix.texi:3284
  7374. #, no-wrap
  7375. msgid "upgrading packages"
  7376. msgstr ""
  7377. #. type: table
  7378. #: guix-git/doc/guix.texi:3288
  7379. 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."
  7380. msgstr ""
  7381. #. type: table
  7382. #: guix-git/doc/guix.texi:3293
  7383. 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})."
  7384. msgstr ""
  7385. #. type: cindex
  7386. #: guix-git/doc/guix.texi:3294
  7387. #, no-wrap
  7388. msgid "package transformations, upgrades"
  7389. msgstr ""
  7390. #. type: table
  7391. #: guix-git/doc/guix.texi:3299
  7392. 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:"
  7393. msgstr ""
  7394. #. type: example
  7395. #: guix-git/doc/guix.texi:3302
  7396. #, no-wrap
  7397. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7398. msgstr ""
  7399. #. type: table
  7400. #: guix-git/doc/guix.texi:3307
  7401. 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."
  7402. msgstr ""
  7403. #. type: table
  7404. #: guix-git/doc/guix.texi:3312
  7405. 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:"
  7406. msgstr ""
  7407. #. type: example
  7408. #: guix-git/doc/guix.texi:3315
  7409. #, no-wrap
  7410. msgid "guix install @var{package}\n"
  7411. msgstr ""
  7412. #. type: item
  7413. #: guix-git/doc/guix.texi:3317
  7414. #, no-wrap
  7415. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7416. msgstr ""
  7417. #. type: table
  7418. #: guix-git/doc/guix.texi:3322
  7419. 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'':"
  7420. msgstr ""
  7421. #. type: example
  7422. #: guix-git/doc/guix.texi:3325
  7423. #, no-wrap
  7424. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7425. msgstr ""
  7426. #. type: anchor{#1}
  7427. #: guix-git/doc/guix.texi:3327
  7428. #, no-wrap
  7429. msgid "profile-manifest"
  7430. msgstr ""
  7431. #. type: item
  7432. #: guix-git/doc/guix.texi:3327 guix-git/doc/guix.texi:5799
  7433. #: guix-git/doc/guix.texi:6167 guix-git/doc/guix.texi:6615
  7434. #: guix-git/doc/guix.texi:12535 guix-git/doc/guix.texi:14135
  7435. #, no-wrap
  7436. msgid "--manifest=@var{file}"
  7437. msgstr ""
  7438. #. type: itemx
  7439. #: guix-git/doc/guix.texi:3328 guix-git/doc/guix.texi:5800
  7440. #: guix-git/doc/guix.texi:6168 guix-git/doc/guix.texi:6616
  7441. #: guix-git/doc/guix.texi:12536
  7442. #, no-wrap
  7443. msgid "-m @var{file}"
  7444. msgstr ""
  7445. #. type: cindex
  7446. #: guix-git/doc/guix.texi:3329
  7447. #, no-wrap
  7448. msgid "profile declaration"
  7449. msgstr ""
  7450. #. type: cindex
  7451. #: guix-git/doc/guix.texi:3330
  7452. #, no-wrap
  7453. msgid "profile manifest"
  7454. msgstr ""
  7455. #. type: table
  7456. #: guix-git/doc/guix.texi:3334
  7457. 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."
  7458. msgstr ""
  7459. #. type: table
  7460. #: guix-git/doc/guix.texi:3340
  7461. 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."
  7462. msgstr ""
  7463. #. type: table
  7464. #: guix-git/doc/guix.texi:3344
  7465. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7466. msgstr ""
  7467. #. type: findex
  7468. #: guix-git/doc/guix.texi:3345
  7469. #, no-wrap
  7470. msgid "packages->manifest"
  7471. msgstr ""
  7472. #. type: lisp
  7473. #: guix-git/doc/guix.texi:3348
  7474. #, no-wrap
  7475. msgid ""
  7476. "(use-package-modules guile emacs)\n"
  7477. "\n"
  7478. msgstr ""
  7479. #. type: lisp
  7480. #: guix-git/doc/guix.texi:3354
  7481. #, no-wrap
  7482. msgid ""
  7483. "(packages->manifest\n"
  7484. " (list emacs\n"
  7485. " guile-2.0\n"
  7486. " ;; Use a specific package output.\n"
  7487. " (list guile-2.0 \"debug\")))\n"
  7488. msgstr ""
  7489. #. type: findex
  7490. #: guix-git/doc/guix.texi:3356
  7491. #, no-wrap
  7492. msgid "specifications->manifest"
  7493. msgstr ""
  7494. #. type: table
  7495. #: guix-git/doc/guix.texi:3363
  7496. 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:"
  7497. msgstr ""
  7498. #. type: lisp
  7499. #: guix-git/doc/guix.texi:3367
  7500. #, no-wrap
  7501. msgid ""
  7502. "(specifications->manifest\n"
  7503. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7504. msgstr ""
  7505. #. type: findex
  7506. #: guix-git/doc/guix.texi:3369
  7507. #, no-wrap
  7508. msgid "package->development-manifest"
  7509. msgstr ""
  7510. #. type: table
  7511. #: guix-git/doc/guix.texi:3372
  7512. msgid "You might also want to create a manifest for all the dependencies of a package, rather than the package itself:"
  7513. msgstr ""
  7514. #. type: lisp
  7515. #: guix-git/doc/guix.texi:3375
  7516. #, no-wrap
  7517. msgid "(package->development-manifest (specification->package \"emacs\"))\n"
  7518. msgstr ""
  7519. #. type: table
  7520. #: guix-git/doc/guix.texi:3379
  7521. msgid "The example above gives you all the software required to develop Emacs, similar to what @command{guix environment emacs} provides."
  7522. msgstr ""
  7523. #. type: table
  7524. #: guix-git/doc/guix.texi:3382
  7525. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7526. msgstr ""
  7527. #. type: item
  7528. #: guix-git/doc/guix.texi:3383 guix-git/doc/guix.texi:4492
  7529. #, no-wrap
  7530. msgid "--roll-back"
  7531. msgstr ""
  7532. #. type: cindex
  7533. #: guix-git/doc/guix.texi:3384 guix-git/doc/guix.texi:4493
  7534. #: guix-git/doc/guix.texi:35006 guix-git/doc/guix.texi:37641
  7535. #, no-wrap
  7536. msgid "rolling back"
  7537. msgstr ""
  7538. #. type: cindex
  7539. #: guix-git/doc/guix.texi:3385 guix-git/doc/guix.texi:4494
  7540. #, no-wrap
  7541. msgid "undoing transactions"
  7542. msgstr ""
  7543. #. type: cindex
  7544. #: guix-git/doc/guix.texi:3386 guix-git/doc/guix.texi:4495
  7545. #, no-wrap
  7546. msgid "transactions, undoing"
  7547. msgstr ""
  7548. #. type: table
  7549. #: guix-git/doc/guix.texi:3389
  7550. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7551. msgstr ""
  7552. #. type: table
  7553. #: guix-git/doc/guix.texi:3392
  7554. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7555. msgstr ""
  7556. #. type: table
  7557. #: guix-git/doc/guix.texi:3396
  7558. 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."
  7559. msgstr ""
  7560. #. type: table
  7561. #: guix-git/doc/guix.texi:3400
  7562. 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."
  7563. msgstr ""
  7564. #. type: item
  7565. #: guix-git/doc/guix.texi:3401 guix-git/doc/guix.texi:4499
  7566. #, no-wrap
  7567. msgid "--switch-generation=@var{pattern}"
  7568. msgstr ""
  7569. #. type: itemx
  7570. #: guix-git/doc/guix.texi:3402 guix-git/doc/guix.texi:4500
  7571. #, no-wrap
  7572. msgid "-S @var{pattern}"
  7573. msgstr ""
  7574. #. type: cindex
  7575. #: guix-git/doc/guix.texi:3403 guix-git/doc/guix.texi:3635
  7576. #: guix-git/doc/guix.texi:4501 guix-git/doc/guix.texi:34964
  7577. #, no-wrap
  7578. msgid "generations"
  7579. msgstr ""
  7580. #. type: table
  7581. #: guix-git/doc/guix.texi:3405 guix-git/doc/guix.texi:4503
  7582. msgid "Switch to a particular generation defined by @var{pattern}."
  7583. msgstr ""
  7584. #. type: table
  7585. #: guix-git/doc/guix.texi:3411 guix-git/doc/guix.texi:4509
  7586. 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}."
  7587. msgstr ""
  7588. #. type: table
  7589. #: guix-git/doc/guix.texi:3416
  7590. 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."
  7591. msgstr ""
  7592. #. type: item
  7593. #: guix-git/doc/guix.texi:3417
  7594. #, no-wrap
  7595. msgid "--search-paths[=@var{kind}]"
  7596. msgstr ""
  7597. #. type: table
  7598. #: guix-git/doc/guix.texi:3423
  7599. 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."
  7600. msgstr ""
  7601. #. type: table
  7602. #: guix-git/doc/guix.texi:3431
  7603. 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."
  7604. msgstr ""
  7605. #. type: table
  7606. #: guix-git/doc/guix.texi:3434
  7607. msgid "The typical use case is to define these environment variables in the shell:"
  7608. msgstr ""
  7609. #. type: example
  7610. #: guix-git/doc/guix.texi:3437
  7611. #, no-wrap
  7612. msgid "$ eval `guix package --search-paths`\n"
  7613. msgstr ""
  7614. #. type: table
  7615. #: guix-git/doc/guix.texi:3443
  7616. 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}."
  7617. msgstr ""
  7618. #. type: table
  7619. #: guix-git/doc/guix.texi:3446
  7620. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7621. msgstr ""
  7622. #. type: example
  7623. #: guix-git/doc/guix.texi:3451
  7624. #, no-wrap
  7625. msgid ""
  7626. "$ guix package -p foo -i guile\n"
  7627. "$ guix package -p bar -i guile-json\n"
  7628. "$ guix package -p foo -p bar --search-paths\n"
  7629. msgstr ""
  7630. #. type: table
  7631. #: guix-git/doc/guix.texi:3456
  7632. 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."
  7633. msgstr ""
  7634. #. type: cindex
  7635. #: guix-git/doc/guix.texi:3458
  7636. #, no-wrap
  7637. msgid "profile, choosing"
  7638. msgstr ""
  7639. #. type: item
  7640. #: guix-git/doc/guix.texi:3459 guix-git/doc/guix.texi:4529
  7641. #: guix-git/doc/guix.texi:4858
  7642. #, no-wrap
  7643. msgid "--profile=@var{profile}"
  7644. msgstr ""
  7645. #. type: itemx
  7646. #: guix-git/doc/guix.texi:3460 guix-git/doc/guix.texi:4530
  7647. #: guix-git/doc/guix.texi:4859
  7648. #, no-wrap
  7649. msgid "-p @var{profile}"
  7650. msgstr ""
  7651. #. type: table
  7652. #: guix-git/doc/guix.texi:3462
  7653. msgid "Use @var{profile} instead of the user's default profile."
  7654. msgstr ""
  7655. #. type: table
  7656. #: guix-git/doc/guix.texi:3467
  7657. 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:"
  7658. msgstr ""
  7659. #. type: example
  7660. #: guix-git/doc/guix.texi:3473
  7661. #, no-wrap
  7662. msgid ""
  7663. "$ guix install hello -p ~/code/my-profile\n"
  7664. "@dots{}\n"
  7665. "$ ~/code/my-profile/bin/hello\n"
  7666. "Hello, world!\n"
  7667. msgstr ""
  7668. #. type: table
  7669. #: guix-git/doc/guix.texi:3477
  7670. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7671. msgstr ""
  7672. #. type: example
  7673. #: guix-git/doc/guix.texi:3480
  7674. #, no-wrap
  7675. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7676. msgstr ""
  7677. #. type: item
  7678. #: guix-git/doc/guix.texi:3482
  7679. #, no-wrap
  7680. msgid "--list-profiles"
  7681. msgstr ""
  7682. #. type: table
  7683. #: guix-git/doc/guix.texi:3484
  7684. msgid "List all the user's profiles:"
  7685. msgstr ""
  7686. #. type: example
  7687. #: guix-git/doc/guix.texi:3491
  7688. #, no-wrap
  7689. msgid ""
  7690. "$ guix package --list-profiles\n"
  7691. "/home/charlie/.guix-profile\n"
  7692. "/home/charlie/code/my-profile\n"
  7693. "/home/charlie/code/devel-profile\n"
  7694. "/home/charlie/tmp/test\n"
  7695. msgstr ""
  7696. #. type: table
  7697. #: guix-git/doc/guix.texi:3494
  7698. msgid "When running as root, list all the profiles of all the users."
  7699. msgstr ""
  7700. #. type: cindex
  7701. #: guix-git/doc/guix.texi:3495
  7702. #, no-wrap
  7703. msgid "collisions, in a profile"
  7704. msgstr ""
  7705. #. type: cindex
  7706. #: guix-git/doc/guix.texi:3496
  7707. #, no-wrap
  7708. msgid "colliding packages in profiles"
  7709. msgstr ""
  7710. #. type: cindex
  7711. #: guix-git/doc/guix.texi:3497
  7712. #, no-wrap
  7713. msgid "profile collisions"
  7714. msgstr ""
  7715. #. type: item
  7716. #: guix-git/doc/guix.texi:3498
  7717. #, no-wrap
  7718. msgid "--allow-collisions"
  7719. msgstr ""
  7720. #. type: table
  7721. #: guix-git/doc/guix.texi:3500
  7722. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7723. msgstr ""
  7724. #. type: table
  7725. #: guix-git/doc/guix.texi:3504
  7726. 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."
  7727. msgstr ""
  7728. #. type: item
  7729. #: guix-git/doc/guix.texi:3505 guix-git/doc/guix.texi:4572
  7730. #: guix-git/doc/guix.texi:6701
  7731. #, no-wrap
  7732. msgid "--bootstrap"
  7733. msgstr ""
  7734. #. type: table
  7735. #: guix-git/doc/guix.texi:3508
  7736. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7737. msgstr ""
  7738. #. type: Plain text
  7739. #: guix-git/doc/guix.texi:3514
  7740. 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:"
  7741. msgstr ""
  7742. #. type: item
  7743. #: guix-git/doc/guix.texi:3517
  7744. #, no-wrap
  7745. msgid "--search=@var{regexp}"
  7746. msgstr ""
  7747. #. type: itemx
  7748. #: guix-git/doc/guix.texi:3518
  7749. #, no-wrap
  7750. msgid "-s @var{regexp}"
  7751. msgstr ""
  7752. #. type: anchor{#1}
  7753. #: guix-git/doc/guix.texi:3520
  7754. msgid "guix-search"
  7755. msgstr ""
  7756. #. type: cindex
  7757. #: guix-git/doc/guix.texi:3520
  7758. #, no-wrap
  7759. msgid "searching for packages"
  7760. msgstr ""
  7761. #. type: table
  7762. #: guix-git/doc/guix.texi:3526
  7763. 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})."
  7764. msgstr ""
  7765. #. type: table
  7766. #: guix-git/doc/guix.texi:3529
  7767. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7768. msgstr ""
  7769. #. type: example
  7770. #: guix-git/doc/guix.texi:3535
  7771. #, no-wrap
  7772. msgid ""
  7773. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7774. "name: jemalloc\n"
  7775. "version: 4.5.0\n"
  7776. "relevance: 6\n"
  7777. "\n"
  7778. msgstr ""
  7779. #. type: example
  7780. #: guix-git/doc/guix.texi:3539
  7781. #, no-wrap
  7782. msgid ""
  7783. "name: glibc\n"
  7784. "version: 2.25\n"
  7785. "relevance: 1\n"
  7786. "\n"
  7787. msgstr ""
  7788. #. type: example
  7789. #: guix-git/doc/guix.texi:3543
  7790. #, no-wrap
  7791. msgid ""
  7792. "name: libgc\n"
  7793. "version: 7.6.0\n"
  7794. "relevance: 1\n"
  7795. msgstr ""
  7796. #. type: table
  7797. #: guix-git/doc/guix.texi:3547
  7798. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7799. msgstr ""
  7800. #. type: example
  7801. #: guix-git/doc/guix.texi:3551
  7802. #, no-wrap
  7803. msgid ""
  7804. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7805. "name: elfutils\n"
  7806. "\n"
  7807. msgstr ""
  7808. #. type: example
  7809. #: guix-git/doc/guix.texi:3554
  7810. #, no-wrap
  7811. msgid ""
  7812. "name: gmp\n"
  7813. "@dots{}\n"
  7814. msgstr ""
  7815. #. type: table
  7816. #: guix-git/doc/guix.texi:3560
  7817. 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):"
  7818. msgstr ""
  7819. #. type: example
  7820. #: guix-git/doc/guix.texi:3565
  7821. #, no-wrap
  7822. msgid ""
  7823. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7824. "name: gnubg\n"
  7825. "@dots{}\n"
  7826. msgstr ""
  7827. #. type: table
  7828. #: guix-git/doc/guix.texi:3571
  7829. 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."
  7830. msgstr ""
  7831. #. type: table
  7832. #: guix-git/doc/guix.texi:3575
  7833. 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:"
  7834. msgstr ""
  7835. #. type: example
  7836. #: guix-git/doc/guix.texi:3579
  7837. #, no-wrap
  7838. msgid ""
  7839. "$ guix search crypto library | \\\n"
  7840. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7841. msgstr ""
  7842. #. type: table
  7843. #: guix-git/doc/guix.texi:3584
  7844. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7845. msgstr ""
  7846. #. type: item
  7847. #: guix-git/doc/guix.texi:3585
  7848. #, no-wrap
  7849. msgid "--show=@var{package}"
  7850. msgstr ""
  7851. #. type: table
  7852. #: guix-git/doc/guix.texi:3589
  7853. 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})."
  7854. msgstr ""
  7855. #. type: example
  7856. #: guix-git/doc/guix.texi:3594
  7857. #, no-wrap
  7858. msgid ""
  7859. "$ guix package --show=guile | recsel -p name,version\n"
  7860. "name: guile\n"
  7861. "version: 3.0.5\n"
  7862. "\n"
  7863. msgstr ""
  7864. #. type: example
  7865. #: guix-git/doc/guix.texi:3597
  7866. #, no-wrap
  7867. msgid ""
  7868. "name: guile\n"
  7869. "version: 3.0.2\n"
  7870. "\n"
  7871. msgstr ""
  7872. #. type: example
  7873. #: guix-git/doc/guix.texi:3601
  7874. #, no-wrap
  7875. msgid ""
  7876. "name: guile\n"
  7877. "version: 2.2.7\n"
  7878. "@dots{}\n"
  7879. msgstr ""
  7880. #. type: table
  7881. #: guix-git/doc/guix.texi:3605
  7882. 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):"
  7883. msgstr ""
  7884. #. type: example
  7885. #: guix-git/doc/guix.texi:3609
  7886. #, no-wrap
  7887. msgid ""
  7888. "$ guix show guile@@3.0.5 | recsel -p name,version\n"
  7889. "name: guile\n"
  7890. "version: 3.0.5\n"
  7891. msgstr ""
  7892. #. type: item
  7893. #: guix-git/doc/guix.texi:3611
  7894. #, no-wrap
  7895. msgid "--list-installed[=@var{regexp}]"
  7896. msgstr ""
  7897. #. type: itemx
  7898. #: guix-git/doc/guix.texi:3612
  7899. #, no-wrap
  7900. msgid "-I [@var{regexp}]"
  7901. msgstr ""
  7902. #. type: table
  7903. #: guix-git/doc/guix.texi:3616
  7904. 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}."
  7905. msgstr ""
  7906. #. type: table
  7907. #: guix-git/doc/guix.texi:3622
  7908. 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."
  7909. msgstr ""
  7910. #. type: item
  7911. #: guix-git/doc/guix.texi:3623
  7912. #, no-wrap
  7913. msgid "--list-available[=@var{regexp}]"
  7914. msgstr ""
  7915. #. type: itemx
  7916. #: guix-git/doc/guix.texi:3624
  7917. #, no-wrap
  7918. msgid "-A [@var{regexp}]"
  7919. msgstr ""
  7920. #. type: table
  7921. #: guix-git/doc/guix.texi:3628
  7922. 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}."
  7923. msgstr ""
  7924. #. type: table
  7925. #: guix-git/doc/guix.texi:3632
  7926. 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."
  7927. msgstr ""
  7928. #. type: item
  7929. #: guix-git/doc/guix.texi:3633 guix-git/doc/guix.texi:4485
  7930. #, no-wrap
  7931. msgid "--list-generations[=@var{pattern}]"
  7932. msgstr ""
  7933. #. type: itemx
  7934. #: guix-git/doc/guix.texi:3634 guix-git/doc/guix.texi:4486
  7935. #, no-wrap
  7936. msgid "-l [@var{pattern}]"
  7937. msgstr ""
  7938. #. type: table
  7939. #: guix-git/doc/guix.texi:3640
  7940. 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."
  7941. msgstr ""
  7942. #. type: table
  7943. #: guix-git/doc/guix.texi:3645
  7944. 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."
  7945. msgstr ""
  7946. #. type: table
  7947. #: guix-git/doc/guix.texi:3648
  7948. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  7949. msgstr ""
  7950. #. type: item
  7951. #: guix-git/doc/guix.texi:3650
  7952. #, no-wrap
  7953. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  7954. msgstr ""
  7955. #. type: itemize
  7956. #: guix-git/doc/guix.texi:3653
  7957. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  7958. msgstr ""
  7959. #. type: itemize
  7960. #: guix-git/doc/guix.texi:3656
  7961. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  7962. msgstr ""
  7963. #. type: item
  7964. #: guix-git/doc/guix.texi:3657
  7965. #, no-wrap
  7966. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  7967. msgstr ""
  7968. #. type: itemize
  7969. #: guix-git/doc/guix.texi:3660
  7970. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  7971. msgstr ""
  7972. #. type: itemize
  7973. #: guix-git/doc/guix.texi:3664
  7974. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  7975. msgstr ""
  7976. #. type: item
  7977. #: guix-git/doc/guix.texi:3665
  7978. #, no-wrap
  7979. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  7980. msgstr ""
  7981. #. type: itemize
  7982. #: guix-git/doc/guix.texi:3669
  7983. 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."
  7984. msgstr ""
  7985. #. type: item
  7986. #: guix-git/doc/guix.texi:3671 guix-git/doc/guix.texi:4510
  7987. #, no-wrap
  7988. msgid "--delete-generations[=@var{pattern}]"
  7989. msgstr ""
  7990. #. type: itemx
  7991. #: guix-git/doc/guix.texi:3672 guix-git/doc/guix.texi:4511
  7992. #, no-wrap
  7993. msgid "-d [@var{pattern}]"
  7994. msgstr ""
  7995. #. type: table
  7996. #: guix-git/doc/guix.texi:3675 guix-git/doc/guix.texi:4514
  7997. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  7998. msgstr ""
  7999. #. type: table
  8000. #: guix-git/doc/guix.texi:3681 guix-git/doc/guix.texi:4520
  8001. 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."
  8002. msgstr ""
  8003. #. type: table
  8004. #: guix-git/doc/guix.texi:3684
  8005. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  8006. msgstr ""
  8007. #. type: table
  8008. #: guix-git/doc/guix.texi:3687 guix-git/doc/guix.texi:4525
  8009. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  8010. msgstr ""
  8011. #. type: cindex
  8012. #: guix-git/doc/guix.texi:3688
  8013. #, no-wrap
  8014. msgid "manifest, exporting"
  8015. msgstr ""
  8016. #. type: anchor{#1}
  8017. #: guix-git/doc/guix.texi:3690
  8018. msgid "export-manifest"
  8019. msgstr ""
  8020. #. type: item
  8021. #: guix-git/doc/guix.texi:3690
  8022. #, no-wrap
  8023. msgid "--export-manifest"
  8024. msgstr ""
  8025. #. type: table
  8026. #: guix-git/doc/guix.texi:3693
  8027. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  8028. msgstr ""
  8029. #. type: table
  8030. #: guix-git/doc/guix.texi:3697
  8031. 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."
  8032. msgstr ""
  8033. #. type: table
  8034. #: guix-git/doc/guix.texi:3702
  8035. 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."
  8036. msgstr ""
  8037. #. type: table
  8038. #: guix-git/doc/guix.texi:3707
  8039. 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."
  8040. msgstr ""
  8041. #. type: cindex
  8042. #: guix-git/doc/guix.texi:3708
  8043. #, no-wrap
  8044. msgid "pinning, channel revisions of a profile"
  8045. msgstr ""
  8046. #. type: item
  8047. #: guix-git/doc/guix.texi:3709
  8048. #, no-wrap
  8049. msgid "--export-channels"
  8050. msgstr ""
  8051. #. type: table
  8052. #: guix-git/doc/guix.texi:3713
  8053. 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})."
  8054. msgstr ""
  8055. #. type: table
  8056. #: guix-git/doc/guix.texi:3717
  8057. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  8058. msgstr ""
  8059. #. type: table
  8060. #: guix-git/doc/guix.texi:3725
  8061. 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})."
  8062. msgstr ""
  8063. #. type: table
  8064. #: guix-git/doc/guix.texi:3730
  8065. 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."
  8066. msgstr ""
  8067. #. type: Plain text
  8068. #: guix-git/doc/guix.texi:3737
  8069. 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})."
  8070. msgstr ""
  8071. #. type: cindex
  8072. #: guix-git/doc/guix.texi:3742
  8073. #, no-wrap
  8074. msgid "pre-built binaries"
  8075. msgstr ""
  8076. #. type: Plain text
  8077. #: guix-git/doc/guix.texi:3748
  8078. 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."
  8079. msgstr ""
  8080. #. type: Plain text
  8081. #: guix-git/doc/guix.texi:3753
  8082. 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."
  8083. msgstr ""
  8084. #. type: cindex
  8085. #: guix-git/doc/guix.texi:3767
  8086. #, no-wrap
  8087. msgid "build farm"
  8088. msgstr ""
  8089. #. type: Plain text
  8090. #: guix-git/doc/guix.texi:3778
  8091. msgid "@code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} are both front-ends to official build farms that build packages from Guix continuously for some architectures, and make them available as substitutes. These are the default source of substitutes; which 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})."
  8092. msgstr ""
  8093. #. type: Plain text
  8094. #: guix-git/doc/guix.texi:3784
  8095. 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."
  8096. msgstr ""
  8097. #. type: Plain text
  8098. #: guix-git/doc/guix.texi:3793
  8099. msgid "Substitutes from the official build farms 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."
  8100. msgstr ""
  8101. #. type: cindex
  8102. #: guix-git/doc/guix.texi:3797
  8103. #, no-wrap
  8104. msgid "security"
  8105. msgstr ""
  8106. #. type: cindex
  8107. #: guix-git/doc/guix.texi:3799
  8108. #, no-wrap
  8109. msgid "access control list (ACL), for substitutes"
  8110. msgstr ""
  8111. #. type: cindex
  8112. #: guix-git/doc/guix.texi:3800
  8113. #, no-wrap
  8114. msgid "ACL (access control list), for substitutes"
  8115. msgstr ""
  8116. #. type: Plain text
  8117. #: guix-git/doc/guix.texi:3806
  8118. msgid "To allow Guix to download substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror, you must add the relevant 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 the substitute server to not be compromised and to serve genuine substitutes."
  8119. msgstr ""
  8120. #. type: quotation
  8121. #: guix-git/doc/guix.texi:3811
  8122. msgid "If you are using Guix System, you can skip this section: Guix System authorizes substitutes from @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} by default."
  8123. msgstr ""
  8124. #. type: Plain text
  8125. #: guix-git/doc/guix.texi:3819
  8126. msgid "The public keys for each of the project maintained substitute servers are installed along with Guix, in @code{@var{prefix}/share/guix/}, 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:"
  8127. msgstr ""
  8128. #. type: example
  8129. #: guix-git/doc/guix.texi:3823
  8130. #, no-wrap
  8131. msgid ""
  8132. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  8133. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  8134. msgstr ""
  8135. #. type: Plain text
  8136. #: guix-git/doc/guix.texi:3827
  8137. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  8138. msgstr ""
  8139. #. type: example
  8140. #: guix-git/doc/guix.texi:3836
  8141. #, no-wrap
  8142. msgid ""
  8143. "$ guix build emacs --dry-run\n"
  8144. "The following derivations would be built:\n"
  8145. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  8146. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  8147. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  8148. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  8149. "@dots{}\n"
  8150. msgstr ""
  8151. #. type: Plain text
  8152. #: guix-git/doc/guix.texi:3840
  8153. msgid "to something like:"
  8154. msgstr ""
  8155. #. type: example
  8156. #: guix-git/doc/guix.texi:3849
  8157. #, no-wrap
  8158. msgid ""
  8159. "$ guix build emacs --dry-run\n"
  8160. "112.3 MB would be downloaded:\n"
  8161. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  8162. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  8163. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  8164. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  8165. "@dots{}\n"
  8166. msgstr ""
  8167. #. type: Plain text
  8168. #: guix-git/doc/guix.texi:3856
  8169. msgid "The text changed from ``The following derivations would be built'' to ``112.3 MB would be downloaded''. This indicates that substitutes from the configured substitute servers are usable and will be downloaded, when possible, for future builds."
  8170. msgstr ""
  8171. #. type: cindex
  8172. #: guix-git/doc/guix.texi:3857
  8173. #, no-wrap
  8174. msgid "substitutes, how to disable"
  8175. msgstr ""
  8176. #. type: Plain text
  8177. #: guix-git/doc/guix.texi:3863
  8178. 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."
  8179. msgstr ""
  8180. #. type: cindex
  8181. #: guix-git/doc/guix.texi:3867
  8182. #, no-wrap
  8183. msgid "substitute servers, adding more"
  8184. msgstr ""
  8185. #. type: Plain text
  8186. #: guix-git/doc/guix.texi:3874
  8187. 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."
  8188. msgstr ""
  8189. #. type: Plain text
  8190. #: guix-git/doc/guix.texi:3879
  8191. 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."
  8192. msgstr ""
  8193. #. type: Plain text
  8194. #: guix-git/doc/guix.texi:3886
  8195. 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}})."
  8196. msgstr ""
  8197. #. type: Plain text
  8198. #: guix-git/doc/guix.texi:3892
  8199. 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-1}} and @code{@value{SUBSTITUTE-SERVER-2}}. The resulting operating system configuration will look something like:"
  8200. msgstr ""
  8201. #. type: lisp
  8202. #: guix-git/doc/guix.texi:3909
  8203. #, no-wrap
  8204. msgid ""
  8205. "(operating-system\n"
  8206. " ;; @dots{}\n"
  8207. " (services\n"
  8208. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  8209. " ;; with the list of services you're actually using.\n"
  8210. " (modify-services %desktop-services\n"
  8211. " (guix-service-type config =>\n"
  8212. " (guix-configuration\n"
  8213. " (inherit config)\n"
  8214. " (substitute-urls\n"
  8215. " (append (list \"https://guix.example.org\")\n"
  8216. " %default-substitute-urls))\n"
  8217. " (authorized-keys\n"
  8218. " (append (list (local-file \"./key.pub\"))\n"
  8219. " %default-authorized-guix-keys)))))))\n"
  8220. msgstr ""
  8221. #. type: Plain text
  8222. #: guix-git/doc/guix.texi:3916
  8223. 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:"
  8224. msgstr ""
  8225. #. type: example
  8226. #: guix-git/doc/guix.texi:3920
  8227. #, no-wrap
  8228. msgid ""
  8229. "$ sudo guix system reconfigure /etc/config.scm\n"
  8230. "$ sudo herd restart guix-daemon\n"
  8231. msgstr ""
  8232. #. type: Plain text
  8233. #: guix-git/doc/guix.texi:3924
  8234. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8235. msgstr ""
  8236. #. type: enumerate
  8237. #: guix-git/doc/guix.texi:3933
  8238. 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}}):"
  8239. msgstr ""
  8240. #. type: example
  8241. #: guix-git/doc/guix.texi:3936
  8242. #, no-wrap
  8243. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8244. msgstr ""
  8245. #. type: enumerate
  8246. #: guix-git/doc/guix.texi:3940
  8247. msgid "Restart the daemon. For systemd, it goes like this:"
  8248. msgstr ""
  8249. #. type: example
  8250. #: guix-git/doc/guix.texi:3944
  8251. #, no-wrap
  8252. msgid ""
  8253. "systemctl daemon-reload\n"
  8254. "systemctl restart guix-daemon.service\n"
  8255. msgstr ""
  8256. #. type: enumerate
  8257. #: guix-git/doc/guix.texi:3948
  8258. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8259. msgstr ""
  8260. #. type: example
  8261. #: guix-git/doc/guix.texi:3951
  8262. #, no-wrap
  8263. msgid "guix archive --authorize < key.pub\n"
  8264. msgstr ""
  8265. #. type: enumerate
  8266. #: guix-git/doc/guix.texi:3955
  8267. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8268. msgstr ""
  8269. #. type: Plain text
  8270. #: guix-git/doc/guix.texi:3964
  8271. msgid "Now you're all set! Substitutes will be preferably taken from @code{https://guix.example.org}, using @code{@value{SUBSTITUTE-SERVER-1}} then @code{@value{SUBSTITUTE-SERVER-2}} as fallback options. 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."
  8272. msgstr ""
  8273. #. type: Plain text
  8274. #: guix-git/doc/guix.texi:3968
  8275. 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."
  8276. msgstr ""
  8277. #. type: cindex
  8278. #: guix-git/doc/guix.texi:3972
  8279. #, no-wrap
  8280. msgid "digital signatures"
  8281. msgstr ""
  8282. #. type: Plain text
  8283. #: guix-git/doc/guix.texi:3976
  8284. 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."
  8285. msgstr ""
  8286. #. type: Plain text
  8287. #: guix-git/doc/guix.texi:3982
  8288. 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:"
  8289. msgstr ""
  8290. #. type: example
  8291. #: guix-git/doc/guix.texi:3985
  8292. #, no-wrap
  8293. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8294. msgstr ""
  8295. #. type: Plain text
  8296. #: guix-git/doc/guix.texi:3996
  8297. 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)."
  8298. msgstr ""
  8299. #. type: Plain text
  8300. #: guix-git/doc/guix.texi:4003
  8301. 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)."
  8302. msgstr ""
  8303. #. type: Plain text
  8304. #: guix-git/doc/guix.texi:4015
  8305. 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}."
  8306. msgstr ""
  8307. #. type: Plain text
  8308. #: guix-git/doc/guix.texi:4024
  8309. 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."
  8310. msgstr ""
  8311. #. type: Plain text
  8312. #: guix-git/doc/guix.texi:4038
  8313. 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."
  8314. msgstr ""
  8315. #. type: Plain text
  8316. #: guix-git/doc/guix.texi:4043
  8317. 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."
  8318. msgstr ""
  8319. #. type: cindex
  8320. #: guix-git/doc/guix.texi:4047
  8321. #, no-wrap
  8322. msgid "trust, of pre-built binaries"
  8323. msgstr ""
  8324. #. type: Plain text
  8325. #: guix-git/doc/guix.texi:4057
  8326. 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 substitutes can be convenient, we encourage users to also build on their own, or even run their own build farm, such that the project run substitute servers are 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})."
  8327. msgstr ""
  8328. #. type: Plain text
  8329. #: guix-git/doc/guix.texi:4069
  8330. 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}})."
  8331. msgstr ""
  8332. #. type: Plain text
  8333. #: guix-git/doc/guix.texi:4073
  8334. 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}."
  8335. msgstr ""
  8336. #. type: cindex
  8337. #: guix-git/doc/guix.texi:4077
  8338. #, no-wrap
  8339. msgid "multiple-output packages"
  8340. msgstr ""
  8341. #. type: cindex
  8342. #: guix-git/doc/guix.texi:4078
  8343. #, no-wrap
  8344. msgid "package outputs"
  8345. msgstr ""
  8346. #. type: cindex
  8347. #: guix-git/doc/guix.texi:4079
  8348. #, no-wrap
  8349. msgid "outputs"
  8350. msgstr ""
  8351. #. type: Plain text
  8352. #: guix-git/doc/guix.texi:4089
  8353. 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."
  8354. msgstr ""
  8355. #. type: Plain text
  8356. #: guix-git/doc/guix.texi:4097
  8357. 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:"
  8358. msgstr ""
  8359. #. type: example
  8360. #: guix-git/doc/guix.texi:4100
  8361. #, no-wrap
  8362. msgid "guix install glib\n"
  8363. msgstr ""
  8364. #. type: item
  8365. #: guix-git/doc/guix.texi:4102 guix-git/doc/guix.texi:36368
  8366. #: guix-git/doc/guix.texi:36425
  8367. #, no-wrap
  8368. msgid "documentation"
  8369. msgstr ""
  8370. #. type: Plain text
  8371. #: guix-git/doc/guix.texi:4104
  8372. msgid "The command to install its documentation is:"
  8373. msgstr ""
  8374. #. type: example
  8375. #: guix-git/doc/guix.texi:4107
  8376. #, no-wrap
  8377. msgid "guix install glib:doc\n"
  8378. msgstr ""
  8379. #. type: Plain text
  8380. #: guix-git/doc/guix.texi:4118
  8381. 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})."
  8382. msgstr ""
  8383. #. type: Plain text
  8384. #: guix-git/doc/guix.texi:4126
  8385. 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})."
  8386. msgstr ""
  8387. #. type: section
  8388. #: guix-git/doc/guix.texi:4129
  8389. #, no-wrap
  8390. msgid "Invoking @command{guix gc}"
  8391. msgstr ""
  8392. #. type: cindex
  8393. #: guix-git/doc/guix.texi:4131
  8394. #, no-wrap
  8395. msgid "garbage collector"
  8396. msgstr ""
  8397. #. type: cindex
  8398. #: guix-git/doc/guix.texi:4132
  8399. #, no-wrap
  8400. msgid "disk space"
  8401. msgstr ""
  8402. #. type: Plain text
  8403. #: guix-git/doc/guix.texi:4138
  8404. 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!"
  8405. msgstr ""
  8406. #. type: Plain text
  8407. #: guix-git/doc/guix.texi:4149
  8408. 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."
  8409. msgstr ""
  8410. #. type: Plain text
  8411. #: guix-git/doc/guix.texi:4155
  8412. 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})."
  8413. msgstr ""
  8414. #. type: Plain text
  8415. #: guix-git/doc/guix.texi:4159
  8416. 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:"
  8417. msgstr ""
  8418. #. type: example
  8419. #: guix-git/doc/guix.texi:4162
  8420. #, no-wrap
  8421. msgid "guix gc -F 5G\n"
  8422. msgstr ""
  8423. #. type: Plain text
  8424. #: guix-git/doc/guix.texi:4171
  8425. 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."
  8426. msgstr ""
  8427. #. type: Plain text
  8428. #: guix-git/doc/guix.texi:4177
  8429. 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:"
  8430. msgstr ""
  8431. #. type: item
  8432. #: guix-git/doc/guix.texi:4179
  8433. #, no-wrap
  8434. msgid "--collect-garbage[=@var{min}]"
  8435. msgstr ""
  8436. #. type: itemx
  8437. #: guix-git/doc/guix.texi:4180
  8438. #, no-wrap
  8439. msgid "-C [@var{min}]"
  8440. msgstr ""
  8441. #. type: table
  8442. #: guix-git/doc/guix.texi:4184
  8443. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8444. msgstr ""
  8445. #. type: table
  8446. #: guix-git/doc/guix.texi:4189
  8447. 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})."
  8448. msgstr ""
  8449. #. type: table
  8450. #: guix-git/doc/guix.texi:4191
  8451. msgid "When @var{min} is omitted, collect all the garbage."
  8452. msgstr ""
  8453. #. type: item
  8454. #: guix-git/doc/guix.texi:4192
  8455. #, no-wrap
  8456. msgid "--free-space=@var{free}"
  8457. msgstr ""
  8458. #. type: itemx
  8459. #: guix-git/doc/guix.texi:4193
  8460. #, no-wrap
  8461. msgid "-F @var{free}"
  8462. msgstr ""
  8463. #. type: table
  8464. #: guix-git/doc/guix.texi:4197
  8465. 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."
  8466. msgstr ""
  8467. #. type: table
  8468. #: guix-git/doc/guix.texi:4200
  8469. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8470. msgstr ""
  8471. #. type: item
  8472. #: guix-git/doc/guix.texi:4201
  8473. #, no-wrap
  8474. msgid "--delete-generations[=@var{duration}]"
  8475. msgstr ""
  8476. #. type: itemx
  8477. #: guix-git/doc/guix.texi:4202
  8478. #, no-wrap
  8479. msgid "-d [@var{duration}]"
  8480. msgstr ""
  8481. #. type: table
  8482. #: guix-git/doc/guix.texi:4206
  8483. 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}."
  8484. msgstr ""
  8485. #. type: table
  8486. #: guix-git/doc/guix.texi:4210
  8487. 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:"
  8488. msgstr ""
  8489. #. type: example
  8490. #: guix-git/doc/guix.texi:4213
  8491. #, no-wrap
  8492. msgid "guix gc -d 2m -F 10G\n"
  8493. msgstr ""
  8494. #. type: item
  8495. #: guix-git/doc/guix.texi:4215
  8496. #, no-wrap
  8497. msgid "--delete"
  8498. msgstr ""
  8499. #. type: itemx
  8500. #: guix-git/doc/guix.texi:4216 guix-git/doc/guix.texi:5740
  8501. #, no-wrap
  8502. msgid "-D"
  8503. msgstr ""
  8504. #. type: table
  8505. #: guix-git/doc/guix.texi:4220
  8506. 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."
  8507. msgstr ""
  8508. #. type: item
  8509. #: guix-git/doc/guix.texi:4221
  8510. #, no-wrap
  8511. msgid "--list-failures"
  8512. msgstr ""
  8513. #. type: table
  8514. #: guix-git/doc/guix.texi:4223
  8515. msgid "List store items corresponding to cached build failures."
  8516. msgstr ""
  8517. #. type: table
  8518. #: guix-git/doc/guix.texi:4227
  8519. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8520. msgstr ""
  8521. #. type: item
  8522. #: guix-git/doc/guix.texi:4228
  8523. #, no-wrap
  8524. msgid "--list-roots"
  8525. msgstr ""
  8526. #. type: table
  8527. #: guix-git/doc/guix.texi:4231
  8528. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8529. msgstr ""
  8530. #. type: item
  8531. #: guix-git/doc/guix.texi:4232
  8532. #, no-wrap
  8533. msgid "--list-busy"
  8534. msgstr ""
  8535. #. type: table
  8536. #: guix-git/doc/guix.texi:4235
  8537. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8538. msgstr ""
  8539. #. type: item
  8540. #: guix-git/doc/guix.texi:4236
  8541. #, no-wrap
  8542. msgid "--clear-failures"
  8543. msgstr ""
  8544. #. type: table
  8545. #: guix-git/doc/guix.texi:4238
  8546. msgid "Remove the specified store items from the failed-build cache."
  8547. msgstr ""
  8548. #. type: table
  8549. #: guix-git/doc/guix.texi:4241
  8550. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8551. msgstr ""
  8552. #. type: item
  8553. #: guix-git/doc/guix.texi:4242
  8554. #, no-wrap
  8555. msgid "--list-dead"
  8556. msgstr ""
  8557. #. type: table
  8558. #: guix-git/doc/guix.texi:4245
  8559. 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."
  8560. msgstr ""
  8561. #. type: item
  8562. #: guix-git/doc/guix.texi:4246
  8563. #, no-wrap
  8564. msgid "--list-live"
  8565. msgstr ""
  8566. #. type: table
  8567. #: guix-git/doc/guix.texi:4248
  8568. msgid "Show the list of live store files and directories."
  8569. msgstr ""
  8570. #. type: Plain text
  8571. #: guix-git/doc/guix.texi:4252
  8572. msgid "In addition, the references among existing store files can be queried:"
  8573. msgstr ""
  8574. #. type: item
  8575. #: guix-git/doc/guix.texi:4255
  8576. #, no-wrap
  8577. msgid "--references"
  8578. msgstr ""
  8579. #. type: itemx
  8580. #: guix-git/doc/guix.texi:4256
  8581. #, no-wrap
  8582. msgid "--referrers"
  8583. msgstr ""
  8584. #. type: cindex
  8585. #: guix-git/doc/guix.texi:4257 guix-git/doc/guix.texi:13205
  8586. #, no-wrap
  8587. msgid "package dependencies"
  8588. msgstr ""
  8589. #. type: table
  8590. #: guix-git/doc/guix.texi:4260
  8591. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8592. msgstr ""
  8593. #. type: item
  8594. #: guix-git/doc/guix.texi:4261
  8595. #, no-wrap
  8596. msgid "--requisites"
  8597. msgstr ""
  8598. #. type: itemx
  8599. #: guix-git/doc/guix.texi:4262 guix-git/doc/guix.texi:6501
  8600. #, no-wrap
  8601. msgid "-R"
  8602. msgstr ""
  8603. #. type: item
  8604. #: guix-git/doc/guix.texi:4263 guix-git/doc/guix.texi:13061
  8605. #: guix-git/doc/guix.texi:13089 guix-git/doc/guix.texi:13170
  8606. #, no-wrap
  8607. msgid "closure"
  8608. msgstr ""
  8609. #. type: table
  8610. #: guix-git/doc/guix.texi:4268
  8611. 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."
  8612. msgstr ""
  8613. #. type: table
  8614. #: guix-git/doc/guix.texi:4272
  8615. 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."
  8616. msgstr ""
  8617. #. type: item
  8618. #: guix-git/doc/guix.texi:4273
  8619. #, no-wrap
  8620. msgid "--derivers"
  8621. msgstr ""
  8622. #. type: item
  8623. #: guix-git/doc/guix.texi:4274 guix-git/doc/guix.texi:6815
  8624. #: guix-git/doc/guix.texi:12917 guix-git/doc/guix.texi:13314
  8625. #, no-wrap
  8626. msgid "derivation"
  8627. msgstr ""
  8628. #. type: table
  8629. #: guix-git/doc/guix.texi:4277
  8630. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8631. msgstr ""
  8632. #. type: table
  8633. #: guix-git/doc/guix.texi:4279
  8634. msgid "For example, this command:"
  8635. msgstr ""
  8636. #. type: example
  8637. #: guix-git/doc/guix.texi:4282
  8638. #, no-wrap
  8639. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8640. msgstr ""
  8641. #. type: table
  8642. #: guix-git/doc/guix.texi:4287
  8643. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8644. msgstr ""
  8645. #. type: table
  8646. #: guix-git/doc/guix.texi:4291
  8647. 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."
  8648. msgstr ""
  8649. #. type: Plain text
  8650. #: guix-git/doc/guix.texi:4295
  8651. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8652. msgstr ""
  8653. #. type: item
  8654. #: guix-git/doc/guix.texi:4298
  8655. #, no-wrap
  8656. msgid "--verify[=@var{options}]"
  8657. msgstr ""
  8658. #. type: cindex
  8659. #: guix-git/doc/guix.texi:4299
  8660. #, no-wrap
  8661. msgid "integrity, of the store"
  8662. msgstr ""
  8663. #. type: cindex
  8664. #: guix-git/doc/guix.texi:4300
  8665. #, no-wrap
  8666. msgid "integrity checking"
  8667. msgstr ""
  8668. #. type: table
  8669. #: guix-git/doc/guix.texi:4302
  8670. msgid "Verify the integrity of the store."
  8671. msgstr ""
  8672. #. type: table
  8673. #: guix-git/doc/guix.texi:4305
  8674. 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}."
  8675. msgstr ""
  8676. #. type: table
  8677. #: guix-git/doc/guix.texi:4308
  8678. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8679. msgstr ""
  8680. #. type: table
  8681. #: guix-git/doc/guix.texi:4314
  8682. 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."
  8683. msgstr ""
  8684. #. type: cindex
  8685. #: guix-git/doc/guix.texi:4315
  8686. #, no-wrap
  8687. msgid "repairing the store"
  8688. msgstr ""
  8689. #. type: cindex
  8690. #: guix-git/doc/guix.texi:4316 guix-git/doc/guix.texi:11564
  8691. #, no-wrap
  8692. msgid "corruption, recovering from"
  8693. msgstr ""
  8694. #. type: table
  8695. #: guix-git/doc/guix.texi:4324
  8696. 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})."
  8697. msgstr ""
  8698. #. type: item
  8699. #: guix-git/doc/guix.texi:4325
  8700. #, no-wrap
  8701. msgid "--optimize"
  8702. msgstr ""
  8703. #. type: table
  8704. #: guix-git/doc/guix.texi:4329
  8705. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8706. msgstr ""
  8707. #. type: table
  8708. #: guix-git/doc/guix.texi:4335
  8709. 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}."
  8710. msgstr ""
  8711. #. type: section
  8712. #: guix-git/doc/guix.texi:4339
  8713. #, no-wrap
  8714. msgid "Invoking @command{guix pull}"
  8715. msgstr ""
  8716. #. type: cindex
  8717. #: guix-git/doc/guix.texi:4341
  8718. #, no-wrap
  8719. msgid "upgrading Guix"
  8720. msgstr ""
  8721. #. type: cindex
  8722. #: guix-git/doc/guix.texi:4342
  8723. #, no-wrap
  8724. msgid "updating Guix"
  8725. msgstr ""
  8726. #. type: command{#1}
  8727. #: guix-git/doc/guix.texi:4343
  8728. #, no-wrap
  8729. msgid "guix pull"
  8730. msgstr ""
  8731. #. type: cindex
  8732. #: guix-git/doc/guix.texi:4344
  8733. #, no-wrap
  8734. msgid "pull"
  8735. msgstr ""
  8736. #. type: cindex
  8737. #: guix-git/doc/guix.texi:4345
  8738. #, no-wrap
  8739. msgid "security, @command{guix pull}"
  8740. msgstr ""
  8741. #. type: cindex
  8742. #: guix-git/doc/guix.texi:4346
  8743. #, no-wrap
  8744. msgid "authenticity, of code obtained with @command{guix pull}"
  8745. msgstr ""
  8746. #. type: Plain text
  8747. #: guix-git/doc/guix.texi:4356
  8748. 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."
  8749. msgstr ""
  8750. #. type: Plain text
  8751. #: guix-git/doc/guix.texi:4359
  8752. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8753. msgstr ""
  8754. #. type: enumerate
  8755. #: guix-git/doc/guix.texi:4363
  8756. msgid "the @option{--channels} option;"
  8757. msgstr ""
  8758. #. type: enumerate
  8759. #: guix-git/doc/guix.texi:4365
  8760. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8761. msgstr ""
  8762. #. type: enumerate
  8763. #: guix-git/doc/guix.texi:4367
  8764. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8765. msgstr ""
  8766. #. type: enumerate
  8767. #: guix-git/doc/guix.texi:4370
  8768. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8769. msgstr ""
  8770. #. type: Plain text
  8771. #: guix-git/doc/guix.texi:4377
  8772. 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."
  8773. msgstr ""
  8774. #. type: Plain text
  8775. #: guix-git/doc/guix.texi:4383
  8776. 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."
  8777. msgstr ""
  8778. #. type: Plain text
  8779. #: guix-git/doc/guix.texi:4389
  8780. 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}):"
  8781. msgstr ""
  8782. #. type: example
  8783. #: guix-git/doc/guix.texi:4393
  8784. #, no-wrap
  8785. msgid ""
  8786. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8787. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8788. msgstr ""
  8789. #. type: Plain text
  8790. #: guix-git/doc/guix.texi:4397
  8791. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8792. msgstr ""
  8793. #. type: example
  8794. #: guix-git/doc/guix.texi:4405
  8795. #, no-wrap
  8796. msgid ""
  8797. "$ guix pull -l\n"
  8798. "Generation 1\tJun 10 2018 00:18:18\n"
  8799. " guix 65956ad\n"
  8800. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8801. " branch: origin/master\n"
  8802. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8803. "\n"
  8804. msgstr ""
  8805. #. type: example
  8806. #: guix-git/doc/guix.texi:4415
  8807. #, no-wrap
  8808. msgid ""
  8809. "Generation 2\tJun 11 2018 11:02:49\n"
  8810. " guix e0cc7f6\n"
  8811. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8812. " branch: origin/master\n"
  8813. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8814. " 2 new packages: keepalived, libnfnetlink\n"
  8815. " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n"
  8816. " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n"
  8817. " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n"
  8818. "\n"
  8819. msgstr ""
  8820. #. type: example
  8821. #: guix-git/doc/guix.texi:4423
  8822. #, no-wrap
  8823. msgid ""
  8824. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8825. " guix 844cc1c\n"
  8826. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8827. " branch: origin/master\n"
  8828. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8829. " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n"
  8830. " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n"
  8831. msgstr ""
  8832. #. type: Plain text
  8833. #: guix-git/doc/guix.texi:4427
  8834. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8835. msgstr ""
  8836. #. type: Plain text
  8837. #: guix-git/doc/guix.texi:4432
  8838. 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:"
  8839. msgstr ""
  8840. #. type: example
  8841. #: guix-git/doc/guix.texi:4438
  8842. #, no-wrap
  8843. msgid ""
  8844. "$ guix pull --roll-back\n"
  8845. "switched from generation 3 to 2\n"
  8846. "$ guix pull --delete-generations=1\n"
  8847. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8848. msgstr ""
  8849. #. type: Plain text
  8850. #: guix-git/doc/guix.texi:4442
  8851. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8852. msgstr ""
  8853. #. type: example
  8854. #: guix-git/doc/guix.texi:4447
  8855. #, no-wrap
  8856. msgid ""
  8857. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8858. "switched from generation 3 to 2\n"
  8859. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8860. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8861. msgstr ""
  8862. #. type: Plain text
  8863. #: guix-git/doc/guix.texi:4451
  8864. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8865. msgstr ""
  8866. #. type: item
  8867. #: guix-git/doc/guix.texi:4453 guix-git/doc/guix.texi:4611
  8868. #, no-wrap
  8869. msgid "--url=@var{url}"
  8870. msgstr ""
  8871. #. type: itemx
  8872. #: guix-git/doc/guix.texi:4454 guix-git/doc/guix.texi:4612
  8873. #, no-wrap
  8874. msgid "--commit=@var{commit}"
  8875. msgstr ""
  8876. #. type: itemx
  8877. #: guix-git/doc/guix.texi:4455 guix-git/doc/guix.texi:4613
  8878. #, no-wrap
  8879. msgid "--branch=@var{branch}"
  8880. msgstr ""
  8881. #. type: table
  8882. #: guix-git/doc/guix.texi:4459
  8883. 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}."
  8884. msgstr ""
  8885. #. type: cindex
  8886. #: guix-git/doc/guix.texi:4460 guix-git/doc/guix.texi:5057
  8887. #, no-wrap
  8888. msgid "@file{channels.scm}, configuration file"
  8889. msgstr ""
  8890. #. type: cindex
  8891. #: guix-git/doc/guix.texi:4461 guix-git/doc/guix.texi:5058
  8892. #, no-wrap
  8893. msgid "configuration file for channels"
  8894. msgstr ""
  8895. #. type: table
  8896. #: guix-git/doc/guix.texi:4465
  8897. 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)."
  8898. msgstr ""
  8899. #. type: item
  8900. #: guix-git/doc/guix.texi:4466 guix-git/doc/guix.texi:4618
  8901. #, no-wrap
  8902. msgid "--channels=@var{file}"
  8903. msgstr ""
  8904. #. type: itemx
  8905. #: guix-git/doc/guix.texi:4467 guix-git/doc/guix.texi:4619
  8906. #, no-wrap
  8907. msgid "-C @var{file}"
  8908. msgstr ""
  8909. #. type: table
  8910. #: guix-git/doc/guix.texi:4473
  8911. 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."
  8912. msgstr ""
  8913. #. type: cindex
  8914. #: guix-git/doc/guix.texi:4474
  8915. #, no-wrap
  8916. msgid "channel news"
  8917. msgstr ""
  8918. #. type: item
  8919. #: guix-git/doc/guix.texi:4475
  8920. #, no-wrap
  8921. msgid "--news"
  8922. msgstr ""
  8923. #. type: itemx
  8924. #: guix-git/doc/guix.texi:4476 guix-git/doc/guix.texi:5864
  8925. #: guix-git/doc/guix.texi:6247 guix-git/doc/guix.texi:35304
  8926. #, no-wrap
  8927. msgid "-N"
  8928. msgstr ""
  8929. #. type: table
  8930. #: guix-git/doc/guix.texi:4480
  8931. 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})."
  8932. msgstr ""
  8933. #. type: table
  8934. #: guix-git/doc/guix.texi:4484
  8935. 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)."
  8936. msgstr ""
  8937. #. type: table
  8938. #: guix-git/doc/guix.texi:4491
  8939. 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})."
  8940. msgstr ""
  8941. #. type: table
  8942. #: guix-git/doc/guix.texi:4498
  8943. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  8944. msgstr ""
  8945. #. type: table
  8946. #: guix-git/doc/guix.texi:4522
  8947. msgid "If the current generation matches, it is @emph{not} deleted."
  8948. msgstr ""
  8949. #. type: table
  8950. #: guix-git/doc/guix.texi:4528
  8951. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  8952. msgstr ""
  8953. #. type: table
  8954. #: guix-git/doc/guix.texi:4532
  8955. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  8956. msgstr ""
  8957. #. type: item
  8958. #: guix-git/doc/guix.texi:4533 guix-git/doc/guix.texi:10893
  8959. #: guix-git/doc/guix.texi:12836
  8960. #, no-wrap
  8961. msgid "--dry-run"
  8962. msgstr ""
  8963. #. type: itemx
  8964. #: guix-git/doc/guix.texi:4534 guix-git/doc/guix.texi:10894
  8965. #: guix-git/doc/guix.texi:12837 guix-git/doc/guix.texi:13043
  8966. #, no-wrap
  8967. msgid "-n"
  8968. msgstr ""
  8969. #. type: table
  8970. #: guix-git/doc/guix.texi:4537
  8971. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  8972. msgstr ""
  8973. #. type: item
  8974. #: guix-git/doc/guix.texi:4538 guix-git/doc/guix.texi:35323
  8975. #, no-wrap
  8976. msgid "--allow-downgrades"
  8977. msgstr ""
  8978. #. type: table
  8979. #: guix-git/doc/guix.texi:4541
  8980. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  8981. msgstr ""
  8982. #. type: cindex
  8983. #: guix-git/doc/guix.texi:4542
  8984. #, no-wrap
  8985. msgid "downgrade attacks, protection against"
  8986. msgstr ""
  8987. #. type: table
  8988. #: guix-git/doc/guix.texi:4547
  8989. 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."
  8990. msgstr ""
  8991. #. type: quotation
  8992. #: guix-git/doc/guix.texi:4551 guix-git/doc/guix.texi:35337
  8993. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  8994. msgstr ""
  8995. #. type: item
  8996. #: guix-git/doc/guix.texi:4553
  8997. #, no-wrap
  8998. msgid "--disable-authentication"
  8999. msgstr ""
  9000. #. type: table
  9001. #: guix-git/doc/guix.texi:4555
  9002. msgid "Allow pulling channel code without authenticating it."
  9003. msgstr ""
  9004. #. type: cindex
  9005. #: guix-git/doc/guix.texi:4556 guix-git/doc/guix.texi:5203
  9006. #, no-wrap
  9007. msgid "authentication, of channel code"
  9008. msgstr ""
  9009. #. type: table
  9010. #: guix-git/doc/guix.texi:4561
  9011. 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."
  9012. msgstr ""
  9013. #. type: quotation
  9014. #: guix-git/doc/guix.texi:4565
  9015. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  9016. msgstr ""
  9017. #. type: itemx
  9018. #: guix-git/doc/guix.texi:4568 guix-git/doc/guix.texi:5847
  9019. #: guix-git/doc/guix.texi:6230 guix-git/doc/guix.texi:6630
  9020. #: guix-git/doc/guix.texi:11506 guix-git/doc/guix.texi:13188
  9021. #: guix-git/doc/guix.texi:13453 guix-git/doc/guix.texi:14130
  9022. #: guix-git/doc/guix.texi:35252
  9023. #, no-wrap
  9024. msgid "-s @var{system}"
  9025. msgstr ""
  9026. #. type: table
  9027. #: guix-git/doc/guix.texi:4571 guix-git/doc/guix.texi:6633
  9028. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  9029. msgstr ""
  9030. #. type: table
  9031. #: guix-git/doc/guix.texi:4575
  9032. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  9033. msgstr ""
  9034. #. type: Plain text
  9035. #: guix-git/doc/guix.texi:4581
  9036. 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."
  9037. msgstr ""
  9038. #. type: Plain text
  9039. #: guix-git/doc/guix.texi:4584
  9040. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  9041. msgstr ""
  9042. #. type: section
  9043. #: guix-git/doc/guix.texi:4586
  9044. #, no-wrap
  9045. msgid "Invoking @command{guix time-machine}"
  9046. msgstr ""
  9047. #. type: command{#1}
  9048. #: guix-git/doc/guix.texi:4588
  9049. #, no-wrap
  9050. msgid "guix time-machine"
  9051. msgstr ""
  9052. #. type: cindex
  9053. #: guix-git/doc/guix.texi:4589 guix-git/doc/guix.texi:5161
  9054. #, no-wrap
  9055. msgid "pinning, channels"
  9056. msgstr ""
  9057. #. type: cindex
  9058. #: guix-git/doc/guix.texi:4590 guix-git/doc/guix.texi:4772
  9059. #: guix-git/doc/guix.texi:5162
  9060. #, no-wrap
  9061. msgid "replicating Guix"
  9062. msgstr ""
  9063. #. type: cindex
  9064. #: guix-git/doc/guix.texi:4591 guix-git/doc/guix.texi:5163
  9065. #, no-wrap
  9066. msgid "reproducibility, of Guix"
  9067. msgstr ""
  9068. #. type: Plain text
  9069. #: guix-git/doc/guix.texi:4599
  9070. 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})."
  9071. msgstr ""
  9072. #. type: Plain text
  9073. #: guix-git/doc/guix.texi:4601 guix-git/doc/guix.texi:5623
  9074. #: guix-git/doc/guix.texi:5974 guix-git/doc/guix.texi:6753
  9075. #: guix-git/doc/guix.texi:10689 guix-git/doc/guix.texi:10813
  9076. #: guix-git/doc/guix.texi:11797 guix-git/doc/guix.texi:11892
  9077. #: guix-git/doc/guix.texi:12825 guix-git/doc/guix.texi:13018
  9078. #: guix-git/doc/guix.texi:13511 guix-git/doc/guix.texi:13884
  9079. #: guix-git/doc/guix.texi:13973 guix-git/doc/guix.texi:14012
  9080. #: guix-git/doc/guix.texi:14109
  9081. msgid "The general syntax is:"
  9082. msgstr ""
  9083. #. type: example
  9084. #: guix-git/doc/guix.texi:4604
  9085. #, no-wrap
  9086. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  9087. msgstr ""
  9088. #. type: Plain text
  9089. #: guix-git/doc/guix.texi:4609
  9090. 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}):"
  9091. msgstr ""
  9092. #. type: table
  9093. #: guix-git/doc/guix.texi:4617
  9094. 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}."
  9095. msgstr ""
  9096. #. type: table
  9097. #: guix-git/doc/guix.texi:4623
  9098. 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."
  9099. msgstr ""
  9100. #. type: Plain text
  9101. #: guix-git/doc/guix.texi:4627
  9102. 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"
  9103. msgstr ""
  9104. #. type: example
  9105. #: guix-git/doc/guix.texi:4630
  9106. #, no-wrap
  9107. msgid "guix time-machine -- build hello\n"
  9108. msgstr ""
  9109. #. type: Plain text
  9110. #: guix-git/doc/guix.texi:4635
  9111. 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!"
  9112. msgstr ""
  9113. #. type: Plain text
  9114. #: guix-git/doc/guix.texi:4639
  9115. 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})."
  9116. msgstr ""
  9117. #. type: quotation
  9118. #: guix-git/doc/guix.texi:4647
  9119. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  9120. msgstr ""
  9121. #. type: cindex
  9122. #: guix-git/doc/guix.texi:4649 guix-git/doc/guix.texi:10726
  9123. #, no-wrap
  9124. msgid "inferiors"
  9125. msgstr ""
  9126. #. type: cindex
  9127. #: guix-git/doc/guix.texi:4650
  9128. #, no-wrap
  9129. msgid "composition of Guix revisions"
  9130. msgstr ""
  9131. #. type: Plain text
  9132. #: guix-git/doc/guix.texi:4655
  9133. 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."
  9134. msgstr ""
  9135. #. type: cindex
  9136. #: guix-git/doc/guix.texi:4656 guix-git/doc/guix.texi:4721
  9137. #, no-wrap
  9138. msgid "inferior packages"
  9139. msgstr ""
  9140. #. type: Plain text
  9141. #: guix-git/doc/guix.texi:4662
  9142. 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}."
  9143. msgstr ""
  9144. #. type: Plain text
  9145. #: guix-git/doc/guix.texi:4672
  9146. 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:"
  9147. msgstr ""
  9148. #. type: lisp
  9149. #: guix-git/doc/guix.texi:4676
  9150. #, no-wrap
  9151. msgid ""
  9152. "(use-modules (guix inferior) (guix channels)\n"
  9153. " (srfi srfi-1)) ;for 'first'\n"
  9154. "\n"
  9155. msgstr ""
  9156. #. type: lisp
  9157. #: guix-git/doc/guix.texi:4685
  9158. #, no-wrap
  9159. msgid ""
  9160. "(define channels\n"
  9161. " ;; This is the old revision from which we want to\n"
  9162. " ;; extract guile-json.\n"
  9163. " (list (channel\n"
  9164. " (name 'guix)\n"
  9165. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9166. " (commit\n"
  9167. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  9168. "\n"
  9169. msgstr ""
  9170. #. type: lisp
  9171. #: guix-git/doc/guix.texi:4689
  9172. #, no-wrap
  9173. msgid ""
  9174. "(define inferior\n"
  9175. " ;; An inferior representing the above revision.\n"
  9176. " (inferior-for-channels channels))\n"
  9177. "\n"
  9178. msgstr ""
  9179. #. type: lisp
  9180. #: guix-git/doc/guix.texi:4695
  9181. #, no-wrap
  9182. msgid ""
  9183. ";; Now create a manifest with the current \"guile\" package\n"
  9184. ";; and the old \"guile-json\" package.\n"
  9185. "(packages->manifest\n"
  9186. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  9187. " (specification->package \"guile\")))\n"
  9188. msgstr ""
  9189. #. type: Plain text
  9190. #: guix-git/doc/guix.texi:4700
  9191. 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."
  9192. msgstr ""
  9193. #. type: Plain text
  9194. #: guix-git/doc/guix.texi:4703
  9195. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  9196. msgstr ""
  9197. #. type: deffn
  9198. #: guix-git/doc/guix.texi:4704
  9199. #, no-wrap
  9200. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  9201. msgstr ""
  9202. #. type: deffn
  9203. #: guix-git/doc/guix.texi:4709
  9204. 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."
  9205. msgstr ""
  9206. #. type: deffn
  9207. #: guix-git/doc/guix.texi:4712
  9208. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  9209. msgstr ""
  9210. #. type: deffn
  9211. #: guix-git/doc/guix.texi:4714
  9212. #, no-wrap
  9213. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  9214. msgstr ""
  9215. #. type: deffn
  9216. #: guix-git/doc/guix.texi:4719
  9217. 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."
  9218. msgstr ""
  9219. #. type: Plain text
  9220. #: guix-git/doc/guix.texi:4724
  9221. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  9222. msgstr ""
  9223. #. type: deffn
  9224. #: guix-git/doc/guix.texi:4725
  9225. #, no-wrap
  9226. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  9227. msgstr ""
  9228. #. type: deffn
  9229. #: guix-git/doc/guix.texi:4727
  9230. msgid "Return the list of packages known to @var{inferior}."
  9231. msgstr ""
  9232. #. type: deffn
  9233. #: guix-git/doc/guix.texi:4729
  9234. #, no-wrap
  9235. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  9236. msgstr ""
  9237. #. type: deffn
  9238. #: guix-git/doc/guix.texi:4734
  9239. 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}."
  9240. msgstr ""
  9241. #. type: deffn
  9242. #: guix-git/doc/guix.texi:4736
  9243. #, no-wrap
  9244. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9245. msgstr ""
  9246. #. type: deffn
  9247. #: guix-git/doc/guix.texi:4738
  9248. msgid "Return true if @var{obj} is an inferior package."
  9249. msgstr ""
  9250. #. type: deffn
  9251. #: guix-git/doc/guix.texi:4740
  9252. #, no-wrap
  9253. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9254. msgstr ""
  9255. #. type: deffnx
  9256. #: guix-git/doc/guix.texi:4741
  9257. #, no-wrap
  9258. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9259. msgstr ""
  9260. #. type: deffnx
  9261. #: guix-git/doc/guix.texi:4742
  9262. #, no-wrap
  9263. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9264. msgstr ""
  9265. #. type: deffnx
  9266. #: guix-git/doc/guix.texi:4743
  9267. #, no-wrap
  9268. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9269. msgstr ""
  9270. #. type: deffnx
  9271. #: guix-git/doc/guix.texi:4744
  9272. #, no-wrap
  9273. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9274. msgstr ""
  9275. #. type: deffnx
  9276. #: guix-git/doc/guix.texi:4745
  9277. #, no-wrap
  9278. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9279. msgstr ""
  9280. #. type: deffnx
  9281. #: guix-git/doc/guix.texi:4746
  9282. #, no-wrap
  9283. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9284. msgstr ""
  9285. #. type: deffnx
  9286. #: guix-git/doc/guix.texi:4747
  9287. #, no-wrap
  9288. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9289. msgstr ""
  9290. #. type: deffnx
  9291. #: guix-git/doc/guix.texi:4748
  9292. #, no-wrap
  9293. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9294. msgstr ""
  9295. #. type: deffnx
  9296. #: guix-git/doc/guix.texi:4749
  9297. #, no-wrap
  9298. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9299. msgstr ""
  9300. #. type: deffnx
  9301. #: guix-git/doc/guix.texi:4750
  9302. #, no-wrap
  9303. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9304. msgstr ""
  9305. #. type: deffnx
  9306. #: guix-git/doc/guix.texi:4751
  9307. #, no-wrap
  9308. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9309. msgstr ""
  9310. #. type: deffnx
  9311. #: guix-git/doc/guix.texi:4752
  9312. #, no-wrap
  9313. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9314. msgstr ""
  9315. #. type: deffn
  9316. #: guix-git/doc/guix.texi:4757
  9317. 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."
  9318. msgstr ""
  9319. #. type: Plain text
  9320. #: guix-git/doc/guix.texi:4767
  9321. 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."
  9322. msgstr ""
  9323. #. type: section
  9324. #: guix-git/doc/guix.texi:4769
  9325. #, no-wrap
  9326. msgid "Invoking @command{guix describe}"
  9327. msgstr ""
  9328. #. type: Plain text
  9329. #: guix-git/doc/guix.texi:4780
  9330. 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."
  9331. msgstr ""
  9332. #. type: Plain text
  9333. #: guix-git/doc/guix.texi:4784
  9334. 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}):"
  9335. msgstr ""
  9336. #. type: example
  9337. #: guix-git/doc/guix.texi:4792
  9338. #, no-wrap
  9339. msgid ""
  9340. "$ guix describe\n"
  9341. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9342. " guix e0fa68c\n"
  9343. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9344. " branch: master\n"
  9345. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9346. msgstr ""
  9347. #. type: Plain text
  9348. #: guix-git/doc/guix.texi:4801
  9349. 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."
  9350. msgstr ""
  9351. #. type: Plain text
  9352. #: guix-git/doc/guix.texi:4804
  9353. 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:"
  9354. msgstr ""
  9355. #. type: example
  9356. #: guix-git/doc/guix.texi:4817
  9357. #, no-wrap
  9358. msgid ""
  9359. "$ guix describe -f channels\n"
  9360. "(list (channel\n"
  9361. " (name 'guix)\n"
  9362. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9363. " (commit\n"
  9364. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9365. " (introduction\n"
  9366. " (make-channel-introduction\n"
  9367. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9368. " (openpgp-fingerprint\n"
  9369. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9370. msgstr ""
  9371. #. type: Plain text
  9372. #: guix-git/doc/guix.texi:4826
  9373. 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!"
  9374. msgstr ""
  9375. #. type: Plain text
  9376. #: guix-git/doc/guix.texi:4829
  9377. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9378. msgstr ""
  9379. #. type: item
  9380. #: guix-git/doc/guix.texi:4831 guix-git/doc/guix.texi:6431
  9381. #: guix-git/doc/guix.texi:14242
  9382. #, no-wrap
  9383. msgid "--format=@var{format}"
  9384. msgstr ""
  9385. #. type: itemx
  9386. #: guix-git/doc/guix.texi:4832 guix-git/doc/guix.texi:6432
  9387. #: guix-git/doc/guix.texi:14243
  9388. #, no-wrap
  9389. msgid "-f @var{format}"
  9390. msgstr ""
  9391. #. type: table
  9392. #: guix-git/doc/guix.texi:4834 guix-git/doc/guix.texi:14245
  9393. msgid "Produce output in the specified @var{format}, one of:"
  9394. msgstr ""
  9395. #. type: item
  9396. #: guix-git/doc/guix.texi:4836
  9397. #, no-wrap
  9398. msgid "human"
  9399. msgstr ""
  9400. #. type: table
  9401. #: guix-git/doc/guix.texi:4838
  9402. msgid "produce human-readable output;"
  9403. msgstr ""
  9404. #. type: cindex
  9405. #: guix-git/doc/guix.texi:4838 guix-git/doc/guix.texi:5056
  9406. #, no-wrap
  9407. msgid "channels"
  9408. msgstr ""
  9409. #. type: table
  9410. #: guix-git/doc/guix.texi:4842
  9411. 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});"
  9412. msgstr ""
  9413. #. type: item
  9414. #: guix-git/doc/guix.texi:4842
  9415. #, no-wrap
  9416. msgid "channels-sans-intro"
  9417. msgstr ""
  9418. #. type: table
  9419. #: guix-git/doc/guix.texi:4848
  9420. 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;"
  9421. msgstr ""
  9422. #. type: item
  9423. #: guix-git/doc/guix.texi:4848 guix-git/doc/guix.texi:12109
  9424. #, no-wrap
  9425. msgid "json"
  9426. msgstr ""
  9427. #. type: cindex
  9428. #: guix-git/doc/guix.texi:4849
  9429. #, no-wrap
  9430. msgid "JSON"
  9431. msgstr ""
  9432. #. type: table
  9433. #: guix-git/doc/guix.texi:4851
  9434. msgid "produce a list of channel specifications in JSON format;"
  9435. msgstr ""
  9436. #. type: item
  9437. #: guix-git/doc/guix.texi:4851 guix-git/doc/guix.texi:14247
  9438. #, no-wrap
  9439. msgid "recutils"
  9440. msgstr ""
  9441. #. type: table
  9442. #: guix-git/doc/guix.texi:4853
  9443. msgid "produce a list of channel specifications in Recutils format."
  9444. msgstr ""
  9445. #. type: item
  9446. #: guix-git/doc/guix.texi:4855
  9447. #, no-wrap
  9448. msgid "--list-formats"
  9449. msgstr ""
  9450. #. type: table
  9451. #: guix-git/doc/guix.texi:4857
  9452. msgid "Display available formats for @option{--format} option."
  9453. msgstr ""
  9454. #. type: table
  9455. #: guix-git/doc/guix.texi:4861
  9456. msgid "Display information about @var{profile}."
  9457. msgstr ""
  9458. #. type: section
  9459. #: guix-git/doc/guix.texi:4864
  9460. #, no-wrap
  9461. msgid "Invoking @command{guix archive}"
  9462. msgstr ""
  9463. #. type: command{#1}
  9464. #: guix-git/doc/guix.texi:4866
  9465. #, no-wrap
  9466. msgid "guix archive"
  9467. msgstr ""
  9468. #. type: cindex
  9469. #: guix-git/doc/guix.texi:4867
  9470. #, no-wrap
  9471. msgid "archive"
  9472. msgstr "archív"
  9473. #. type: Plain text
  9474. #: guix-git/doc/guix.texi:4873
  9475. 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."
  9476. msgstr ""
  9477. #. type: quotation
  9478. #: guix-git/doc/guix.texi:4877
  9479. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9480. msgstr ""
  9481. #. type: cindex
  9482. #: guix-git/doc/guix.texi:4879
  9483. #, no-wrap
  9484. msgid "exporting store items"
  9485. msgstr ""
  9486. #. type: Plain text
  9487. #: guix-git/doc/guix.texi:4881
  9488. msgid "To export store files as an archive to standard output, run:"
  9489. msgstr ""
  9490. #. type: example
  9491. #: guix-git/doc/guix.texi:4884
  9492. #, no-wrap
  9493. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9494. msgstr ""
  9495. #. type: Plain text
  9496. #: guix-git/doc/guix.texi:4891
  9497. 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}:"
  9498. msgstr ""
  9499. #. type: example
  9500. #: guix-git/doc/guix.texi:4894
  9501. #, no-wrap
  9502. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9503. msgstr ""
  9504. #. type: Plain text
  9505. #: guix-git/doc/guix.texi:4899
  9506. 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})."
  9507. msgstr ""
  9508. #. type: Plain text
  9509. #: guix-git/doc/guix.texi:4902
  9510. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9511. msgstr ""
  9512. #. type: example
  9513. #: guix-git/doc/guix.texi:4905
  9514. #, no-wrap
  9515. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9516. msgstr ""
  9517. #. type: Plain text
  9518. #: guix-git/doc/guix.texi:4910
  9519. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9520. msgstr ""
  9521. #. type: example
  9522. #: guix-git/doc/guix.texi:4914
  9523. #, no-wrap
  9524. msgid ""
  9525. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9526. " ssh the-machine guix archive --import\n"
  9527. msgstr ""
  9528. #. type: Plain text
  9529. #: guix-git/doc/guix.texi:4924
  9530. 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})."
  9531. msgstr ""
  9532. #. type: cindex
  9533. #: guix-git/doc/guix.texi:4925
  9534. #, no-wrap
  9535. msgid "nar, archive format"
  9536. msgstr ""
  9537. #. type: cindex
  9538. #: guix-git/doc/guix.texi:4926
  9539. #, no-wrap
  9540. msgid "normalized archive (nar)"
  9541. msgstr ""
  9542. #. type: cindex
  9543. #: guix-git/doc/guix.texi:4927
  9544. #, no-wrap
  9545. msgid "nar bundle, archive format"
  9546. msgstr ""
  9547. #. type: Plain text
  9548. #: guix-git/doc/guix.texi:4932
  9549. 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}."
  9550. msgstr ""
  9551. #. type: Plain text
  9552. #: guix-git/doc/guix.texi:4942
  9553. 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."
  9554. msgstr ""
  9555. #. type: Plain text
  9556. #: guix-git/doc/guix.texi:4946
  9557. 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."
  9558. msgstr ""
  9559. #. type: Plain text
  9560. #: guix-git/doc/guix.texi:4952
  9561. 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."
  9562. msgstr ""
  9563. #. type: Plain text
  9564. #: guix-git/doc/guix.texi:4954
  9565. msgid "The main options are:"
  9566. msgstr ""
  9567. #. type: item
  9568. #: guix-git/doc/guix.texi:4956
  9569. #, no-wrap
  9570. msgid "--export"
  9571. msgstr ""
  9572. #. type: table
  9573. #: guix-git/doc/guix.texi:4959
  9574. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9575. msgstr ""
  9576. #. type: table
  9577. #: guix-git/doc/guix.texi:4962
  9578. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9579. msgstr ""
  9580. #. type: itemx
  9581. #: guix-git/doc/guix.texi:4963 guix-git/doc/guix.texi:11830
  9582. #: guix-git/doc/guix.texi:11956 guix-git/doc/guix.texi:11981
  9583. #: guix-git/doc/guix.texi:12013 guix-git/doc/guix.texi:12184
  9584. #: guix-git/doc/guix.texi:12225 guix-git/doc/guix.texi:12276
  9585. #: guix-git/doc/guix.texi:12301 guix-git/doc/guix.texi:12317
  9586. #: guix-git/doc/guix.texi:12365 guix-git/doc/guix.texi:12401
  9587. #, no-wrap
  9588. msgid "-r"
  9589. msgstr ""
  9590. #. type: item
  9591. #: guix-git/doc/guix.texi:4964 guix-git/doc/guix.texi:11829
  9592. #: guix-git/doc/guix.texi:11955 guix-git/doc/guix.texi:11980
  9593. #: guix-git/doc/guix.texi:12012 guix-git/doc/guix.texi:12183
  9594. #: guix-git/doc/guix.texi:12224 guix-git/doc/guix.texi:12275
  9595. #: guix-git/doc/guix.texi:12300 guix-git/doc/guix.texi:12316
  9596. #: guix-git/doc/guix.texi:12364 guix-git/doc/guix.texi:12400
  9597. #: guix-git/doc/guix.texi:12449
  9598. #, no-wrap
  9599. msgid "--recursive"
  9600. msgstr ""
  9601. #. type: table
  9602. #: guix-git/doc/guix.texi:4969
  9603. 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."
  9604. msgstr ""
  9605. #. type: item
  9606. #: guix-git/doc/guix.texi:4970
  9607. #, no-wrap
  9608. msgid "--import"
  9609. msgstr ""
  9610. #. type: table
  9611. #: guix-git/doc/guix.texi:4975
  9612. 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)."
  9613. msgstr ""
  9614. #. type: item
  9615. #: guix-git/doc/guix.texi:4976
  9616. #, no-wrap
  9617. msgid "--missing"
  9618. msgstr ""
  9619. #. type: table
  9620. #: guix-git/doc/guix.texi:4980
  9621. 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."
  9622. msgstr ""
  9623. #. type: item
  9624. #: guix-git/doc/guix.texi:4981
  9625. #, no-wrap
  9626. msgid "--generate-key[=@var{parameters}]"
  9627. msgstr ""
  9628. #. type: cindex
  9629. #: guix-git/doc/guix.texi:4982
  9630. #, no-wrap
  9631. msgid "signing, archives"
  9632. msgstr ""
  9633. #. type: table
  9634. #: guix-git/doc/guix.texi:4989
  9635. 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."
  9636. msgstr ""
  9637. #. type: table
  9638. #: guix-git/doc/guix.texi:4999
  9639. 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})."
  9640. msgstr ""
  9641. #. type: item
  9642. #: guix-git/doc/guix.texi:5000
  9643. #, no-wrap
  9644. msgid "--authorize"
  9645. msgstr ""
  9646. #. type: cindex
  9647. #: guix-git/doc/guix.texi:5001
  9648. #, no-wrap
  9649. msgid "authorizing, archives"
  9650. msgstr ""
  9651. #. type: table
  9652. #: guix-git/doc/guix.texi:5005
  9653. 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."
  9654. msgstr ""
  9655. #. type: table
  9656. #: guix-git/doc/guix.texi:5012
  9657. 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)}."
  9658. msgstr ""
  9659. #. type: item
  9660. #: guix-git/doc/guix.texi:5013
  9661. #, no-wrap
  9662. msgid "--extract=@var{directory}"
  9663. msgstr ""
  9664. #. type: itemx
  9665. #: guix-git/doc/guix.texi:5014
  9666. #, no-wrap
  9667. msgid "-x @var{directory}"
  9668. msgstr ""
  9669. #. type: table
  9670. #: guix-git/doc/guix.texi:5018
  9671. 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."
  9672. msgstr ""
  9673. #. type: table
  9674. #: guix-git/doc/guix.texi:5021
  9675. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9676. msgstr ""
  9677. #. type: example
  9678. #: guix-git/doc/guix.texi:5026
  9679. #, no-wrap
  9680. msgid ""
  9681. "$ wget -O - \\\n"
  9682. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9683. " | gunzip | guix archive -x /tmp/emacs\n"
  9684. msgstr ""
  9685. #. type: table
  9686. #: guix-git/doc/guix.texi:5033
  9687. 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."
  9688. msgstr ""
  9689. #. type: table
  9690. #: guix-git/doc/guix.texi:5037
  9691. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9692. msgstr ""
  9693. #. type: item
  9694. #: guix-git/doc/guix.texi:5038
  9695. #, no-wrap
  9696. msgid "--list"
  9697. msgstr ""
  9698. #. type: itemx
  9699. #: guix-git/doc/guix.texi:5039 guix-git/doc/guix.texi:12171
  9700. #: guix-git/doc/guix.texi:12218
  9701. #, no-wrap
  9702. msgid "-t"
  9703. msgstr ""
  9704. #. type: table
  9705. #: guix-git/doc/guix.texi:5043
  9706. 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:"
  9707. msgstr ""
  9708. #. type: example
  9709. #: guix-git/doc/guix.texi:5048
  9710. #, no-wrap
  9711. msgid ""
  9712. "$ wget -O - \\\n"
  9713. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9714. " | lzip -d | guix archive -t\n"
  9715. msgstr ""
  9716. #. type: cindex
  9717. #: guix-git/doc/guix.texi:5059
  9718. #, no-wrap
  9719. msgid "@command{guix pull}, configuration file"
  9720. msgstr ""
  9721. #. type: cindex
  9722. #: guix-git/doc/guix.texi:5060
  9723. #, no-wrap
  9724. msgid "configuration of @command{guix pull}"
  9725. msgstr ""
  9726. #. type: Plain text
  9727. #: guix-git/doc/guix.texi:5071
  9728. 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."
  9729. msgstr ""
  9730. #. type: cindex
  9731. #: guix-git/doc/guix.texi:5089
  9732. #, no-wrap
  9733. msgid "extending the package collection (channels)"
  9734. msgstr ""
  9735. #. type: cindex
  9736. #: guix-git/doc/guix.texi:5090
  9737. #, no-wrap
  9738. msgid "variant packages (channels)"
  9739. msgstr ""
  9740. #. type: Plain text
  9741. #: guix-git/doc/guix.texi:5094
  9742. 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):"
  9743. msgstr ""
  9744. #. type: vindex
  9745. #: guix-git/doc/guix.texi:5095
  9746. #, no-wrap
  9747. msgid "%default-channels"
  9748. msgstr ""
  9749. #. type: lisp
  9750. #: guix-git/doc/guix.texi:5102
  9751. #, no-wrap
  9752. msgid ""
  9753. ";; Add variant packages to those Guix provides.\n"
  9754. "(cons (channel\n"
  9755. " (name 'variant-packages)\n"
  9756. " (url \"https://example.org/variant-packages.git\"))\n"
  9757. " %default-channels)\n"
  9758. msgstr ""
  9759. #. type: Plain text
  9760. #: guix-git/doc/guix.texi:5112
  9761. 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:"
  9762. msgstr ""
  9763. #. type: example
  9764. #: guix-git/doc/guix.texi:5127
  9765. #, no-wrap
  9766. msgid ""
  9767. "$ guix pull --list-generations\n"
  9768. "@dots{}\n"
  9769. "Generation 19\tAug 27 2018 16:20:48\n"
  9770. " guix d894ab8\n"
  9771. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9772. " branch: master\n"
  9773. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9774. " variant-packages dd3df5e\n"
  9775. " repository URL: https://example.org/variant-packages.git\n"
  9776. " branch: master\n"
  9777. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9778. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9779. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9780. msgstr ""
  9781. #. type: Plain text
  9782. #: guix-git/doc/guix.texi:5135
  9783. 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."
  9784. msgstr ""
  9785. #. type: Plain text
  9786. #: guix-git/doc/guix.texi:5144
  9787. 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:"
  9788. msgstr ""
  9789. #. type: lisp
  9790. #: guix-git/doc/guix.texi:5151
  9791. #, no-wrap
  9792. msgid ""
  9793. ";; Tell 'guix pull' to use another repo.\n"
  9794. "(list (channel\n"
  9795. " (name 'guix)\n"
  9796. " (url \"https://example.org/another-guix.git\")\n"
  9797. " (branch \"super-hacks\")))\n"
  9798. msgstr ""
  9799. #. type: Plain text
  9800. #: guix-git/doc/guix.texi:5157
  9801. 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})."
  9802. msgstr ""
  9803. #. type: Plain text
  9804. #: guix-git/doc/guix.texi:5168
  9805. 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:"
  9806. msgstr ""
  9807. #. type: lisp
  9808. #: guix-git/doc/guix.texi:5179
  9809. #, no-wrap
  9810. msgid ""
  9811. ";; Deploy specific commits of my channels of interest.\n"
  9812. "(list (channel\n"
  9813. " (name 'guix)\n"
  9814. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9815. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9816. " (channel\n"
  9817. " (name 'variant-packages)\n"
  9818. " (url \"https://example.org/variant-packages.git\")\n"
  9819. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9820. msgstr ""
  9821. #. type: Plain text
  9822. #: guix-git/doc/guix.texi:5186
  9823. 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})."
  9824. msgstr ""
  9825. #. type: Plain text
  9826. #: guix-git/doc/guix.texi:5193
  9827. 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."
  9828. msgstr ""
  9829. #. type: Plain text
  9830. #: guix-git/doc/guix.texi:5198
  9831. 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."
  9832. msgstr ""
  9833. #. type: anchor{#1}
  9834. #: guix-git/doc/guix.texi:5203
  9835. msgid "channel-authentication"
  9836. msgstr ""
  9837. #. type: Plain text
  9838. #: guix-git/doc/guix.texi:5209
  9839. 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."
  9840. msgstr ""
  9841. #. type: Plain text
  9842. #: guix-git/doc/guix.texi:5214
  9843. 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:"
  9844. msgstr ""
  9845. #. type: lisp
  9846. #: guix-git/doc/guix.texi:5224
  9847. #, no-wrap
  9848. msgid ""
  9849. "(channel\n"
  9850. " (name 'some-channel)\n"
  9851. " (url \"https://example.org/some-channel.git\")\n"
  9852. " (introduction\n"
  9853. " (make-channel-introduction\n"
  9854. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9855. " (openpgp-fingerprint\n"
  9856. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9857. msgstr ""
  9858. #. type: Plain text
  9859. #: guix-git/doc/guix.texi:5230
  9860. 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{}}."
  9861. msgstr ""
  9862. #. type: Plain text
  9863. #: guix-git/doc/guix.texi:5236
  9864. 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."
  9865. msgstr ""
  9866. #. type: Plain text
  9867. #: guix-git/doc/guix.texi:5238
  9868. msgid "If you're curious about the authentication mechanics, read on!"
  9869. msgstr ""
  9870. #. type: Plain text
  9871. #: guix-git/doc/guix.texi:5249
  9872. 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}."
  9873. msgstr ""
  9874. #. type: lisp
  9875. #: guix-git/doc/guix.texi:5252
  9876. #, no-wrap
  9877. msgid ""
  9878. "(use-modules (guix ci))\n"
  9879. "\n"
  9880. msgstr ""
  9881. #. type: lisp
  9882. #: guix-git/doc/guix.texi:5256
  9883. #, no-wrap
  9884. msgid ""
  9885. "(list (channel-with-substitutes-available\n"
  9886. " %default-guix-channel\n"
  9887. " \"https://ci.guix.gnu.org\"))\n"
  9888. msgstr ""
  9889. #. type: Plain text
  9890. #: guix-git/doc/guix.texi:5263
  9891. 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."
  9892. msgstr ""
  9893. #. type: cindex
  9894. #: guix-git/doc/guix.texi:5267
  9895. #, no-wrap
  9896. msgid "personal packages (channels)"
  9897. msgstr ""
  9898. #. type: cindex
  9899. #: guix-git/doc/guix.texi:5268
  9900. #, no-wrap
  9901. msgid "channels, for personal packages"
  9902. msgstr ""
  9903. #. type: Plain text
  9904. #: guix-git/doc/guix.texi:5276
  9905. 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?"
  9906. msgstr ""
  9907. #. type: quotation
  9908. #: guix-git/doc/guix.texi:5284
  9909. 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:"
  9910. msgstr ""
  9911. #. type: itemize
  9912. #: guix-git/doc/guix.texi:5292
  9913. 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."
  9914. msgstr ""
  9915. #. type: itemize
  9916. #: guix-git/doc/guix.texi:5301
  9917. 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."
  9918. msgstr ""
  9919. #. type: itemize
  9920. #: guix-git/doc/guix.texi:5305
  9921. 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."
  9922. msgstr ""
  9923. #. type: quotation
  9924. #: guix-git/doc/guix.texi:5312
  9925. 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."
  9926. msgstr ""
  9927. #. type: Plain text
  9928. #: guix-git/doc/guix.texi:5324
  9929. 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})."
  9930. msgstr ""
  9931. #. type: Plain text
  9932. #: guix-git/doc/guix.texi:5329
  9933. 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."
  9934. msgstr ""
  9935. #. type: cindex
  9936. #: guix-git/doc/guix.texi:5334
  9937. #, no-wrap
  9938. msgid "subdirectory, channels"
  9939. msgstr ""
  9940. #. type: Plain text
  9941. #: guix-git/doc/guix.texi:5338
  9942. 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:"
  9943. msgstr ""
  9944. #. type: lisp
  9945. #: guix-git/doc/guix.texi:5343
  9946. #, no-wrap
  9947. msgid ""
  9948. "(channel\n"
  9949. " (version 0)\n"
  9950. " (directory \"guix\"))\n"
  9951. msgstr ""
  9952. #. type: cindex
  9953. #: guix-git/doc/guix.texi:5348
  9954. #, no-wrap
  9955. msgid "dependencies, channels"
  9956. msgstr ""
  9957. #. type: cindex
  9958. #: guix-git/doc/guix.texi:5349
  9959. #, no-wrap
  9960. msgid "meta-data, channels"
  9961. msgstr ""
  9962. #. type: Plain text
  9963. #: guix-git/doc/guix.texi:5354
  9964. 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."
  9965. msgstr ""
  9966. #. type: Plain text
  9967. #: guix-git/doc/guix.texi:5356
  9968. msgid "The meta-data file should contain a simple S-expression like this:"
  9969. msgstr ""
  9970. #. type: lisp
  9971. #: guix-git/doc/guix.texi:5364
  9972. #, no-wrap
  9973. msgid ""
  9974. "(channel\n"
  9975. " (version 0)\n"
  9976. " (dependencies\n"
  9977. " (channel\n"
  9978. " (name some-collection)\n"
  9979. " (url \"https://example.org/first-collection.git\")\n"
  9980. "\n"
  9981. msgstr ""
  9982. #. type: lisp
  9983. #: guix-git/doc/guix.texi:5376
  9984. #, no-wrap
  9985. msgid ""
  9986. " ;; The 'introduction' bit below is optional: you would\n"
  9987. " ;; provide it for dependencies that can be authenticated.\n"
  9988. " (introduction\n"
  9989. " (channel-introduction\n"
  9990. " (version 0)\n"
  9991. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  9992. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9993. " (channel\n"
  9994. " (name some-other-collection)\n"
  9995. " (url \"https://example.org/second-collection.git\")\n"
  9996. " (branch \"testing\"))))\n"
  9997. msgstr ""
  9998. #. type: Plain text
  9999. #: guix-git/doc/guix.texi:5382
  10000. 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."
  10001. msgstr ""
  10002. #. type: Plain text
  10003. #: guix-git/doc/guix.texi:5386
  10004. 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."
  10005. msgstr ""
  10006. #. type: cindex
  10007. #: guix-git/doc/guix.texi:5390
  10008. #, no-wrap
  10009. msgid "channel authorizations"
  10010. msgstr ""
  10011. #. type: anchor{#1}
  10012. #: guix-git/doc/guix.texi:5404
  10013. msgid "channel-authorizations"
  10014. msgstr ""
  10015. #. type: Plain text
  10016. #: guix-git/doc/guix.texi:5404
  10017. 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:"
  10018. msgstr ""
  10019. #. type: lisp
  10020. #: guix-git/doc/guix.texi:5407
  10021. #, no-wrap
  10022. msgid ""
  10023. ";; Example '.guix-authorizations' file.\n"
  10024. "\n"
  10025. msgstr ""
  10026. #. type: lisp
  10027. #: guix-git/doc/guix.texi:5410
  10028. #, no-wrap
  10029. msgid ""
  10030. "(authorizations\n"
  10031. " (version 0) ;current file format version\n"
  10032. "\n"
  10033. msgstr ""
  10034. #. type: lisp
  10035. #: guix-git/doc/guix.texi:5417
  10036. #, no-wrap
  10037. msgid ""
  10038. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  10039. " (name \"alice\"))\n"
  10040. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  10041. " (name \"bob\"))\n"
  10042. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  10043. " (name \"charlie\"))))\n"
  10044. msgstr ""
  10045. #. type: Plain text
  10046. #: guix-git/doc/guix.texi:5421
  10047. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  10048. msgstr ""
  10049. #. type: Plain text
  10050. #: guix-git/doc/guix.texi:5426
  10051. 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?"
  10052. msgstr ""
  10053. #. type: cindex
  10054. #: guix-git/doc/guix.texi:5427
  10055. #, no-wrap
  10056. msgid "channel introduction"
  10057. msgstr ""
  10058. #. type: Plain text
  10059. #: guix-git/doc/guix.texi:5434
  10060. 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."
  10061. msgstr ""
  10062. #. type: Plain text
  10063. #: guix-git/doc/guix.texi:5441
  10064. 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:"
  10065. msgstr ""
  10066. #. type: lisp
  10067. #: guix-git/doc/guix.texi:5446
  10068. #, no-wrap
  10069. msgid ""
  10070. "(channel\n"
  10071. " (version 0)\n"
  10072. " (keyring-reference \"my-keyring-branch\"))\n"
  10073. msgstr ""
  10074. #. type: Plain text
  10075. #: guix-git/doc/guix.texi:5450
  10076. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  10077. msgstr ""
  10078. #. type: enumerate
  10079. #: guix-git/doc/guix.texi:5456
  10080. 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})."
  10081. msgstr ""
  10082. #. type: enumerate
  10083. #: guix-git/doc/guix.texi:5461
  10084. 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.)"
  10085. msgstr ""
  10086. #. type: enumerate
  10087. #: guix-git/doc/guix.texi:5467
  10088. 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."
  10089. msgstr ""
  10090. #. type: Plain text
  10091. #: guix-git/doc/guix.texi:5472
  10092. 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:"
  10093. msgstr ""
  10094. #. type: example
  10095. #: guix-git/doc/guix.texi:5475
  10096. #, no-wrap
  10097. msgid "guix git authenticate @var{commit} @var{signer}\n"
  10098. msgstr ""
  10099. #. type: Plain text
  10100. #: guix-git/doc/guix.texi:5480
  10101. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  10102. msgstr ""
  10103. #. type: Plain text
  10104. #: guix-git/doc/guix.texi:5487
  10105. 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."
  10106. msgstr ""
  10107. #. type: cindex
  10108. #: guix-git/doc/guix.texi:5491
  10109. #, no-wrap
  10110. msgid "primary URL, channels"
  10111. msgstr ""
  10112. #. type: Plain text
  10113. #: guix-git/doc/guix.texi:5494
  10114. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  10115. msgstr ""
  10116. #. type: lisp
  10117. #: guix-git/doc/guix.texi:5499
  10118. #, no-wrap
  10119. msgid ""
  10120. "(channel\n"
  10121. " (version 0)\n"
  10122. " (url \"https://example.org/guix.git\"))\n"
  10123. msgstr ""
  10124. #. type: Plain text
  10125. #: guix-git/doc/guix.texi:5506
  10126. 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."
  10127. msgstr ""
  10128. #. type: Plain text
  10129. #: guix-git/doc/guix.texi:5510
  10130. 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."
  10131. msgstr ""
  10132. #. type: cindex
  10133. #: guix-git/doc/guix.texi:5514
  10134. #, no-wrap
  10135. msgid "news, for channels"
  10136. msgstr ""
  10137. #. type: Plain text
  10138. #: guix-git/doc/guix.texi:5518
  10139. 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."
  10140. msgstr ""
  10141. #. type: Plain text
  10142. #: guix-git/doc/guix.texi:5523
  10143. 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."
  10144. msgstr ""
  10145. #. type: Plain text
  10146. #: guix-git/doc/guix.texi:5526
  10147. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  10148. msgstr ""
  10149. #. type: lisp
  10150. #: guix-git/doc/guix.texi:5531
  10151. #, no-wrap
  10152. msgid ""
  10153. "(channel\n"
  10154. " (version 0)\n"
  10155. " (news-file \"etc/news.txt\"))\n"
  10156. msgstr ""
  10157. #. type: Plain text
  10158. #: guix-git/doc/guix.texi:5535
  10159. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  10160. msgstr ""
  10161. #. type: lisp
  10162. #: guix-git/doc/guix.texi:5548
  10163. #, no-wrap
  10164. msgid ""
  10165. "(channel-news\n"
  10166. " (version 0)\n"
  10167. " (entry (tag \"the-bug-fix\")\n"
  10168. " (title (en \"Fixed terrible bug\")\n"
  10169. " (fr \"Oh la la\"))\n"
  10170. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  10171. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  10172. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  10173. " (title (en \"Added a great package\")\n"
  10174. " (ca \"Què vol dir guix?\"))\n"
  10175. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  10176. msgstr ""
  10177. #. type: Plain text
  10178. #: guix-git/doc/guix.texi:5555
  10179. 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."
  10180. msgstr ""
  10181. #. type: Plain text
  10182. #: guix-git/doc/guix.texi:5560
  10183. 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."
  10184. msgstr ""
  10185. #. type: Plain text
  10186. #: guix-git/doc/guix.texi:5566
  10187. 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."
  10188. msgstr ""
  10189. #. type: Plain text
  10190. #: guix-git/doc/guix.texi:5572
  10191. 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:"
  10192. msgstr ""
  10193. #. type: example
  10194. #: guix-git/doc/guix.texi:5575
  10195. #, no-wrap
  10196. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  10197. msgstr ""
  10198. #. type: Plain text
  10199. #: guix-git/doc/guix.texi:5579
  10200. 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."
  10201. msgstr ""
  10202. #. type: cindex
  10203. #: guix-git/doc/guix.texi:5584
  10204. #, no-wrap
  10205. msgid "software development"
  10206. msgstr ""
  10207. #. type: Plain text
  10208. #: guix-git/doc/guix.texi:5588
  10209. 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."
  10210. msgstr ""
  10211. #. type: Plain text
  10212. #: guix-git/doc/guix.texi:5594
  10213. msgid "The @command{guix shell} command provides a convenient way to set up one-off software environments, be it for development purposes or to run a command without installing it in your profile. The @command{guix pack} command allows you to create @dfn{application bundles} that can be easily distributed to users who do not run Guix."
  10214. msgstr ""
  10215. #. type: section
  10216. #: guix-git/doc/guix.texi:5604
  10217. #, no-wrap
  10218. msgid "Invoking @command{guix shell}"
  10219. msgstr ""
  10220. #. type: cindex
  10221. #: guix-git/doc/guix.texi:5606
  10222. #, no-wrap
  10223. msgid "reproducible build environments"
  10224. msgstr ""
  10225. #. type: cindex
  10226. #: guix-git/doc/guix.texi:5607
  10227. #, no-wrap
  10228. msgid "development environments"
  10229. msgstr ""
  10230. #. type: command{#1}
  10231. #: guix-git/doc/guix.texi:5608
  10232. #, no-wrap
  10233. msgid "guix environment"
  10234. msgstr ""
  10235. #. type: cindex
  10236. #: guix-git/doc/guix.texi:5609
  10237. #, no-wrap
  10238. msgid "environment, package build environment"
  10239. msgstr ""
  10240. #. type: Plain text
  10241. #: guix-git/doc/guix.texi:5614
  10242. msgid "The purpose of @command{guix shell} is to make it easy to create one-off software environments, without changing one's profile. It is typically used to create development environments; it is also a convenient way to run applications without ``polluting'' your profile."
  10243. msgstr ""
  10244. #. type: quotation
  10245. #: guix-git/doc/guix.texi:5620
  10246. msgid "The @command{guix shell} command was recently introduced to supersede @command{guix environment} (@pxref{Invoking guix environment}). If you are familiar with @command{guix environment}, you will notice that it is similar but also---we hope!---more convenient."
  10247. msgstr ""
  10248. #. type: example
  10249. #: guix-git/doc/guix.texi:5626
  10250. #, no-wrap
  10251. msgid "guix shell [@var{options}] [@var{package}@dots{}]\n"
  10252. msgstr ""
  10253. #. type: Plain text
  10254. #: guix-git/doc/guix.texi:5631
  10255. msgid "The following example creates an environment containing Python and NumPy, building or downloading any missing package, and runs the @command{python3} command in that environment:"
  10256. msgstr ""
  10257. #. type: example
  10258. #: guix-git/doc/guix.texi:5634
  10259. #, no-wrap
  10260. msgid "guix shell python python-numpy -- python3\n"
  10261. msgstr ""
  10262. #. type: Plain text
  10263. #: guix-git/doc/guix.texi:5639
  10264. msgid "Development environments can be created as in the example below, which spawns an interactive shell containing all the dependencies and environment variables needed to work on Inkscape:"
  10265. msgstr ""
  10266. #. type: example
  10267. #: guix-git/doc/guix.texi:5642
  10268. #, no-wrap
  10269. msgid "guix shell --development inkscape\n"
  10270. msgstr ""
  10271. #. type: Plain text
  10272. #: guix-git/doc/guix.texi:5648
  10273. msgid "Exiting the shell places the user back in the original environment before @command{guix shell} was invoked. The next garbage collection (@pxref{Invoking guix gc}) may clean up packages that were installed in the environment and that are no longer used outside of it."
  10274. msgstr ""
  10275. #. type: Plain text
  10276. #: guix-git/doc/guix.texi:5655
  10277. msgid "As an added convenience, when running from a directory that contains a @file{manifest.scm} or a @file{guix.scm} file (in this order), possibly in a parent directory, @command{guix shell} automatically loads the file---provided the directory is listed in @file{~/.config/guix/shell-authorized-directories}, and only for interactive use:"
  10278. msgstr ""
  10279. #. type: example
  10280. #: guix-git/doc/guix.texi:5658
  10281. #, no-wrap
  10282. msgid "guix shell\n"
  10283. msgstr ""
  10284. #. type: Plain text
  10285. #: guix-git/doc/guix.texi:5662
  10286. msgid "This provides an easy way to define, share, and enter development environments."
  10287. msgstr ""
  10288. #. type: Plain text
  10289. #: guix-git/doc/guix.texi:5673
  10290. msgid "By default, the shell session or command runs in an @emph{augmented} environment, where the new packages are added to search path environment variables such as @code{PATH}. You can, instead, choose to create an @emph{isolated} environment containing nothing but the packages you asked for. Passing the @option{--pure} option clears environment variable definitions found in the parent environment@footnote{Be sure to use the @option{--check} option the first time you use @command{guix shell} interactively to make sure the shell does not undo the effect of @option{--pure}.}; passing @option{--container} goes one step further by spawning a @dfn{container} isolated from the rest of the system:"
  10291. msgstr ""
  10292. #. type: example
  10293. #: guix-git/doc/guix.texi:5676
  10294. #, no-wrap
  10295. msgid "guix shell --container emacs gcc-toolchain\n"
  10296. msgstr ""
  10297. #. type: Plain text
  10298. #: guix-git/doc/guix.texi:5684
  10299. msgid "The command above spawns an interactive shell in a container where nothing but @code{emacs}, @code{gcc-toolchain}, and their dependencies is available. The container lacks network access and shares no files other than the current working directory with the surrounding environment. This is useful to prevent access to system-wide resources such as @file{/usr/bin} on foreign distros."
  10300. msgstr ""
  10301. #. type: Plain text
  10302. #: guix-git/doc/guix.texi:5691
  10303. msgid "This @option{--container} option can also prove useful if you wish to run a security-sensitive application, such as a web browser, in an isolated environment. For example, the command below launches Ungoogled-Chromium in an isolated environment, this time sharing network access with the host and preserving its @code{DISPLAY} environment variable, but without even sharing the current directory:"
  10304. msgstr ""
  10305. #. type: example
  10306. #: guix-git/doc/guix.texi:5695
  10307. #, no-wrap
  10308. msgid ""
  10309. "guix shell --container --network --no-cwd ungoogled-chromium \\\n"
  10310. " --preserve='^DISPLAY$' -- chromium\n"
  10311. msgstr ""
  10312. #. type: vindex
  10313. #: guix-git/doc/guix.texi:5697 guix-git/doc/guix.texi:6008
  10314. #, no-wrap
  10315. msgid "GUIX_ENVIRONMENT"
  10316. msgstr ""
  10317. #. type: Plain text
  10318. #: guix-git/doc/guix.texi:5703
  10319. msgid "@command{guix shell} 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}):"
  10320. msgstr ""
  10321. #. type: example
  10322. #: guix-git/doc/guix.texi:5709 guix-git/doc/guix.texi:6020
  10323. #, no-wrap
  10324. msgid ""
  10325. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10326. "then\n"
  10327. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10328. "fi\n"
  10329. msgstr ""
  10330. #. type: Plain text
  10331. #: guix-git/doc/guix.texi:5713 guix-git/doc/guix.texi:6024
  10332. msgid "...@: or to browse the profile:"
  10333. msgstr ""
  10334. #. type: example
  10335. #: guix-git/doc/guix.texi:5716 guix-git/doc/guix.texi:6027
  10336. #, no-wrap
  10337. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10338. msgstr ""
  10339. #. type: Plain text
  10340. #: guix-git/doc/guix.texi:5719 guix-git/doc/guix.texi:6103
  10341. msgid "The available options are summarized below."
  10342. msgstr ""
  10343. #. type: item
  10344. #: guix-git/doc/guix.texi:5721 guix-git/doc/guix.texi:6105
  10345. #: guix-git/doc/guix.texi:11546
  10346. #, no-wrap
  10347. msgid "--check"
  10348. msgstr ""
  10349. #. type: table
  10350. #: guix-git/doc/guix.texi:5726
  10351. msgid "Set up the environment and check whether the shell would clobber environment variables. It's a good idea to use this option the first time you run @command{guix shell} for an interactive session to make sure your setup is correct."
  10352. msgstr ""
  10353. #. type: table
  10354. #: guix-git/doc/guix.texi:5730
  10355. msgid "For example, if the shell modifies the @env{PATH} environment variable, report it since you would get a different environment than what you asked for."
  10356. msgstr ""
  10357. #. type: table
  10358. #: guix-git/doc/guix.texi:5738
  10359. msgid "Such problems usually indicate that the shell startup files are unexpectedly modifying those environment variables. For example, if you are using Bash, make sure that environment variables are set or modified in @file{~/.bash_profile} and @emph{not} in @file{~/.bashrc}---the former is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files."
  10360. msgstr ""
  10361. #. type: item
  10362. #: guix-git/doc/guix.texi:5739
  10363. #, no-wrap
  10364. msgid "--development"
  10365. msgstr ""
  10366. #. type: table
  10367. #: guix-git/doc/guix.texi:5746
  10368. msgid "Cause @command{guix shell} to include in the environment the dependencies of the following package rather than the package itself. This can be combined with other packages. For instance, the command below starts an interactive shell containing the build-time dependencies of GNU@tie{}Guile, plus Autoconf, Automake, and Libtool:"
  10369. msgstr ""
  10370. #. type: example
  10371. #: guix-git/doc/guix.texi:5749
  10372. #, no-wrap
  10373. msgid "guix shell -D guile autoconf automake libtool\n"
  10374. msgstr ""
  10375. #. type: item
  10376. #: guix-git/doc/guix.texi:5751 guix-git/doc/guix.texi:6126
  10377. #: guix-git/doc/guix.texi:6607 guix-git/doc/guix.texi:11421
  10378. #: guix-git/doc/guix.texi:12494 guix-git/doc/guix.texi:12845
  10379. #: guix-git/doc/guix.texi:13442 guix-git/doc/guix.texi:35243
  10380. #: guix-git/doc/guix.texi:37713
  10381. #, no-wrap
  10382. msgid "--expression=@var{expr}"
  10383. msgstr ""
  10384. #. type: itemx
  10385. #: guix-git/doc/guix.texi:5752 guix-git/doc/guix.texi:6127
  10386. #: guix-git/doc/guix.texi:6608 guix-git/doc/guix.texi:11422
  10387. #: guix-git/doc/guix.texi:12495 guix-git/doc/guix.texi:12846
  10388. #: guix-git/doc/guix.texi:13443 guix-git/doc/guix.texi:35244
  10389. #: guix-git/doc/guix.texi:37714
  10390. #, no-wrap
  10391. msgid "-e @var{expr}"
  10392. msgstr ""
  10393. #. type: table
  10394. #: guix-git/doc/guix.texi:5755 guix-git/doc/guix.texi:6130
  10395. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10396. msgstr ""
  10397. #. type: table
  10398. #: guix-git/doc/guix.texi:5757 guix-git/doc/guix.texi:6132
  10399. #: guix-git/doc/guix.texi:12850
  10400. msgid "For example, running:"
  10401. msgstr ""
  10402. #. type: example
  10403. #: guix-git/doc/guix.texi:5760
  10404. #, no-wrap
  10405. msgid "guix shell -D -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10406. msgstr ""
  10407. #. type: table
  10408. #: guix-git/doc/guix.texi:5764 guix-git/doc/guix.texi:6139
  10409. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10410. msgstr ""
  10411. #. type: table
  10412. #: guix-git/doc/guix.texi:5766 guix-git/doc/guix.texi:6141
  10413. msgid "Running:"
  10414. msgstr ""
  10415. #. type: example
  10416. #: guix-git/doc/guix.texi:5769
  10417. #, no-wrap
  10418. msgid "guix shell -e '(@@ (gnu) %base-packages)'\n"
  10419. msgstr ""
  10420. #. type: table
  10421. #: guix-git/doc/guix.texi:5772 guix-git/doc/guix.texi:6147
  10422. msgid "starts a shell with all the base system packages available."
  10423. msgstr ""
  10424. #. type: table
  10425. #: guix-git/doc/guix.texi:5775 guix-git/doc/guix.texi:6150
  10426. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10427. msgstr ""
  10428. #. type: example
  10429. #: guix-git/doc/guix.texi:5778
  10430. #, no-wrap
  10431. msgid "guix shell -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10432. msgstr ""
  10433. #. type: item
  10434. #: guix-git/doc/guix.texi:5780 guix-git/doc/guix.texi:11395
  10435. #, no-wrap
  10436. msgid "--file=@var{file}"
  10437. msgstr ""
  10438. #. type: table
  10439. #: guix-git/doc/guix.texi:5784
  10440. msgid "Create an environment containing the package or list of packages that the code within @var{file} evaluates to."
  10441. msgstr ""
  10442. #. type: lisp
  10443. #: guix-git/doc/guix.texi:5790 guix-git/doc/guix.texi:6165
  10444. #, no-wrap
  10445. msgid "@verbatiminclude environment-gdb.scm\n"
  10446. msgstr ""
  10447. #. type: table
  10448. #: guix-git/doc/guix.texi:5794
  10449. msgid "With the file above, you can enter a development environment for GDB by running:"
  10450. msgstr ""
  10451. #. type: example
  10452. #: guix-git/doc/guix.texi:5797
  10453. #, no-wrap
  10454. msgid "guix shell -D -f gdb-devel.scm\n"
  10455. msgstr ""
  10456. #. type: table
  10457. #: guix-git/doc/guix.texi:5804 guix-git/doc/guix.texi:6172
  10458. 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."
  10459. msgstr ""
  10460. #. type: table
  10461. #: guix-git/doc/guix.texi:5808 guix-git/doc/guix.texi:6176
  10462. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10463. msgstr ""
  10464. #. type: item
  10465. #: guix-git/doc/guix.texi:5809
  10466. #, no-wrap
  10467. msgid "--rebuild-cache"
  10468. msgstr ""
  10469. #. type: table
  10470. #: guix-git/doc/guix.texi:5814
  10471. msgid "When using @option{--manifest}, @option{--file}, or when invoked without arguments, @command{guix shell} caches the environment so that subsequent uses are instantaneous. The cache is invalidated anytime the file is modified."
  10472. msgstr ""
  10473. #. type: table
  10474. #: guix-git/doc/guix.texi:5819
  10475. msgid "The @option{--rebuild-cache} forces the cached environment to be refreshed even if the file has not changed. This is useful if the @command{guix.scm} or @command{manifest.scm} has external dependencies, or if its behavior depends, say, on environment variables."
  10476. msgstr ""
  10477. #. type: item
  10478. #: guix-git/doc/guix.texi:5820 guix-git/doc/guix.texi:6203
  10479. #, no-wrap
  10480. msgid "--pure"
  10481. msgstr ""
  10482. #. type: table
  10483. #: guix-git/doc/guix.texi:5824 guix-git/doc/guix.texi:6207
  10484. 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."
  10485. msgstr ""
  10486. #. type: item
  10487. #: guix-git/doc/guix.texi:5825 guix-git/doc/guix.texi:6208
  10488. #, no-wrap
  10489. msgid "--preserve=@var{regexp}"
  10490. msgstr ""
  10491. #. type: itemx
  10492. #: guix-git/doc/guix.texi:5826 guix-git/doc/guix.texi:6209
  10493. #, no-wrap
  10494. msgid "-E @var{regexp}"
  10495. msgstr ""
  10496. #. type: table
  10497. #: guix-git/doc/guix.texi:5831 guix-git/doc/guix.texi:6214
  10498. 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."
  10499. msgstr ""
  10500. #. type: example
  10501. #: guix-git/doc/guix.texi:5835
  10502. #, no-wrap
  10503. msgid ""
  10504. "guix shell --pure --preserve=^SLURM openmpi @dots{} \\\n"
  10505. " -- mpirun @dots{}\n"
  10506. msgstr ""
  10507. #. type: table
  10508. #: guix-git/doc/guix.texi:5841 guix-git/doc/guix.texi:6224
  10509. 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.)."
  10510. msgstr ""
  10511. #. type: item
  10512. #: guix-git/doc/guix.texi:5842 guix-git/doc/guix.texi:6225
  10513. #, no-wrap
  10514. msgid "--search-paths"
  10515. msgstr ""
  10516. #. type: table
  10517. #: guix-git/doc/guix.texi:5845 guix-git/doc/guix.texi:6228
  10518. msgid "Display the environment variable definitions that make up the environment."
  10519. msgstr ""
  10520. #. type: table
  10521. #: guix-git/doc/guix.texi:5849 guix-git/doc/guix.texi:6232
  10522. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10523. msgstr ""
  10524. #. type: item
  10525. #: guix-git/doc/guix.texi:5850 guix-git/doc/guix.texi:6233
  10526. #, no-wrap
  10527. msgid "--container"
  10528. msgstr ""
  10529. #. type: itemx
  10530. #: guix-git/doc/guix.texi:5851 guix-git/doc/guix.texi:6234
  10531. #, no-wrap
  10532. msgid "-C"
  10533. msgstr ""
  10534. #. type: item
  10535. #: guix-git/doc/guix.texi:5852 guix-git/doc/guix.texi:6069
  10536. #: guix-git/doc/guix.texi:6235 guix-git/doc/guix.texi:13998
  10537. #: guix-git/doc/guix.texi:35211
  10538. #, no-wrap
  10539. msgid "container"
  10540. msgstr "kontajner"
  10541. #. type: table
  10542. #: guix-git/doc/guix.texi:5858 guix-git/doc/guix.texi:6241
  10543. 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."
  10544. msgstr ""
  10545. #. type: table
  10546. #: guix-git/doc/guix.texi:5862 guix-git/doc/guix.texi:6245
  10547. 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)."
  10548. msgstr ""
  10549. #. type: item
  10550. #: guix-git/doc/guix.texi:5863 guix-git/doc/guix.texi:6246
  10551. #: guix-git/doc/guix.texi:35303
  10552. #, no-wrap
  10553. msgid "--network"
  10554. msgstr ""
  10555. #. type: table
  10556. #: guix-git/doc/guix.texi:5868 guix-git/doc/guix.texi:6251
  10557. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10558. msgstr ""
  10559. #. type: item
  10560. #: guix-git/doc/guix.texi:5869 guix-git/doc/guix.texi:6252
  10561. #, no-wrap
  10562. msgid "--link-profile"
  10563. msgstr ""
  10564. #. type: itemx
  10565. #: guix-git/doc/guix.texi:5870 guix-git/doc/guix.texi:6253
  10566. #, no-wrap
  10567. msgid "-P"
  10568. msgstr ""
  10569. #. type: table
  10570. #: guix-git/doc/guix.texi:5878
  10571. 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 shell} was invoked in the user's home directory."
  10572. msgstr ""
  10573. #. type: table
  10574. #: guix-git/doc/guix.texi:5884 guix-git/doc/guix.texi:6267
  10575. 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."
  10576. msgstr ""
  10577. #. type: item
  10578. #: guix-git/doc/guix.texi:5885 guix-git/doc/guix.texi:6268
  10579. #: guix-git/doc/guix.texi:13575
  10580. #, no-wrap
  10581. msgid "--user=@var{user}"
  10582. msgstr ""
  10583. #. type: itemx
  10584. #: guix-git/doc/guix.texi:5886 guix-git/doc/guix.texi:6269
  10585. #: guix-git/doc/guix.texi:13576
  10586. #, no-wrap
  10587. msgid "-u @var{user}"
  10588. msgstr ""
  10589. #. type: table
  10590. #: guix-git/doc/guix.texi:5893 guix-git/doc/guix.texi:6276
  10591. 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."
  10592. msgstr ""
  10593. #. type: table
  10594. #: guix-git/doc/guix.texi:5898 guix-git/doc/guix.texi:6281
  10595. 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."
  10596. msgstr ""
  10597. #. type: example
  10598. #: guix-git/doc/guix.texi:5905
  10599. #, no-wrap
  10600. msgid ""
  10601. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10602. "cd $HOME/wd\n"
  10603. "guix shell --container --user=foo \\\n"
  10604. " --expose=$HOME/test \\\n"
  10605. " --expose=/tmp/target=$HOME/target\n"
  10606. msgstr ""
  10607. #. type: table
  10608. #: guix-git/doc/guix.texi:5910 guix-git/doc/guix.texi:6293
  10609. 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."
  10610. msgstr ""
  10611. #. type: item
  10612. #: guix-git/doc/guix.texi:5911 guix-git/doc/guix.texi:6294
  10613. #, no-wrap
  10614. msgid "--no-cwd"
  10615. msgstr ""
  10616. #. type: table
  10617. #: guix-git/doc/guix.texi:5918 guix-git/doc/guix.texi:6301
  10618. 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}."
  10619. msgstr ""
  10620. #. type: item
  10621. #: guix-git/doc/guix.texi:5919 guix-git/doc/guix.texi:6302
  10622. #, no-wrap
  10623. msgid "--expose=@var{source}[=@var{target}]"
  10624. msgstr ""
  10625. #. type: itemx
  10626. #: guix-git/doc/guix.texi:5920 guix-git/doc/guix.texi:6303
  10627. #, no-wrap
  10628. msgid "--share=@var{source}[=@var{target}]"
  10629. msgstr ""
  10630. #. type: table
  10631. #: guix-git/doc/guix.texi:5926 guix-git/doc/guix.texi:6309
  10632. 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."
  10633. msgstr ""
  10634. #. type: table
  10635. #: guix-git/doc/guix.texi:5930 guix-git/doc/guix.texi:6313
  10636. 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:"
  10637. msgstr ""
  10638. #. type: example
  10639. #: guix-git/doc/guix.texi:5933
  10640. #, no-wrap
  10641. msgid "guix shell --container --expose=$HOME=/exchange guile -- guile\n"
  10642. msgstr ""
  10643. #. type: item
  10644. #: guix-git/doc/guix.texi:5935 guix-git/doc/guix.texi:6110
  10645. #: guix-git/doc/guix.texi:6675 guix-git/doc/guix.texi:11575
  10646. #: guix-git/doc/guix.texi:35308
  10647. #, no-wrap
  10648. msgid "--root=@var{file}"
  10649. msgstr ""
  10650. #. type: itemx
  10651. #: guix-git/doc/guix.texi:5936 guix-git/doc/guix.texi:6111
  10652. #: guix-git/doc/guix.texi:6676 guix-git/doc/guix.texi:11576
  10653. #: guix-git/doc/guix.texi:35309
  10654. #, no-wrap
  10655. msgid "-r @var{file}"
  10656. msgstr ""
  10657. #. type: cindex
  10658. #: guix-git/doc/guix.texi:5937 guix-git/doc/guix.texi:6112
  10659. #, no-wrap
  10660. msgid "persistent environment"
  10661. msgstr ""
  10662. #. type: cindex
  10663. #: guix-git/doc/guix.texi:5938 guix-git/doc/guix.texi:6113
  10664. #, no-wrap
  10665. msgid "garbage collector root, for environments"
  10666. msgstr ""
  10667. #. type: table
  10668. #: guix-git/doc/guix.texi:5941 guix-git/doc/guix.texi:6116
  10669. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10670. msgstr ""
  10671. #. type: table
  10672. #: guix-git/doc/guix.texi:5944 guix-git/doc/guix.texi:6119
  10673. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10674. msgstr ""
  10675. #. type: table
  10676. #: guix-git/doc/guix.texi:5950
  10677. msgid "When this option is omitted, the environment is protected from garbage collection only for the duration of the @command{guix shell} 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."
  10678. msgstr ""
  10679. #. type: Plain text
  10680. #: guix-git/doc/guix.texi:5955
  10681. msgid "@command{guix shell} 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})."
  10682. msgstr ""
  10683. #. type: section
  10684. #: guix-git/doc/guix.texi:5957
  10685. #, no-wrap
  10686. msgid "Invoking @command{guix environment}"
  10687. msgstr ""
  10688. #. type: Plain text
  10689. #: guix-git/doc/guix.texi:5961
  10690. msgid "The purpose of @command{guix environment} is to assist in creating development environments."
  10691. msgstr ""
  10692. #. type: quotation
  10693. #: guix-git/doc/guix.texi:5962
  10694. #, no-wrap
  10695. msgid "Deprecation warning"
  10696. msgstr ""
  10697. #. type: quotation
  10698. #: guix-git/doc/guix.texi:5966
  10699. msgid "The @command{guix environment} command is deprecated in favor of @command{guix shell}, which performs similar functions but is more convenient to use. @xref{Invoking guix shell}."
  10700. msgstr ""
  10701. #. type: quotation
  10702. #: guix-git/doc/guix.texi:5971
  10703. msgid "Being deprecated, @command{guix environment} is slated for eventual removal, but the Guix project is committed to keeping it until May 1st, 2023. Please get in touch with us at @email{guix-devel@@gnu.org} if you would like to discuss it."
  10704. msgstr ""
  10705. #. type: example
  10706. #: guix-git/doc/guix.texi:5977
  10707. #, no-wrap
  10708. msgid "guix environment @var{options} @var{package}@dots{}\n"
  10709. msgstr ""
  10710. #. type: Plain text
  10711. #: guix-git/doc/guix.texi:5981
  10712. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  10713. msgstr ""
  10714. #. type: example
  10715. #: guix-git/doc/guix.texi:5984
  10716. #, no-wrap
  10717. msgid "guix environment guile\n"
  10718. msgstr ""
  10719. #. type: Plain text
  10720. #: guix-git/doc/guix.texi:6001
  10721. 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.}."
  10722. msgstr ""
  10723. #. type: Plain text
  10724. #: guix-git/doc/guix.texi:6007
  10725. 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."
  10726. msgstr ""
  10727. #. type: Plain text
  10728. #: guix-git/doc/guix.texi:6014
  10729. 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}):"
  10730. msgstr ""
  10731. #. type: Plain text
  10732. #: guix-git/doc/guix.texi:6033
  10733. 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:"
  10734. msgstr ""
  10735. #. type: example
  10736. #: guix-git/doc/guix.texi:6036
  10737. #, no-wrap
  10738. msgid "guix environment guile emacs\n"
  10739. msgstr ""
  10740. #. type: Plain text
  10741. #: guix-git/doc/guix.texi:6041
  10742. 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:"
  10743. msgstr ""
  10744. #. type: example
  10745. #: guix-git/doc/guix.texi:6044
  10746. #, no-wrap
  10747. msgid "guix environment guile -- make -j4\n"
  10748. msgstr ""
  10749. #. type: Plain text
  10750. #: guix-git/doc/guix.texi:6050
  10751. 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{}3 and NumPy:"
  10752. msgstr ""
  10753. #. type: example
  10754. #: guix-git/doc/guix.texi:6053
  10755. #, no-wrap
  10756. msgid "guix environment --ad-hoc python-numpy python -- python3\n"
  10757. msgstr ""
  10758. #. type: Plain text
  10759. #: guix-git/doc/guix.texi:6064
  10760. 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:"
  10761. msgstr ""
  10762. #. type: example
  10763. #: guix-git/doc/guix.texi:6067
  10764. #, no-wrap
  10765. msgid "guix environment --pure guix --ad-hoc git strace\n"
  10766. msgstr ""
  10767. #. type: Plain text
  10768. #: guix-git/doc/guix.texi:6077
  10769. 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:"
  10770. msgstr ""
  10771. #. type: example
  10772. #: guix-git/doc/guix.texi:6080
  10773. #, no-wrap
  10774. msgid "guix environment --ad-hoc --container guile -- guile\n"
  10775. msgstr ""
  10776. #. type: quotation
  10777. #: guix-git/doc/guix.texi:6084
  10778. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  10779. msgstr ""
  10780. #. type: cindex
  10781. #: guix-git/doc/guix.texi:6086
  10782. #, no-wrap
  10783. msgid "certificates"
  10784. msgstr ""
  10785. #. type: Plain text
  10786. #: guix-git/doc/guix.texi:6093
  10787. 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."
  10788. msgstr ""
  10789. #. type: example
  10790. #: guix-git/doc/guix.texi:6100
  10791. #, no-wrap
  10792. msgid ""
  10793. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  10794. " --expose=/etc/machine-id \\\n"
  10795. " --expose=/etc/ssl/certs/ \\\n"
  10796. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  10797. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  10798. msgstr ""
  10799. #. type: table
  10800. #: guix-git/doc/guix.texi:6109
  10801. msgid "Set up the environment and check whether the shell would clobber environment variables. @xref{Invoking guix shell, @option{--check}}, for more info."
  10802. msgstr ""
  10803. #. type: table
  10804. #: guix-git/doc/guix.texi:6125
  10805. 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."
  10806. msgstr ""
  10807. #. type: example
  10808. #: guix-git/doc/guix.texi:6135
  10809. #, no-wrap
  10810. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10811. msgstr ""
  10812. #. type: example
  10813. #: guix-git/doc/guix.texi:6144
  10814. #, no-wrap
  10815. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  10816. msgstr ""
  10817. #. type: example
  10818. #: guix-git/doc/guix.texi:6153
  10819. #, no-wrap
  10820. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10821. msgstr ""
  10822. #. type: item
  10823. #: guix-git/doc/guix.texi:6155
  10824. #, no-wrap
  10825. msgid "--load=@var{file}"
  10826. msgstr ""
  10827. #. type: itemx
  10828. #: guix-git/doc/guix.texi:6156
  10829. #, no-wrap
  10830. msgid "-l @var{file}"
  10831. msgstr ""
  10832. #. type: table
  10833. #: guix-git/doc/guix.texi:6159
  10834. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  10835. msgstr ""
  10836. #. type: item
  10837. #: guix-git/doc/guix.texi:6177
  10838. #, no-wrap
  10839. msgid "--ad-hoc"
  10840. msgstr ""
  10841. #. type: table
  10842. #: guix-git/doc/guix.texi:6182
  10843. 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."
  10844. msgstr ""
  10845. #. type: table
  10846. #: guix-git/doc/guix.texi:6184
  10847. msgid "For instance, the command:"
  10848. msgstr ""
  10849. #. type: example
  10850. #: guix-git/doc/guix.texi:6187
  10851. #, no-wrap
  10852. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  10853. msgstr ""
  10854. #. type: table
  10855. #: guix-git/doc/guix.texi:6191
  10856. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  10857. msgstr ""
  10858. #. type: table
  10859. #: guix-git/doc/guix.texi:6196
  10860. 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})."
  10861. msgstr ""
  10862. #. type: table
  10863. #: guix-git/doc/guix.texi:6202
  10864. 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."
  10865. msgstr ""
  10866. #. type: example
  10867. #: guix-git/doc/guix.texi:6218
  10868. #, no-wrap
  10869. msgid ""
  10870. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  10871. " -- mpirun @dots{}\n"
  10872. msgstr ""
  10873. #. type: table
  10874. #: guix-git/doc/guix.texi:6261
  10875. 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."
  10876. msgstr ""
  10877. #. type: example
  10878. #: guix-git/doc/guix.texi:6288
  10879. #, no-wrap
  10880. msgid ""
  10881. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10882. "cd $HOME/wd\n"
  10883. "guix environment --container --user=foo \\\n"
  10884. " --expose=$HOME/test \\\n"
  10885. " --expose=/tmp/target=$HOME/target\n"
  10886. msgstr ""
  10887. #. type: example
  10888. #: guix-git/doc/guix.texi:6316
  10889. #, no-wrap
  10890. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  10891. msgstr ""
  10892. #. type: Plain text
  10893. #: guix-git/doc/guix.texi:6324
  10894. 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})."
  10895. msgstr ""
  10896. #. type: section
  10897. #: guix-git/doc/guix.texi:6326
  10898. #, no-wrap
  10899. msgid "Invoking @command{guix pack}"
  10900. msgstr ""
  10901. #. type: Plain text
  10902. #: guix-git/doc/guix.texi:6332
  10903. 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."
  10904. msgstr ""
  10905. #. type: quotation
  10906. #: guix-git/doc/guix.texi:6337
  10907. 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}."
  10908. msgstr ""
  10909. #. type: cindex
  10910. #: guix-git/doc/guix.texi:6339
  10911. #, no-wrap
  10912. msgid "pack"
  10913. msgstr ""
  10914. #. type: cindex
  10915. #: guix-git/doc/guix.texi:6340
  10916. #, no-wrap
  10917. msgid "bundle"
  10918. msgstr ""
  10919. #. type: cindex
  10920. #: guix-git/doc/guix.texi:6341
  10921. #, no-wrap
  10922. msgid "application bundle"
  10923. msgstr ""
  10924. #. type: cindex
  10925. #: guix-git/doc/guix.texi:6342
  10926. #, no-wrap
  10927. msgid "software bundle"
  10928. msgstr ""
  10929. #. type: Plain text
  10930. #: guix-git/doc/guix.texi:6351
  10931. 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."
  10932. msgstr ""
  10933. #. type: Plain text
  10934. #: guix-git/doc/guix.texi:6354
  10935. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  10936. msgstr ""
  10937. #. type: example
  10938. #: guix-git/doc/guix.texi:6359
  10939. #, no-wrap
  10940. msgid ""
  10941. "$ guix pack guile emacs emacs-geiser\n"
  10942. "@dots{}\n"
  10943. "/gnu/store/@dots{}-pack.tar.gz\n"
  10944. msgstr ""
  10945. #. type: Plain text
  10946. #: guix-git/doc/guix.texi:6367
  10947. 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})."
  10948. msgstr ""
  10949. #. type: Plain text
  10950. #: guix-git/doc/guix.texi:6372
  10951. 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:"
  10952. msgstr ""
  10953. #. type: example
  10954. #: guix-git/doc/guix.texi:6375
  10955. #, no-wrap
  10956. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  10957. msgstr ""
  10958. #. type: Plain text
  10959. #: guix-git/doc/guix.texi:6379
  10960. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  10961. msgstr ""
  10962. #. type: cindex
  10963. #: guix-git/doc/guix.texi:6380
  10964. #, no-wrap
  10965. msgid "relocatable binaries, with @command{guix pack}"
  10966. msgstr ""
  10967. #. type: Plain text
  10968. #: guix-git/doc/guix.texi:6388
  10969. 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}."
  10970. msgstr ""
  10971. #. type: cindex
  10972. #: guix-git/doc/guix.texi:6389
  10973. #, no-wrap
  10974. msgid "Docker, build an image with guix pack"
  10975. msgstr ""
  10976. #. type: Plain text
  10977. #: guix-git/doc/guix.texi:6392
  10978. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  10979. msgstr ""
  10980. #. type: example
  10981. #: guix-git/doc/guix.texi:6395
  10982. #, no-wrap
  10983. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  10984. msgstr ""
  10985. #. type: Plain text
  10986. #: guix-git/doc/guix.texi:6400
  10987. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  10988. msgstr ""
  10989. #. type: example
  10990. #: guix-git/doc/guix.texi:6404
  10991. #, no-wrap
  10992. msgid ""
  10993. "docker load < @var{file}\n"
  10994. "docker run -ti guile-guile-readline /bin/guile\n"
  10995. msgstr ""
  10996. #. type: Plain text
  10997. #: guix-git/doc/guix.texi:6411
  10998. 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."
  10999. msgstr ""
  11000. #. type: cindex
  11001. #: guix-git/doc/guix.texi:6412
  11002. #, no-wrap
  11003. msgid "Singularity, build an image with guix pack"
  11004. msgstr ""
  11005. #. type: cindex
  11006. #: guix-git/doc/guix.texi:6413
  11007. #, no-wrap
  11008. msgid "SquashFS, build an image with guix pack"
  11009. msgstr ""
  11010. #. type: Plain text
  11011. #: guix-git/doc/guix.texi:6416
  11012. msgid "Yet another option is to produce a SquashFS image with the following command:"
  11013. msgstr ""
  11014. #. type: example
  11015. #: guix-git/doc/guix.texi:6419
  11016. #, no-wrap
  11017. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  11018. msgstr ""
  11019. #. type: Plain text
  11020. #: guix-git/doc/guix.texi:6427
  11021. 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}."
  11022. msgstr ""
  11023. #. type: Plain text
  11024. #: guix-git/doc/guix.texi:6429
  11025. msgid "Several command-line options allow you to customize your pack:"
  11026. msgstr ""
  11027. #. type: table
  11028. #: guix-git/doc/guix.texi:6434
  11029. msgid "Produce a pack in the given @var{format}."
  11030. msgstr ""
  11031. #. type: table
  11032. #: guix-git/doc/guix.texi:6436
  11033. msgid "The available formats are:"
  11034. msgstr ""
  11035. #. type: item
  11036. #: guix-git/doc/guix.texi:6438
  11037. #, no-wrap
  11038. msgid "tarball"
  11039. msgstr ""
  11040. #. type: table
  11041. #: guix-git/doc/guix.texi:6441
  11042. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  11043. msgstr ""
  11044. #. type: item
  11045. #: guix-git/doc/guix.texi:6442
  11046. #, no-wrap
  11047. msgid "docker"
  11048. msgstr ""
  11049. #. type: table
  11050. #: guix-git/doc/guix.texi:6448
  11051. 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."
  11052. msgstr ""
  11053. #. type: item
  11054. #: guix-git/doc/guix.texi:6449
  11055. #, no-wrap
  11056. msgid "squashfs"
  11057. msgstr ""
  11058. #. type: table
  11059. #: guix-git/doc/guix.texi:6453
  11060. 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."
  11061. msgstr ""
  11062. #. type: quotation
  11063. #: guix-git/doc/guix.texi:6459
  11064. 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:"
  11065. msgstr ""
  11066. #. type: example
  11067. #: guix-git/doc/guix.texi:6462
  11068. #, no-wrap
  11069. msgid "guix pack -f squashfs bash @dots{}\n"
  11070. msgstr ""
  11071. #. type: quotation
  11072. #: guix-git/doc/guix.texi:6467
  11073. 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."
  11074. msgstr ""
  11075. #. type: item
  11076. #: guix-git/doc/guix.texi:6469
  11077. #, no-wrap
  11078. msgid "deb"
  11079. msgstr ""
  11080. #. type: table
  11081. #: guix-git/doc/guix.texi:6477
  11082. msgid "This produces a Debian archive (a package with the @samp{.deb} file extension) containing all the specified binaries and symbolic links, that can be installed on top of any dpkg-based GNU(/Linux) distribution. Advanced options can be revealed via the @option{--help-deb-format} option. They allow embedding control files for more fine-grained control, such as activating specific triggers or providing a maintainer configure script to run arbitrary setup code upon installation."
  11083. msgstr ""
  11084. #. type: example
  11085. #: guix-git/doc/guix.texi:6480
  11086. #, no-wrap
  11087. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  11088. msgstr ""
  11089. #. type: quotation
  11090. #: guix-git/doc/guix.texi:6487
  11091. msgid "Because archives produced with @command{guix pack} contain a collection of store items and because each @command{dpkg} package must not have conflicting files, in practice that means you likely won't be able to install more than one such archive on a given system."
  11092. msgstr ""
  11093. #. type: quotation
  11094. #: guix-git/doc/guix.texi:6495
  11095. msgid "@command{dpkg} will assume ownership of any files contained in the pack that it does @emph{not} know about. It is unwise to install Guix-produced @samp{.deb} files on a system where @file{/gnu/store} is shared by other software, such as a Guix installation or other, non-deb packs."
  11096. msgstr ""
  11097. #. type: cindex
  11098. #: guix-git/doc/guix.texi:6499
  11099. #, no-wrap
  11100. msgid "relocatable binaries"
  11101. msgstr ""
  11102. #. type: item
  11103. #: guix-git/doc/guix.texi:6500
  11104. #, no-wrap
  11105. msgid "--relocatable"
  11106. msgstr ""
  11107. #. type: table
  11108. #: guix-git/doc/guix.texi:6504
  11109. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  11110. msgstr ""
  11111. #. type: table
  11112. #: guix-git/doc/guix.texi:6512
  11113. 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."
  11114. msgstr ""
  11115. #. type: table
  11116. #: guix-git/doc/guix.texi:6514
  11117. msgid "For example, if you create a pack containing Bash with:"
  11118. msgstr ""
  11119. #. type: example
  11120. #: guix-git/doc/guix.texi:6517
  11121. #, no-wrap
  11122. msgid "guix pack -RR -S /mybin=bin bash\n"
  11123. msgstr ""
  11124. #. type: table
  11125. #: guix-git/doc/guix.texi:6522
  11126. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  11127. msgstr ""
  11128. #. type: example
  11129. #: guix-git/doc/guix.texi:6526
  11130. #, no-wrap
  11131. msgid ""
  11132. "tar xf pack.tar.gz\n"
  11133. "./mybin/sh\n"
  11134. msgstr ""
  11135. #. type: table
  11136. #: guix-git/doc/guix.texi:6534
  11137. 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."
  11138. msgstr ""
  11139. #. type: quotation
  11140. #: guix-git/doc/guix.texi:6540
  11141. 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."
  11142. msgstr ""
  11143. #. type: quotation
  11144. #: guix-git/doc/guix.texi:6546
  11145. 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:"
  11146. msgstr ""
  11147. #. type: item
  11148. #: guix-git/doc/guix.texi:6548 guix-git/doc/guix.texi:17371
  11149. #, no-wrap
  11150. msgid "default"
  11151. msgstr ""
  11152. #. type: table
  11153. #: guix-git/doc/guix.texi:6551
  11154. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  11155. msgstr ""
  11156. #. type: item
  11157. #: guix-git/doc/guix.texi:6552
  11158. #, no-wrap
  11159. msgid "performance"
  11160. msgstr ""
  11161. #. type: table
  11162. #: guix-git/doc/guix.texi:6555
  11163. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  11164. msgstr ""
  11165. #. type: item
  11166. #: guix-git/doc/guix.texi:6556
  11167. #, no-wrap
  11168. msgid "userns"
  11169. msgstr ""
  11170. #. type: table
  11171. #: guix-git/doc/guix.texi:6559
  11172. msgid "Run the program through user namespaces and abort if they are not supported."
  11173. msgstr ""
  11174. #. type: item
  11175. #: guix-git/doc/guix.texi:6560
  11176. #, no-wrap
  11177. msgid "proot"
  11178. msgstr ""
  11179. #. type: table
  11180. #: guix-git/doc/guix.texi:6567
  11181. 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."
  11182. msgstr ""
  11183. #. type: item
  11184. #: guix-git/doc/guix.texi:6568
  11185. #, no-wrap
  11186. msgid "fakechroot"
  11187. msgstr ""
  11188. #. type: table
  11189. #: guix-git/doc/guix.texi:6576
  11190. 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."
  11191. msgstr ""
  11192. #. type: vindex
  11193. #: guix-git/doc/guix.texi:6578
  11194. #, no-wrap
  11195. msgid "GUIX_EXECUTION_ENGINE"
  11196. msgstr ""
  11197. #. type: quotation
  11198. #: guix-git/doc/guix.texi:6582
  11199. 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."
  11200. msgstr ""
  11201. #. type: cindex
  11202. #: guix-git/doc/guix.texi:6584
  11203. #, no-wrap
  11204. msgid "entry point, for Docker images"
  11205. msgstr ""
  11206. #. type: item
  11207. #: guix-git/doc/guix.texi:6585
  11208. #, no-wrap
  11209. msgid "--entry-point=@var{command}"
  11210. msgstr ""
  11211. #. type: table
  11212. #: guix-git/doc/guix.texi:6590
  11213. 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."
  11214. msgstr ""
  11215. #. type: table
  11216. #: guix-git/doc/guix.texi:6594
  11217. 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:"
  11218. msgstr ""
  11219. #. type: example
  11220. #: guix-git/doc/guix.texi:6597
  11221. #, no-wrap
  11222. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  11223. msgstr ""
  11224. #. type: table
  11225. #: guix-git/doc/guix.texi:6601
  11226. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  11227. msgstr ""
  11228. #. type: example
  11229. #: guix-git/doc/guix.texi:6605
  11230. #, no-wrap
  11231. msgid ""
  11232. "docker load -i pack.tar.gz\n"
  11233. "docker run @var{image-id}\n"
  11234. msgstr ""
  11235. #. type: table
  11236. #: guix-git/doc/guix.texi:6610 guix-git/doc/guix.texi:12497
  11237. #: guix-git/doc/guix.texi:13445
  11238. msgid "Consider the package @var{expr} evaluates to."
  11239. msgstr ""
  11240. #. type: table
  11241. #: guix-git/doc/guix.texi:6614
  11242. 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}})."
  11243. msgstr ""
  11244. #. type: table
  11245. #: guix-git/doc/guix.texi:6620
  11246. 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."
  11247. msgstr ""
  11248. #. type: table
  11249. #: guix-git/doc/guix.texi:6628
  11250. 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."
  11251. msgstr ""
  11252. #. type: item
  11253. #: guix-git/doc/guix.texi:6634 guix-git/doc/guix.texi:11539
  11254. #, no-wrap
  11255. msgid "--target=@var{triplet}"
  11256. msgstr ""
  11257. #. type: cindex
  11258. #: guix-git/doc/guix.texi:6635 guix-git/doc/guix.texi:7080
  11259. #: guix-git/doc/guix.texi:11540
  11260. #, no-wrap
  11261. msgid "cross-compilation"
  11262. msgstr ""
  11263. #. type: table
  11264. #: guix-git/doc/guix.texi:6639
  11265. 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})."
  11266. msgstr ""
  11267. #. type: item
  11268. #: guix-git/doc/guix.texi:6640
  11269. #, no-wrap
  11270. msgid "--compression=@var{tool}"
  11271. msgstr ""
  11272. #. type: itemx
  11273. #: guix-git/doc/guix.texi:6641
  11274. #, no-wrap
  11275. msgid "-C @var{tool}"
  11276. msgstr ""
  11277. #. type: table
  11278. #: guix-git/doc/guix.texi:6645
  11279. 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."
  11280. msgstr ""
  11281. #. type: item
  11282. #: guix-git/doc/guix.texi:6646
  11283. #, no-wrap
  11284. msgid "--symlink=@var{spec}"
  11285. msgstr ""
  11286. #. type: itemx
  11287. #: guix-git/doc/guix.texi:6647
  11288. #, no-wrap
  11289. msgid "-S @var{spec}"
  11290. msgstr ""
  11291. #. type: table
  11292. #: guix-git/doc/guix.texi:6650
  11293. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  11294. msgstr ""
  11295. #. type: table
  11296. #: guix-git/doc/guix.texi:6654
  11297. 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."
  11298. msgstr ""
  11299. #. type: table
  11300. #: guix-git/doc/guix.texi:6657
  11301. 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."
  11302. msgstr ""
  11303. #. type: item
  11304. #: guix-git/doc/guix.texi:6658 guix-git/doc/guix.texi:35262
  11305. #, no-wrap
  11306. msgid "--save-provenance"
  11307. msgstr ""
  11308. #. type: table
  11309. #: guix-git/doc/guix.texi:6662
  11310. 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})."
  11311. msgstr ""
  11312. #. type: table
  11313. #: guix-git/doc/guix.texi:6668
  11314. 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."
  11315. msgstr ""
  11316. #. type: table
  11317. #: guix-git/doc/guix.texi:6674
  11318. 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."
  11319. msgstr ""
  11320. #. type: cindex
  11321. #: guix-git/doc/guix.texi:6677
  11322. #, no-wrap
  11323. msgid "garbage collector root, for packs"
  11324. msgstr ""
  11325. #. type: table
  11326. #: guix-git/doc/guix.texi:6680
  11327. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  11328. msgstr ""
  11329. #. type: item
  11330. #: guix-git/doc/guix.texi:6681
  11331. #, no-wrap
  11332. msgid "--localstatedir"
  11333. msgstr ""
  11334. #. type: itemx
  11335. #: guix-git/doc/guix.texi:6682
  11336. #, no-wrap
  11337. msgid "--profile-name=@var{name}"
  11338. msgstr ""
  11339. #. type: table
  11340. #: guix-git/doc/guix.texi:6687
  11341. 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}."
  11342. msgstr ""
  11343. #. type: table
  11344. #: guix-git/doc/guix.texi:6693
  11345. 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."
  11346. msgstr ""
  11347. #. type: table
  11348. #: guix-git/doc/guix.texi:6696
  11349. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  11350. msgstr ""
  11351. #. type: item
  11352. #: guix-git/doc/guix.texi:6697 guix-git/doc/guix.texi:35256
  11353. #, no-wrap
  11354. msgid "--derivation"
  11355. msgstr ""
  11356. #. type: itemx
  11357. #: guix-git/doc/guix.texi:6698 guix-git/doc/guix.texi:11571
  11358. #: guix-git/doc/guix.texi:35257
  11359. #, no-wrap
  11360. msgid "-d"
  11361. msgstr ""
  11362. #. type: table
  11363. #: guix-git/doc/guix.texi:6700
  11364. msgid "Print the name of the derivation that builds the pack."
  11365. msgstr ""
  11366. #. type: table
  11367. #: guix-git/doc/guix.texi:6704
  11368. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  11369. msgstr ""
  11370. #. type: Plain text
  11371. #: guix-git/doc/guix.texi:6709
  11372. 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})."
  11373. msgstr ""
  11374. #. type: cindex
  11375. #: guix-git/doc/guix.texi:6714
  11376. #, no-wrap
  11377. msgid "GCC"
  11378. msgstr ""
  11379. #. type: cindex
  11380. #: guix-git/doc/guix.texi:6715
  11381. #, no-wrap
  11382. msgid "ld-wrapper"
  11383. msgstr ""
  11384. #. type: cindex
  11385. #: guix-git/doc/guix.texi:6716
  11386. #, no-wrap
  11387. msgid "linker wrapper"
  11388. msgstr ""
  11389. #. type: cindex
  11390. #: guix-git/doc/guix.texi:6717
  11391. #, no-wrap
  11392. msgid "toolchain, for C development"
  11393. msgstr ""
  11394. #. type: cindex
  11395. #: guix-git/doc/guix.texi:6718
  11396. #, no-wrap
  11397. msgid "toolchain, for Fortran development"
  11398. msgstr ""
  11399. #. type: Plain text
  11400. #: guix-git/doc/guix.texi:6725
  11401. 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."
  11402. msgstr ""
  11403. #. type: Plain text
  11404. #: guix-git/doc/guix.texi:6731
  11405. 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}."
  11406. msgstr ""
  11407. #. type: Plain text
  11408. #: guix-git/doc/guix.texi:6735
  11409. 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})."
  11410. msgstr ""
  11411. #. type: section
  11412. #: guix-git/doc/guix.texi:6738
  11413. #, no-wrap
  11414. msgid "Invoking @command{guix git authenticate}"
  11415. msgstr ""
  11416. #. type: Plain text
  11417. #: guix-git/doc/guix.texi:6746
  11418. 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)."
  11419. msgstr ""
  11420. #. type: Plain text
  11421. #: guix-git/doc/guix.texi:6751
  11422. 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."
  11423. msgstr ""
  11424. #. type: example
  11425. #: guix-git/doc/guix.texi:6756
  11426. #, no-wrap
  11427. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  11428. msgstr ""
  11429. #. type: Plain text
  11430. #: guix-git/doc/guix.texi:6765
  11431. 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."
  11432. msgstr ""
  11433. #. type: item
  11434. #: guix-git/doc/guix.texi:6767
  11435. #, no-wrap
  11436. msgid "--repository=@var{directory}"
  11437. msgstr ""
  11438. #. type: itemx
  11439. #: guix-git/doc/guix.texi:6768
  11440. #, no-wrap
  11441. msgid "-r @var{directory}"
  11442. msgstr ""
  11443. #. type: table
  11444. #: guix-git/doc/guix.texi:6771
  11445. msgid "Open the Git repository in @var{directory} instead of the current directory."
  11446. msgstr ""
  11447. #. type: item
  11448. #: guix-git/doc/guix.texi:6772
  11449. #, no-wrap
  11450. msgid "--keyring=@var{reference}"
  11451. msgstr ""
  11452. #. type: itemx
  11453. #: guix-git/doc/guix.texi:6773
  11454. #, no-wrap
  11455. msgid "-k @var{reference}"
  11456. msgstr ""
  11457. #. type: table
  11458. #: guix-git/doc/guix.texi:6779
  11459. 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}."
  11460. msgstr ""
  11461. #. type: item
  11462. #: guix-git/doc/guix.texi:6780
  11463. #, no-wrap
  11464. msgid "--stats"
  11465. msgstr ""
  11466. #. type: table
  11467. #: guix-git/doc/guix.texi:6782
  11468. msgid "Display commit signing statistics upon completion."
  11469. msgstr ""
  11470. #. type: item
  11471. #: guix-git/doc/guix.texi:6783
  11472. #, no-wrap
  11473. msgid "--cache-key=@var{key}"
  11474. msgstr ""
  11475. #. type: table
  11476. #: guix-git/doc/guix.texi:6787
  11477. 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."
  11478. msgstr ""
  11479. #. type: item
  11480. #: guix-git/doc/guix.texi:6788
  11481. #, no-wrap
  11482. msgid "--historical-authorizations=@var{file}"
  11483. msgstr ""
  11484. #. type: table
  11485. #: guix-git/doc/guix.texi:6795
  11486. 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})."
  11487. msgstr ""
  11488. #. type: Plain text
  11489. #: guix-git/doc/guix.texi:6808
  11490. 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."
  11491. msgstr ""
  11492. #. type: Plain text
  11493. #: guix-git/doc/guix.texi:6814
  11494. 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."
  11495. msgstr ""
  11496. #. type: Plain text
  11497. #: guix-git/doc/guix.texi:6823
  11498. 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."
  11499. msgstr ""
  11500. #. type: Plain text
  11501. #: guix-git/doc/guix.texi:6826
  11502. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11503. msgstr ""
  11504. #. type: menuentry
  11505. #: guix-git/doc/guix.texi:6839
  11506. msgid "Programming Guix in Guile"
  11507. msgstr ""
  11508. #. type: Plain text
  11509. #: guix-git/doc/guix.texi:6855
  11510. 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})."
  11511. msgstr ""
  11512. #. type: Plain text
  11513. #: guix-git/doc/guix.texi:6862
  11514. 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."
  11515. msgstr ""
  11516. #. type: cindex
  11517. #: guix-git/doc/guix.texi:6864
  11518. #, no-wrap
  11519. msgid "package module search path"
  11520. msgstr ""
  11521. #. type: Plain text
  11522. #: guix-git/doc/guix.texi:6873
  11523. 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:"
  11524. msgstr ""
  11525. #. type: enumerate
  11526. #: guix-git/doc/guix.texi:6880
  11527. 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."
  11528. msgstr ""
  11529. #. type: enumerate
  11530. #: guix-git/doc/guix.texi:6886
  11531. 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."
  11532. msgstr ""
  11533. #. type: Plain text
  11534. #: guix-git/doc/guix.texi:6889
  11535. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11536. msgstr ""
  11537. #. type: defvr
  11538. #: guix-git/doc/guix.texi:6890
  11539. #, no-wrap
  11540. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11541. msgstr ""
  11542. #. type: defvr
  11543. #: guix-git/doc/guix.texi:6894
  11544. 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."
  11545. msgstr ""
  11546. #. type: Plain text
  11547. #: guix-git/doc/guix.texi:6902
  11548. 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}."
  11549. msgstr ""
  11550. #. type: Plain text
  11551. #: guix-git/doc/guix.texi:6910
  11552. 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:"
  11553. msgstr ""
  11554. #. type: lisp
  11555. #: guix-git/doc/guix.texi:6918
  11556. #, no-wrap
  11557. msgid ""
  11558. "(define-module (gnu packages hello)\n"
  11559. " #:use-module (guix packages)\n"
  11560. " #:use-module (guix download)\n"
  11561. " #:use-module (guix build-system gnu)\n"
  11562. " #:use-module (guix licenses)\n"
  11563. " #:use-module (gnu packages gawk))\n"
  11564. "\n"
  11565. msgstr ""
  11566. #. type: lisp
  11567. #: guix-git/doc/guix.texi:6937
  11568. #, no-wrap
  11569. msgid ""
  11570. "(define-public hello\n"
  11571. " (package\n"
  11572. " (name \"hello\")\n"
  11573. " (version \"2.10\")\n"
  11574. " (source (origin\n"
  11575. " (method url-fetch)\n"
  11576. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11577. " \".tar.gz\"))\n"
  11578. " (sha256\n"
  11579. " (base32\n"
  11580. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11581. " (build-system gnu-build-system)\n"
  11582. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11583. " (inputs (list gawk))\n"
  11584. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11585. " (description \"Guess what GNU Hello prints!\")\n"
  11586. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11587. " (license gpl3+)))\n"
  11588. msgstr ""
  11589. #. type: Plain text
  11590. #: guix-git/doc/guix.texi:6947
  11591. 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\"}."
  11592. msgstr ""
  11593. #. type: Plain text
  11594. #: guix-git/doc/guix.texi:6951
  11595. 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})."
  11596. msgstr ""
  11597. #. type: Plain text
  11598. #: guix-git/doc/guix.texi:6957
  11599. 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})."
  11600. msgstr ""
  11601. #. type: Plain text
  11602. #: guix-git/doc/guix.texi:6959
  11603. msgid "There are a few points worth noting in the above package definition:"
  11604. msgstr ""
  11605. #. type: itemize
  11606. #: guix-git/doc/guix.texi:6966
  11607. 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."
  11608. msgstr ""
  11609. #. type: itemize
  11610. #: guix-git/doc/guix.texi:6969
  11611. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11612. msgstr ""
  11613. #. type: itemize
  11614. #: guix-git/doc/guix.texi:6976
  11615. 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})."
  11616. msgstr ""
  11617. #. type: cindex
  11618. #: guix-git/doc/guix.texi:6977
  11619. #, no-wrap
  11620. msgid "patches"
  11621. msgstr ""
  11622. #. type: itemize
  11623. #: guix-git/doc/guix.texi:6981
  11624. 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."
  11625. msgstr ""
  11626. #. type: cindex
  11627. #: guix-git/doc/guix.texi:6983
  11628. #, no-wrap
  11629. msgid "GNU Build System"
  11630. msgstr ""
  11631. #. type: itemize
  11632. #: guix-git/doc/guix.texi:6989
  11633. 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."
  11634. msgstr ""
  11635. #. type: itemize
  11636. #: guix-git/doc/guix.texi:6993
  11637. 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."
  11638. msgstr ""
  11639. #. type: itemize
  11640. #: guix-git/doc/guix.texi:6999
  11641. 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."
  11642. msgstr ""
  11643. #. type: findex
  11644. #: guix-git/doc/guix.texi:7000 guix-git/doc/guix.texi:7003
  11645. #, no-wrap
  11646. msgid "quote"
  11647. msgstr ""
  11648. #. type: cindex
  11649. #: guix-git/doc/guix.texi:7001
  11650. #, no-wrap
  11651. msgid "quoting"
  11652. msgstr ""
  11653. #. type: findex
  11654. #: guix-git/doc/guix.texi:7002
  11655. #, no-wrap
  11656. msgid "'"
  11657. msgstr ""
  11658. #. type: cindex
  11659. #: guix-git/doc/guix.texi:7004
  11660. #, no-wrap
  11661. msgid "backquote (quasiquote)"
  11662. msgstr ""
  11663. #. type: findex
  11664. #: guix-git/doc/guix.texi:7005
  11665. #, no-wrap
  11666. msgid "`"
  11667. msgstr ""
  11668. #. type: findex
  11669. #: guix-git/doc/guix.texi:7006
  11670. #, no-wrap
  11671. msgid "quasiquote"
  11672. msgstr ""
  11673. #. type: cindex
  11674. #: guix-git/doc/guix.texi:7007
  11675. #, no-wrap
  11676. msgid "comma (unquote)"
  11677. msgstr ""
  11678. #. type: findex
  11679. #: guix-git/doc/guix.texi:7008
  11680. #, no-wrap
  11681. msgid ","
  11682. msgstr ""
  11683. #. type: findex
  11684. #: guix-git/doc/guix.texi:7009
  11685. #, no-wrap
  11686. msgid "unquote"
  11687. msgstr ""
  11688. #. type: itemize
  11689. #: guix-git/doc/guix.texi:7019
  11690. msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. Sometimes you'll also see @code{`} (a backquote, synonymous with @code{quasiquote}) and @code{,} (a comma, synonymous with @code{unquote}). @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})."
  11691. msgstr ""
  11692. #. type: itemize
  11693. #: guix-git/doc/guix.texi:7025
  11694. 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})."
  11695. msgstr ""
  11696. #. type: itemize
  11697. #: guix-git/doc/guix.texi:7031
  11698. msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we add an input, a reference to the @code{gawk} variable; @code{gawk} is itself bound to a @code{<package>} object."
  11699. msgstr ""
  11700. #. type: itemize
  11701. #: guix-git/doc/guix.texi:7035
  11702. 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})."
  11703. msgstr ""
  11704. #. type: itemize
  11705. #: guix-git/doc/guix.texi:7039
  11706. 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."
  11707. msgstr ""
  11708. #. type: Plain text
  11709. #: guix-git/doc/guix.texi:7042
  11710. msgid "@xref{package Reference}, for a full description of possible fields."
  11711. msgstr ""
  11712. #. type: Plain text
  11713. #: guix-git/doc/guix.texi:7053
  11714. 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."
  11715. msgstr ""
  11716. #. type: vindex
  11717. #: guix-git/doc/guix.texi:7053
  11718. #, no-wrap
  11719. msgid "GUIX_PACKAGE_PATH"
  11720. msgstr "GUIX_PACKAGE_PATH"
  11721. #. type: Plain text
  11722. #: guix-git/doc/guix.texi:7057
  11723. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  11724. msgstr ""
  11725. #. type: Plain text
  11726. #: guix-git/doc/guix.texi:7061
  11727. 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})."
  11728. msgstr ""
  11729. #. type: Plain text
  11730. #: guix-git/doc/guix.texi:7067
  11731. 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})."
  11732. msgstr ""
  11733. #. type: deffn
  11734. #: guix-git/doc/guix.texi:7068
  11735. #, no-wrap
  11736. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  11737. msgstr ""
  11738. #. type: deffn
  11739. #: guix-git/doc/guix.texi:7071
  11740. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  11741. msgstr ""
  11742. #. type: deffn
  11743. #: guix-git/doc/guix.texi:7077
  11744. 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})."
  11745. msgstr ""
  11746. #. type: Plain text
  11747. #: guix-git/doc/guix.texi:7083
  11748. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  11749. msgstr ""
  11750. #. type: deffn
  11751. #: guix-git/doc/guix.texi:7084
  11752. #, no-wrap
  11753. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  11754. msgstr ""
  11755. #. type: deffn
  11756. #: guix-git/doc/guix.texi:7088
  11757. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  11758. msgstr ""
  11759. #. type: deffn
  11760. #: guix-git/doc/guix.texi:7092
  11761. 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})."
  11762. msgstr ""
  11763. #. type: Plain text
  11764. #: guix-git/doc/guix.texi:7096
  11765. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  11766. msgstr ""
  11767. #. type: subsection
  11768. #: guix-git/doc/guix.texi:7104
  11769. #, no-wrap
  11770. msgid "@code{package} Reference"
  11771. msgstr ""
  11772. #. type: Plain text
  11773. #: guix-git/doc/guix.texi:7108
  11774. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  11775. msgstr ""
  11776. #. type: deftp
  11777. #: guix-git/doc/guix.texi:7109
  11778. #, no-wrap
  11779. msgid "{Data Type} package"
  11780. msgstr ""
  11781. #. type: deftp
  11782. #: guix-git/doc/guix.texi:7111
  11783. msgid "This is the data type representing a package recipe."
  11784. msgstr ""
  11785. #. type: table
  11786. #: guix-git/doc/guix.texi:7115
  11787. msgid "The name of the package, as a string."
  11788. msgstr ""
  11789. #. type: code{#1}
  11790. #: guix-git/doc/guix.texi:7116
  11791. #, no-wrap
  11792. msgid "version"
  11793. msgstr ""
  11794. #. type: table
  11795. #: guix-git/doc/guix.texi:7119
  11796. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  11797. msgstr ""
  11798. #. type: code{#1}
  11799. #: guix-git/doc/guix.texi:7120 guix-git/doc/guix.texi:12900
  11800. #: guix-git/doc/guix.texi:15181 guix-git/doc/guix.texi:15790
  11801. #, no-wrap
  11802. msgid "source"
  11803. msgstr "source"
  11804. #. type: table
  11805. #: guix-git/doc/guix.texi:7127
  11806. 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}})."
  11807. msgstr ""
  11808. #. type: code{#1}
  11809. #: guix-git/doc/guix.texi:7128
  11810. #, no-wrap
  11811. msgid "build-system"
  11812. msgstr "build-system"
  11813. #. type: table
  11814. #: guix-git/doc/guix.texi:7131
  11815. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  11816. msgstr ""
  11817. #. type: item
  11818. #: guix-git/doc/guix.texi:7132 guix-git/doc/guix.texi:17953
  11819. #, no-wrap
  11820. msgid "@code{arguments} (default: @code{'()})"
  11821. msgstr ""
  11822. #. type: table
  11823. #: guix-git/doc/guix.texi:7135
  11824. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  11825. msgstr ""
  11826. #. type: item
  11827. #: guix-git/doc/guix.texi:7136
  11828. #, no-wrap
  11829. msgid "@code{inputs} (default: @code{'()})"
  11830. msgstr ""
  11831. #. type: itemx
  11832. #: guix-git/doc/guix.texi:7137
  11833. #, no-wrap
  11834. msgid "@code{native-inputs} (default: @code{'()})"
  11835. msgstr ""
  11836. #. type: itemx
  11837. #: guix-git/doc/guix.texi:7138
  11838. #, no-wrap
  11839. msgid "@code{propagated-inputs} (default: @code{'()})"
  11840. msgstr ""
  11841. #. type: cindex
  11842. #: guix-git/doc/guix.texi:7139
  11843. #, no-wrap
  11844. msgid "inputs, of packages"
  11845. msgstr ""
  11846. #. type: table
  11847. #: guix-git/doc/guix.texi:7146
  11848. msgid "These fields list dependencies of the package. Each element of these lists is either a package, origin, or other ``file-like object'' (@pxref{G-Expressions}); to specify the output of that file-like object that should be used, pass a two-element list where the second element is the output (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:"
  11849. msgstr ""
  11850. #. type: lisp
  11851. #: guix-git/doc/guix.texi:7150
  11852. #, no-wrap
  11853. msgid ""
  11854. "(list libffi libunistring\n"
  11855. " `(,glib \"bin\")) ;the \"bin\" output of GLib\n"
  11856. msgstr ""
  11857. #. type: table
  11858. #: guix-git/doc/guix.texi:7154
  11859. msgid "In the example above, the @code{\"out\"} output of @code{libffi} and @code{libunistring} is used."
  11860. msgstr ""
  11861. #. type: quotation
  11862. #: guix-git/doc/guix.texi:7155
  11863. #, no-wrap
  11864. msgid "Compatibility Note"
  11865. msgstr ""
  11866. #. type: quotation
  11867. #: guix-git/doc/guix.texi:7162
  11868. msgid "Until version 1.3.0, input lists were 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\"}. For example, the list below is equivalent to the one above, but using the @dfn{old input style}:"
  11869. msgstr ""
  11870. #. type: lisp
  11871. #: guix-git/doc/guix.texi:7168
  11872. #, no-wrap
  11873. msgid ""
  11874. ";; Old input style (deprecated).\n"
  11875. "`((\"libffi\" ,libffi)\n"
  11876. " (\"libunistring\" ,libunistring)\n"
  11877. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of GLib\n"
  11878. msgstr ""
  11879. #. type: quotation
  11880. #: guix-git/doc/guix.texi:7174
  11881. msgid "This style is now deprecated; it is still supported but support will be removed in a future version. It should not be used for new package definitions. @xref{Invoking guix style}, on how to migrate to the new style."
  11882. msgstr ""
  11883. #. type: cindex
  11884. #: guix-git/doc/guix.texi:7176
  11885. #, no-wrap
  11886. msgid "cross compilation, package dependencies"
  11887. msgstr ""
  11888. #. type: table
  11889. #: guix-git/doc/guix.texi:7182
  11890. 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."
  11891. msgstr ""
  11892. #. type: table
  11893. #: guix-git/doc/guix.texi:7187
  11894. 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})."
  11895. msgstr ""
  11896. #. type: anchor{#1}
  11897. #: guix-git/doc/guix.texi:7195
  11898. msgid "package-propagated-inputs"
  11899. msgstr ""
  11900. #. type: table
  11901. #: guix-git/doc/guix.texi:7195
  11902. 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)."
  11903. msgstr ""
  11904. #. type: table
  11905. #: guix-git/doc/guix.texi:7199
  11906. 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."
  11907. msgstr ""
  11908. #. type: table
  11909. #: guix-git/doc/guix.texi:7206
  11910. 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}."
  11911. msgstr ""
  11912. #. type: item
  11913. #: guix-git/doc/guix.texi:7207
  11914. #, no-wrap
  11915. msgid "@code{outputs} (default: @code{'(\"out\")})"
  11916. msgstr ""
  11917. #. type: table
  11918. #: guix-git/doc/guix.texi:7210
  11919. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  11920. msgstr ""
  11921. #. type: item
  11922. #: guix-git/doc/guix.texi:7211
  11923. #, no-wrap
  11924. msgid "@code{native-search-paths} (default: @code{'()})"
  11925. msgstr ""
  11926. #. type: itemx
  11927. #: guix-git/doc/guix.texi:7212
  11928. #, no-wrap
  11929. msgid "@code{search-paths} (default: @code{'()})"
  11930. msgstr ""
  11931. #. type: table
  11932. #: guix-git/doc/guix.texi:7215
  11933. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package."
  11934. msgstr ""
  11935. #. type: item
  11936. #: guix-git/doc/guix.texi:7216
  11937. #, no-wrap
  11938. msgid "@code{replacement} (default: @code{#f})"
  11939. msgstr ""
  11940. #. type: table
  11941. #: guix-git/doc/guix.texi:7220
  11942. 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."
  11943. msgstr ""
  11944. #. type: item
  11945. #: guix-git/doc/guix.texi:7221 guix-git/doc/guix.texi:12892
  11946. #, no-wrap
  11947. msgid "synopsis"
  11948. msgstr "synopsis"
  11949. #. type: table
  11950. #: guix-git/doc/guix.texi:7223
  11951. msgid "A one-line description of the package."
  11952. msgstr ""
  11953. #. type: code{#1}
  11954. #: guix-git/doc/guix.texi:7224 guix-git/doc/guix.texi:12893
  11955. #: guix-git/doc/guix.texi:35959 guix-git/doc/guix.texi:36119
  11956. #, no-wrap
  11957. msgid "description"
  11958. msgstr "description"
  11959. #. type: table
  11960. #: guix-git/doc/guix.texi:7226
  11961. msgid "A more elaborate description of the package."
  11962. msgstr ""
  11963. #. type: code{#1}
  11964. #: guix-git/doc/guix.texi:7227
  11965. #, no-wrap
  11966. msgid "license"
  11967. msgstr "license"
  11968. #. type: cindex
  11969. #: guix-git/doc/guix.texi:7228
  11970. #, no-wrap
  11971. msgid "license, of packages"
  11972. msgstr ""
  11973. #. type: table
  11974. #: guix-git/doc/guix.texi:7231
  11975. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  11976. msgstr ""
  11977. #. type: itemx
  11978. #: guix-git/doc/guix.texi:7232 guix-git/doc/guix.texi:12901
  11979. #, no-wrap
  11980. msgid "home-page"
  11981. msgstr "home-page"
  11982. #. type: table
  11983. #: guix-git/doc/guix.texi:7234
  11984. msgid "The URL to the home-page of the package, as a string."
  11985. msgstr ""
  11986. #. type: item
  11987. #: guix-git/doc/guix.texi:7235
  11988. #, no-wrap
  11989. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  11990. msgstr ""
  11991. #. type: table
  11992. #: guix-git/doc/guix.texi:7238
  11993. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  11994. msgstr ""
  11995. #. type: item
  11996. #: guix-git/doc/guix.texi:7239
  11997. #, no-wrap
  11998. msgid "@code{location} (default: source location of the @code{package} form)"
  11999. msgstr ""
  12000. #. type: table
  12001. #: guix-git/doc/guix.texi:7243
  12002. 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."
  12003. msgstr ""
  12004. #. type: deffn
  12005. #: guix-git/doc/guix.texi:7246
  12006. #, no-wrap
  12007. msgid "{Scheme Syntax} this-package"
  12008. msgstr ""
  12009. #. type: deffn
  12010. #: guix-git/doc/guix.texi:7249
  12011. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  12012. msgstr ""
  12013. #. type: deffn
  12014. #: guix-git/doc/guix.texi:7252
  12015. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  12016. msgstr ""
  12017. #. type: lisp
  12018. #: guix-git/doc/guix.texi:7257
  12019. #, no-wrap
  12020. msgid ""
  12021. "(package\n"
  12022. " (name \"guile\")\n"
  12023. " ;; ...\n"
  12024. "\n"
  12025. msgstr ""
  12026. #. type: lisp
  12027. #: guix-git/doc/guix.texi:7263
  12028. #, no-wrap
  12029. msgid ""
  12030. " ;; When cross-compiled, Guile, for example, depends on\n"
  12031. " ;; a native version of itself. Add it here.\n"
  12032. " (native-inputs (if (%current-target-system)\n"
  12033. " (list this-package)\n"
  12034. " '())))\n"
  12035. msgstr ""
  12036. #. type: deffn
  12037. #: guix-git/doc/guix.texi:7266
  12038. msgid "It is an error to refer to @code{this-package} outside a package definition."
  12039. msgstr ""
  12040. #. type: Plain text
  12041. #: guix-git/doc/guix.texi:7270
  12042. msgid "The following helper procedures are provided to help deal with package inputs."
  12043. msgstr ""
  12044. #. type: deffn
  12045. #: guix-git/doc/guix.texi:7271
  12046. #, no-wrap
  12047. msgid "{Scheme Procedure} lookup-package-input @var{package} @var{name}"
  12048. msgstr ""
  12049. #. type: deffnx
  12050. #: guix-git/doc/guix.texi:7272
  12051. #, no-wrap
  12052. msgid "{Scheme Procedure} lookup-package-native-input @var{package} @var{name}"
  12053. msgstr ""
  12054. #. type: deffnx
  12055. #: guix-git/doc/guix.texi:7273
  12056. #, no-wrap
  12057. msgid "{Scheme Procedure} lookup-package-propagated-input @var{package} @var{name}"
  12058. msgstr ""
  12059. #. type: deffnx
  12060. #: guix-git/doc/guix.texi:7274
  12061. #, no-wrap
  12062. msgid "{Scheme Procedure} lookup-package-direct-input @var{package} @var{name}"
  12063. msgstr ""
  12064. #. type: deffn
  12065. #: guix-git/doc/guix.texi:7277
  12066. msgid "Look up @var{name} among @var{package}'s inputs (or native, propagated, or direct inputs). Return it if found, @code{#f} otherwise."
  12067. msgstr ""
  12068. #. type: deffn
  12069. #: guix-git/doc/guix.texi:7280
  12070. msgid "@var{name} is the name of a package depended on. Here's how you might use it:"
  12071. msgstr ""
  12072. #. type: lisp
  12073. #: guix-git/doc/guix.texi:7283
  12074. #, no-wrap
  12075. msgid ""
  12076. "(use-modules (guix packages) (gnu packages base))\n"
  12077. "\n"
  12078. msgstr ""
  12079. #. type: lisp
  12080. #: guix-git/doc/guix.texi:7286
  12081. #, no-wrap
  12082. msgid ""
  12083. "(lookup-package-direct-input coreutils \"gmp\")\n"
  12084. "@result{} #<package gmp@@6.2.1 @dots{}>\n"
  12085. msgstr ""
  12086. #. type: deffn
  12087. #: guix-git/doc/guix.texi:7290
  12088. msgid "In this example we obtain the @code{gmp} package that is among the direct inputs of @code{coreutils}."
  12089. msgstr ""
  12090. #. type: cindex
  12091. #: guix-git/doc/guix.texi:7292
  12092. #, no-wrap
  12093. msgid "development inputs, of a package"
  12094. msgstr ""
  12095. #. type: cindex
  12096. #: guix-git/doc/guix.texi:7293
  12097. #, no-wrap
  12098. msgid "implicit inputs, of a package"
  12099. msgstr ""
  12100. #. type: Plain text
  12101. #: guix-git/doc/guix.texi:7298
  12102. msgid "Sometimes you will want to obtain the list of inputs needed to @emph{develop} a package---all the inputs that are visible when the package is compiled. This is what the @code{package-development-inputs} procedure returns."
  12103. msgstr ""
  12104. #. type: deffn
  12105. #: guix-git/doc/guix.texi:7299
  12106. #, no-wrap
  12107. msgid "{Scheme Procedure} package-development-inputs @var{package} @"
  12108. msgstr ""
  12109. #. type: deffn
  12110. #: guix-git/doc/guix.texi:7306
  12111. msgid "[@var{system}] [#:target #f] Return the list of inputs required by @var{package} for development purposes on @var{system}. When @var{target} is true, return the inputs needed to cross-compile @var{package} from @var{system} to @var{triplet}, where @var{triplet} is a triplet such as @code{\"aarch64-linux-gnu\"}."
  12112. msgstr ""
  12113. #. type: deffn
  12114. #: guix-git/doc/guix.texi:7310
  12115. msgid "Note that the result includes both explicit inputs and implicit inputs---inputs automatically added by the build system (@pxref{Build Systems}). Let us take the @code{hello} package to illustrate that:"
  12116. msgstr ""
  12117. #. type: lisp
  12118. #: guix-git/doc/guix.texi:7313
  12119. #, no-wrap
  12120. msgid ""
  12121. "(use-modules (gnu packages base) (guix packages))\n"
  12122. "\n"
  12123. msgstr ""
  12124. #. type: lisp
  12125. #: guix-git/doc/guix.texi:7316
  12126. #, no-wrap
  12127. msgid ""
  12128. "hello\n"
  12129. "@result{} #<package hello@@2.10 gnu/packages/base.scm:79 7f585d4f6790>\n"
  12130. "\n"
  12131. msgstr ""
  12132. #. type: lisp
  12133. #: guix-git/doc/guix.texi:7319
  12134. #, no-wrap
  12135. msgid ""
  12136. "(package-direct-inputs hello)\n"
  12137. "@result{} ()\n"
  12138. "\n"
  12139. msgstr ""
  12140. #. type: lisp
  12141. #: guix-git/doc/guix.texi:7322
  12142. #, no-wrap
  12143. msgid ""
  12144. "(package-development-inputs hello)\n"
  12145. "@result{} ((\"source\" @dots{}) (\"tar\" #<package tar@@1.32 @dots{}>) @dots{})\n"
  12146. msgstr ""
  12147. #. type: deffn
  12148. #: guix-git/doc/guix.texi:7331
  12149. msgid "In this example, @code{package-direct-inputs} returns the empty list, because @code{hello} has zero explicit dependencies. Conversely, @code{package-development-inputs} includes inputs implicitly added by @code{gnu-build-system} that are required to build @code{hello}: tar, gzip, GCC, libc, Bash, and more. To visualize it, @command{guix graph hello} would show you explicit inputs, whereas @command{guix graph -t bag hello} would include implicit inputs (@pxref{Invoking guix graph})."
  12150. msgstr ""
  12151. #. type: Plain text
  12152. #: guix-git/doc/guix.texi:7337
  12153. 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."
  12154. msgstr ""
  12155. #. type: cindex
  12156. #: guix-git/doc/guix.texi:7338
  12157. #, no-wrap
  12158. msgid "tool chain, choosing a package's tool chain"
  12159. msgstr ""
  12160. #. type: deffn
  12161. #: guix-git/doc/guix.texi:7339
  12162. #, no-wrap
  12163. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  12164. msgstr ""
  12165. #. type: deffn
  12166. #: guix-git/doc/guix.texi:7344
  12167. 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."
  12168. msgstr ""
  12169. #. type: deffn
  12170. #: guix-git/doc/guix.texi:7348
  12171. 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:"
  12172. msgstr ""
  12173. #. type: lisp
  12174. #: guix-git/doc/guix.texi:7352
  12175. #, no-wrap
  12176. msgid ""
  12177. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  12178. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  12179. msgstr ""
  12180. #. type: deffn
  12181. #: guix-git/doc/guix.texi:7360
  12182. 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."
  12183. msgstr ""
  12184. #. type: subsection
  12185. #: guix-git/doc/guix.texi:7363
  12186. #, no-wrap
  12187. msgid "@code{origin} Reference"
  12188. msgstr ""
  12189. #. type: Plain text
  12190. #: guix-git/doc/guix.texi:7371
  12191. 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."
  12192. msgstr ""
  12193. #. type: deftp
  12194. #: guix-git/doc/guix.texi:7372
  12195. #, no-wrap
  12196. msgid "{Data Type} origin"
  12197. msgstr ""
  12198. #. type: deftp
  12199. #: guix-git/doc/guix.texi:7374
  12200. msgid "This is the data type representing a source code origin."
  12201. msgstr ""
  12202. #. type: code{#1}
  12203. #: guix-git/doc/guix.texi:7376 guix-git/doc/guix.texi:26552
  12204. #, no-wrap
  12205. msgid "uri"
  12206. msgstr ""
  12207. #. type: table
  12208. #: guix-git/doc/guix.texi:7381
  12209. 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."
  12210. msgstr ""
  12211. #. type: cindex
  12212. #: guix-git/doc/guix.texi:7382
  12213. #, no-wrap
  12214. msgid "fixed-output derivations, for download"
  12215. msgstr ""
  12216. #. type: code{#1}
  12217. #: guix-git/doc/guix.texi:7383
  12218. #, no-wrap
  12219. msgid "method"
  12220. msgstr ""
  12221. #. type: table
  12222. #: guix-git/doc/guix.texi:7390
  12223. 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})."
  12224. msgstr ""
  12225. #. type: table
  12226. #: guix-git/doc/guix.texi:7394
  12227. 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)."
  12228. msgstr ""
  12229. #. type: code{#1}
  12230. #: guix-git/doc/guix.texi:7395
  12231. #, no-wrap
  12232. msgid "sha256"
  12233. msgstr ""
  12234. #. type: table
  12235. #: guix-git/doc/guix.texi:7399
  12236. 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."
  12237. msgstr ""
  12238. #. type: code{#1}
  12239. #: guix-git/doc/guix.texi:7400
  12240. #, no-wrap
  12241. msgid "hash"
  12242. msgstr ""
  12243. #. type: table
  12244. #: guix-git/doc/guix.texi:7403
  12245. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  12246. msgstr ""
  12247. #. type: table
  12248. #: guix-git/doc/guix.texi:7407
  12249. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  12250. msgstr ""
  12251. #. type: item
  12252. #: guix-git/doc/guix.texi:7408
  12253. #, no-wrap
  12254. msgid "@code{file-name} (default: @code{#f})"
  12255. msgstr ""
  12256. #. type: table
  12257. #: guix-git/doc/guix.texi:7414
  12258. 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."
  12259. msgstr ""
  12260. #. type: item
  12261. #: guix-git/doc/guix.texi:7415
  12262. #, no-wrap
  12263. msgid "@code{patches} (default: @code{'()})"
  12264. msgstr ""
  12265. #. type: table
  12266. #: guix-git/doc/guix.texi:7418
  12267. 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."
  12268. msgstr ""
  12269. #. type: table
  12270. #: guix-git/doc/guix.texi:7422
  12271. 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}."
  12272. msgstr ""
  12273. #. type: item
  12274. #: guix-git/doc/guix.texi:7423
  12275. #, no-wrap
  12276. msgid "@code{snippet} (default: @code{#f})"
  12277. msgstr ""
  12278. #. type: table
  12279. #: guix-git/doc/guix.texi:7427
  12280. 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."
  12281. msgstr ""
  12282. #. type: item
  12283. #: guix-git/doc/guix.texi:7428
  12284. #, no-wrap
  12285. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  12286. msgstr ""
  12287. #. type: table
  12288. #: guix-git/doc/guix.texi:7431
  12289. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  12290. msgstr ""
  12291. #. type: item
  12292. #: guix-git/doc/guix.texi:7432
  12293. #, no-wrap
  12294. msgid "@code{patch-inputs} (default: @code{#f})"
  12295. msgstr ""
  12296. #. type: table
  12297. #: guix-git/doc/guix.texi:7436
  12298. 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."
  12299. msgstr ""
  12300. #. type: item
  12301. #: guix-git/doc/guix.texi:7437 guix-git/doc/guix.texi:26425
  12302. #, no-wrap
  12303. msgid "@code{modules} (default: @code{'()})"
  12304. msgstr ""
  12305. #. type: table
  12306. #: guix-git/doc/guix.texi:7440
  12307. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  12308. msgstr ""
  12309. #. type: item
  12310. #: guix-git/doc/guix.texi:7441
  12311. #, no-wrap
  12312. msgid "@code{patch-guile} (default: @code{#f})"
  12313. msgstr ""
  12314. #. type: table
  12315. #: guix-git/doc/guix.texi:7444
  12316. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  12317. msgstr ""
  12318. #. type: deftp
  12319. #: guix-git/doc/guix.texi:7447
  12320. #, no-wrap
  12321. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  12322. msgstr ""
  12323. #. type: deftp
  12324. #: guix-git/doc/guix.texi:7451
  12325. 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}."
  12326. msgstr ""
  12327. #. type: deftp
  12328. #: guix-git/doc/guix.texi:7454
  12329. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  12330. msgstr ""
  12331. #. type: deftp
  12332. #: guix-git/doc/guix.texi:7456
  12333. msgid "The following forms are all equivalent:"
  12334. msgstr ""
  12335. #. type: lisp
  12336. #: guix-git/doc/guix.texi:7465
  12337. #, no-wrap
  12338. msgid ""
  12339. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  12340. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  12341. " sha256)\n"
  12342. "(content-hash (base32\n"
  12343. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  12344. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  12345. " sha256)\n"
  12346. msgstr ""
  12347. #. type: deftp
  12348. #: guix-git/doc/guix.texi:7470
  12349. 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}."
  12350. msgstr ""
  12351. #. type: Plain text
  12352. #: guix-git/doc/guix.texi:7476
  12353. 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."
  12354. msgstr ""
  12355. #. type: deffn
  12356. #: guix-git/doc/guix.texi:7477
  12357. #, no-wrap
  12358. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  12359. msgstr ""
  12360. #. type: deffn
  12361. #: guix-git/doc/guix.texi:7485
  12362. 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."
  12363. msgstr ""
  12364. #. type: deffn
  12365. #: guix-git/doc/guix.texi:7488
  12366. 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}."
  12367. msgstr ""
  12368. #. type: deffn
  12369. #: guix-git/doc/guix.texi:7491
  12370. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  12371. msgstr ""
  12372. #. type: Plain text
  12373. #: guix-git/doc/guix.texi:7497
  12374. 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."
  12375. msgstr ""
  12376. #. type: deffn
  12377. #: guix-git/doc/guix.texi:7498
  12378. #, no-wrap
  12379. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  12380. msgstr ""
  12381. #. type: deffn
  12382. #: guix-git/doc/guix.texi:7503
  12383. 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}."
  12384. msgstr ""
  12385. #. type: deftp
  12386. #: guix-git/doc/guix.texi:7505
  12387. #, no-wrap
  12388. msgid "{Data Type} git-reference"
  12389. msgstr ""
  12390. #. type: deftp
  12391. #: guix-git/doc/guix.texi:7508
  12392. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  12393. msgstr ""
  12394. #. type: code{#1}
  12395. #: guix-git/doc/guix.texi:7510 guix-git/doc/guix.texi:24186
  12396. #, no-wrap
  12397. msgid "url"
  12398. msgstr ""
  12399. #. type: table
  12400. #: guix-git/doc/guix.texi:7512
  12401. msgid "The URL of the Git repository to clone."
  12402. msgstr ""
  12403. #. type: code{#1}
  12404. #: guix-git/doc/guix.texi:7513
  12405. #, no-wrap
  12406. msgid "commit"
  12407. msgstr "úprava"
  12408. #. type: table
  12409. #: guix-git/doc/guix.texi:7518
  12410. msgid "This string denotes either the commit to fetch (a hexadecimal string), or the tag to fetch. You can also use a ``short'' commit ID or a @command{git describe} style identifier such as @code{v1.0.1-10-g58d7909c97}."
  12411. msgstr ""
  12412. #. type: item
  12413. #: guix-git/doc/guix.texi:7519
  12414. #, no-wrap
  12415. msgid "@code{recursive?} (default: @code{#f})"
  12416. msgstr ""
  12417. #. type: table
  12418. #: guix-git/doc/guix.texi:7521
  12419. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  12420. msgstr ""
  12421. #. type: deftp
  12422. #: guix-git/doc/guix.texi:7525
  12423. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  12424. msgstr ""
  12425. #. type: lisp
  12426. #: guix-git/doc/guix.texi:7530
  12427. #, no-wrap
  12428. msgid ""
  12429. "(git-reference\n"
  12430. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12431. " (commit \"v2.10\"))\n"
  12432. msgstr ""
  12433. #. type: deftp
  12434. #: guix-git/doc/guix.texi:7534
  12435. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  12436. msgstr ""
  12437. #. type: lisp
  12438. #: guix-git/doc/guix.texi:7539
  12439. #, no-wrap
  12440. msgid ""
  12441. "(git-reference\n"
  12442. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12443. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  12444. msgstr ""
  12445. #. type: Plain text
  12446. #: guix-git/doc/guix.texi:7545
  12447. 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."
  12448. msgstr ""
  12449. #. type: deffn
  12450. #: guix-git/doc/guix.texi:7546
  12451. #, no-wrap
  12452. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  12453. msgstr ""
  12454. #. type: deffn
  12455. #: guix-git/doc/guix.texi:7552
  12456. 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}."
  12457. msgstr ""
  12458. #. type: cindex
  12459. #: guix-git/doc/guix.texi:7557
  12460. #, no-wrap
  12461. msgid "customizing packages"
  12462. msgstr ""
  12463. #. type: cindex
  12464. #: guix-git/doc/guix.texi:7558
  12465. #, no-wrap
  12466. msgid "variants, of packages"
  12467. msgstr ""
  12468. #. type: Plain text
  12469. #: guix-git/doc/guix.texi:7568
  12470. 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!"
  12471. msgstr ""
  12472. #. type: cindex
  12473. #: guix-git/doc/guix.texi:7569
  12474. #, no-wrap
  12475. msgid "inherit, for package definitions"
  12476. msgstr ""
  12477. #. type: Plain text
  12478. #: guix-git/doc/guix.texi:7576
  12479. 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."
  12480. msgstr ""
  12481. #. type: Plain text
  12482. #: guix-git/doc/guix.texi:7581
  12483. 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!):"
  12484. msgstr ""
  12485. #. type: lisp
  12486. #: guix-git/doc/guix.texi:7584
  12487. #, no-wrap
  12488. msgid ""
  12489. "(use-modules (gnu packages base)) ;for 'hello'\n"
  12490. "\n"
  12491. msgstr ""
  12492. #. type: lisp
  12493. #: guix-git/doc/guix.texi:7596
  12494. #, no-wrap
  12495. msgid ""
  12496. "(define hello-2.2\n"
  12497. " (package\n"
  12498. " (inherit hello)\n"
  12499. " (version \"2.2\")\n"
  12500. " (source (origin\n"
  12501. " (method url-fetch)\n"
  12502. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  12503. " \".tar.gz\"))\n"
  12504. " (sha256\n"
  12505. " (base32\n"
  12506. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  12507. msgstr ""
  12508. #. type: Plain text
  12509. #: guix-git/doc/guix.texi:7605
  12510. 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."
  12511. msgstr ""
  12512. #. type: Plain text
  12513. #: guix-git/doc/guix.texi:7611
  12514. 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:"
  12515. msgstr ""
  12516. #. type: lisp
  12517. #: guix-git/doc/guix.texi:7614
  12518. #, no-wrap
  12519. msgid ""
  12520. "(use-modules (gnu packages gdb)) ;for 'gdb'\n"
  12521. "\n"
  12522. msgstr ""
  12523. #. type: lisp
  12524. #: guix-git/doc/guix.texi:7620
  12525. #, no-wrap
  12526. msgid ""
  12527. "(define gdb-sans-guile\n"
  12528. " (package\n"
  12529. " (inherit gdb)\n"
  12530. " (inputs (modify-inputs (package-inputs gdb)\n"
  12531. " (delete \"guile\")))))\n"
  12532. msgstr ""
  12533. #. type: Plain text
  12534. #: guix-git/doc/guix.texi:7626
  12535. msgid "The @code{modify-inputs} form above removes the @code{\"guile\"} package from the @code{inputs} field of @code{gdb}. The @code{modify-inputs} macro is a helper that can prove useful anytime you want to remove, add, or replace package inputs."
  12536. msgstr ""
  12537. #. type: deffn
  12538. #: guix-git/doc/guix.texi:7627
  12539. #, no-wrap
  12540. msgid "{Scheme Syntax} modify-inputs @var{inputs} @var{clauses}"
  12541. msgstr ""
  12542. #. type: deffn
  12543. #: guix-git/doc/guix.texi:7631
  12544. msgid "Modify the given package inputs, as returned by @code{package-inputs} & co., according to the given clauses. Each clause must have one of the following forms:"
  12545. msgstr ""
  12546. #. type: item
  12547. #: guix-git/doc/guix.texi:7633
  12548. #, no-wrap
  12549. msgid "(delete @var{name}@dots{})"
  12550. msgstr ""
  12551. #. type: table
  12552. #: guix-git/doc/guix.texi:7635
  12553. msgid "Delete from the inputs packages with the given @var{name}s (strings)."
  12554. msgstr ""
  12555. #. type: item
  12556. #: guix-git/doc/guix.texi:7636
  12557. #, no-wrap
  12558. msgid "(append @var{package}@dots{})"
  12559. msgstr ""
  12560. #. type: table
  12561. #: guix-git/doc/guix.texi:7638
  12562. msgid "Add @var{package}s to the end of the input list."
  12563. msgstr ""
  12564. #. type: item
  12565. #: guix-git/doc/guix.texi:7639
  12566. #, no-wrap
  12567. msgid "(prepend @var{package}@dots{})"
  12568. msgstr ""
  12569. #. type: table
  12570. #: guix-git/doc/guix.texi:7641
  12571. msgid "Add @var{package}s to the front of the input list."
  12572. msgstr ""
  12573. #. type: deffn
  12574. #: guix-git/doc/guix.texi:7645
  12575. msgid "The example below removes the GMP and ACL inputs of Coreutils and adds libcap to the back of the input list:"
  12576. msgstr ""
  12577. #. type: lisp
  12578. #: guix-git/doc/guix.texi:7650
  12579. #, no-wrap
  12580. msgid ""
  12581. "(modify-inputs (package-inputs coreutils)\n"
  12582. " (delete \"gmp\" \"acl\")\n"
  12583. " (append libcap))\n"
  12584. msgstr ""
  12585. #. type: deffn
  12586. #: guix-git/doc/guix.texi:7654
  12587. msgid "The example below replaces the @code{guile} package from the inputs of @code{guile-redis} with @code{guile-2.2}:"
  12588. msgstr ""
  12589. #. type: lisp
  12590. #: guix-git/doc/guix.texi:7658
  12591. #, no-wrap
  12592. msgid ""
  12593. "(modify-inputs (package-inputs guile-redis)\n"
  12594. " (replace \"guile\" guile-2.2))\n"
  12595. msgstr ""
  12596. #. type: deffn
  12597. #: guix-git/doc/guix.texi:7662
  12598. msgid "The last type of clause is @code{prepend}, to add inputs to the front of the list."
  12599. msgstr ""
  12600. #. type: Plain text
  12601. #: guix-git/doc/guix.texi:7671
  12602. 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:"
  12603. msgstr ""
  12604. #. type: lisp
  12605. #: guix-git/doc/guix.texi:7681
  12606. #, no-wrap
  12607. msgid ""
  12608. "(define (make-lua-socket name lua)\n"
  12609. " ;; Return a luasocket package built with LUA.\n"
  12610. " (package\n"
  12611. " (name name)\n"
  12612. " (version \"3.0\")\n"
  12613. " ;; several fields omitted\n"
  12614. " (inputs (list lua))\n"
  12615. " (synopsis \"Socket library for Lua\")))\n"
  12616. "\n"
  12617. msgstr ""
  12618. #. type: lisp
  12619. #: guix-git/doc/guix.texi:7684
  12620. #, no-wrap
  12621. msgid ""
  12622. "(define-public lua5.1-socket\n"
  12623. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  12624. "\n"
  12625. msgstr ""
  12626. #. type: lisp
  12627. #: guix-git/doc/guix.texi:7687
  12628. #, no-wrap
  12629. msgid ""
  12630. "(define-public lua5.2-socket\n"
  12631. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  12632. msgstr ""
  12633. #. type: Plain text
  12634. #: guix-git/doc/guix.texi:7695
  12635. 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})."
  12636. msgstr ""
  12637. #. type: cindex
  12638. #: guix-git/doc/guix.texi:7696
  12639. #, no-wrap
  12640. msgid "package transformations"
  12641. msgstr ""
  12642. #. type: Plain text
  12643. #: guix-git/doc/guix.texi:7701
  12644. 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}):"
  12645. msgstr ""
  12646. #. type: deffn
  12647. #: guix-git/doc/guix.texi:7702
  12648. #, no-wrap
  12649. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12650. msgstr ""
  12651. #. type: deffn
  12652. #: guix-git/doc/guix.texi:7706
  12653. 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:"
  12654. msgstr ""
  12655. #. type: lisp
  12656. #: guix-git/doc/guix.texi:7710
  12657. #, no-wrap
  12658. msgid ""
  12659. "((with-branch . \"guile-gcrypt=master\")\n"
  12660. " (without-tests . \"libgcrypt\"))\n"
  12661. msgstr ""
  12662. #. type: deffn
  12663. #: guix-git/doc/guix.texi:7714
  12664. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  12665. msgstr ""
  12666. #. type: Plain text
  12667. #: guix-git/doc/guix.texi:7717
  12668. msgid "For instance, a manifest equivalent to this command:"
  12669. msgstr ""
  12670. #. type: example
  12671. #: guix-git/doc/guix.texi:7722
  12672. #, no-wrap
  12673. msgid ""
  12674. "guix build guix \\\n"
  12675. " --with-branch=guile-gcrypt=master \\\n"
  12676. " --with-debug-info=zlib\n"
  12677. msgstr ""
  12678. #. type: Plain text
  12679. #: guix-git/doc/guix.texi:7726
  12680. msgid "... would look like this:"
  12681. msgstr ""
  12682. #. type: lisp
  12683. #: guix-git/doc/guix.texi:7729
  12684. #, no-wrap
  12685. msgid ""
  12686. "(use-modules (guix transformations))\n"
  12687. "\n"
  12688. msgstr ""
  12689. #. type: lisp
  12690. #: guix-git/doc/guix.texi:7735
  12691. #, no-wrap
  12692. msgid ""
  12693. "(define transform\n"
  12694. " ;; The package transformation procedure.\n"
  12695. " (options->transformation\n"
  12696. " '((with-branch . \"guile-gcrypt=master\")\n"
  12697. " (with-debug-info . \"zlib\"))))\n"
  12698. "\n"
  12699. msgstr ""
  12700. #. type: lisp
  12701. #: guix-git/doc/guix.texi:7738
  12702. #, no-wrap
  12703. msgid ""
  12704. "(packages->manifest\n"
  12705. " (list (transform (specification->package \"guix\"))))\n"
  12706. msgstr ""
  12707. #. type: cindex
  12708. #: guix-git/doc/guix.texi:7740
  12709. #, no-wrap
  12710. msgid "input rewriting"
  12711. msgstr ""
  12712. #. type: cindex
  12713. #: guix-git/doc/guix.texi:7741
  12714. #, no-wrap
  12715. msgid "dependency graph rewriting"
  12716. msgstr ""
  12717. #. type: Plain text
  12718. #: guix-git/doc/guix.texi:7748
  12719. 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."
  12720. msgstr ""
  12721. #. type: Plain text
  12722. #: guix-git/doc/guix.texi:7752
  12723. 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."
  12724. msgstr ""
  12725. #. type: deffn
  12726. #: guix-git/doc/guix.texi:7753
  12727. #, no-wrap
  12728. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  12729. msgstr ""
  12730. #. type: deffn
  12731. #: guix-git/doc/guix.texi:7760
  12732. 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."
  12733. msgstr ""
  12734. #. type: deffn
  12735. #: guix-git/doc/guix.texi:7763
  12736. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  12737. msgstr ""
  12738. #. type: table
  12739. #: guix-git/doc/guix.texi:7767 guix-git/doc/guix.texi:11216
  12740. msgid "Consider this example:"
  12741. msgstr ""
  12742. #. type: lisp
  12743. #: guix-git/doc/guix.texi:7773
  12744. #, no-wrap
  12745. msgid ""
  12746. "(define libressl-instead-of-openssl\n"
  12747. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  12748. " ;; recursively.\n"
  12749. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  12750. "\n"
  12751. msgstr ""
  12752. #. type: lisp
  12753. #: guix-git/doc/guix.texi:7776
  12754. #, no-wrap
  12755. msgid ""
  12756. "(define git-with-libressl\n"
  12757. " (libressl-instead-of-openssl git))\n"
  12758. msgstr ""
  12759. #. type: Plain text
  12760. #: guix-git/doc/guix.texi:7784
  12761. 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}})."
  12762. msgstr ""
  12763. #. type: Plain text
  12764. #: guix-git/doc/guix.texi:7787
  12765. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  12766. msgstr ""
  12767. #. type: deffn
  12768. #: guix-git/doc/guix.texi:7788
  12769. #, no-wrap
  12770. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  12771. msgstr ""
  12772. #. type: deffn
  12773. #: guix-git/doc/guix.texi:7795
  12774. 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."
  12775. msgstr ""
  12776. #. type: Plain text
  12777. #: guix-git/doc/guix.texi:7798
  12778. msgid "The example above could be rewritten this way:"
  12779. msgstr ""
  12780. #. type: lisp
  12781. #: guix-git/doc/guix.texi:7803
  12782. #, no-wrap
  12783. msgid ""
  12784. "(define libressl-instead-of-openssl\n"
  12785. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  12786. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  12787. msgstr ""
  12788. #. type: Plain text
  12789. #: guix-git/doc/guix.texi:7808
  12790. 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."
  12791. msgstr ""
  12792. #. type: Plain text
  12793. #: guix-git/doc/guix.texi:7812
  12794. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  12795. msgstr ""
  12796. #. type: deffn
  12797. #: guix-git/doc/guix.texi:7813
  12798. #, no-wrap
  12799. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  12800. msgstr ""
  12801. #. type: deffn
  12802. #: guix-git/doc/guix.texi:7818
  12803. 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."
  12804. msgstr ""
  12805. #. type: cindex
  12806. #: guix-git/doc/guix.texi:7824
  12807. #, no-wrap
  12808. msgid "build system"
  12809. msgstr ""
  12810. #. type: Plain text
  12811. #: guix-git/doc/guix.texi:7829
  12812. 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."
  12813. msgstr ""
  12814. #. type: Plain text
  12815. #: guix-git/doc/guix.texi:7833
  12816. 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."
  12817. msgstr ""
  12818. #. type: cindex
  12819. #: guix-git/doc/guix.texi:7834
  12820. #, no-wrap
  12821. msgid "bag (low-level package representation)"
  12822. msgstr ""
  12823. #. type: Plain text
  12824. #: guix-git/doc/guix.texi:7844
  12825. 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}})."
  12826. msgstr ""
  12827. #. type: Plain text
  12828. #: guix-git/doc/guix.texi:7852
  12829. 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})."
  12830. msgstr ""
  12831. #. type: Plain text
  12832. #: guix-git/doc/guix.texi:7856
  12833. 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."
  12834. msgstr ""
  12835. #. type: defvr
  12836. #: guix-git/doc/guix.texi:7857
  12837. #, no-wrap
  12838. msgid "{Scheme Variable} gnu-build-system"
  12839. msgstr ""
  12840. #. type: defvr
  12841. #: guix-git/doc/guix.texi:7861
  12842. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  12843. msgstr ""
  12844. #. type: cindex
  12845. #: guix-git/doc/guix.texi:7862 guix-git/doc/guix.texi:8812
  12846. #: guix-git/doc/guix.texi:9294
  12847. #, no-wrap
  12848. msgid "build phases"
  12849. msgstr ""
  12850. #. type: defvr
  12851. #: guix-git/doc/guix.texi:7869
  12852. 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."
  12853. msgstr ""
  12854. #. type: defvr
  12855. #: guix-git/doc/guix.texi:7876
  12856. 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."
  12857. msgstr ""
  12858. #. type: defvr
  12859. #: guix-git/doc/guix.texi:7880
  12860. 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:"
  12861. msgstr ""
  12862. #. type: item
  12863. #: guix-git/doc/guix.texi:7882
  12864. #, no-wrap
  12865. msgid "#:phases"
  12866. msgstr ""
  12867. #. type: table
  12868. #: guix-git/doc/guix.texi:7885
  12869. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  12870. msgstr ""
  12871. #. type: item
  12872. #: guix-git/doc/guix.texi:7886
  12873. #, no-wrap
  12874. msgid "#:configure-flags"
  12875. msgstr ""
  12876. #. type: table
  12877. #: guix-git/doc/guix.texi:7889
  12878. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  12879. msgstr ""
  12880. #. type: item
  12881. #: guix-git/doc/guix.texi:7890
  12882. #, no-wrap
  12883. msgid "#:make-flags"
  12884. msgstr ""
  12885. #. type: table
  12886. #: guix-git/doc/guix.texi:7894
  12887. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  12888. msgstr ""
  12889. #. type: item
  12890. #: guix-git/doc/guix.texi:7895
  12891. #, no-wrap
  12892. msgid "#:out-of-source?"
  12893. msgstr ""
  12894. #. type: table
  12895. #: guix-git/doc/guix.texi:7898
  12896. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  12897. msgstr ""
  12898. #. type: table
  12899. #: guix-git/doc/guix.texi:7903
  12900. 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}."
  12901. msgstr ""
  12902. #. type: item
  12903. #: guix-git/doc/guix.texi:7904
  12904. #, no-wrap
  12905. msgid "#:tests?"
  12906. msgstr ""
  12907. #. type: table
  12908. #: guix-git/doc/guix.texi:7907
  12909. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  12910. msgstr ""
  12911. #. type: item
  12912. #: guix-git/doc/guix.texi:7908
  12913. #, no-wrap
  12914. msgid "#:test-target"
  12915. msgstr ""
  12916. #. type: table
  12917. #: guix-git/doc/guix.texi:7911
  12918. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  12919. msgstr ""
  12920. #. type: item
  12921. #: guix-git/doc/guix.texi:7912
  12922. #, no-wrap
  12923. msgid "#:parallel-build?"
  12924. msgstr ""
  12925. #. type: itemx
  12926. #: guix-git/doc/guix.texi:7913
  12927. #, no-wrap
  12928. msgid "#:parallel-tests?"
  12929. msgstr ""
  12930. #. type: table
  12931. #: guix-git/doc/guix.texi:7920
  12932. 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}})."
  12933. msgstr ""
  12934. #. type: cindex
  12935. #: guix-git/doc/guix.texi:7921
  12936. #, no-wrap
  12937. msgid "RUNPATH, validation"
  12938. msgstr ""
  12939. #. type: item
  12940. #: guix-git/doc/guix.texi:7922
  12941. #, no-wrap
  12942. msgid "#:validate-runpath?"
  12943. msgstr ""
  12944. #. type: table
  12945. #: guix-git/doc/guix.texi:7926
  12946. 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."
  12947. msgstr ""
  12948. #. type: table
  12949. #: guix-git/doc/guix.texi:7934
  12950. msgid "This validation step consists in making sure that all the shared libraries needed by an ELF binary, 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}."
  12951. msgstr ""
  12952. #. type: item
  12953. #: guix-git/doc/guix.texi:7935
  12954. #, no-wrap
  12955. msgid "#:substitutable?"
  12956. msgstr ""
  12957. #. type: table
  12958. #: guix-git/doc/guix.texi:7939
  12959. 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})."
  12960. msgstr ""
  12961. #. type: item
  12962. #: guix-git/doc/guix.texi:7940
  12963. #, no-wrap
  12964. msgid "#:allowed-references"
  12965. msgstr ""
  12966. #. type: itemx
  12967. #: guix-git/doc/guix.texi:7941
  12968. #, no-wrap
  12969. msgid "#:disallowed-references"
  12970. msgstr ""
  12971. #. type: table
  12972. #: guix-git/doc/guix.texi:7946
  12973. 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."
  12974. msgstr ""
  12975. #. type: table
  12976. #: guix-git/doc/guix.texi:7951
  12977. 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})."
  12978. msgstr ""
  12979. #. type: defvr
  12980. #: guix-git/doc/guix.texi:7954
  12981. msgid "Most other build systems support these keyword arguments."
  12982. msgstr ""
  12983. #. type: Plain text
  12984. #: guix-git/doc/guix.texi:7961
  12985. 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."
  12986. msgstr ""
  12987. #. type: defvr
  12988. #: guix-git/doc/guix.texi:7962
  12989. #, no-wrap
  12990. msgid "{Scheme Variable} ant-build-system"
  12991. msgstr ""
  12992. #. type: defvr
  12993. #: guix-git/doc/guix.texi:7966
  12994. 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}."
  12995. msgstr ""
  12996. #. type: defvr
  12997. #: guix-git/doc/guix.texi:7971
  12998. 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."
  12999. msgstr ""
  13000. #. type: defvr
  13001. #: guix-git/doc/guix.texi:7977
  13002. 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''."
  13003. msgstr ""
  13004. #. type: defvr
  13005. #: guix-git/doc/guix.texi:7985
  13006. 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."
  13007. msgstr ""
  13008. #. type: defvr
  13009. #: guix-git/doc/guix.texi:7989
  13010. 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."
  13011. msgstr ""
  13012. #. type: defvr
  13013. #: guix-git/doc/guix.texi:7992
  13014. #, no-wrap
  13015. msgid "{Scheme Variable} android-ndk-build-system"
  13016. msgstr ""
  13017. #. type: cindex
  13018. #: guix-git/doc/guix.texi:7993
  13019. #, no-wrap
  13020. msgid "Android distribution"
  13021. msgstr ""
  13022. #. type: cindex
  13023. #: guix-git/doc/guix.texi:7994
  13024. #, no-wrap
  13025. msgid "Android NDK build system"
  13026. msgstr ""
  13027. #. type: defvr
  13028. #: guix-git/doc/guix.texi:7998
  13029. 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."
  13030. msgstr ""
  13031. #. type: defvr
  13032. #: guix-git/doc/guix.texi:8002
  13033. 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."
  13034. msgstr ""
  13035. #. type: defvr
  13036. #: guix-git/doc/guix.texi:8005
  13037. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  13038. msgstr ""
  13039. #. type: defvr
  13040. #: guix-git/doc/guix.texi:8008
  13041. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  13042. msgstr ""
  13043. #. type: defvr
  13044. #: guix-git/doc/guix.texi:8011
  13045. #, no-wrap
  13046. msgid "{Scheme Variable} asdf-build-system/source"
  13047. msgstr ""
  13048. #. type: defvrx
  13049. #: guix-git/doc/guix.texi:8012
  13050. #, no-wrap
  13051. msgid "{Scheme Variable} asdf-build-system/sbcl"
  13052. msgstr ""
  13053. #. type: defvrx
  13054. #: guix-git/doc/guix.texi:8013
  13055. #, no-wrap
  13056. msgid "{Scheme Variable} asdf-build-system/ecl"
  13057. msgstr ""
  13058. #. type: defvr
  13059. #: guix-git/doc/guix.texi:8019
  13060. 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."
  13061. msgstr ""
  13062. #. type: defvr
  13063. #: guix-git/doc/guix.texi:8026
  13064. 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."
  13065. msgstr ""
  13066. #. type: defvr
  13067. #: guix-git/doc/guix.texi:8030
  13068. 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}."
  13069. msgstr ""
  13070. #. type: defvr
  13071. #: guix-git/doc/guix.texi:8034
  13072. 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."
  13073. msgstr ""
  13074. #. type: defvr
  13075. #: guix-git/doc/guix.texi:8042
  13076. 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."
  13077. msgstr ""
  13078. #. type: defvr
  13079. #: guix-git/doc/guix.texi:8051
  13080. 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."
  13081. msgstr ""
  13082. #. type: defvr
  13083. #: guix-git/doc/guix.texi:8056
  13084. 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."
  13085. msgstr ""
  13086. #. type: defvr
  13087. #: guix-git/doc/guix.texi:8059
  13088. #, no-wrap
  13089. msgid "{Scheme Variable} cargo-build-system"
  13090. msgstr ""
  13091. #. type: cindex
  13092. #: guix-git/doc/guix.texi:8060
  13093. #, no-wrap
  13094. msgid "Rust programming language"
  13095. msgstr ""
  13096. #. type: cindex
  13097. #: guix-git/doc/guix.texi:8061
  13098. #, no-wrap
  13099. msgid "Cargo (Rust build system)"
  13100. msgstr ""
  13101. #. type: defvr
  13102. #: guix-git/doc/guix.texi:8065
  13103. 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}."
  13104. msgstr ""
  13105. #. type: defvr
  13106. #: guix-git/doc/guix.texi:8068
  13107. 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."
  13108. msgstr ""
  13109. #. type: defvr
  13110. #: guix-git/doc/guix.texi:8078
  13111. 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."
  13112. msgstr ""
  13113. #. type: defvr
  13114. #: guix-git/doc/guix.texi:8088
  13115. 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."
  13116. msgstr ""
  13117. #. type: defvr
  13118. #: guix-git/doc/guix.texi:8090
  13119. #, no-wrap
  13120. msgid "{Scheme Variable} chicken-build-system"
  13121. msgstr ""
  13122. #. type: defvr
  13123. #: guix-git/doc/guix.texi:8095
  13124. 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."
  13125. msgstr ""
  13126. #. type: defvr
  13127. #: guix-git/doc/guix.texi:8098
  13128. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  13129. msgstr ""
  13130. #. type: defvr
  13131. #: guix-git/doc/guix.texi:8102
  13132. 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."
  13133. msgstr ""
  13134. #. type: defvr
  13135. #: guix-git/doc/guix.texi:8104
  13136. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  13137. msgstr ""
  13138. #. type: lisp
  13139. #: guix-git/doc/guix.texi:8107
  13140. #, no-wrap
  13141. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  13142. msgstr ""
  13143. #. type: defvr
  13144. #: guix-git/doc/guix.texi:8112
  13145. 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."
  13146. msgstr ""
  13147. #. type: defvr
  13148. #: guix-git/doc/guix.texi:8114
  13149. #, no-wrap
  13150. msgid "{Scheme Variable} copy-build-system"
  13151. msgstr ""
  13152. #. type: defvr
  13153. #: guix-git/doc/guix.texi:8118
  13154. 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."
  13155. msgstr ""
  13156. #. type: defvr
  13157. #: guix-git/doc/guix.texi:8123
  13158. 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}."
  13159. msgstr ""
  13160. #. type: defvr
  13161. #: guix-git/doc/guix.texi:8128
  13162. 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."
  13163. msgstr ""
  13164. #. type: item
  13165. #: guix-git/doc/guix.texi:8130
  13166. #, no-wrap
  13167. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  13168. msgstr ""
  13169. #. type: item
  13170. #: guix-git/doc/guix.texi:8132
  13171. #, no-wrap
  13172. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  13173. msgstr ""
  13174. #. type: item
  13175. #: guix-git/doc/guix.texi:8133
  13176. #, no-wrap
  13177. msgid "Otherwise install @var{source} as @var{target}."
  13178. msgstr ""
  13179. #. type: item
  13180. #: guix-git/doc/guix.texi:8136
  13181. #, no-wrap
  13182. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  13183. msgstr ""
  13184. #. type: itemize
  13185. #: guix-git/doc/guix.texi:8139
  13186. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  13187. msgstr ""
  13188. #. type: item
  13189. #: guix-git/doc/guix.texi:8140
  13190. #, no-wrap
  13191. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  13192. msgstr ""
  13193. #. type: item
  13194. #: guix-git/doc/guix.texi:8141
  13195. #, no-wrap
  13196. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  13197. msgstr ""
  13198. #. type: itemize
  13199. #: guix-git/doc/guix.texi:8144
  13200. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  13201. msgstr ""
  13202. #. type: item
  13203. #: guix-git/doc/guix.texi:8145
  13204. #, no-wrap
  13205. msgid "With @code{#:include}, install all the files which the path suffix matches"
  13206. msgstr ""
  13207. #. type: itemize
  13208. #: guix-git/doc/guix.texi:8147
  13209. msgid "at least one of the elements in the given list."
  13210. msgstr ""
  13211. #. type: item
  13212. #: guix-git/doc/guix.texi:8147
  13213. #, no-wrap
  13214. msgid "With @code{#:include-regexp}, install all the files which the"
  13215. msgstr ""
  13216. #. type: itemize
  13217. #: guix-git/doc/guix.texi:8150
  13218. msgid "subpaths match at least one of the regular expressions in the given list."
  13219. msgstr ""
  13220. #. type: item
  13221. #: guix-git/doc/guix.texi:8150
  13222. #, no-wrap
  13223. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  13224. msgstr ""
  13225. #. type: itemize
  13226. #: guix-git/doc/guix.texi:8155
  13227. 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."
  13228. msgstr ""
  13229. #. type: itemize
  13230. #: guix-git/doc/guix.texi:8159
  13231. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  13232. msgstr ""
  13233. #. type: defvr
  13234. #: guix-git/doc/guix.texi:8162
  13235. msgid "Examples:"
  13236. msgstr ""
  13237. #. type: item
  13238. #: guix-git/doc/guix.texi:8164
  13239. #, no-wrap
  13240. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  13241. msgstr ""
  13242. #. type: item
  13243. #: guix-git/doc/guix.texi:8165
  13244. #, no-wrap
  13245. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  13246. msgstr ""
  13247. #. type: item
  13248. #: guix-git/doc/guix.texi:8166
  13249. #, no-wrap
  13250. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  13251. msgstr ""
  13252. #. type: itemize
  13253. #: guix-git/doc/guix.texi:8168
  13254. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  13255. msgstr ""
  13256. #. type: item
  13257. #: guix-git/doc/guix.texi:8168
  13258. #, no-wrap
  13259. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  13260. msgstr ""
  13261. #. type: itemize
  13262. #: guix-git/doc/guix.texi:8170
  13263. msgid "@file{share/my-app/sub/file}."
  13264. msgstr ""
  13265. #. type: item
  13266. #: guix-git/doc/guix.texi:8170
  13267. #, no-wrap
  13268. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  13269. msgstr ""
  13270. #. type: itemize
  13271. #: guix-git/doc/guix.texi:8172
  13272. msgid "@file{share/my-app/file}."
  13273. msgstr ""
  13274. #. type: cindex
  13275. #: guix-git/doc/guix.texi:8176
  13276. #, no-wrap
  13277. msgid "Clojure (programming language)"
  13278. msgstr ""
  13279. #. type: cindex
  13280. #: guix-git/doc/guix.texi:8177
  13281. #, no-wrap
  13282. msgid "simple Clojure build system"
  13283. msgstr ""
  13284. #. type: defvr
  13285. #: guix-git/doc/guix.texi:8178
  13286. #, no-wrap
  13287. msgid "{Scheme Variable} clojure-build-system"
  13288. msgstr ""
  13289. #. type: defvr
  13290. #: guix-git/doc/guix.texi:8183
  13291. 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."
  13292. msgstr ""
  13293. #. type: defvr
  13294. #: guix-git/doc/guix.texi:8187
  13295. 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."
  13296. msgstr ""
  13297. #. type: defvr
  13298. #: guix-git/doc/guix.texi:8193
  13299. 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."
  13300. msgstr ""
  13301. #. type: defvr
  13302. #: guix-git/doc/guix.texi:8196
  13303. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  13304. msgstr ""
  13305. #. type: item
  13306. #: guix-git/doc/guix.texi:8199 guix-git/doc/guix.texi:8773
  13307. #: guix-git/doc/guix.texi:8822 guix-git/doc/guix.texi:8891
  13308. #: guix-git/doc/guix.texi:35042 guix-git/doc/guix.texi:37668
  13309. #, no-wrap
  13310. msgid "build"
  13311. msgstr ""
  13312. #. type: table
  13313. #: guix-git/doc/guix.texi:8208
  13314. 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."
  13315. msgstr ""
  13316. #. type: item
  13317. #: guix-git/doc/guix.texi:8209 guix-git/doc/guix.texi:8777
  13318. #: guix-git/doc/guix.texi:8896
  13319. #, no-wrap
  13320. msgid "check"
  13321. msgstr ""
  13322. #. type: table
  13323. #: guix-git/doc/guix.texi:8216
  13324. 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."
  13325. msgstr ""
  13326. #. type: item
  13327. #: guix-git/doc/guix.texi:8217 guix-git/doc/guix.texi:8783
  13328. #: guix-git/doc/guix.texi:8826 guix-git/doc/guix.texi:8902
  13329. #, no-wrap
  13330. msgid "install"
  13331. msgstr ""
  13332. #. type: table
  13333. #: guix-git/doc/guix.texi:8219
  13334. msgid "This phase installs all jars built previously."
  13335. msgstr ""
  13336. #. type: defvr
  13337. #: guix-git/doc/guix.texi:8222
  13338. msgid "Apart from the above, this build system also contains an additional phase:"
  13339. msgstr ""
  13340. #. type: item
  13341. #: guix-git/doc/guix.texi:8225
  13342. #, no-wrap
  13343. msgid "install-doc"
  13344. msgstr ""
  13345. #. type: table
  13346. #: guix-git/doc/guix.texi:8230
  13347. 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."
  13348. msgstr ""
  13349. #. type: defvr
  13350. #: guix-git/doc/guix.texi:8233
  13351. #, no-wrap
  13352. msgid "{Scheme Variable} cmake-build-system"
  13353. msgstr ""
  13354. #. type: defvr
  13355. #: guix-git/doc/guix.texi:8237
  13356. 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}."
  13357. msgstr ""
  13358. #. type: defvr
  13359. #: guix-git/doc/guix.texi:8241
  13360. 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."
  13361. msgstr ""
  13362. #. type: defvr
  13363. #: guix-git/doc/guix.texi:8248
  13364. 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."
  13365. msgstr ""
  13366. #. type: defvr
  13367. #: guix-git/doc/guix.texi:8250
  13368. #, no-wrap
  13369. msgid "{Scheme Variable} dune-build-system"
  13370. msgstr ""
  13371. #. type: defvr
  13372. #: guix-git/doc/guix.texi:8257
  13373. 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."
  13374. msgstr ""
  13375. #. type: defvr
  13376. #: guix-git/doc/guix.texi:8261
  13377. 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."
  13378. msgstr ""
  13379. #. type: defvr
  13380. #: guix-git/doc/guix.texi:8265
  13381. 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."
  13382. msgstr ""
  13383. #. type: defvr
  13384. #: guix-git/doc/guix.texi:8269
  13385. 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}."
  13386. msgstr ""
  13387. #. type: defvr
  13388. #: guix-git/doc/guix.texi:8274
  13389. 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}."
  13390. msgstr ""
  13391. #. type: defvr
  13392. #: guix-git/doc/guix.texi:8277
  13393. #, no-wrap
  13394. msgid "{Scheme Variable} go-build-system"
  13395. msgstr ""
  13396. #. type: defvr
  13397. #: guix-git/doc/guix.texi:8282
  13398. 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}."
  13399. msgstr ""
  13400. #. type: defvr
  13401. #: guix-git/doc/guix.texi:8293
  13402. 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."
  13403. msgstr ""
  13404. #. type: defvr
  13405. #: guix-git/doc/guix.texi:8298
  13406. 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."
  13407. msgstr ""
  13408. #. type: defvr
  13409. #: guix-git/doc/guix.texi:8305
  13410. msgid "Packages can be cross-built, and if a specific architecture or operating system is desired then the keywords @code{#:goarch} and @code{#:goos} can be used to force the package to be built for that architecture and operating system. The combinations known to Go can be found @url{\"https://golang.org/doc/install/source#environment\", in their documentation}."
  13411. msgstr ""
  13412. #. type: defvr
  13413. #: guix-git/doc/guix.texi:8307
  13414. #, no-wrap
  13415. msgid "{Scheme Variable} glib-or-gtk-build-system"
  13416. msgstr ""
  13417. #. type: defvr
  13418. #: guix-git/doc/guix.texi:8310
  13419. 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+."
  13420. msgstr ""
  13421. #. type: defvr
  13422. #: guix-git/doc/guix.texi:8313
  13423. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  13424. msgstr ""
  13425. #. type: item
  13426. #: guix-git/doc/guix.texi:8315 guix-git/doc/guix.texi:8799
  13427. #, no-wrap
  13428. msgid "glib-or-gtk-wrap"
  13429. msgstr ""
  13430. #. type: table
  13431. #: guix-git/doc/guix.texi:8322
  13432. 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."
  13433. msgstr ""
  13434. #. type: table
  13435. #: guix-git/doc/guix.texi:8329
  13436. 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+."
  13437. msgstr ""
  13438. #. type: item
  13439. #: guix-git/doc/guix.texi:8330 guix-git/doc/guix.texi:8803
  13440. #, no-wrap
  13441. msgid "glib-or-gtk-compile-schemas"
  13442. msgstr ""
  13443. #. type: table
  13444. #: guix-git/doc/guix.texi:8338
  13445. 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."
  13446. msgstr ""
  13447. #. type: defvr
  13448. #: guix-git/doc/guix.texi:8341
  13449. msgid "Both phases are executed after the @code{install} phase."
  13450. msgstr ""
  13451. #. type: defvr
  13452. #: guix-git/doc/guix.texi:8343
  13453. #, no-wrap
  13454. msgid "{Scheme Variable} guile-build-system"
  13455. msgstr ""
  13456. #. type: defvr
  13457. #: guix-git/doc/guix.texi:8350
  13458. 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."
  13459. msgstr ""
  13460. #. type: defvr
  13461. #: guix-git/doc/guix.texi:8353
  13462. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  13463. msgstr ""
  13464. #. type: defvr
  13465. #: guix-git/doc/guix.texi:8356
  13466. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  13467. msgstr ""
  13468. #. type: defvr
  13469. #: guix-git/doc/guix.texi:8358
  13470. #, no-wrap
  13471. msgid "{Scheme Variable} julia-build-system"
  13472. msgstr ""
  13473. #. type: defvr
  13474. #: guix-git/doc/guix.texi:8365
  13475. 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}."
  13476. msgstr ""
  13477. #. type: defvr
  13478. #: guix-git/doc/guix.texi:8369
  13479. 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)."
  13480. msgstr ""
  13481. #. type: defvr
  13482. #: guix-git/doc/guix.texi:8373
  13483. 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}."
  13484. msgstr ""
  13485. #. type: defvr
  13486. #: guix-git/doc/guix.texi:8378
  13487. 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."
  13488. msgstr ""
  13489. #. type: defvr
  13490. #: guix-git/doc/guix.texi:8382
  13491. 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:"
  13492. msgstr ""
  13493. #. type: lisp
  13494. #: guix-git/doc/guix.texi:8394
  13495. #, no-wrap
  13496. msgid ""
  13497. "(add-after 'unpack 'override-binary-path\n"
  13498. " (lambda* (#:key inputs #:allow-other-keys)\n"
  13499. " (for-each (lambda (wrapper)\n"
  13500. " (substitute* wrapper\n"
  13501. " ((\"generate_wrapper_header.*\")\n"
  13502. " (string-append\n"
  13503. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  13504. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  13505. " ;; There's a Julia file for each platform, override them all.\n"
  13506. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  13507. msgstr ""
  13508. #. type: defvr
  13509. #: guix-git/doc/guix.texi:8402
  13510. 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, its 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."
  13511. msgstr ""
  13512. #. type: defvr
  13513. #: guix-git/doc/guix.texi:8404
  13514. #, no-wrap
  13515. msgid "{Scheme Variable} maven-build-system"
  13516. msgstr ""
  13517. #. type: defvr
  13518. #: guix-git/doc/guix.texi:8411
  13519. 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."
  13520. msgstr ""
  13521. #. type: defvr
  13522. #: guix-git/doc/guix.texi:8421
  13523. 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."
  13524. msgstr ""
  13525. #. type: defvr
  13526. #: guix-git/doc/guix.texi:8424
  13527. 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."
  13528. msgstr ""
  13529. #. type: defvr
  13530. #: guix-git/doc/guix.texi:8430
  13531. 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}."
  13532. msgstr ""
  13533. #. type: defvr
  13534. #: guix-git/doc/guix.texi:8436
  13535. 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."
  13536. msgstr ""
  13537. #. type: defvr
  13538. #: guix-git/doc/guix.texi:8439
  13539. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  13540. msgstr ""
  13541. #. type: defvr
  13542. #: guix-git/doc/guix.texi:8444
  13543. 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."
  13544. msgstr ""
  13545. #. type: defvr
  13546. #: guix-git/doc/guix.texi:8446
  13547. #, no-wrap
  13548. msgid "{Scheme Variable} minetest-mod-build-system"
  13549. msgstr ""
  13550. #. type: defvr
  13551. #: guix-git/doc/guix.texi:8452
  13552. msgid "This variable is exported by @code{(guix build-system minetest)}. It implements a build procedure for @uref{https://www.minetest.net, Minetest} mods, which consists of copying Lua code, images and other resources to the location Minetest searches for mods. The build system also minimises PNG images and verifies that Minetest can load the mod without errors."
  13553. msgstr ""
  13554. #. type: defvr
  13555. #: guix-git/doc/guix.texi:8454
  13556. #, no-wrap
  13557. msgid "{Scheme Variable} minify-build-system"
  13558. msgstr ""
  13559. #. type: defvr
  13560. #: guix-git/doc/guix.texi:8457
  13561. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  13562. msgstr ""
  13563. #. type: defvr
  13564. #: guix-git/doc/guix.texi:8463
  13565. 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."
  13566. msgstr ""
  13567. #. type: defvr
  13568. #: guix-git/doc/guix.texi:8467
  13569. 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."
  13570. msgstr ""
  13571. #. type: defvr
  13572. #: guix-git/doc/guix.texi:8469
  13573. #, no-wrap
  13574. msgid "{Scheme Variable} ocaml-build-system"
  13575. msgstr ""
  13576. #. type: defvr
  13577. #: guix-git/doc/guix.texi:8475
  13578. 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."
  13579. msgstr ""
  13580. #. type: defvr
  13581. #: guix-git/doc/guix.texi:8485
  13582. 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."
  13583. msgstr ""
  13584. #. type: defvr
  13585. #: guix-git/doc/guix.texi:8490
  13586. 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."
  13587. msgstr ""
  13588. #. type: defvr
  13589. #: guix-git/doc/guix.texi:8494
  13590. 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."
  13591. msgstr ""
  13592. #. type: defvr
  13593. #: guix-git/doc/guix.texi:8502
  13594. 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."
  13595. msgstr ""
  13596. #. type: defvr
  13597. #: guix-git/doc/guix.texi:8510
  13598. 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."
  13599. msgstr ""
  13600. #. type: defvr
  13601. #: guix-git/doc/guix.texi:8512
  13602. #, no-wrap
  13603. msgid "{Scheme Variable} python-build-system"
  13604. msgstr ""
  13605. #. type: defvr
  13606. #: guix-git/doc/guix.texi:8517
  13607. 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{}}."
  13608. msgstr ""
  13609. #. type: defvr
  13610. #: guix-git/doc/guix.texi:8522
  13611. msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @env{GUIX_PYTHONPATH} environment variable points to all the Python libraries they depend on."
  13612. msgstr ""
  13613. #. type: defvr
  13614. #: guix-git/doc/guix.texi:8528
  13615. 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."
  13616. msgstr ""
  13617. #. type: defvr
  13618. #: guix-git/doc/guix.texi:8533
  13619. 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}."
  13620. msgstr ""
  13621. #. type: defvr
  13622. #: guix-git/doc/guix.texi:8539
  13623. msgid "If a @code{\"python\"} output is available, the package is installed into it instead of the default @code{\"out\"} output. This is useful for packages that include a Python package as only a part of the software, and thus want to combine the phases of @code{python-build-system} with another build system. Python bindings are a common usecase."
  13624. msgstr ""
  13625. #. type: defvr
  13626. #: guix-git/doc/guix.texi:8542
  13627. #, no-wrap
  13628. msgid "{Scheme Variable} perl-build-system"
  13629. msgstr ""
  13630. #. type: defvr
  13631. #: guix-git/doc/guix.texi:8554
  13632. 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."
  13633. msgstr ""
  13634. #. type: defvr
  13635. #: guix-git/doc/guix.texi:8558
  13636. 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."
  13637. msgstr ""
  13638. #. type: defvr
  13639. #: guix-git/doc/guix.texi:8560
  13640. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13641. msgstr ""
  13642. #. type: defvr
  13643. #: guix-git/doc/guix.texi:8562
  13644. #, no-wrap
  13645. msgid "{Scheme Variable} renpy-build-system"
  13646. msgstr ""
  13647. #. type: defvr
  13648. #: guix-git/doc/guix.texi:8566
  13649. 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."
  13650. msgstr ""
  13651. #. type: defvr
  13652. #: guix-git/doc/guix.texi:8569
  13653. 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."
  13654. msgstr ""
  13655. #. type: defvr
  13656. #: guix-git/doc/guix.texi:8573
  13657. 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}."
  13658. msgstr ""
  13659. #. type: defvr
  13660. #: guix-git/doc/guix.texi:8575
  13661. #, no-wrap
  13662. msgid "{Scheme Variable} qt-build-system"
  13663. msgstr ""
  13664. #. type: defvr
  13665. #: guix-git/doc/guix.texi:8578
  13666. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  13667. msgstr ""
  13668. #. type: defvr
  13669. #: guix-git/doc/guix.texi:8581
  13670. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  13671. msgstr ""
  13672. #. type: item
  13673. #: guix-git/doc/guix.texi:8583
  13674. #, no-wrap
  13675. msgid "check-setup"
  13676. msgstr ""
  13677. #. type: table
  13678. #: guix-git/doc/guix.texi:8590
  13679. 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}."
  13680. msgstr ""
  13681. #. type: table
  13682. #: guix-git/doc/guix.texi:8593
  13683. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  13684. msgstr ""
  13685. #. type: item
  13686. #: guix-git/doc/guix.texi:8594
  13687. #, no-wrap
  13688. msgid "qt-wrap"
  13689. msgstr ""
  13690. #. type: table
  13691. #: guix-git/doc/guix.texi:8600
  13692. 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."
  13693. msgstr ""
  13694. #. type: table
  13695. #: guix-git/doc/guix.texi:8606
  13696. 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."
  13697. msgstr ""
  13698. #. type: table
  13699. #: guix-git/doc/guix.texi:8608
  13700. msgid "This phase is added after the @code{install} phase."
  13701. msgstr ""
  13702. #. type: defvr
  13703. #: guix-git/doc/guix.texi:8611
  13704. #, no-wrap
  13705. msgid "{Scheme Variable} r-build-system"
  13706. msgstr ""
  13707. #. type: defvr
  13708. #: guix-git/doc/guix.texi:8619
  13709. 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}."
  13710. msgstr ""
  13711. #. type: defvr
  13712. #: guix-git/doc/guix.texi:8621
  13713. #, no-wrap
  13714. msgid "{Scheme Variable} rakudo-build-system"
  13715. msgstr ""
  13716. #. type: defvr
  13717. #: guix-git/doc/guix.texi:8629
  13718. 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."
  13719. msgstr ""
  13720. #. type: defvr
  13721. #: guix-git/doc/guix.texi:8637
  13722. 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."
  13723. msgstr ""
  13724. #. type: defvr
  13725. #: guix-git/doc/guix.texi:8639
  13726. #, no-wrap
  13727. msgid "{Scheme Variable} texlive-build-system"
  13728. msgstr ""
  13729. #. type: defvr
  13730. #: guix-git/doc/guix.texi:8644
  13731. 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."
  13732. msgstr ""
  13733. #. type: defvr
  13734. #: guix-git/doc/guix.texi:8653
  13735. 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."
  13736. msgstr ""
  13737. #. type: defvr
  13738. #: guix-git/doc/guix.texi:8656
  13739. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  13740. msgstr ""
  13741. #. type: defvr
  13742. #: guix-git/doc/guix.texi:8658
  13743. #, no-wrap
  13744. msgid "{Scheme Variable} ruby-build-system"
  13745. msgstr ""
  13746. #. type: defvr
  13747. #: guix-git/doc/guix.texi:8662
  13748. 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}."
  13749. msgstr ""
  13750. #. type: defvr
  13751. #: guix-git/doc/guix.texi:8670
  13752. 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."
  13753. msgstr ""
  13754. #. type: defvr
  13755. #: guix-git/doc/guix.texi:8674
  13756. 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."
  13757. msgstr ""
  13758. #. type: defvr
  13759. #: guix-git/doc/guix.texi:8676
  13760. #, no-wrap
  13761. msgid "{Scheme Variable} waf-build-system"
  13762. msgstr ""
  13763. #. type: defvr
  13764. #: guix-git/doc/guix.texi:8682
  13765. 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."
  13766. msgstr ""
  13767. #. type: defvr
  13768. #: guix-git/doc/guix.texi:8686
  13769. 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."
  13770. msgstr ""
  13771. #. type: defvr
  13772. #: guix-git/doc/guix.texi:8688
  13773. #, no-wrap
  13774. msgid "{Scheme Variable} scons-build-system"
  13775. msgstr ""
  13776. #. type: defvr
  13777. #: guix-git/doc/guix.texi:8694
  13778. 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."
  13779. msgstr ""
  13780. #. type: defvr
  13781. #: guix-git/doc/guix.texi:8701
  13782. 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."
  13783. msgstr ""
  13784. #. type: defvr
  13785. #: guix-git/doc/guix.texi:8703
  13786. #, no-wrap
  13787. msgid "{Scheme Variable} haskell-build-system"
  13788. msgstr ""
  13789. #. type: defvr
  13790. #: guix-git/doc/guix.texi:8717
  13791. 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."
  13792. msgstr ""
  13793. #. type: defvr
  13794. #: guix-git/doc/guix.texi:8720
  13795. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  13796. msgstr ""
  13797. #. type: defvr
  13798. #: guix-git/doc/guix.texi:8722
  13799. #, no-wrap
  13800. msgid "{Scheme Variable} dub-build-system"
  13801. msgstr ""
  13802. #. type: defvr
  13803. #: guix-git/doc/guix.texi:8727
  13804. 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."
  13805. msgstr ""
  13806. #. type: defvr
  13807. #: guix-git/doc/guix.texi:8730
  13808. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  13809. msgstr ""
  13810. #. type: anchor{#1}
  13811. #: guix-git/doc/guix.texi:8733
  13812. msgid "emacs-build-system"
  13813. msgstr ""
  13814. #. type: defvr
  13815. #: guix-git/doc/guix.texi:8733
  13816. #, no-wrap
  13817. msgid "{Scheme Variable} emacs-build-system"
  13818. msgstr ""
  13819. #. type: defvr
  13820. #: guix-git/doc/guix.texi:8737
  13821. 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})."
  13822. msgstr ""
  13823. #. type: defvr
  13824. #: guix-git/doc/guix.texi:8743
  13825. 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}."
  13826. msgstr ""
  13827. #. type: defvr
  13828. #: guix-git/doc/guix.texi:8745
  13829. #, no-wrap
  13830. msgid "{Scheme Variable} font-build-system"
  13831. msgstr ""
  13832. #. type: defvr
  13833. #: guix-git/doc/guix.texi:8751
  13834. 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."
  13835. msgstr ""
  13836. #. type: defvr
  13837. #: guix-git/doc/guix.texi:8753
  13838. #, no-wrap
  13839. msgid "{Scheme Variable} meson-build-system"
  13840. msgstr ""
  13841. #. type: defvr
  13842. #: guix-git/doc/guix.texi:8757
  13843. 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."
  13844. msgstr ""
  13845. #. type: defvr
  13846. #: guix-git/doc/guix.texi:8761
  13847. 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."
  13848. msgstr ""
  13849. #. type: defvr
  13850. #: guix-git/doc/guix.texi:8764
  13851. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  13852. msgstr ""
  13853. #. type: item
  13854. #: guix-git/doc/guix.texi:8767 guix-git/doc/guix.texi:8818
  13855. #: guix-git/doc/guix.texi:8886
  13856. #, no-wrap
  13857. msgid "configure"
  13858. msgstr ""
  13859. #. type: table
  13860. #: guix-git/doc/guix.texi:8772
  13861. 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}."
  13862. msgstr ""
  13863. #. type: table
  13864. #: guix-git/doc/guix.texi:8776
  13865. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  13866. msgstr ""
  13867. #. type: table
  13868. #: guix-git/doc/guix.texi:8782
  13869. msgid "The phase runs @samp{meson test} with a base set of options that cannot be overridden. This base set of options can be extended via the @code{#:test-options} argument, for example to select or skip a specific test suite."
  13870. msgstr ""
  13871. #. type: table
  13872. #: guix-git/doc/guix.texi:8785
  13873. msgid "The phase runs @code{ninja install} and can not be changed."
  13874. msgstr ""
  13875. #. type: defvr
  13876. #: guix-git/doc/guix.texi:8788
  13877. msgid "Apart from that, the build system also adds the following phases:"
  13878. msgstr ""
  13879. #. type: item
  13880. #: guix-git/doc/guix.texi:8791
  13881. #, no-wrap
  13882. msgid "fix-runpath"
  13883. msgstr ""
  13884. #. type: table
  13885. #: guix-git/doc/guix.texi:8798
  13886. 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}, such as test dependencies, that aren't actually required for the program to run."
  13887. msgstr ""
  13888. #. type: table
  13889. #: guix-git/doc/guix.texi:8802 guix-git/doc/guix.texi:8806
  13890. 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?}."
  13891. msgstr ""
  13892. #. type: defvr
  13893. #: guix-git/doc/guix.texi:8809
  13894. #, no-wrap
  13895. msgid "{Scheme Variable} linux-module-build-system"
  13896. msgstr ""
  13897. #. type: defvr
  13898. #: guix-git/doc/guix.texi:8811
  13899. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  13900. msgstr ""
  13901. #. type: defvr
  13902. #: guix-git/doc/guix.texi:8815
  13903. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  13904. msgstr ""
  13905. #. type: table
  13906. #: guix-git/doc/guix.texi:8821
  13907. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  13908. msgstr ""
  13909. #. type: table
  13910. #: guix-git/doc/guix.texi:8825
  13911. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  13912. msgstr ""
  13913. #. type: table
  13914. #: guix-git/doc/guix.texi:8829
  13915. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  13916. msgstr ""
  13917. #. type: defvr
  13918. #: guix-git/doc/guix.texi:8834
  13919. 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)."
  13920. msgstr ""
  13921. #. type: defvr
  13922. #: guix-git/doc/guix.texi:8836
  13923. #, no-wrap
  13924. msgid "{Scheme Variable} node-build-system"
  13925. msgstr ""
  13926. #. type: defvr
  13927. #: guix-git/doc/guix.texi:8841
  13928. 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."
  13929. msgstr ""
  13930. #. type: defvr
  13931. #: guix-git/doc/guix.texi:8845
  13932. 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}."
  13933. msgstr ""
  13934. #. type: Plain text
  13935. #: guix-git/doc/guix.texi:8851
  13936. 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."
  13937. msgstr ""
  13938. #. type: defvr
  13939. #: guix-git/doc/guix.texi:8852
  13940. #, no-wrap
  13941. msgid "{Scheme Variable} trivial-build-system"
  13942. msgstr ""
  13943. #. type: defvr
  13944. #: guix-git/doc/guix.texi:8854
  13945. msgid "This variable is exported by @code{(guix build-system trivial)}."
  13946. msgstr ""
  13947. #. type: defvr
  13948. #: guix-git/doc/guix.texi:8859
  13949. 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}})."
  13950. msgstr ""
  13951. #. type: cindex
  13952. #: guix-git/doc/guix.texi:8864
  13953. #, no-wrap
  13954. msgid "build phases, for packages"
  13955. msgstr ""
  13956. #. type: Plain text
  13957. #: guix-git/doc/guix.texi:8870
  13958. 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})."
  13959. msgstr ""
  13960. #. type: Plain text
  13961. #: guix-git/doc/guix.texi:8874
  13962. 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:"
  13963. msgstr ""
  13964. #. type: item
  13965. #: guix-git/doc/guix.texi:8876
  13966. #, no-wrap
  13967. msgid "unpack"
  13968. msgstr ""
  13969. #. type: table
  13970. #: guix-git/doc/guix.texi:8880
  13971. 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."
  13972. msgstr ""
  13973. #. type: item
  13974. #: guix-git/doc/guix.texi:8881
  13975. #, no-wrap
  13976. msgid "patch-source-shebangs"
  13977. msgstr ""
  13978. #. type: table
  13979. #: guix-git/doc/guix.texi:8885
  13980. 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}."
  13981. msgstr ""
  13982. #. type: table
  13983. #: guix-git/doc/guix.texi:8890
  13984. 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."
  13985. msgstr ""
  13986. #. type: table
  13987. #: guix-git/doc/guix.texi:8895
  13988. 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}."
  13989. msgstr ""
  13990. #. type: table
  13991. #: guix-git/doc/guix.texi:8901
  13992. 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}."
  13993. msgstr ""
  13994. #. type: table
  13995. #: guix-git/doc/guix.texi:8904
  13996. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  13997. msgstr ""
  13998. #. type: item
  13999. #: guix-git/doc/guix.texi:8905
  14000. #, no-wrap
  14001. msgid "patch-shebangs"
  14002. msgstr ""
  14003. #. type: table
  14004. #: guix-git/doc/guix.texi:8907
  14005. msgid "Patch shebangs on the installed executable files."
  14006. msgstr ""
  14007. #. type: item
  14008. #: guix-git/doc/guix.texi:8908
  14009. #, no-wrap
  14010. msgid "strip"
  14011. msgstr ""
  14012. #. type: table
  14013. #: guix-git/doc/guix.texi:8912
  14014. 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})."
  14015. msgstr ""
  14016. #. type: Plain text
  14017. #: guix-git/doc/guix.texi:8921
  14018. 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})."
  14019. msgstr ""
  14020. #. type: Plain text
  14021. #: guix-git/doc/guix.texi:8928
  14022. 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."
  14023. msgstr ""
  14024. #. type: vindex
  14025. #: guix-git/doc/guix.texi:8929
  14026. #, no-wrap
  14027. msgid "%standard-phases"
  14028. msgstr ""
  14029. #. type: Plain text
  14030. #: guix-git/doc/guix.texi:8935
  14031. 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!}:"
  14032. msgstr ""
  14033. #. type: lisp
  14034. #: guix-git/doc/guix.texi:8938
  14035. #, no-wrap
  14036. msgid ""
  14037. ";; The build phases of 'gnu-build-system'.\n"
  14038. "\n"
  14039. msgstr ""
  14040. #. type: lisp
  14041. #: guix-git/doc/guix.texi:8942
  14042. #, no-wrap
  14043. msgid ""
  14044. "(define* (unpack #:key source #:allow-other-keys)\n"
  14045. " ;; Extract the source tarball.\n"
  14046. " (invoke \"tar\" \"xvf\" source))\n"
  14047. "\n"
  14048. msgstr ""
  14049. #. type: lisp
  14050. #: guix-git/doc/guix.texi:8948
  14051. #, no-wrap
  14052. msgid ""
  14053. "(define* (configure #:key outputs #:allow-other-keys)\n"
  14054. " ;; Run the 'configure' script. Install to output \"out\".\n"
  14055. " (let ((out (assoc-ref outputs \"out\")))\n"
  14056. " (invoke \"./configure\"\n"
  14057. " (string-append \"--prefix=\" out))))\n"
  14058. "\n"
  14059. msgstr ""
  14060. #. type: lisp
  14061. #: guix-git/doc/guix.texi:8952
  14062. #, no-wrap
  14063. msgid ""
  14064. "(define* (build #:allow-other-keys)\n"
  14065. " ;; Compile.\n"
  14066. " (invoke \"make\"))\n"
  14067. "\n"
  14068. msgstr ""
  14069. #. type: lisp
  14070. #: guix-git/doc/guix.texi:8959
  14071. #, no-wrap
  14072. msgid ""
  14073. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  14074. " #:allow-other-keys)\n"
  14075. " ;; Run the test suite.\n"
  14076. " (if tests?\n"
  14077. " (invoke \"make\" test-target)\n"
  14078. " (display \"test suite not run\\n\")))\n"
  14079. "\n"
  14080. msgstr ""
  14081. #. type: lisp
  14082. #: guix-git/doc/guix.texi:8963
  14083. #, no-wrap
  14084. msgid ""
  14085. "(define* (install #:allow-other-keys)\n"
  14086. " ;; Install files to the prefix 'configure' specified.\n"
  14087. " (invoke \"make\" \"install\"))\n"
  14088. "\n"
  14089. msgstr ""
  14090. #. type: lisp
  14091. #: guix-git/doc/guix.texi:8972
  14092. #, no-wrap
  14093. msgid ""
  14094. "(define %standard-phases\n"
  14095. " ;; The list of standard phases (quite a few are omitted\n"
  14096. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  14097. " (list (cons 'unpack unpack)\n"
  14098. " (cons 'configure configure)\n"
  14099. " (cons 'build build)\n"
  14100. " (cons 'check check)\n"
  14101. " (cons 'install install)))\n"
  14102. msgstr ""
  14103. #. type: Plain text
  14104. #: guix-git/doc/guix.texi:8982
  14105. 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."
  14106. msgstr ""
  14107. #. type: Plain text
  14108. #: guix-git/doc/guix.texi:8988
  14109. 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})."
  14110. msgstr ""
  14111. #. type: Plain text
  14112. #: guix-git/doc/guix.texi:9004
  14113. 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."
  14114. msgstr ""
  14115. #. type: cindex
  14116. #: guix-git/doc/guix.texi:9005
  14117. #, no-wrap
  14118. msgid "build phases, customizing"
  14119. msgstr ""
  14120. #. type: Plain text
  14121. #: guix-git/doc/guix.texi:9014
  14122. 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}})."
  14123. msgstr ""
  14124. #. type: Plain text
  14125. #: guix-git/doc/guix.texi:9019
  14126. 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}:"
  14127. msgstr ""
  14128. #. type: lisp
  14129. #: guix-git/doc/guix.texi:9039
  14130. #, no-wrap
  14131. msgid ""
  14132. "(define-public example\n"
  14133. " (package\n"
  14134. " (name \"example\")\n"
  14135. " ;; other fields omitted\n"
  14136. " (build-system gnu-build-system)\n"
  14137. " (arguments\n"
  14138. " '(#:phases (modify-phases %standard-phases\n"
  14139. " (delete 'configure)\n"
  14140. " (add-before 'build 'set-prefix-in-makefile\n"
  14141. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14142. " ;; Modify the makefile so that its\n"
  14143. " ;; 'PREFIX' variable points to \"out\".\n"
  14144. " (let ((out (assoc-ref outputs \"out\")))\n"
  14145. " (substitute* \"Makefile\"\n"
  14146. " ((\"PREFIX =.*\")\n"
  14147. " (string-append \"PREFIX = \"\n"
  14148. " out \"\\n\")))\n"
  14149. " #true))))))))\n"
  14150. msgstr ""
  14151. #. type: Plain text
  14152. #: guix-git/doc/guix.texi:9045
  14153. 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}."
  14154. msgstr ""
  14155. #. type: cindex
  14156. #: guix-git/doc/guix.texi:9046 guix-git/doc/guix.texi:10046
  14157. #, no-wrap
  14158. msgid "code staging"
  14159. msgstr ""
  14160. #. type: cindex
  14161. #: guix-git/doc/guix.texi:9047 guix-git/doc/guix.texi:10047
  14162. #, no-wrap
  14163. msgid "staging, of code"
  14164. msgstr ""
  14165. #. type: Plain text
  14166. #: guix-git/doc/guix.texi:9054
  14167. 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."
  14168. msgstr ""
  14169. #. type: Plain text
  14170. #: guix-git/doc/guix.texi:9064
  14171. 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."
  14172. msgstr ""
  14173. #. type: Plain text
  14174. #: guix-git/doc/guix.texi:9068
  14175. 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."
  14176. msgstr ""
  14177. #. type: Plain text
  14178. #: guix-git/doc/guix.texi:9073
  14179. 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}):"
  14180. msgstr ""
  14181. #. type: lisp
  14182. #: guix-git/doc/guix.texi:9080
  14183. #, no-wrap
  14184. msgid ""
  14185. "(with-imported-modules '((guix build utils)) ;import it\n"
  14186. " (computed-file \"empty-tree\"\n"
  14187. " #~(begin\n"
  14188. " ;; Put it in scope.\n"
  14189. " (use-modules (guix build utils))\n"
  14190. "\n"
  14191. msgstr ""
  14192. #. type: lisp
  14193. #: guix-git/doc/guix.texi:9083
  14194. #, no-wrap
  14195. msgid ""
  14196. " ;; Happily use its 'mkdir-p' procedure.\n"
  14197. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  14198. msgstr ""
  14199. #. type: Plain text
  14200. #: guix-git/doc/guix.texi:9087
  14201. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  14202. msgstr ""
  14203. #. type: subsection
  14204. #: guix-git/doc/guix.texi:9090
  14205. #, no-wrap
  14206. msgid "Dealing with Store File Names"
  14207. msgstr ""
  14208. #. type: Plain text
  14209. #: guix-git/doc/guix.texi:9093
  14210. msgid "This section documents procedures that deal with store file names."
  14211. msgstr ""
  14212. #. type: deffn
  14213. #: guix-git/doc/guix.texi:9094
  14214. #, no-wrap
  14215. msgid "{Scheme Procedure} %store-directory"
  14216. msgstr ""
  14217. #. type: deffn
  14218. #: guix-git/doc/guix.texi:9096
  14219. msgid "Return the directory name of the store."
  14220. msgstr ""
  14221. #. type: deffn
  14222. #: guix-git/doc/guix.texi:9098
  14223. #, no-wrap
  14224. msgid "{Scheme Procedure} store-file-name? @var{file}"
  14225. msgstr ""
  14226. #. type: deffn
  14227. #: guix-git/doc/guix.texi:9100
  14228. msgid "Return true if @var{file} is in the store."
  14229. msgstr ""
  14230. #. type: deffn
  14231. #: guix-git/doc/guix.texi:9102
  14232. #, no-wrap
  14233. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  14234. msgstr ""
  14235. #. type: deffn
  14236. #: guix-git/doc/guix.texi:9105
  14237. 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."
  14238. msgstr ""
  14239. #. type: deffn
  14240. #: guix-git/doc/guix.texi:9107
  14241. #, no-wrap
  14242. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  14243. msgstr ""
  14244. #. type: deffn
  14245. #: guix-git/doc/guix.texi:9112
  14246. 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."
  14247. msgstr ""
  14248. #. type: subsection
  14249. #: guix-git/doc/guix.texi:9114
  14250. #, no-wrap
  14251. msgid "File Types"
  14252. msgstr ""
  14253. #. type: Plain text
  14254. #: guix-git/doc/guix.texi:9117
  14255. msgid "The procedures below deal with files and file types."
  14256. msgstr ""
  14257. #. type: deffn
  14258. #: guix-git/doc/guix.texi:9118
  14259. #, no-wrap
  14260. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  14261. msgstr ""
  14262. #. type: deffn
  14263. #: guix-git/doc/guix.texi:9120
  14264. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  14265. msgstr ""
  14266. #. type: deffn
  14267. #: guix-git/doc/guix.texi:9122
  14268. #, no-wrap
  14269. msgid "{Scheme Procedure} executable-file? @var{file}"
  14270. msgstr ""
  14271. #. type: deffn
  14272. #: guix-git/doc/guix.texi:9124
  14273. msgid "Return @code{#t} if @var{file} exists and is executable."
  14274. msgstr ""
  14275. #. type: deffn
  14276. #: guix-git/doc/guix.texi:9126
  14277. #, no-wrap
  14278. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  14279. msgstr ""
  14280. #. type: deffn
  14281. #: guix-git/doc/guix.texi:9128
  14282. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  14283. msgstr ""
  14284. #. type: deffn
  14285. #: guix-git/doc/guix.texi:9130
  14286. #, no-wrap
  14287. msgid "{Scheme Procedure} elf-file? @var{file}"
  14288. msgstr ""
  14289. #. type: deffnx
  14290. #: guix-git/doc/guix.texi:9131
  14291. #, no-wrap
  14292. msgid "{Scheme Procedure} ar-file? @var{file}"
  14293. msgstr ""
  14294. #. type: deffnx
  14295. #: guix-git/doc/guix.texi:9132
  14296. #, no-wrap
  14297. msgid "{Scheme Procedure} gzip-file? @var{file}"
  14298. msgstr ""
  14299. #. type: deffn
  14300. #: guix-git/doc/guix.texi:9135
  14301. 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."
  14302. msgstr ""
  14303. #. type: deffn
  14304. #: guix-git/doc/guix.texi:9137
  14305. #, no-wrap
  14306. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  14307. msgstr ""
  14308. #. type: deffn
  14309. #: guix-git/doc/guix.texi:9141
  14310. 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."
  14311. msgstr ""
  14312. #. type: subsection
  14313. #: guix-git/doc/guix.texi:9143
  14314. #, no-wrap
  14315. msgid "File Manipulation"
  14316. msgstr ""
  14317. #. type: Plain text
  14318. #: guix-git/doc/guix.texi:9150
  14319. 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})."
  14320. msgstr ""
  14321. #. type: deffn
  14322. #: guix-git/doc/guix.texi:9151
  14323. #, no-wrap
  14324. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  14325. msgstr ""
  14326. #. type: deffn
  14327. #: guix-git/doc/guix.texi:9153
  14328. msgid "Run @var{body} with @var{directory} as the process's current directory."
  14329. msgstr ""
  14330. #. type: deffn
  14331. #: guix-git/doc/guix.texi:9160
  14332. 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."
  14333. msgstr ""
  14334. #. type: deffn
  14335. #: guix-git/doc/guix.texi:9162
  14336. #, no-wrap
  14337. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  14338. msgstr ""
  14339. #. type: deffn
  14340. #: guix-git/doc/guix.texi:9164
  14341. msgid "Create directory @var{dir} and all its ancestors."
  14342. msgstr ""
  14343. #. type: deffn
  14344. #: guix-git/doc/guix.texi:9166
  14345. #, no-wrap
  14346. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  14347. msgstr ""
  14348. #. type: deffn
  14349. #: guix-git/doc/guix.texi:9169
  14350. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  14351. msgstr ""
  14352. #. type: deffn
  14353. #: guix-git/doc/guix.texi:9171
  14354. #, no-wrap
  14355. msgid "{Scheme Procedure} make-file-writable @var{file}"
  14356. msgstr ""
  14357. #. type: deffn
  14358. #: guix-git/doc/guix.texi:9173
  14359. msgid "Make @var{file} writable for its owner."
  14360. msgstr ""
  14361. #. type: deffn
  14362. #: guix-git/doc/guix.texi:9175
  14363. #, no-wrap
  14364. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  14365. msgstr ""
  14366. #. type: deffn
  14367. #: guix-git/doc/guix.texi:9184
  14368. msgid "[#:log (current-output-port)] [#:follow-symlinks? #f] @ [#:copy-file copy-file] [#:keep-mtime? #f] [#:keep-permissions? #t] Copy @var{source} directory to @var{destination}. Follow symlinks if @var{follow-symlinks?} is true; otherwise, just preserve them. Call @var{copy-file} to copy regular files. When @var{keep-mtime?} is true, keep the modification time of the files in @var{source} on those of @var{destination}. When @var{keep-permissions?} is true, preserve file permissions. Write verbose output to the @var{log} port."
  14369. msgstr ""
  14370. #. type: deffn
  14371. #: guix-git/doc/guix.texi:9186
  14372. #, no-wrap
  14373. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  14374. msgstr ""
  14375. #. type: deffn
  14376. #: guix-git/doc/guix.texi:9191
  14377. 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."
  14378. msgstr ""
  14379. #. type: deffn
  14380. #: guix-git/doc/guix.texi:9193
  14381. #, no-wrap
  14382. msgid "{Scheme Syntax} substitute* @var{file} @"
  14383. msgstr ""
  14384. #. type: deffn
  14385. #: guix-git/doc/guix.texi:9198
  14386. 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:"
  14387. msgstr ""
  14388. #. type: lisp
  14389. #: guix-git/doc/guix.texi:9205
  14390. #, no-wrap
  14391. msgid ""
  14392. "(substitute* file\n"
  14393. " ((\"hello\")\n"
  14394. " \"good morning\\n\")\n"
  14395. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  14396. " (string-append \"baz\" letters end)))\n"
  14397. msgstr ""
  14398. #. type: deffn
  14399. #: guix-git/doc/guix.texi:9211
  14400. 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."
  14401. msgstr ""
  14402. #. type: deffn
  14403. #: guix-git/doc/guix.texi:9214
  14404. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  14405. msgstr ""
  14406. #. type: deffn
  14407. #: guix-git/doc/guix.texi:9217
  14408. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  14409. msgstr ""
  14410. #. type: deffn
  14411. #: guix-git/doc/guix.texi:9220
  14412. 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."
  14413. msgstr ""
  14414. #. type: subsection
  14415. #: guix-git/doc/guix.texi:9222
  14416. #, no-wrap
  14417. msgid "File Search"
  14418. msgstr ""
  14419. #. type: cindex
  14420. #: guix-git/doc/guix.texi:9224
  14421. #, no-wrap
  14422. msgid "file, searching"
  14423. msgstr ""
  14424. #. type: Plain text
  14425. #: guix-git/doc/guix.texi:9226
  14426. msgid "This section documents procedures to search and filter files."
  14427. msgstr ""
  14428. #. type: deffn
  14429. #: guix-git/doc/guix.texi:9227
  14430. #, no-wrap
  14431. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  14432. msgstr ""
  14433. #. type: deffn
  14434. #: guix-git/doc/guix.texi:9230
  14435. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  14436. msgstr ""
  14437. #. type: deffn
  14438. #: guix-git/doc/guix.texi:9232
  14439. #, no-wrap
  14440. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  14441. msgstr ""
  14442. #. type: deffn
  14443. #: guix-git/doc/guix.texi:9243
  14444. 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."
  14445. msgstr ""
  14446. #. type: Plain text
  14447. #: guix-git/doc/guix.texi:9247
  14448. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  14449. msgstr ""
  14450. #. type: lisp
  14451. #: guix-git/doc/guix.texi:9252
  14452. #, no-wrap
  14453. msgid ""
  14454. ";; List all the regular files in the current directory.\n"
  14455. "(find-files \".\")\n"
  14456. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  14457. "\n"
  14458. msgstr ""
  14459. #. type: lisp
  14460. #: guix-git/doc/guix.texi:9256
  14461. #, no-wrap
  14462. msgid ""
  14463. ";; List all the .scm files under gnu/services.\n"
  14464. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  14465. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  14466. "\n"
  14467. msgstr ""
  14468. #. type: lisp
  14469. #: guix-git/doc/guix.texi:9260
  14470. #, no-wrap
  14471. msgid ""
  14472. ";; List ar files in the current directory.\n"
  14473. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  14474. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  14475. msgstr ""
  14476. #. type: deffn
  14477. #: guix-git/doc/guix.texi:9262
  14478. #, no-wrap
  14479. msgid "{Scheme Procedure} which @var{program}"
  14480. msgstr ""
  14481. #. type: deffn
  14482. #: guix-git/doc/guix.texi:9265
  14483. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  14484. msgstr ""
  14485. #. type: deffn
  14486. #: guix-git/doc/guix.texi:9267
  14487. #, no-wrap
  14488. msgid "{Scheme Procedure} search-input-file @var{inputs} @var{name}"
  14489. msgstr ""
  14490. #. type: deffnx
  14491. #: guix-git/doc/guix.texi:9268
  14492. #, no-wrap
  14493. msgid "{Scheme Procedure} search-input-directory @var{inputs} @var{name}"
  14494. msgstr ""
  14495. #. type: deffn
  14496. #: guix-git/doc/guix.texi:9273
  14497. msgid "Return the complete file name for @var{name} as found in @var{inputs}; @code{search-input-file} searches for a regular file and @code{search-input-directory} searches for a directory. If @var{name} could not be found, an exception is raised."
  14498. msgstr ""
  14499. #. type: deffn
  14500. #: guix-git/doc/guix.texi:9277
  14501. msgid "Here, @var{inputs} must be an association list like @code{inputs} and @code{native-inputs} as available to build phases (@pxref{Build Phases})."
  14502. msgstr ""
  14503. #. type: Plain text
  14504. #: guix-git/doc/guix.texi:9281
  14505. msgid "Here is a (simplified) example of how @code{search-input-file} is used in a build phase of the @code{wireguard-tools} package:"
  14506. msgstr ""
  14507. #. type: lisp
  14508. #: guix-git/doc/guix.texi:9290
  14509. #, no-wrap
  14510. msgid ""
  14511. "(add-after 'install 'wrap-wg-quick\n"
  14512. " (lambda* (#:key inputs outputs #:allow-other-keys)\n"
  14513. " (let ((coreutils (string-append (assoc-ref inputs \"coreutils\")\n"
  14514. " \"/bin\")))\n"
  14515. " (wrap-program (search-input-file outputs \"bin/wg-quick\")\n"
  14516. " #:sh (search-input-file inputs \"bin/bash\")\n"
  14517. " `(\"PATH\" \":\" prefix ,(list coreutils))))))\n"
  14518. msgstr ""
  14519. #. type: Plain text
  14520. #: guix-git/doc/guix.texi:9301
  14521. 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})."
  14522. msgstr ""
  14523. #. type: Plain text
  14524. #: guix-git/doc/guix.texi:9305
  14525. 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."
  14526. msgstr ""
  14527. #. type: cindex
  14528. #: guix-git/doc/guix.texi:9306
  14529. #, no-wrap
  14530. msgid "build phases, modifying"
  14531. msgstr ""
  14532. #. type: deffn
  14533. #: guix-git/doc/guix.texi:9307
  14534. #, no-wrap
  14535. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  14536. msgstr ""
  14537. #. type: deffn
  14538. #: guix-git/doc/guix.texi:9310
  14539. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  14540. msgstr ""
  14541. #. type: lisp
  14542. #: guix-git/doc/guix.texi:9316
  14543. #, no-wrap
  14544. msgid ""
  14545. "(delete @var{old-phase-name})\n"
  14546. "(replace @var{old-phase-name} @var{new-phase})\n"
  14547. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14548. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14549. msgstr ""
  14550. #. type: deffn
  14551. #: guix-git/doc/guix.texi:9320
  14552. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  14553. msgstr ""
  14554. #. type: Plain text
  14555. #: guix-git/doc/guix.texi:9331
  14556. 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:"
  14557. msgstr ""
  14558. #. type: lisp
  14559. #: guix-git/doc/guix.texi:9345
  14560. #, no-wrap
  14561. msgid ""
  14562. "(modify-phases %standard-phases\n"
  14563. " (add-after 'install 'fix-egrep-and-fgrep\n"
  14564. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  14565. " ;; absolute file name instead of searching for it in $PATH.\n"
  14566. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14567. " (let* ((out (assoc-ref outputs \"out\"))\n"
  14568. " (bin (string-append out \"/bin\")))\n"
  14569. " (substitute* (list (string-append bin \"/egrep\")\n"
  14570. " (string-append bin \"/fgrep\"))\n"
  14571. " ((\"^exec grep\")\n"
  14572. " (string-append \"exec \" bin \"/grep\")))\n"
  14573. " #t))))\n"
  14574. msgstr ""
  14575. #. type: Plain text
  14576. #: guix-git/doc/guix.texi:9352
  14577. 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:"
  14578. msgstr ""
  14579. #. type: lisp
  14580. #: guix-git/doc/guix.texi:9365
  14581. #, no-wrap
  14582. msgid ""
  14583. "(modify-phases %standard-phases\n"
  14584. " (delete 'configure) ;no 'configure' script\n"
  14585. " (replace 'install\n"
  14586. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14587. " ;; The package's Makefile doesn't provide an \"install\"\n"
  14588. " ;; rule so do it by ourselves.\n"
  14589. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  14590. " \"/bin\")))\n"
  14591. " (install-file \"footswitch\" bin)\n"
  14592. " (install-file \"scythe\" bin)\n"
  14593. " #t))))\n"
  14594. msgstr ""
  14595. #. type: cindex
  14596. #: guix-git/doc/guix.texi:9373
  14597. #, no-wrap
  14598. msgid "store items"
  14599. msgstr ""
  14600. #. type: cindex
  14601. #: guix-git/doc/guix.texi:9374
  14602. #, no-wrap
  14603. msgid "store paths"
  14604. msgstr ""
  14605. #. type: Plain text
  14606. #: guix-git/doc/guix.texi:9385
  14607. 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}."
  14608. msgstr ""
  14609. #. type: Plain text
  14610. #: guix-git/doc/guix.texi:9390
  14611. 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."
  14612. msgstr ""
  14613. #. type: quotation
  14614. #: guix-git/doc/guix.texi:9395
  14615. 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})."
  14616. msgstr ""
  14617. #. type: quotation
  14618. #: guix-git/doc/guix.texi:9399
  14619. 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."
  14620. msgstr ""
  14621. #. type: Plain text
  14622. #: guix-git/doc/guix.texi:9406
  14623. 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."
  14624. msgstr ""
  14625. #. type: defvr
  14626. #: guix-git/doc/guix.texi:9407
  14627. #, no-wrap
  14628. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  14629. msgstr ""
  14630. #. type: defvr
  14631. #: guix-git/doc/guix.texi:9412
  14632. 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:"
  14633. msgstr ""
  14634. #. type: code{#1}
  14635. #: guix-git/doc/guix.texi:9414 guix-git/doc/guix.texi:26183
  14636. #, no-wrap
  14637. msgid "file"
  14638. msgstr ""
  14639. #. type: itemx
  14640. #: guix-git/doc/guix.texi:9415
  14641. #, no-wrap
  14642. msgid "unix"
  14643. msgstr ""
  14644. #. type: table
  14645. #: guix-git/doc/guix.texi:9419
  14646. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  14647. msgstr ""
  14648. #. type: table
  14649. #: guix-git/doc/guix.texi:9428
  14650. 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):"
  14651. msgstr ""
  14652. #. type: example
  14653. #: guix-git/doc/guix.texi:9431
  14654. #, no-wrap
  14655. msgid "guix://master.guix.example.org:1234\n"
  14656. msgstr ""
  14657. #. type: table
  14658. #: guix-git/doc/guix.texi:9436
  14659. 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}."
  14660. msgstr ""
  14661. #. type: table
  14662. #: guix-git/doc/guix.texi:9440
  14663. 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}})."
  14664. msgstr ""
  14665. #. type: item
  14666. #: guix-git/doc/guix.texi:9441
  14667. #, no-wrap
  14668. msgid "ssh"
  14669. msgstr ""
  14670. #. type: cindex
  14671. #: guix-git/doc/guix.texi:9442
  14672. #, no-wrap
  14673. msgid "SSH access to build daemons"
  14674. msgstr ""
  14675. #. type: table
  14676. #: guix-git/doc/guix.texi:9448
  14677. 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:"
  14678. msgstr ""
  14679. #. type: example
  14680. #: guix-git/doc/guix.texi:9451
  14681. #, no-wrap
  14682. msgid "ssh://charlie@@guix.example.org:22\n"
  14683. msgstr ""
  14684. #. type: table
  14685. #: guix-git/doc/guix.texi:9455
  14686. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  14687. msgstr ""
  14688. #. type: defvr
  14689. #: guix-git/doc/guix.texi:9458
  14690. msgid "Additional URI schemes may be supported in the future."
  14691. msgstr ""
  14692. #. type: quotation
  14693. #: guix-git/doc/guix.texi:9465
  14694. 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})."
  14695. msgstr ""
  14696. #. type: deffn
  14697. #: guix-git/doc/guix.texi:9468
  14698. #, no-wrap
  14699. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  14700. msgstr ""
  14701. #. type: deffn
  14702. #: guix-git/doc/guix.texi:9473
  14703. 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."
  14704. msgstr ""
  14705. #. type: deffn
  14706. #: guix-git/doc/guix.texi:9476
  14707. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  14708. msgstr ""
  14709. #. type: deffn
  14710. #: guix-git/doc/guix.texi:9478
  14711. #, no-wrap
  14712. msgid "{Scheme Procedure} close-connection @var{server}"
  14713. msgstr ""
  14714. #. type: deffn
  14715. #: guix-git/doc/guix.texi:9480
  14716. msgid "Close the connection to @var{server}."
  14717. msgstr ""
  14718. #. type: defvr
  14719. #: guix-git/doc/guix.texi:9482
  14720. #, no-wrap
  14721. msgid "{Scheme Variable} current-build-output-port"
  14722. msgstr ""
  14723. #. type: defvr
  14724. #: guix-git/doc/guix.texi:9485
  14725. 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."
  14726. msgstr ""
  14727. #. type: Plain text
  14728. #: guix-git/doc/guix.texi:9489
  14729. msgid "Procedures that make RPCs all take a server object as their first argument."
  14730. msgstr ""
  14731. #. type: deffn
  14732. #: guix-git/doc/guix.texi:9490
  14733. #, no-wrap
  14734. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  14735. msgstr ""
  14736. #. type: cindex
  14737. #: guix-git/doc/guix.texi:9491
  14738. #, no-wrap
  14739. msgid "invalid store items"
  14740. msgstr ""
  14741. #. type: deffn
  14742. #: guix-git/doc/guix.texi:9496
  14743. 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)."
  14744. msgstr ""
  14745. #. type: deffn
  14746. #: guix-git/doc/guix.texi:9499
  14747. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  14748. msgstr ""
  14749. #. type: deffn
  14750. #: guix-git/doc/guix.texi:9501
  14751. #, no-wrap
  14752. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  14753. msgstr ""
  14754. #. type: deffn
  14755. #: guix-git/doc/guix.texi:9505
  14756. 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."
  14757. msgstr ""
  14758. #. type: deffn
  14759. #: guix-git/doc/guix.texi:9507
  14760. #, no-wrap
  14761. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  14762. msgstr ""
  14763. #. type: deffn
  14764. #: guix-git/doc/guix.texi:9512
  14765. 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."
  14766. msgstr ""
  14767. #. type: Plain text
  14768. #: guix-git/doc/guix.texi:9518
  14769. 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})."
  14770. msgstr ""
  14771. #. type: i{#1}
  14772. #: guix-git/doc/guix.texi:9521
  14773. msgid "This section is currently incomplete."
  14774. msgstr ""
  14775. #. type: cindex
  14776. #: guix-git/doc/guix.texi:9525
  14777. #, no-wrap
  14778. msgid "derivations"
  14779. msgstr ""
  14780. #. type: Plain text
  14781. #: guix-git/doc/guix.texi:9529
  14782. 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:"
  14783. msgstr ""
  14784. #. type: itemize
  14785. #: guix-git/doc/guix.texi:9534
  14786. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  14787. msgstr ""
  14788. #. type: cindex
  14789. #: guix-git/doc/guix.texi:9536
  14790. #, no-wrap
  14791. msgid "build-time dependencies"
  14792. msgstr ""
  14793. #. type: cindex
  14794. #: guix-git/doc/guix.texi:9537
  14795. #, no-wrap
  14796. msgid "dependencies, build-time"
  14797. msgstr ""
  14798. #. type: itemize
  14799. #: guix-git/doc/guix.texi:9541
  14800. 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.)."
  14801. msgstr ""
  14802. #. type: itemize
  14803. #: guix-git/doc/guix.texi:9544
  14804. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  14805. msgstr ""
  14806. #. type: itemize
  14807. #: guix-git/doc/guix.texi:9548
  14808. msgid "The file name of a build script in the store, along with the arguments to be passed."
  14809. msgstr ""
  14810. #. type: itemize
  14811. #: guix-git/doc/guix.texi:9551
  14812. msgid "A list of environment variables to be defined."
  14813. msgstr ""
  14814. #. type: cindex
  14815. #: guix-git/doc/guix.texi:9554
  14816. #, no-wrap
  14817. msgid "derivation path"
  14818. msgstr ""
  14819. #. type: Plain text
  14820. #: guix-git/doc/guix.texi:9562
  14821. 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})."
  14822. msgstr ""
  14823. #. type: cindex
  14824. #: guix-git/doc/guix.texi:9563
  14825. #, no-wrap
  14826. msgid "fixed-output derivations"
  14827. msgstr ""
  14828. #. type: Plain text
  14829. #: guix-git/doc/guix.texi:9570
  14830. 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."
  14831. msgstr ""
  14832. #. type: item
  14833. #: guix-git/doc/guix.texi:9571 guix-git/doc/guix.texi:13341
  14834. #, no-wrap
  14835. msgid "references"
  14836. msgstr ""
  14837. #. type: cindex
  14838. #: guix-git/doc/guix.texi:9572
  14839. #, no-wrap
  14840. msgid "run-time dependencies"
  14841. msgstr ""
  14842. #. type: cindex
  14843. #: guix-git/doc/guix.texi:9573
  14844. #, no-wrap
  14845. msgid "dependencies, run-time"
  14846. msgstr ""
  14847. #. type: Plain text
  14848. #: guix-git/doc/guix.texi:9580
  14849. 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."
  14850. msgstr ""
  14851. #. type: Plain text
  14852. #: guix-git/doc/guix.texi:9585
  14853. 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:"
  14854. msgstr ""
  14855. #. type: deffn
  14856. #: guix-git/doc/guix.texi:9586
  14857. #, no-wrap
  14858. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  14859. msgstr ""
  14860. #. type: deffn
  14861. #: guix-git/doc/guix.texi:9595
  14862. 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."
  14863. msgstr ""
  14864. #. type: deffn
  14865. #: guix-git/doc/guix.texi:9602
  14866. 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."
  14867. msgstr ""
  14868. #. type: deffn
  14869. #: guix-git/doc/guix.texi:9607
  14870. 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."
  14871. msgstr ""
  14872. #. type: deffn
  14873. #: guix-git/doc/guix.texi:9612
  14874. 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."
  14875. msgstr ""
  14876. #. type: deffn
  14877. #: guix-git/doc/guix.texi:9619
  14878. 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."
  14879. msgstr ""
  14880. #. type: deffn
  14881. #: guix-git/doc/guix.texi:9624
  14882. 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."
  14883. msgstr ""
  14884. #. type: deffn
  14885. #: guix-git/doc/guix.texi:9629
  14886. 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."
  14887. msgstr ""
  14888. #. type: deffn
  14889. #: guix-git/doc/guix.texi:9632
  14890. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  14891. msgstr ""
  14892. #. type: Plain text
  14893. #: guix-git/doc/guix.texi:9638
  14894. 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:"
  14895. msgstr ""
  14896. #. type: lisp
  14897. #: guix-git/doc/guix.texi:9643
  14898. #, no-wrap
  14899. msgid ""
  14900. "(use-modules (guix utils)\n"
  14901. " (guix store)\n"
  14902. " (guix derivations))\n"
  14903. "\n"
  14904. msgstr ""
  14905. #. type: lisp
  14906. #: guix-git/doc/guix.texi:9652
  14907. #, no-wrap
  14908. msgid ""
  14909. "(let ((builder ; add the Bash script to the store\n"
  14910. " (add-text-to-store store \"my-builder.sh\"\n"
  14911. " \"echo hello world > $out\\n\" '())))\n"
  14912. " (derivation store \"foo\"\n"
  14913. " bash `(\"-e\" ,builder)\n"
  14914. " #:inputs `((,bash) (,builder))\n"
  14915. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  14916. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  14917. msgstr ""
  14918. #. type: Plain text
  14919. #: guix-git/doc/guix.texi:9659
  14920. 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}."
  14921. msgstr ""
  14922. #. type: Plain text
  14923. #: guix-git/doc/guix.texi:9664
  14924. 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}."
  14925. msgstr ""
  14926. #. type: deffn
  14927. #: guix-git/doc/guix.texi:9665
  14928. #, no-wrap
  14929. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  14930. msgstr ""
  14931. #. type: deffn
  14932. #: guix-git/doc/guix.texi:9681
  14933. 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))}."
  14934. msgstr ""
  14935. #. type: deffn
  14936. #: guix-git/doc/guix.texi:9689
  14937. 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."
  14938. msgstr ""
  14939. #. type: deffn
  14940. #: guix-git/doc/guix.texi:9693
  14941. 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."
  14942. msgstr ""
  14943. #. type: deffn
  14944. #: guix-git/doc/guix.texi:9698
  14945. 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?}."
  14946. msgstr ""
  14947. #. type: Plain text
  14948. #: guix-git/doc/guix.texi:9703
  14949. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  14950. msgstr ""
  14951. #. type: lisp
  14952. #: guix-git/doc/guix.texi:9711
  14953. #, no-wrap
  14954. msgid ""
  14955. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  14956. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  14957. " (call-with-output-file (string-append out \"/test\")\n"
  14958. " (lambda (p)\n"
  14959. " (display '(hello guix) p))))))\n"
  14960. " (build-expression->derivation store \"goo\" builder))\n"
  14961. "\n"
  14962. msgstr ""
  14963. #. type: lisp
  14964. #: guix-git/doc/guix.texi:9713
  14965. #, no-wrap
  14966. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  14967. msgstr ""
  14968. #. type: cindex
  14969. #: guix-git/doc/guix.texi:9719
  14970. #, no-wrap
  14971. msgid "monad"
  14972. msgstr ""
  14973. #. type: Plain text
  14974. #: guix-git/doc/guix.texi:9725
  14975. 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."
  14976. msgstr ""
  14977. #. type: Plain text
  14978. #: guix-git/doc/guix.texi:9731
  14979. 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."
  14980. msgstr ""
  14981. #. type: cindex
  14982. #: guix-git/doc/guix.texi:9732
  14983. #, no-wrap
  14984. msgid "monadic values"
  14985. msgstr ""
  14986. #. type: cindex
  14987. #: guix-git/doc/guix.texi:9733
  14988. #, no-wrap
  14989. msgid "monadic functions"
  14990. msgstr ""
  14991. #. type: Plain text
  14992. #: guix-git/doc/guix.texi:9743
  14993. 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}."
  14994. msgstr ""
  14995. #. type: Plain text
  14996. #: guix-git/doc/guix.texi:9745
  14997. msgid "Consider this ``normal'' procedure:"
  14998. msgstr ""
  14999. #. type: lisp
  15000. #: guix-git/doc/guix.texi:9754
  15001. #, no-wrap
  15002. msgid ""
  15003. "(define (sh-symlink store)\n"
  15004. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  15005. " (let* ((drv (package-derivation store bash))\n"
  15006. " (out (derivation->output-path drv))\n"
  15007. " (sh (string-append out \"/bin/bash\")))\n"
  15008. " (build-expression->derivation store \"sh\"\n"
  15009. " `(symlink ,sh %output))))\n"
  15010. msgstr ""
  15011. #. type: Plain text
  15012. #: guix-git/doc/guix.texi:9758
  15013. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  15014. msgstr ""
  15015. #. type: lisp
  15016. #: guix-git/doc/guix.texi:9766
  15017. #, no-wrap
  15018. msgid ""
  15019. "(define (sh-symlink)\n"
  15020. " ;; Same, but return a monadic value.\n"
  15021. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  15022. " (gexp->derivation \"sh\"\n"
  15023. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  15024. " #$output))))\n"
  15025. msgstr ""
  15026. #. type: Plain text
  15027. #: guix-git/doc/guix.texi:9773
  15028. 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}."
  15029. msgstr ""
  15030. #. type: Plain text
  15031. #: guix-git/doc/guix.texi:9777
  15032. 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}):"
  15033. msgstr ""
  15034. #. type: lisp
  15035. #: guix-git/doc/guix.texi:9783
  15036. #, no-wrap
  15037. msgid ""
  15038. "(define (sh-symlink)\n"
  15039. " (gexp->derivation \"sh\"\n"
  15040. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  15041. " #$output)))\n"
  15042. msgstr ""
  15043. #. type: Plain text
  15044. #: guix-git/doc/guix.texi:9792
  15045. 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}:"
  15046. msgstr ""
  15047. #. type: lisp
  15048. #: guix-git/doc/guix.texi:9796
  15049. #, no-wrap
  15050. msgid ""
  15051. "(run-with-store (open-connection) (sh-symlink))\n"
  15052. "@result{} /gnu/store/...-sh-symlink\n"
  15053. msgstr ""
  15054. #. type: Plain text
  15055. #: guix-git/doc/guix.texi:9802
  15056. 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:"
  15057. msgstr ""
  15058. #. type: example
  15059. #: guix-git/doc/guix.texi:9806
  15060. #, no-wrap
  15061. msgid ""
  15062. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  15063. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15064. msgstr ""
  15065. #. type: Plain text
  15066. #: guix-git/doc/guix.texi:9810
  15067. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  15068. msgstr ""
  15069. #. type: example
  15070. #: guix-git/doc/guix.texi:9819
  15071. #, no-wrap
  15072. msgid ""
  15073. "scheme@@(guile-user)> ,enter-store-monad\n"
  15074. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  15075. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15076. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  15077. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  15078. "store-monad@@(guile-user) [1]> ,q\n"
  15079. "scheme@@(guile-user)>\n"
  15080. msgstr ""
  15081. #. type: Plain text
  15082. #: guix-git/doc/guix.texi:9824
  15083. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  15084. msgstr ""
  15085. #. type: Plain text
  15086. #: guix-git/doc/guix.texi:9827
  15087. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  15088. msgstr ""
  15089. #. type: deffn
  15090. #: guix-git/doc/guix.texi:9828
  15091. #, no-wrap
  15092. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  15093. msgstr ""
  15094. #. type: deffn
  15095. #: guix-git/doc/guix.texi:9831
  15096. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  15097. msgstr ""
  15098. #. type: deffn
  15099. #: guix-git/doc/guix.texi:9833
  15100. #, no-wrap
  15101. msgid "{Scheme Syntax} return @var{val}"
  15102. msgstr ""
  15103. #. type: deffn
  15104. #: guix-git/doc/guix.texi:9835
  15105. msgid "Return a monadic value that encapsulates @var{val}."
  15106. msgstr ""
  15107. #. type: deffn
  15108. #: guix-git/doc/guix.texi:9837
  15109. #, no-wrap
  15110. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  15111. msgstr ""
  15112. #. type: deffn
  15113. #: guix-git/doc/guix.texi:9844
  15114. 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:"
  15115. msgstr ""
  15116. #. type: lisp
  15117. #: guix-git/doc/guix.texi:9852
  15118. #, no-wrap
  15119. msgid ""
  15120. "(run-with-state\n"
  15121. " (with-monad %state-monad\n"
  15122. " (>>= (return 1)\n"
  15123. " (lambda (x) (return (+ 1 x)))\n"
  15124. " (lambda (x) (return (* 2 x)))))\n"
  15125. " 'some-state)\n"
  15126. "\n"
  15127. msgstr ""
  15128. #. type: lisp
  15129. #: guix-git/doc/guix.texi:9855
  15130. #, no-wrap
  15131. msgid ""
  15132. "@result{} 4\n"
  15133. "@result{} some-state\n"
  15134. msgstr ""
  15135. #. type: deffn
  15136. #: guix-git/doc/guix.texi:9858
  15137. #, no-wrap
  15138. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  15139. msgstr ""
  15140. #. type: deffn
  15141. #: guix-git/doc/guix.texi:9860
  15142. msgid "@var{body} ..."
  15143. msgstr ""
  15144. #. type: deffnx
  15145. #: guix-git/doc/guix.texi:9860
  15146. #, no-wrap
  15147. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  15148. msgstr ""
  15149. #. type: deffn
  15150. #: guix-git/doc/guix.texi:9872
  15151. 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}."
  15152. msgstr ""
  15153. #. type: deffn
  15154. #: guix-git/doc/guix.texi:9875
  15155. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  15156. msgstr ""
  15157. #. type: deffn
  15158. #: guix-git/doc/guix.texi:9877
  15159. #, no-wrap
  15160. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  15161. msgstr ""
  15162. #. type: deffn
  15163. #: guix-git/doc/guix.texi:9881
  15164. 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."
  15165. msgstr ""
  15166. #. type: deffn
  15167. #: guix-git/doc/guix.texi:9885
  15168. 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."
  15169. msgstr ""
  15170. #. type: deffn
  15171. #: guix-git/doc/guix.texi:9887
  15172. #, no-wrap
  15173. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  15174. msgstr ""
  15175. #. type: deffn
  15176. #: guix-git/doc/guix.texi:9892
  15177. 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."
  15178. msgstr ""
  15179. #. type: deffn
  15180. #: guix-git/doc/guix.texi:9894
  15181. #, no-wrap
  15182. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  15183. msgstr ""
  15184. #. type: deffn
  15185. #: guix-git/doc/guix.texi:9899
  15186. 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."
  15187. msgstr ""
  15188. #. type: cindex
  15189. #: guix-git/doc/guix.texi:9901
  15190. #, no-wrap
  15191. msgid "state monad"
  15192. msgstr ""
  15193. #. type: Plain text
  15194. #: guix-git/doc/guix.texi:9905
  15195. 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."
  15196. msgstr ""
  15197. #. type: defvr
  15198. #: guix-git/doc/guix.texi:9906
  15199. #, no-wrap
  15200. msgid "{Scheme Variable} %state-monad"
  15201. msgstr ""
  15202. #. type: defvr
  15203. #: guix-git/doc/guix.texi:9909
  15204. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  15205. msgstr ""
  15206. #. type: defvr
  15207. #: guix-git/doc/guix.texi:9913
  15208. 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:"
  15209. msgstr ""
  15210. #. type: lisp
  15211. #: guix-git/doc/guix.texi:9920
  15212. #, no-wrap
  15213. msgid ""
  15214. "(define (square x)\n"
  15215. " (mlet %state-monad ((count (current-state)))\n"
  15216. " (mbegin %state-monad\n"
  15217. " (set-current-state (+ 1 count))\n"
  15218. " (return (* x x)))))\n"
  15219. "\n"
  15220. msgstr ""
  15221. #. type: lisp
  15222. #: guix-git/doc/guix.texi:9924
  15223. #, no-wrap
  15224. msgid ""
  15225. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  15226. "@result{} (0 1 4)\n"
  15227. "@result{} 3\n"
  15228. msgstr ""
  15229. #. type: defvr
  15230. #: guix-git/doc/guix.texi:9928
  15231. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  15232. msgstr ""
  15233. #. type: deffn
  15234. #: guix-git/doc/guix.texi:9930
  15235. #, no-wrap
  15236. msgid "{Monadic Procedure} current-state"
  15237. msgstr ""
  15238. #. type: deffn
  15239. #: guix-git/doc/guix.texi:9932
  15240. msgid "Return the current state as a monadic value."
  15241. msgstr ""
  15242. #. type: deffn
  15243. #: guix-git/doc/guix.texi:9934
  15244. #, no-wrap
  15245. msgid "{Monadic Procedure} set-current-state @var{value}"
  15246. msgstr ""
  15247. #. type: deffn
  15248. #: guix-git/doc/guix.texi:9937
  15249. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  15250. msgstr ""
  15251. #. type: deffn
  15252. #: guix-git/doc/guix.texi:9939
  15253. #, no-wrap
  15254. msgid "{Monadic Procedure} state-push @var{value}"
  15255. msgstr ""
  15256. #. type: deffn
  15257. #: guix-git/doc/guix.texi:9942
  15258. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  15259. msgstr ""
  15260. #. type: deffn
  15261. #: guix-git/doc/guix.texi:9944
  15262. #, no-wrap
  15263. msgid "{Monadic Procedure} state-pop"
  15264. msgstr ""
  15265. #. type: deffn
  15266. #: guix-git/doc/guix.texi:9947
  15267. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  15268. msgstr ""
  15269. #. type: deffn
  15270. #: guix-git/doc/guix.texi:9949
  15271. #, no-wrap
  15272. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  15273. msgstr ""
  15274. #. type: deffn
  15275. #: guix-git/doc/guix.texi:9952
  15276. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  15277. msgstr ""
  15278. #. type: Plain text
  15279. #: guix-git/doc/guix.texi:9956
  15280. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  15281. msgstr ""
  15282. #. type: defvr
  15283. #: guix-git/doc/guix.texi:9957
  15284. #, no-wrap
  15285. msgid "{Scheme Variable} %store-monad"
  15286. msgstr ""
  15287. #. type: defvr
  15288. #: guix-git/doc/guix.texi:9959
  15289. msgid "The store monad---an alias for @code{%state-monad}."
  15290. msgstr ""
  15291. #. type: defvr
  15292. #: guix-git/doc/guix.texi:9963
  15293. 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)."
  15294. msgstr ""
  15295. #. type: deffn
  15296. #: guix-git/doc/guix.texi:9965
  15297. #, no-wrap
  15298. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  15299. msgstr ""
  15300. #. type: deffn
  15301. #: guix-git/doc/guix.texi:9968
  15302. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  15303. msgstr ""
  15304. #. type: deffn
  15305. #: guix-git/doc/guix.texi:9970
  15306. #, no-wrap
  15307. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  15308. msgstr ""
  15309. #. type: deffn
  15310. #: guix-git/doc/guix.texi:9974
  15311. 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."
  15312. msgstr ""
  15313. #. type: deffn
  15314. #: guix-git/doc/guix.texi:9976
  15315. #, no-wrap
  15316. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  15317. msgstr ""
  15318. #. type: deffn
  15319. #: guix-git/doc/guix.texi:9980
  15320. 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."
  15321. msgstr ""
  15322. #. type: deffn
  15323. #: guix-git/doc/guix.texi:9982
  15324. #, no-wrap
  15325. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  15326. msgstr ""
  15327. #. type: deffn
  15328. #: guix-git/doc/guix.texi:9987
  15329. 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."
  15330. msgstr ""
  15331. #. type: deffn
  15332. #: guix-git/doc/guix.texi:9991 guix-git/doc/guix.texi:10414
  15333. 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."
  15334. msgstr ""
  15335. #. type: deffn
  15336. #: guix-git/doc/guix.texi:9996 guix-git/doc/guix.texi:10419
  15337. 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."
  15338. msgstr ""
  15339. #. type: deffn
  15340. #: guix-git/doc/guix.texi:9998
  15341. msgid "The example below adds a file to the store, under two different names:"
  15342. msgstr ""
  15343. #. type: lisp
  15344. #: guix-git/doc/guix.texi:10004
  15345. #, no-wrap
  15346. msgid ""
  15347. "(run-with-store (open-connection)\n"
  15348. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  15349. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  15350. " (return (list a b))))\n"
  15351. "\n"
  15352. msgstr ""
  15353. #. type: lisp
  15354. #: guix-git/doc/guix.texi:10006
  15355. #, no-wrap
  15356. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  15357. msgstr ""
  15358. #. type: Plain text
  15359. #: guix-git/doc/guix.texi:10012
  15360. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  15361. msgstr ""
  15362. #. type: deffn
  15363. #: guix-git/doc/guix.texi:10013
  15364. #, no-wrap
  15365. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  15366. msgstr ""
  15367. #. type: deffn
  15368. #: guix-git/doc/guix.texi:10021
  15369. 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."
  15370. msgstr ""
  15371. #. type: deffn
  15372. #: guix-git/doc/guix.texi:10025
  15373. 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."
  15374. msgstr ""
  15375. #. type: deffn
  15376. #: guix-git/doc/guix.texi:10027
  15377. #, no-wrap
  15378. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  15379. msgstr ""
  15380. #. type: deffnx
  15381. #: guix-git/doc/guix.texi:10028
  15382. #, no-wrap
  15383. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  15384. msgstr ""
  15385. #. type: deffn
  15386. #: guix-git/doc/guix.texi:10032
  15387. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  15388. msgstr ""
  15389. #. type: cindex
  15390. #: guix-git/doc/guix.texi:10038
  15391. #, no-wrap
  15392. msgid "G-expression"
  15393. msgstr ""
  15394. #. type: cindex
  15395. #: guix-git/doc/guix.texi:10039
  15396. #, no-wrap
  15397. msgid "build code quoting"
  15398. msgstr ""
  15399. #. type: Plain text
  15400. #: guix-git/doc/guix.texi:10045
  15401. 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})."
  15402. msgstr ""
  15403. #. type: cindex
  15404. #: guix-git/doc/guix.texi:10048
  15405. #, no-wrap
  15406. msgid "strata of code"
  15407. msgstr ""
  15408. #. type: Plain text
  15409. #: guix-git/doc/guix.texi:10060
  15410. 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})."
  15411. msgstr ""
  15412. #. type: Plain text
  15413. #: guix-git/doc/guix.texi:10067
  15414. 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."
  15415. msgstr ""
  15416. #. type: Plain text
  15417. #: guix-git/doc/guix.texi:10076
  15418. 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:"
  15419. msgstr ""
  15420. #. type: itemize
  15421. #: guix-git/doc/guix.texi:10081
  15422. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  15423. msgstr ""
  15424. #. type: itemize
  15425. #: guix-git/doc/guix.texi:10086
  15426. 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."
  15427. msgstr ""
  15428. #. type: itemize
  15429. #: guix-git/doc/guix.texi:10091
  15430. 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."
  15431. msgstr ""
  15432. #. type: cindex
  15433. #: guix-git/doc/guix.texi:10093 guix-git/doc/guix.texi:10650
  15434. #, no-wrap
  15435. msgid "lowering, of high-level objects in gexps"
  15436. msgstr ""
  15437. #. type: Plain text
  15438. #: guix-git/doc/guix.texi:10103
  15439. 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)."
  15440. msgstr ""
  15441. #. type: Plain text
  15442. #: guix-git/doc/guix.texi:10105
  15443. msgid "To illustrate the idea, here is an example of a gexp:"
  15444. msgstr ""
  15445. #. type: lisp
  15446. #: guix-git/doc/guix.texi:10113
  15447. #, no-wrap
  15448. msgid ""
  15449. "(define build-exp\n"
  15450. " #~(begin\n"
  15451. " (mkdir #$output)\n"
  15452. " (chdir #$output)\n"
  15453. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  15454. " \"list-files\")))\n"
  15455. msgstr ""
  15456. #. type: Plain text
  15457. #: guix-git/doc/guix.texi:10118
  15458. 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}:"
  15459. msgstr ""
  15460. #. type: lisp
  15461. #: guix-git/doc/guix.texi:10121
  15462. #, no-wrap
  15463. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  15464. msgstr ""
  15465. #. type: Plain text
  15466. #: guix-git/doc/guix.texi:10129
  15467. 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."
  15468. msgstr ""
  15469. #. type: cindex
  15470. #: guix-git/doc/guix.texi:10130
  15471. #, no-wrap
  15472. msgid "cross compilation"
  15473. msgstr ""
  15474. #. type: Plain text
  15475. #: guix-git/doc/guix.texi:10136
  15476. 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:"
  15477. msgstr ""
  15478. #. type: lisp
  15479. #: guix-git/doc/guix.texi:10147
  15480. #, no-wrap
  15481. msgid ""
  15482. "(gexp->derivation \"vi\"\n"
  15483. " #~(begin\n"
  15484. " (mkdir #$output)\n"
  15485. " (mkdir (string-append #$output \"/bin\"))\n"
  15486. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  15487. " \"-s\"\n"
  15488. " (string-append #$emacs \"/bin/emacs\")\n"
  15489. " (string-append #$output \"/bin/vi\")))\n"
  15490. " #:target \"aarch64-linux-gnu\")\n"
  15491. msgstr ""
  15492. #. type: Plain text
  15493. #: guix-git/doc/guix.texi:10153
  15494. 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."
  15495. msgstr ""
  15496. #. type: cindex
  15497. #: guix-git/doc/guix.texi:10154
  15498. #, no-wrap
  15499. msgid "imported modules, for gexps"
  15500. msgstr ""
  15501. #. type: findex
  15502. #: guix-git/doc/guix.texi:10155
  15503. #, no-wrap
  15504. msgid "with-imported-modules"
  15505. msgstr ""
  15506. #. type: Plain text
  15507. #: guix-git/doc/guix.texi:10160
  15508. 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:"
  15509. msgstr ""
  15510. #. type: lisp
  15511. #: guix-git/doc/guix.texi:10171
  15512. #, no-wrap
  15513. msgid ""
  15514. "(let ((build (with-imported-modules '((guix build utils))\n"
  15515. " #~(begin\n"
  15516. " (use-modules (guix build utils))\n"
  15517. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  15518. " (gexp->derivation \"empty-dir\"\n"
  15519. " #~(begin\n"
  15520. " #$build\n"
  15521. " (display \"success!\\n\")\n"
  15522. " #t)))\n"
  15523. msgstr ""
  15524. #. type: Plain text
  15525. #: guix-git/doc/guix.texi:10177
  15526. 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."
  15527. msgstr ""
  15528. #. type: cindex
  15529. #: guix-git/doc/guix.texi:10178
  15530. #, no-wrap
  15531. msgid "module closure"
  15532. msgstr ""
  15533. #. type: findex
  15534. #: guix-git/doc/guix.texi:10179
  15535. #, no-wrap
  15536. msgid "source-module-closure"
  15537. msgstr ""
  15538. #. type: Plain text
  15539. #: guix-git/doc/guix.texi:10186
  15540. 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:"
  15541. msgstr ""
  15542. #. type: lisp
  15543. #: guix-git/doc/guix.texi:10189
  15544. #, no-wrap
  15545. msgid ""
  15546. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  15547. "\n"
  15548. msgstr ""
  15549. #. type: lisp
  15550. #: guix-git/doc/guix.texi:10198
  15551. #, no-wrap
  15552. msgid ""
  15553. "(with-imported-modules (source-module-closure\n"
  15554. " '((guix build utils)\n"
  15555. " (gnu build image)))\n"
  15556. " (gexp->derivation \"something-with-vms\"\n"
  15557. " #~(begin\n"
  15558. " (use-modules (guix build utils)\n"
  15559. " (gnu build image))\n"
  15560. " @dots{})))\n"
  15561. msgstr ""
  15562. #. type: cindex
  15563. #: guix-git/doc/guix.texi:10200
  15564. #, no-wrap
  15565. msgid "extensions, for gexps"
  15566. msgstr ""
  15567. #. type: findex
  15568. #: guix-git/doc/guix.texi:10201
  15569. #, no-wrap
  15570. msgid "with-extensions"
  15571. msgstr ""
  15572. #. type: Plain text
  15573. #: guix-git/doc/guix.texi:10206
  15574. 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:"
  15575. msgstr ""
  15576. #. type: lisp
  15577. #: guix-git/doc/guix.texi:10209
  15578. #, no-wrap
  15579. msgid ""
  15580. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  15581. "\n"
  15582. msgstr ""
  15583. #. type: lisp
  15584. #: guix-git/doc/guix.texi:10215
  15585. #, no-wrap
  15586. msgid ""
  15587. "(with-extensions (list guile-json)\n"
  15588. " (gexp->derivation \"something-with-json\"\n"
  15589. " #~(begin\n"
  15590. " (use-modules (json))\n"
  15591. " @dots{})))\n"
  15592. msgstr ""
  15593. #. type: Plain text
  15594. #: guix-git/doc/guix.texi:10218
  15595. msgid "The syntactic form to construct gexps is summarized below."
  15596. msgstr ""
  15597. #. type: deffn
  15598. #: guix-git/doc/guix.texi:10219
  15599. #, no-wrap
  15600. msgid "{Scheme Syntax} #~@var{exp}"
  15601. msgstr ""
  15602. #. type: deffnx
  15603. #: guix-git/doc/guix.texi:10220
  15604. #, no-wrap
  15605. msgid "{Scheme Syntax} (gexp @var{exp})"
  15606. msgstr ""
  15607. #. type: deffn
  15608. #: guix-git/doc/guix.texi:10223
  15609. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  15610. msgstr ""
  15611. #. type: item
  15612. #: guix-git/doc/guix.texi:10225
  15613. #, no-wrap
  15614. msgid "#$@var{obj}"
  15615. msgstr ""
  15616. #. type: itemx
  15617. #: guix-git/doc/guix.texi:10226
  15618. #, no-wrap
  15619. msgid "(ungexp @var{obj})"
  15620. msgstr ""
  15621. #. type: table
  15622. #: guix-git/doc/guix.texi:10231
  15623. 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}."
  15624. msgstr ""
  15625. #. type: table
  15626. #: guix-git/doc/guix.texi:10234
  15627. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  15628. msgstr ""
  15629. #. type: table
  15630. #: guix-git/doc/guix.texi:10237
  15631. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  15632. msgstr ""
  15633. #. type: table
  15634. #: guix-git/doc/guix.texi:10239
  15635. msgid "If @var{obj} is another kind of object, it is inserted as is."
  15636. msgstr ""
  15637. #. type: item
  15638. #: guix-git/doc/guix.texi:10240
  15639. #, no-wrap
  15640. msgid "#$@var{obj}:@var{output}"
  15641. msgstr ""
  15642. #. type: itemx
  15643. #: guix-git/doc/guix.texi:10241
  15644. #, no-wrap
  15645. msgid "(ungexp @var{obj} @var{output})"
  15646. msgstr ""
  15647. #. type: table
  15648. #: guix-git/doc/guix.texi:10245
  15649. 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})."
  15650. msgstr ""
  15651. #. type: item
  15652. #: guix-git/doc/guix.texi:10246
  15653. #, no-wrap
  15654. msgid "#+@var{obj}"
  15655. msgstr ""
  15656. #. type: itemx
  15657. #: guix-git/doc/guix.texi:10247
  15658. #, no-wrap
  15659. msgid "#+@var{obj}:output"
  15660. msgstr ""
  15661. #. type: itemx
  15662. #: guix-git/doc/guix.texi:10248
  15663. #, no-wrap
  15664. msgid "(ungexp-native @var{obj})"
  15665. msgstr ""
  15666. #. type: itemx
  15667. #: guix-git/doc/guix.texi:10249
  15668. #, no-wrap
  15669. msgid "(ungexp-native @var{obj} @var{output})"
  15670. msgstr ""
  15671. #. type: table
  15672. #: guix-git/doc/guix.texi:10252
  15673. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  15674. msgstr ""
  15675. #. type: item
  15676. #: guix-git/doc/guix.texi:10253
  15677. #, no-wrap
  15678. msgid "#$output[:@var{output}]"
  15679. msgstr ""
  15680. #. type: itemx
  15681. #: guix-git/doc/guix.texi:10254
  15682. #, no-wrap
  15683. msgid "(ungexp output [@var{output}])"
  15684. msgstr ""
  15685. #. type: table
  15686. #: guix-git/doc/guix.texi:10257
  15687. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  15688. msgstr ""
  15689. #. type: table
  15690. #: guix-git/doc/guix.texi:10259
  15691. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  15692. msgstr ""
  15693. #. type: item
  15694. #: guix-git/doc/guix.texi:10260
  15695. #, no-wrap
  15696. msgid "#$@@@var{lst}"
  15697. msgstr ""
  15698. #. type: itemx
  15699. #: guix-git/doc/guix.texi:10261
  15700. #, no-wrap
  15701. msgid "(ungexp-splicing @var{lst})"
  15702. msgstr ""
  15703. #. type: table
  15704. #: guix-git/doc/guix.texi:10264
  15705. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  15706. msgstr ""
  15707. #. type: item
  15708. #: guix-git/doc/guix.texi:10265
  15709. #, no-wrap
  15710. msgid "#+@@@var{lst}"
  15711. msgstr ""
  15712. #. type: itemx
  15713. #: guix-git/doc/guix.texi:10266
  15714. #, no-wrap
  15715. msgid "(ungexp-native-splicing @var{lst})"
  15716. msgstr ""
  15717. #. type: table
  15718. #: guix-git/doc/guix.texi:10269
  15719. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  15720. msgstr ""
  15721. #. type: deffn
  15722. #: guix-git/doc/guix.texi:10274
  15723. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  15724. msgstr ""
  15725. #. type: deffn
  15726. #: guix-git/doc/guix.texi:10276
  15727. #, no-wrap
  15728. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  15729. msgstr ""
  15730. #. type: deffn
  15731. #: guix-git/doc/guix.texi:10279
  15732. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  15733. msgstr ""
  15734. #. type: deffn
  15735. #: guix-git/doc/guix.texi:10283
  15736. 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:"
  15737. msgstr ""
  15738. #. type: lisp
  15739. #: guix-git/doc/guix.texi:10289
  15740. #, no-wrap
  15741. msgid ""
  15742. "`((guix build utils)\n"
  15743. " (guix gcrypt)\n"
  15744. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  15745. " #~(define-module @dots{}))))\n"
  15746. msgstr ""
  15747. #. type: deffn
  15748. #: guix-git/doc/guix.texi:10294
  15749. 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."
  15750. msgstr ""
  15751. #. type: deffn
  15752. #: guix-git/doc/guix.texi:10298
  15753. 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{}."
  15754. msgstr ""
  15755. #. type: deffn
  15756. #: guix-git/doc/guix.texi:10300
  15757. #, no-wrap
  15758. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  15759. msgstr ""
  15760. #. type: deffn
  15761. #: guix-git/doc/guix.texi:10305
  15762. 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."
  15763. msgstr ""
  15764. #. type: deffn
  15765. #: guix-git/doc/guix.texi:10310
  15766. 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{}."
  15767. msgstr ""
  15768. #. type: deffn
  15769. #: guix-git/doc/guix.texi:10312
  15770. #, no-wrap
  15771. msgid "{Scheme Procedure} gexp? @var{obj}"
  15772. msgstr ""
  15773. #. type: deffn
  15774. #: guix-git/doc/guix.texi:10314
  15775. msgid "Return @code{#t} if @var{obj} is a G-expression."
  15776. msgstr ""
  15777. #. type: Plain text
  15778. #: guix-git/doc/guix.texi:10320
  15779. 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)."
  15780. msgstr ""
  15781. #. type: deffn
  15782. #: guix-git/doc/guix.texi:10321
  15783. #, no-wrap
  15784. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  15785. msgstr ""
  15786. #. type: deffn
  15787. #: guix-git/doc/guix.texi:10339
  15788. 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}."
  15789. msgstr ""
  15790. #. type: deffn
  15791. #: guix-git/doc/guix.texi:10347
  15792. 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))}."
  15793. msgstr ""
  15794. #. type: deffn
  15795. #: guix-git/doc/guix.texi:10350
  15796. 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\"}."
  15797. msgstr ""
  15798. #. type: deffn
  15799. #: guix-git/doc/guix.texi:10353
  15800. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  15801. msgstr ""
  15802. #. type: deffn
  15803. #: guix-git/doc/guix.texi:10356
  15804. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  15805. msgstr ""
  15806. #. type: example
  15807. #: guix-git/doc/guix.texi:10363
  15808. #, no-wrap
  15809. msgid ""
  15810. "(@var{file-name} @var{package})\n"
  15811. "(@var{file-name} @var{package} @var{output})\n"
  15812. "(@var{file-name} @var{derivation})\n"
  15813. "(@var{file-name} @var{derivation} @var{output})\n"
  15814. "(@var{file-name} @var{store-item})\n"
  15815. msgstr ""
  15816. #. type: deffn
  15817. #: guix-git/doc/guix.texi:10369
  15818. 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."
  15819. msgstr ""
  15820. #. type: deffn
  15821. #: guix-git/doc/guix.texi:10375
  15822. 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."
  15823. msgstr ""
  15824. #. type: deffn
  15825. #: guix-git/doc/guix.texi:10378
  15826. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  15827. msgstr ""
  15828. #. type: deffn
  15829. #: guix-git/doc/guix.texi:10380
  15830. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  15831. msgstr ""
  15832. #. type: cindex
  15833. #: guix-git/doc/guix.texi:10382
  15834. #, no-wrap
  15835. msgid "file-like objects"
  15836. msgstr ""
  15837. #. type: Plain text
  15838. #: guix-git/doc/guix.texi:10387
  15839. 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:"
  15840. msgstr ""
  15841. #. type: lisp
  15842. #: guix-git/doc/guix.texi:10391
  15843. #, no-wrap
  15844. msgid ""
  15845. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  15846. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  15847. msgstr ""
  15848. #. type: Plain text
  15849. #: guix-git/doc/guix.texi:10400
  15850. 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."
  15851. msgstr ""
  15852. #. type: deffn
  15853. #: guix-git/doc/guix.texi:10401
  15854. #, no-wrap
  15855. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  15856. msgstr ""
  15857. #. type: deffn
  15858. #: guix-git/doc/guix.texi:10410
  15859. 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}."
  15860. msgstr ""
  15861. #. type: deffn
  15862. #: guix-git/doc/guix.texi:10422
  15863. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  15864. msgstr ""
  15865. #. type: deffn
  15866. #: guix-git/doc/guix.texi:10424
  15867. #, no-wrap
  15868. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  15869. msgstr ""
  15870. #. type: deffn
  15871. #: guix-git/doc/guix.texi:10427
  15872. 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."
  15873. msgstr ""
  15874. #. type: deffn
  15875. #: guix-git/doc/guix.texi:10429
  15876. msgid "This is the declarative counterpart of @code{text-file}."
  15877. msgstr ""
  15878. #. type: deffn
  15879. #: guix-git/doc/guix.texi:10431
  15880. #, no-wrap
  15881. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  15882. msgstr ""
  15883. #. type: deffn
  15884. #: guix-git/doc/guix.texi:10438
  15885. 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}."
  15886. msgstr ""
  15887. #. type: deffn
  15888. #: guix-git/doc/guix.texi:10440
  15889. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  15890. msgstr ""
  15891. #. type: deffn
  15892. #: guix-git/doc/guix.texi:10442
  15893. #, no-wrap
  15894. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  15895. msgstr ""
  15896. #. type: deffn
  15897. #: guix-git/doc/guix.texi:10448
  15898. 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}."
  15899. msgstr ""
  15900. #. type: deffn
  15901. #: guix-git/doc/guix.texi:10451
  15902. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  15903. msgstr ""
  15904. #. type: lisp
  15905. #: guix-git/doc/guix.texi:10454
  15906. #, no-wrap
  15907. msgid ""
  15908. "(use-modules (guix gexp) (gnu packages base))\n"
  15909. "\n"
  15910. msgstr ""
  15911. #. type: lisp
  15912. #: guix-git/doc/guix.texi:10458
  15913. #, no-wrap
  15914. msgid ""
  15915. "(gexp->script \"list-files\"\n"
  15916. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  15917. " \"ls\"))\n"
  15918. msgstr ""
  15919. #. type: deffn
  15920. #: guix-git/doc/guix.texi:10463
  15921. 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:"
  15922. msgstr ""
  15923. #. type: example
  15924. #: guix-git/doc/guix.texi:10468
  15925. #, no-wrap
  15926. msgid ""
  15927. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  15928. "!#\n"
  15929. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  15930. msgstr ""
  15931. #. type: deffn
  15932. #: guix-git/doc/guix.texi:10471
  15933. #, no-wrap
  15934. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  15935. msgstr ""
  15936. #. type: deffn
  15937. #: guix-git/doc/guix.texi:10476
  15938. 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}."
  15939. msgstr ""
  15940. #. type: deffn
  15941. #: guix-git/doc/guix.texi:10478
  15942. msgid "This is the declarative counterpart of @code{gexp->script}."
  15943. msgstr ""
  15944. #. type: deffn
  15945. #: guix-git/doc/guix.texi:10480
  15946. #, no-wrap
  15947. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  15948. msgstr ""
  15949. #. type: deffn
  15950. #: guix-git/doc/guix.texi:10487
  15951. 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."
  15952. msgstr ""
  15953. #. type: deffn
  15954. #: guix-git/doc/guix.texi:10492
  15955. 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}."
  15956. msgstr ""
  15957. #. type: deffn
  15958. #: guix-git/doc/guix.texi:10495
  15959. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  15960. msgstr ""
  15961. #. type: deffn
  15962. #: guix-git/doc/guix.texi:10497
  15963. #, no-wrap
  15964. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  15965. msgstr ""
  15966. #. type: deffn
  15967. #: guix-git/doc/guix.texi:10501
  15968. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  15969. msgstr ""
  15970. #. type: deffn
  15971. #: guix-git/doc/guix.texi:10503
  15972. msgid "This is the declarative counterpart of @code{gexp->file}."
  15973. msgstr ""
  15974. #. type: deffn
  15975. #: guix-git/doc/guix.texi:10505
  15976. #, no-wrap
  15977. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  15978. msgstr ""
  15979. #. type: deffn
  15980. #: guix-git/doc/guix.texi:10511
  15981. 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."
  15982. msgstr ""
  15983. #. type: deffn
  15984. #: guix-git/doc/guix.texi:10516
  15985. 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:"
  15986. msgstr ""
  15987. #. type: lisp
  15988. #: guix-git/doc/guix.texi:10524
  15989. #, no-wrap
  15990. msgid ""
  15991. "(define (profile.sh)\n"
  15992. " ;; Return the name of a shell script in the store that\n"
  15993. " ;; initializes the 'PATH' environment variable.\n"
  15994. " (text-file* \"profile.sh\"\n"
  15995. " \"export PATH=\" coreutils \"/bin:\"\n"
  15996. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  15997. msgstr ""
  15998. #. type: deffn
  15999. #: guix-git/doc/guix.texi:10529
  16000. 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."
  16001. msgstr ""
  16002. #. type: deffn
  16003. #: guix-git/doc/guix.texi:10531
  16004. #, no-wrap
  16005. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  16006. msgstr ""
  16007. #. type: deffn
  16008. #: guix-git/doc/guix.texi:10535
  16009. 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:"
  16010. msgstr ""
  16011. #. type: lisp
  16012. #: guix-git/doc/guix.texi:10539
  16013. #, no-wrap
  16014. msgid ""
  16015. "(mixed-text-file \"profile\"\n"
  16016. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  16017. msgstr ""
  16018. #. type: deffn
  16019. #: guix-git/doc/guix.texi:10542
  16020. msgid "This is the declarative counterpart of @code{text-file*}."
  16021. msgstr ""
  16022. #. type: deffn
  16023. #: guix-git/doc/guix.texi:10544
  16024. #, no-wrap
  16025. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  16026. msgstr ""
  16027. #. type: deffn
  16028. #: guix-git/doc/guix.texi:10549
  16029. 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:"
  16030. msgstr ""
  16031. #. type: lisp
  16032. #: guix-git/doc/guix.texi:10556
  16033. #, no-wrap
  16034. msgid ""
  16035. "(file-union \"etc\"\n"
  16036. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  16037. " \"127.0.0.1 localhost\"))\n"
  16038. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  16039. " \"alias ls='ls --color=auto'\"))))\n"
  16040. msgstr ""
  16041. #. type: deffn
  16042. #: guix-git/doc/guix.texi:10559
  16043. msgid "This yields an @code{etc} directory containing these two files."
  16044. msgstr ""
  16045. #. type: deffn
  16046. #: guix-git/doc/guix.texi:10561
  16047. #, no-wrap
  16048. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  16049. msgstr ""
  16050. #. type: deffn
  16051. #: guix-git/doc/guix.texi:10564
  16052. 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:"
  16053. msgstr ""
  16054. #. type: lisp
  16055. #: guix-git/doc/guix.texi:10567
  16056. #, no-wrap
  16057. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  16058. msgstr ""
  16059. #. type: deffn
  16060. #: guix-git/doc/guix.texi:10570
  16061. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  16062. msgstr ""
  16063. #. type: deffn
  16064. #: guix-git/doc/guix.texi:10572
  16065. #, no-wrap
  16066. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  16067. msgstr ""
  16068. #. type: deffn
  16069. #: guix-git/doc/guix.texi:10576
  16070. 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."
  16071. msgstr ""
  16072. #. type: deffn
  16073. #: guix-git/doc/guix.texi:10578
  16074. msgid "As an example, consider this gexp:"
  16075. msgstr ""
  16076. #. type: lisp
  16077. #: guix-git/doc/guix.texi:10583
  16078. #, no-wrap
  16079. msgid ""
  16080. "(gexp->script \"run-uname\"\n"
  16081. " #~(system* #$(file-append coreutils\n"
  16082. " \"/bin/uname\")))\n"
  16083. msgstr ""
  16084. #. type: deffn
  16085. #: guix-git/doc/guix.texi:10586
  16086. msgid "The same effect could be achieved with:"
  16087. msgstr ""
  16088. #. type: lisp
  16089. #: guix-git/doc/guix.texi:10591
  16090. #, no-wrap
  16091. msgid ""
  16092. "(gexp->script \"run-uname\"\n"
  16093. " #~(system* (string-append #$coreutils\n"
  16094. " \"/bin/uname\")))\n"
  16095. msgstr ""
  16096. #. type: deffn
  16097. #: guix-git/doc/guix.texi:10597
  16098. 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}."
  16099. msgstr ""
  16100. #. type: deffn
  16101. #: guix-git/doc/guix.texi:10599
  16102. #, no-wrap
  16103. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  16104. msgstr ""
  16105. #. type: deffnx
  16106. #: guix-git/doc/guix.texi:10600
  16107. #, no-wrap
  16108. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  16109. msgstr ""
  16110. #. type: deffn
  16111. #: guix-git/doc/guix.texi:10603
  16112. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  16113. msgstr ""
  16114. #. type: deffn
  16115. #: guix-git/doc/guix.texi:10608
  16116. 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."
  16117. msgstr ""
  16118. #. type: deffn
  16119. #: guix-git/doc/guix.texi:10611
  16120. 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:"
  16121. msgstr ""
  16122. #. type: lisp
  16123. #: guix-git/doc/guix.texi:10622
  16124. #, no-wrap
  16125. msgid ""
  16126. "#~(system*\n"
  16127. " #+(let-system system\n"
  16128. " (cond ((string-prefix? \"armhf-\" system)\n"
  16129. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  16130. " ((string-prefix? \"x86_64-\" system)\n"
  16131. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  16132. " (else\n"
  16133. " (error \"dunno!\"))))\n"
  16134. " \"-net\" \"user\" #$image)\n"
  16135. msgstr ""
  16136. #. type: deffn
  16137. #: guix-git/doc/guix.texi:10625
  16138. #, no-wrap
  16139. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  16140. msgstr ""
  16141. #. type: deffn
  16142. #: guix-git/doc/guix.texi:10631
  16143. 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."
  16144. msgstr ""
  16145. #. type: deffn
  16146. #: guix-git/doc/guix.texi:10634
  16147. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  16148. msgstr ""
  16149. #. type: lisp
  16150. #: guix-git/doc/guix.texi:10638
  16151. #, no-wrap
  16152. msgid ""
  16153. "(with-parameters ((%current-system \"i686-linux\"))\n"
  16154. " coreutils)\n"
  16155. msgstr ""
  16156. #. type: deffn
  16157. #: guix-git/doc/guix.texi:10642
  16158. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  16159. msgstr ""
  16160. #. type: Plain text
  16161. #: guix-git/doc/guix.texi:10649
  16162. 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."
  16163. msgstr ""
  16164. #. type: Plain text
  16165. #: guix-git/doc/guix.texi:10655
  16166. 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."
  16167. msgstr ""
  16168. #. type: deffn
  16169. #: guix-git/doc/guix.texi:10656
  16170. #, no-wrap
  16171. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  16172. msgstr ""
  16173. #. type: deffn
  16174. #: guix-git/doc/guix.texi:10662
  16175. 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>}."
  16176. msgstr ""
  16177. #. type: deffn
  16178. #: guix-git/doc/guix.texi:10664
  16179. #, no-wrap
  16180. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  16181. msgstr ""
  16182. #. type: deffn
  16183. #: guix-git/doc/guix.texi:10672
  16184. msgid "Sometimes, it may be useful to convert a G-exp into a S-exp. For example, some linters (@pxref{Invoking guix lint}) peek into the build phases of a package to detect potential problems. This conversion can be achieved with this procedure. However, some information can be lost in the process. More specifically, lowerable objects will be silently replaced with some arbitrary object -- currently the list @code{(*approximate*)}, but this may change."
  16185. msgstr ""
  16186. #. type: section
  16187. #: guix-git/doc/guix.texi:10675
  16188. #, no-wrap
  16189. msgid "Invoking @command{guix repl}"
  16190. msgstr ""
  16191. #. type: cindex
  16192. #: guix-git/doc/guix.texi:10677
  16193. #, no-wrap
  16194. msgid "REPL, read-eval-print loop, script"
  16195. msgstr ""
  16196. #. type: Plain text
  16197. #: guix-git/doc/guix.texi:10687
  16198. 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."
  16199. msgstr ""
  16200. #. type: example
  16201. #: guix-git/doc/guix.texi:10692
  16202. #, no-wrap
  16203. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  16204. msgstr ""
  16205. #. type: Plain text
  16206. #: guix-git/doc/guix.texi:10696
  16207. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  16208. msgstr ""
  16209. #. type: example
  16210. #: guix-git/doc/guix.texi:10699
  16211. #, no-wrap
  16212. msgid "guix repl my-script.scm\n"
  16213. msgstr ""
  16214. #. type: Plain text
  16215. #: guix-git/doc/guix.texi:10703
  16216. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  16217. msgstr ""
  16218. #. type: example
  16219. #: guix-git/doc/guix.texi:10706
  16220. #, no-wrap
  16221. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  16222. msgstr ""
  16223. #. type: Plain text
  16224. #: guix-git/doc/guix.texi:10711
  16225. 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:"
  16226. msgstr ""
  16227. #. type: example
  16228. #: guix-git/doc/guix.texi:10715
  16229. #, no-wrap
  16230. msgid ""
  16231. "@code{#!/usr/bin/env -S guix repl --}\n"
  16232. "@code{!#}\n"
  16233. msgstr ""
  16234. #. type: Plain text
  16235. #: guix-git/doc/guix.texi:10718
  16236. msgid "Without a file name argument, a Guile REPL is started:"
  16237. msgstr ""
  16238. #. type: example
  16239. #: guix-git/doc/guix.texi:10724
  16240. #, no-wrap
  16241. msgid ""
  16242. "$ guix repl\n"
  16243. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  16244. "scheme@@(guile-user)> coreutils\n"
  16245. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  16246. msgstr ""
  16247. #. type: Plain text
  16248. #: guix-git/doc/guix.texi:10731
  16249. 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."
  16250. msgstr ""
  16251. #. type: Plain text
  16252. #: guix-git/doc/guix.texi:10733
  16253. msgid "The available options are as follows:"
  16254. msgstr ""
  16255. #. type: item
  16256. #: guix-git/doc/guix.texi:10735 guix-git/doc/guix.texi:13411
  16257. #, no-wrap
  16258. msgid "--type=@var{type}"
  16259. msgstr ""
  16260. #. type: itemx
  16261. #: guix-git/doc/guix.texi:10736 guix-git/doc/guix.texi:13412
  16262. #: guix-git/doc/guix.texi:35281
  16263. #, no-wrap
  16264. msgid "-t @var{type}"
  16265. msgstr ""
  16266. #. type: table
  16267. #: guix-git/doc/guix.texi:10738
  16268. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  16269. msgstr ""
  16270. #. type: item
  16271. #: guix-git/doc/guix.texi:10740
  16272. #, no-wrap
  16273. msgid "guile"
  16274. msgstr ""
  16275. #. type: table
  16276. #: guix-git/doc/guix.texi:10742
  16277. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  16278. msgstr ""
  16279. #. type: item
  16280. #: guix-git/doc/guix.texi:10742
  16281. #, no-wrap
  16282. msgid "machine"
  16283. msgstr ""
  16284. #. type: table
  16285. #: guix-git/doc/guix.texi:10745
  16286. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  16287. msgstr ""
  16288. #. type: table
  16289. #: guix-git/doc/guix.texi:10751
  16290. 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:"
  16291. msgstr ""
  16292. #. type: item
  16293. #: guix-git/doc/guix.texi:10753
  16294. #, no-wrap
  16295. msgid "--listen=tcp:37146"
  16296. msgstr ""
  16297. #. type: table
  16298. #: guix-git/doc/guix.texi:10755
  16299. msgid "Accept connections on localhost on port 37146."
  16300. msgstr ""
  16301. #. type: item
  16302. #: guix-git/doc/guix.texi:10756
  16303. #, no-wrap
  16304. msgid "--listen=unix:/tmp/socket"
  16305. msgstr ""
  16306. #. type: table
  16307. #: guix-git/doc/guix.texi:10758
  16308. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  16309. msgstr ""
  16310. #. type: item
  16311. #: guix-git/doc/guix.texi:10760 guix-git/doc/guix.texi:10865
  16312. #: guix-git/doc/guix.texi:12763 guix-git/doc/guix.texi:12840
  16313. #: guix-git/doc/guix.texi:13046 guix-git/doc/guix.texi:13191
  16314. #: guix-git/doc/guix.texi:13459
  16315. #, no-wrap
  16316. msgid "--load-path=@var{directory}"
  16317. msgstr ""
  16318. #. type: itemx
  16319. #: guix-git/doc/guix.texi:10761 guix-git/doc/guix.texi:10866
  16320. #: guix-git/doc/guix.texi:12841 guix-git/doc/guix.texi:13047
  16321. #: guix-git/doc/guix.texi:13192 guix-git/doc/guix.texi:13460
  16322. #, no-wrap
  16323. msgid "-L @var{directory}"
  16324. msgstr ""
  16325. #. type: table
  16326. #: guix-git/doc/guix.texi:10764 guix-git/doc/guix.texi:10869
  16327. #: guix-git/doc/guix.texi:12766 guix-git/doc/guix.texi:12844
  16328. #: guix-git/doc/guix.texi:13050 guix-git/doc/guix.texi:13195
  16329. #: guix-git/doc/guix.texi:13463
  16330. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  16331. msgstr ""
  16332. #. type: table
  16333. #: guix-git/doc/guix.texi:10767
  16334. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  16335. msgstr ""
  16336. #. type: itemx
  16337. #: guix-git/doc/guix.texi:10768 guix-git/doc/guix.texi:11390
  16338. #, no-wrap
  16339. msgid "-q"
  16340. msgstr ""
  16341. #. type: table
  16342. #: guix-git/doc/guix.texi:10771
  16343. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  16344. msgstr ""
  16345. #. type: Plain text
  16346. #: guix-git/doc/guix.texi:10781
  16347. 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."
  16348. msgstr ""
  16349. #. type: cindex
  16350. #: guix-git/doc/guix.texi:10804
  16351. #, no-wrap
  16352. msgid "package building"
  16353. msgstr ""
  16354. #. type: command{#1}
  16355. #: guix-git/doc/guix.texi:10805
  16356. #, no-wrap
  16357. msgid "guix build"
  16358. msgstr ""
  16359. #. type: Plain text
  16360. #: guix-git/doc/guix.texi:10811
  16361. 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."
  16362. msgstr ""
  16363. #. type: example
  16364. #: guix-git/doc/guix.texi:10816
  16365. #, no-wrap
  16366. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  16367. msgstr ""
  16368. #. type: Plain text
  16369. #: guix-git/doc/guix.texi:10821
  16370. 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:"
  16371. msgstr ""
  16372. #. type: example
  16373. #: guix-git/doc/guix.texi:10824
  16374. #, no-wrap
  16375. msgid "guix build emacs guile\n"
  16376. msgstr ""
  16377. #. type: Plain text
  16378. #: guix-git/doc/guix.texi:10827
  16379. msgid "Similarly, the following command builds all the available packages:"
  16380. msgstr ""
  16381. #. type: example
  16382. #: guix-git/doc/guix.texi:10831
  16383. #, no-wrap
  16384. msgid ""
  16385. "guix build --quiet --keep-going \\\n"
  16386. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  16387. msgstr ""
  16388. #. type: Plain text
  16389. #: guix-git/doc/guix.texi:10839
  16390. 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})."
  16391. msgstr ""
  16392. #. type: Plain text
  16393. #: guix-git/doc/guix.texi:10844
  16394. 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."
  16395. msgstr ""
  16396. #. type: Plain text
  16397. #: guix-git/doc/guix.texi:10847
  16398. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  16399. msgstr ""
  16400. #. type: Plain text
  16401. #: guix-git/doc/guix.texi:10862
  16402. 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:"
  16403. msgstr ""
  16404. #. type: table
  16405. #: guix-git/doc/guix.texi:10872 guix-git/doc/guix.texi:12769
  16406. #: guix-git/doc/guix.texi:13053 guix-git/doc/guix.texi:13198
  16407. #: guix-git/doc/guix.texi:13466
  16408. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  16409. msgstr ""
  16410. #. type: item
  16411. #: guix-git/doc/guix.texi:10873
  16412. #, no-wrap
  16413. msgid "--keep-failed"
  16414. msgstr ""
  16415. #. type: itemx
  16416. #: guix-git/doc/guix.texi:10874
  16417. #, no-wrap
  16418. msgid "-K"
  16419. msgstr ""
  16420. #. type: table
  16421. #: guix-git/doc/guix.texi:10880
  16422. 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."
  16423. msgstr ""
  16424. #. type: table
  16425. #: guix-git/doc/guix.texi:10884
  16426. 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})."
  16427. msgstr ""
  16428. #. type: item
  16429. #: guix-git/doc/guix.texi:10885
  16430. #, no-wrap
  16431. msgid "--keep-going"
  16432. msgstr ""
  16433. #. type: itemx
  16434. #: guix-git/doc/guix.texi:10886
  16435. #, no-wrap
  16436. msgid "-k"
  16437. msgstr ""
  16438. #. type: table
  16439. #: guix-git/doc/guix.texi:10889
  16440. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  16441. msgstr ""
  16442. #. type: table
  16443. #: guix-git/doc/guix.texi:10892
  16444. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  16445. msgstr ""
  16446. #. type: table
  16447. #: guix-git/doc/guix.texi:10896
  16448. msgid "Do not build the derivations."
  16449. msgstr ""
  16450. #. type: anchor{#1}
  16451. #: guix-git/doc/guix.texi:10898
  16452. msgid "fallback-option"
  16453. msgstr ""
  16454. #. type: item
  16455. #: guix-git/doc/guix.texi:10898
  16456. #, no-wrap
  16457. msgid "--fallback"
  16458. msgstr ""
  16459. #. type: table
  16460. #: guix-git/doc/guix.texi:10901
  16461. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  16462. msgstr ""
  16463. #. type: anchor{#1}
  16464. #: guix-git/doc/guix.texi:10907
  16465. msgid "client-substitute-urls"
  16466. msgstr ""
  16467. #. type: table
  16468. #: guix-git/doc/guix.texi:10907
  16469. 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})."
  16470. msgstr ""
  16471. #. type: table
  16472. #: guix-git/doc/guix.texi:10911
  16473. 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})."
  16474. msgstr ""
  16475. #. type: table
  16476. #: guix-git/doc/guix.texi:10914
  16477. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  16478. msgstr ""
  16479. #. type: item
  16480. #: guix-git/doc/guix.texi:10920
  16481. #, no-wrap
  16482. msgid "--no-grafts"
  16483. msgstr ""
  16484. #. type: table
  16485. #: guix-git/doc/guix.texi:10924
  16486. 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."
  16487. msgstr ""
  16488. #. type: item
  16489. #: guix-git/doc/guix.texi:10925
  16490. #, no-wrap
  16491. msgid "--rounds=@var{n}"
  16492. msgstr ""
  16493. #. type: table
  16494. #: guix-git/doc/guix.texi:10928
  16495. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  16496. msgstr ""
  16497. #. type: table
  16498. #: guix-git/doc/guix.texi:10933
  16499. 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."
  16500. msgstr ""
  16501. #. type: table
  16502. #: guix-git/doc/guix.texi:10949
  16503. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  16504. msgstr ""
  16505. #. type: table
  16506. #: guix-git/doc/guix.texi:10956
  16507. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  16508. msgstr ""
  16509. #. type: cindex
  16510. #: guix-git/doc/guix.texi:10959
  16511. #, no-wrap
  16512. msgid "verbosity, of the command-line tools"
  16513. msgstr ""
  16514. #. type: cindex
  16515. #: guix-git/doc/guix.texi:10960
  16516. #, no-wrap
  16517. msgid "build logs, verbosity"
  16518. msgstr ""
  16519. #. type: item
  16520. #: guix-git/doc/guix.texi:10961
  16521. #, no-wrap
  16522. msgid "-v @var{level}"
  16523. msgstr ""
  16524. #. type: itemx
  16525. #: guix-git/doc/guix.texi:10962
  16526. #, no-wrap
  16527. msgid "--verbosity=@var{level}"
  16528. msgstr ""
  16529. #. type: table
  16530. #: guix-git/doc/guix.texi:10967
  16531. 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."
  16532. msgstr ""
  16533. #. type: table
  16534. #: guix-git/doc/guix.texi:10972
  16535. 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."
  16536. msgstr ""
  16537. #. type: table
  16538. #: guix-git/doc/guix.texi:10978
  16539. 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."
  16540. msgstr ""
  16541. #. type: item
  16542. #: guix-git/doc/guix.texi:10979
  16543. #, no-wrap
  16544. msgid "--debug=@var{level}"
  16545. msgstr ""
  16546. #. type: table
  16547. #: guix-git/doc/guix.texi:10983
  16548. 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."
  16549. msgstr ""
  16550. #. type: Plain text
  16551. #: guix-git/doc/guix.texi:10990
  16552. 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."
  16553. msgstr ""
  16554. #. type: Plain text
  16555. #: guix-git/doc/guix.texi:10994
  16556. 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."
  16557. msgstr ""
  16558. #. type: defvr
  16559. #: guix-git/doc/guix.texi:10995
  16560. #, no-wrap
  16561. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  16562. msgstr ""
  16563. #. type: defvr
  16564. #: guix-git/doc/guix.texi:11000
  16565. 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:"
  16566. msgstr ""
  16567. #. type: example
  16568. #: guix-git/doc/guix.texi:11003
  16569. #, no-wrap
  16570. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  16571. msgstr ""
  16572. #. type: defvr
  16573. #: guix-git/doc/guix.texi:11007
  16574. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  16575. msgstr ""
  16576. #. type: cindex
  16577. #: guix-git/doc/guix.texi:11013
  16578. #, no-wrap
  16579. msgid "package variants"
  16580. msgstr ""
  16581. #. type: Plain text
  16582. #: guix-git/doc/guix.texi:11021
  16583. 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})."
  16584. msgstr ""
  16585. #. type: Plain text
  16586. #: guix-git/doc/guix.texi:11025
  16587. 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."
  16588. msgstr ""
  16589. #. type: Plain text
  16590. #: guix-git/doc/guix.texi:11030
  16591. 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)."
  16592. msgstr ""
  16593. #. type: cindex
  16594. #: guix-git/doc/guix.texi:11033
  16595. #, no-wrap
  16596. msgid "performance, tuning code"
  16597. msgstr ""
  16598. #. type: cindex
  16599. #: guix-git/doc/guix.texi:11034
  16600. #, no-wrap
  16601. msgid "optimization, of package code"
  16602. msgstr ""
  16603. #. type: cindex
  16604. #: guix-git/doc/guix.texi:11035
  16605. #, no-wrap
  16606. msgid "tuning, of package code"
  16607. msgstr ""
  16608. #. type: cindex
  16609. #: guix-git/doc/guix.texi:11036
  16610. #, no-wrap
  16611. msgid "SIMD support"
  16612. msgstr ""
  16613. #. type: cindex
  16614. #: guix-git/doc/guix.texi:11037
  16615. #, no-wrap
  16616. msgid "tunable packages"
  16617. msgstr ""
  16618. #. type: cindex
  16619. #: guix-git/doc/guix.texi:11038
  16620. #, no-wrap
  16621. msgid "package multi-versioning"
  16622. msgstr ""
  16623. #. type: item
  16624. #: guix-git/doc/guix.texi:11039
  16625. #, no-wrap
  16626. msgid "--tune[=@var{cpu}]"
  16627. msgstr ""
  16628. #. type: table
  16629. #: guix-git/doc/guix.texi:11043
  16630. msgid "Use versions of the packages marked as ``tunable'' optimized for @var{cpu}. When @var{cpu} is @code{native}, or when it is omitted, tune for the CPU on which the @command{guix} command is running."
  16631. msgstr ""
  16632. #. type: table
  16633. #: guix-git/doc/guix.texi:11049
  16634. msgid "Valid @var{cpu} names are those recognized by the underlying compiler, by default the GNU Compiler Collection. On x86_64 processors, this includes CPU names such as @code{nehalem}, @code{haswell}, and @code{skylake} (@pxref{x86 Options, @code{-march},, gcc, Using the GNU Compiler Collection (GCC)})."
  16635. msgstr ""
  16636. #. type: table
  16637. #: guix-git/doc/guix.texi:11056
  16638. msgid "As new generations of CPUs come out, they augment the standard instruction set architecture (ISA) with additional instructions, in particular instructions for single-instruction/multiple-data (SIMD) parallel processing. For example, while Core2 and Skylake CPUs both implement the x86_64 ISA, only the latter supports AVX2 SIMD instructions."
  16639. msgstr ""
  16640. #. type: table
  16641. #: guix-git/doc/guix.texi:11063
  16642. msgid "The primary gain one can expect from @option{--tune} is for programs that can make use of those SIMD capabilities @emph{and} that do not already have a mechanism to select the right optimized code at run time. Packages that have the @code{tunable?} property set are considered @dfn{tunable packages} by the @option{--tune} option; a package definition with the property set looks like this:"
  16643. msgstr ""
  16644. #. type: lisp
  16645. #: guix-git/doc/guix.texi:11068
  16646. #, no-wrap
  16647. msgid ""
  16648. "(package\n"
  16649. " (name \"hello-simd\")\n"
  16650. " ;; ...\n"
  16651. "\n"
  16652. msgstr ""
  16653. #. type: lisp
  16654. #: guix-git/doc/guix.texi:11072
  16655. #, no-wrap
  16656. msgid ""
  16657. " ;; This package may benefit from SIMD extensions so\n"
  16658. " ;; mark it as \"tunable\".\n"
  16659. " (properties '((tunable? . #t))))\n"
  16660. msgstr ""
  16661. #. type: table
  16662. #: guix-git/doc/guix.texi:11077
  16663. msgid "Other packages are not considered tunable. This allows Guix to use generic binaries in the cases where tuning for a specific CPU is unlikely to provide any gain."
  16664. msgstr ""
  16665. #. type: table
  16666. #: guix-git/doc/guix.texi:11083
  16667. msgid "Tuned packages are built with @code{-march=@var{CPU}}; under the hood, the @option{-march} option is passed to the actual wrapper by a compiler wrapper. Since the build machine may not be able to run code for the target CPU micro-architecture, the test suite is not run when building a tuned package."
  16668. msgstr ""
  16669. #. type: table
  16670. #: guix-git/doc/guix.texi:11087
  16671. msgid "To reduce rebuilds to the minimum, tuned packages are @emph{grafted} onto packages that depend on them (@pxref{Security Updates, grafts}). Thus, using @option{--no-grafts} cancels the effect of @option{--tune}."
  16672. msgstr ""
  16673. #. type: table
  16674. #: guix-git/doc/guix.texi:11093
  16675. msgid "We call this technique @dfn{package multi-versioning}: several variants of tunable packages may be built, one for each CPU variant. It is the coarse-grain counterpart of @dfn{function multi-versioning} as implemented by the GNU tool chain (@pxref{Function Multiversioning,,, gcc, Using the GNU Compiler Collection (GCC)})."
  16676. msgstr ""
  16677. #. type: item
  16678. #: guix-git/doc/guix.texi:11094
  16679. #, no-wrap
  16680. msgid "--with-source=@var{source}"
  16681. msgstr ""
  16682. #. type: itemx
  16683. #: guix-git/doc/guix.texi:11095
  16684. #, no-wrap
  16685. msgid "--with-source=@var{package}=@var{source}"
  16686. msgstr ""
  16687. #. type: itemx
  16688. #: guix-git/doc/guix.texi:11096
  16689. #, no-wrap
  16690. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  16691. msgstr ""
  16692. #. type: table
  16693. #: guix-git/doc/guix.texi:11101
  16694. 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})."
  16695. msgstr ""
  16696. #. type: table
  16697. #: guix-git/doc/guix.texi:11107
  16698. 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}."
  16699. msgstr ""
  16700. #. type: table
  16701. #: guix-git/doc/guix.texi:11110
  16702. 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}."
  16703. msgstr ""
  16704. #. type: table
  16705. #: guix-git/doc/guix.texi:11115
  16706. 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:"
  16707. msgstr ""
  16708. #. type: example
  16709. #: guix-git/doc/guix.texi:11118
  16710. #, no-wrap
  16711. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  16712. msgstr ""
  16713. #. type: table
  16714. #: guix-git/doc/guix.texi:11122
  16715. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  16716. msgstr ""
  16717. #. type: example
  16718. #: guix-git/doc/guix.texi:11125
  16719. #, no-wrap
  16720. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  16721. msgstr ""
  16722. #. type: table
  16723. #: guix-git/doc/guix.texi:11128
  16724. msgid "@dots{} or to build from a checkout in a pristine environment:"
  16725. msgstr ""
  16726. #. type: example
  16727. #: guix-git/doc/guix.texi:11132
  16728. #, no-wrap
  16729. msgid ""
  16730. "$ git clone git://git.sv.gnu.org/guix.git\n"
  16731. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  16732. msgstr ""
  16733. #. type: item
  16734. #: guix-git/doc/guix.texi:11134
  16735. #, no-wrap
  16736. msgid "--with-input=@var{package}=@var{replacement}"
  16737. msgstr ""
  16738. #. type: table
  16739. #: guix-git/doc/guix.texi:11139
  16740. 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}."
  16741. msgstr ""
  16742. #. type: table
  16743. #: guix-git/doc/guix.texi:11143
  16744. 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}:"
  16745. msgstr ""
  16746. #. type: example
  16747. #: guix-git/doc/guix.texi:11146
  16748. #, no-wrap
  16749. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  16750. msgstr ""
  16751. #. type: table
  16752. #: guix-git/doc/guix.texi:11151
  16753. 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}."
  16754. msgstr ""
  16755. #. type: table
  16756. #: guix-git/doc/guix.texi:11154
  16757. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  16758. msgstr ""
  16759. #. type: item
  16760. #: guix-git/doc/guix.texi:11155
  16761. #, no-wrap
  16762. msgid "--with-graft=@var{package}=@var{replacement}"
  16763. msgstr ""
  16764. #. type: table
  16765. #: guix-git/doc/guix.texi:11161
  16766. 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."
  16767. msgstr ""
  16768. #. type: table
  16769. #: guix-git/doc/guix.texi:11165
  16770. 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:"
  16771. msgstr ""
  16772. #. type: example
  16773. #: guix-git/doc/guix.texi:11168
  16774. #, no-wrap
  16775. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  16776. msgstr ""
  16777. #. type: table
  16778. #: guix-git/doc/guix.texi:11177
  16779. 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!"
  16780. msgstr ""
  16781. #. type: cindex
  16782. #: guix-git/doc/guix.texi:11178 guix-git/doc/guix.texi:37882
  16783. #, no-wrap
  16784. msgid "debugging info, rebuilding"
  16785. msgstr ""
  16786. #. type: item
  16787. #: guix-git/doc/guix.texi:11179
  16788. #, no-wrap
  16789. msgid "--with-debug-info=@var{package}"
  16790. msgstr ""
  16791. #. type: table
  16792. #: guix-git/doc/guix.texi:11184
  16793. 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})."
  16794. msgstr ""
  16795. #. type: table
  16796. #: guix-git/doc/guix.texi:11190
  16797. 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:"
  16798. msgstr ""
  16799. #. type: example
  16800. #: guix-git/doc/guix.texi:11193 guix-git/doc/guix.texi:37913
  16801. #, no-wrap
  16802. msgid "guix install inkscape --with-debug-info=glib\n"
  16803. msgstr ""
  16804. #. type: table
  16805. #: guix-git/doc/guix.texi:11197
  16806. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  16807. msgstr ""
  16808. #. type: quotation
  16809. #: guix-git/doc/guix.texi:11203
  16810. 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."
  16811. msgstr ""
  16812. #. type: quotation
  16813. #: guix-git/doc/guix.texi:11207
  16814. 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."
  16815. msgstr ""
  16816. #. type: cindex
  16817. #: guix-git/doc/guix.texi:11209
  16818. #, no-wrap
  16819. msgid "tool chain, changing the build tool chain of a package"
  16820. msgstr ""
  16821. #. type: item
  16822. #: guix-git/doc/guix.texi:11210
  16823. #, no-wrap
  16824. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  16825. msgstr ""
  16826. #. type: table
  16827. #: guix-git/doc/guix.texi:11214
  16828. 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++."
  16829. msgstr ""
  16830. #. type: example
  16831. #: guix-git/doc/guix.texi:11221
  16832. #, no-wrap
  16833. msgid ""
  16834. "guix build octave-cli \\\n"
  16835. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  16836. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  16837. msgstr ""
  16838. #. type: table
  16839. #: guix-git/doc/guix.texi:11228
  16840. 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}."
  16841. msgstr ""
  16842. #. type: table
  16843. #: guix-git/doc/guix.texi:11232
  16844. 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:"
  16845. msgstr ""
  16846. #. type: example
  16847. #: guix-git/doc/guix.texi:11236
  16848. #, no-wrap
  16849. msgid ""
  16850. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  16851. " intel-mpi-benchmarks\n"
  16852. msgstr ""
  16853. #. type: quotation
  16854. #: guix-git/doc/guix.texi:11245
  16855. 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."
  16856. msgstr ""
  16857. #. type: item
  16858. #: guix-git/doc/guix.texi:11247
  16859. #, no-wrap
  16860. msgid "--with-git-url=@var{package}=@var{url}"
  16861. msgstr ""
  16862. #. type: cindex
  16863. #: guix-git/doc/guix.texi:11248
  16864. #, no-wrap
  16865. msgid "Git, using the latest commit"
  16866. msgstr ""
  16867. #. type: cindex
  16868. #: guix-git/doc/guix.texi:11249
  16869. #, no-wrap
  16870. msgid "latest commit, building"
  16871. msgstr ""
  16872. #. type: table
  16873. #: guix-git/doc/guix.texi:11253
  16874. 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."
  16875. msgstr ""
  16876. #. type: table
  16877. #: guix-git/doc/guix.texi:11256
  16878. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  16879. msgstr ""
  16880. #. type: example
  16881. #: guix-git/doc/guix.texi:11260
  16882. #, no-wrap
  16883. msgid ""
  16884. "guix build python-numpy \\\n"
  16885. " --with-git-url=python=https://github.com/python/cpython\n"
  16886. msgstr ""
  16887. #. type: table
  16888. #: guix-git/doc/guix.texi:11264
  16889. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  16890. msgstr ""
  16891. #. type: cindex
  16892. #: guix-git/doc/guix.texi:11265 guix-git/doc/guix.texi:28957
  16893. #, no-wrap
  16894. msgid "continuous integration"
  16895. msgstr ""
  16896. #. type: table
  16897. #: guix-git/doc/guix.texi:11271
  16898. 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)."
  16899. msgstr ""
  16900. #. type: table
  16901. #: guix-git/doc/guix.texi:11275
  16902. 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."
  16903. msgstr ""
  16904. #. type: item
  16905. #: guix-git/doc/guix.texi:11276
  16906. #, no-wrap
  16907. msgid "--with-branch=@var{package}=@var{branch}"
  16908. msgstr ""
  16909. #. type: table
  16910. #: guix-git/doc/guix.texi:11282
  16911. 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."
  16912. msgstr ""
  16913. #. type: table
  16914. #: guix-git/doc/guix.texi:11287
  16915. 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:"
  16916. msgstr ""
  16917. #. type: example
  16918. #: guix-git/doc/guix.texi:11290
  16919. #, no-wrap
  16920. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  16921. msgstr ""
  16922. #. type: item
  16923. #: guix-git/doc/guix.texi:11292
  16924. #, no-wrap
  16925. msgid "--with-commit=@var{package}=@var{commit}"
  16926. msgstr ""
  16927. #. type: table
  16928. #: guix-git/doc/guix.texi:11297
  16929. 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, a tag, or a @command{git describe} style identifier such as @code{1.0-3-gabc123}."
  16930. msgstr ""
  16931. #. type: item
  16932. #: guix-git/doc/guix.texi:11298
  16933. #, no-wrap
  16934. msgid "--with-patch=@var{package}=@var{file}"
  16935. msgstr ""
  16936. #. type: table
  16937. #: guix-git/doc/guix.texi:11305
  16938. 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})."
  16939. msgstr ""
  16940. #. type: table
  16941. #: guix-git/doc/guix.texi:11308
  16942. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  16943. msgstr ""
  16944. #. type: example
  16945. #: guix-git/doc/guix.texi:11311
  16946. #, no-wrap
  16947. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  16948. msgstr ""
  16949. #. type: table
  16950. #: guix-git/doc/guix.texi:11315
  16951. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  16952. msgstr ""
  16953. #. type: cindex
  16954. #: guix-git/doc/guix.texi:11316
  16955. #, no-wrap
  16956. msgid "upstream, latest version"
  16957. msgstr ""
  16958. #. type: item
  16959. #: guix-git/doc/guix.texi:11317
  16960. #, no-wrap
  16961. msgid "--with-latest=@var{package}"
  16962. msgstr ""
  16963. #. type: table
  16964. #: guix-git/doc/guix.texi:11322
  16965. 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})."
  16966. msgstr ""
  16967. #. type: table
  16968. #: guix-git/doc/guix.texi:11326
  16969. 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."
  16970. msgstr ""
  16971. #. type: table
  16972. #: guix-git/doc/guix.texi:11329
  16973. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  16974. msgstr ""
  16975. #. type: example
  16976. #: guix-git/doc/guix.texi:11332
  16977. #, no-wrap
  16978. msgid "guix build guix --with-latest=guile-json\n"
  16979. msgstr ""
  16980. #. type: table
  16981. #: guix-git/doc/guix.texi:11341
  16982. 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."
  16983. msgstr ""
  16984. #. type: table
  16985. #: guix-git/doc/guix.texi:11346
  16986. 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})."
  16987. msgstr ""
  16988. #. type: cindex
  16989. #: guix-git/doc/guix.texi:11347
  16990. #, no-wrap
  16991. msgid "test suite, skipping"
  16992. msgstr ""
  16993. #. type: item
  16994. #: guix-git/doc/guix.texi:11348
  16995. #, no-wrap
  16996. msgid "--without-tests=@var{package}"
  16997. msgstr ""
  16998. #. type: table
  16999. #: guix-git/doc/guix.texi:11354
  17000. 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."
  17001. msgstr ""
  17002. #. type: table
  17003. #: guix-git/doc/guix.texi:11358
  17004. 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:"
  17005. msgstr ""
  17006. #. type: example
  17007. #: guix-git/doc/guix.texi:11361
  17008. #, no-wrap
  17009. msgid "guix install --without-tests=python python-notebook\n"
  17010. msgstr ""
  17011. #. type: table
  17012. #: guix-git/doc/guix.texi:11367
  17013. 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."
  17014. msgstr ""
  17015. #. type: table
  17016. #: guix-git/doc/guix.texi:11373
  17017. 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."
  17018. msgstr ""
  17019. #. type: Plain text
  17020. #: guix-git/doc/guix.texi:11380
  17021. 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."
  17022. msgstr ""
  17023. #. type: Plain text
  17024. #: guix-git/doc/guix.texi:11386
  17025. msgid "The command-line options presented below are specific to @command{guix build}."
  17026. msgstr ""
  17027. #. type: item
  17028. #: guix-git/doc/guix.texi:11389
  17029. #, no-wrap
  17030. msgid "--quiet"
  17031. msgstr ""
  17032. #. type: table
  17033. #: guix-git/doc/guix.texi:11394
  17034. 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."
  17035. msgstr ""
  17036. #. type: table
  17037. #: guix-git/doc/guix.texi:11399
  17038. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  17039. msgstr ""
  17040. #. type: table
  17041. #: guix-git/doc/guix.texi:11402
  17042. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  17043. msgstr ""
  17044. #. type: table
  17045. #: guix-git/doc/guix.texi:11411
  17046. 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}:"
  17047. msgstr ""
  17048. #. type: item
  17049. #: guix-git/doc/guix.texi:11416
  17050. #, no-wrap
  17051. msgid "--manifest=@var{manifest}"
  17052. msgstr ""
  17053. #. type: itemx
  17054. #: guix-git/doc/guix.texi:11417
  17055. #, no-wrap
  17056. msgid "-m @var{manifest}"
  17057. msgstr ""
  17058. #. type: table
  17059. #: guix-git/doc/guix.texi:11420
  17060. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  17061. msgstr ""
  17062. #. type: table
  17063. #: guix-git/doc/guix.texi:11424
  17064. msgid "Build the package or derivation @var{expr} evaluates to."
  17065. msgstr ""
  17066. #. type: table
  17067. #: guix-git/doc/guix.texi:11428
  17068. 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."
  17069. msgstr ""
  17070. #. type: table
  17071. #: guix-git/doc/guix.texi:11432
  17072. 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})."
  17073. msgstr ""
  17074. #. type: table
  17075. #: guix-git/doc/guix.texi:11436
  17076. 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}."
  17077. msgstr ""
  17078. #. type: item
  17079. #: guix-git/doc/guix.texi:11437
  17080. #, no-wrap
  17081. msgid "--source"
  17082. msgstr ""
  17083. #. type: itemx
  17084. #: guix-git/doc/guix.texi:11438 guix-git/doc/guix.texi:11835
  17085. #, no-wrap
  17086. msgid "-S"
  17087. msgstr ""
  17088. #. type: table
  17089. #: guix-git/doc/guix.texi:11441
  17090. msgid "Build the source derivations of the packages, rather than the packages themselves."
  17091. msgstr ""
  17092. #. type: table
  17093. #: guix-git/doc/guix.texi:11445
  17094. 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."
  17095. msgstr ""
  17096. #. type: table
  17097. #: guix-git/doc/guix.texi:11449
  17098. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  17099. msgstr ""
  17100. #. type: cindex
  17101. #: guix-git/doc/guix.texi:11450
  17102. #, no-wrap
  17103. msgid "source, verification"
  17104. msgstr ""
  17105. #. type: table
  17106. #: guix-git/doc/guix.texi:11456
  17107. 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."
  17108. msgstr ""
  17109. #. type: table
  17110. #: guix-git/doc/guix.texi:11461
  17111. 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."
  17112. msgstr ""
  17113. #. type: item
  17114. #: guix-git/doc/guix.texi:11462
  17115. #, no-wrap
  17116. msgid "--sources"
  17117. msgstr ""
  17118. #. type: table
  17119. #: guix-git/doc/guix.texi:11469
  17120. 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:"
  17121. msgstr ""
  17122. #. type: item
  17123. #: guix-git/doc/guix.texi:11471 guix-git/doc/guix.texi:13252
  17124. #, no-wrap
  17125. msgid "package"
  17126. msgstr ""
  17127. #. type: table
  17128. #: guix-git/doc/guix.texi:11474
  17129. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  17130. msgstr ""
  17131. #. type: item
  17132. #: guix-git/doc/guix.texi:11475 guix-git/doc/guix.texi:19682
  17133. #, no-wrap
  17134. msgid "all"
  17135. msgstr ""
  17136. #. type: table
  17137. #: guix-git/doc/guix.texi:11478
  17138. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  17139. msgstr ""
  17140. #. type: example
  17141. #: guix-git/doc/guix.texi:11484
  17142. #, no-wrap
  17143. msgid ""
  17144. "$ guix build --sources tzdata\n"
  17145. "The following derivations will be built:\n"
  17146. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  17147. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17148. msgstr ""
  17149. #. type: item
  17150. #: guix-git/doc/guix.texi:11486
  17151. #, no-wrap
  17152. msgid "transitive"
  17153. msgstr ""
  17154. #. type: table
  17155. #: guix-git/doc/guix.texi:11490
  17156. 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."
  17157. msgstr ""
  17158. #. type: example
  17159. #: guix-git/doc/guix.texi:11501
  17160. #, no-wrap
  17161. msgid ""
  17162. "$ guix build --sources=transitive tzdata\n"
  17163. "The following derivations will be built:\n"
  17164. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17165. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  17166. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  17167. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  17168. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  17169. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  17170. "@dots{}\n"
  17171. msgstr ""
  17172. #. type: table
  17173. #: guix-git/doc/guix.texi:11511
  17174. 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."
  17175. msgstr ""
  17176. #. type: quotation
  17177. #: guix-git/doc/guix.texi:11516
  17178. 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."
  17179. msgstr ""
  17180. #. type: table
  17181. #: guix-git/doc/guix.texi:11523
  17182. 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."
  17183. msgstr ""
  17184. #. type: quotation
  17185. #: guix-git/doc/guix.texi:11528
  17186. 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."
  17187. msgstr ""
  17188. #. type: table
  17189. #: guix-git/doc/guix.texi:11534
  17190. 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."
  17191. msgstr ""
  17192. #. type: table
  17193. #: guix-git/doc/guix.texi:11538
  17194. 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."
  17195. msgstr ""
  17196. #. type: table
  17197. #: guix-git/doc/guix.texi:11544
  17198. 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})."
  17199. msgstr ""
  17200. #. type: anchor{#1}
  17201. #: guix-git/doc/guix.texi:11546
  17202. msgid "build-check"
  17203. msgstr ""
  17204. #. type: cindex
  17205. #: guix-git/doc/guix.texi:11547
  17206. #, no-wrap
  17207. msgid "determinism, checking"
  17208. msgstr ""
  17209. #. type: cindex
  17210. #: guix-git/doc/guix.texi:11548
  17211. #, no-wrap
  17212. msgid "reproducibility, checking"
  17213. msgstr ""
  17214. #. type: table
  17215. #: guix-git/doc/guix.texi:11552
  17216. 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."
  17217. msgstr ""
  17218. #. type: table
  17219. #: guix-git/doc/guix.texi:11557
  17220. 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."
  17221. msgstr ""
  17222. #. type: item
  17223. #: guix-git/doc/guix.texi:11562
  17224. #, no-wrap
  17225. msgid "--repair"
  17226. msgstr ""
  17227. #. type: cindex
  17228. #: guix-git/doc/guix.texi:11563
  17229. #, no-wrap
  17230. msgid "repairing store items"
  17231. msgstr ""
  17232. #. type: table
  17233. #: guix-git/doc/guix.texi:11567
  17234. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  17235. msgstr ""
  17236. #. type: table
  17237. #: guix-git/doc/guix.texi:11569
  17238. msgid "This operation is not atomic and thus restricted to @code{root}."
  17239. msgstr ""
  17240. #. type: item
  17241. #: guix-git/doc/guix.texi:11570
  17242. #, no-wrap
  17243. msgid "--derivations"
  17244. msgstr ""
  17245. #. type: table
  17246. #: guix-git/doc/guix.texi:11574
  17247. msgid "Return the derivation paths, not the output paths, of the given packages."
  17248. msgstr ""
  17249. #. type: cindex
  17250. #: guix-git/doc/guix.texi:11577
  17251. #, no-wrap
  17252. msgid "GC roots, adding"
  17253. msgstr ""
  17254. #. type: cindex
  17255. #: guix-git/doc/guix.texi:11578
  17256. #, no-wrap
  17257. msgid "garbage collector roots, adding"
  17258. msgstr ""
  17259. #. type: table
  17260. #: guix-git/doc/guix.texi:11581 guix-git/doc/guix.texi:35312
  17261. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  17262. msgstr ""
  17263. #. type: table
  17264. #: guix-git/doc/guix.texi:11587
  17265. 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."
  17266. msgstr ""
  17267. #. type: item
  17268. #: guix-git/doc/guix.texi:11588
  17269. #, no-wrap
  17270. msgid "--log-file"
  17271. msgstr ""
  17272. #. type: cindex
  17273. #: guix-git/doc/guix.texi:11589
  17274. #, no-wrap
  17275. msgid "build logs, access"
  17276. msgstr ""
  17277. #. type: table
  17278. #: guix-git/doc/guix.texi:11593
  17279. 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."
  17280. msgstr ""
  17281. #. type: table
  17282. #: guix-git/doc/guix.texi:11596
  17283. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  17284. msgstr ""
  17285. #. type: example
  17286. #: guix-git/doc/guix.texi:11602
  17287. #, no-wrap
  17288. msgid ""
  17289. "guix build --log-file $(guix build -d guile)\n"
  17290. "guix build --log-file $(guix build guile)\n"
  17291. "guix build --log-file guile\n"
  17292. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  17293. msgstr ""
  17294. #. type: table
  17295. #: guix-git/doc/guix.texi:11607
  17296. 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})."
  17297. msgstr ""
  17298. #. type: table
  17299. #: guix-git/doc/guix.texi:11610
  17300. 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:"
  17301. msgstr ""
  17302. #. type: example
  17303. #: guix-git/doc/guix.texi:11614
  17304. #, no-wrap
  17305. msgid ""
  17306. "$ guix build --log-file gdb -s aarch64-linux\n"
  17307. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  17308. msgstr ""
  17309. #. type: table
  17310. #: guix-git/doc/guix.texi:11617
  17311. msgid "You can freely access a huge library of build logs!"
  17312. msgstr ""
  17313. #. type: cindex
  17314. #: guix-git/doc/guix.texi:11622
  17315. #, no-wrap
  17316. msgid "build failures, debugging"
  17317. msgstr ""
  17318. #. type: Plain text
  17319. #: guix-git/doc/guix.texi:11628
  17320. 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."
  17321. msgstr ""
  17322. #. type: Plain text
  17323. #: guix-git/doc/guix.texi:11633
  17324. 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}})."
  17325. msgstr ""
  17326. #. type: Plain text
  17327. #: guix-git/doc/guix.texi:11639
  17328. 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:"
  17329. msgstr ""
  17330. #. type: example
  17331. #: guix-git/doc/guix.texi:11646
  17332. #, no-wrap
  17333. msgid ""
  17334. "$ guix build foo -K\n"
  17335. "@dots{} @i{build fails}\n"
  17336. "$ cd /tmp/guix-build-foo.drv-0\n"
  17337. "$ source ./environment-variables\n"
  17338. "$ cd foo-1.2\n"
  17339. msgstr ""
  17340. #. type: Plain text
  17341. #: guix-git/doc/guix.texi:11650
  17342. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  17343. msgstr ""
  17344. #. type: Plain text
  17345. #: guix-git/doc/guix.texi:11656
  17346. 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})."
  17347. msgstr ""
  17348. #. type: Plain text
  17349. #: guix-git/doc/guix.texi:11659
  17350. 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:"
  17351. msgstr ""
  17352. #. type: example
  17353. #: guix-git/doc/guix.texi:11667
  17354. #, no-wrap
  17355. msgid ""
  17356. "$ guix build -K foo\n"
  17357. "@dots{}\n"
  17358. "$ cd /tmp/guix-build-foo.drv-0\n"
  17359. "$ guix shell --no-grafts -C -D foo strace gdb\n"
  17360. "[env]# source ./environment-variables\n"
  17361. "[env]# cd foo-1.2\n"
  17362. msgstr ""
  17363. #. type: Plain text
  17364. #: guix-git/doc/guix.texi:11676
  17365. msgid "Here, @command{guix shell -C} creates a container and spawns a new shell in it (@pxref{Invoking guix shell}). The @command{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)."
  17366. msgstr ""
  17367. #. type: Plain text
  17368. #: guix-git/doc/guix.texi:11679
  17369. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  17370. msgstr ""
  17371. #. type: example
  17372. #: guix-git/doc/guix.texi:11682
  17373. #, no-wrap
  17374. msgid "[env]# rm /bin/sh\n"
  17375. msgstr ""
  17376. #. type: Plain text
  17377. #: guix-git/doc/guix.texi:11686
  17378. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix shell}.)"
  17379. msgstr ""
  17380. #. type: Plain text
  17381. #: guix-git/doc/guix.texi:11689
  17382. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  17383. msgstr ""
  17384. #. type: example
  17385. #: guix-git/doc/guix.texi:11692
  17386. #, no-wrap
  17387. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  17388. msgstr ""
  17389. #. type: Plain text
  17390. #: guix-git/doc/guix.texi:11697
  17391. 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."
  17392. msgstr ""
  17393. #. type: section
  17394. #: guix-git/doc/guix.texi:11700
  17395. #, no-wrap
  17396. msgid "Invoking @command{guix edit}"
  17397. msgstr ""
  17398. #. type: command{#1}
  17399. #: guix-git/doc/guix.texi:11702
  17400. #, no-wrap
  17401. msgid "guix edit"
  17402. msgstr ""
  17403. #. type: cindex
  17404. #: guix-git/doc/guix.texi:11703
  17405. #, no-wrap
  17406. msgid "package definition, editing"
  17407. msgstr ""
  17408. #. type: Plain text
  17409. #: guix-git/doc/guix.texi:11708
  17410. 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:"
  17411. msgstr ""
  17412. #. type: example
  17413. #: guix-git/doc/guix.texi:11711
  17414. #, no-wrap
  17415. msgid "guix edit gcc@@4.9 vim\n"
  17416. msgstr ""
  17417. #. type: Plain text
  17418. #: guix-git/doc/guix.texi:11717
  17419. 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."
  17420. msgstr ""
  17421. #. type: Plain text
  17422. #: guix-git/doc/guix.texi:11723
  17423. 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."
  17424. msgstr ""
  17425. #. type: Plain text
  17426. #: guix-git/doc/guix.texi:11728
  17427. 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."
  17428. msgstr ""
  17429. #. type: section
  17430. #: guix-git/doc/guix.texi:11730
  17431. #, no-wrap
  17432. msgid "Invoking @command{guix download}"
  17433. msgstr ""
  17434. #. type: command{#1}
  17435. #: guix-git/doc/guix.texi:11732
  17436. #, no-wrap
  17437. msgid "guix download"
  17438. msgstr ""
  17439. #. type: cindex
  17440. #: guix-git/doc/guix.texi:11733
  17441. #, no-wrap
  17442. msgid "downloading package sources"
  17443. msgstr ""
  17444. #. type: Plain text
  17445. #: guix-git/doc/guix.texi:11740
  17446. 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."
  17447. msgstr ""
  17448. #. type: Plain text
  17449. #: guix-git/doc/guix.texi:11747
  17450. 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})."
  17451. msgstr ""
  17452. #. type: Plain text
  17453. #: guix-git/doc/guix.texi:11755
  17454. 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."
  17455. msgstr ""
  17456. #. type: Plain text
  17457. #: guix-git/doc/guix.texi:11760
  17458. 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."
  17459. msgstr ""
  17460. #. type: Plain text
  17461. #: guix-git/doc/guix.texi:11762 guix-git/doc/guix.texi:13565
  17462. msgid "The following options are available:"
  17463. msgstr ""
  17464. #. type: item
  17465. #: guix-git/doc/guix.texi:11764 guix-git/doc/guix.texi:11808
  17466. #, no-wrap
  17467. msgid "--hash=@var{algorithm}"
  17468. msgstr ""
  17469. #. type: itemx
  17470. #: guix-git/doc/guix.texi:11765 guix-git/doc/guix.texi:11809
  17471. #, no-wrap
  17472. msgid "-H @var{algorithm}"
  17473. msgstr ""
  17474. #. type: table
  17475. #: guix-git/doc/guix.texi:11768
  17476. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  17477. msgstr ""
  17478. #. type: item
  17479. #: guix-git/doc/guix.texi:11769 guix-git/doc/guix.texi:11818
  17480. #, no-wrap
  17481. msgid "--format=@var{fmt}"
  17482. msgstr ""
  17483. #. type: itemx
  17484. #: guix-git/doc/guix.texi:11770 guix-git/doc/guix.texi:11819
  17485. #, no-wrap
  17486. msgid "-f @var{fmt}"
  17487. msgstr ""
  17488. #. type: table
  17489. #: guix-git/doc/guix.texi:11773
  17490. 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}."
  17491. msgstr ""
  17492. #. type: item
  17493. #: guix-git/doc/guix.texi:11774
  17494. #, no-wrap
  17495. msgid "--no-check-certificate"
  17496. msgstr ""
  17497. #. type: table
  17498. #: guix-git/doc/guix.texi:11776
  17499. msgid "Do not validate the X.509 certificates of HTTPS servers."
  17500. msgstr ""
  17501. #. type: table
  17502. #: guix-git/doc/guix.texi:11780
  17503. 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."
  17504. msgstr ""
  17505. #. type: item
  17506. #: guix-git/doc/guix.texi:11781
  17507. #, no-wrap
  17508. msgid "--output=@var{file}"
  17509. msgstr ""
  17510. #. type: itemx
  17511. #: guix-git/doc/guix.texi:11782
  17512. #, no-wrap
  17513. msgid "-o @var{file}"
  17514. msgstr ""
  17515. #. type: table
  17516. #: guix-git/doc/guix.texi:11785
  17517. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  17518. msgstr ""
  17519. #. type: section
  17520. #: guix-git/doc/guix.texi:11788
  17521. #, no-wrap
  17522. msgid "Invoking @command{guix hash}"
  17523. msgstr ""
  17524. #. type: command{#1}
  17525. #: guix-git/doc/guix.texi:11790
  17526. #, no-wrap
  17527. msgid "guix hash"
  17528. msgstr ""
  17529. #. type: Plain text
  17530. #: guix-git/doc/guix.texi:11795
  17531. 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 one or more files, which can be used in the definition of a package (@pxref{Defining Packages})."
  17532. msgstr ""
  17533. #. type: example
  17534. #: guix-git/doc/guix.texi:11800
  17535. #, no-wrap
  17536. msgid "guix hash @var{option} @var{file} ...\n"
  17537. msgstr ""
  17538. #. type: Plain text
  17539. #: guix-git/doc/guix.texi:11805
  17540. 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:"
  17541. msgstr ""
  17542. #. type: table
  17543. #: guix-git/doc/guix.texi:11812
  17544. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  17545. msgstr ""
  17546. #. type: table
  17547. #: guix-git/doc/guix.texi:11817
  17548. 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})."
  17549. msgstr ""
  17550. #. type: table
  17551. #: guix-git/doc/guix.texi:11821
  17552. msgid "Write the hash in the format specified by @var{fmt}."
  17553. msgstr ""
  17554. #. type: table
  17555. #: guix-git/doc/guix.texi:11824
  17556. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  17557. msgstr ""
  17558. #. type: table
  17559. #: guix-git/doc/guix.texi:11828
  17560. 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."
  17561. msgstr ""
  17562. #. type: table
  17563. #: guix-git/doc/guix.texi:11833
  17564. msgid "This option is deprecated in favor of @option{--serializer}. It is a legacy alias for @var{type} sets to @code{nar}."
  17565. msgstr ""
  17566. #. type: item
  17567. #: guix-git/doc/guix.texi:11834
  17568. #, no-wrap
  17569. msgid "--serializer=@var{type}"
  17570. msgstr ""
  17571. #. type: table
  17572. #: guix-git/doc/guix.texi:11837
  17573. msgid "Compute the hash on @var{file} using @var{type} serialization."
  17574. msgstr ""
  17575. #. type: table
  17576. #: guix-git/doc/guix.texi:11839
  17577. msgid "@var{type} may be one of the following:"
  17578. msgstr ""
  17579. #. type: item
  17580. #: guix-git/doc/guix.texi:11841 guix-git/doc/guix.texi:13918
  17581. #: guix-git/doc/guix.texi:17405 guix-git/doc/guix.texi:19679
  17582. #, no-wrap
  17583. msgid "none"
  17584. msgstr ""
  17585. #. type: table
  17586. #: guix-git/doc/guix.texi:11843
  17587. msgid "This is the default: it computes the hash of a file's contents."
  17588. msgstr ""
  17589. #. type: item
  17590. #: guix-git/doc/guix.texi:11844
  17591. #, no-wrap
  17592. msgid "nar"
  17593. msgstr ""
  17594. #. type: table
  17595. #: guix-git/doc/guix.texi:11854
  17596. msgid "Compute the hash of a ``normalized archive'' (or ``nar'') 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}, for more info on the nar format)."
  17597. msgstr ""
  17598. #. type: item
  17599. #: guix-git/doc/guix.texi:11855
  17600. #, no-wrap
  17601. msgid "git"
  17602. msgstr ""
  17603. #. type: table
  17604. #: guix-git/doc/guix.texi:11858
  17605. msgid "Compute the has of the file or directory as a Git ``tree'', following the same method as the Git version control system."
  17606. msgstr ""
  17607. #. type: item
  17608. #: guix-git/doc/guix.texi:11860
  17609. #, no-wrap
  17610. msgid "--exclude-vcs"
  17611. msgstr ""
  17612. #. type: itemx
  17613. #: guix-git/doc/guix.texi:11861 guix-git/doc/guix.texi:13038
  17614. #, no-wrap
  17615. msgid "-x"
  17616. msgstr ""
  17617. #. type: table
  17618. #: guix-git/doc/guix.texi:11864
  17619. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  17620. msgstr ""
  17621. #. type: vindex
  17622. #: guix-git/doc/guix.texi:11865
  17623. #, no-wrap
  17624. msgid "git-fetch"
  17625. msgstr ""
  17626. #. type: table
  17627. #: guix-git/doc/guix.texi:11869
  17628. 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}):"
  17629. msgstr ""
  17630. #. type: example
  17631. #: guix-git/doc/guix.texi:11874
  17632. #, no-wrap
  17633. msgid ""
  17634. "$ git clone http://example.org/foo.git\n"
  17635. "$ cd foo\n"
  17636. "$ guix hash -rx .\n"
  17637. msgstr ""
  17638. #. type: cindex
  17639. #: guix-git/doc/guix.texi:11878 guix-git/doc/guix.texi:11883
  17640. #, no-wrap
  17641. msgid "Invoking @command{guix import}"
  17642. msgstr ""
  17643. #. type: cindex
  17644. #: guix-git/doc/guix.texi:11880
  17645. #, no-wrap
  17646. msgid "importing packages"
  17647. msgstr ""
  17648. #. type: cindex
  17649. #: guix-git/doc/guix.texi:11881
  17650. #, no-wrap
  17651. msgid "package import"
  17652. msgstr ""
  17653. #. type: cindex
  17654. #: guix-git/doc/guix.texi:11882
  17655. #, no-wrap
  17656. msgid "package conversion"
  17657. msgstr ""
  17658. #. type: Plain text
  17659. #: guix-git/doc/guix.texi:11890
  17660. 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})."
  17661. msgstr ""
  17662. #. type: example
  17663. #: guix-git/doc/guix.texi:11895
  17664. #, no-wrap
  17665. msgid "guix import @var{importer} @var{options}@dots{}\n"
  17666. msgstr ""
  17667. #. type: Plain text
  17668. #: guix-git/doc/guix.texi:11900
  17669. 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}."
  17670. msgstr ""
  17671. #. type: Plain text
  17672. #: guix-git/doc/guix.texi:11904
  17673. 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."
  17674. msgstr ""
  17675. #. type: Plain text
  17676. #: guix-git/doc/guix.texi:11906
  17677. msgid "Currently, the available ``importers'' are:"
  17678. msgstr ""
  17679. #. type: item
  17680. #: guix-git/doc/guix.texi:11908 guix-git/doc/guix.texi:12546
  17681. #, no-wrap
  17682. msgid "gnu"
  17683. msgstr ""
  17684. #. type: table
  17685. #: guix-git/doc/guix.texi:11912
  17686. 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."
  17687. msgstr ""
  17688. #. type: table
  17689. #: guix-git/doc/guix.texi:11915
  17690. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  17691. msgstr ""
  17692. #. type: table
  17693. #: guix-git/doc/guix.texi:11918
  17694. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  17695. msgstr ""
  17696. #. type: example
  17697. #: guix-git/doc/guix.texi:11921
  17698. #, no-wrap
  17699. msgid "guix import gnu hello\n"
  17700. msgstr ""
  17701. #. type: table
  17702. #: guix-git/doc/guix.texi:11924 guix-git/doc/guix.texi:12165
  17703. #: guix-git/doc/guix.texi:12215 guix-git/doc/guix.texi:12244
  17704. msgid "Specific command-line options are:"
  17705. msgstr ""
  17706. #. type: item
  17707. #: guix-git/doc/guix.texi:11926 guix-git/doc/guix.texi:12743
  17708. #, no-wrap
  17709. msgid "--key-download=@var{policy}"
  17710. msgstr ""
  17711. #. type: table
  17712. #: guix-git/doc/guix.texi:11930
  17713. 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}}."
  17714. msgstr ""
  17715. #. type: item
  17716. #: guix-git/doc/guix.texi:11932 guix-git/doc/guix.texi:11933
  17717. #: guix-git/doc/guix.texi:12570
  17718. #, no-wrap
  17719. msgid "pypi"
  17720. msgstr ""
  17721. #. type: table
  17722. #: guix-git/doc/guix.texi:11940
  17723. 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."
  17724. msgstr ""
  17725. #. type: table
  17726. #: guix-git/doc/guix.texi:11943
  17727. msgid "The command below imports metadata for the latest version of the @code{itsdangerous} Python package:"
  17728. msgstr ""
  17729. #. type: example
  17730. #: guix-git/doc/guix.texi:11946
  17731. #, no-wrap
  17732. msgid "guix import pypi itsdangerous\n"
  17733. msgstr ""
  17734. #. type: table
  17735. #: guix-git/doc/guix.texi:11949 guix-git/doc/guix.texi:12052
  17736. #: guix-git/doc/guix.texi:12393
  17737. msgid "You can also ask for a specific version:"
  17738. msgstr ""
  17739. #. type: example
  17740. #: guix-git/doc/guix.texi:11952
  17741. #, no-wrap
  17742. msgid "guix import pypi itsdangerous@@1.1.0\n"
  17743. msgstr ""
  17744. #. type: table
  17745. #: guix-git/doc/guix.texi:11960 guix-git/doc/guix.texi:11985
  17746. #: guix-git/doc/guix.texi:12017 guix-git/doc/guix.texi:12188
  17747. #: guix-git/doc/guix.texi:12229 guix-git/doc/guix.texi:12280
  17748. #: guix-git/doc/guix.texi:12305 guix-git/doc/guix.texi:12321
  17749. #: guix-git/doc/guix.texi:12369 guix-git/doc/guix.texi:12405
  17750. 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."
  17751. msgstr ""
  17752. #. type: item
  17753. #: guix-git/doc/guix.texi:11962 guix-git/doc/guix.texi:11963
  17754. #: guix-git/doc/guix.texi:12572
  17755. #, no-wrap
  17756. msgid "gem"
  17757. msgstr ""
  17758. #. type: table
  17759. #: guix-git/doc/guix.texi:11972
  17760. 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."
  17761. msgstr ""
  17762. #. type: table
  17763. #: guix-git/doc/guix.texi:11974
  17764. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  17765. msgstr ""
  17766. #. type: example
  17767. #: guix-git/doc/guix.texi:11977
  17768. #, no-wrap
  17769. msgid "guix import gem rails\n"
  17770. msgstr ""
  17771. #. type: cindex
  17772. #: guix-git/doc/guix.texi:11987 guix-git/doc/guix.texi:11988
  17773. #, no-wrap
  17774. msgid "minetest"
  17775. msgstr ""
  17776. #. type: cindex
  17777. #: guix-git/doc/guix.texi:11989
  17778. #, no-wrap
  17779. msgid "ContentDB"
  17780. msgstr ""
  17781. #. type: table
  17782. #: guix-git/doc/guix.texi:11998
  17783. msgid "Import metadata from @uref{https://content.minetest.net, ContentDB}. Information is taken from the JSON-formatted metadata provided through @uref{https://content.minetest.net/help/api/, ContentDB's API} and includes most relevant information, including dependencies. There are some caveats, however. The license information is often incomplete. The commit hash is sometimes missing. The descriptions are in the Markdown format, but Guix uses Texinfo instead. Texture packs and subgames are unsupported."
  17784. msgstr ""
  17785. #. type: table
  17786. #: guix-git/doc/guix.texi:12000
  17787. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  17788. msgstr ""
  17789. #. type: example
  17790. #: guix-git/doc/guix.texi:12003
  17791. #, no-wrap
  17792. msgid "guix import minetest Jeija/mesecons\n"
  17793. msgstr ""
  17794. #. type: table
  17795. #: guix-git/doc/guix.texi:12006
  17796. msgid "The author name can also be left out:"
  17797. msgstr ""
  17798. #. type: example
  17799. #: guix-git/doc/guix.texi:12009
  17800. #, no-wrap
  17801. msgid "guix import minetest mesecons\n"
  17802. msgstr ""
  17803. #. type: item
  17804. #: guix-git/doc/guix.texi:12019 guix-git/doc/guix.texi:12568
  17805. #, no-wrap
  17806. msgid "cpan"
  17807. msgstr ""
  17808. #. type: cindex
  17809. #: guix-git/doc/guix.texi:12020
  17810. #, no-wrap
  17811. msgid "CPAN"
  17812. msgstr ""
  17813. #. type: table
  17814. #: guix-git/doc/guix.texi:12028
  17815. 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."
  17816. msgstr ""
  17817. #. type: table
  17818. #: guix-git/doc/guix.texi:12031
  17819. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  17820. msgstr ""
  17821. #. type: example
  17822. #: guix-git/doc/guix.texi:12034
  17823. #, no-wrap
  17824. msgid "guix import cpan Acme::Boolean\n"
  17825. msgstr ""
  17826. #. type: item
  17827. #: guix-git/doc/guix.texi:12036 guix-git/doc/guix.texi:12564
  17828. #, no-wrap
  17829. msgid "cran"
  17830. msgstr ""
  17831. #. type: cindex
  17832. #: guix-git/doc/guix.texi:12037
  17833. #, no-wrap
  17834. msgid "CRAN"
  17835. msgstr ""
  17836. #. type: cindex
  17837. #: guix-git/doc/guix.texi:12038
  17838. #, no-wrap
  17839. msgid "Bioconductor"
  17840. msgstr ""
  17841. #. type: table
  17842. #: guix-git/doc/guix.texi:12042
  17843. 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}."
  17844. msgstr ""
  17845. #. type: table
  17846. #: guix-git/doc/guix.texi:12044
  17847. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  17848. msgstr ""
  17849. #. type: table
  17850. #: guix-git/doc/guix.texi:12046
  17851. msgid "The command command below imports metadata for the Cairo R package:"
  17852. msgstr ""
  17853. #. type: example
  17854. #: guix-git/doc/guix.texi:12049
  17855. #, no-wrap
  17856. msgid "guix import cran Cairo\n"
  17857. msgstr ""
  17858. #. type: example
  17859. #: guix-git/doc/guix.texi:12055
  17860. #, no-wrap
  17861. msgid "guix import cran rasterVis@@0.50.3\n"
  17862. msgstr ""
  17863. #. type: table
  17864. #: guix-git/doc/guix.texi:12060
  17865. 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."
  17866. msgstr ""
  17867. #. type: table
  17868. #: guix-git/doc/guix.texi:12067
  17869. 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}."
  17870. msgstr ""
  17871. #. type: table
  17872. #: guix-git/doc/guix.texi:12072
  17873. 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."
  17874. msgstr ""
  17875. #. type: table
  17876. #: guix-git/doc/guix.texi:12075
  17877. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  17878. msgstr ""
  17879. #. type: table
  17880. #: guix-git/doc/guix.texi:12077
  17881. msgid "The command below imports metadata for the GenomicRanges R package:"
  17882. msgstr ""
  17883. #. type: example
  17884. #: guix-git/doc/guix.texi:12080
  17885. #, no-wrap
  17886. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  17887. msgstr ""
  17888. #. type: table
  17889. #: guix-git/doc/guix.texi:12085
  17890. 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:"
  17891. msgstr ""
  17892. #. type: example
  17893. #: guix-git/doc/guix.texi:12088
  17894. #, no-wrap
  17895. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  17896. msgstr ""
  17897. #. type: item
  17898. #: guix-git/doc/guix.texi:12090
  17899. #, no-wrap
  17900. msgid "texlive"
  17901. msgstr ""
  17902. #. type: cindex
  17903. #: guix-git/doc/guix.texi:12091
  17904. #, no-wrap
  17905. msgid "TeX Live"
  17906. msgstr ""
  17907. #. type: cindex
  17908. #: guix-git/doc/guix.texi:12092
  17909. #, no-wrap
  17910. msgid "CTAN"
  17911. msgstr ""
  17912. #. type: table
  17913. #: guix-git/doc/guix.texi:12096
  17914. msgid "Import TeX package information from the TeX Live package database for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}."
  17915. msgstr ""
  17916. #. type: table
  17917. #: guix-git/doc/guix.texi:12101
  17918. msgid "Information about the package is obtained from the TeX Live package database, a plain text file that is included in the @code{texlive-bin} package. The source code is downloaded from possibly multiple locations in the SVN repository of the Tex Live project."
  17919. msgstr ""
  17920. #. type: table
  17921. #: guix-git/doc/guix.texi:12104
  17922. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  17923. msgstr ""
  17924. #. type: example
  17925. #: guix-git/doc/guix.texi:12107
  17926. #, no-wrap
  17927. msgid "guix import texlive fontspec\n"
  17928. msgstr ""
  17929. #. type: cindex
  17930. #: guix-git/doc/guix.texi:12110
  17931. #, no-wrap
  17932. msgid "JSON, import"
  17933. msgstr ""
  17934. #. type: table
  17935. #: guix-git/doc/guix.texi:12113
  17936. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  17937. msgstr ""
  17938. #. type: example
  17939. #: guix-git/doc/guix.texi:12126
  17940. #, no-wrap
  17941. msgid ""
  17942. "@{\n"
  17943. " \"name\": \"hello\",\n"
  17944. " \"version\": \"2.10\",\n"
  17945. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17946. " \"build-system\": \"gnu\",\n"
  17947. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  17948. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  17949. " \"description\": \"GNU Hello prints a greeting.\",\n"
  17950. " \"license\": \"GPL-3.0+\",\n"
  17951. " \"native-inputs\": [\"gettext\"]\n"
  17952. "@}\n"
  17953. msgstr ""
  17954. #. type: table
  17955. #: guix-git/doc/guix.texi:12132
  17956. 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}."
  17957. msgstr ""
  17958. #. type: table
  17959. #: guix-git/doc/guix.texi:12135
  17960. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  17961. msgstr ""
  17962. #. type: example
  17963. #: guix-git/doc/guix.texi:12148
  17964. #, no-wrap
  17965. msgid ""
  17966. "@{\n"
  17967. " @dots{}\n"
  17968. " \"source\": @{\n"
  17969. " \"method\": \"url-fetch\",\n"
  17970. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17971. " \"sha256\": @{\n"
  17972. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  17973. " @}\n"
  17974. " @}\n"
  17975. " @dots{}\n"
  17976. "@}\n"
  17977. msgstr ""
  17978. #. type: table
  17979. #: guix-git/doc/guix.texi:12152
  17980. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  17981. msgstr ""
  17982. #. type: example
  17983. #: guix-git/doc/guix.texi:12155
  17984. #, no-wrap
  17985. msgid "guix import json hello.json\n"
  17986. msgstr ""
  17987. #. type: item
  17988. #: guix-git/doc/guix.texi:12157 guix-git/doc/guix.texi:12158
  17989. #: guix-git/doc/guix.texi:12576
  17990. #, no-wrap
  17991. msgid "hackage"
  17992. msgstr ""
  17993. #. type: table
  17994. #: guix-git/doc/guix.texi:12163
  17995. 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."
  17996. msgstr ""
  17997. #. type: item
  17998. #: guix-git/doc/guix.texi:12167
  17999. #, no-wrap
  18000. msgid "--stdin"
  18001. msgstr ""
  18002. #. type: itemx
  18003. #: guix-git/doc/guix.texi:12168
  18004. #, no-wrap
  18005. msgid "-s"
  18006. msgstr ""
  18007. #. type: table
  18008. #: guix-git/doc/guix.texi:12170
  18009. msgid "Read a Cabal file from standard input."
  18010. msgstr ""
  18011. #. type: item
  18012. #: guix-git/doc/guix.texi:12170 guix-git/doc/guix.texi:12217
  18013. #, no-wrap
  18014. msgid "--no-test-dependencies"
  18015. msgstr ""
  18016. #. type: table
  18017. #: guix-git/doc/guix.texi:12173 guix-git/doc/guix.texi:12220
  18018. msgid "Do not include dependencies required only by the test suites."
  18019. msgstr ""
  18020. #. type: item
  18021. #: guix-git/doc/guix.texi:12173
  18022. #, no-wrap
  18023. msgid "--cabal-environment=@var{alist}"
  18024. msgstr ""
  18025. #. type: itemx
  18026. #: guix-git/doc/guix.texi:12174
  18027. #, no-wrap
  18028. msgid "-e @var{alist}"
  18029. msgstr ""
  18030. #. type: table
  18031. #: guix-git/doc/guix.texi:12183
  18032. 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."
  18033. msgstr ""
  18034. #. type: table
  18035. #: guix-git/doc/guix.texi:12193
  18036. 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}:"
  18037. msgstr ""
  18038. #. type: example
  18039. #: guix-git/doc/guix.texi:12196
  18040. #, no-wrap
  18041. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  18042. msgstr ""
  18043. #. type: table
  18044. #: guix-git/doc/guix.texi:12200
  18045. 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:"
  18046. msgstr ""
  18047. #. type: example
  18048. #: guix-git/doc/guix.texi:12203
  18049. #, no-wrap
  18050. msgid "guix import hackage mtl@@2.1.3.1\n"
  18051. msgstr ""
  18052. #. type: item
  18053. #: guix-git/doc/guix.texi:12205 guix-git/doc/guix.texi:12206
  18054. #: guix-git/doc/guix.texi:12578
  18055. #, no-wrap
  18056. msgid "stackage"
  18057. msgstr ""
  18058. #. type: table
  18059. #: guix-git/doc/guix.texi:12213
  18060. 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."
  18061. msgstr ""
  18062. #. type: item
  18063. #: guix-git/doc/guix.texi:12220
  18064. #, no-wrap
  18065. msgid "--lts-version=@var{version}"
  18066. msgstr ""
  18067. #. type: itemx
  18068. #: guix-git/doc/guix.texi:12221
  18069. #, no-wrap
  18070. msgid "-l @var{version}"
  18071. msgstr ""
  18072. #. type: table
  18073. #: guix-git/doc/guix.texi:12224
  18074. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  18075. msgstr ""
  18076. #. type: table
  18077. #: guix-git/doc/guix.texi:12233
  18078. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  18079. msgstr ""
  18080. #. type: example
  18081. #: guix-git/doc/guix.texi:12236
  18082. #, no-wrap
  18083. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  18084. msgstr ""
  18085. #. type: item
  18086. #: guix-git/doc/guix.texi:12238 guix-git/doc/guix.texi:12239
  18087. #: guix-git/doc/guix.texi:12562
  18088. #, no-wrap
  18089. msgid "elpa"
  18090. msgstr ""
  18091. #. type: table
  18092. #: guix-git/doc/guix.texi:12242
  18093. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  18094. msgstr ""
  18095. #. type: item
  18096. #: guix-git/doc/guix.texi:12246
  18097. #, no-wrap
  18098. msgid "--archive=@var{repo}"
  18099. msgstr ""
  18100. #. type: itemx
  18101. #: guix-git/doc/guix.texi:12247
  18102. #, no-wrap
  18103. msgid "-a @var{repo}"
  18104. msgstr ""
  18105. #. type: table
  18106. #: guix-git/doc/guix.texi:12251
  18107. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  18108. msgstr ""
  18109. #. type: itemize
  18110. #: guix-git/doc/guix.texi:12255
  18111. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  18112. msgstr ""
  18113. #. type: itemize
  18114. #: guix-git/doc/guix.texi:12261
  18115. 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})."
  18116. msgstr ""
  18117. #. type: itemize
  18118. #: guix-git/doc/guix.texi:12265
  18119. msgid "@uref{https://elpa.nongnu.org/nongnu/, NonGNU}, selected by the @code{nongnu} identifier."
  18120. msgstr ""
  18121. #. type: itemize
  18122. #: guix-git/doc/guix.texi:12269
  18123. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  18124. msgstr ""
  18125. #. type: itemize
  18126. #: guix-git/doc/guix.texi:12273
  18127. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  18128. msgstr ""
  18129. #. type: item
  18130. #: guix-git/doc/guix.texi:12282 guix-git/doc/guix.texi:12283
  18131. #: guix-git/doc/guix.texi:12580
  18132. #, no-wrap
  18133. msgid "crate"
  18134. msgstr ""
  18135. #. type: table
  18136. #: guix-git/doc/guix.texi:12286
  18137. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  18138. msgstr ""
  18139. #. type: example
  18140. #: guix-git/doc/guix.texi:12289
  18141. #, no-wrap
  18142. msgid "guix import crate blake2-rfc\n"
  18143. msgstr ""
  18144. #. type: table
  18145. #: guix-git/doc/guix.texi:12292
  18146. msgid "The crate importer also allows you to specify a version string:"
  18147. msgstr ""
  18148. #. type: example
  18149. #: guix-git/doc/guix.texi:12295
  18150. #, no-wrap
  18151. msgid "guix import crate constant-time-eq@@0.1.0\n"
  18152. msgstr ""
  18153. #. type: table
  18154. #: guix-git/doc/guix.texi:12298 guix-git/doc/guix.texi:12314
  18155. #: guix-git/doc/guix.texi:12362 guix-git/doc/guix.texi:12399
  18156. msgid "Additional options include:"
  18157. msgstr ""
  18158. #. type: item
  18159. #: guix-git/doc/guix.texi:12307
  18160. #, no-wrap
  18161. msgid "opam"
  18162. msgstr ""
  18163. #. type: cindex
  18164. #: guix-git/doc/guix.texi:12308
  18165. #, no-wrap
  18166. msgid "OPAM"
  18167. msgstr ""
  18168. #. type: cindex
  18169. #: guix-git/doc/guix.texi:12309
  18170. #, no-wrap
  18171. msgid "OCaml"
  18172. msgstr ""
  18173. #. type: table
  18174. #: guix-git/doc/guix.texi:12312
  18175. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  18176. msgstr ""
  18177. #. type: item
  18178. #: guix-git/doc/guix.texi:12321
  18179. #, no-wrap
  18180. msgid "--repo"
  18181. msgstr ""
  18182. #. type: table
  18183. #: guix-git/doc/guix.texi:12325
  18184. msgid "By default, packages are searched in the official OPAM repository. This option, which can be used more than once, lets you add other repositories which will be searched for packages. It accepts as valid arguments:"
  18185. msgstr ""
  18186. #. type: item
  18187. #: guix-git/doc/guix.texi:12327
  18188. #, no-wrap
  18189. msgid "the name of a known repository - can be one of @code{opam},"
  18190. msgstr ""
  18191. #. type: itemize
  18192. #: guix-git/doc/guix.texi:12330
  18193. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  18194. msgstr ""
  18195. #. type: item
  18196. #: guix-git/doc/guix.texi:12330
  18197. #, no-wrap
  18198. msgid "the URL of a repository as expected by the"
  18199. msgstr ""
  18200. #. type: itemize
  18201. #: guix-git/doc/guix.texi:12334
  18202. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  18203. msgstr ""
  18204. #. type: item
  18205. #: guix-git/doc/guix.texi:12334
  18206. #, no-wrap
  18207. msgid "the path to a local copy of a repository (a directory containing a"
  18208. msgstr ""
  18209. #. type: itemize
  18210. #: guix-git/doc/guix.texi:12336
  18211. msgid "@file{packages/} sub-directory)."
  18212. msgstr ""
  18213. #. type: table
  18214. #: guix-git/doc/guix.texi:12341
  18215. msgid "Repositories are assumed to be passed to this option by order of preference. The additional repositories will not replace the default @code{opam} repository, which is always kept as a fallback."
  18216. msgstr ""
  18217. #. type: table
  18218. #: guix-git/doc/guix.texi:12346
  18219. msgid "Also, please note that versions are not compared across repositories. The first repository (from left to right) that has at least one version of a given package will prevail over any others, and the version imported will be the latest one found @emph{in this repository only}."
  18220. msgstr ""
  18221. #. type: cindex
  18222. #: guix-git/doc/guix.texi:12349 guix-git/doc/guix.texi:12350
  18223. #, no-wrap
  18224. msgid "go"
  18225. msgstr ""
  18226. #. type: table
  18227. #: guix-git/doc/guix.texi:12353
  18228. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  18229. msgstr ""
  18230. #. type: example
  18231. #: guix-git/doc/guix.texi:12356
  18232. #, no-wrap
  18233. msgid "guix import go gopkg.in/yaml.v2\n"
  18234. msgstr ""
  18235. #. type: table
  18236. #: guix-git/doc/guix.texi:12360
  18237. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  18238. msgstr ""
  18239. #. type: item
  18240. #: guix-git/doc/guix.texi:12369
  18241. #, no-wrap
  18242. msgid "--pin-versions"
  18243. msgstr ""
  18244. #. type: table
  18245. #: guix-git/doc/guix.texi:12377
  18246. 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."
  18247. msgstr ""
  18248. #. type: item
  18249. #: guix-git/doc/guix.texi:12379 guix-git/doc/guix.texi:12380
  18250. #: guix-git/doc/guix.texi:12560
  18251. #, no-wrap
  18252. msgid "egg"
  18253. msgstr ""
  18254. #. type: table
  18255. #: guix-git/doc/guix.texi:12387
  18256. msgid "Import metadata for @uref{https://wiki.call-cc.org/eggs, CHICKEN eggs}. The information is taken from @file{PACKAGE.egg} files found in the @uref{git://code.call-cc.org/eggs-5-all, eggs-5-all} Git repository. However, it does not provide all the information that we need, there is no ``description'' field, and the licenses used are not always precise (BSD is often used instead of BSD-N)."
  18257. msgstr ""
  18258. #. type: example
  18259. #: guix-git/doc/guix.texi:12390
  18260. #, no-wrap
  18261. msgid "guix import egg sourcehut\n"
  18262. msgstr ""
  18263. #. type: example
  18264. #: guix-git/doc/guix.texi:12396
  18265. #, no-wrap
  18266. msgid "guix import egg arrays@@1.0\n"
  18267. msgstr ""
  18268. #. type: Plain text
  18269. #: guix-git/doc/guix.texi:12411
  18270. 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})."
  18271. msgstr ""
  18272. #. type: section
  18273. #: guix-git/doc/guix.texi:12413
  18274. #, no-wrap
  18275. msgid "Invoking @command{guix refresh}"
  18276. msgstr ""
  18277. #. type: command{#1}
  18278. #: guix-git/doc/guix.texi:12415
  18279. #, no-wrap
  18280. msgid "guix refresh"
  18281. msgstr ""
  18282. #. type: Plain text
  18283. #: guix-git/doc/guix.texi:12423
  18284. 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:"
  18285. msgstr ""
  18286. #. type: example
  18287. #: guix-git/doc/guix.texi:12428
  18288. #, no-wrap
  18289. msgid ""
  18290. "$ guix refresh\n"
  18291. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  18292. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  18293. msgstr ""
  18294. #. type: Plain text
  18295. #: guix-git/doc/guix.texi:12432
  18296. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  18297. msgstr ""
  18298. #. type: example
  18299. #: guix-git/doc/guix.texi:12437
  18300. #, no-wrap
  18301. msgid ""
  18302. "$ guix refresh coreutils guile guile-ssh\n"
  18303. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  18304. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  18305. msgstr ""
  18306. #. type: Plain text
  18307. #: guix-git/doc/guix.texi:12446
  18308. 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!"
  18309. msgstr ""
  18310. #. type: table
  18311. #: guix-git/doc/guix.texi:12451
  18312. msgid "Consider the packages specified, and all the packages upon which they depend."
  18313. msgstr ""
  18314. #. type: example
  18315. #: guix-git/doc/guix.texi:12459
  18316. #, no-wrap
  18317. msgid ""
  18318. "$ guix refresh --recursive coreutils\n"
  18319. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  18320. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  18321. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  18322. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  18323. "@dots{}\n"
  18324. msgstr ""
  18325. #. type: Plain text
  18326. #: guix-git/doc/guix.texi:12467
  18327. 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:"
  18328. msgstr ""
  18329. #. type: lisp
  18330. #: guix-git/doc/guix.texi:12474
  18331. #, no-wrap
  18332. msgid ""
  18333. "(define-public network-manager\n"
  18334. " (package\n"
  18335. " (name \"network-manager\")\n"
  18336. " ;; @dots{}\n"
  18337. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  18338. msgstr ""
  18339. #. type: Plain text
  18340. #: guix-git/doc/guix.texi:12483
  18341. 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."
  18342. msgstr ""
  18343. #. type: Plain text
  18344. #: guix-git/doc/guix.texi:12489
  18345. 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."
  18346. msgstr ""
  18347. #. type: Plain text
  18348. #: guix-git/doc/guix.texi:12491
  18349. msgid "The following options are supported:"
  18350. msgstr ""
  18351. #. type: table
  18352. #: guix-git/doc/guix.texi:12499 guix-git/doc/guix.texi:13447
  18353. msgid "This is useful to precisely refer to a package, as in this example:"
  18354. msgstr ""
  18355. #. type: example
  18356. #: guix-git/doc/guix.texi:12502
  18357. #, no-wrap
  18358. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  18359. msgstr ""
  18360. #. type: table
  18361. #: guix-git/doc/guix.texi:12506
  18362. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  18363. msgstr ""
  18364. #. type: item
  18365. #: guix-git/doc/guix.texi:12507
  18366. #, no-wrap
  18367. msgid "--update"
  18368. msgstr ""
  18369. #. type: itemx
  18370. #: guix-git/doc/guix.texi:12508
  18371. #, no-wrap
  18372. msgid "-u"
  18373. msgstr ""
  18374. #. type: table
  18375. #: guix-git/doc/guix.texi:12512
  18376. 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}):"
  18377. msgstr ""
  18378. #. type: example
  18379. #: guix-git/doc/guix.texi:12515
  18380. #, no-wrap
  18381. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  18382. msgstr ""
  18383. #. type: table
  18384. #: guix-git/doc/guix.texi:12518
  18385. msgid "@xref{Defining Packages}, for more information on package definitions."
  18386. msgstr ""
  18387. #. type: item
  18388. #: guix-git/doc/guix.texi:12519
  18389. #, no-wrap
  18390. msgid "--select=[@var{subset}]"
  18391. msgstr ""
  18392. #. type: itemx
  18393. #: guix-git/doc/guix.texi:12520
  18394. #, no-wrap
  18395. msgid "-s @var{subset}"
  18396. msgstr ""
  18397. #. type: table
  18398. #: guix-git/doc/guix.texi:12523
  18399. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  18400. msgstr ""
  18401. #. type: table
  18402. #: guix-git/doc/guix.texi:12530
  18403. 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."
  18404. msgstr ""
  18405. #. type: table
  18406. #: guix-git/doc/guix.texi:12534
  18407. 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."
  18408. msgstr ""
  18409. #. type: table
  18410. #: guix-git/doc/guix.texi:12539
  18411. 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."
  18412. msgstr ""
  18413. #. type: item
  18414. #: guix-git/doc/guix.texi:12540
  18415. #, no-wrap
  18416. msgid "--type=@var{updater}"
  18417. msgstr ""
  18418. #. type: itemx
  18419. #: guix-git/doc/guix.texi:12541
  18420. #, no-wrap
  18421. msgid "-t @var{updater}"
  18422. msgstr ""
  18423. #. type: table
  18424. #: guix-git/doc/guix.texi:12544
  18425. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  18426. msgstr ""
  18427. #. type: table
  18428. #: guix-git/doc/guix.texi:12548
  18429. msgid "the updater for GNU packages;"
  18430. msgstr ""
  18431. #. type: item
  18432. #: guix-git/doc/guix.texi:12548
  18433. #, no-wrap
  18434. msgid "savannah"
  18435. msgstr ""
  18436. #. type: table
  18437. #: guix-git/doc/guix.texi:12550
  18438. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  18439. msgstr ""
  18440. #. type: item
  18441. #: guix-git/doc/guix.texi:12550
  18442. #, no-wrap
  18443. msgid "sourceforge"
  18444. msgstr ""
  18445. #. type: table
  18446. #: guix-git/doc/guix.texi:12552
  18447. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  18448. msgstr ""
  18449. #. type: item
  18450. #: guix-git/doc/guix.texi:12552
  18451. #, no-wrap
  18452. msgid "gnome"
  18453. msgstr ""
  18454. #. type: table
  18455. #: guix-git/doc/guix.texi:12554
  18456. msgid "the updater for GNOME packages;"
  18457. msgstr ""
  18458. #. type: item
  18459. #: guix-git/doc/guix.texi:12554
  18460. #, no-wrap
  18461. msgid "kde"
  18462. msgstr ""
  18463. #. type: table
  18464. #: guix-git/doc/guix.texi:12556
  18465. msgid "the updater for KDE packages;"
  18466. msgstr ""
  18467. #. type: item
  18468. #: guix-git/doc/guix.texi:12556
  18469. #, no-wrap
  18470. msgid "xorg"
  18471. msgstr ""
  18472. #. type: table
  18473. #: guix-git/doc/guix.texi:12558
  18474. msgid "the updater for X.org packages;"
  18475. msgstr ""
  18476. #. type: item
  18477. #: guix-git/doc/guix.texi:12558
  18478. #, no-wrap
  18479. msgid "kernel.org"
  18480. msgstr ""
  18481. #. type: table
  18482. #: guix-git/doc/guix.texi:12560
  18483. msgid "the updater for packages hosted on kernel.org;"
  18484. msgstr ""
  18485. #. type: table
  18486. #: guix-git/doc/guix.texi:12562
  18487. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  18488. msgstr ""
  18489. #. type: table
  18490. #: guix-git/doc/guix.texi:12564
  18491. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  18492. msgstr ""
  18493. #. type: table
  18494. #: guix-git/doc/guix.texi:12566
  18495. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  18496. msgstr ""
  18497. #. type: item
  18498. #: guix-git/doc/guix.texi:12566
  18499. #, no-wrap
  18500. msgid "bioconductor"
  18501. msgstr ""
  18502. #. type: table
  18503. #: guix-git/doc/guix.texi:12568
  18504. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  18505. msgstr ""
  18506. #. type: table
  18507. #: guix-git/doc/guix.texi:12570
  18508. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  18509. msgstr ""
  18510. #. type: table
  18511. #: guix-git/doc/guix.texi:12572
  18512. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  18513. msgstr ""
  18514. #. type: table
  18515. #: guix-git/doc/guix.texi:12574
  18516. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  18517. msgstr ""
  18518. #. type: item
  18519. #: guix-git/doc/guix.texi:12574
  18520. #, no-wrap
  18521. msgid "github"
  18522. msgstr ""
  18523. #. type: table
  18524. #: guix-git/doc/guix.texi:12576
  18525. msgid "the updater for @uref{https://github.com, GitHub} packages."
  18526. msgstr ""
  18527. #. type: table
  18528. #: guix-git/doc/guix.texi:12578
  18529. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  18530. msgstr ""
  18531. #. type: table
  18532. #: guix-git/doc/guix.texi:12580
  18533. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  18534. msgstr ""
  18535. #. type: table
  18536. #: guix-git/doc/guix.texi:12582
  18537. msgid "the updater for @uref{https://crates.io, Crates} packages."
  18538. msgstr ""
  18539. #. type: item
  18540. #: guix-git/doc/guix.texi:12582
  18541. #, no-wrap
  18542. msgid "launchpad"
  18543. msgstr ""
  18544. #. type: table
  18545. #: guix-git/doc/guix.texi:12584
  18546. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  18547. msgstr ""
  18548. #. type: item
  18549. #: guix-git/doc/guix.texi:12584
  18550. #, no-wrap
  18551. msgid "generic-html"
  18552. msgstr ""
  18553. #. type: table
  18554. #: guix-git/doc/guix.texi:12587
  18555. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  18556. msgstr ""
  18557. #. type: item
  18558. #: guix-git/doc/guix.texi:12588
  18559. #, no-wrap
  18560. msgid "generic-git"
  18561. msgstr ""
  18562. #. type: table
  18563. #: guix-git/doc/guix.texi:12593
  18564. msgid "a generic updater for packages hosted on Git repositories. It tries to be smart about parsing Git tag names, but if it is not able to parse the tag name and compare tags correctly, users can define the following properties for a package."
  18565. msgstr ""
  18566. #. type: item
  18567. #: guix-git/doc/guix.texi:12595
  18568. #, no-wrap
  18569. msgid "@code{release-tag-prefix}: a regular expression for matching a prefix of"
  18570. msgstr ""
  18571. #. type: itemize
  18572. #: guix-git/doc/guix.texi:12597 guix-git/doc/guix.texi:12600
  18573. msgid "the tag name."
  18574. msgstr ""
  18575. #. type: item
  18576. #: guix-git/doc/guix.texi:12598
  18577. #, no-wrap
  18578. msgid "@code{release-tag-suffix}: a regular expression for matching a suffix of"
  18579. msgstr ""
  18580. #. type: item
  18581. #: guix-git/doc/guix.texi:12601
  18582. #, no-wrap
  18583. msgid "@code{release-tag-version-delimiter}: a string used as the delimiter in"
  18584. msgstr ""
  18585. #. type: itemize
  18586. #: guix-git/doc/guix.texi:12603
  18587. msgid "the tag name for separating the numbers of the version."
  18588. msgstr ""
  18589. #. type: item
  18590. #: guix-git/doc/guix.texi:12604
  18591. #, no-wrap
  18592. msgid "@code{accept-pre-releases}: by default, the updater will ignore"
  18593. msgstr ""
  18594. #. type: itemize
  18595. #: guix-git/doc/guix.texi:12607
  18596. msgid "pre-releases; to make it also look for pre-releases, set the this property to @code{#t}."
  18597. msgstr ""
  18598. #. type: lisp
  18599. #: guix-git/doc/guix.texi:12618
  18600. #, no-wrap
  18601. msgid ""
  18602. "(package\n"
  18603. " (name \"foo\")\n"
  18604. " ;; ...\n"
  18605. " (properties\n"
  18606. " '((release-tag-prefix . \"^release0-\")\n"
  18607. " (release-tag-suffix . \"[a-z]?$\")\n"
  18608. " (release-tag-version-delimiter . \":\"))))\n"
  18609. msgstr ""
  18610. #. type: table
  18611. #: guix-git/doc/guix.texi:12625
  18612. 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:"
  18613. msgstr ""
  18614. #. type: example
  18615. #: guix-git/doc/guix.texi:12630
  18616. #, no-wrap
  18617. msgid ""
  18618. "$ guix refresh --type=elpa,cran\n"
  18619. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  18620. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  18621. msgstr ""
  18622. #. type: item
  18623. #: guix-git/doc/guix.texi:12632
  18624. #, no-wrap
  18625. msgid "--list-updaters"
  18626. msgstr ""
  18627. #. type: itemx
  18628. #: guix-git/doc/guix.texi:12633
  18629. #, no-wrap
  18630. msgid "-L"
  18631. msgstr ""
  18632. #. type: table
  18633. #: guix-git/doc/guix.texi:12635
  18634. msgid "List available updaters and exit (see @option{--type} above)."
  18635. msgstr ""
  18636. #. type: table
  18637. #: guix-git/doc/guix.texi:12638
  18638. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  18639. msgstr ""
  18640. #. type: Plain text
  18641. #: guix-git/doc/guix.texi:12642
  18642. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  18643. msgstr ""
  18644. #. type: example
  18645. #: guix-git/doc/guix.texi:12645
  18646. #, no-wrap
  18647. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  18648. msgstr ""
  18649. #. type: Plain text
  18650. #: guix-git/doc/guix.texi:12652
  18651. 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:"
  18652. msgstr ""
  18653. #. type: example
  18654. #: guix-git/doc/guix.texi:12656
  18655. #, no-wrap
  18656. msgid ""
  18657. "$ ./pre-inst-env guix refresh -u \\\n"
  18658. " $(guix package --list-installed | cut -f1)\n"
  18659. msgstr ""
  18660. #. type: Plain text
  18661. #: guix-git/doc/guix.texi:12662
  18662. 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:"
  18663. msgstr ""
  18664. #. type: item
  18665. #: guix-git/doc/guix.texi:12665
  18666. #, no-wrap
  18667. msgid "--list-dependent"
  18668. msgstr ""
  18669. #. type: itemx
  18670. #: guix-git/doc/guix.texi:12666 guix-git/doc/guix.texi:13028
  18671. #, no-wrap
  18672. msgid "-l"
  18673. msgstr ""
  18674. #. type: table
  18675. #: guix-git/doc/guix.texi:12669
  18676. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  18677. msgstr ""
  18678. #. type: table
  18679. #: guix-git/doc/guix.texi:12673
  18680. 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."
  18681. msgstr ""
  18682. #. type: Plain text
  18683. #: guix-git/doc/guix.texi:12679
  18684. 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."
  18685. msgstr ""
  18686. #. type: example
  18687. #: guix-git/doc/guix.texi:12684
  18688. #, no-wrap
  18689. msgid ""
  18690. "$ guix refresh --list-dependent flex\n"
  18691. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  18692. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  18693. msgstr ""
  18694. #. type: Plain text
  18695. #: guix-git/doc/guix.texi:12688
  18696. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  18697. msgstr ""
  18698. #. type: item
  18699. #: guix-git/doc/guix.texi:12691
  18700. #, no-wrap
  18701. msgid "--list-transitive"
  18702. msgstr ""
  18703. #. type: table
  18704. #: guix-git/doc/guix.texi:12693
  18705. msgid "List all the packages which one or more packages depend upon."
  18706. msgstr ""
  18707. #. type: example
  18708. #: guix-git/doc/guix.texi:12698
  18709. #, no-wrap
  18710. msgid ""
  18711. "$ guix refresh --list-transitive flex\n"
  18712. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  18713. "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"
  18714. msgstr ""
  18715. #. type: Plain text
  18716. #: guix-git/doc/guix.texi:12704
  18717. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  18718. msgstr ""
  18719. #. type: Plain text
  18720. #: guix-git/doc/guix.texi:12706
  18721. msgid "The following options can be used to customize GnuPG operation:"
  18722. msgstr ""
  18723. #. type: item
  18724. #: guix-git/doc/guix.texi:12709
  18725. #, no-wrap
  18726. msgid "--gpg=@var{command}"
  18727. msgstr ""
  18728. #. type: table
  18729. #: guix-git/doc/guix.texi:12712
  18730. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  18731. msgstr ""
  18732. #. type: item
  18733. #: guix-git/doc/guix.texi:12713
  18734. #, no-wrap
  18735. msgid "--keyring=@var{file}"
  18736. msgstr ""
  18737. #. type: table
  18738. #: guix-git/doc/guix.texi:12719
  18739. 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)."
  18740. msgstr ""
  18741. #. type: table
  18742. #: guix-git/doc/guix.texi:12725
  18743. 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)."
  18744. msgstr ""
  18745. #. type: table
  18746. #: guix-git/doc/guix.texi:12728
  18747. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  18748. msgstr ""
  18749. #. type: example
  18750. #: guix-git/doc/guix.texi:12731
  18751. #, no-wrap
  18752. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  18753. msgstr ""
  18754. #. type: table
  18755. #: guix-git/doc/guix.texi:12734
  18756. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  18757. msgstr ""
  18758. #. type: example
  18759. #: guix-git/doc/guix.texi:12738
  18760. #, no-wrap
  18761. msgid ""
  18762. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  18763. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  18764. msgstr ""
  18765. #. type: table
  18766. #: guix-git/doc/guix.texi:12742
  18767. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  18768. msgstr ""
  18769. #. type: table
  18770. #: guix-git/doc/guix.texi:12746
  18771. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  18772. msgstr ""
  18773. #. type: item
  18774. #: guix-git/doc/guix.texi:12748 guix-git/doc/guix.texi:12871
  18775. #: guix-git/doc/guix.texi:22249
  18776. #, no-wrap
  18777. msgid "always"
  18778. msgstr ""
  18779. #. type: table
  18780. #: guix-git/doc/guix.texi:12751
  18781. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  18782. msgstr ""
  18783. #. type: item
  18784. #: guix-git/doc/guix.texi:12752 guix-git/doc/guix.texi:22251
  18785. #, no-wrap
  18786. msgid "never"
  18787. msgstr ""
  18788. #. type: table
  18789. #: guix-git/doc/guix.texi:12754
  18790. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  18791. msgstr ""
  18792. #. type: item
  18793. #: guix-git/doc/guix.texi:12755
  18794. #, no-wrap
  18795. msgid "interactive"
  18796. msgstr ""
  18797. #. type: table
  18798. #: guix-git/doc/guix.texi:12758
  18799. 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."
  18800. msgstr ""
  18801. #. type: item
  18802. #: guix-git/doc/guix.texi:12760
  18803. #, no-wrap
  18804. msgid "--key-server=@var{host}"
  18805. msgstr ""
  18806. #. type: table
  18807. #: guix-git/doc/guix.texi:12762
  18808. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  18809. msgstr ""
  18810. #. type: Plain text
  18811. #: guix-git/doc/guix.texi:12782
  18812. 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."
  18813. msgstr ""
  18814. #. type: section
  18815. #: guix-git/doc/guix.texi:12785
  18816. #, no-wrap
  18817. msgid "Invoking @command{guix style}"
  18818. msgstr ""
  18819. #. type: Plain text
  18820. #: guix-git/doc/guix.texi:12791
  18821. msgid "The @command{guix style} command helps packagers style their package definitions according to the latest fashionable trends. The command currently focuses on one aspect: the style of package inputs. It may eventually be extended to handle other stylistic matters."
  18822. msgstr ""
  18823. #. type: Plain text
  18824. #: guix-git/doc/guix.texi:12796
  18825. msgid "The way package inputs are written is going through a transition (@pxref{package Reference}, for more on package inputs). Until version 1.3.0, package inputs were written using the ``old style'', where each input was given an explicit label, most of the time the package name:"
  18826. msgstr ""
  18827. #. type: lisp
  18828. #: guix-git/doc/guix.texi:12803
  18829. #, no-wrap
  18830. msgid ""
  18831. "(package\n"
  18832. " ;; @dots{}\n"
  18833. " ;; The \"old style\" (deprecated).\n"
  18834. " (inputs `((\"libunistring\" ,libunistring)\n"
  18835. " (\"libffi\" ,libffi))))\n"
  18836. msgstr ""
  18837. #. type: Plain text
  18838. #: guix-git/doc/guix.texi:12807
  18839. msgid "Today, the old style is deprecated and the preferred style looks like this:"
  18840. msgstr ""
  18841. #. type: lisp
  18842. #: guix-git/doc/guix.texi:12813
  18843. #, no-wrap
  18844. msgid ""
  18845. "(package\n"
  18846. " ;; @dots{}\n"
  18847. " ;; The \"new style\".\n"
  18848. " (inputs (list libunistring libffi)))\n"
  18849. msgstr ""
  18850. #. type: Plain text
  18851. #: guix-git/doc/guix.texi:12818
  18852. msgid "Likewise, uses of @code{alist-delete} and friends to manipulate inputs is now deprecated in favor of @code{modify-inputs} (@pxref{Defining Package Variants}, for more info on @code{modify-inputs})."
  18853. msgstr ""
  18854. #. type: Plain text
  18855. #: guix-git/doc/guix.texi:12823
  18856. msgid "In the vast majority of cases, this is a purely mechanical change on the surface syntax that does not even incur a package rebuild. Running @command{guix style} can do that for you, whether you're working on packages in Guix proper or in an external channel."
  18857. msgstr ""
  18858. #. type: example
  18859. #: guix-git/doc/guix.texi:12828
  18860. #, no-wrap
  18861. msgid "guix style [@var{options}] @var{package}@dots{}\n"
  18862. msgstr ""
  18863. #. type: Plain text
  18864. #: guix-git/doc/guix.texi:12834
  18865. msgid "This causes @command{guix style} to analyze and rewrite the definition of @var{package}@dots{}. It does so in a conservative way: preserving comments and bailing out if it cannot make sense of the code that appears in an inputs field. The available options are listed below."
  18866. msgstr ""
  18867. #. type: table
  18868. #: guix-git/doc/guix.texi:12839
  18869. msgid "Show source file locations that would be edited but do not modify them."
  18870. msgstr ""
  18871. #. type: table
  18872. #: guix-git/doc/guix.texi:12848
  18873. msgid "Style the package @var{expr} evaluates to."
  18874. msgstr ""
  18875. #. type: example
  18876. #: guix-git/doc/guix.texi:12853
  18877. #, no-wrap
  18878. msgid "guix style -e '(@@ (gnu packages gcc) gcc-5)'\n"
  18879. msgstr ""
  18880. #. type: table
  18881. #: guix-git/doc/guix.texi:12856
  18882. #, fuzzy
  18883. #| msgid "Updating the Guix package definition."
  18884. msgid "styles the @code{gcc-5} package definition."
  18885. msgstr "Aktualizovať zadanie balíka Guix."
  18886. #. type: item
  18887. #: guix-git/doc/guix.texi:12857
  18888. #, no-wrap
  18889. msgid "--input-simplification=@var{policy}"
  18890. msgstr ""
  18891. #. type: table
  18892. #: guix-git/doc/guix.texi:12861
  18893. msgid "Specify the package input simplification policy for cases where an input label does not match the corresponding package name. @var{policy} may be one of the following:"
  18894. msgstr ""
  18895. #. type: item
  18896. #: guix-git/doc/guix.texi:12863
  18897. #, no-wrap
  18898. msgid "silent"
  18899. msgstr ""
  18900. #. type: table
  18901. #: guix-git/doc/guix.texi:12866
  18902. msgid "Simplify inputs only when the change is ``silent'', meaning that the package does not need to be rebuilt (its derivation is unchanged)."
  18903. msgstr ""
  18904. #. type: item
  18905. #: guix-git/doc/guix.texi:12867
  18906. #, no-wrap
  18907. msgid "safe"
  18908. msgstr ""
  18909. #. type: table
  18910. #: guix-git/doc/guix.texi:12870
  18911. msgid "Simplify inputs only when that is ``safe'' to do: the package might need to be rebuilt, but the change is known to have no observable effect."
  18912. msgstr ""
  18913. #. type: table
  18914. #: guix-git/doc/guix.texi:12874
  18915. msgid "Simplify inputs even when input labels do not match package names, and even if that might have an observable effect."
  18916. msgstr ""
  18917. #. type: table
  18918. #: guix-git/doc/guix.texi:12878
  18919. msgid "The default is @code{silent}, meaning that input simplifications do not trigger any package rebuild."
  18920. msgstr ""
  18921. #. type: section
  18922. #: guix-git/doc/guix.texi:12881
  18923. #, no-wrap
  18924. msgid "Invoking @command{guix lint}"
  18925. msgstr ""
  18926. #. type: command{#1}
  18927. #: guix-git/doc/guix.texi:12883
  18928. #, no-wrap
  18929. msgid "guix lint"
  18930. msgstr ""
  18931. #. type: cindex
  18932. #: guix-git/doc/guix.texi:12884
  18933. #, no-wrap
  18934. msgid "package, checking for errors"
  18935. msgstr ""
  18936. #. type: Plain text
  18937. #: guix-git/doc/guix.texi:12890
  18938. 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):"
  18939. msgstr ""
  18940. #. type: table
  18941. #: guix-git/doc/guix.texi:12896
  18942. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  18943. msgstr ""
  18944. #. type: item
  18945. #: guix-git/doc/guix.texi:12897
  18946. #, no-wrap
  18947. msgid "inputs-should-be-native"
  18948. msgstr ""
  18949. #. type: table
  18950. #: guix-git/doc/guix.texi:12899
  18951. msgid "Identify inputs that should most likely be native inputs."
  18952. msgstr ""
  18953. #. type: itemx
  18954. #: guix-git/doc/guix.texi:12902
  18955. #, no-wrap
  18956. msgid "mirror-url"
  18957. msgstr ""
  18958. #. type: itemx
  18959. #: guix-git/doc/guix.texi:12903
  18960. #, no-wrap
  18961. msgid "github-url"
  18962. msgstr ""
  18963. #. type: itemx
  18964. #: guix-git/doc/guix.texi:12904
  18965. #, no-wrap
  18966. msgid "source-file-name"
  18967. msgstr ""
  18968. #. type: table
  18969. #: guix-git/doc/guix.texi:12911
  18970. 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})."
  18971. msgstr ""
  18972. #. type: item
  18973. #: guix-git/doc/guix.texi:12912
  18974. #, no-wrap
  18975. msgid "source-unstable-tarball"
  18976. msgstr ""
  18977. #. type: table
  18978. #: guix-git/doc/guix.texi:12916
  18979. 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."
  18980. msgstr ""
  18981. #. type: table
  18982. #: guix-git/doc/guix.texi:12920
  18983. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  18984. msgstr ""
  18985. #. type: item
  18986. #: guix-git/doc/guix.texi:12921
  18987. #, no-wrap
  18988. msgid "profile-collisions"
  18989. msgstr ""
  18990. #. type: table
  18991. #: guix-git/doc/guix.texi:12927
  18992. 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."
  18993. msgstr ""
  18994. #. type: item
  18995. #: guix-git/doc/guix.texi:12928
  18996. #, no-wrap
  18997. msgid "archival"
  18998. msgstr ""
  18999. #. type: cindex
  19000. #: guix-git/doc/guix.texi:12929
  19001. #, no-wrap
  19002. msgid "Software Heritage, source code archive"
  19003. msgstr ""
  19004. #. type: cindex
  19005. #: guix-git/doc/guix.texi:12930
  19006. #, no-wrap
  19007. msgid "archival of source code, Software Heritage"
  19008. msgstr ""
  19009. #. type: table
  19010. #: guix-git/doc/guix.texi:12933
  19011. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  19012. msgstr ""
  19013. #. type: table
  19014. #: guix-git/doc/guix.texi:12941
  19015. 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}."
  19016. msgstr ""
  19017. #. type: table
  19018. #: guix-git/doc/guix.texi:12946
  19019. 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."
  19020. msgstr ""
  19021. #. type: table
  19022. #: guix-git/doc/guix.texi:12952
  19023. 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."
  19024. msgstr ""
  19025. #. type: item
  19026. #: guix-git/doc/guix.texi:12953
  19027. #, no-wrap
  19028. msgid "cve"
  19029. msgstr ""
  19030. #. type: cindex
  19031. #: guix-git/doc/guix.texi:12954 guix-git/doc/guix.texi:37946
  19032. #, no-wrap
  19033. msgid "security vulnerabilities"
  19034. msgstr ""
  19035. #. type: cindex
  19036. #: guix-git/doc/guix.texi:12955
  19037. #, no-wrap
  19038. msgid "CVE, Common Vulnerabilities and Exposures"
  19039. msgstr ""
  19040. #. type: table
  19041. #: guix-git/doc/guix.texi:12960
  19042. 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}."
  19043. msgstr ""
  19044. #. type: table
  19045. #: guix-git/doc/guix.texi:12962
  19046. msgid "To view information about a particular vulnerability, visit pages such as:"
  19047. msgstr ""
  19048. #. type: indicateurl{#1}
  19049. #: guix-git/doc/guix.texi:12966
  19050. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  19051. msgstr ""
  19052. #. type: indicateurl{#1}
  19053. #: guix-git/doc/guix.texi:12968
  19054. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  19055. msgstr ""
  19056. #. type: table
  19057. #: guix-git/doc/guix.texi:12973
  19058. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  19059. msgstr ""
  19060. #. type: table
  19061. #: guix-git/doc/guix.texi:12978
  19062. 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:"
  19063. msgstr ""
  19064. #. type: lisp
  19065. #: guix-git/doc/guix.texi:12986
  19066. #, no-wrap
  19067. msgid ""
  19068. "(package\n"
  19069. " (name \"grub\")\n"
  19070. " ;; @dots{}\n"
  19071. " ;; CPE calls this package \"grub2\".\n"
  19072. " (properties '((cpe-name . \"grub2\")\n"
  19073. " (cpe-version . \"2.3\"))))\n"
  19074. msgstr ""
  19075. #. type: table
  19076. #: guix-git/doc/guix.texi:12993
  19077. 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:"
  19078. msgstr ""
  19079. #. type: lisp
  19080. #: guix-git/doc/guix.texi:13003
  19081. #, no-wrap
  19082. msgid ""
  19083. "(package\n"
  19084. " (name \"t1lib\")\n"
  19085. " ;; @dots{}\n"
  19086. " ;; These CVEs no longer apply and can be safely ignored.\n"
  19087. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  19088. " \"CVE-2011-1553\"\n"
  19089. " \"CVE-2011-1554\"\n"
  19090. " \"CVE-2011-5244\")))))\n"
  19091. msgstr ""
  19092. #. type: item
  19093. #: guix-git/doc/guix.texi:13005
  19094. #, no-wrap
  19095. msgid "formatting"
  19096. msgstr ""
  19097. #. type: table
  19098. #: guix-git/doc/guix.texi:13008
  19099. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  19100. msgstr ""
  19101. #. type: item
  19102. #: guix-git/doc/guix.texi:13009
  19103. #, no-wrap
  19104. msgid "input-labels"
  19105. msgstr ""
  19106. #. type: table
  19107. #: guix-git/doc/guix.texi:13015
  19108. msgid "Report old-style input labels that do not match the name of the corresponding package. This aims to help migrate from the ``old input style''. @xref{package Reference}, for more information on package inputs and input styles. @xref{Invoking guix style}, on how to migrate to the new style."
  19109. msgstr ""
  19110. #. type: example
  19111. #: guix-git/doc/guix.texi:13021
  19112. #, no-wrap
  19113. msgid "guix lint @var{options} @var{package}@dots{}\n"
  19114. msgstr ""
  19115. #. type: Plain text
  19116. #: guix-git/doc/guix.texi:13025
  19117. 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:"
  19118. msgstr ""
  19119. #. type: item
  19120. #: guix-git/doc/guix.texi:13027
  19121. #, no-wrap
  19122. msgid "--list-checkers"
  19123. msgstr ""
  19124. #. type: table
  19125. #: guix-git/doc/guix.texi:13031
  19126. msgid "List and describe all the available checkers that will be run on packages and exit."
  19127. msgstr ""
  19128. #. type: item
  19129. #: guix-git/doc/guix.texi:13032
  19130. #, no-wrap
  19131. msgid "--checkers"
  19132. msgstr ""
  19133. #. type: itemx
  19134. #: guix-git/doc/guix.texi:13033
  19135. #, no-wrap
  19136. msgid "-c"
  19137. msgstr ""
  19138. #. type: table
  19139. #: guix-git/doc/guix.texi:13036
  19140. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19141. msgstr ""
  19142. #. type: item
  19143. #: guix-git/doc/guix.texi:13037
  19144. #, no-wrap
  19145. msgid "--exclude"
  19146. msgstr ""
  19147. #. type: table
  19148. #: guix-git/doc/guix.texi:13041
  19149. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19150. msgstr ""
  19151. #. type: item
  19152. #: guix-git/doc/guix.texi:13042
  19153. #, no-wrap
  19154. msgid "--no-network"
  19155. msgstr ""
  19156. #. type: table
  19157. #: guix-git/doc/guix.texi:13045
  19158. msgid "Only enable the checkers that do not depend on Internet access."
  19159. msgstr ""
  19160. #. type: section
  19161. #: guix-git/doc/guix.texi:13057
  19162. #, no-wrap
  19163. msgid "Invoking @command{guix size}"
  19164. msgstr ""
  19165. #. type: code{#1}
  19166. #: guix-git/doc/guix.texi:13059 guix-git/doc/guix.texi:35624
  19167. #, no-wrap
  19168. msgid "size"
  19169. msgstr ""
  19170. #. type: cindex
  19171. #: guix-git/doc/guix.texi:13060
  19172. #, no-wrap
  19173. msgid "package size"
  19174. msgstr ""
  19175. #. type: command{#1}
  19176. #: guix-git/doc/guix.texi:13062
  19177. #, no-wrap
  19178. msgid "guix size"
  19179. msgstr ""
  19180. #. type: Plain text
  19181. #: guix-git/doc/guix.texi:13069
  19182. 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."
  19183. msgstr ""
  19184. #. type: Plain text
  19185. #: guix-git/doc/guix.texi:13074
  19186. 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:"
  19187. msgstr ""
  19188. #. type: example
  19189. #: guix-git/doc/guix.texi:13087
  19190. #, no-wrap
  19191. msgid ""
  19192. "$ guix size coreutils\n"
  19193. "store item total self\n"
  19194. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  19195. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  19196. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  19197. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  19198. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  19199. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  19200. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  19201. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  19202. "total: 78.9 MiB\n"
  19203. msgstr ""
  19204. #. type: Plain text
  19205. #: guix-git/doc/guix.texi:13093
  19206. 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:"
  19207. msgstr ""
  19208. #. type: example
  19209. #: guix-git/doc/guix.texi:13096
  19210. #, no-wrap
  19211. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  19212. msgstr ""
  19213. #. type: Plain text
  19214. #: guix-git/doc/guix.texi:13104
  19215. 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."
  19216. msgstr ""
  19217. #. type: Plain text
  19218. #: guix-git/doc/guix.texi:13110
  19219. 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.)"
  19220. msgstr ""
  19221. #. type: Plain text
  19222. #: guix-git/doc/guix.texi:13113
  19223. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  19224. msgstr ""
  19225. #. type: example
  19226. #: guix-git/doc/guix.texi:13116
  19227. #, no-wrap
  19228. msgid "guix size $(guix system build config.scm)\n"
  19229. msgstr ""
  19230. #. type: Plain text
  19231. #: guix-git/doc/guix.texi:13126
  19232. 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})."
  19233. msgstr ""
  19234. #. type: Plain text
  19235. #: guix-git/doc/guix.texi:13131
  19236. 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."
  19237. msgstr ""
  19238. #. type: Plain text
  19239. #: guix-git/doc/guix.texi:13133
  19240. msgid "You can also specify several package names:"
  19241. msgstr ""
  19242. #. type: example
  19243. #: guix-git/doc/guix.texi:13143
  19244. #, no-wrap
  19245. msgid ""
  19246. "$ guix size coreutils grep sed bash\n"
  19247. "store item total self\n"
  19248. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  19249. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  19250. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  19251. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  19252. "@dots{}\n"
  19253. "total: 102.3 MiB\n"
  19254. msgstr ""
  19255. #. type: Plain text
  19256. #: guix-git/doc/guix.texi:13149
  19257. 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."
  19258. msgstr ""
  19259. #. type: Plain text
  19260. #: guix-git/doc/guix.texi:13155
  19261. 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})."
  19262. msgstr ""
  19263. #. type: Plain text
  19264. #: guix-git/doc/guix.texi:13157
  19265. msgid "The available options are:"
  19266. msgstr ""
  19267. #. type: table
  19268. #: guix-git/doc/guix.texi:13163
  19269. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  19270. msgstr ""
  19271. #. type: item
  19272. #: guix-git/doc/guix.texi:13164
  19273. #, no-wrap
  19274. msgid "--sort=@var{key}"
  19275. msgstr ""
  19276. #. type: table
  19277. #: guix-git/doc/guix.texi:13166
  19278. msgid "Sort lines according to @var{key}, one of the following options:"
  19279. msgstr ""
  19280. #. type: item
  19281. #: guix-git/doc/guix.texi:13168
  19282. #, no-wrap
  19283. msgid "self"
  19284. msgstr "sám"
  19285. #. type: table
  19286. #: guix-git/doc/guix.texi:13170
  19287. msgid "the size of each item (the default);"
  19288. msgstr ""
  19289. #. type: table
  19290. #: guix-git/doc/guix.texi:13172
  19291. msgid "the total size of the item's closure."
  19292. msgstr ""
  19293. #. type: item
  19294. #: guix-git/doc/guix.texi:13174
  19295. #, no-wrap
  19296. msgid "--map-file=@var{file}"
  19297. msgstr ""
  19298. #. type: table
  19299. #: guix-git/doc/guix.texi:13176
  19300. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  19301. msgstr ""
  19302. #. type: table
  19303. #: guix-git/doc/guix.texi:13178
  19304. msgid "For the example above, the map looks like this:"
  19305. msgstr ""
  19306. #. type: table
  19307. #: guix-git/doc/guix.texi:13181
  19308. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  19309. msgstr ""
  19310. #. type: table
  19311. #: guix-git/doc/guix.texi:13186
  19312. 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."
  19313. msgstr ""
  19314. #. type: table
  19315. #: guix-git/doc/guix.texi:13190
  19316. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  19317. msgstr ""
  19318. #. type: section
  19319. #: guix-git/doc/guix.texi:13201
  19320. #, no-wrap
  19321. msgid "Invoking @command{guix graph}"
  19322. msgstr ""
  19323. #. type: cindex
  19324. #: guix-git/doc/guix.texi:13203
  19325. #, no-wrap
  19326. msgid "DAG"
  19327. msgstr ""
  19328. #. type: command{#1}
  19329. #: guix-git/doc/guix.texi:13204
  19330. #, no-wrap
  19331. msgid "guix graph"
  19332. msgstr ""
  19333. #. type: Plain text
  19334. #: guix-git/doc/guix.texi:13219
  19335. 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:"
  19336. msgstr ""
  19337. #. type: example
  19338. #: guix-git/doc/guix.texi:13222
  19339. #, no-wrap
  19340. msgid "guix graph @var{options} @var{package}@dots{}\n"
  19341. msgstr ""
  19342. #. type: Plain text
  19343. #: guix-git/doc/guix.texi:13227
  19344. 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:"
  19345. msgstr ""
  19346. #. type: example
  19347. #: guix-git/doc/guix.texi:13230
  19348. #, no-wrap
  19349. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  19350. msgstr ""
  19351. #. type: Plain text
  19352. #: guix-git/doc/guix.texi:13233
  19353. msgid "The output looks like this:"
  19354. msgstr ""
  19355. #. type: Plain text
  19356. #: guix-git/doc/guix.texi:13235
  19357. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  19358. msgstr ""
  19359. #. type: Plain text
  19360. #: guix-git/doc/guix.texi:13237
  19361. msgid "Nice little graph, no?"
  19362. msgstr ""
  19363. #. type: Plain text
  19364. #: guix-git/doc/guix.texi:13240
  19365. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  19366. msgstr ""
  19367. #. type: example
  19368. #: guix-git/doc/guix.texi:13243
  19369. #, no-wrap
  19370. msgid "guix graph coreutils | xdot -\n"
  19371. msgstr ""
  19372. #. type: Plain text
  19373. #: guix-git/doc/guix.texi:13250
  19374. 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:"
  19375. msgstr ""
  19376. #. type: table
  19377. #: guix-git/doc/guix.texi:13256
  19378. 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."
  19379. msgstr ""
  19380. #. type: item
  19381. #: guix-git/doc/guix.texi:13257
  19382. #, no-wrap
  19383. msgid "reverse-package"
  19384. msgstr ""
  19385. #. type: table
  19386. #: guix-git/doc/guix.texi:13259
  19387. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  19388. msgstr ""
  19389. #. type: example
  19390. #: guix-git/doc/guix.texi:13262
  19391. #, no-wrap
  19392. msgid "guix graph --type=reverse-package ocaml\n"
  19393. msgstr ""
  19394. #. type: table
  19395. #: guix-git/doc/guix.texi:13267
  19396. 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)."
  19397. msgstr ""
  19398. #. type: table
  19399. #: guix-git/doc/guix.texi:13272
  19400. 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}})."
  19401. msgstr ""
  19402. #. type: item
  19403. #: guix-git/doc/guix.texi:13273
  19404. #, no-wrap
  19405. msgid "bag-emerged"
  19406. msgstr ""
  19407. #. type: table
  19408. #: guix-git/doc/guix.texi:13275
  19409. msgid "This is the package DAG, @emph{including} implicit inputs."
  19410. msgstr ""
  19411. #. type: table
  19412. #: guix-git/doc/guix.texi:13277
  19413. msgid "For instance, the following command:"
  19414. msgstr ""
  19415. #. type: example
  19416. #: guix-git/doc/guix.texi:13280
  19417. #, no-wrap
  19418. msgid "guix graph --type=bag-emerged coreutils\n"
  19419. msgstr ""
  19420. #. type: table
  19421. #: guix-git/doc/guix.texi:13283
  19422. msgid "...@: yields this bigger graph:"
  19423. msgstr ""
  19424. #. type: table
  19425. #: guix-git/doc/guix.texi:13285
  19426. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  19427. msgstr ""
  19428. #. type: table
  19429. #: guix-git/doc/guix.texi:13288
  19430. 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}})."
  19431. msgstr ""
  19432. #. type: table
  19433. #: guix-git/doc/guix.texi:13292
  19434. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  19435. msgstr ""
  19436. #. type: item
  19437. #: guix-git/doc/guix.texi:13293
  19438. #, no-wrap
  19439. msgid "bag"
  19440. msgstr ""
  19441. #. type: table
  19442. #: guix-git/doc/guix.texi:13296
  19443. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  19444. msgstr ""
  19445. #. type: item
  19446. #: guix-git/doc/guix.texi:13297
  19447. #, no-wrap
  19448. msgid "bag-with-origins"
  19449. msgstr ""
  19450. #. type: table
  19451. #: guix-git/doc/guix.texi:13299
  19452. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  19453. msgstr ""
  19454. #. type: item
  19455. #: guix-git/doc/guix.texi:13300
  19456. #, no-wrap
  19457. msgid "reverse-bag"
  19458. msgstr ""
  19459. #. type: table
  19460. #: guix-git/doc/guix.texi:13303
  19461. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  19462. msgstr ""
  19463. #. type: example
  19464. #: guix-git/doc/guix.texi:13306
  19465. #, no-wrap
  19466. msgid "guix graph -t reverse-bag dune\n"
  19467. msgstr ""
  19468. #. type: table
  19469. #: guix-git/doc/guix.texi:13313
  19470. 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."
  19471. msgstr ""
  19472. #. type: table
  19473. #: guix-git/doc/guix.texi:13319
  19474. 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."
  19475. msgstr ""
  19476. #. type: table
  19477. #: guix-git/doc/guix.texi:13322
  19478. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  19479. msgstr ""
  19480. #. type: example
  19481. #: guix-git/doc/guix.texi:13325
  19482. #, no-wrap
  19483. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  19484. msgstr ""
  19485. #. type: item
  19486. #: guix-git/doc/guix.texi:13327
  19487. #, no-wrap
  19488. msgid "module"
  19489. msgstr ""
  19490. #. type: table
  19491. #: guix-git/doc/guix.texi:13331
  19492. 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:"
  19493. msgstr ""
  19494. #. type: example
  19495. #: guix-git/doc/guix.texi:13334
  19496. #, no-wrap
  19497. msgid "guix graph -t module guile | xdot -\n"
  19498. msgstr ""
  19499. #. type: Plain text
  19500. #: guix-git/doc/guix.texi:13339
  19501. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  19502. msgstr ""
  19503. #. type: table
  19504. #: guix-git/doc/guix.texi:13344
  19505. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  19506. msgstr ""
  19507. #. type: table
  19508. #: guix-git/doc/guix.texi:13347
  19509. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  19510. msgstr ""
  19511. #. type: table
  19512. #: guix-git/doc/guix.texi:13351
  19513. 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!):"
  19514. msgstr ""
  19515. #. type: example
  19516. #: guix-git/doc/guix.texi:13354
  19517. #, no-wrap
  19518. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  19519. msgstr ""
  19520. #. type: item
  19521. #: guix-git/doc/guix.texi:13356
  19522. #, no-wrap
  19523. msgid "referrers"
  19524. msgstr ""
  19525. #. type: table
  19526. #: guix-git/doc/guix.texi:13359
  19527. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  19528. msgstr ""
  19529. #. type: table
  19530. #: guix-git/doc/guix.texi:13365
  19531. 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."
  19532. msgstr ""
  19533. #. type: table
  19534. #: guix-git/doc/guix.texi:13368
  19535. msgid "It can help determine what is preventing a store item from being garbage collected."
  19536. msgstr ""
  19537. #. type: cindex
  19538. #: guix-git/doc/guix.texi:13371
  19539. #, no-wrap
  19540. msgid "shortest path, between packages"
  19541. msgstr ""
  19542. #. type: Plain text
  19543. #: guix-git/doc/guix.texi:13378
  19544. 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.):"
  19545. msgstr ""
  19546. #. type: example
  19547. #: guix-git/doc/guix.texi:13392
  19548. #, no-wrap
  19549. msgid ""
  19550. "$ guix graph --path emacs libunistring\n"
  19551. "emacs@@26.3\n"
  19552. "mailutils@@3.9\n"
  19553. "libunistring@@0.9.10\n"
  19554. "$ guix graph --path -t derivation emacs libunistring\n"
  19555. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  19556. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  19557. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  19558. "$ guix graph --path -t references emacs libunistring\n"
  19559. "/gnu/store/@dots{}-emacs-26.3\n"
  19560. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  19561. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  19562. msgstr ""
  19563. #. type: Plain text
  19564. #: guix-git/doc/guix.texi:13400
  19565. msgid "Sometimes you still want to visualize the graph but would like to trim it so it can actually be displayed. One way to do it is via the @option{--max-depth} (or @option{-M}) option, which lets you specify the maximum depth of the graph. In the example below, we visualize only @code{libreoffice} and the nodes whose distance to @code{libreoffice} is at most 2:"
  19566. msgstr ""
  19567. #. type: example
  19568. #: guix-git/doc/guix.texi:13403
  19569. #, no-wrap
  19570. msgid "guix graph -M 2 libreoffice | xdot -f fdp -\n"
  19571. msgstr ""
  19572. #. type: Plain text
  19573. #: guix-git/doc/guix.texi:13407
  19574. msgid "Mind you, that's still a big ball of spaghetti, but at least @command{dot} can render it quickly and it can be browsed somewhat."
  19575. msgstr ""
  19576. #. type: Plain text
  19577. #: guix-git/doc/guix.texi:13409
  19578. msgid "The available options are the following:"
  19579. msgstr ""
  19580. #. type: table
  19581. #: guix-git/doc/guix.texi:13415
  19582. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  19583. msgstr ""
  19584. #. type: item
  19585. #: guix-git/doc/guix.texi:13416
  19586. #, no-wrap
  19587. msgid "--list-types"
  19588. msgstr ""
  19589. #. type: table
  19590. #: guix-git/doc/guix.texi:13418
  19591. msgid "List the supported graph types."
  19592. msgstr ""
  19593. #. type: item
  19594. #: guix-git/doc/guix.texi:13419
  19595. #, no-wrap
  19596. msgid "--backend=@var{backend}"
  19597. msgstr ""
  19598. #. type: itemx
  19599. #: guix-git/doc/guix.texi:13420
  19600. #, no-wrap
  19601. msgid "-b @var{backend}"
  19602. msgstr ""
  19603. #. type: table
  19604. #: guix-git/doc/guix.texi:13422
  19605. msgid "Produce a graph using the selected @var{backend}."
  19606. msgstr ""
  19607. #. type: item
  19608. #: guix-git/doc/guix.texi:13423
  19609. #, no-wrap
  19610. msgid "--list-backends"
  19611. msgstr ""
  19612. #. type: table
  19613. #: guix-git/doc/guix.texi:13425
  19614. msgid "List the supported graph backends."
  19615. msgstr ""
  19616. #. type: table
  19617. #: guix-git/doc/guix.texi:13427
  19618. msgid "Currently, the available backends are Graphviz and d3.js."
  19619. msgstr ""
  19620. #. type: item
  19621. #: guix-git/doc/guix.texi:13428
  19622. #, no-wrap
  19623. msgid "--path"
  19624. msgstr ""
  19625. #. type: table
  19626. #: guix-git/doc/guix.texi:13433
  19627. 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}:"
  19628. msgstr ""
  19629. #. type: example
  19630. #: guix-git/doc/guix.texi:13440
  19631. #, no-wrap
  19632. msgid ""
  19633. "$ guix graph --path -t references libreoffice llvm\n"
  19634. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  19635. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  19636. "/gnu/store/@dots{}-mesa-19.3.4\n"
  19637. "/gnu/store/@dots{}-llvm-9.0.1\n"
  19638. msgstr ""
  19639. #. type: example
  19640. #: guix-git/doc/guix.texi:13450
  19641. #, no-wrap
  19642. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  19643. msgstr ""
  19644. #. type: table
  19645. #: guix-git/doc/guix.texi:13455
  19646. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  19647. msgstr ""
  19648. #. type: table
  19649. #: guix-git/doc/guix.texi:13458
  19650. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  19651. msgstr ""
  19652. #. type: Plain text
  19653. #: guix-git/doc/guix.texi:13474
  19654. 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:"
  19655. msgstr ""
  19656. #. type: example
  19657. #: guix-git/doc/guix.texi:13477
  19658. #, no-wrap
  19659. msgid "guix graph git --with-input=openssl=libressl\n"
  19660. msgstr ""
  19661. #. type: Plain text
  19662. #: guix-git/doc/guix.texi:13480
  19663. msgid "So many possibilities, so much fun!"
  19664. msgstr ""
  19665. #. type: section
  19666. #: guix-git/doc/guix.texi:13482
  19667. #, no-wrap
  19668. msgid "Invoking @command{guix publish}"
  19669. msgstr ""
  19670. #. type: command{#1}
  19671. #: guix-git/doc/guix.texi:13484
  19672. #, no-wrap
  19673. msgid "guix publish"
  19674. msgstr ""
  19675. #. type: Plain text
  19676. #: guix-git/doc/guix.texi:13488
  19677. 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})."
  19678. msgstr ""
  19679. #. type: Plain text
  19680. #: guix-git/doc/guix.texi:13494
  19681. 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-1}} build farm."
  19682. msgstr ""
  19683. #. type: Plain text
  19684. #: guix-git/doc/guix.texi:13500
  19685. 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."
  19686. msgstr ""
  19687. #. type: Plain text
  19688. #: guix-git/doc/guix.texi:13504
  19689. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  19690. msgstr ""
  19691. #. type: Plain text
  19692. #: guix-git/doc/guix.texi:13509
  19693. 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})."
  19694. msgstr ""
  19695. #. type: example
  19696. #: guix-git/doc/guix.texi:13514
  19697. #, no-wrap
  19698. msgid "guix publish @var{options}@dots{}\n"
  19699. msgstr ""
  19700. #. type: Plain text
  19701. #: guix-git/doc/guix.texi:13518
  19702. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  19703. msgstr ""
  19704. #. type: example
  19705. #: guix-git/doc/guix.texi:13521
  19706. #, no-wrap
  19707. msgid "guix publish\n"
  19708. msgstr ""
  19709. #. type: Plain text
  19710. #: guix-git/doc/guix.texi:13525
  19711. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  19712. msgstr ""
  19713. #. type: Plain text
  19714. #: guix-git/doc/guix.texi:13533
  19715. 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})."
  19716. msgstr ""
  19717. #. type: Plain text
  19718. #: guix-git/doc/guix.texi:13540
  19719. 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}):"
  19720. msgstr ""
  19721. #. type: example
  19722. #: guix-git/doc/guix.texi:13543
  19723. #, no-wrap
  19724. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  19725. msgstr ""
  19726. #. type: Plain text
  19727. #: guix-git/doc/guix.texi:13547
  19728. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  19729. msgstr ""
  19730. #. type: cindex
  19731. #: guix-git/doc/guix.texi:13548
  19732. #, no-wrap
  19733. msgid "build logs, publication"
  19734. msgstr ""
  19735. #. type: Plain text
  19736. #: guix-git/doc/guix.texi:13550
  19737. msgid "Build logs are available from @code{/log} URLs like:"
  19738. msgstr ""
  19739. #. type: example
  19740. #: guix-git/doc/guix.texi:13553
  19741. #, no-wrap
  19742. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  19743. msgstr ""
  19744. #. type: Plain text
  19745. #: guix-git/doc/guix.texi:13563
  19746. 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."
  19747. msgstr ""
  19748. #. type: item
  19749. #: guix-git/doc/guix.texi:13567
  19750. #, no-wrap
  19751. msgid "--port=@var{port}"
  19752. msgstr ""
  19753. #. type: itemx
  19754. #: guix-git/doc/guix.texi:13568
  19755. #, no-wrap
  19756. msgid "-p @var{port}"
  19757. msgstr ""
  19758. #. type: table
  19759. #: guix-git/doc/guix.texi:13570
  19760. msgid "Listen for HTTP requests on @var{port}."
  19761. msgstr ""
  19762. #. type: item
  19763. #: guix-git/doc/guix.texi:13571
  19764. #, no-wrap
  19765. msgid "--listen=@var{host}"
  19766. msgstr ""
  19767. #. type: table
  19768. #: guix-git/doc/guix.texi:13574
  19769. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  19770. msgstr ""
  19771. #. type: table
  19772. #: guix-git/doc/guix.texi:13579
  19773. 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."
  19774. msgstr ""
  19775. #. type: item
  19776. #: guix-git/doc/guix.texi:13580
  19777. #, no-wrap
  19778. msgid "--compression[=@var{method}[:@var{level}]]"
  19779. msgstr ""
  19780. #. type: itemx
  19781. #: guix-git/doc/guix.texi:13581
  19782. #, no-wrap
  19783. msgid "-C [@var{method}[:@var{level}]]"
  19784. msgstr ""
  19785. #. type: table
  19786. #: guix-git/doc/guix.texi:13585
  19787. 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."
  19788. msgstr ""
  19789. #. type: table
  19790. #: guix-git/doc/guix.texi:13589
  19791. 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."
  19792. msgstr ""
  19793. #. type: table
  19794. #: guix-git/doc/guix.texi:13596
  19795. 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."
  19796. msgstr ""
  19797. #. type: table
  19798. #: guix-git/doc/guix.texi:13600
  19799. 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}."
  19800. msgstr ""
  19801. #. type: table
  19802. #: guix-git/doc/guix.texi:13609
  19803. 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."
  19804. msgstr ""
  19805. #. type: table
  19806. #: guix-git/doc/guix.texi:13614
  19807. 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."
  19808. msgstr ""
  19809. #. type: item
  19810. #: guix-git/doc/guix.texi:13615
  19811. #, no-wrap
  19812. msgid "--cache=@var{directory}"
  19813. msgstr ""
  19814. #. type: itemx
  19815. #: guix-git/doc/guix.texi:13616
  19816. #, no-wrap
  19817. msgid "-c @var{directory}"
  19818. msgstr ""
  19819. #. type: table
  19820. #: guix-git/doc/guix.texi:13619
  19821. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  19822. msgstr ""
  19823. #. type: table
  19824. #: guix-git/doc/guix.texi:13627
  19825. 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."
  19826. msgstr ""
  19827. #. type: table
  19828. #: guix-git/doc/guix.texi:13635
  19829. 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."
  19830. msgstr ""
  19831. #. type: table
  19832. #: guix-git/doc/guix.texi:13642
  19833. 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."
  19834. msgstr ""
  19835. #. type: table
  19836. #: guix-git/doc/guix.texi:13646
  19837. 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."
  19838. msgstr ""
  19839. #. type: table
  19840. #: guix-git/doc/guix.texi:13649
  19841. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  19842. msgstr ""
  19843. #. type: item
  19844. #: guix-git/doc/guix.texi:13650
  19845. #, no-wrap
  19846. msgid "--workers=@var{N}"
  19847. msgstr ""
  19848. #. type: table
  19849. #: guix-git/doc/guix.texi:13653
  19850. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  19851. msgstr ""
  19852. #. type: item
  19853. #: guix-git/doc/guix.texi:13654
  19854. #, no-wrap
  19855. msgid "--ttl=@var{ttl}"
  19856. msgstr ""
  19857. #. type: table
  19858. #: guix-git/doc/guix.texi:13658
  19859. 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."
  19860. msgstr ""
  19861. #. type: table
  19862. #: guix-git/doc/guix.texi:13663
  19863. 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}."
  19864. msgstr ""
  19865. #. type: table
  19866. #: guix-git/doc/guix.texi:13667
  19867. 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."
  19868. msgstr ""
  19869. #. type: item
  19870. #: guix-git/doc/guix.texi:13668
  19871. #, no-wrap
  19872. msgid "--negative-ttl=@var{ttl}"
  19873. msgstr ""
  19874. #. type: table
  19875. #: guix-git/doc/guix.texi:13673
  19876. msgid "Similarly produce @code{Cache-Control} HTTP headers to advertise the time-to-live (TTL) of @emph{negative} lookups---missing store items, for which the HTTP 404 code is returned. By default, no negative TTL is advertised."
  19877. msgstr ""
  19878. #. type: table
  19879. #: guix-git/doc/guix.texi:13677
  19880. msgid "This parameter can help adjust server load and substitute latency by instructing cooperating clients to be more or less patient when a store item is missing."
  19881. msgstr ""
  19882. #. type: item
  19883. #: guix-git/doc/guix.texi:13678
  19884. #, no-wrap
  19885. msgid "--cache-bypass-threshold=@var{size}"
  19886. msgstr ""
  19887. #. type: table
  19888. #: guix-git/doc/guix.texi:13683
  19889. 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}."
  19890. msgstr ""
  19891. #. type: table
  19892. #: guix-git/doc/guix.texi:13688
  19893. 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."
  19894. msgstr ""
  19895. #. type: table
  19896. #: guix-git/doc/guix.texi:13692
  19897. 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."
  19898. msgstr ""
  19899. #. type: item
  19900. #: guix-git/doc/guix.texi:13693
  19901. #, no-wrap
  19902. msgid "--nar-path=@var{path}"
  19903. msgstr ""
  19904. #. type: table
  19905. #: guix-git/doc/guix.texi:13696
  19906. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  19907. msgstr ""
  19908. #. type: table
  19909. #: guix-git/doc/guix.texi:13700
  19910. 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}."
  19911. msgstr ""
  19912. #. type: item
  19913. #: guix-git/doc/guix.texi:13701
  19914. #, no-wrap
  19915. msgid "--public-key=@var{file}"
  19916. msgstr ""
  19917. #. type: itemx
  19918. #: guix-git/doc/guix.texi:13702
  19919. #, no-wrap
  19920. msgid "--private-key=@var{file}"
  19921. msgstr ""
  19922. #. type: table
  19923. #: guix-git/doc/guix.texi:13705 guix-git/doc/guix.texi:29141
  19924. #: guix-git/doc/guix.texi:29178
  19925. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  19926. msgstr ""
  19927. #. type: table
  19928. #: guix-git/doc/guix.texi:13712
  19929. 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."
  19930. msgstr ""
  19931. #. type: item
  19932. #: guix-git/doc/guix.texi:13713
  19933. #, no-wrap
  19934. msgid "--repl[=@var{port}]"
  19935. msgstr ""
  19936. #. type: itemx
  19937. #: guix-git/doc/guix.texi:13714
  19938. #, no-wrap
  19939. msgid "-r [@var{port}]"
  19940. msgstr ""
  19941. #. type: table
  19942. #: guix-git/doc/guix.texi:13718
  19943. 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."
  19944. msgstr ""
  19945. #. type: Plain text
  19946. #: guix-git/doc/guix.texi:13724
  19947. 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}})."
  19948. msgstr ""
  19949. #. type: Plain text
  19950. #: guix-git/doc/guix.texi:13727
  19951. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  19952. msgstr ""
  19953. #. type: itemize
  19954. #: guix-git/doc/guix.texi:13731
  19955. msgid "If your host distro uses the systemd init system:"
  19956. msgstr ""
  19957. #. type: example
  19958. #: guix-git/doc/guix.texi:13736
  19959. #, no-wrap
  19960. msgid ""
  19961. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  19962. " /etc/systemd/system/\n"
  19963. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  19964. msgstr ""
  19965. #. type: example
  19966. #: guix-git/doc/guix.texi:13744
  19967. #, no-wrap
  19968. msgid ""
  19969. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  19970. "# start guix-publish\n"
  19971. msgstr ""
  19972. #. type: itemize
  19973. #: guix-git/doc/guix.texi:13748
  19974. msgid "Otherwise, proceed similarly with your distro's init system."
  19975. msgstr ""
  19976. #. type: section
  19977. #: guix-git/doc/guix.texi:13751
  19978. #, no-wrap
  19979. msgid "Invoking @command{guix challenge}"
  19980. msgstr ""
  19981. #. type: cindex
  19982. #: guix-git/doc/guix.texi:13754
  19983. #, no-wrap
  19984. msgid "verifiable builds"
  19985. msgstr ""
  19986. #. type: command{#1}
  19987. #: guix-git/doc/guix.texi:13755
  19988. #, no-wrap
  19989. msgid "guix challenge"
  19990. msgstr ""
  19991. #. type: cindex
  19992. #: guix-git/doc/guix.texi:13756
  19993. #, no-wrap
  19994. msgid "challenge"
  19995. msgstr ""
  19996. #. type: Plain text
  19997. #: guix-git/doc/guix.texi:13761
  19998. 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."
  19999. msgstr ""
  20000. #. type: Plain text
  20001. #: guix-git/doc/guix.texi:13769
  20002. 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."
  20003. msgstr ""
  20004. #. type: Plain text
  20005. #: guix-git/doc/guix.texi:13778
  20006. 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."
  20007. msgstr ""
  20008. #. type: Plain text
  20009. #: guix-git/doc/guix.texi:13780
  20010. msgid "The command output looks like this:"
  20011. msgstr ""
  20012. #. type: smallexample
  20013. #: guix-git/doc/guix.texi:13792
  20014. #, no-wrap
  20015. msgid ""
  20016. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20017. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  20018. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  20019. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  20020. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20021. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20022. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  20023. " differing files:\n"
  20024. " /lib/libcrypto.so.1.1\n"
  20025. " /lib/libssl.so.1.1\n"
  20026. "\n"
  20027. msgstr ""
  20028. #. type: smallexample
  20029. #: guix-git/doc/guix.texi:13799
  20030. #, no-wrap
  20031. msgid ""
  20032. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  20033. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  20034. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  20035. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  20036. " differing file:\n"
  20037. " /libexec/git-core/git-fsck\n"
  20038. "\n"
  20039. msgstr ""
  20040. #. type: smallexample
  20041. #: guix-git/doc/guix.texi:13806
  20042. #, no-wrap
  20043. msgid ""
  20044. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  20045. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20046. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20047. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  20048. " differing file:\n"
  20049. " /share/man/man1/pius.1.gz\n"
  20050. "\n"
  20051. msgstr ""
  20052. #. type: smallexample
  20053. #: guix-git/doc/guix.texi:13808
  20054. #, no-wrap
  20055. msgid ""
  20056. "@dots{}\n"
  20057. "\n"
  20058. msgstr ""
  20059. #. type: smallexample
  20060. #: guix-git/doc/guix.texi:13813
  20061. #, no-wrap
  20062. msgid ""
  20063. "6,406 store items were analyzed:\n"
  20064. " - 4,749 (74.1%) were identical\n"
  20065. " - 525 (8.2%) differed\n"
  20066. " - 1,132 (17.7%) were inconclusive\n"
  20067. msgstr ""
  20068. #. type: Plain text
  20069. #: guix-git/doc/guix.texi:13821
  20070. 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."
  20071. msgstr ""
  20072. #. type: cindex
  20073. #: guix-git/doc/guix.texi:13822
  20074. #, no-wrap
  20075. msgid "non-determinism, in package builds"
  20076. msgstr ""
  20077. #. type: Plain text
  20078. #: guix-git/doc/guix.texi:13833
  20079. msgid "As an example, @code{guix.example.org} always gets a different answer. Conversely, @code{@value{SUBSTITUTE-SERVER-1}} 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."
  20080. msgstr ""
  20081. #. type: Plain text
  20082. #: guix-git/doc/guix.texi:13836
  20083. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  20084. msgstr ""
  20085. #. type: example
  20086. #: guix-git/doc/guix.texi:13841
  20087. #, no-wrap
  20088. msgid ""
  20089. "guix challenge git \\\n"
  20090. " --diff=diffoscope \\\n"
  20091. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20092. msgstr ""
  20093. #. type: Plain text
  20094. #: guix-git/doc/guix.texi:13845
  20095. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  20096. msgstr ""
  20097. #. type: Plain text
  20098. #: guix-git/doc/guix.texi:13848
  20099. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  20100. msgstr ""
  20101. #. type: example
  20102. #: guix-git/doc/guix.texi:13853
  20103. #, no-wrap
  20104. msgid ""
  20105. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  20106. " | lzip -d | guix archive -x /tmp/git\n"
  20107. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  20108. msgstr ""
  20109. #. type: Plain text
  20110. #: guix-git/doc/guix.texi:13862
  20111. 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-1}} (@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."
  20112. msgstr ""
  20113. #. type: Plain text
  20114. #: guix-git/doc/guix.texi:13870
  20115. 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."
  20116. msgstr ""
  20117. #. type: Plain text
  20118. #: guix-git/doc/guix.texi:13874
  20119. msgid "If you are writing packages for Guix, you are encouraged to check whether @code{@value{SUBSTITUTE-SERVER-1}} and other substitute servers obtain the same build result as you did with:"
  20120. msgstr ""
  20121. #. type: example
  20122. #: guix-git/doc/guix.texi:13877
  20123. #, no-wrap
  20124. msgid "$ guix challenge @var{package}\n"
  20125. msgstr ""
  20126. #. type: Plain text
  20127. #: guix-git/doc/guix.texi:13882
  20128. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  20129. msgstr ""
  20130. #. type: example
  20131. #: guix-git/doc/guix.texi:13887
  20132. #, no-wrap
  20133. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  20134. msgstr ""
  20135. #. type: Plain text
  20136. #: guix-git/doc/guix.texi:13894
  20137. 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)."
  20138. msgstr ""
  20139. #. type: Plain text
  20140. #: guix-git/doc/guix.texi:13896
  20141. msgid "The one option that matters is:"
  20142. msgstr ""
  20143. #. type: table
  20144. #: guix-git/doc/guix.texi:13902
  20145. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  20146. msgstr ""
  20147. #. type: item
  20148. #: guix-git/doc/guix.texi:13903
  20149. #, no-wrap
  20150. msgid "--diff=@var{mode}"
  20151. msgstr ""
  20152. #. type: table
  20153. #: guix-git/doc/guix.texi:13905
  20154. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  20155. msgstr ""
  20156. #. type: item
  20157. #: guix-git/doc/guix.texi:13907
  20158. #, no-wrap
  20159. msgid "@code{simple} (the default)"
  20160. msgstr ""
  20161. #. type: table
  20162. #: guix-git/doc/guix.texi:13909
  20163. msgid "Show the list of files that differ."
  20164. msgstr ""
  20165. #. type: code{#1}
  20166. #: guix-git/doc/guix.texi:13910
  20167. #, no-wrap
  20168. msgid "diffoscope"
  20169. msgstr ""
  20170. #. type: var{#1}
  20171. #: guix-git/doc/guix.texi:13911
  20172. #, no-wrap
  20173. msgid "command"
  20174. msgstr ""
  20175. #. type: table
  20176. #: guix-git/doc/guix.texi:13914
  20177. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  20178. msgstr ""
  20179. #. type: table
  20180. #: guix-git/doc/guix.texi:13917
  20181. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  20182. msgstr ""
  20183. #. type: table
  20184. #: guix-git/doc/guix.texi:13920
  20185. msgid "Do not show further details about the differences."
  20186. msgstr ""
  20187. #. type: table
  20188. #: guix-git/doc/guix.texi:13925
  20189. 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."
  20190. msgstr ""
  20191. #. type: item
  20192. #: guix-git/doc/guix.texi:13926
  20193. #, no-wrap
  20194. msgid "--verbose"
  20195. msgstr ""
  20196. #. type: itemx
  20197. #: guix-git/doc/guix.texi:13927
  20198. #, no-wrap
  20199. msgid "-v"
  20200. msgstr ""
  20201. #. type: table
  20202. #: guix-git/doc/guix.texi:13930
  20203. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  20204. msgstr ""
  20205. #. type: section
  20206. #: guix-git/doc/guix.texi:13934
  20207. #, no-wrap
  20208. msgid "Invoking @command{guix copy}"
  20209. msgstr ""
  20210. #. type: cindex
  20211. #: guix-git/doc/guix.texi:13936
  20212. #, no-wrap
  20213. msgid "copy, of store items, over SSH"
  20214. msgstr ""
  20215. #. type: cindex
  20216. #: guix-git/doc/guix.texi:13937
  20217. #, no-wrap
  20218. msgid "SSH, copy of store items"
  20219. msgstr ""
  20220. #. type: cindex
  20221. #: guix-git/doc/guix.texi:13938
  20222. #, no-wrap
  20223. msgid "sharing store items across machines"
  20224. msgstr ""
  20225. #. type: cindex
  20226. #: guix-git/doc/guix.texi:13939
  20227. #, no-wrap
  20228. msgid "transferring store items across machines"
  20229. msgstr ""
  20230. #. type: Plain text
  20231. #: guix-git/doc/guix.texi:13946
  20232. 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}:"
  20233. msgstr ""
  20234. #. type: example
  20235. #: guix-git/doc/guix.texi:13950
  20236. #, no-wrap
  20237. msgid ""
  20238. "guix copy --to=@var{user}@@@var{host} \\\n"
  20239. " coreutils $(readlink -f ~/.guix-profile)\n"
  20240. msgstr ""
  20241. #. type: Plain text
  20242. #: guix-git/doc/guix.texi:13954
  20243. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  20244. msgstr ""
  20245. #. type: Plain text
  20246. #: guix-git/doc/guix.texi:13957
  20247. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  20248. msgstr ""
  20249. #. type: example
  20250. #: guix-git/doc/guix.texi:13960
  20251. #, no-wrap
  20252. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  20253. msgstr ""
  20254. #. type: Plain text
  20255. #: guix-git/doc/guix.texi:13965
  20256. 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."
  20257. msgstr ""
  20258. #. type: Plain text
  20259. #: guix-git/doc/guix.texi:13971
  20260. 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."
  20261. msgstr ""
  20262. #. type: example
  20263. #: guix-git/doc/guix.texi:13976
  20264. #, no-wrap
  20265. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  20266. msgstr ""
  20267. #. type: Plain text
  20268. #: guix-git/doc/guix.texi:13979
  20269. msgid "You must always specify one of the following options:"
  20270. msgstr ""
  20271. #. type: item
  20272. #: guix-git/doc/guix.texi:13981
  20273. #, no-wrap
  20274. msgid "--to=@var{spec}"
  20275. msgstr ""
  20276. #. type: itemx
  20277. #: guix-git/doc/guix.texi:13982
  20278. #, no-wrap
  20279. msgid "--from=@var{spec}"
  20280. msgstr ""
  20281. #. type: table
  20282. #: guix-git/doc/guix.texi:13986
  20283. 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}."
  20284. msgstr ""
  20285. #. type: Plain text
  20286. #: guix-git/doc/guix.texi:13990
  20287. 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}."
  20288. msgstr ""
  20289. #. type: Plain text
  20290. #: guix-git/doc/guix.texi:13994
  20291. 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})."
  20292. msgstr ""
  20293. #. type: section
  20294. #: guix-git/doc/guix.texi:13997
  20295. #, no-wrap
  20296. msgid "Invoking @command{guix container}"
  20297. msgstr ""
  20298. #. type: command{#1}
  20299. #: guix-git/doc/guix.texi:13999
  20300. #, no-wrap
  20301. msgid "guix container"
  20302. msgstr ""
  20303. #. type: quotation
  20304. #: guix-git/doc/guix.texi:14003
  20305. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  20306. msgstr ""
  20307. #. type: Plain text
  20308. #: guix-git/doc/guix.texi:14010
  20309. 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 shell} (@pxref{Invoking guix shell}) and @command{guix system container} (@pxref{Invoking guix system}) commands."
  20310. msgstr ""
  20311. #. type: example
  20312. #: guix-git/doc/guix.texi:14015
  20313. #, no-wrap
  20314. msgid "guix container @var{action} @var{options}@dots{}\n"
  20315. msgstr ""
  20316. #. type: Plain text
  20317. #: guix-git/doc/guix.texi:14019
  20318. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  20319. msgstr ""
  20320. #. type: Plain text
  20321. #: guix-git/doc/guix.texi:14021
  20322. msgid "The following actions are available:"
  20323. msgstr ""
  20324. #. type: item
  20325. #: guix-git/doc/guix.texi:14023
  20326. #, no-wrap
  20327. msgid "exec"
  20328. msgstr ""
  20329. #. type: table
  20330. #: guix-git/doc/guix.texi:14025
  20331. msgid "Execute a command within the context of a running container."
  20332. msgstr ""
  20333. #. type: table
  20334. #: guix-git/doc/guix.texi:14027
  20335. msgid "The syntax is:"
  20336. msgstr ""
  20337. #. type: example
  20338. #: guix-git/doc/guix.texi:14030
  20339. #, no-wrap
  20340. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  20341. msgstr ""
  20342. #. type: table
  20343. #: guix-git/doc/guix.texi:14036
  20344. 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}."
  20345. msgstr ""
  20346. #. type: table
  20347. #: guix-git/doc/guix.texi:14040
  20348. 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:"
  20349. msgstr ""
  20350. #. type: example
  20351. #: guix-git/doc/guix.texi:14043
  20352. #, no-wrap
  20353. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  20354. msgstr ""
  20355. #. type: table
  20356. #: guix-git/doc/guix.texi:14047
  20357. 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."
  20358. msgstr ""
  20359. #. type: section
  20360. #: guix-git/doc/guix.texi:14051
  20361. #, no-wrap
  20362. msgid "Invoking @command{guix weather}"
  20363. msgstr ""
  20364. #. type: Plain text
  20365. #: guix-git/doc/guix.texi:14060
  20366. 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})."
  20367. msgstr ""
  20368. #. type: cindex
  20369. #: guix-git/doc/guix.texi:14061
  20370. #, no-wrap
  20371. msgid "statistics, for substitutes"
  20372. msgstr ""
  20373. #. type: cindex
  20374. #: guix-git/doc/guix.texi:14062
  20375. #, no-wrap
  20376. msgid "availability of substitutes"
  20377. msgstr ""
  20378. #. type: cindex
  20379. #: guix-git/doc/guix.texi:14063
  20380. #, no-wrap
  20381. msgid "substitute availability"
  20382. msgstr ""
  20383. #. type: cindex
  20384. #: guix-git/doc/guix.texi:14064
  20385. #, no-wrap
  20386. msgid "weather, substitute availability"
  20387. msgstr ""
  20388. #. type: Plain text
  20389. #: guix-git/doc/guix.texi:14066
  20390. msgid "Here's a sample run:"
  20391. msgstr ""
  20392. #. type: example
  20393. #: guix-git/doc/guix.texi:14078
  20394. #, no-wrap
  20395. msgid ""
  20396. "$ guix weather --substitute-urls=https://guix.example.org\n"
  20397. "computing 5,872 package derivations for x86_64-linux...\n"
  20398. "looking for 6,128 store items on https://guix.example.org..\n"
  20399. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  20400. "https://guix.example.org\n"
  20401. " 43.4% substitutes available (2,658 out of 6,128)\n"
  20402. " 7,032.5 MiB of nars (compressed)\n"
  20403. " 19,824.2 MiB on disk (uncompressed)\n"
  20404. " 0.030 seconds per request (182.9 seconds in total)\n"
  20405. " 33.5 requests per second\n"
  20406. "\n"
  20407. msgstr ""
  20408. #. type: example
  20409. #: guix-git/doc/guix.texi:14088
  20410. #, no-wrap
  20411. msgid ""
  20412. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  20413. " 867 queued builds\n"
  20414. " x86_64-linux: 518 (59.7%)\n"
  20415. " i686-linux: 221 (25.5%)\n"
  20416. " aarch64-linux: 128 (14.8%)\n"
  20417. " build rate: 23.41 builds per hour\n"
  20418. " x86_64-linux: 11.16 builds per hour\n"
  20419. " i686-linux: 6.03 builds per hour\n"
  20420. " aarch64-linux: 6.41 builds per hour\n"
  20421. msgstr ""
  20422. #. type: cindex
  20423. #: guix-git/doc/guix.texi:14090
  20424. #, no-wrap
  20425. msgid "continuous integration, statistics"
  20426. msgstr ""
  20427. #. type: Plain text
  20428. #: guix-git/doc/guix.texi:14101
  20429. 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)."
  20430. msgstr ""
  20431. #. type: Plain text
  20432. #: guix-git/doc/guix.texi:14107
  20433. 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."
  20434. msgstr ""
  20435. #. type: example
  20436. #: guix-git/doc/guix.texi:14112
  20437. #, no-wrap
  20438. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  20439. msgstr ""
  20440. #. type: Plain text
  20441. #: guix-git/doc/guix.texi:14120
  20442. 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%."
  20443. msgstr ""
  20444. #. type: Plain text
  20445. #: guix-git/doc/guix.texi:14122
  20446. msgid "The available options are listed below."
  20447. msgstr ""
  20448. #. type: table
  20449. #: guix-git/doc/guix.texi:14128
  20450. 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."
  20451. msgstr ""
  20452. #. type: table
  20453. #: guix-git/doc/guix.texi:14134
  20454. 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."
  20455. msgstr ""
  20456. #. type: table
  20457. #: guix-git/doc/guix.texi:14140
  20458. 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})."
  20459. msgstr ""
  20460. #. type: table
  20461. #: guix-git/doc/guix.texi:14143
  20462. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  20463. msgstr ""
  20464. #. type: item
  20465. #: guix-git/doc/guix.texi:14144
  20466. #, no-wrap
  20467. msgid "--coverage[=@var{count}]"
  20468. msgstr ""
  20469. #. type: itemx
  20470. #: guix-git/doc/guix.texi:14145
  20471. #, no-wrap
  20472. msgid "-c [@var{count}]"
  20473. msgstr ""
  20474. #. type: table
  20475. #: guix-git/doc/guix.texi:14151
  20476. 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:"
  20477. msgstr ""
  20478. #. type: example
  20479. #: guix-git/doc/guix.texi:14165
  20480. #, no-wrap
  20481. msgid ""
  20482. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  20483. "computing 8,983 package derivations for x86_64-linux...\n"
  20484. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  20485. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  20486. "@value{SUBSTITUTE-URLS}\n"
  20487. " 64.7% substitutes available (6,047 out of 9,343)\n"
  20488. "@dots{}\n"
  20489. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  20490. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  20491. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  20492. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  20493. " @dots{}\n"
  20494. msgstr ""
  20495. #. type: table
  20496. #: guix-git/doc/guix.texi:14171
  20497. 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-1}}; likewise for @code{qgpgme} and the 46 packages that depend on it."
  20498. msgstr ""
  20499. #. type: table
  20500. #: guix-git/doc/guix.texi:14175
  20501. 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."
  20502. msgstr ""
  20503. #. type: item
  20504. #: guix-git/doc/guix.texi:14176
  20505. #, no-wrap
  20506. msgid "--display-missing"
  20507. msgstr ""
  20508. #. type: table
  20509. #: guix-git/doc/guix.texi:14178
  20510. msgid "Display the list of store items for which substitutes are missing."
  20511. msgstr ""
  20512. #. type: section
  20513. #: guix-git/doc/guix.texi:14181
  20514. #, no-wrap
  20515. msgid "Invoking @command{guix processes}"
  20516. msgstr ""
  20517. #. type: Plain text
  20518. #: guix-git/doc/guix.texi:14189
  20519. 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:"
  20520. msgstr ""
  20521. #. type: example
  20522. #: guix-git/doc/guix.texi:14195
  20523. #, no-wrap
  20524. msgid ""
  20525. "$ sudo guix processes\n"
  20526. "SessionPID: 19002\n"
  20527. "ClientPID: 19090\n"
  20528. "ClientCommand: guix shell python\n"
  20529. "\n"
  20530. msgstr ""
  20531. #. type: example
  20532. #: guix-git/doc/guix.texi:14199
  20533. #, no-wrap
  20534. msgid ""
  20535. "SessionPID: 19402\n"
  20536. "ClientPID: 19367\n"
  20537. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  20538. "\n"
  20539. msgstr ""
  20540. #. type: example
  20541. #: guix-git/doc/guix.texi:14212
  20542. #, no-wrap
  20543. msgid ""
  20544. "SessionPID: 19444\n"
  20545. "ClientPID: 19419\n"
  20546. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  20547. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  20548. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  20549. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  20550. "ChildPID: 20495\n"
  20551. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  20552. "ChildPID: 27733\n"
  20553. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  20554. "ChildPID: 27793\n"
  20555. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  20556. msgstr ""
  20557. #. type: Plain text
  20558. #: guix-git/doc/guix.texi:14219
  20559. 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."
  20560. msgstr ""
  20561. #. type: Plain text
  20562. #: guix-git/doc/guix.texi:14226
  20563. 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})."
  20564. msgstr ""
  20565. #. type: Plain text
  20566. #: guix-git/doc/guix.texi:14231
  20567. 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:"
  20568. msgstr ""
  20569. #. type: example
  20570. #: guix-git/doc/guix.texi:14237
  20571. #, no-wrap
  20572. msgid ""
  20573. "$ sudo guix processes | \\\n"
  20574. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  20575. "ClientPID: 19419\n"
  20576. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  20577. msgstr ""
  20578. #. type: Plain text
  20579. #: guix-git/doc/guix.texi:14240
  20580. msgid "Additional options are listed below."
  20581. msgstr ""
  20582. #. type: table
  20583. #: guix-git/doc/guix.texi:14250
  20584. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  20585. msgstr ""
  20586. #. type: item
  20587. #: guix-git/doc/guix.texi:14251
  20588. #, no-wrap
  20589. msgid "normalized"
  20590. msgstr ""
  20591. #. type: table
  20592. #: guix-git/doc/guix.texi:14258
  20593. 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}."
  20594. msgstr ""
  20595. #. type: example
  20596. #: guix-git/doc/guix.texi:14268
  20597. #, no-wrap
  20598. msgid ""
  20599. "$ guix processes --format=normalized | \\\n"
  20600. " recsel \\\n"
  20601. " -j Session \\\n"
  20602. " -t ChildProcess \\\n"
  20603. " -p Session.PID,PID \\\n"
  20604. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  20605. "PID: 4435\n"
  20606. "Session_PID: 4278\n"
  20607. "\n"
  20608. msgstr ""
  20609. #. type: example
  20610. #: guix-git/doc/guix.texi:14271
  20611. #, no-wrap
  20612. msgid ""
  20613. "PID: 4554\n"
  20614. "Session_PID: 4278\n"
  20615. "\n"
  20616. msgstr ""
  20617. #. type: example
  20618. #: guix-git/doc/guix.texi:14274
  20619. #, no-wrap
  20620. msgid ""
  20621. "PID: 4646\n"
  20622. "Session_PID: 4278\n"
  20623. msgstr ""
  20624. #. type: cindex
  20625. #: guix-git/doc/guix.texi:14281
  20626. #, no-wrap
  20627. msgid "system configuration"
  20628. msgstr ""
  20629. #. type: Plain text
  20630. #: guix-git/doc/guix.texi:14287
  20631. 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."
  20632. msgstr ""
  20633. #. type: Plain text
  20634. #: guix-git/doc/guix.texi:14297
  20635. 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."
  20636. msgstr ""
  20637. #. type: Plain text
  20638. #: guix-git/doc/guix.texi:14302
  20639. 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."
  20640. msgstr ""
  20641. #. type: Plain text
  20642. #: guix-git/doc/guix.texi:14332
  20643. 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:"
  20644. msgstr ""
  20645. #. type: code{#1}
  20646. #: guix-git/doc/guix.texi:14333 guix-git/doc/guix.texi:35553
  20647. #, no-wrap
  20648. msgid "operating-system"
  20649. msgstr ""
  20650. #. type: include
  20651. #: guix-git/doc/guix.texi:14335
  20652. #, no-wrap
  20653. msgid "os-config-bare-bones.texi"
  20654. msgstr ""
  20655. #. type: Plain text
  20656. #: guix-git/doc/guix.texi:14342
  20657. 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."
  20658. msgstr ""
  20659. #. type: Plain text
  20660. #: guix-git/doc/guix.texi:14347
  20661. 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}."
  20662. msgstr ""
  20663. #. type: unnumberedsubsec
  20664. #: guix-git/doc/guix.texi:14348
  20665. #, no-wrap
  20666. msgid "Bootloader"
  20667. msgstr ""
  20668. #. type: cindex
  20669. #: guix-git/doc/guix.texi:14350
  20670. #, no-wrap
  20671. msgid "legacy boot, on Intel machines"
  20672. msgstr ""
  20673. #. type: cindex
  20674. #: guix-git/doc/guix.texi:14351
  20675. #, no-wrap
  20676. msgid "BIOS boot, on Intel machines"
  20677. msgstr ""
  20678. #. type: cindex
  20679. #: guix-git/doc/guix.texi:14352
  20680. #, no-wrap
  20681. msgid "UEFI boot"
  20682. msgstr ""
  20683. #. type: cindex
  20684. #: guix-git/doc/guix.texi:14353
  20685. #, no-wrap
  20686. msgid "EFI boot"
  20687. msgstr ""
  20688. #. type: Plain text
  20689. #: guix-git/doc/guix.texi:14359
  20690. 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:"
  20691. msgstr ""
  20692. #. type: lisp
  20693. #: guix-git/doc/guix.texi:14364
  20694. #, no-wrap
  20695. msgid ""
  20696. "(bootloader-configuration\n"
  20697. " (bootloader grub-efi-bootloader)\n"
  20698. " (targets '(\"/boot/efi\")))\n"
  20699. msgstr ""
  20700. #. type: Plain text
  20701. #: guix-git/doc/guix.texi:14368
  20702. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  20703. msgstr ""
  20704. #. type: unnumberedsubsec
  20705. #: guix-git/doc/guix.texi:14369
  20706. #, no-wrap
  20707. msgid "Globally-Visible Packages"
  20708. msgstr ""
  20709. #. type: vindex
  20710. #: guix-git/doc/guix.texi:14371
  20711. #, no-wrap
  20712. msgid "%base-packages"
  20713. msgstr ""
  20714. #. type: Plain text
  20715. #: guix-git/doc/guix.texi:14384
  20716. 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 @command{mg} 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:"
  20717. msgstr ""
  20718. #. type: lisp
  20719. #: guix-git/doc/guix.texi:14388
  20720. #, no-wrap
  20721. msgid ""
  20722. "(use-modules (gnu packages))\n"
  20723. "(use-modules (gnu packages dns))\n"
  20724. "\n"
  20725. msgstr ""
  20726. #. type: lisp
  20727. #: guix-git/doc/guix.texi:14393
  20728. #, no-wrap
  20729. msgid ""
  20730. "(operating-system\n"
  20731. " ;; ...\n"
  20732. " (packages (cons (list isc-bind \"utils\")\n"
  20733. " %base-packages)))\n"
  20734. msgstr ""
  20735. #. type: findex
  20736. #: guix-git/doc/guix.texi:14395
  20737. #, no-wrap
  20738. msgid "specification->package"
  20739. msgstr ""
  20740. #. type: Plain text
  20741. #: guix-git/doc/guix.texi:14404
  20742. msgid "Referring to packages by variable name, like @code{isc-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:"
  20743. msgstr ""
  20744. #. type: lisp
  20745. #: guix-git/doc/guix.texi:14407
  20746. #, no-wrap
  20747. msgid ""
  20748. "(use-modules (gnu packages))\n"
  20749. "\n"
  20750. msgstr ""
  20751. #. type: lisp
  20752. #: guix-git/doc/guix.texi:14413
  20753. #, no-wrap
  20754. msgid ""
  20755. "(operating-system\n"
  20756. " ;; ...\n"
  20757. " (packages (append (map specification->package\n"
  20758. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  20759. " %base-packages)))\n"
  20760. msgstr ""
  20761. #. type: unnumberedsubsec
  20762. #: guix-git/doc/guix.texi:14415
  20763. #, no-wrap
  20764. msgid "System Services"
  20765. msgstr ""
  20766. #. type: cindex
  20767. #: guix-git/doc/guix.texi:14417 guix-git/doc/guix.texi:34307
  20768. #: guix-git/doc/guix.texi:35783
  20769. #, no-wrap
  20770. msgid "services"
  20771. msgstr ""
  20772. #. type: vindex
  20773. #: guix-git/doc/guix.texi:14418
  20774. #, no-wrap
  20775. msgid "%base-services"
  20776. msgstr ""
  20777. #. type: Plain text
  20778. #: guix-git/doc/guix.texi:14428
  20779. 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})."
  20780. msgstr ""
  20781. #. type: cindex
  20782. #: guix-git/doc/guix.texi:14429
  20783. #, no-wrap
  20784. msgid "customization, of services"
  20785. msgstr ""
  20786. #. type: findex
  20787. #: guix-git/doc/guix.texi:14430
  20788. #, no-wrap
  20789. msgid "modify-services"
  20790. msgstr ""
  20791. #. type: Plain text
  20792. #: guix-git/doc/guix.texi:14434
  20793. 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."
  20794. msgstr ""
  20795. #. type: anchor{#1}
  20796. #: guix-git/doc/guix.texi:14440
  20797. msgid "auto-login to TTY"
  20798. msgstr ""
  20799. #. type: Plain text
  20800. #: guix-git/doc/guix.texi:14440
  20801. 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:"
  20802. msgstr ""
  20803. #. type: lisp
  20804. #: guix-git/doc/guix.texi:14457
  20805. #, no-wrap
  20806. msgid ""
  20807. "(define %my-services\n"
  20808. " ;; My very own list of services.\n"
  20809. " (modify-services %base-services\n"
  20810. " (guix-service-type config =>\n"
  20811. " (guix-configuration\n"
  20812. " (inherit config)\n"
  20813. " ;; Fetch substitutes from example.org.\n"
  20814. " (substitute-urls\n"
  20815. " (list \"https://example.org/guix\"\n"
  20816. " \"https://ci.guix.gnu.org\"))))\n"
  20817. " (mingetty-service-type config =>\n"
  20818. " (mingetty-configuration\n"
  20819. " (inherit config)\n"
  20820. " ;; Automatially log in as \"guest\".\n"
  20821. " (auto-login \"guest\")))))\n"
  20822. "\n"
  20823. msgstr ""
  20824. #. type: lisp
  20825. #: guix-git/doc/guix.texi:14461
  20826. #, no-wrap
  20827. msgid ""
  20828. "(operating-system\n"
  20829. " ;; @dots{}\n"
  20830. " (services %my-services))\n"
  20831. msgstr ""
  20832. #. type: Plain text
  20833. #: guix-git/doc/guix.texi:14474
  20834. 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 (@pxref{Auto-Login to a Specific TTY, see the cookbook for how to auto-login one user to a specific TTY,, guix-cookbook, GNU Guix Cookbook})). 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."
  20835. msgstr ""
  20836. #. type: Plain text
  20837. #: guix-git/doc/guix.texi:14481
  20838. msgid "The configuration for a typical ``desktop'' usage, with an encrypted root partition, a swap file on the 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:"
  20839. msgstr ""
  20840. #. type: include
  20841. #: guix-git/doc/guix.texi:14483
  20842. #, no-wrap
  20843. msgid "os-config-desktop.texi"
  20844. msgstr ""
  20845. #. type: Plain text
  20846. #: guix-git/doc/guix.texi:14488
  20847. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  20848. msgstr ""
  20849. #. type: include
  20850. #: guix-git/doc/guix.texi:14490
  20851. #, no-wrap
  20852. msgid "os-config-lightweight-desktop.texi"
  20853. msgstr ""
  20854. #. type: Plain text
  20855. #: guix-git/doc/guix.texi:14496
  20856. 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."
  20857. msgstr ""
  20858. #. type: Plain text
  20859. #: guix-git/doc/guix.texi:14500
  20860. 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."
  20861. msgstr ""
  20862. #. type: Plain text
  20863. #: guix-git/doc/guix.texi:14507
  20864. 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:"
  20865. msgstr ""
  20866. #. type: lisp
  20867. #: guix-git/doc/guix.texi:14512
  20868. #, no-wrap
  20869. msgid ""
  20870. "(remove (lambda (service)\n"
  20871. " (eq? (service-kind service) avahi-service-type))\n"
  20872. " %desktop-services)\n"
  20873. msgstr ""
  20874. #. type: Plain text
  20875. #: guix-git/doc/guix.texi:14515
  20876. msgid "Alternatively, the @code{modify-services} macro can be used:"
  20877. msgstr ""
  20878. #. type: lisp
  20879. #: guix-git/doc/guix.texi:14519
  20880. #, no-wrap
  20881. msgid ""
  20882. "(modify-services %desktop-services\n"
  20883. " (delete avahi-service-type))\n"
  20884. msgstr ""
  20885. #. type: unnumberedsubsec
  20886. #: guix-git/doc/guix.texi:14522
  20887. #, no-wrap
  20888. msgid "Instantiating the System"
  20889. msgstr ""
  20890. #. type: Plain text
  20891. #: guix-git/doc/guix.texi:14529
  20892. 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})."
  20893. msgstr ""
  20894. #. type: Plain text
  20895. #: guix-git/doc/guix.texi:14537
  20896. 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."
  20897. msgstr ""
  20898. #. type: cindex
  20899. #: guix-git/doc/guix.texi:14538
  20900. #, no-wrap
  20901. msgid "roll-back, of the operating system"
  20902. msgstr ""
  20903. #. type: Plain text
  20904. #: guix-git/doc/guix.texi:14548
  20905. 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}."
  20906. msgstr ""
  20907. #. type: Plain text
  20908. #: guix-git/doc/guix.texi:14554
  20909. 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})."
  20910. msgstr ""
  20911. #. type: unnumberedsubsec
  20912. #: guix-git/doc/guix.texi:14555
  20913. #, no-wrap
  20914. msgid "The Programming Interface"
  20915. msgstr ""
  20916. #. type: Plain text
  20917. #: guix-git/doc/guix.texi:14560
  20918. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  20919. msgstr ""
  20920. #. type: deffn
  20921. #: guix-git/doc/guix.texi:14561
  20922. #, no-wrap
  20923. msgid "{Monadic Procedure} operating-system-derivation os"
  20924. msgstr ""
  20925. #. type: deffn
  20926. #: guix-git/doc/guix.texi:14564
  20927. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  20928. msgstr ""
  20929. #. type: deffn
  20930. #: guix-git/doc/guix.texi:14568
  20931. 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}."
  20932. msgstr ""
  20933. #. type: Plain text
  20934. #: guix-git/doc/guix.texi:14573
  20935. 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!"
  20936. msgstr ""
  20937. #. type: section
  20938. #: guix-git/doc/guix.texi:14576
  20939. #, no-wrap
  20940. msgid "@code{operating-system} Reference"
  20941. msgstr ""
  20942. #. type: Plain text
  20943. #: guix-git/doc/guix.texi:14581
  20944. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  20945. msgstr ""
  20946. #. type: deftp
  20947. #: guix-git/doc/guix.texi:14582
  20948. #, no-wrap
  20949. msgid "{Data Type} operating-system"
  20950. msgstr ""
  20951. #. type: deftp
  20952. #: guix-git/doc/guix.texi:14586
  20953. 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})."
  20954. msgstr ""
  20955. #. type: item
  20956. #: guix-git/doc/guix.texi:14588
  20957. #, no-wrap
  20958. msgid "@code{kernel} (default: @code{linux-libre})"
  20959. msgstr ""
  20960. #. type: table
  20961. #: guix-git/doc/guix.texi:14593
  20962. 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.}."
  20963. msgstr ""
  20964. #. type: code{#1}
  20965. #: guix-git/doc/guix.texi:14594 guix-git/doc/guix.texi:30733
  20966. #, no-wrap
  20967. msgid "hurd"
  20968. msgstr ""
  20969. #. type: item
  20970. #: guix-git/doc/guix.texi:14595
  20971. #, no-wrap
  20972. msgid "@code{hurd} (default: @code{#f})"
  20973. msgstr ""
  20974. #. type: table
  20975. #: guix-git/doc/guix.texi:14600
  20976. 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."
  20977. msgstr ""
  20978. #. type: quotation
  20979. #: guix-git/doc/guix.texi:14603
  20980. msgid "This feature is experimental and only supported for disk images."
  20981. msgstr ""
  20982. #. type: item
  20983. #: guix-git/doc/guix.texi:14605
  20984. #, no-wrap
  20985. msgid "@code{kernel-loadable-modules} (default: '())"
  20986. msgstr ""
  20987. #. type: table
  20988. #: guix-git/doc/guix.texi:14608
  20989. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  20990. msgstr ""
  20991. #. type: item
  20992. #: guix-git/doc/guix.texi:14609
  20993. #, no-wrap
  20994. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  20995. msgstr ""
  20996. #. type: table
  20997. #: guix-git/doc/guix.texi:14612
  20998. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  20999. msgstr ""
  21000. #. type: code{#1}
  21001. #: guix-git/doc/guix.texi:14613 guix-git/doc/guix.texi:34539
  21002. #: guix-git/doc/guix.texi:34558
  21003. #, no-wrap
  21004. msgid "bootloader"
  21005. msgstr ""
  21006. #. type: table
  21007. #: guix-git/doc/guix.texi:14615
  21008. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  21009. msgstr ""
  21010. #. type: code{#1}
  21011. #: guix-git/doc/guix.texi:14616 guix-git/doc/guix.texi:34732
  21012. #, no-wrap
  21013. msgid "label"
  21014. msgstr ""
  21015. #. type: table
  21016. #: guix-git/doc/guix.texi:14619
  21017. 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."
  21018. msgstr ""
  21019. #. type: item
  21020. #: guix-git/doc/guix.texi:14620 guix-git/doc/guix.texi:16318
  21021. #: guix-git/doc/guix.texi:19503 guix-git/doc/guix.texi:34662
  21022. #, no-wrap
  21023. msgid "@code{keyboard-layout} (default: @code{#f})"
  21024. msgstr ""
  21025. #. type: table
  21026. #: guix-git/doc/guix.texi:14625
  21027. 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."
  21028. msgstr ""
  21029. #. type: table
  21030. #: guix-git/doc/guix.texi:14630
  21031. 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})."
  21032. msgstr ""
  21033. #. type: quotation
  21034. #: guix-git/doc/guix.texi:14637
  21035. 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."
  21036. msgstr ""
  21037. #. type: item
  21038. #: guix-git/doc/guix.texi:14639
  21039. #, no-wrap
  21040. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  21041. msgstr ""
  21042. #. type: cindex
  21043. #: guix-git/doc/guix.texi:14640 guix-git/doc/guix.texi:34344
  21044. #: guix-git/doc/guix.texi:34467
  21045. #, no-wrap
  21046. msgid "initrd"
  21047. msgstr ""
  21048. #. type: cindex
  21049. #: guix-git/doc/guix.texi:14641 guix-git/doc/guix.texi:34345
  21050. #: guix-git/doc/guix.texi:34468
  21051. #, no-wrap
  21052. msgid "initial RAM disk"
  21053. msgstr ""
  21054. #. type: table
  21055. #: guix-git/doc/guix.texi:14644
  21056. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  21057. msgstr ""
  21058. #. type: item
  21059. #: guix-git/doc/guix.texi:14645
  21060. #, no-wrap
  21061. msgid "@code{initrd} (default: @code{base-initrd})"
  21062. msgstr ""
  21063. #. type: table
  21064. #: guix-git/doc/guix.texi:14649
  21065. 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}."
  21066. msgstr ""
  21067. #. type: item
  21068. #: guix-git/doc/guix.texi:14650
  21069. #, no-wrap
  21070. msgid "@code{firmware} (default: @code{%base-firmware})"
  21071. msgstr ""
  21072. #. type: cindex
  21073. #: guix-git/doc/guix.texi:14651
  21074. #, no-wrap
  21075. msgid "firmware"
  21076. msgstr ""
  21077. #. type: table
  21078. #: guix-git/doc/guix.texi:14653
  21079. msgid "List of firmware packages loadable by the operating system kernel."
  21080. msgstr ""
  21081. #. type: table
  21082. #: guix-git/doc/guix.texi:14658
  21083. 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."
  21084. msgstr ""
  21085. #. type: code{#1}
  21086. #: guix-git/doc/guix.texi:14659 guix-git/doc/guix.texi:35572
  21087. #, no-wrap
  21088. msgid "host-name"
  21089. msgstr ""
  21090. #. type: table
  21091. #: guix-git/doc/guix.texi:14661
  21092. msgid "The host name."
  21093. msgstr ""
  21094. #. type: code{#1}
  21095. #: guix-git/doc/guix.texi:14662
  21096. #, no-wrap
  21097. msgid "hosts-file"
  21098. msgstr ""
  21099. #. type: cindex
  21100. #: guix-git/doc/guix.texi:14663
  21101. #, no-wrap
  21102. msgid "hosts file"
  21103. msgstr ""
  21104. #. type: table
  21105. #: guix-git/doc/guix.texi:14668
  21106. 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}."
  21107. msgstr ""
  21108. #. type: item
  21109. #: guix-git/doc/guix.texi:14669
  21110. #, no-wrap
  21111. msgid "@code{mapped-devices} (default: @code{'()})"
  21112. msgstr ""
  21113. #. type: table
  21114. #: guix-git/doc/guix.texi:14671
  21115. msgid "A list of mapped devices. @xref{Mapped Devices}."
  21116. msgstr ""
  21117. #. type: code{#1}
  21118. #: guix-git/doc/guix.texi:14672
  21119. #, no-wrap
  21120. msgid "file-systems"
  21121. msgstr ""
  21122. #. type: table
  21123. #: guix-git/doc/guix.texi:14674
  21124. msgid "A list of file systems. @xref{File Systems}."
  21125. msgstr ""
  21126. #. type: item
  21127. #: guix-git/doc/guix.texi:14675
  21128. #, no-wrap
  21129. msgid "@code{swap-devices} (default: @code{'()})"
  21130. msgstr ""
  21131. #. type: cindex
  21132. #: guix-git/doc/guix.texi:14676
  21133. #, no-wrap
  21134. msgid "swap devices"
  21135. msgstr ""
  21136. #. type: table
  21137. #: guix-git/doc/guix.texi:14678
  21138. msgid "A list of swap spaces. @xref{Swap Space}."
  21139. msgstr ""
  21140. #. type: item
  21141. #: guix-git/doc/guix.texi:14679
  21142. #, no-wrap
  21143. msgid "@code{users} (default: @code{%base-user-accounts})"
  21144. msgstr ""
  21145. #. type: itemx
  21146. #: guix-git/doc/guix.texi:14680
  21147. #, no-wrap
  21148. msgid "@code{groups} (default: @code{%base-groups})"
  21149. msgstr ""
  21150. #. type: table
  21151. #: guix-git/doc/guix.texi:14682
  21152. msgid "List of user accounts and groups. @xref{User Accounts}."
  21153. msgstr ""
  21154. #. type: table
  21155. #: guix-git/doc/guix.texi:14685
  21156. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  21157. msgstr ""
  21158. #. type: item
  21159. #: guix-git/doc/guix.texi:14686
  21160. #, no-wrap
  21161. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  21162. msgstr ""
  21163. #. type: table
  21164. #: guix-git/doc/guix.texi:14690
  21165. 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."
  21166. msgstr ""
  21167. #. type: table
  21168. #: guix-git/doc/guix.texi:14692
  21169. msgid "For instance, a valid value may look like this:"
  21170. msgstr ""
  21171. #. type: lisp
  21172. #: guix-git/doc/guix.texi:14698
  21173. #, no-wrap
  21174. msgid ""
  21175. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  21176. " (\".guile\" ,(plain-file \"guile\"\n"
  21177. " \"(use-modules (ice-9 readline))\n"
  21178. " (activate-readline)\")))\n"
  21179. msgstr ""
  21180. #. type: item
  21181. #: guix-git/doc/guix.texi:14700
  21182. #, no-wrap
  21183. msgid "@code{issue} (default: @code{%default-issue})"
  21184. msgstr ""
  21185. #. type: table
  21186. #: guix-git/doc/guix.texi:14703
  21187. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  21188. msgstr ""
  21189. #. type: item
  21190. #: guix-git/doc/guix.texi:14704
  21191. #, no-wrap
  21192. msgid "@code{packages} (default: @code{%base-packages})"
  21193. msgstr ""
  21194. #. type: table
  21195. #: guix-git/doc/guix.texi:14708
  21196. 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:"
  21197. msgstr ""
  21198. #. type: lisp
  21199. #: guix-git/doc/guix.texi:14713
  21200. #, no-wrap
  21201. msgid ""
  21202. "(cons* git ; the default \"out\" output\n"
  21203. " (list git \"send-email\") ; another output of git\n"
  21204. " %base-packages) ; the default set\n"
  21205. msgstr ""
  21206. #. type: table
  21207. #: guix-git/doc/guix.texi:14718
  21208. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  21209. msgstr ""
  21210. #. type: code{#1}
  21211. #: guix-git/doc/guix.texi:14719
  21212. #, no-wrap
  21213. msgid "timezone"
  21214. msgstr ""
  21215. #. type: table
  21216. #: guix-git/doc/guix.texi:14721
  21217. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  21218. msgstr ""
  21219. #. type: table
  21220. #: guix-git/doc/guix.texi:14725
  21221. 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."
  21222. msgstr ""
  21223. #. type: item
  21224. #: guix-git/doc/guix.texi:14726 guix-git/doc/guix.texi:21115
  21225. #, no-wrap
  21226. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  21227. msgstr ""
  21228. #. type: table
  21229. #: guix-git/doc/guix.texi:14729
  21230. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  21231. msgstr ""
  21232. #. type: item
  21233. #: guix-git/doc/guix.texi:14730
  21234. #, no-wrap
  21235. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  21236. msgstr ""
  21237. #. type: table
  21238. #: guix-git/doc/guix.texi:14733
  21239. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  21240. msgstr ""
  21241. #. type: item
  21242. #: guix-git/doc/guix.texi:14734
  21243. #, no-wrap
  21244. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  21245. msgstr ""
  21246. #. type: table
  21247. #: guix-git/doc/guix.texi:14738
  21248. 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."
  21249. msgstr ""
  21250. #. type: item
  21251. #: guix-git/doc/guix.texi:14739
  21252. #, no-wrap
  21253. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  21254. msgstr ""
  21255. #. type: table
  21256. #: guix-git/doc/guix.texi:14743
  21257. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  21258. msgstr ""
  21259. #. type: item
  21260. #: guix-git/doc/guix.texi:14744
  21261. #, no-wrap
  21262. msgid "@code{services} (default: @code{%base-services})"
  21263. msgstr ""
  21264. #. type: table
  21265. #: guix-git/doc/guix.texi:14746
  21266. msgid "A list of service objects denoting system services. @xref{Services}."
  21267. msgstr ""
  21268. #. type: cindex
  21269. #: guix-git/doc/guix.texi:14747
  21270. #, no-wrap
  21271. msgid "essential services"
  21272. msgstr ""
  21273. #. type: item
  21274. #: guix-git/doc/guix.texi:14748
  21275. #, no-wrap
  21276. msgid "@code{essential-services} (default: ...)"
  21277. msgstr ""
  21278. #. type: table
  21279. #: guix-git/doc/guix.texi:14753
  21280. 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."
  21281. msgstr ""
  21282. #. type: item
  21283. #: guix-git/doc/guix.texi:14754
  21284. #, no-wrap
  21285. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  21286. msgstr ""
  21287. #. type: cindex
  21288. #: guix-git/doc/guix.texi:14755
  21289. #, no-wrap
  21290. msgid "PAM"
  21291. msgstr ""
  21292. #. type: cindex
  21293. #: guix-git/doc/guix.texi:14756
  21294. #, no-wrap
  21295. msgid "pluggable authentication modules"
  21296. msgstr ""
  21297. #. type: table
  21298. #: guix-git/doc/guix.texi:14759
  21299. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  21300. msgstr ""
  21301. #. type: item
  21302. #: guix-git/doc/guix.texi:14760
  21303. #, no-wrap
  21304. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  21305. msgstr ""
  21306. #. type: table
  21307. #: guix-git/doc/guix.texi:14763
  21308. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  21309. msgstr ""
  21310. #. type: item
  21311. #: guix-git/doc/guix.texi:14764
  21312. #, no-wrap
  21313. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  21314. msgstr ""
  21315. #. type: cindex
  21316. #: guix-git/doc/guix.texi:14765
  21317. #, no-wrap
  21318. msgid "sudoers file"
  21319. msgstr ""
  21320. #. type: table
  21321. #: guix-git/doc/guix.texi:14768
  21322. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  21323. msgstr ""
  21324. #. type: table
  21325. #: guix-git/doc/guix.texi:14773
  21326. 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}."
  21327. msgstr ""
  21328. #. type: deffn
  21329. #: guix-git/doc/guix.texi:14776
  21330. #, no-wrap
  21331. msgid "{Scheme Syntax} this-operating-system"
  21332. msgstr ""
  21333. #. type: deffn
  21334. #: guix-git/doc/guix.texi:14779
  21335. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  21336. msgstr ""
  21337. #. type: deffn
  21338. #: guix-git/doc/guix.texi:14782
  21339. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  21340. msgstr ""
  21341. #. type: lisp
  21342. #: guix-git/doc/guix.texi:14785 guix-git/doc/guix.texi:18711
  21343. #, no-wrap
  21344. msgid ""
  21345. "(use-modules (gnu) (guix))\n"
  21346. "\n"
  21347. msgstr ""
  21348. #. type: lisp
  21349. #: guix-git/doc/guix.texi:14790
  21350. #, no-wrap
  21351. msgid ""
  21352. "(operating-system\n"
  21353. " ;; ...\n"
  21354. " (label (package-full-name\n"
  21355. " (operating-system-kernel this-operating-system))))\n"
  21356. msgstr ""
  21357. #. type: deffn
  21358. #: guix-git/doc/guix.texi:14794
  21359. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  21360. msgstr ""
  21361. #. type: Plain text
  21362. #: guix-git/doc/guix.texi:14805
  21363. 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:"
  21364. msgstr ""
  21365. #. type: lisp
  21366. #: guix-git/doc/guix.texi:14811
  21367. #, no-wrap
  21368. msgid ""
  21369. "(file-system\n"
  21370. " (mount-point \"/home\")\n"
  21371. " (device \"/dev/sda3\")\n"
  21372. " (type \"ext4\"))\n"
  21373. msgstr ""
  21374. #. type: Plain text
  21375. #: guix-git/doc/guix.texi:14815
  21376. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  21377. msgstr ""
  21378. #. type: deftp
  21379. #: guix-git/doc/guix.texi:14816
  21380. #, no-wrap
  21381. msgid "{Data Type} file-system"
  21382. msgstr ""
  21383. #. type: deftp
  21384. #: guix-git/doc/guix.texi:14819
  21385. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  21386. msgstr ""
  21387. #. type: item
  21388. #: guix-git/doc/guix.texi:14821 guix-git/doc/guix.texi:15201
  21389. #: guix-git/doc/guix.texi:17317
  21390. #, no-wrap
  21391. msgid "type"
  21392. msgstr ""
  21393. #. type: table
  21394. #: guix-git/doc/guix.texi:14824
  21395. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  21396. msgstr ""
  21397. #. type: code{#1}
  21398. #: guix-git/doc/guix.texi:14825
  21399. #, no-wrap
  21400. msgid "mount-point"
  21401. msgstr ""
  21402. #. type: table
  21403. #: guix-git/doc/guix.texi:14827
  21404. msgid "This designates the place where the file system is to be mounted."
  21405. msgstr ""
  21406. #. type: item
  21407. #: guix-git/doc/guix.texi:14828 guix-git/doc/guix.texi:17267
  21408. #, no-wrap
  21409. msgid "device"
  21410. msgstr ""
  21411. #. type: table
  21412. #: guix-git/doc/guix.texi:14838
  21413. 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.}."
  21414. msgstr ""
  21415. #. type: findex
  21416. #: guix-git/doc/guix.texi:14839
  21417. #, no-wrap
  21418. msgid "file-system-label"
  21419. msgstr ""
  21420. #. type: table
  21421. #: guix-git/doc/guix.texi:14844
  21422. 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:"
  21423. msgstr ""
  21424. #. type: lisp
  21425. #: guix-git/doc/guix.texi:14850
  21426. #, no-wrap
  21427. msgid ""
  21428. "(file-system\n"
  21429. " (mount-point \"/home\")\n"
  21430. " (type \"ext4\")\n"
  21431. " (device (file-system-label \"my-home\")))\n"
  21432. msgstr ""
  21433. #. type: code{#1}
  21434. #: guix-git/doc/guix.texi:14852 guix-git/doc/guix.texi:33130
  21435. #: guix-git/doc/guix.texi:33146
  21436. #, no-wrap
  21437. msgid "uuid"
  21438. msgstr ""
  21439. #. type: table
  21440. #: guix-git/doc/guix.texi:14860
  21441. 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:"
  21442. msgstr ""
  21443. #. type: lisp
  21444. #: guix-git/doc/guix.texi:14866
  21445. #, no-wrap
  21446. msgid ""
  21447. "(file-system\n"
  21448. " (mount-point \"/home\")\n"
  21449. " (type \"ext4\")\n"
  21450. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  21451. msgstr ""
  21452. #. type: table
  21453. #: guix-git/doc/guix.texi:14874
  21454. 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."
  21455. msgstr ""
  21456. #. type: item
  21457. #: guix-git/doc/guix.texi:14875
  21458. #, no-wrap
  21459. msgid "@code{flags} (default: @code{'()})"
  21460. msgstr ""
  21461. #. type: table
  21462. #: guix-git/doc/guix.texi:14885
  21463. 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."
  21464. msgstr ""
  21465. #. type: item
  21466. #: guix-git/doc/guix.texi:14886
  21467. #, no-wrap
  21468. msgid "@code{options} (default: @code{#f})"
  21469. msgstr ""
  21470. #. type: table
  21471. #: guix-git/doc/guix.texi:14895
  21472. 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."
  21473. msgstr ""
  21474. #. type: item
  21475. #: guix-git/doc/guix.texi:14896
  21476. #, no-wrap
  21477. msgid "@code{mount?} (default: @code{#t})"
  21478. msgstr ""
  21479. #. type: table
  21480. #: guix-git/doc/guix.texi:14901
  21481. 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."
  21482. msgstr ""
  21483. #. type: item
  21484. #: guix-git/doc/guix.texi:14902
  21485. #, no-wrap
  21486. msgid "@code{needed-for-boot?} (default: @code{#f})"
  21487. msgstr ""
  21488. #. type: table
  21489. #: guix-git/doc/guix.texi:14907
  21490. 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."
  21491. msgstr ""
  21492. #. type: item
  21493. #: guix-git/doc/guix.texi:14908
  21494. #, no-wrap
  21495. msgid "@code{check?} (default: @code{#t})"
  21496. msgstr ""
  21497. #. type: table
  21498. #: guix-git/doc/guix.texi:14912
  21499. msgid "This Boolean indicates whether the file system should be checked for errors before being mounted. How and when this happens can be further adjusted with the following options."
  21500. msgstr ""
  21501. #. type: item
  21502. #: guix-git/doc/guix.texi:14913
  21503. #, no-wrap
  21504. msgid "@code{skip-check-if-clean?} (default: @code{#t})"
  21505. msgstr ""
  21506. #. type: table
  21507. #: guix-git/doc/guix.texi:14918
  21508. msgid "When true, this Boolean indicates that a file system check triggered by @code{check?} may exit early if the file system is marked as ``clean'', meaning that it was previously correctly unmounted and should not contain errors."
  21509. msgstr ""
  21510. #. type: table
  21511. #: guix-git/doc/guix.texi:14922
  21512. msgid "Setting this to false will always force a full consistency check when @code{check?} is true. This may take a very long time and is not recommended on healthy systems---in fact, it may reduce reliability!"
  21513. msgstr ""
  21514. #. type: table
  21515. #: guix-git/doc/guix.texi:14926
  21516. msgid "Conversely, some primitive file systems like @code{fat} do not keep track of clean shutdowns and will perform a full scan regardless of the value of this option."
  21517. msgstr ""
  21518. #. type: item
  21519. #: guix-git/doc/guix.texi:14927
  21520. #, no-wrap
  21521. msgid "@code{repair} (default: @code{'preen})"
  21522. msgstr ""
  21523. #. type: table
  21524. #: guix-git/doc/guix.texi:14930
  21525. msgid "When @code{check?} finds errors, it can (try to) repair them and continue booting. This option controls when and how to do so."
  21526. msgstr ""
  21527. #. type: table
  21528. #: guix-git/doc/guix.texi:14934
  21529. msgid "If false, try not to modify the file system at all. Checking certain file systems like @code{jfs} may still write to the device to replay the journal. No repairs will be attempted."
  21530. msgstr ""
  21531. #. type: table
  21532. #: guix-git/doc/guix.texi:14937
  21533. msgid "If @code{#t}, try to repair any errors found and assume ``yes'' to all questions. This will fix the most errors, but may be risky."
  21534. msgstr ""
  21535. #. type: table
  21536. #: guix-git/doc/guix.texi:14941
  21537. msgid "If @code{'preen}, repair only errors that are safe to fix without human interaction. What that means is left up to the developers of each file system and may be equivalent to ``none'' or ``all''."
  21538. msgstr ""
  21539. #. type: item
  21540. #: guix-git/doc/guix.texi:14942
  21541. #, no-wrap
  21542. msgid "@code{create-mount-point?} (default: @code{#f})"
  21543. msgstr ""
  21544. #. type: table
  21545. #: guix-git/doc/guix.texi:14944
  21546. msgid "When true, the mount point is created if it does not exist yet."
  21547. msgstr ""
  21548. #. type: item
  21549. #: guix-git/doc/guix.texi:14945
  21550. #, no-wrap
  21551. msgid "@code{mount-may-fail?} (default: @code{#f})"
  21552. msgstr ""
  21553. #. type: table
  21554. #: guix-git/doc/guix.texi:14950
  21555. 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."
  21556. msgstr ""
  21557. #. type: item
  21558. #: guix-git/doc/guix.texi:14951 guix-git/doc/guix.texi:15347
  21559. #, no-wrap
  21560. msgid "@code{dependencies} (default: @code{'()})"
  21561. msgstr ""
  21562. #. type: table
  21563. #: guix-git/doc/guix.texi:14955
  21564. 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."
  21565. msgstr ""
  21566. #. type: table
  21567. #: guix-git/doc/guix.texi:14959
  21568. 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}."
  21569. msgstr ""
  21570. #. type: table
  21571. #: guix-git/doc/guix.texi:14962
  21572. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  21573. msgstr ""
  21574. #. type: deffn
  21575. #: guix-git/doc/guix.texi:14965
  21576. #, no-wrap
  21577. msgid "{Scheme Procedure} file-system-label @var{str}"
  21578. msgstr ""
  21579. #. type: deffn
  21580. #: guix-git/doc/guix.texi:14968
  21581. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  21582. msgstr ""
  21583. #. type: lisp
  21584. #: guix-git/doc/guix.texi:14972
  21585. #, no-wrap
  21586. msgid ""
  21587. "(file-system-label \"home\")\n"
  21588. "@result{} #<file-system-label \"home\">\n"
  21589. msgstr ""
  21590. #. type: deffn
  21591. #: guix-git/doc/guix.texi:14976
  21592. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  21593. msgstr ""
  21594. #. type: Plain text
  21595. #: guix-git/doc/guix.texi:14980
  21596. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  21597. msgstr ""
  21598. #. type: defvr
  21599. #: guix-git/doc/guix.texi:14981
  21600. #, no-wrap
  21601. msgid "{Scheme Variable} %base-file-systems"
  21602. msgstr ""
  21603. #. type: defvr
  21604. #: guix-git/doc/guix.texi:14986
  21605. 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."
  21606. msgstr ""
  21607. #. type: defvr
  21608. #: guix-git/doc/guix.texi:14988
  21609. #, no-wrap
  21610. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  21611. msgstr ""
  21612. #. type: defvr
  21613. #: guix-git/doc/guix.texi:14994
  21614. 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}."
  21615. msgstr ""
  21616. #. type: defvr
  21617. #: guix-git/doc/guix.texi:14996
  21618. #, no-wrap
  21619. msgid "{Scheme Variable} %shared-memory-file-system"
  21620. msgstr ""
  21621. #. type: defvr
  21622. #: guix-git/doc/guix.texi:15000
  21623. 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})."
  21624. msgstr ""
  21625. #. type: defvr
  21626. #: guix-git/doc/guix.texi:15002
  21627. #, no-wrap
  21628. msgid "{Scheme Variable} %immutable-store"
  21629. msgstr ""
  21630. #. type: defvr
  21631. #: guix-git/doc/guix.texi:15007
  21632. 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."
  21633. msgstr ""
  21634. #. type: defvr
  21635. #: guix-git/doc/guix.texi:15010
  21636. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  21637. msgstr ""
  21638. #. type: defvr
  21639. #: guix-git/doc/guix.texi:15012
  21640. #, no-wrap
  21641. msgid "{Scheme Variable} %binary-format-file-system"
  21642. msgstr ""
  21643. #. type: defvr
  21644. #: guix-git/doc/guix.texi:15016
  21645. 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."
  21646. msgstr ""
  21647. #. type: defvr
  21648. #: guix-git/doc/guix.texi:15018
  21649. #, no-wrap
  21650. msgid "{Scheme Variable} %fuse-control-file-system"
  21651. msgstr ""
  21652. #. type: defvr
  21653. #: guix-git/doc/guix.texi:15022
  21654. 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."
  21655. msgstr ""
  21656. #. type: Plain text
  21657. #: guix-git/doc/guix.texi:15026
  21658. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  21659. msgstr ""
  21660. #. type: deffn
  21661. #: guix-git/doc/guix.texi:15027
  21662. #, no-wrap
  21663. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  21664. msgstr ""
  21665. #. type: deffn
  21666. #: guix-git/doc/guix.texi:15030
  21667. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  21668. msgstr ""
  21669. #. type: lisp
  21670. #: guix-git/doc/guix.texi:15034
  21671. #, no-wrap
  21672. msgid ""
  21673. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  21674. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  21675. "\n"
  21676. msgstr ""
  21677. #. type: lisp
  21678. #: guix-git/doc/guix.texi:15037
  21679. #, no-wrap
  21680. msgid ""
  21681. "(uuid \"1234-ABCD\" 'fat)\n"
  21682. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  21683. msgstr ""
  21684. #. type: deffn
  21685. #: guix-git/doc/guix.texi:15041
  21686. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  21687. msgstr ""
  21688. #. type: deffn
  21689. #: guix-git/doc/guix.texi:15044
  21690. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  21691. msgstr ""
  21692. #. type: subsection
  21693. #: guix-git/doc/guix.texi:15047 guix-git/doc/guix.texi:15048
  21694. #, no-wrap
  21695. msgid "Btrfs file system"
  21696. msgstr ""
  21697. #. type: Plain text
  21698. #: guix-git/doc/guix.texi:15054
  21699. 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."
  21700. msgstr ""
  21701. #. type: Plain text
  21702. #: guix-git/doc/guix.texi:15057
  21703. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  21704. msgstr ""
  21705. #. type: lisp
  21706. #: guix-git/doc/guix.texi:15063
  21707. #, no-wrap
  21708. msgid ""
  21709. "(file-system\n"
  21710. " (mount-point \"/home\")\n"
  21711. " (type \"btrfs\")\n"
  21712. " (device (file-system-label \"my-home\")))\n"
  21713. msgstr ""
  21714. #. type: Plain text
  21715. #: guix-git/doc/guix.texi:15069
  21716. 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}):"
  21717. msgstr ""
  21718. #. type: lisp
  21719. #: guix-git/doc/guix.texi:15077
  21720. #, no-wrap
  21721. msgid ""
  21722. "(file-system\n"
  21723. " (device (file-system-label \"my-btrfs-pool\"))\n"
  21724. " (mount-point \"/\")\n"
  21725. " (type \"btrfs\")\n"
  21726. " (options \"subvol=rootfs\")\n"
  21727. " (dependencies mapped-devices))\n"
  21728. msgstr ""
  21729. #. type: Plain text
  21730. #: guix-git/doc/guix.texi:15088
  21731. 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."
  21732. msgstr ""
  21733. #. type: Plain text
  21734. #: guix-git/doc/guix.texi:15096
  21735. 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.:"
  21736. msgstr ""
  21737. #. type: example
  21738. #: guix-git/doc/guix.texi:15103
  21739. #, no-wrap
  21740. msgid ""
  21741. "/ (top level)\n"
  21742. "├── rootfs (subvolume directory)\n"
  21743. " ├── gnu (normal directory)\n"
  21744. " ├── store (normal directory)\n"
  21745. "[...]\n"
  21746. msgstr ""
  21747. #. type: Plain text
  21748. #: guix-git/doc/guix.texi:15108
  21749. 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."
  21750. msgstr ""
  21751. #. type: Plain text
  21752. #: guix-git/doc/guix.texi:15111
  21753. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  21754. msgstr ""
  21755. #. type: example
  21756. #: guix-git/doc/guix.texi:15118
  21757. #, no-wrap
  21758. msgid ""
  21759. "/ (top level)\n"
  21760. "├── rootfs (subvolume)\n"
  21761. " ├── gnu (normal directory)\n"
  21762. " ├── store (subvolume)\n"
  21763. "[...]\n"
  21764. msgstr ""
  21765. #. type: Plain text
  21766. #: guix-git/doc/guix.texi:15125
  21767. 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}."
  21768. msgstr ""
  21769. #. type: Plain text
  21770. #: guix-git/doc/guix.texi:15127
  21771. msgid "Finally, a more contrived example of nested subvolumes:"
  21772. msgstr ""
  21773. #. type: example
  21774. #: guix-git/doc/guix.texi:15134
  21775. #, no-wrap
  21776. msgid ""
  21777. "/ (top level)\n"
  21778. "├── root-snapshots (subvolume)\n"
  21779. " ├── root-current (subvolume)\n"
  21780. " ├── guix-store (subvolume)\n"
  21781. "[...]\n"
  21782. msgstr ""
  21783. #. type: Plain text
  21784. #: guix-git/doc/guix.texi:15141
  21785. 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:"
  21786. msgstr ""
  21787. #. type: lisp
  21788. #: guix-git/doc/guix.texi:15149
  21789. #, no-wrap
  21790. msgid ""
  21791. "(file-system\n"
  21792. " (device (file-system-label \"btrfs-pool-1\"))\n"
  21793. " (mount-point \"/gnu/store\")\n"
  21794. " (type \"btrfs\")\n"
  21795. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  21796. "compress-force=zstd,space_cache=v2\"))\n"
  21797. msgstr ""
  21798. #. type: cindex
  21799. #: guix-git/doc/guix.texi:15154
  21800. #, no-wrap
  21801. msgid "device mapping"
  21802. msgstr ""
  21803. #. type: cindex
  21804. #: guix-git/doc/guix.texi:15155
  21805. #, no-wrap
  21806. msgid "mapped devices"
  21807. msgstr ""
  21808. #. type: Plain text
  21809. #: guix-git/doc/guix.texi:15172
  21810. 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."
  21811. msgstr ""
  21812. #. type: Plain text
  21813. #: guix-git/doc/guix.texi:15175
  21814. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  21815. msgstr ""
  21816. #. type: deftp
  21817. #: guix-git/doc/guix.texi:15176
  21818. #, no-wrap
  21819. msgid "{Data Type} mapped-device"
  21820. msgstr ""
  21821. #. type: deftp
  21822. #: guix-git/doc/guix.texi:15179
  21823. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  21824. msgstr ""
  21825. #. type: table
  21826. #: guix-git/doc/guix.texi:15186
  21827. 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."
  21828. msgstr ""
  21829. #. type: code{#1}
  21830. #: guix-git/doc/guix.texi:15187 guix-git/doc/guix.texi:15342
  21831. #, no-wrap
  21832. msgid "target"
  21833. msgstr ""
  21834. #. type: table
  21835. #: guix-git/doc/guix.texi:15196
  21836. 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\"}."
  21837. msgstr ""
  21838. #. type: code{#1}
  21839. #: guix-git/doc/guix.texi:15197 guix-git/doc/guix.texi:34634
  21840. #, no-wrap
  21841. msgid "targets"
  21842. msgstr ""
  21843. #. type: table
  21844. #: guix-git/doc/guix.texi:15200
  21845. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  21846. msgstr ""
  21847. #. type: table
  21848. #: guix-git/doc/guix.texi:15204
  21849. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  21850. msgstr ""
  21851. #. type: defvr
  21852. #: guix-git/doc/guix.texi:15207
  21853. #, no-wrap
  21854. msgid "{Scheme Variable} luks-device-mapping"
  21855. msgstr ""
  21856. #. type: defvr
  21857. #: guix-git/doc/guix.texi:15211
  21858. 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."
  21859. msgstr ""
  21860. #. type: defvr
  21861. #: guix-git/doc/guix.texi:15213
  21862. #, no-wrap
  21863. msgid "{Scheme Variable} raid-device-mapping"
  21864. msgstr ""
  21865. #. type: defvr
  21866. #: guix-git/doc/guix.texi:15218
  21867. 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."
  21868. msgstr ""
  21869. #. type: cindex
  21870. #: guix-git/doc/guix.texi:15220
  21871. #, no-wrap
  21872. msgid "LVM, logical volume manager"
  21873. msgstr ""
  21874. #. type: defvr
  21875. #: guix-git/doc/guix.texi:15221
  21876. #, no-wrap
  21877. msgid "{Scheme Variable} lvm-device-mapping"
  21878. msgstr ""
  21879. #. type: defvr
  21880. #: guix-git/doc/guix.texi:15226
  21881. 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."
  21882. msgstr ""
  21883. #. type: cindex
  21884. #: guix-git/doc/guix.texi:15228
  21885. #, no-wrap
  21886. msgid "disk encryption"
  21887. msgstr ""
  21888. #. type: cindex
  21889. #: guix-git/doc/guix.texi:15229
  21890. #, no-wrap
  21891. msgid "LUKS"
  21892. msgstr ""
  21893. #. type: Plain text
  21894. #: guix-git/doc/guix.texi:15237
  21895. 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})."
  21896. msgstr ""
  21897. #. type: lisp
  21898. #: guix-git/doc/guix.texi:15243
  21899. #, no-wrap
  21900. msgid ""
  21901. "(mapped-device\n"
  21902. " (source \"/dev/sda3\")\n"
  21903. " (target \"home\")\n"
  21904. " (type luks-device-mapping))\n"
  21905. msgstr ""
  21906. #. type: Plain text
  21907. #: guix-git/doc/guix.texi:15248
  21908. 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:"
  21909. msgstr ""
  21910. #. type: example
  21911. #: guix-git/doc/guix.texi:15251
  21912. #, no-wrap
  21913. msgid "cryptsetup luksUUID /dev/sda3\n"
  21914. msgstr ""
  21915. #. type: Plain text
  21916. #: guix-git/doc/guix.texi:15254
  21917. msgid "and use it as follows:"
  21918. msgstr ""
  21919. #. type: lisp
  21920. #: guix-git/doc/guix.texi:15260
  21921. #, no-wrap
  21922. msgid ""
  21923. "(mapped-device\n"
  21924. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  21925. " (target \"home\")\n"
  21926. " (type luks-device-mapping))\n"
  21927. msgstr ""
  21928. #. type: cindex
  21929. #: guix-git/doc/guix.texi:15262
  21930. #, no-wrap
  21931. msgid "swap encryption"
  21932. msgstr ""
  21933. #. type: Plain text
  21934. #: guix-git/doc/guix.texi:15269
  21935. 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{Swap Space}, or @xref{Preparing for Installation,,Disk Partitioning}, for an example."
  21936. msgstr ""
  21937. #. type: Plain text
  21938. #: guix-git/doc/guix.texi:15272
  21939. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  21940. msgstr ""
  21941. #. type: lisp
  21942. #: guix-git/doc/guix.texi:15278
  21943. #, no-wrap
  21944. msgid ""
  21945. "(mapped-device\n"
  21946. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  21947. " (target \"/dev/md0\")\n"
  21948. " (type raid-device-mapping))\n"
  21949. msgstr ""
  21950. #. type: Plain text
  21951. #: guix-git/doc/guix.texi:15285
  21952. 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."
  21953. msgstr ""
  21954. #. type: Plain text
  21955. #: guix-git/doc/guix.texi:15288
  21956. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  21957. msgstr ""
  21958. #. type: lisp
  21959. #: guix-git/doc/guix.texi:15294
  21960. #, no-wrap
  21961. msgid ""
  21962. "(mapped-device\n"
  21963. " (source \"vg0\")\n"
  21964. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  21965. " (type lvm-device-mapping))\n"
  21966. msgstr ""
  21967. #. type: Plain text
  21968. #: guix-git/doc/guix.texi:15299
  21969. 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})."
  21970. msgstr ""
  21971. #. type: cindex
  21972. #: guix-git/doc/guix.texi:15302
  21973. #, no-wrap
  21974. msgid "swap space"
  21975. msgstr ""
  21976. #. type: Plain text
  21977. #: guix-git/doc/guix.texi:15312
  21978. msgid "Swap space, as it is commonly called, is a disk area specifically designated for paging: the process in charge of memory management (the Linux kernel or Hurd's default pager) can decide that some memory pages stored in RAM which belong to a running program but are unused should be stored on disk instead. It unloads those from the RAM, freeing up precious fast memory, and writes them to the swap space. If the program tries to access that very page, the memory management process loads it back into memory for the program to use."
  21979. msgstr ""
  21980. #. type: Plain text
  21981. #: guix-git/doc/guix.texi:15318
  21982. msgid "A common misconception about swap is that it is only useful when small amounts of RAM are available to the system. However, it should be noted that kernels often use all available RAM for disk access caching to make I/O faster, and thus paging out unused portions of program memory will expand the RAM available for such caching."
  21983. msgstr ""
  21984. #. type: Plain text
  21985. #: guix-git/doc/guix.texi:15322
  21986. msgid "For a more detailed description of how memory is managed from the viewpoint of a monolithic kernel, @xref{Memory Concepts,,, libc, The GNU C Library Reference Manual}."
  21987. msgstr ""
  21988. #. type: Plain text
  21989. #: guix-git/doc/guix.texi:15331
  21990. msgid "The Linux kernel has support for swap partitions and swap files: the former uses a whole disk partition for paging, whereas the second uses a file on a file system for that (the file system driver needs to support it). On a comparable setup, both have the same performance, so one should consider ease of use when deciding between them. Partitions are ``simpler'' and do not need file system support, but need to be allocated at disk formatting time (logical volumes notwithstanding), whereas files can be allocated and deallocated at any time."
  21991. msgstr ""
  21992. #. type: Plain text
  21993. #: guix-git/doc/guix.texi:15336
  21994. msgid "Note that swap space is not zeroed on shutdown, so sensitive data (such as passwords) may linger on it if it was paged out. As such, you should consider having your swap reside on an encrypted device (@pxref{Mapped Devices})."
  21995. msgstr ""
  21996. #. type: deftp
  21997. #: guix-git/doc/guix.texi:15337
  21998. #, no-wrap
  21999. msgid "{Data Type} swap-space"
  22000. msgstr ""
  22001. #. type: deftp
  22002. #: guix-git/doc/guix.texi:15340
  22003. msgid "Objects of this type represent swap spaces. They contain the following members:"
  22004. msgstr ""
  22005. #. type: table
  22006. #: guix-git/doc/guix.texi:15346
  22007. msgid "The device or file to use, either a UUID, a @code{file-system-label} or a string, as in the definition of a @code{file-system} (@pxref{File Systems})."
  22008. msgstr ""
  22009. #. type: table
  22010. #: guix-git/doc/guix.texi:15353
  22011. msgid "A list of @code{file-system} or @code{mapped-device} objects, upon which the availability of the space depends. Note that just like for @code{file-system} objects, dependencies which are needed for boot and mounted in early userspace are not managed by the Shepherd, and so automatically filtered out for you."
  22012. msgstr ""
  22013. #. type: item
  22014. #: guix-git/doc/guix.texi:15354
  22015. #, no-wrap
  22016. msgid "@code{priority} (default: @code{#f})"
  22017. msgstr ""
  22018. #. type: table
  22019. #: guix-git/doc/guix.texi:15361
  22020. msgid "Only supported by the Linux kernel. Either @code{#f} to disable swap priority, or an integer between 0 and 32767. The kernel will first use swap spaces of higher priority when paging, and use same priority spaces on a round-robin basis. The kernel will use swap spaces without a set priority after prioritized spaces, and in the order that they appeared in (not round-robin)."
  22021. msgstr ""
  22022. #. type: item
  22023. #: guix-git/doc/guix.texi:15362
  22024. #, no-wrap
  22025. msgid "@code{discard?} (default: @code{#f})"
  22026. msgstr ""
  22027. #. type: table
  22028. #: guix-git/doc/guix.texi:15366
  22029. msgid "Only supported by the Linux kernel. When true, the kernel will notify the disk controller of discarded pages, for example with the TRIM operation on Solid State Drives."
  22030. msgstr ""
  22031. #. type: Plain text
  22032. #: guix-git/doc/guix.texi:15371
  22033. msgid "Here are some examples:"
  22034. msgstr ""
  22035. #. type: lisp
  22036. #: guix-git/doc/guix.texi:15374
  22037. #, no-wrap
  22038. msgid "(swap-space (target (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22039. msgstr ""
  22040. #. type: Plain text
  22041. #: guix-git/doc/guix.texi:15379
  22042. 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."
  22043. msgstr ""
  22044. #. type: lisp
  22045. #: guix-git/doc/guix.texi:15384
  22046. #, no-wrap
  22047. msgid ""
  22048. "(swap-space\n"
  22049. " (target (file-system-label \"swap\"))\n"
  22050. " (dependencies (list lvm-device)))\n"
  22051. msgstr ""
  22052. #. type: Plain text
  22053. #: guix-git/doc/guix.texi:15390
  22054. msgid "Use the partition with label @code{swap}, which can be found after the @var{lvm-device} mapped device has been opened. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition."
  22055. msgstr ""
  22056. #. type: lisp
  22057. #: guix-git/doc/guix.texi:15395
  22058. #, no-wrap
  22059. msgid ""
  22060. "(swap-space\n"
  22061. " (target \"/btrfs/swapfile\")\n"
  22062. " (dependencies (list btrfs-fs)))\n"
  22063. msgstr ""
  22064. #. type: Plain text
  22065. #: guix-git/doc/guix.texi:15399
  22066. msgid "Use the file @file{/btrfs/swapfile} as swap space, which is present on the @var{btrfs-fs} filesystem."
  22067. msgstr ""
  22068. #. type: cindex
  22069. #: guix-git/doc/guix.texi:15403
  22070. #, no-wrap
  22071. msgid "users"
  22072. msgstr ""
  22073. #. type: cindex
  22074. #: guix-git/doc/guix.texi:15404
  22075. #, no-wrap
  22076. msgid "accounts"
  22077. msgstr ""
  22078. #. type: cindex
  22079. #: guix-git/doc/guix.texi:15405
  22080. #, no-wrap
  22081. msgid "user accounts"
  22082. msgstr ""
  22083. #. type: Plain text
  22084. #: guix-git/doc/guix.texi:15409
  22085. 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:"
  22086. msgstr ""
  22087. #. type: lisp
  22088. #: guix-git/doc/guix.texi:15419
  22089. #, no-wrap
  22090. msgid ""
  22091. "(user-account\n"
  22092. " (name \"alice\")\n"
  22093. " (group \"users\")\n"
  22094. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  22095. " \"audio\" ;sound card\n"
  22096. " \"video\" ;video devices such as webcams\n"
  22097. " \"cdrom\")) ;the good ol' CD-ROM\n"
  22098. " (comment \"Bob's sister\"))\n"
  22099. msgstr ""
  22100. #. type: Plain text
  22101. #: guix-git/doc/guix.texi:15423
  22102. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  22103. msgstr ""
  22104. #. type: lisp
  22105. #: guix-git/doc/guix.texi:15431
  22106. #, no-wrap
  22107. msgid ""
  22108. "(user-account\n"
  22109. " (name \"bob\")\n"
  22110. " (group \"users\")\n"
  22111. " (comment \"Alice's bro\")\n"
  22112. " (shell (file-append zsh \"/bin/zsh\"))\n"
  22113. " (home-directory \"/home/robert\"))\n"
  22114. msgstr ""
  22115. #. type: Plain text
  22116. #: guix-git/doc/guix.texi:15440
  22117. 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."
  22118. msgstr ""
  22119. #. type: deftp
  22120. #: guix-git/doc/guix.texi:15441
  22121. #, no-wrap
  22122. msgid "{Data Type} user-account"
  22123. msgstr ""
  22124. #. type: deftp
  22125. #: guix-git/doc/guix.texi:15444
  22126. msgid "Objects of this type represent user accounts. The following members may be specified:"
  22127. msgstr ""
  22128. #. type: table
  22129. #: guix-git/doc/guix.texi:15448
  22130. msgid "The name of the user account."
  22131. msgstr ""
  22132. #. type: itemx
  22133. #: guix-git/doc/guix.texi:15449 guix-git/doc/guix.texi:34298
  22134. #, no-wrap
  22135. msgid "group"
  22136. msgstr ""
  22137. #. type: cindex
  22138. #: guix-git/doc/guix.texi:15450 guix-git/doc/guix.texi:15534
  22139. #, no-wrap
  22140. msgid "groups"
  22141. msgstr ""
  22142. #. type: table
  22143. #: guix-git/doc/guix.texi:15453
  22144. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  22145. msgstr ""
  22146. #. type: item
  22147. #: guix-git/doc/guix.texi:15454
  22148. #, no-wrap
  22149. msgid "@code{supplementary-groups} (default: @code{'()})"
  22150. msgstr ""
  22151. #. type: table
  22152. #: guix-git/doc/guix.texi:15457
  22153. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  22154. msgstr ""
  22155. #. type: item
  22156. #: guix-git/doc/guix.texi:15458
  22157. #, no-wrap
  22158. msgid "@code{uid} (default: @code{#f})"
  22159. msgstr ""
  22160. #. type: table
  22161. #: guix-git/doc/guix.texi:15462
  22162. 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."
  22163. msgstr ""
  22164. #. type: item
  22165. #: guix-git/doc/guix.texi:15463 guix-git/doc/guix.texi:18217
  22166. #, no-wrap
  22167. msgid "@code{comment} (default: @code{\"\"})"
  22168. msgstr ""
  22169. #. type: table
  22170. #: guix-git/doc/guix.texi:15465
  22171. msgid "A comment about the account, such as the account owner's full name."
  22172. msgstr ""
  22173. #. type: table
  22174. #: guix-git/doc/guix.texi:15470
  22175. msgid "Note that, for non-system accounts, users are free to change their real name as it appears in @file{/etc/passwd} using the @command{chfn} command. When they do, their choice prevails over the system administrator's choice; reconfiguring does @emph{not} change their name."
  22176. msgstr ""
  22177. #. type: code{#1}
  22178. #: guix-git/doc/guix.texi:15471
  22179. #, no-wrap
  22180. msgid "home-directory"
  22181. msgstr ""
  22182. #. type: table
  22183. #: guix-git/doc/guix.texi:15473
  22184. msgid "This is the name of the home directory for the account."
  22185. msgstr ""
  22186. #. type: item
  22187. #: guix-git/doc/guix.texi:15474
  22188. #, no-wrap
  22189. msgid "@code{create-home-directory?} (default: @code{#t})"
  22190. msgstr ""
  22191. #. type: table
  22192. #: guix-git/doc/guix.texi:15477
  22193. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  22194. msgstr ""
  22195. #. type: item
  22196. #: guix-git/doc/guix.texi:15478
  22197. #, no-wrap
  22198. msgid "@code{shell} (default: Bash)"
  22199. msgstr ""
  22200. #. type: table
  22201. #: guix-git/doc/guix.texi:15482
  22202. 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:"
  22203. msgstr ""
  22204. #. type: lisp
  22205. #: guix-git/doc/guix.texi:15485
  22206. #, no-wrap
  22207. msgid "(file-append bash \"/bin/bash\")\n"
  22208. msgstr ""
  22209. #. type: table
  22210. #: guix-git/doc/guix.texi:15489
  22211. msgid "... and to the Zsh executable like that:"
  22212. msgstr ""
  22213. #. type: lisp
  22214. #: guix-git/doc/guix.texi:15492
  22215. #, no-wrap
  22216. msgid "(file-append zsh \"/bin/zsh\")\n"
  22217. msgstr ""
  22218. #. type: item
  22219. #: guix-git/doc/guix.texi:15494 guix-git/doc/guix.texi:15552
  22220. #, no-wrap
  22221. msgid "@code{system?} (default: @code{#f})"
  22222. msgstr ""
  22223. #. type: table
  22224. #: guix-git/doc/guix.texi:15498
  22225. 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."
  22226. msgstr ""
  22227. #. type: anchor{#1}
  22228. #: guix-git/doc/guix.texi:15500
  22229. msgid "user-account-password"
  22230. msgstr ""
  22231. #. type: cindex
  22232. #: guix-git/doc/guix.texi:15500
  22233. #, no-wrap
  22234. msgid "password, for user accounts"
  22235. msgstr ""
  22236. #. type: item
  22237. #: guix-git/doc/guix.texi:15501 guix-git/doc/guix.texi:15556
  22238. #, no-wrap
  22239. msgid "@code{password} (default: @code{#f})"
  22240. msgstr ""
  22241. #. type: table
  22242. #: guix-git/doc/guix.texi:15507
  22243. 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."
  22244. msgstr ""
  22245. #. type: table
  22246. #: guix-git/doc/guix.texi:15511
  22247. 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:"
  22248. msgstr ""
  22249. #. type: lisp
  22250. #: guix-git/doc/guix.texi:15516
  22251. #, no-wrap
  22252. msgid ""
  22253. "(user-account\n"
  22254. " (name \"charlie\")\n"
  22255. " (group \"users\")\n"
  22256. "\n"
  22257. msgstr ""
  22258. #. type: lisp
  22259. #: guix-git/doc/guix.texi:15519
  22260. #, no-wrap
  22261. msgid ""
  22262. " ;; Specify a SHA-512-hashed initial password.\n"
  22263. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  22264. msgstr ""
  22265. #. type: quotation
  22266. #: guix-git/doc/guix.texi:15525
  22267. 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."
  22268. msgstr ""
  22269. #. type: table
  22270. #: guix-git/doc/guix.texi:15530
  22271. 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."
  22272. msgstr ""
  22273. #. type: Plain text
  22274. #: guix-git/doc/guix.texi:15536
  22275. msgid "User group declarations are even simpler:"
  22276. msgstr ""
  22277. #. type: lisp
  22278. #: guix-git/doc/guix.texi:15539
  22279. #, no-wrap
  22280. msgid "(user-group (name \"students\"))\n"
  22281. msgstr ""
  22282. #. type: deftp
  22283. #: guix-git/doc/guix.texi:15541
  22284. #, no-wrap
  22285. msgid "{Data Type} user-group"
  22286. msgstr ""
  22287. #. type: deftp
  22288. #: guix-git/doc/guix.texi:15543
  22289. msgid "This type is for, well, user groups. There are just a few fields:"
  22290. msgstr ""
  22291. #. type: table
  22292. #: guix-git/doc/guix.texi:15547
  22293. msgid "The name of the group."
  22294. msgstr ""
  22295. #. type: item
  22296. #: guix-git/doc/guix.texi:15548 guix-git/doc/guix.texi:30819
  22297. #, no-wrap
  22298. msgid "@code{id} (default: @code{#f})"
  22299. msgstr ""
  22300. #. type: table
  22301. #: guix-git/doc/guix.texi:15551
  22302. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  22303. msgstr ""
  22304. #. type: table
  22305. #: guix-git/doc/guix.texi:15555
  22306. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  22307. msgstr ""
  22308. #. type: table
  22309. #: guix-git/doc/guix.texi:15559
  22310. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  22311. msgstr ""
  22312. #. type: Plain text
  22313. #: guix-git/doc/guix.texi:15565
  22314. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  22315. msgstr ""
  22316. #. type: defvr
  22317. #: guix-git/doc/guix.texi:15566
  22318. #, no-wrap
  22319. msgid "{Scheme Variable} %base-groups"
  22320. msgstr ""
  22321. #. type: defvr
  22322. #: guix-git/doc/guix.texi:15571
  22323. 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''."
  22324. msgstr ""
  22325. #. type: defvr
  22326. #: guix-git/doc/guix.texi:15573
  22327. #, no-wrap
  22328. msgid "{Scheme Variable} %base-user-accounts"
  22329. msgstr ""
  22330. #. type: defvr
  22331. #: guix-git/doc/guix.texi:15576
  22332. 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."
  22333. msgstr ""
  22334. #. type: defvr
  22335. #: guix-git/doc/guix.texi:15579
  22336. 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."
  22337. msgstr ""
  22338. #. type: cindex
  22339. #: guix-git/doc/guix.texi:15585
  22340. #, no-wrap
  22341. msgid "keymap"
  22342. msgstr ""
  22343. #. type: Plain text
  22344. #: guix-git/doc/guix.texi:15593
  22345. 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."
  22346. msgstr ""
  22347. #. type: cindex
  22348. #: guix-git/doc/guix.texi:15594
  22349. #, no-wrap
  22350. msgid "keyboard layout, definition"
  22351. msgstr ""
  22352. #. type: Plain text
  22353. #: guix-git/doc/guix.texi:15596
  22354. msgid "There are three components that will want to know about your keyboard layout:"
  22355. msgstr ""
  22356. #. type: itemize
  22357. #: guix-git/doc/guix.texi:15603
  22358. 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."
  22359. msgstr ""
  22360. #. type: itemize
  22361. #: guix-git/doc/guix.texi:15608
  22362. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  22363. msgstr ""
  22364. #. type: itemize
  22365. #: guix-git/doc/guix.texi:15612
  22366. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  22367. msgstr ""
  22368. #. type: Plain text
  22369. #: guix-git/doc/guix.texi:15616
  22370. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  22371. msgstr ""
  22372. #. type: cindex
  22373. #: guix-git/doc/guix.texi:15617
  22374. #, no-wrap
  22375. msgid "XKB, keyboard layouts"
  22376. msgstr ""
  22377. #. type: Plain text
  22378. #: guix-git/doc/guix.texi:15625
  22379. 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."
  22380. msgstr ""
  22381. #. type: deffn
  22382. #: guix-git/doc/guix.texi:15626
  22383. #, no-wrap
  22384. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  22385. msgstr ""
  22386. #. type: deffn
  22387. #: guix-git/doc/guix.texi:15629
  22388. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  22389. msgstr ""
  22390. #. type: deffn
  22391. #: guix-git/doc/guix.texi:15633
  22392. 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."
  22393. msgstr ""
  22394. #. type: Plain text
  22395. #: guix-git/doc/guix.texi:15636
  22396. msgid "Here are a few examples:"
  22397. msgstr ""
  22398. #. type: lisp
  22399. #: guix-git/doc/guix.texi:15641
  22400. #, no-wrap
  22401. msgid ""
  22402. ";; The German QWERTZ layout. Here we assume a standard\n"
  22403. ";; \"pc105\" keyboard model.\n"
  22404. "(keyboard-layout \"de\")\n"
  22405. "\n"
  22406. msgstr ""
  22407. #. type: lisp
  22408. #: guix-git/doc/guix.texi:15644
  22409. #, no-wrap
  22410. msgid ""
  22411. ";; The bépo variant of the French layout.\n"
  22412. "(keyboard-layout \"fr\" \"bepo\")\n"
  22413. "\n"
  22414. msgstr ""
  22415. #. type: lisp
  22416. #: guix-git/doc/guix.texi:15647
  22417. #, no-wrap
  22418. msgid ""
  22419. ";; The Catalan layout.\n"
  22420. "(keyboard-layout \"es\" \"cat\")\n"
  22421. "\n"
  22422. msgstr ""
  22423. #. type: lisp
  22424. #: guix-git/doc/guix.texi:15650
  22425. #, no-wrap
  22426. msgid ""
  22427. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  22428. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  22429. "\n"
  22430. msgstr ""
  22431. #. type: lisp
  22432. #: guix-git/doc/guix.texi:15657
  22433. #, no-wrap
  22434. msgid ""
  22435. ";; The Latin American Spanish layout. In addition, the\n"
  22436. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  22437. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  22438. ";; accented letters.\n"
  22439. "(keyboard-layout \"latam\"\n"
  22440. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  22441. "\n"
  22442. msgstr ""
  22443. #. type: lisp
  22444. #: guix-git/doc/guix.texi:15660
  22445. #, no-wrap
  22446. msgid ""
  22447. ";; The Russian layout for a ThinkPad keyboard.\n"
  22448. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  22449. "\n"
  22450. msgstr ""
  22451. #. type: lisp
  22452. #: guix-git/doc/guix.texi:15665
  22453. #, no-wrap
  22454. msgid ""
  22455. ";; The \"US international\" layout, which is the US layout plus\n"
  22456. ";; dead keys to enter accented characters. This is for an\n"
  22457. ";; Apple MacBook keyboard.\n"
  22458. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  22459. msgstr ""
  22460. #. type: Plain text
  22461. #: guix-git/doc/guix.texi:15669
  22462. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  22463. msgstr ""
  22464. #. type: cindex
  22465. #: guix-git/doc/guix.texi:15670
  22466. #, no-wrap
  22467. msgid "keyboard layout, configuration"
  22468. msgstr ""
  22469. #. type: Plain text
  22470. #: guix-git/doc/guix.texi:15674
  22471. 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:"
  22472. msgstr ""
  22473. #. type: findex
  22474. #: guix-git/doc/guix.texi:15675
  22475. #, no-wrap
  22476. msgid "set-xorg-configuration"
  22477. msgstr ""
  22478. #. type: lisp
  22479. #: guix-git/doc/guix.texi:15679
  22480. #, no-wrap
  22481. msgid ""
  22482. ";; Using the Turkish layout for the bootloader, the console,\n"
  22483. ";; and for Xorg.\n"
  22484. "\n"
  22485. msgstr ""
  22486. #. type: lisp
  22487. #: guix-git/doc/guix.texi:15691
  22488. #, no-wrap
  22489. msgid ""
  22490. "(operating-system\n"
  22491. " ;; ...\n"
  22492. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  22493. " (bootloader (bootloader-configuration\n"
  22494. " (bootloader grub-efi-bootloader)\n"
  22495. " (targets '(\"/boot/efi\"))\n"
  22496. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  22497. " (services (cons (set-xorg-configuration\n"
  22498. " (xorg-configuration ;for Xorg\n"
  22499. " (keyboard-layout keyboard-layout)))\n"
  22500. " %desktop-services)))\n"
  22501. msgstr ""
  22502. #. type: Plain text
  22503. #: guix-git/doc/guix.texi:15698
  22504. 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."
  22505. msgstr ""
  22506. #. type: Plain text
  22507. #: guix-git/doc/guix.texi:15701
  22508. 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:"
  22509. msgstr ""
  22510. #. type: itemize
  22511. #: guix-git/doc/guix.texi:15706
  22512. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  22513. msgstr ""
  22514. #. type: itemize
  22515. #: guix-git/doc/guix.texi:15711
  22516. 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:"
  22517. msgstr ""
  22518. #. type: example
  22519. #: guix-git/doc/guix.texi:15714
  22520. #, no-wrap
  22521. msgid "setxkbmap us dvorak\n"
  22522. msgstr ""
  22523. #. type: itemize
  22524. #: guix-git/doc/guix.texi:15721
  22525. 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:"
  22526. msgstr ""
  22527. #. type: example
  22528. #: guix-git/doc/guix.texi:15724
  22529. #, no-wrap
  22530. msgid "loadkeys fr-bepo\n"
  22531. msgstr ""
  22532. #. type: cindex
  22533. #: guix-git/doc/guix.texi:15730
  22534. #, no-wrap
  22535. msgid "locale"
  22536. msgstr ""
  22537. #. type: Plain text
  22538. #: guix-git/doc/guix.texi:15737
  22539. 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."
  22540. msgstr ""
  22541. #. type: cindex
  22542. #: guix-git/doc/guix.texi:15738
  22543. #, no-wrap
  22544. msgid "locale definition"
  22545. msgstr ""
  22546. #. type: Plain text
  22547. #: guix-git/doc/guix.texi:15742
  22548. 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}})."
  22549. msgstr ""
  22550. #. type: Plain text
  22551. #: guix-git/doc/guix.texi:15751
  22552. 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."
  22553. msgstr ""
  22554. #. type: Plain text
  22555. #: guix-git/doc/guix.texi:15754
  22556. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  22557. msgstr ""
  22558. #. type: lisp
  22559. #: guix-git/doc/guix.texi:15759
  22560. #, no-wrap
  22561. msgid ""
  22562. "(cons (locale-definition\n"
  22563. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  22564. " %default-locale-definitions)\n"
  22565. msgstr ""
  22566. #. type: Plain text
  22567. #: guix-git/doc/guix.texi:15763
  22568. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  22569. msgstr ""
  22570. #. type: lisp
  22571. #: guix-git/doc/guix.texi:15768
  22572. #, no-wrap
  22573. msgid ""
  22574. "(list (locale-definition\n"
  22575. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  22576. " (charset \"EUC-JP\")))\n"
  22577. msgstr ""
  22578. #. type: Plain text
  22579. #: guix-git/doc/guix.texi:15777
  22580. 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})."
  22581. msgstr ""
  22582. #. type: Plain text
  22583. #: guix-git/doc/guix.texi:15780
  22584. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  22585. msgstr ""
  22586. #. type: deftp
  22587. #: guix-git/doc/guix.texi:15781
  22588. #, no-wrap
  22589. msgid "{Data Type} locale-definition"
  22590. msgstr ""
  22591. #. type: deftp
  22592. #: guix-git/doc/guix.texi:15783
  22593. msgid "This is the data type of a locale definition."
  22594. msgstr ""
  22595. #. type: table
  22596. #: guix-git/doc/guix.texi:15789
  22597. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  22598. msgstr ""
  22599. #. type: table
  22600. #: guix-git/doc/guix.texi:15793
  22601. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  22602. msgstr ""
  22603. #. type: item
  22604. #: guix-git/doc/guix.texi:15794
  22605. #, no-wrap
  22606. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  22607. msgstr ""
  22608. #. type: table
  22609. #: guix-git/doc/guix.texi:15798
  22610. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  22611. msgstr ""
  22612. #. type: defvr
  22613. #: guix-git/doc/guix.texi:15802
  22614. #, no-wrap
  22615. msgid "{Scheme Variable} %default-locale-definitions"
  22616. msgstr ""
  22617. #. type: defvr
  22618. #: guix-git/doc/guix.texi:15806
  22619. 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."
  22620. msgstr ""
  22621. #. type: cindex
  22622. #: guix-git/doc/guix.texi:15807
  22623. #, no-wrap
  22624. msgid "locale name"
  22625. msgstr ""
  22626. #. type: cindex
  22627. #: guix-git/doc/guix.texi:15808
  22628. #, no-wrap
  22629. msgid "normalized codeset in locale names"
  22630. msgstr ""
  22631. #. type: defvr
  22632. #: guix-git/doc/guix.texi:15814
  22633. 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}."
  22634. msgstr ""
  22635. #. type: subsection
  22636. #: guix-git/doc/guix.texi:15816
  22637. #, no-wrap
  22638. msgid "Locale Data Compatibility Considerations"
  22639. msgstr ""
  22640. #. type: cindex
  22641. #: guix-git/doc/guix.texi:15818
  22642. #, no-wrap
  22643. msgid "incompatibility, of locale data"
  22644. msgstr ""
  22645. #. type: Plain text
  22646. #: guix-git/doc/guix.texi:15825
  22647. 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."
  22648. msgstr ""
  22649. #. type: Plain text
  22650. #: guix-git/doc/guix.texi:15837
  22651. 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."
  22652. msgstr ""
  22653. #. type: Plain text
  22654. #: guix-git/doc/guix.texi:15842
  22655. 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."
  22656. msgstr ""
  22657. #. type: Plain text
  22658. #: guix-git/doc/guix.texi:15846
  22659. 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})."
  22660. msgstr ""
  22661. #. type: Plain text
  22662. #: guix-git/doc/guix.texi:15853
  22663. 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}:"
  22664. msgstr ""
  22665. #. type: lisp
  22666. #: guix-git/doc/guix.texi:15856
  22667. #, no-wrap
  22668. msgid ""
  22669. "(use-package-modules base)\n"
  22670. "\n"
  22671. msgstr ""
  22672. #. type: lisp
  22673. #: guix-git/doc/guix.texi:15860
  22674. #, no-wrap
  22675. msgid ""
  22676. "(operating-system\n"
  22677. " ;; @dots{}\n"
  22678. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  22679. msgstr ""
  22680. #. type: Plain text
  22681. #: guix-git/doc/guix.texi:15865
  22682. 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}."
  22683. msgstr ""
  22684. #. type: cindex
  22685. #: guix-git/doc/guix.texi:15870
  22686. #, no-wrap
  22687. msgid "system services"
  22688. msgstr ""
  22689. #. type: Plain text
  22690. #: guix-git/doc/guix.texi:15876
  22691. 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."
  22692. msgstr ""
  22693. #. type: Plain text
  22694. #: guix-git/doc/guix.texi:15883
  22695. 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:"
  22696. msgstr ""
  22697. #. type: example
  22698. #: guix-git/doc/guix.texi:15886
  22699. #, no-wrap
  22700. msgid "# herd status\n"
  22701. msgstr ""
  22702. #. type: Plain text
  22703. #: guix-git/doc/guix.texi:15891
  22704. 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:"
  22705. msgstr ""
  22706. #. type: example
  22707. #: guix-git/doc/guix.texi:15895
  22708. #, no-wrap
  22709. msgid ""
  22710. "# herd doc nscd\n"
  22711. "Run libc's name service cache daemon (nscd).\n"
  22712. "\n"
  22713. msgstr ""
  22714. #. type: example
  22715. #: guix-git/doc/guix.texi:15898
  22716. #, no-wrap
  22717. msgid ""
  22718. "# herd doc nscd action invalidate\n"
  22719. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  22720. msgstr ""
  22721. #. type: Plain text
  22722. #: guix-git/doc/guix.texi:15903
  22723. 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:"
  22724. msgstr ""
  22725. #. type: example
  22726. #: guix-git/doc/guix.texi:15910
  22727. #, no-wrap
  22728. msgid ""
  22729. "# herd stop nscd\n"
  22730. "Service nscd has been stopped.\n"
  22731. "# herd restart xorg-server\n"
  22732. "Service xorg-server has been stopped.\n"
  22733. "Service xorg-server has been started.\n"
  22734. msgstr ""
  22735. #. type: Plain text
  22736. #: guix-git/doc/guix.texi:15915
  22737. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  22738. msgstr ""
  22739. #. type: subsection
  22740. #: guix-git/doc/guix.texi:15951 guix-git/doc/guix.texi:24198
  22741. #: guix-git/doc/guix.texi:24199
  22742. #, no-wrap
  22743. msgid "File-Sharing Services"
  22744. msgstr ""
  22745. #. type: menuentry
  22746. #: guix-git/doc/guix.texi:15951
  22747. msgid "File-sharing services."
  22748. msgstr ""
  22749. #. type: Plain text
  22750. #: guix-git/doc/guix.texi:15959
  22751. 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."
  22752. msgstr ""
  22753. #. type: defvr
  22754. #: guix-git/doc/guix.texi:15960
  22755. #, no-wrap
  22756. msgid "{Scheme Variable} %base-services"
  22757. msgstr ""
  22758. #. type: defvr
  22759. #: guix-git/doc/guix.texi:15966
  22760. 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."
  22761. msgstr ""
  22762. #. type: defvr
  22763. #: guix-git/doc/guix.texi:15971
  22764. 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:"
  22765. msgstr ""
  22766. #. type: lisp
  22767. #: guix-git/doc/guix.texi:15976
  22768. #, no-wrap
  22769. msgid ""
  22770. "(append (list (service avahi-service-type)\n"
  22771. " (service openssh-service-type))\n"
  22772. " %base-services)\n"
  22773. msgstr ""
  22774. #. type: defvr
  22775. #: guix-git/doc/guix.texi:15979
  22776. #, no-wrap
  22777. msgid "{Scheme Variable} special-files-service-type"
  22778. msgstr ""
  22779. #. type: defvr
  22780. #: guix-git/doc/guix.texi:15982
  22781. 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}."
  22782. msgstr ""
  22783. #. type: defvr
  22784. #: guix-git/doc/guix.texi:15986
  22785. 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:"
  22786. msgstr ""
  22787. #. type: file{#1}
  22788. #: guix-git/doc/guix.texi:15987
  22789. #, no-wrap
  22790. msgid "/bin/sh"
  22791. msgstr ""
  22792. #. type: cindex
  22793. #: guix-git/doc/guix.texi:15988
  22794. #, no-wrap
  22795. msgid "@file{sh}, in @file{/bin}"
  22796. msgstr ""
  22797. #. type: lisp
  22798. #: guix-git/doc/guix.texi:15991
  22799. #, no-wrap
  22800. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  22801. msgstr ""
  22802. #. type: file{#1}
  22803. #: guix-git/doc/guix.texi:15993
  22804. #, no-wrap
  22805. msgid "/usr/bin/env"
  22806. msgstr ""
  22807. #. type: cindex
  22808. #: guix-git/doc/guix.texi:15994
  22809. #, no-wrap
  22810. msgid "@file{env}, in @file{/usr/bin}"
  22811. msgstr ""
  22812. #. type: defvr
  22813. #: guix-git/doc/guix.texi:15997
  22814. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  22815. msgstr ""
  22816. #. type: lisp
  22817. #: guix-git/doc/guix.texi:16001
  22818. #, no-wrap
  22819. msgid ""
  22820. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  22821. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  22822. msgstr ""
  22823. #. type: defvr
  22824. #: guix-git/doc/guix.texi:16008
  22825. 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)."
  22826. msgstr ""
  22827. #. type: deffn
  22828. #: guix-git/doc/guix.texi:16010
  22829. #, no-wrap
  22830. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  22831. msgstr ""
  22832. #. type: deffn
  22833. #: guix-git/doc/guix.texi:16012
  22834. msgid "Use @var{target} as the ``special file'' @var{file}."
  22835. msgstr ""
  22836. #. type: deffn
  22837. #: guix-git/doc/guix.texi:16016
  22838. 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:"
  22839. msgstr ""
  22840. #. type: lisp
  22841. #: guix-git/doc/guix.texi:16020
  22842. #, no-wrap
  22843. msgid ""
  22844. "(extra-special-file \"/usr/bin/env\"\n"
  22845. " (file-append coreutils \"/bin/env\"))\n"
  22846. msgstr ""
  22847. #. type: deffn
  22848. #: guix-git/doc/guix.texi:16023
  22849. #, no-wrap
  22850. msgid "{Scheme Procedure} host-name-service @var{name}"
  22851. msgstr ""
  22852. #. type: deffn
  22853. #: guix-git/doc/guix.texi:16025
  22854. msgid "Return a service that sets the host name to @var{name}."
  22855. msgstr ""
  22856. #. type: defvr
  22857. #: guix-git/doc/guix.texi:16027
  22858. #, no-wrap
  22859. msgid "{Scheme Variable} console-font-service-type"
  22860. msgstr ""
  22861. #. type: defvr
  22862. #: guix-git/doc/guix.texi:16032
  22863. 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:"
  22864. msgstr ""
  22865. #. type: lisp
  22866. #: guix-git/doc/guix.texi:16041
  22867. #, no-wrap
  22868. msgid ""
  22869. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  22870. " (\"tty2\" . ,(file-append\n"
  22871. " font-tamzen\n"
  22872. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  22873. " (\"tty3\" . ,(file-append\n"
  22874. " font-terminus\n"
  22875. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  22876. msgstr ""
  22877. #. type: deffn
  22878. #: guix-git/doc/guix.texi:16044
  22879. #, no-wrap
  22880. msgid "{Scheme Procedure} login-service @var{config}"
  22881. msgstr ""
  22882. #. type: deffn
  22883. #: guix-git/doc/guix.texi:16048
  22884. 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."
  22885. msgstr ""
  22886. #. type: deftp
  22887. #: guix-git/doc/guix.texi:16050
  22888. #, no-wrap
  22889. msgid "{Data Type} login-configuration"
  22890. msgstr ""
  22891. #. type: deftp
  22892. #: guix-git/doc/guix.texi:16052
  22893. msgid "This is the data type representing the configuration of login."
  22894. msgstr ""
  22895. #. type: code{#1}
  22896. #: guix-git/doc/guix.texi:16055
  22897. #, no-wrap
  22898. msgid "motd"
  22899. msgstr ""
  22900. #. type: cindex
  22901. #: guix-git/doc/guix.texi:16056
  22902. #, no-wrap
  22903. msgid "message of the day"
  22904. msgstr ""
  22905. #. type: table
  22906. #: guix-git/doc/guix.texi:16058
  22907. msgid "A file-like object containing the ``message of the day''."
  22908. msgstr ""
  22909. #. type: item
  22910. #: guix-git/doc/guix.texi:16059 guix-git/doc/guix.texi:19280
  22911. #, no-wrap
  22912. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  22913. msgstr ""
  22914. #. type: table
  22915. #: guix-git/doc/guix.texi:16062
  22916. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  22917. msgstr ""
  22918. #. type: deffn
  22919. #: guix-git/doc/guix.texi:16066
  22920. #, no-wrap
  22921. msgid "{Scheme Procedure} mingetty-service @var{config}"
  22922. msgstr ""
  22923. #. type: deffn
  22924. #: guix-git/doc/guix.texi:16070
  22925. 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."
  22926. msgstr ""
  22927. #. type: deftp
  22928. #: guix-git/doc/guix.texi:16072
  22929. #, no-wrap
  22930. msgid "{Data Type} mingetty-configuration"
  22931. msgstr ""
  22932. #. type: deftp
  22933. #: guix-git/doc/guix.texi:16075
  22934. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  22935. msgstr ""
  22936. #. type: code{#1}
  22937. #: guix-git/doc/guix.texi:16078 guix-git/doc/guix.texi:16117
  22938. #: guix-git/doc/guix.texi:33550
  22939. #, no-wrap
  22940. msgid "tty"
  22941. msgstr ""
  22942. #. type: table
  22943. #: guix-git/doc/guix.texi:16080
  22944. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  22945. msgstr ""
  22946. #. type: item
  22947. #: guix-git/doc/guix.texi:16081 guix-git/doc/guix.texi:16146
  22948. #: guix-git/doc/guix.texi:16305
  22949. #, no-wrap
  22950. msgid "@code{auto-login} (default: @code{#f})"
  22951. msgstr ""
  22952. #. type: table
  22953. #: guix-git/doc/guix.texi:16085
  22954. 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."
  22955. msgstr ""
  22956. #. type: item
  22957. #: guix-git/doc/guix.texi:16086
  22958. #, no-wrap
  22959. msgid "@code{login-program} (default: @code{#f})"
  22960. msgstr ""
  22961. #. type: table
  22962. #: guix-git/doc/guix.texi:16090
  22963. 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."
  22964. msgstr ""
  22965. #. type: item
  22966. #: guix-git/doc/guix.texi:16091
  22967. #, no-wrap
  22968. msgid "@code{login-pause?} (default: @code{#f})"
  22969. msgstr ""
  22970. #. type: table
  22971. #: guix-git/doc/guix.texi:16094
  22972. 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."
  22973. msgstr ""
  22974. #. type: item
  22975. #: guix-git/doc/guix.texi:16095
  22976. #, no-wrap
  22977. msgid "@code{clear-on-logout?} (default: @code{#t})"
  22978. msgstr ""
  22979. #. type: table
  22980. #: guix-git/doc/guix.texi:16097
  22981. msgid "When set to @code{#t}, the screen will be cleared after logout."
  22982. msgstr ""
  22983. #. type: item
  22984. #: guix-git/doc/guix.texi:16098
  22985. #, no-wrap
  22986. msgid "@code{mingetty} (default: @var{mingetty})"
  22987. msgstr ""
  22988. #. type: table
  22989. #: guix-git/doc/guix.texi:16100
  22990. msgid "The Mingetty package to use."
  22991. msgstr ""
  22992. #. type: deffn
  22993. #: guix-git/doc/guix.texi:16104
  22994. #, no-wrap
  22995. msgid "{Scheme Procedure} agetty-service @var{config}"
  22996. msgstr ""
  22997. #. type: deffn
  22998. #: guix-git/doc/guix.texi:16108
  22999. 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."
  23000. msgstr ""
  23001. #. type: deftp
  23002. #: guix-git/doc/guix.texi:16110
  23003. #, no-wrap
  23004. msgid "{Data Type} agetty-configuration"
  23005. msgstr ""
  23006. #. type: deftp
  23007. #: guix-git/doc/guix.texi:16114
  23008. 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."
  23009. msgstr ""
  23010. #. type: table
  23011. #: guix-git/doc/guix.texi:16121
  23012. 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."
  23013. msgstr ""
  23014. #. type: table
  23015. #: guix-git/doc/guix.texi:16125
  23016. 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."
  23017. msgstr ""
  23018. #. type: table
  23019. #: guix-git/doc/guix.texi:16129
  23020. 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."
  23021. msgstr ""
  23022. #. type: table
  23023. #: guix-git/doc/guix.texi:16133
  23024. 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."
  23025. msgstr ""
  23026. #. type: item
  23027. #: guix-git/doc/guix.texi:16134 guix-git/doc/guix.texi:33711
  23028. #, no-wrap
  23029. msgid "@code{baud-rate} (default: @code{#f})"
  23030. msgstr ""
  23031. #. type: table
  23032. #: guix-git/doc/guix.texi:16137
  23033. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  23034. msgstr ""
  23035. #. type: item
  23036. #: guix-git/doc/guix.texi:16138
  23037. #, no-wrap
  23038. msgid "@code{term} (default: @code{#f})"
  23039. msgstr ""
  23040. #. type: table
  23041. #: guix-git/doc/guix.texi:16141
  23042. msgid "A string containing the value used for the @env{TERM} environment variable."
  23043. msgstr ""
  23044. #. type: item
  23045. #: guix-git/doc/guix.texi:16142
  23046. #, no-wrap
  23047. msgid "@code{eight-bits?} (default: @code{#f})"
  23048. msgstr ""
  23049. #. type: table
  23050. #: guix-git/doc/guix.texi:16145
  23051. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  23052. msgstr ""
  23053. #. type: table
  23054. #: guix-git/doc/guix.texi:16149 guix-git/doc/guix.texi:16308
  23055. 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."
  23056. msgstr ""
  23057. #. type: item
  23058. #: guix-git/doc/guix.texi:16150
  23059. #, no-wrap
  23060. msgid "@code{no-reset?} (default: @code{#f})"
  23061. msgstr ""
  23062. #. type: table
  23063. #: guix-git/doc/guix.texi:16152
  23064. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  23065. msgstr ""
  23066. #. type: item
  23067. #: guix-git/doc/guix.texi:16153
  23068. #, no-wrap
  23069. msgid "@code{host} (default: @code{#f})"
  23070. msgstr ""
  23071. #. type: table
  23072. #: guix-git/doc/guix.texi:16156
  23073. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  23074. msgstr ""
  23075. #. type: item
  23076. #: guix-git/doc/guix.texi:16157
  23077. #, no-wrap
  23078. msgid "@code{remote?} (default: @code{#f})"
  23079. msgstr ""
  23080. #. type: table
  23081. #: guix-git/doc/guix.texi:16161
  23082. 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}."
  23083. msgstr ""
  23084. #. type: item
  23085. #: guix-git/doc/guix.texi:16162
  23086. #, no-wrap
  23087. msgid "@code{flow-control?} (default: @code{#f})"
  23088. msgstr ""
  23089. #. type: table
  23090. #: guix-git/doc/guix.texi:16164
  23091. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  23092. msgstr ""
  23093. #. type: item
  23094. #: guix-git/doc/guix.texi:16165
  23095. #, no-wrap
  23096. msgid "@code{no-issue?} (default: @code{#f})"
  23097. msgstr ""
  23098. #. type: table
  23099. #: guix-git/doc/guix.texi:16168
  23100. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  23101. msgstr ""
  23102. #. type: item
  23103. #: guix-git/doc/guix.texi:16169
  23104. #, no-wrap
  23105. msgid "@code{init-string} (default: @code{#f})"
  23106. msgstr ""
  23107. #. type: table
  23108. #: guix-git/doc/guix.texi:16172
  23109. 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."
  23110. msgstr ""
  23111. #. type: item
  23112. #: guix-git/doc/guix.texi:16173
  23113. #, no-wrap
  23114. msgid "@code{no-clear?} (default: @code{#f})"
  23115. msgstr ""
  23116. #. type: table
  23117. #: guix-git/doc/guix.texi:16176
  23118. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  23119. msgstr ""
  23120. #. type: item
  23121. #: guix-git/doc/guix.texi:16177
  23122. #, no-wrap
  23123. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  23124. msgstr ""
  23125. #. type: table
  23126. #: guix-git/doc/guix.texi:16181
  23127. 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."
  23128. msgstr ""
  23129. #. type: item
  23130. #: guix-git/doc/guix.texi:16182
  23131. #, no-wrap
  23132. msgid "@code{local-line} (default: @code{#f})"
  23133. msgstr ""
  23134. #. type: table
  23135. #: guix-git/doc/guix.texi:16186
  23136. 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}."
  23137. msgstr ""
  23138. #. type: item
  23139. #: guix-git/doc/guix.texi:16187
  23140. #, no-wrap
  23141. msgid "@code{extract-baud?} (default: @code{#f})"
  23142. msgstr ""
  23143. #. type: table
  23144. #: guix-git/doc/guix.texi:16190
  23145. 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."
  23146. msgstr ""
  23147. #. type: item
  23148. #: guix-git/doc/guix.texi:16191
  23149. #, no-wrap
  23150. msgid "@code{skip-login?} (default: @code{#f})"
  23151. msgstr ""
  23152. #. type: table
  23153. #: guix-git/doc/guix.texi:16195
  23154. 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."
  23155. msgstr ""
  23156. #. type: item
  23157. #: guix-git/doc/guix.texi:16196
  23158. #, no-wrap
  23159. msgid "@code{no-newline?} (default: @code{#f})"
  23160. msgstr ""
  23161. #. type: table
  23162. #: guix-git/doc/guix.texi:16199
  23163. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  23164. msgstr ""
  23165. #. type: item
  23166. #: guix-git/doc/guix.texi:16201
  23167. #, no-wrap
  23168. msgid "@code{login-options} (default: @code{#f})"
  23169. msgstr ""
  23170. #. type: table
  23171. #: guix-git/doc/guix.texi:16206
  23172. 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."
  23173. msgstr ""
  23174. #. type: item
  23175. #: guix-git/doc/guix.texi:16207
  23176. #, no-wrap
  23177. msgid "@code{login-pause} (default: @code{#f})"
  23178. msgstr ""
  23179. #. type: table
  23180. #: guix-git/doc/guix.texi:16211
  23181. 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."
  23182. msgstr ""
  23183. #. type: item
  23184. #: guix-git/doc/guix.texi:16212
  23185. #, no-wrap
  23186. msgid "@code{chroot} (default: @code{#f})"
  23187. msgstr ""
  23188. #. type: table
  23189. #: guix-git/doc/guix.texi:16215
  23190. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  23191. msgstr ""
  23192. #. type: item
  23193. #: guix-git/doc/guix.texi:16216
  23194. #, no-wrap
  23195. msgid "@code{hangup?} (default: @code{#f})"
  23196. msgstr ""
  23197. #. type: table
  23198. #: guix-git/doc/guix.texi:16219
  23199. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  23200. msgstr ""
  23201. #. type: item
  23202. #: guix-git/doc/guix.texi:16220
  23203. #, no-wrap
  23204. msgid "@code{keep-baud?} (default: @code{#f})"
  23205. msgstr ""
  23206. #. type: table
  23207. #: guix-git/doc/guix.texi:16224
  23208. 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."
  23209. msgstr ""
  23210. #. type: item
  23211. #: guix-git/doc/guix.texi:16225
  23212. #, no-wrap
  23213. msgid "@code{timeout} (default: @code{#f})"
  23214. msgstr ""
  23215. #. type: table
  23216. #: guix-git/doc/guix.texi:16228
  23217. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  23218. msgstr ""
  23219. #. type: item
  23220. #: guix-git/doc/guix.texi:16229
  23221. #, no-wrap
  23222. msgid "@code{detect-case?} (default: @code{#f})"
  23223. msgstr ""
  23224. #. type: table
  23225. #: guix-git/doc/guix.texi:16235
  23226. 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."
  23227. msgstr ""
  23228. #. type: item
  23229. #: guix-git/doc/guix.texi:16236
  23230. #, no-wrap
  23231. msgid "@code{wait-cr?} (default: @code{#f})"
  23232. msgstr ""
  23233. #. type: table
  23234. #: guix-git/doc/guix.texi:16241
  23235. 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."
  23236. msgstr ""
  23237. #. type: item
  23238. #: guix-git/doc/guix.texi:16242
  23239. #, no-wrap
  23240. msgid "@code{no-hints?} (default: @code{#f})"
  23241. msgstr ""
  23242. #. type: table
  23243. #: guix-git/doc/guix.texi:16245
  23244. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  23245. msgstr ""
  23246. #. type: item
  23247. #: guix-git/doc/guix.texi:16246
  23248. #, no-wrap
  23249. msgid "@code{no-hostname?} (default: @code{#f})"
  23250. msgstr ""
  23251. #. type: table
  23252. #: guix-git/doc/guix.texi:16249
  23253. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  23254. msgstr ""
  23255. #. type: item
  23256. #: guix-git/doc/guix.texi:16250
  23257. #, no-wrap
  23258. msgid "@code{long-hostname?} (default: @code{#f})"
  23259. msgstr ""
  23260. #. type: table
  23261. #: guix-git/doc/guix.texi:16254
  23262. 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."
  23263. msgstr ""
  23264. #. type: item
  23265. #: guix-git/doc/guix.texi:16255
  23266. #, no-wrap
  23267. msgid "@code{erase-characters} (default: @code{#f})"
  23268. msgstr ""
  23269. #. type: table
  23270. #: guix-git/doc/guix.texi:16258
  23271. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  23272. msgstr ""
  23273. #. type: item
  23274. #: guix-git/doc/guix.texi:16259
  23275. #, no-wrap
  23276. msgid "@code{kill-characters} (default: @code{#f})"
  23277. msgstr ""
  23278. #. type: table
  23279. #: guix-git/doc/guix.texi:16263
  23280. 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."
  23281. msgstr ""
  23282. #. type: item
  23283. #: guix-git/doc/guix.texi:16264
  23284. #, no-wrap
  23285. msgid "@code{chdir} (default: @code{#f})"
  23286. msgstr ""
  23287. #. type: table
  23288. #: guix-git/doc/guix.texi:16267
  23289. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  23290. msgstr ""
  23291. #. type: item
  23292. #: guix-git/doc/guix.texi:16268
  23293. #, no-wrap
  23294. msgid "@code{delay} (default: @code{#f})"
  23295. msgstr ""
  23296. #. type: table
  23297. #: guix-git/doc/guix.texi:16271
  23298. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  23299. msgstr ""
  23300. #. type: item
  23301. #: guix-git/doc/guix.texi:16272
  23302. #, no-wrap
  23303. msgid "@code{nice} (default: @code{#f})"
  23304. msgstr ""
  23305. #. type: table
  23306. #: guix-git/doc/guix.texi:16275
  23307. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  23308. msgstr ""
  23309. #. type: item
  23310. #: guix-git/doc/guix.texi:16276 guix-git/doc/guix.texi:16564
  23311. #: guix-git/doc/guix.texi:17478 guix-git/doc/guix.texi:25181
  23312. #: guix-git/doc/guix.texi:26658 guix-git/doc/guix.texi:29074
  23313. #: guix-git/doc/guix.texi:29869 guix-git/doc/guix.texi:31622
  23314. #: guix-git/doc/guix.texi:34051
  23315. #, no-wrap
  23316. msgid "@code{extra-options} (default: @code{'()})"
  23317. msgstr ""
  23318. #. type: table
  23319. #: guix-git/doc/guix.texi:16279
  23320. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  23321. msgstr ""
  23322. #. type: deffn
  23323. #: guix-git/doc/guix.texi:16283
  23324. #, no-wrap
  23325. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  23326. msgstr ""
  23327. #. type: deffn
  23328. #: guix-git/doc/guix.texi:16287
  23329. 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."
  23330. msgstr ""
  23331. #. type: deftp
  23332. #: guix-git/doc/guix.texi:16289
  23333. #, no-wrap
  23334. msgid "{Data Type} kmscon-configuration"
  23335. msgstr ""
  23336. #. type: deftp
  23337. #: guix-git/doc/guix.texi:16292
  23338. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  23339. msgstr ""
  23340. #. type: code{#1}
  23341. #: guix-git/doc/guix.texi:16295
  23342. #, no-wrap
  23343. msgid "virtual-terminal"
  23344. msgstr ""
  23345. #. type: table
  23346. #: guix-git/doc/guix.texi:16297
  23347. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  23348. msgstr ""
  23349. #. type: item
  23350. #: guix-git/doc/guix.texi:16298
  23351. #, no-wrap
  23352. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  23353. msgstr ""
  23354. #. type: table
  23355. #: guix-git/doc/guix.texi:16301
  23356. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  23357. msgstr ""
  23358. #. type: item
  23359. #: guix-git/doc/guix.texi:16302
  23360. #, no-wrap
  23361. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  23362. msgstr ""
  23363. #. type: table
  23364. #: guix-git/doc/guix.texi:16304
  23365. msgid "A list of arguments to pass to @command{login}."
  23366. msgstr ""
  23367. #. type: item
  23368. #: guix-git/doc/guix.texi:16309
  23369. #, no-wrap
  23370. msgid "@code{hardware-acceleration?} (default: #f)"
  23371. msgstr ""
  23372. #. type: table
  23373. #: guix-git/doc/guix.texi:16311
  23374. msgid "Whether to use hardware acceleration."
  23375. msgstr ""
  23376. #. type: item
  23377. #: guix-git/doc/guix.texi:16312
  23378. #, no-wrap
  23379. msgid "@code{font-engine} (default: @code{\"pango\"})"
  23380. msgstr ""
  23381. #. type: table
  23382. #: guix-git/doc/guix.texi:16314
  23383. msgid "Font engine used in Kmscon."
  23384. msgstr ""
  23385. #. type: item
  23386. #: guix-git/doc/guix.texi:16315
  23387. #, no-wrap
  23388. msgid "@code{font-size} (default: @code{12})"
  23389. msgstr ""
  23390. #. type: table
  23391. #: guix-git/doc/guix.texi:16317
  23392. msgid "Font size used in Kmscon."
  23393. msgstr ""
  23394. #. type: table
  23395. #: guix-git/doc/guix.texi:16321
  23396. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  23397. msgstr ""
  23398. #. type: table
  23399. #: guix-git/doc/guix.texi:16325
  23400. msgid "Otherwise this must be a @code{keyboard-layout} object specifying the keyboard layout. @xref{Keyboard Layout}, for more information on how to specify the keyboard layout."
  23401. msgstr ""
  23402. #. type: item
  23403. #: guix-git/doc/guix.texi:16326
  23404. #, no-wrap
  23405. msgid "@code{kmscon} (default: @var{kmscon})"
  23406. msgstr ""
  23407. #. type: table
  23408. #: guix-git/doc/guix.texi:16328
  23409. msgid "The Kmscon package to use."
  23410. msgstr ""
  23411. #. type: cindex
  23412. #: guix-git/doc/guix.texi:16332
  23413. #, no-wrap
  23414. msgid "name service cache daemon"
  23415. msgstr ""
  23416. #. type: cindex
  23417. #: guix-git/doc/guix.texi:16333
  23418. #, no-wrap
  23419. msgid "nscd"
  23420. msgstr ""
  23421. #. type: deffn
  23422. #: guix-git/doc/guix.texi:16334
  23423. #, no-wrap
  23424. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  23425. msgstr ""
  23426. #. type: deffn
  23427. #: guix-git/doc/guix.texi:16339
  23428. 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."
  23429. msgstr ""
  23430. #. type: deffn
  23431. #: guix-git/doc/guix.texi:16341
  23432. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  23433. msgstr ""
  23434. #. type: item
  23435. #: guix-git/doc/guix.texi:16343
  23436. #, no-wrap
  23437. msgid "invalidate"
  23438. msgstr ""
  23439. #. type: cindex
  23440. #: guix-git/doc/guix.texi:16344
  23441. #, no-wrap
  23442. msgid "cache invalidation, nscd"
  23443. msgstr ""
  23444. #. type: cindex
  23445. #: guix-git/doc/guix.texi:16345
  23446. #, no-wrap
  23447. msgid "nscd, cache invalidation"
  23448. msgstr ""
  23449. #. type: table
  23450. #: guix-git/doc/guix.texi:16347
  23451. msgid "This invalidate the given cache. For instance, running:"
  23452. msgstr ""
  23453. #. type: example
  23454. #: guix-git/doc/guix.texi:16350
  23455. #, no-wrap
  23456. msgid "herd invalidate nscd hosts\n"
  23457. msgstr ""
  23458. #. type: table
  23459. #: guix-git/doc/guix.texi:16354
  23460. msgid "invalidates the host name lookup cache of nscd."
  23461. msgstr ""
  23462. #. type: item
  23463. #: guix-git/doc/guix.texi:16355
  23464. #, no-wrap
  23465. msgid "statistics"
  23466. msgstr ""
  23467. #. type: table
  23468. #: guix-git/doc/guix.texi:16358
  23469. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  23470. msgstr ""
  23471. #. type: defvr
  23472. #: guix-git/doc/guix.texi:16362
  23473. #, no-wrap
  23474. msgid "{Scheme Variable} %nscd-default-configuration"
  23475. msgstr ""
  23476. #. type: defvr
  23477. #: guix-git/doc/guix.texi:16366
  23478. 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."
  23479. msgstr ""
  23480. #. type: deftp
  23481. #: guix-git/doc/guix.texi:16368
  23482. #, no-wrap
  23483. msgid "{Data Type} nscd-configuration"
  23484. msgstr ""
  23485. #. type: deftp
  23486. #: guix-git/doc/guix.texi:16371
  23487. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  23488. msgstr ""
  23489. #. type: item
  23490. #: guix-git/doc/guix.texi:16374
  23491. #, no-wrap
  23492. msgid "@code{name-services} (default: @code{'()})"
  23493. msgstr ""
  23494. #. type: table
  23495. #: guix-git/doc/guix.texi:16377
  23496. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  23497. msgstr ""
  23498. #. type: item
  23499. #: guix-git/doc/guix.texi:16378
  23500. #, no-wrap
  23501. msgid "@code{glibc} (default: @var{glibc})"
  23502. msgstr ""
  23503. #. type: table
  23504. #: guix-git/doc/guix.texi:16381
  23505. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  23506. msgstr ""
  23507. #. type: item
  23508. #: guix-git/doc/guix.texi:16382
  23509. #, no-wrap
  23510. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  23511. msgstr ""
  23512. #. type: table
  23513. #: guix-git/doc/guix.texi:16385
  23514. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  23515. msgstr ""
  23516. #. type: item
  23517. #: guix-git/doc/guix.texi:16386
  23518. #, no-wrap
  23519. msgid "@code{debug-level} (default: @code{0})"
  23520. msgstr ""
  23521. #. type: table
  23522. #: guix-git/doc/guix.texi:16389
  23523. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  23524. msgstr ""
  23525. #. type: item
  23526. #: guix-git/doc/guix.texi:16390
  23527. #, no-wrap
  23528. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  23529. msgstr ""
  23530. #. type: table
  23531. #: guix-git/doc/guix.texi:16393
  23532. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  23533. msgstr ""
  23534. #. type: deftp
  23535. #: guix-git/doc/guix.texi:16397
  23536. #, no-wrap
  23537. msgid "{Data Type} nscd-cache"
  23538. msgstr ""
  23539. #. type: deftp
  23540. #: guix-git/doc/guix.texi:16399
  23541. msgid "Data type representing a cache database of nscd and its parameters."
  23542. msgstr ""
  23543. #. type: cindex
  23544. #: guix-git/doc/guix.texi:16402 guix-git/doc/guix.texi:21071
  23545. #, no-wrap
  23546. msgid "database"
  23547. msgstr ""
  23548. #. type: table
  23549. #: guix-git/doc/guix.texi:16407
  23550. 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})."
  23551. msgstr ""
  23552. #. type: code{#1}
  23553. #: guix-git/doc/guix.texi:16408
  23554. #, no-wrap
  23555. msgid "positive-time-to-live"
  23556. msgstr ""
  23557. #. type: itemx
  23558. #: guix-git/doc/guix.texi:16409
  23559. #, no-wrap
  23560. msgid "@code{negative-time-to-live} (default: @code{20})"
  23561. msgstr ""
  23562. #. type: table
  23563. #: guix-git/doc/guix.texi:16412
  23564. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  23565. msgstr ""
  23566. #. type: item
  23567. #: guix-git/doc/guix.texi:16413
  23568. #, no-wrap
  23569. msgid "@code{check-files?} (default: @code{#t})"
  23570. msgstr ""
  23571. #. type: table
  23572. #: guix-git/doc/guix.texi:16416
  23573. msgid "Whether to check for updates of the files corresponding to @var{database}."
  23574. msgstr ""
  23575. #. type: table
  23576. #: guix-git/doc/guix.texi:16420
  23577. 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."
  23578. msgstr ""
  23579. #. type: item
  23580. #: guix-git/doc/guix.texi:16421
  23581. #, no-wrap
  23582. msgid "@code{persistent?} (default: @code{#t})"
  23583. msgstr ""
  23584. #. type: table
  23585. #: guix-git/doc/guix.texi:16423
  23586. msgid "Whether the cache should be stored persistently on disk."
  23587. msgstr ""
  23588. #. type: item
  23589. #: guix-git/doc/guix.texi:16424
  23590. #, no-wrap
  23591. msgid "@code{shared?} (default: @code{#t})"
  23592. msgstr ""
  23593. #. type: table
  23594. #: guix-git/doc/guix.texi:16426
  23595. msgid "Whether the cache should be shared among users."
  23596. msgstr ""
  23597. #. type: item
  23598. #: guix-git/doc/guix.texi:16427
  23599. #, no-wrap
  23600. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  23601. msgstr ""
  23602. #. type: table
  23603. #: guix-git/doc/guix.texi:16429
  23604. msgid "Maximum size in bytes of the database cache."
  23605. msgstr ""
  23606. #. type: defvr
  23607. #: guix-git/doc/guix.texi:16436
  23608. #, no-wrap
  23609. msgid "{Scheme Variable} %nscd-default-caches"
  23610. msgstr ""
  23611. #. type: defvr
  23612. #: guix-git/doc/guix.texi:16439
  23613. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  23614. msgstr ""
  23615. #. type: defvr
  23616. #: guix-git/doc/guix.texi:16445
  23617. 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."
  23618. msgstr ""
  23619. #. type: anchor{#1}
  23620. #: guix-git/doc/guix.texi:16448
  23621. msgid "syslog-configuration-type"
  23622. msgstr ""
  23623. #. type: cindex
  23624. #: guix-git/doc/guix.texi:16448 guix-git/doc/guix.texi:16464
  23625. #, no-wrap
  23626. msgid "syslog"
  23627. msgstr ""
  23628. #. type: cindex
  23629. #: guix-git/doc/guix.texi:16449 guix-git/doc/guix.texi:17035
  23630. #, no-wrap
  23631. msgid "logging"
  23632. msgstr ""
  23633. #. type: deftp
  23634. #: guix-git/doc/guix.texi:16450
  23635. #, no-wrap
  23636. msgid "{Data Type} syslog-configuration"
  23637. msgstr ""
  23638. #. type: deftp
  23639. #: guix-git/doc/guix.texi:16452
  23640. msgid "This data type represents the configuration of the syslog daemon."
  23641. msgstr ""
  23642. #. type: item
  23643. #: guix-git/doc/guix.texi:16454
  23644. #, no-wrap
  23645. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  23646. msgstr ""
  23647. #. type: table
  23648. #: guix-git/doc/guix.texi:16456
  23649. msgid "The syslog daemon to use."
  23650. msgstr ""
  23651. #. type: item
  23652. #: guix-git/doc/guix.texi:16457
  23653. #, no-wrap
  23654. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  23655. msgstr ""
  23656. #. type: table
  23657. #: guix-git/doc/guix.texi:16459
  23658. msgid "The syslog configuration file to use."
  23659. msgstr ""
  23660. #. type: anchor{#1}
  23661. #: guix-git/doc/guix.texi:16464
  23662. msgid "syslog-service"
  23663. msgstr ""
  23664. #. type: deffn
  23665. #: guix-git/doc/guix.texi:16465
  23666. #, no-wrap
  23667. msgid "{Scheme Procedure} syslog-service @var{config}"
  23668. msgstr ""
  23669. #. type: deffn
  23670. #: guix-git/doc/guix.texi:16467
  23671. msgid "Return a service that runs a syslog daemon according to @var{config}."
  23672. msgstr ""
  23673. #. type: deffn
  23674. #: guix-git/doc/guix.texi:16470
  23675. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  23676. msgstr ""
  23677. #. type: defvr
  23678. #: guix-git/doc/guix.texi:16472
  23679. #, no-wrap
  23680. msgid "{Scheme Variable} guix-service-type"
  23681. msgstr ""
  23682. #. type: defvr
  23683. #: guix-git/doc/guix.texi:16476
  23684. 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."
  23685. msgstr ""
  23686. #. type: anchor{#1}
  23687. #: guix-git/doc/guix.texi:16479
  23688. msgid "guix-configuration-type"
  23689. msgstr ""
  23690. #. type: deftp
  23691. #: guix-git/doc/guix.texi:16479
  23692. #, no-wrap
  23693. msgid "{Data Type} guix-configuration"
  23694. msgstr ""
  23695. #. type: deftp
  23696. #: guix-git/doc/guix.texi:16482
  23697. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  23698. msgstr ""
  23699. #. type: item
  23700. #: guix-git/doc/guix.texi:16484
  23701. #, no-wrap
  23702. msgid "@code{guix} (default: @var{guix})"
  23703. msgstr ""
  23704. #. type: table
  23705. #: guix-git/doc/guix.texi:16486 guix-git/doc/guix.texi:16763
  23706. msgid "The Guix package to use."
  23707. msgstr ""
  23708. #. type: item
  23709. #: guix-git/doc/guix.texi:16487
  23710. #, no-wrap
  23711. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  23712. msgstr ""
  23713. #. type: table
  23714. #: guix-git/doc/guix.texi:16489
  23715. msgid "Name of the group for build user accounts."
  23716. msgstr ""
  23717. #. type: item
  23718. #: guix-git/doc/guix.texi:16490
  23719. #, no-wrap
  23720. msgid "@code{build-accounts} (default: @code{10})"
  23721. msgstr ""
  23722. #. type: table
  23723. #: guix-git/doc/guix.texi:16492
  23724. msgid "Number of build user accounts to create."
  23725. msgstr ""
  23726. #. type: item
  23727. #: guix-git/doc/guix.texi:16493
  23728. #, no-wrap
  23729. msgid "@code{authorize-key?} (default: @code{#t})"
  23730. msgstr ""
  23731. #. type: table
  23732. #: guix-git/doc/guix.texi:16500
  23733. msgid "Whether to authorize the substitute keys listed in @code{authorized-keys}---by default that of @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} (@pxref{Substitutes})."
  23734. msgstr ""
  23735. #. type: table
  23736. #: guix-git/doc/guix.texi:16506
  23737. 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."
  23738. msgstr ""
  23739. #. type: quotation
  23740. #: guix-git/doc/guix.texi:16513
  23741. 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}."
  23742. msgstr ""
  23743. #. type: vindex
  23744. #: guix-git/doc/guix.texi:16515
  23745. #, no-wrap
  23746. msgid "%default-authorized-guix-keys"
  23747. msgstr ""
  23748. #. type: item
  23749. #: guix-git/doc/guix.texi:16516
  23750. #, no-wrap
  23751. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  23752. msgstr ""
  23753. #. type: table
  23754. #: guix-git/doc/guix.texi:16522
  23755. 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-1}} and @code{@value{SUBSTITUTE-SERVER-2}} (@pxref{Substitutes}). See @code{substitute-urls} below for an example on how to change it."
  23756. msgstr ""
  23757. #. type: item
  23758. #: guix-git/doc/guix.texi:16523
  23759. #, no-wrap
  23760. msgid "@code{use-substitutes?} (default: @code{#t})"
  23761. msgstr ""
  23762. #. type: table
  23763. #: guix-git/doc/guix.texi:16525
  23764. msgid "Whether to use substitutes."
  23765. msgstr ""
  23766. #. type: item
  23767. #: guix-git/doc/guix.texi:16526 guix-git/doc/guix.texi:29171
  23768. #, no-wrap
  23769. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  23770. msgstr ""
  23771. #. type: table
  23772. #: guix-git/doc/guix.texi:16528 guix-git/doc/guix.texi:29173
  23773. msgid "The list of URLs where to look for substitutes by default."
  23774. msgstr ""
  23775. #. type: table
  23776. #: guix-git/doc/guix.texi:16535
  23777. msgid "Suppose you would like to fetch substitutes from @code{guix.example.org} in addition to @code{@value{SUBSTITUTE-SERVER-1}}. 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:"
  23778. msgstr ""
  23779. #. type: lisp
  23780. #: guix-git/doc/guix.texi:16544
  23781. #, no-wrap
  23782. msgid ""
  23783. "(guix-configuration\n"
  23784. " (substitute-urls\n"
  23785. " (append (list \"https://guix.example.org\")\n"
  23786. " %default-substitute-urls))\n"
  23787. " (authorized-keys\n"
  23788. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  23789. " %default-authorized-guix-keys)))\n"
  23790. msgstr ""
  23791. #. type: table
  23792. #: guix-git/doc/guix.texi:16549
  23793. 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."
  23794. msgstr ""
  23795. #. type: item
  23796. #: guix-git/doc/guix.texi:16550
  23797. #, no-wrap
  23798. msgid "@code{max-silent-time} (default: @code{0})"
  23799. msgstr ""
  23800. #. type: itemx
  23801. #: guix-git/doc/guix.texi:16551
  23802. #, no-wrap
  23803. msgid "@code{timeout} (default: @code{0})"
  23804. msgstr ""
  23805. #. type: table
  23806. #: guix-git/doc/guix.texi:16555
  23807. 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."
  23808. msgstr ""
  23809. #. type: item
  23810. #: guix-git/doc/guix.texi:16556
  23811. #, no-wrap
  23812. msgid "@code{log-compression} (default: @code{'bzip2})"
  23813. msgstr ""
  23814. #. type: table
  23815. #: guix-git/doc/guix.texi:16559
  23816. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  23817. msgstr ""
  23818. #. type: item
  23819. #: guix-git/doc/guix.texi:16560
  23820. #, no-wrap
  23821. msgid "@code{discover?} (default: @code{#f})"
  23822. msgstr ""
  23823. #. type: table
  23824. #: guix-git/doc/guix.texi:16566
  23825. msgid "List of extra command-line options for @command{guix-daemon}."
  23826. msgstr ""
  23827. #. type: item
  23828. #: guix-git/doc/guix.texi:16567
  23829. #, no-wrap
  23830. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  23831. msgstr ""
  23832. #. type: table
  23833. #: guix-git/doc/guix.texi:16570
  23834. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  23835. msgstr ""
  23836. #. type: cindex
  23837. #: guix-git/doc/guix.texi:16571
  23838. #, no-wrap
  23839. msgid "HTTP proxy, for @code{guix-daemon}"
  23840. msgstr ""
  23841. #. type: cindex
  23842. #: guix-git/doc/guix.texi:16572
  23843. #, no-wrap
  23844. msgid "proxy, for @code{guix-daemon} HTTP access"
  23845. msgstr ""
  23846. #. type: item
  23847. #: guix-git/doc/guix.texi:16573
  23848. #, no-wrap
  23849. msgid "@code{http-proxy} (default: @code{#f})"
  23850. msgstr ""
  23851. #. type: table
  23852. #: guix-git/doc/guix.texi:16576
  23853. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  23854. msgstr ""
  23855. #. type: table
  23856. #: guix-git/doc/guix.texi:16579
  23857. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  23858. msgstr ""
  23859. #. type: example
  23860. #: guix-git/doc/guix.texi:16582
  23861. #, no-wrap
  23862. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  23863. msgstr ""
  23864. #. type: table
  23865. #: guix-git/doc/guix.texi:16585
  23866. msgid "To clear the proxy settings, run:"
  23867. msgstr ""
  23868. #. type: example
  23869. #: guix-git/doc/guix.texi:16588
  23870. #, no-wrap
  23871. msgid "herd set-http-proxy guix-daemon\n"
  23872. msgstr ""
  23873. #. type: item
  23874. #: guix-git/doc/guix.texi:16590
  23875. #, no-wrap
  23876. msgid "@code{tmpdir} (default: @code{#f})"
  23877. msgstr ""
  23878. #. type: table
  23879. #: guix-git/doc/guix.texi:16592
  23880. msgid "A directory path where the @command{guix-daemon} will perform builds."
  23881. msgstr ""
  23882. #. type: deffn
  23883. #: guix-git/doc/guix.texi:16596
  23884. #, no-wrap
  23885. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  23886. msgstr ""
  23887. #. type: deffn
  23888. #: guix-git/doc/guix.texi:16602
  23889. 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."
  23890. msgstr ""
  23891. #. type: deffn
  23892. #: guix-git/doc/guix.texi:16605
  23893. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  23894. msgstr ""
  23895. #. type: deffn
  23896. #: guix-git/doc/guix.texi:16607
  23897. #, no-wrap
  23898. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  23899. msgstr ""
  23900. #. type: deffn
  23901. #: guix-git/doc/guix.texi:16610
  23902. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  23903. msgstr ""
  23904. #. type: deffn
  23905. #: guix-git/doc/guix.texi:16614
  23906. 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."
  23907. msgstr ""
  23908. #. type: lisp
  23909. #: guix-git/doc/guix.texi:16622
  23910. #, no-wrap
  23911. msgid ""
  23912. "(define %example-udev-rule\n"
  23913. " (udev-rule\n"
  23914. " \"90-usb-thing.rules\"\n"
  23915. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  23916. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  23917. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  23918. msgstr ""
  23919. #. type: deffn
  23920. #: guix-git/doc/guix.texi:16625
  23921. #, no-wrap
  23922. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  23923. msgstr ""
  23924. #. type: deffn
  23925. #: guix-git/doc/guix.texi:16632
  23926. 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."
  23927. msgstr ""
  23928. #. type: deffn
  23929. #: guix-git/doc/guix.texi:16635
  23930. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  23931. msgstr ""
  23932. #. type: lisp
  23933. #: guix-git/doc/guix.texi:16642
  23934. #, no-wrap
  23935. msgid ""
  23936. "(operating-system\n"
  23937. " ;; @dots{}\n"
  23938. " (services\n"
  23939. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  23940. " %desktop-services)))\n"
  23941. msgstr ""
  23942. #. type: deffn
  23943. #: guix-git/doc/guix.texi:16645
  23944. #, no-wrap
  23945. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  23946. msgstr ""
  23947. #. type: deffn
  23948. #: guix-git/doc/guix.texi:16648
  23949. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  23950. msgstr ""
  23951. #. type: deffn
  23952. #: guix-git/doc/guix.texi:16650
  23953. msgid "The following example showcases how we can use an existing rule file."
  23954. msgstr ""
  23955. #. type: lisp
  23956. #: guix-git/doc/guix.texi:16655
  23957. #, no-wrap
  23958. msgid ""
  23959. "(use-modules (guix download) ;for url-fetch\n"
  23960. " (guix packages) ;for origin\n"
  23961. " @dots{})\n"
  23962. "\n"
  23963. msgstr ""
  23964. #. type: lisp
  23965. #: guix-git/doc/guix.texi:16666
  23966. #, no-wrap
  23967. msgid ""
  23968. "(define %android-udev-rules\n"
  23969. " (file->udev-rule\n"
  23970. " \"51-android-udev.rules\"\n"
  23971. " (let ((version \"20170910\"))\n"
  23972. " (origin\n"
  23973. " (method url-fetch)\n"
  23974. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  23975. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  23976. " (sha256\n"
  23977. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  23978. msgstr ""
  23979. #. type: Plain text
  23980. #: guix-git/doc/guix.texi:16675
  23981. 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."
  23982. msgstr ""
  23983. #. type: Plain text
  23984. #: guix-git/doc/guix.texi:16684
  23985. 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."
  23986. msgstr ""
  23987. #. type: lisp
  23988. #: guix-git/doc/guix.texi:16689
  23989. #, no-wrap
  23990. msgid ""
  23991. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  23992. " (gnu system shadow) ;for user-group\n"
  23993. " @dots{})\n"
  23994. "\n"
  23995. msgstr ""
  23996. #. type: lisp
  23997. #: guix-git/doc/guix.texi:16702
  23998. #, no-wrap
  23999. msgid ""
  24000. "(operating-system\n"
  24001. " ;; @dots{}\n"
  24002. " (users (cons (user-account\n"
  24003. " ;; @dots{}\n"
  24004. " (supplementary-groups\n"
  24005. " '(\"adbusers\" ;for adb\n"
  24006. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  24007. " ;; @dots{}\n"
  24008. " (services\n"
  24009. " (cons (udev-rules-service 'android android-udev-rules\n"
  24010. " #:groups '(\"adbusers\"))\n"
  24011. " %desktop-services)))\n"
  24012. msgstr ""
  24013. #. type: defvr
  24014. #: guix-git/doc/guix.texi:16704
  24015. #, no-wrap
  24016. msgid "{Scheme Variable} urandom-seed-service-type"
  24017. msgstr ""
  24018. #. type: defvr
  24019. #: guix-git/doc/guix.texi:16709
  24020. 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."
  24021. msgstr ""
  24022. #. type: defvr
  24023. #: guix-git/doc/guix.texi:16711
  24024. #, no-wrap
  24025. msgid "{Scheme Variable} %random-seed-file"
  24026. msgstr ""
  24027. #. type: defvr
  24028. #: guix-git/doc/guix.texi:16715
  24029. 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}."
  24030. msgstr ""
  24031. #. type: cindex
  24032. #: guix-git/doc/guix.texi:16717
  24033. #, no-wrap
  24034. msgid "mouse"
  24035. msgstr ""
  24036. #. type: cindex
  24037. #: guix-git/doc/guix.texi:16718
  24038. #, no-wrap
  24039. msgid "gpm"
  24040. msgstr ""
  24041. #. type: defvr
  24042. #: guix-git/doc/guix.texi:16719
  24043. #, no-wrap
  24044. msgid "{Scheme Variable} gpm-service-type"
  24045. msgstr ""
  24046. #. type: defvr
  24047. #: guix-git/doc/guix.texi:16724
  24048. 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."
  24049. msgstr ""
  24050. #. type: defvr
  24051. #: guix-git/doc/guix.texi:16727
  24052. 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}."
  24053. msgstr ""
  24054. #. type: deftp
  24055. #: guix-git/doc/guix.texi:16729
  24056. #, no-wrap
  24057. msgid "{Data Type} gpm-configuration"
  24058. msgstr ""
  24059. #. type: deftp
  24060. #: guix-git/doc/guix.texi:16731
  24061. msgid "Data type representing the configuration of GPM."
  24062. msgstr ""
  24063. #. type: item
  24064. #: guix-git/doc/guix.texi:16733
  24065. #, no-wrap
  24066. msgid "@code{options} (default: @code{%default-gpm-options})"
  24067. msgstr ""
  24068. #. type: table
  24069. #: guix-git/doc/guix.texi:16738
  24070. 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."
  24071. msgstr ""
  24072. #. type: item
  24073. #: guix-git/doc/guix.texi:16739
  24074. #, no-wrap
  24075. msgid "@code{gpm} (default: @code{gpm})"
  24076. msgstr ""
  24077. #. type: table
  24078. #: guix-git/doc/guix.texi:16741
  24079. msgid "The GPM package to use."
  24080. msgstr ""
  24081. #. type: anchor{#1}
  24082. #: guix-git/doc/guix.texi:16746
  24083. msgid "guix-publish-service-type"
  24084. msgstr ""
  24085. #. type: deffn
  24086. #: guix-git/doc/guix.texi:16746
  24087. #, no-wrap
  24088. msgid "{Scheme Variable} guix-publish-service-type"
  24089. msgstr ""
  24090. #. type: deffn
  24091. #: guix-git/doc/guix.texi:16750
  24092. 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."
  24093. msgstr ""
  24094. #. type: deffn
  24095. #: guix-git/doc/guix.texi:16754
  24096. 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."
  24097. msgstr ""
  24098. #. type: deftp
  24099. #: guix-git/doc/guix.texi:16756
  24100. #, no-wrap
  24101. msgid "{Data Type} guix-publish-configuration"
  24102. msgstr ""
  24103. #. type: deftp
  24104. #: guix-git/doc/guix.texi:16759
  24105. msgid "Data type representing the configuration of the @code{guix publish} service."
  24106. msgstr ""
  24107. #. type: item
  24108. #: guix-git/doc/guix.texi:16761
  24109. #, no-wrap
  24110. msgid "@code{guix} (default: @code{guix})"
  24111. msgstr ""
  24112. #. type: item
  24113. #: guix-git/doc/guix.texi:16764 guix-git/doc/guix.texi:31477
  24114. #, no-wrap
  24115. msgid "@code{port} (default: @code{80})"
  24116. msgstr ""
  24117. #. type: table
  24118. #: guix-git/doc/guix.texi:16766
  24119. msgid "The TCP port to listen for connections."
  24120. msgstr ""
  24121. #. type: item
  24122. #: guix-git/doc/guix.texi:16767 guix-git/doc/guix.texi:29054
  24123. #: guix-git/doc/guix.texi:32858
  24124. #, no-wrap
  24125. msgid "@code{host} (default: @code{\"localhost\"})"
  24126. msgstr ""
  24127. #. type: table
  24128. #: guix-git/doc/guix.texi:16770
  24129. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  24130. msgstr ""
  24131. #. type: item
  24132. #: guix-git/doc/guix.texi:16771
  24133. #, no-wrap
  24134. msgid "@code{advertise?} (default: @code{#f})"
  24135. msgstr ""
  24136. #. type: table
  24137. #: guix-git/doc/guix.texi:16774
  24138. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  24139. msgstr ""
  24140. #. type: table
  24141. #: guix-git/doc/guix.texi:16778
  24142. 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."
  24143. msgstr ""
  24144. #. type: item
  24145. #: guix-git/doc/guix.texi:16779
  24146. #, no-wrap
  24147. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  24148. msgstr ""
  24149. #. type: table
  24150. #: guix-git/doc/guix.texi:16783
  24151. 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:"
  24152. msgstr ""
  24153. #. type: lisp
  24154. #: guix-git/doc/guix.texi:16786
  24155. #, no-wrap
  24156. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  24157. msgstr ""
  24158. #. type: table
  24159. #: guix-git/doc/guix.texi:16792
  24160. 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."
  24161. msgstr ""
  24162. #. type: table
  24163. #: guix-git/doc/guix.texi:16794
  24164. msgid "An empty list disables compression altogether."
  24165. msgstr ""
  24166. #. type: item
  24167. #: guix-git/doc/guix.texi:16795
  24168. #, no-wrap
  24169. msgid "@code{nar-path} (default: @code{\"nar\"})"
  24170. msgstr ""
  24171. #. type: table
  24172. #: guix-git/doc/guix.texi:16798
  24173. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  24174. msgstr ""
  24175. #. type: item
  24176. #: guix-git/doc/guix.texi:16799
  24177. #, no-wrap
  24178. msgid "@code{cache} (default: @code{#f})"
  24179. msgstr ""
  24180. #. type: table
  24181. #: guix-git/doc/guix.texi:16805
  24182. 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."
  24183. msgstr ""
  24184. #. type: item
  24185. #: guix-git/doc/guix.texi:16806
  24186. #, no-wrap
  24187. msgid "@code{workers} (default: @code{#f})"
  24188. msgstr ""
  24189. #. type: table
  24190. #: guix-git/doc/guix.texi:16810
  24191. 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."
  24192. msgstr ""
  24193. #. type: item
  24194. #: guix-git/doc/guix.texi:16811
  24195. #, no-wrap
  24196. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  24197. msgstr ""
  24198. #. type: table
  24199. #: guix-git/doc/guix.texi:16816
  24200. 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."
  24201. msgstr ""
  24202. #. type: item
  24203. #: guix-git/doc/guix.texi:16817
  24204. #, no-wrap
  24205. msgid "@code{ttl} (default: @code{#f})"
  24206. msgstr ""
  24207. #. type: table
  24208. #: guix-git/doc/guix.texi:16821
  24209. 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."
  24210. msgstr ""
  24211. #. type: anchor{#1}
  24212. #: guix-git/doc/guix.texi:16825
  24213. msgid "rngd-service"
  24214. msgstr ""
  24215. #. type: deffn
  24216. #: guix-git/doc/guix.texi:16825
  24217. #, no-wrap
  24218. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  24219. msgstr ""
  24220. #. type: deffn
  24221. #: guix-git/doc/guix.texi:16830
  24222. 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."
  24223. msgstr ""
  24224. #. type: anchor{#1}
  24225. #: guix-git/doc/guix.texi:16833
  24226. msgid "pam-limits-service"
  24227. msgstr ""
  24228. #. type: cindex
  24229. #: guix-git/doc/guix.texi:16833
  24230. #, no-wrap
  24231. msgid "session limits"
  24232. msgstr ""
  24233. #. type: cindex
  24234. #: guix-git/doc/guix.texi:16834
  24235. #, no-wrap
  24236. msgid "ulimit"
  24237. msgstr ""
  24238. #. type: cindex
  24239. #: guix-git/doc/guix.texi:16835
  24240. #, no-wrap
  24241. msgid "priority"
  24242. msgstr ""
  24243. #. type: cindex
  24244. #: guix-git/doc/guix.texi:16836
  24245. #, no-wrap
  24246. msgid "realtime"
  24247. msgstr ""
  24248. #. type: cindex
  24249. #: guix-git/doc/guix.texi:16837
  24250. #, no-wrap
  24251. msgid "jackd"
  24252. msgstr ""
  24253. #. type: cindex
  24254. #: guix-git/doc/guix.texi:16838
  24255. #, no-wrap
  24256. msgid "nofile"
  24257. msgstr ""
  24258. #. type: cindex
  24259. #: guix-git/doc/guix.texi:16839
  24260. #, no-wrap
  24261. msgid "open file descriptors"
  24262. msgstr ""
  24263. #. type: deffn
  24264. #: guix-git/doc/guix.texi:16840
  24265. #, no-wrap
  24266. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  24267. msgstr ""
  24268. #. type: deffn
  24269. #: guix-git/doc/guix.texi:16847
  24270. 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."
  24271. msgstr ""
  24272. #. type: deffn
  24273. #: guix-git/doc/guix.texi:16850
  24274. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  24275. msgstr ""
  24276. #. type: lisp
  24277. #: guix-git/doc/guix.texi:16856
  24278. #, no-wrap
  24279. msgid ""
  24280. "(pam-limits-service\n"
  24281. " (list\n"
  24282. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  24283. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  24284. msgstr ""
  24285. #. type: deffn
  24286. #: guix-git/doc/guix.texi:16862
  24287. 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."
  24288. msgstr ""
  24289. #. type: deffn
  24290. #: guix-git/doc/guix.texi:16865
  24291. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  24292. msgstr ""
  24293. #. type: lisp
  24294. #: guix-git/doc/guix.texi:16870
  24295. #, no-wrap
  24296. msgid ""
  24297. "(pam-limits-service\n"
  24298. " (list\n"
  24299. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  24300. msgstr ""
  24301. #. type: deffn
  24302. #: guix-git/doc/guix.texi:16878
  24303. 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."
  24304. msgstr ""
  24305. #. type: cindex
  24306. #: guix-git/doc/guix.texi:16883 guix-git/doc/guix.texi:37407
  24307. #, no-wrap
  24308. msgid "cron"
  24309. msgstr ""
  24310. #. type: cindex
  24311. #: guix-git/doc/guix.texi:16884 guix-git/doc/guix.texi:37408
  24312. #, no-wrap
  24313. msgid "mcron"
  24314. msgstr ""
  24315. #. type: cindex
  24316. #: guix-git/doc/guix.texi:16885 guix-git/doc/guix.texi:37409
  24317. #, no-wrap
  24318. msgid "scheduling jobs"
  24319. msgstr ""
  24320. #. type: Plain text
  24321. #: guix-git/doc/guix.texi:16892
  24322. 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."
  24323. msgstr ""
  24324. #. type: Plain text
  24325. #: guix-git/doc/guix.texi:16900
  24326. 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})."
  24327. msgstr ""
  24328. #. type: lisp
  24329. #: guix-git/doc/guix.texi:16904
  24330. #, no-wrap
  24331. msgid ""
  24332. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  24333. "(use-package-modules base idutils)\n"
  24334. "\n"
  24335. msgstr ""
  24336. #. type: lisp
  24337. #: guix-git/doc/guix.texi:16914
  24338. #, no-wrap
  24339. msgid ""
  24340. "(define updatedb-job\n"
  24341. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  24342. " ;; job's action as a Scheme procedure.\n"
  24343. " #~(job '(next-hour '(3))\n"
  24344. " (lambda ()\n"
  24345. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  24346. " \"updatedb\"\n"
  24347. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  24348. " \"updatedb\"))\n"
  24349. "\n"
  24350. msgstr ""
  24351. #. type: lisp
  24352. #: guix-git/doc/guix.texi:16920
  24353. #, no-wrap
  24354. msgid ""
  24355. "(define garbage-collector-job\n"
  24356. " ;; Collect garbage 5 minutes after midnight every day.\n"
  24357. " ;; The job's action is a shell command.\n"
  24358. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  24359. " \"guix gc -F 1G\"))\n"
  24360. "\n"
  24361. msgstr ""
  24362. #. type: lisp
  24363. #: guix-git/doc/guix.texi:16927
  24364. #, no-wrap
  24365. msgid ""
  24366. "(define idutils-job\n"
  24367. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  24368. " ;; and 19:15PM. This runs from the user's home directory.\n"
  24369. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  24370. " (string-append #$idutils \"/bin/mkid src\")\n"
  24371. " #:user \"charlie\"))\n"
  24372. "\n"
  24373. msgstr ""
  24374. #. type: lisp
  24375. #: guix-git/doc/guix.texi:16930
  24376. #, no-wrap
  24377. msgid ""
  24378. "(operating-system\n"
  24379. " ;; @dots{}\n"
  24380. "\n"
  24381. msgstr ""
  24382. #. type: lisp
  24383. #: guix-git/doc/guix.texi:16940
  24384. #, no-wrap
  24385. msgid ""
  24386. " ;; %BASE-SERVICES already includes an instance of\n"
  24387. " ;; 'mcron-service-type', which we extend with additional\n"
  24388. " ;; jobs using 'simple-service'.\n"
  24389. " (services (cons (simple-service 'my-cron-jobs\n"
  24390. " mcron-service-type\n"
  24391. " (list garbage-collector-job\n"
  24392. " updatedb-job\n"
  24393. " idutils-job))\n"
  24394. " %base-services)))\n"
  24395. msgstr ""
  24396. #. type: quotation
  24397. #: guix-git/doc/guix.texi:16942
  24398. #, fuzzy, no-wrap
  24399. #| msgid "Top"
  24400. msgid "Tip"
  24401. msgstr "Top"
  24402. #. type: quotation
  24403. #: guix-git/doc/guix.texi:16948
  24404. msgid "When providing the action of a job specification as a procedure, you should provide an explicit name for the job via the optional 3rd argument as done in the @code{updatedb-job} example above. Otherwise, the job would appear as ``Lambda function'' in the output of @command{herd schedule mcron}, which is not nearly descriptive enough!"
  24405. msgstr ""
  24406. #. type: Plain text
  24407. #: guix-git/doc/guix.texi:16955
  24408. 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."
  24409. msgstr ""
  24410. #. type: lisp
  24411. #: guix-git/doc/guix.texi:16971
  24412. #, no-wrap
  24413. msgid ""
  24414. "(define %battery-alert-job\n"
  24415. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  24416. " #~(job\n"
  24417. " '(next-minute (range 0 60 1))\n"
  24418. " #$(program-file\n"
  24419. " \"battery-alert.scm\"\n"
  24420. " (with-imported-modules (source-module-closure\n"
  24421. " '((guix build utils)))\n"
  24422. " #~(begin\n"
  24423. " (use-modules (guix build utils)\n"
  24424. " (ice-9 popen)\n"
  24425. " (ice-9 regex)\n"
  24426. " (ice-9 textual-ports)\n"
  24427. " (srfi srfi-2))\n"
  24428. "\n"
  24429. msgstr ""
  24430. #. type: lisp
  24431. #: guix-git/doc/guix.texi:16973
  24432. #, no-wrap
  24433. msgid ""
  24434. " (define %min-level 20)\n"
  24435. "\n"
  24436. msgstr ""
  24437. #. type: lisp
  24438. #: guix-git/doc/guix.texi:16984
  24439. #, no-wrap
  24440. msgid ""
  24441. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  24442. " (and-let* ((input-pipe (open-pipe*\n"
  24443. " OPEN_READ\n"
  24444. " #$(file-append acpi \"/bin/acpi\")))\n"
  24445. " (output (get-string-all input-pipe))\n"
  24446. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  24447. " (level (string->number (match:substring m 1)))\n"
  24448. " ((< level %min-level)))\n"
  24449. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  24450. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  24451. msgstr ""
  24452. #. type: Plain text
  24453. #: guix-git/doc/guix.texi:16989
  24454. 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."
  24455. msgstr ""
  24456. #. type: Plain text
  24457. #: guix-git/doc/guix.texi:16992
  24458. 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:"
  24459. msgstr ""
  24460. #. type: example
  24461. #: guix-git/doc/guix.texi:16995
  24462. #, no-wrap
  24463. msgid "# herd schedule mcron\n"
  24464. msgstr ""
  24465. #. type: Plain text
  24466. #: guix-git/doc/guix.texi:17000
  24467. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  24468. msgstr ""
  24469. #. type: example
  24470. #: guix-git/doc/guix.texi:17003
  24471. #, no-wrap
  24472. msgid "# herd schedule mcron 10\n"
  24473. msgstr ""
  24474. #. type: defvr
  24475. #: guix-git/doc/guix.texi:17005
  24476. #, no-wrap
  24477. msgid "{Scheme Variable} mcron-service-type"
  24478. msgstr ""
  24479. #. type: defvr
  24480. #: guix-git/doc/guix.texi:17008
  24481. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  24482. msgstr ""
  24483. #. type: defvr
  24484. #: guix-git/doc/guix.texi:17013 guix-git/doc/guix.texi:37428
  24485. msgid "This service type can be the target of a service extension that provides additional job specifications (@pxref{Service Composition}). In other words, it is possible to define services that provide additional mcron jobs to run."
  24486. msgstr ""
  24487. #. type: deftp
  24488. #: guix-git/doc/guix.texi:17015
  24489. #, no-wrap
  24490. msgid "{Data Type} mcron-configuration"
  24491. msgstr ""
  24492. #. type: deftp
  24493. #: guix-git/doc/guix.texi:17017 guix-git/doc/guix.texi:37432
  24494. msgid "Data type representing the configuration of mcron."
  24495. msgstr ""
  24496. #. type: item
  24497. #: guix-git/doc/guix.texi:17019 guix-git/doc/guix.texi:37434
  24498. #, no-wrap
  24499. msgid "@code{mcron} (default: @var{mcron})"
  24500. msgstr ""
  24501. #. type: table
  24502. #: guix-git/doc/guix.texi:17021 guix-git/doc/guix.texi:37436
  24503. msgid "The mcron package to use."
  24504. msgstr ""
  24505. #. type: code{#1}
  24506. #: guix-git/doc/guix.texi:17022 guix-git/doc/guix.texi:17091
  24507. #: guix-git/doc/guix.texi:37437
  24508. #, no-wrap
  24509. msgid "jobs"
  24510. msgstr ""
  24511. #. type: table
  24512. #: guix-git/doc/guix.texi:17026 guix-git/doc/guix.texi:37441
  24513. 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})."
  24514. msgstr ""
  24515. #. type: cindex
  24516. #: guix-git/doc/guix.texi:17033
  24517. #, no-wrap
  24518. msgid "rottlog"
  24519. msgstr ""
  24520. #. type: cindex
  24521. #: guix-git/doc/guix.texi:17034
  24522. #, no-wrap
  24523. msgid "log rotation"
  24524. msgstr ""
  24525. #. type: Plain text
  24526. #: guix-git/doc/guix.texi:17041
  24527. 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})."
  24528. msgstr ""
  24529. #. type: Plain text
  24530. #: guix-git/doc/guix.texi:17047
  24531. 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):"
  24532. msgstr ""
  24533. #. type: lisp
  24534. #: guix-git/doc/guix.texi:17051
  24535. #, no-wrap
  24536. msgid ""
  24537. "(use-modules (guix) (gnu))\n"
  24538. "(use-service-modules admin)\n"
  24539. "\n"
  24540. msgstr ""
  24541. #. type: lisp
  24542. #: guix-git/doc/guix.texi:17055
  24543. #, no-wrap
  24544. msgid ""
  24545. "(define my-log-files\n"
  24546. " ;; Log files that I want to rotate.\n"
  24547. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  24548. "\n"
  24549. msgstr ""
  24550. #. type: lisp
  24551. #: guix-git/doc/guix.texi:17064
  24552. #, no-wrap
  24553. msgid ""
  24554. "(operating-system\n"
  24555. " ;; @dots{}\n"
  24556. " (services (cons (simple-service 'rotate-my-stuff\n"
  24557. " rottlog-service-type\n"
  24558. " (list (log-rotation\n"
  24559. " (frequency 'daily)\n"
  24560. " (files my-log-files))))\n"
  24561. " %base-services)))\n"
  24562. msgstr ""
  24563. #. type: defvr
  24564. #: guix-git/doc/guix.texi:17066
  24565. #, no-wrap
  24566. msgid "{Scheme Variable} rottlog-service-type"
  24567. msgstr ""
  24568. #. type: defvr
  24569. #: guix-git/doc/guix.texi:17069
  24570. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  24571. msgstr ""
  24572. #. type: defvr
  24573. #: guix-git/doc/guix.texi:17072
  24574. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  24575. msgstr ""
  24576. #. type: defvr
  24577. #: guix-git/doc/guix.texi:17075
  24578. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  24579. msgstr ""
  24580. #. type: deftp
  24581. #: guix-git/doc/guix.texi:17077
  24582. #, no-wrap
  24583. msgid "{Data Type} rottlog-configuration"
  24584. msgstr ""
  24585. #. type: deftp
  24586. #: guix-git/doc/guix.texi:17079
  24587. msgid "Data type representing the configuration of rottlog."
  24588. msgstr ""
  24589. #. type: item
  24590. #: guix-git/doc/guix.texi:17081
  24591. #, no-wrap
  24592. msgid "@code{rottlog} (default: @code{rottlog})"
  24593. msgstr ""
  24594. #. type: table
  24595. #: guix-git/doc/guix.texi:17083
  24596. msgid "The Rottlog package to use."
  24597. msgstr ""
  24598. #. type: item
  24599. #: guix-git/doc/guix.texi:17084
  24600. #, no-wrap
  24601. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  24602. msgstr ""
  24603. #. type: table
  24604. #: guix-git/doc/guix.texi:17087
  24605. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  24606. msgstr ""
  24607. #. type: item
  24608. #: guix-git/doc/guix.texi:17088
  24609. #, no-wrap
  24610. msgid "@code{rotations} (default: @code{%default-rotations})"
  24611. msgstr ""
  24612. #. type: table
  24613. #: guix-git/doc/guix.texi:17090
  24614. msgid "A list of @code{log-rotation} objects as defined below."
  24615. msgstr ""
  24616. #. type: table
  24617. #: guix-git/doc/guix.texi:17094
  24618. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  24619. msgstr ""
  24620. #. type: deftp
  24621. #: guix-git/doc/guix.texi:17097
  24622. #, no-wrap
  24623. msgid "{Data Type} log-rotation"
  24624. msgstr ""
  24625. #. type: deftp
  24626. #: guix-git/doc/guix.texi:17099
  24627. msgid "Data type representing the rotation of a group of log files."
  24628. msgstr ""
  24629. #. type: deftp
  24630. #: guix-git/doc/guix.texi:17103
  24631. 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:"
  24632. msgstr ""
  24633. #. type: lisp
  24634. #: guix-git/doc/guix.texi:17112
  24635. #, no-wrap
  24636. msgid ""
  24637. "(log-rotation\n"
  24638. " (frequency 'daily)\n"
  24639. " (files '(\"/var/log/apache/*\"))\n"
  24640. " (options '(\"storedir apache-archives\"\n"
  24641. " \"rotate 6\"\n"
  24642. " \"notifempty\"\n"
  24643. " \"nocompress\")))\n"
  24644. msgstr ""
  24645. #. type: deftp
  24646. #: guix-git/doc/guix.texi:17115
  24647. msgid "The list of fields is as follows:"
  24648. msgstr ""
  24649. #. type: item
  24650. #: guix-git/doc/guix.texi:17117
  24651. #, no-wrap
  24652. msgid "@code{frequency} (default: @code{'weekly})"
  24653. msgstr ""
  24654. #. type: table
  24655. #: guix-git/doc/guix.texi:17119
  24656. msgid "The log rotation frequency, a symbol."
  24657. msgstr ""
  24658. #. type: code{#1}
  24659. #: guix-git/doc/guix.texi:17120
  24660. #, no-wrap
  24661. msgid "files"
  24662. msgstr ""
  24663. #. type: table
  24664. #: guix-git/doc/guix.texi:17122
  24665. msgid "The list of files or file glob patterns to rotate."
  24666. msgstr ""
  24667. #. type: item
  24668. #: guix-git/doc/guix.texi:17123
  24669. #, no-wrap
  24670. msgid "@code{options} (default: @code{'()})"
  24671. msgstr ""
  24672. #. type: table
  24673. #: guix-git/doc/guix.texi:17126
  24674. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  24675. msgstr ""
  24676. #. type: item
  24677. #: guix-git/doc/guix.texi:17127
  24678. #, no-wrap
  24679. msgid "@code{post-rotate} (default: @code{#f})"
  24680. msgstr ""
  24681. #. type: table
  24682. #: guix-git/doc/guix.texi:17129
  24683. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  24684. msgstr ""
  24685. #. type: defvr
  24686. #: guix-git/doc/guix.texi:17132
  24687. #, no-wrap
  24688. msgid "{Scheme Variable} %default-rotations"
  24689. msgstr ""
  24690. #. type: defvr
  24691. #: guix-git/doc/guix.texi:17135
  24692. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  24693. msgstr ""
  24694. #. type: defvr
  24695. #: guix-git/doc/guix.texi:17137
  24696. #, no-wrap
  24697. msgid "{Scheme Variable} %rotated-files"
  24698. msgstr ""
  24699. #. type: defvr
  24700. #: guix-git/doc/guix.texi:17141
  24701. 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\")}."
  24702. msgstr ""
  24703. #. type: Plain text
  24704. #: guix-git/doc/guix.texi:17154
  24705. msgid "The @code{(gnu services networking)} module provides services to configure network interfaces and set up networking on your machine. Those services provide different ways for you to set up your machine: by declaring a static network configuration, by running a Dynamic Host Configuration Protocol (DHCP) client, or by running daemons such as NetworkManager and Connman that automate the whole process, automatically adapt to connectivity changes, and provide a high-level user interface."
  24706. msgstr ""
  24707. #. type: Plain text
  24708. #: guix-git/doc/guix.texi:17160
  24709. msgid "On a laptop, NetworkManager and Connman are by far the most convenient options, which is why the default desktop services include NetworkManager (@pxref{Desktop Services, @code{%desktop-services}}). For a server, or for a virtual machine or a container, static network configuration or a simple DHCP client are often more appropriate."
  24710. msgstr ""
  24711. #. type: Plain text
  24712. #: guix-git/doc/guix.texi:17163
  24713. msgid "This section describes the various network setup services available, starting with static network configuration."
  24714. msgstr ""
  24715. #. type: defvr
  24716. #: guix-git/doc/guix.texi:17164
  24717. #, no-wrap
  24718. msgid "{Scheme Variable} static-networking-service-type"
  24719. msgstr ""
  24720. #. type: defvr
  24721. #: guix-git/doc/guix.texi:17169
  24722. msgid "This is the type for statically-configured network interfaces. Its value must be a list of @code{static-networking} records. Each of them declares a set of @dfn{addresses}, @dfn{routes}, and @dfn{links}, as show below."
  24723. msgstr ""
  24724. #. type: cindex
  24725. #: guix-git/doc/guix.texi:17170
  24726. #, no-wrap
  24727. msgid "network interface controller (NIC)"
  24728. msgstr ""
  24729. #. type: cindex
  24730. #: guix-git/doc/guix.texi:17171
  24731. #, no-wrap
  24732. msgid "NIC, networking interface controller"
  24733. msgstr ""
  24734. #. type: defvr
  24735. #: guix-git/doc/guix.texi:17174
  24736. msgid "Here is the simplest configuration, with only one network interface controller (NIC) and only IPv4 connectivity:"
  24737. msgstr ""
  24738. #. type: lisp
  24739. #: guix-git/doc/guix.texi:17188
  24740. #, no-wrap
  24741. msgid ""
  24742. ";; Static networking for one NIC, IPv4-only.\n"
  24743. "(service static-networking-service-type\n"
  24744. " (list (static-networking\n"
  24745. " (addresses\n"
  24746. " (list (network-address\n"
  24747. " (device \"eno1\")\n"
  24748. " (value \"10.0.2.15/24\"))))\n"
  24749. " (routes\n"
  24750. " (list (network-route\n"
  24751. " (destination \"default\")\n"
  24752. " (gateway \"10.0.2.2\"))))\n"
  24753. " (name-servers '(\"10.0.2.3\")))))\n"
  24754. msgstr ""
  24755. #. type: defvr
  24756. #: guix-git/doc/guix.texi:17197
  24757. msgid "The snippet above can be added to the @code{services} field of your operating system configuration (@pxref{Using the Configuration System}). It will configure your machine to have 10.0.2.15 as its IP address, with a 24-bit netmask for the local network---meaning that any 10.0.2.@var{x} address is on the local area network (LAN). Traffic to addresses outside the local network is routed @i{via} 10.0.2.2. Host names are resolved by sending domain name system (DNS) queries to 10.0.2.3."
  24758. msgstr ""
  24759. #. type: deftp
  24760. #: guix-git/doc/guix.texi:17199
  24761. #, fuzzy, no-wrap
  24762. #| msgid "System Configuration"
  24763. msgid "{Data Type} static-networking"
  24764. msgstr "Nastavenie systému"
  24765. #. type: deftp
  24766. #: guix-git/doc/guix.texi:17201
  24767. msgid "This is the data type representing a static network configuration."
  24768. msgstr ""
  24769. #. type: deftp
  24770. #: guix-git/doc/guix.texi:17205
  24771. msgid "As an example, here is how you would declare the configuration of a machine with a single network interface controller (NIC) available as @code{eno1}, and with one IPv4 and one IPv6 address:"
  24772. msgstr ""
  24773. #. type: lisp
  24774. #: guix-git/doc/guix.texi:17222
  24775. #, no-wrap
  24776. msgid ""
  24777. ";; Network configuration for one NIC, IPv4 + IPv6.\n"
  24778. "(static-networking\n"
  24779. " (addresses (list (network-address\n"
  24780. " (device \"eno1\")\n"
  24781. " (value \"10.0.2.15/24\"))\n"
  24782. " (network-address\n"
  24783. " (device \"eno1\")\n"
  24784. " (value \"2001:123:4567:101::1/64\"))))\n"
  24785. " (routes (list (network-route\n"
  24786. " (destination \"default\")\n"
  24787. " (gateway \"10.0.2.2\"))\n"
  24788. " (network-route\n"
  24789. " (destination \"default\")\n"
  24790. " (gateway \"2020:321:4567:42::1\"))))\n"
  24791. " (name-servers '(\"10.0.2.3\")))\n"
  24792. msgstr ""
  24793. #. type: deftp
  24794. #: guix-git/doc/guix.texi:17228
  24795. msgid "If you are familiar with the @command{ip} command of the @uref{https://wiki.linuxfoundation.org/networking/iproute2, @code{iproute2} package} found on Linux-based systems, the declaration above is equivalent to typing:"
  24796. msgstr ""
  24797. #. type: example
  24798. #: guix-git/doc/guix.texi:17234
  24799. #, no-wrap
  24800. msgid ""
  24801. "ip address add 10.0.2.15/24 dev eno1\n"
  24802. "ip address add 2001:123:4567:101::1/64 dev eno1\n"
  24803. "ip route add default via inet 10.0.2.2\n"
  24804. "ip route add default via inet6 2020:321:4567:42::1\n"
  24805. msgstr ""
  24806. #. type: deftp
  24807. #: guix-git/doc/guix.texi:17239
  24808. msgid "Run @command{man 8 ip} for more info. Venerable GNU/Linux users will certainly know how to do it with @command{ifconfig} and @command{route}, but we'll spare you that."
  24809. msgstr ""
  24810. #. type: deftp
  24811. #: guix-git/doc/guix.texi:17241
  24812. msgid "The available fields of this data type are as follows:"
  24813. msgstr ""
  24814. #. type: code{#1}
  24815. #: guix-git/doc/guix.texi:17243
  24816. #, no-wrap
  24817. msgid "addresses"
  24818. msgstr ""
  24819. #. type: itemx
  24820. #: guix-git/doc/guix.texi:17244
  24821. #, no-wrap
  24822. msgid "@code{links} (default: @code{'()})"
  24823. msgstr ""
  24824. #. type: itemx
  24825. #: guix-git/doc/guix.texi:17245
  24826. #, no-wrap
  24827. msgid "@code{routes} (default: @code{'()})"
  24828. msgstr ""
  24829. #. type: table
  24830. #: guix-git/doc/guix.texi:17248
  24831. msgid "The list of @code{network-address}, @code{network-link}, and @code{network-route} records for this network (see below)."
  24832. msgstr ""
  24833. #. type: item
  24834. #: guix-git/doc/guix.texi:17249
  24835. #, no-wrap
  24836. msgid "@code{name-servers} (default: @code{'()})"
  24837. msgstr ""
  24838. #. type: table
  24839. #: guix-git/doc/guix.texi:17252
  24840. msgid "The list of IP addresses (strings) of domain name servers. These IP addresses go to @file{/etc/resolv.conf}."
  24841. msgstr ""
  24842. #. type: item
  24843. #: guix-git/doc/guix.texi:17253
  24844. #, no-wrap
  24845. msgid "@code{provision} (default: @code{'(networking)})"
  24846. msgstr ""
  24847. #. type: table
  24848. #: guix-git/doc/guix.texi:17256
  24849. msgid "If true, this should be a list of symbols for the Shepherd service corresponding to this network configuration."
  24850. msgstr ""
  24851. #. type: item
  24852. #: guix-git/doc/guix.texi:17257
  24853. #, no-wrap
  24854. msgid "@code{requirement} (default @code{'()})"
  24855. msgstr ""
  24856. #. type: table
  24857. #: guix-git/doc/guix.texi:17259
  24858. msgid "The list of Shepherd services depended on."
  24859. msgstr ""
  24860. #. type: deftp
  24861. #: guix-git/doc/guix.texi:17262
  24862. #, no-wrap
  24863. msgid "{Data Type} network-address"
  24864. msgstr ""
  24865. #. type: deftp
  24866. #: guix-git/doc/guix.texi:17265
  24867. msgid "This is the data type representing the IP address of a network interface."
  24868. msgstr ""
  24869. #. type: table
  24870. #: guix-git/doc/guix.texi:17270
  24871. msgid "The name of the network interface for this address---e.g., @code{\"eno1\"}."
  24872. msgstr ""
  24873. #. type: item
  24874. #: guix-git/doc/guix.texi:17271
  24875. #, no-wrap
  24876. msgid "value"
  24877. msgstr ""
  24878. #. type: table
  24879. #: guix-git/doc/guix.texi:17275
  24880. msgid "The actual IP address and network mask, in @uref{https://en.wikipedia.org/wiki/CIDR#CIDR_notation, @acronym{CIDR, Classless Inter-Domain Routing} notation}, as a string."
  24881. msgstr ""
  24882. #. type: table
  24883. #: guix-git/doc/guix.texi:17279
  24884. msgid "For example, @code{\"10.0.2.15/24\"} denotes IPv4 address 10.0.2.15 on a 24-bit sub-network---all 10.0.2.@var{x} addresses are on the same local network."
  24885. msgstr ""
  24886. #. type: item
  24887. #: guix-git/doc/guix.texi:17280
  24888. #, no-wrap
  24889. msgid "ipv6?"
  24890. msgstr ""
  24891. #. type: table
  24892. #: guix-git/doc/guix.texi:17283
  24893. msgid "Whether @code{value} denotes an IPv6 address. By default this is automatically determined."
  24894. msgstr ""
  24895. #. type: deftp
  24896. #: guix-git/doc/guix.texi:17286
  24897. #, no-wrap
  24898. msgid "{Data Type} network-route"
  24899. msgstr ""
  24900. #. type: deftp
  24901. #: guix-git/doc/guix.texi:17288
  24902. msgid "This is the data type representing a network route."
  24903. msgstr ""
  24904. #. type: code{#1}
  24905. #: guix-git/doc/guix.texi:17290
  24906. #, fuzzy, no-wrap
  24907. #| msgid "description"
  24908. msgid "destination"
  24909. msgstr "description"
  24910. #. type: table
  24911. #: guix-git/doc/guix.texi:17293
  24912. msgid "The route destination (a string), either an IP address or @code{\"default\"} to denote the default route."
  24913. msgstr ""
  24914. #. type: item
  24915. #: guix-git/doc/guix.texi:17294
  24916. #, no-wrap
  24917. msgid "@code{source} (default: @code{#f})"
  24918. msgstr ""
  24919. #. type: table
  24920. #: guix-git/doc/guix.texi:17296
  24921. msgid "The route source."
  24922. msgstr ""
  24923. #. type: item
  24924. #: guix-git/doc/guix.texi:17297 guix-git/doc/guix.texi:34761
  24925. #, no-wrap
  24926. msgid "@code{device} (default: @code{#f})"
  24927. msgstr ""
  24928. #. type: table
  24929. #: guix-git/doc/guix.texi:17299
  24930. msgid "The device used for this route---e.g., @code{\"eno2\"}."
  24931. msgstr ""
  24932. #. type: item
  24933. #: guix-git/doc/guix.texi:17300
  24934. #, no-wrap
  24935. msgid "@code{ipv6?} (default: auto)"
  24936. msgstr ""
  24937. #. type: table
  24938. #: guix-git/doc/guix.texi:17303
  24939. msgid "Whether this is an IPv6 route. By default this is automatically determined based on @code{destination} or @code{gateway}."
  24940. msgstr ""
  24941. #. type: item
  24942. #: guix-git/doc/guix.texi:17304
  24943. #, no-wrap
  24944. msgid "@code{gateway} (default: @code{#f})"
  24945. msgstr ""
  24946. #. type: table
  24947. #: guix-git/doc/guix.texi:17306
  24948. msgid "IP address (a string) through which traffic is routed."
  24949. msgstr ""
  24950. #. type: deftp
  24951. #: guix-git/doc/guix.texi:17309
  24952. #, fuzzy, no-wrap
  24953. #| msgid "System Configuration"
  24954. msgid "{Data Type} network-link"
  24955. msgstr "Nastavenie systému"
  24956. #. type: deftp
  24957. #: guix-git/doc/guix.texi:17312
  24958. msgid "Data type for a network link (@pxref{Link,,, guile-netlink, Guile-Netlink Manual})."
  24959. msgstr ""
  24960. #. type: table
  24961. #: guix-git/doc/guix.texi:17316
  24962. msgid "The name of the link---e.g., @code{\"v0p0\"}."
  24963. msgstr ""
  24964. #. type: table
  24965. #: guix-git/doc/guix.texi:17319
  24966. msgid "A symbol denoting the type of the link---e.g., @code{'veth}."
  24967. msgstr ""
  24968. #. type: item
  24969. #: guix-git/doc/guix.texi:17320
  24970. #, no-wrap
  24971. msgid "arguments"
  24972. msgstr ""
  24973. #. type: table
  24974. #: guix-git/doc/guix.texi:17322
  24975. msgid "List of arguments for this type of link."
  24976. msgstr ""
  24977. #. type: cindex
  24978. #: guix-git/doc/guix.texi:17325
  24979. #, no-wrap
  24980. msgid "loopback device"
  24981. msgstr ""
  24982. #. type: defvr
  24983. #: guix-git/doc/guix.texi:17326
  24984. #, no-wrap
  24985. msgid "{Scheme Variable} %loopback-static-networking"
  24986. msgstr ""
  24987. #. type: defvr
  24988. #: guix-git/doc/guix.texi:17330
  24989. msgid "This is the @code{static-networking} record representing the ``loopback device'', @code{lo}, for IP addresses 127.0.0.1 and ::1, and providing the @code{loopback} Shepherd service."
  24990. msgstr ""
  24991. #. type: cindex
  24992. #: guix-git/doc/guix.texi:17332
  24993. #, no-wrap
  24994. msgid "networking, with QEMU"
  24995. msgstr ""
  24996. #. type: cindex
  24997. #: guix-git/doc/guix.texi:17333
  24998. #, no-wrap
  24999. msgid "QEMU, networking"
  25000. msgstr ""
  25001. #. type: defvr
  25002. #: guix-git/doc/guix.texi:17334
  25003. #, no-wrap
  25004. msgid "{Scheme Variable} %qemu-static-networking"
  25005. msgstr ""
  25006. #. type: defvr
  25007. #: guix-git/doc/guix.texi:17338
  25008. msgid "This is the @code{static-networking} record representing network setup when using QEMU's user-mode network stack on @code{eth0} (@pxref{Using the user mode network stack,,, QEMU, QEMU Documentation})."
  25009. msgstr ""
  25010. #. type: cindex
  25011. #: guix-git/doc/guix.texi:17340
  25012. #, no-wrap
  25013. msgid "DHCP, networking service"
  25014. msgstr ""
  25015. #. type: defvr
  25016. #: guix-git/doc/guix.texi:17341
  25017. #, no-wrap
  25018. msgid "{Scheme Variable} dhcp-client-service-type"
  25019. msgstr ""
  25020. #. type: defvr
  25021. #: guix-git/doc/guix.texi:17345
  25022. 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."
  25023. msgstr ""
  25024. #. type: cindex
  25025. #: guix-git/doc/guix.texi:17347
  25026. #, no-wrap
  25027. msgid "NetworkManager"
  25028. msgstr ""
  25029. #. type: defvr
  25030. #: guix-git/doc/guix.texi:17349
  25031. #, no-wrap
  25032. msgid "{Scheme Variable} network-manager-service-type"
  25033. msgstr ""
  25034. #. type: defvr
  25035. #: guix-git/doc/guix.texi:17354
  25036. 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."
  25037. msgstr ""
  25038. #. type: defvr
  25039. #: guix-git/doc/guix.texi:17357 guix-git/doc/guix.texi:17509
  25040. #: guix-git/doc/guix.texi:17538
  25041. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  25042. msgstr ""
  25043. #. type: deftp
  25044. #: guix-git/doc/guix.texi:17359
  25045. #, no-wrap
  25046. msgid "{Data Type} network-manager-configuration"
  25047. msgstr ""
  25048. #. type: deftp
  25049. #: guix-git/doc/guix.texi:17361
  25050. msgid "Data type representing the configuration of NetworkManager."
  25051. msgstr ""
  25052. #. type: item
  25053. #: guix-git/doc/guix.texi:17363
  25054. #, no-wrap
  25055. msgid "@code{network-manager} (default: @code{network-manager})"
  25056. msgstr ""
  25057. #. type: table
  25058. #: guix-git/doc/guix.texi:17365
  25059. msgid "The NetworkManager package to use."
  25060. msgstr ""
  25061. #. type: item
  25062. #: guix-git/doc/guix.texi:17366
  25063. #, no-wrap
  25064. msgid "@code{dns} (default: @code{\"default\"})"
  25065. msgstr ""
  25066. #. type: table
  25067. #: guix-git/doc/guix.texi:17369
  25068. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  25069. msgstr ""
  25070. #. type: table
  25071. #: guix-git/doc/guix.texi:17374
  25072. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  25073. msgstr ""
  25074. #. type: item
  25075. #: guix-git/doc/guix.texi:17375
  25076. #, no-wrap
  25077. msgid "dnsmasq"
  25078. msgstr ""
  25079. #. type: table
  25080. #: guix-git/doc/guix.texi:17379
  25081. 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."
  25082. msgstr ""
  25083. #. type: table
  25084. #: guix-git/doc/guix.texi:17385
  25085. 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)."
  25086. msgstr ""
  25087. #. type: table
  25088. #: guix-git/doc/guix.texi:17392
  25089. 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:"
  25090. msgstr ""
  25091. #. type: example
  25092. #: guix-git/doc/guix.texi:17399
  25093. #, no-wrap
  25094. msgid ""
  25095. "nmcli connection add type tun \\\n"
  25096. " connection.interface-name tap0 \\\n"
  25097. " tun.mode tap tun.owner $(id -u) \\\n"
  25098. " ipv4.method shared \\\n"
  25099. " ipv4.addresses 172.28.112.1/24\n"
  25100. msgstr ""
  25101. #. type: table
  25102. #: guix-git/doc/guix.texi:17404
  25103. 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-...}."
  25104. msgstr ""
  25105. #. type: table
  25106. #: guix-git/doc/guix.texi:17407
  25107. msgid "NetworkManager will not modify @code{resolv.conf}."
  25108. msgstr ""
  25109. #. type: item
  25110. #: guix-git/doc/guix.texi:17409
  25111. #, no-wrap
  25112. msgid "@code{vpn-plugins} (default: @code{'()})"
  25113. msgstr ""
  25114. #. type: table
  25115. #: guix-git/doc/guix.texi:17413
  25116. 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."
  25117. msgstr ""
  25118. #. type: cindex
  25119. #: guix-git/doc/guix.texi:17417
  25120. #, no-wrap
  25121. msgid "Connman"
  25122. msgstr ""
  25123. #. type: deffn
  25124. #: guix-git/doc/guix.texi:17418
  25125. #, no-wrap
  25126. msgid "{Scheme Variable} connman-service-type"
  25127. msgstr ""
  25128. #. type: deffn
  25129. #: guix-git/doc/guix.texi:17421
  25130. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  25131. msgstr ""
  25132. #. type: deffn
  25133. #: guix-git/doc/guix.texi:17424
  25134. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  25135. msgstr ""
  25136. #. type: lisp
  25137. #: guix-git/doc/guix.texi:17429
  25138. #, no-wrap
  25139. msgid ""
  25140. "(service connman-service-type\n"
  25141. " (connman-configuration\n"
  25142. " (disable-vpn? #t)))\n"
  25143. msgstr ""
  25144. #. type: deffn
  25145. #: guix-git/doc/guix.texi:17432
  25146. msgid "See below for details about @code{connman-configuration}."
  25147. msgstr ""
  25148. #. type: deftp
  25149. #: guix-git/doc/guix.texi:17434
  25150. #, no-wrap
  25151. msgid "{Data Type} connman-configuration"
  25152. msgstr ""
  25153. #. type: deftp
  25154. #: guix-git/doc/guix.texi:17436
  25155. msgid "Data Type representing the configuration of connman."
  25156. msgstr ""
  25157. #. type: item
  25158. #: guix-git/doc/guix.texi:17438
  25159. #, no-wrap
  25160. msgid "@code{connman} (default: @var{connman})"
  25161. msgstr ""
  25162. #. type: table
  25163. #: guix-git/doc/guix.texi:17440
  25164. msgid "The connman package to use."
  25165. msgstr ""
  25166. #. type: item
  25167. #: guix-git/doc/guix.texi:17441
  25168. #, no-wrap
  25169. msgid "@code{disable-vpn?} (default: @code{#f})"
  25170. msgstr ""
  25171. #. type: table
  25172. #: guix-git/doc/guix.texi:17443
  25173. msgid "When true, disable connman's vpn plugin."
  25174. msgstr ""
  25175. #. type: cindex
  25176. #: guix-git/doc/guix.texi:17446
  25177. #, no-wrap
  25178. msgid "WPA Supplicant"
  25179. msgstr ""
  25180. #. type: defvr
  25181. #: guix-git/doc/guix.texi:17447
  25182. #, no-wrap
  25183. msgid "{Scheme Variable} wpa-supplicant-service-type"
  25184. msgstr ""
  25185. #. type: defvr
  25186. #: guix-git/doc/guix.texi:17451
  25187. 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."
  25188. msgstr ""
  25189. #. type: deftp
  25190. #: guix-git/doc/guix.texi:17453
  25191. #, no-wrap
  25192. msgid "{Data Type} wpa-supplicant-configuration"
  25193. msgstr ""
  25194. #. type: deftp
  25195. #: guix-git/doc/guix.texi:17455
  25196. msgid "Data type representing the configuration of WPA Supplicant."
  25197. msgstr ""
  25198. #. type: deftp
  25199. #: guix-git/doc/guix.texi:17457 guix-git/doc/guix.texi:32945
  25200. msgid "It takes the following parameters:"
  25201. msgstr ""
  25202. #. type: item
  25203. #: guix-git/doc/guix.texi:17459
  25204. #, no-wrap
  25205. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  25206. msgstr ""
  25207. #. type: table
  25208. #: guix-git/doc/guix.texi:17461
  25209. msgid "The WPA Supplicant package to use."
  25210. msgstr ""
  25211. #. type: item
  25212. #: guix-git/doc/guix.texi:17462
  25213. #, no-wrap
  25214. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  25215. msgstr ""
  25216. #. type: table
  25217. #: guix-git/doc/guix.texi:17464
  25218. msgid "List of services that should be started before WPA Supplicant starts."
  25219. msgstr ""
  25220. #. type: item
  25221. #: guix-git/doc/guix.texi:17465
  25222. #, no-wrap
  25223. msgid "@code{dbus?} (default: @code{#t})"
  25224. msgstr ""
  25225. #. type: table
  25226. #: guix-git/doc/guix.texi:17467
  25227. msgid "Whether to listen for requests on D-Bus."
  25228. msgstr ""
  25229. #. type: item
  25230. #: guix-git/doc/guix.texi:17468
  25231. #, no-wrap
  25232. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  25233. msgstr ""
  25234. #. type: table
  25235. #: guix-git/doc/guix.texi:17470
  25236. msgid "Where to store the PID file."
  25237. msgstr ""
  25238. #. type: item
  25239. #: guix-git/doc/guix.texi:17471 guix-git/doc/guix.texi:31246
  25240. #: guix-git/doc/guix.texi:31388
  25241. #, no-wrap
  25242. msgid "@code{interface} (default: @code{#f})"
  25243. msgstr ""
  25244. #. type: table
  25245. #: guix-git/doc/guix.texi:17474
  25246. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  25247. msgstr ""
  25248. #. type: item
  25249. #: guix-git/doc/guix.texi:17475 guix-git/doc/guix.texi:17591
  25250. #: guix-git/doc/guix.texi:22879
  25251. #, no-wrap
  25252. msgid "@code{config-file} (default: @code{#f})"
  25253. msgstr ""
  25254. #. type: table
  25255. #: guix-git/doc/guix.texi:17477
  25256. msgid "Optional configuration file to use."
  25257. msgstr ""
  25258. #. type: table
  25259. #: guix-git/doc/guix.texi:17480
  25260. msgid "List of additional command-line arguments to pass to the daemon."
  25261. msgstr ""
  25262. #. type: cindex
  25263. #: guix-git/doc/guix.texi:17483
  25264. #, no-wrap
  25265. msgid "wicd"
  25266. msgstr ""
  25267. #. type: cindex
  25268. #: guix-git/doc/guix.texi:17486
  25269. #, no-wrap
  25270. msgid "network management"
  25271. msgstr ""
  25272. #. type: deffn
  25273. #: guix-git/doc/guix.texi:17487
  25274. #, no-wrap
  25275. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  25276. msgstr ""
  25277. #. type: deffn
  25278. #: guix-git/doc/guix.texi:17490
  25279. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  25280. msgstr ""
  25281. #. type: deffn
  25282. #: guix-git/doc/guix.texi:17495
  25283. 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."
  25284. msgstr ""
  25285. #. type: cindex
  25286. #: guix-git/doc/guix.texi:17497
  25287. #, no-wrap
  25288. msgid "ModemManager"
  25289. msgstr ""
  25290. #. type: Plain text
  25291. #: guix-git/doc/guix.texi:17500
  25292. msgid "Some networking devices such as modems require special care, and this is what the services below focus on."
  25293. msgstr ""
  25294. #. type: defvr
  25295. #: guix-git/doc/guix.texi:17501
  25296. #, no-wrap
  25297. msgid "{Scheme Variable} modem-manager-service-type"
  25298. msgstr ""
  25299. #. type: defvr
  25300. #: guix-git/doc/guix.texi:17506
  25301. 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."
  25302. msgstr ""
  25303. #. type: deftp
  25304. #: guix-git/doc/guix.texi:17511
  25305. #, no-wrap
  25306. msgid "{Data Type} modem-manager-configuration"
  25307. msgstr ""
  25308. #. type: deftp
  25309. #: guix-git/doc/guix.texi:17513
  25310. msgid "Data type representing the configuration of ModemManager."
  25311. msgstr ""
  25312. #. type: item
  25313. #: guix-git/doc/guix.texi:17515
  25314. #, no-wrap
  25315. msgid "@code{modem-manager} (default: @code{modem-manager})"
  25316. msgstr ""
  25317. #. type: table
  25318. #: guix-git/doc/guix.texi:17517
  25319. msgid "The ModemManager package to use."
  25320. msgstr ""
  25321. #. type: cindex
  25322. #: guix-git/doc/guix.texi:17521
  25323. #, no-wrap
  25324. msgid "USB_ModeSwitch"
  25325. msgstr ""
  25326. #. type: cindex
  25327. #: guix-git/doc/guix.texi:17522
  25328. #, no-wrap
  25329. msgid "Modeswitching"
  25330. msgstr ""
  25331. #. type: defvr
  25332. #: guix-git/doc/guix.texi:17524
  25333. #, no-wrap
  25334. msgid "{Scheme Variable} usb-modeswitch-service-type"
  25335. msgstr ""
  25336. #. type: defvr
  25337. #: guix-git/doc/guix.texi:17529
  25338. 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."
  25339. msgstr ""
  25340. #. type: defvr
  25341. #: guix-git/doc/guix.texi:17535
  25342. 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."
  25343. msgstr ""
  25344. #. type: deftp
  25345. #: guix-git/doc/guix.texi:17540
  25346. #, no-wrap
  25347. msgid "{Data Type} usb-modeswitch-configuration"
  25348. msgstr ""
  25349. #. type: deftp
  25350. #: guix-git/doc/guix.texi:17542
  25351. msgid "Data type representing the configuration of USB_ModeSwitch."
  25352. msgstr ""
  25353. #. type: item
  25354. #: guix-git/doc/guix.texi:17544
  25355. #, no-wrap
  25356. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  25357. msgstr ""
  25358. #. type: table
  25359. #: guix-git/doc/guix.texi:17546
  25360. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  25361. msgstr ""
  25362. #. type: item
  25363. #: guix-git/doc/guix.texi:17547
  25364. #, no-wrap
  25365. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  25366. msgstr ""
  25367. #. type: table
  25368. #: guix-git/doc/guix.texi:17550
  25369. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  25370. msgstr ""
  25371. #. type: item
  25372. #: guix-git/doc/guix.texi:17551
  25373. #, no-wrap
  25374. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  25375. msgstr ""
  25376. #. type: table
  25377. #: guix-git/doc/guix.texi:17556
  25378. 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."
  25379. msgstr ""
  25380. #. type: Plain text
  25381. #: guix-git/doc/guix.texi:17570
  25382. msgid "The @code{(gnu services networking)} module discussed in the previous section provides services for more advanced setups: providing a DHCP service for others to use, filtering packets with iptables or nftables, running a WiFi access point with @command{hostapd}, running the @command{inetd} ``superdaemon'', and more. This section describes those."
  25383. msgstr ""
  25384. #. type: deffn
  25385. #: guix-git/doc/guix.texi:17571
  25386. #, no-wrap
  25387. msgid "{Scheme Procedure} dhcpd-service-type"
  25388. msgstr ""
  25389. #. type: deffn
  25390. #: guix-git/doc/guix.texi:17575
  25391. 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:"
  25392. msgstr ""
  25393. #. type: lisp
  25394. #: guix-git/doc/guix.texi:17581
  25395. #, no-wrap
  25396. msgid ""
  25397. "(service dhcpd-service-type\n"
  25398. " (dhcpd-configuration\n"
  25399. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  25400. " (interfaces '(\"enp0s25\"))))\n"
  25401. msgstr ""
  25402. #. type: deftp
  25403. #: guix-git/doc/guix.texi:17584
  25404. #, no-wrap
  25405. msgid "{Data Type} dhcpd-configuration"
  25406. msgstr ""
  25407. #. type: item
  25408. #: guix-git/doc/guix.texi:17586
  25409. #, no-wrap
  25410. msgid "@code{package} (default: @code{isc-dhcp})"
  25411. msgstr ""
  25412. #. type: table
  25413. #: guix-git/doc/guix.texi:17591
  25414. 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}."
  25415. msgstr ""
  25416. #. type: table
  25417. #: guix-git/doc/guix.texi:17596
  25418. 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."
  25419. msgstr ""
  25420. #. type: item
  25421. #: guix-git/doc/guix.texi:17596
  25422. #, no-wrap
  25423. msgid "@code{version} (default: @code{\"4\"})"
  25424. msgstr ""
  25425. #. type: table
  25426. #: guix-git/doc/guix.texi:17601
  25427. 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."
  25428. msgstr ""
  25429. #. type: item
  25430. #: guix-git/doc/guix.texi:17601
  25431. #, no-wrap
  25432. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  25433. msgstr ""
  25434. #. type: table
  25435. #: guix-git/doc/guix.texi:17604
  25436. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  25437. msgstr ""
  25438. #. type: item
  25439. #: guix-git/doc/guix.texi:17604
  25440. #, no-wrap
  25441. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  25442. msgstr ""
  25443. #. type: table
  25444. #: guix-git/doc/guix.texi:17607
  25445. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  25446. msgstr ""
  25447. #. type: item
  25448. #: guix-git/doc/guix.texi:17607
  25449. #, no-wrap
  25450. msgid "@code{interfaces} (default: @code{'()})"
  25451. msgstr ""
  25452. #. type: table
  25453. #: guix-git/doc/guix.texi:17613
  25454. 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."
  25455. msgstr ""
  25456. #. type: cindex
  25457. #: guix-git/doc/guix.texi:17616
  25458. #, no-wrap
  25459. msgid "hostapd service, for Wi-Fi access points"
  25460. msgstr ""
  25461. #. type: cindex
  25462. #: guix-git/doc/guix.texi:17617
  25463. #, no-wrap
  25464. msgid "Wi-Fi access points, hostapd service"
  25465. msgstr ""
  25466. #. type: defvr
  25467. #: guix-git/doc/guix.texi:17618
  25468. #, no-wrap
  25469. msgid "{Scheme Variable} hostapd-service-type"
  25470. msgstr ""
  25471. #. type: defvr
  25472. #: guix-git/doc/guix.texi:17623
  25473. 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:"
  25474. msgstr ""
  25475. #. type: lisp
  25476. #: guix-git/doc/guix.texi:17631
  25477. #, no-wrap
  25478. msgid ""
  25479. ";; Use wlan1 to run the access point for \"My Network\".\n"
  25480. "(service hostapd-service-type\n"
  25481. " (hostapd-configuration\n"
  25482. " (interface \"wlan1\")\n"
  25483. " (ssid \"My Network\")\n"
  25484. " (channel 12)))\n"
  25485. msgstr ""
  25486. #. type: deftp
  25487. #: guix-git/doc/guix.texi:17634
  25488. #, no-wrap
  25489. msgid "{Data Type} hostapd-configuration"
  25490. msgstr ""
  25491. #. type: deftp
  25492. #: guix-git/doc/guix.texi:17637
  25493. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  25494. msgstr ""
  25495. #. type: item
  25496. #: guix-git/doc/guix.texi:17639
  25497. #, no-wrap
  25498. msgid "@code{package} (default: @code{hostapd})"
  25499. msgstr ""
  25500. #. type: table
  25501. #: guix-git/doc/guix.texi:17641
  25502. msgid "The hostapd package to use."
  25503. msgstr ""
  25504. #. type: item
  25505. #: guix-git/doc/guix.texi:17642
  25506. #, no-wrap
  25507. msgid "@code{interface} (default: @code{\"wlan0\"})"
  25508. msgstr ""
  25509. #. type: table
  25510. #: guix-git/doc/guix.texi:17644
  25511. msgid "The network interface to run the WiFi access point."
  25512. msgstr ""
  25513. #. type: code{#1}
  25514. #: guix-git/doc/guix.texi:17645
  25515. #, no-wrap
  25516. msgid "ssid"
  25517. msgstr ""
  25518. #. type: table
  25519. #: guix-git/doc/guix.texi:17648
  25520. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  25521. msgstr ""
  25522. #. type: item
  25523. #: guix-git/doc/guix.texi:17649
  25524. #, no-wrap
  25525. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  25526. msgstr ""
  25527. #. type: table
  25528. #: guix-git/doc/guix.texi:17651
  25529. msgid "Whether to broadcast this SSID."
  25530. msgstr ""
  25531. #. type: item
  25532. #: guix-git/doc/guix.texi:17652
  25533. #, no-wrap
  25534. msgid "@code{channel} (default: @code{1})"
  25535. msgstr ""
  25536. #. type: table
  25537. #: guix-git/doc/guix.texi:17654
  25538. msgid "The WiFi channel to use."
  25539. msgstr ""
  25540. #. type: item
  25541. #: guix-git/doc/guix.texi:17655
  25542. #, no-wrap
  25543. msgid "@code{driver} (default: @code{\"nl80211\"})"
  25544. msgstr ""
  25545. #. type: table
  25546. #: guix-git/doc/guix.texi:17659
  25547. 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."
  25548. msgstr ""
  25549. #. type: item
  25550. #: guix-git/doc/guix.texi:17660 guix-git/doc/guix.texi:23728
  25551. #: guix-git/doc/guix.texi:26807
  25552. #, no-wrap
  25553. msgid "@code{extra-settings} (default: @code{\"\"})"
  25554. msgstr ""
  25555. #. type: table
  25556. #: guix-git/doc/guix.texi:17664
  25557. 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."
  25558. msgstr ""
  25559. #. type: defvr
  25560. #: guix-git/doc/guix.texi:17667
  25561. #, no-wrap
  25562. msgid "{Scheme Variable} simulated-wifi-service-type"
  25563. msgstr ""
  25564. #. type: defvr
  25565. #: guix-git/doc/guix.texi:17674
  25566. 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."
  25567. msgstr ""
  25568. #. type: defvr
  25569. #: guix-git/doc/guix.texi:17676
  25570. msgid "The service's value is a @code{hostapd-configuration} record."
  25571. msgstr ""
  25572. #. type: cindex
  25573. #: guix-git/doc/guix.texi:17679
  25574. #, no-wrap
  25575. msgid "iptables"
  25576. msgstr ""
  25577. #. type: defvr
  25578. #: guix-git/doc/guix.texi:17680
  25579. #, no-wrap
  25580. msgid "{Scheme Variable} iptables-service-type"
  25581. msgstr ""
  25582. #. type: defvr
  25583. #: guix-git/doc/guix.texi:17686
  25584. 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."
  25585. msgstr ""
  25586. #. type: lisp
  25587. #: guix-git/doc/guix.texi:17708
  25588. #, no-wrap
  25589. msgid ""
  25590. "(service iptables-service-type\n"
  25591. " (iptables-configuration\n"
  25592. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  25593. ":INPUT ACCEPT\n"
  25594. ":FORWARD ACCEPT\n"
  25595. ":OUTPUT ACCEPT\n"
  25596. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  25597. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  25598. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  25599. "COMMIT\n"
  25600. "\"))\n"
  25601. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  25602. ":INPUT ACCEPT\n"
  25603. ":FORWARD ACCEPT\n"
  25604. ":OUTPUT ACCEPT\n"
  25605. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  25606. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  25607. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  25608. "COMMIT\n"
  25609. "\"))))\n"
  25610. msgstr ""
  25611. #. type: deftp
  25612. #: guix-git/doc/guix.texi:17711
  25613. #, no-wrap
  25614. msgid "{Data Type} iptables-configuration"
  25615. msgstr ""
  25616. #. type: deftp
  25617. #: guix-git/doc/guix.texi:17713
  25618. msgid "The data type representing the configuration of iptables."
  25619. msgstr ""
  25620. #. type: item
  25621. #: guix-git/doc/guix.texi:17715
  25622. #, no-wrap
  25623. msgid "@code{iptables} (default: @code{iptables})"
  25624. msgstr ""
  25625. #. type: table
  25626. #: guix-git/doc/guix.texi:17718
  25627. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  25628. msgstr ""
  25629. #. type: item
  25630. #: guix-git/doc/guix.texi:17718
  25631. #, no-wrap
  25632. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  25633. msgstr ""
  25634. #. type: table
  25635. #: guix-git/doc/guix.texi:17722
  25636. 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})."
  25637. msgstr ""
  25638. #. type: item
  25639. #: guix-git/doc/guix.texi:17722
  25640. #, no-wrap
  25641. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  25642. msgstr ""
  25643. #. type: table
  25644. #: guix-git/doc/guix.texi:17726
  25645. 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})."
  25646. msgstr ""
  25647. #. type: cindex
  25648. #: guix-git/doc/guix.texi:17729
  25649. #, no-wrap
  25650. msgid "nftables"
  25651. msgstr ""
  25652. #. type: defvr
  25653. #: guix-git/doc/guix.texi:17730
  25654. #, no-wrap
  25655. msgid "{Scheme Variable} nftables-service-type"
  25656. msgstr ""
  25657. #. type: defvr
  25658. #: guix-git/doc/guix.texi:17738
  25659. 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:"
  25660. msgstr ""
  25661. #. type: lisp
  25662. #: guix-git/doc/guix.texi:17741
  25663. #, no-wrap
  25664. msgid "(service nftables-service-type)\n"
  25665. msgstr ""
  25666. #. type: deftp
  25667. #: guix-git/doc/guix.texi:17744
  25668. #, no-wrap
  25669. msgid "{Data Type} nftables-configuration"
  25670. msgstr ""
  25671. #. type: deftp
  25672. #: guix-git/doc/guix.texi:17746
  25673. msgid "The data type representing the configuration of nftables."
  25674. msgstr ""
  25675. #. type: item
  25676. #: guix-git/doc/guix.texi:17748
  25677. #, no-wrap
  25678. msgid "@code{package} (default: @code{nftables})"
  25679. msgstr ""
  25680. #. type: table
  25681. #: guix-git/doc/guix.texi:17750
  25682. msgid "The nftables package that provides @command{nft}."
  25683. msgstr ""
  25684. #. type: item
  25685. #: guix-git/doc/guix.texi:17750
  25686. #, no-wrap
  25687. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  25688. msgstr ""
  25689. #. type: table
  25690. #: guix-git/doc/guix.texi:17753
  25691. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  25692. msgstr ""
  25693. #. type: cindex
  25694. #: guix-git/doc/guix.texi:17756
  25695. #, no-wrap
  25696. msgid "NTP (Network Time Protocol), service"
  25697. msgstr ""
  25698. #. type: cindex
  25699. #: guix-git/doc/guix.texi:17757
  25700. #, no-wrap
  25701. msgid "ntpd, service for the Network Time Protocol daemon"
  25702. msgstr ""
  25703. #. type: cindex
  25704. #: guix-git/doc/guix.texi:17758
  25705. #, no-wrap
  25706. msgid "real time clock"
  25707. msgstr ""
  25708. #. type: defvr
  25709. #: guix-git/doc/guix.texi:17759
  25710. #, no-wrap
  25711. msgid "{Scheme Variable} ntp-service-type"
  25712. msgstr ""
  25713. #. type: defvr
  25714. #: guix-git/doc/guix.texi:17763
  25715. 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."
  25716. msgstr ""
  25717. #. type: defvr
  25718. #: guix-git/doc/guix.texi:17766
  25719. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  25720. msgstr ""
  25721. #. type: deftp
  25722. #: guix-git/doc/guix.texi:17768
  25723. #, no-wrap
  25724. msgid "{Data Type} ntp-configuration"
  25725. msgstr ""
  25726. #. type: deftp
  25727. #: guix-git/doc/guix.texi:17770
  25728. msgid "This is the data type for the NTP service configuration."
  25729. msgstr ""
  25730. #. type: item
  25731. #: guix-git/doc/guix.texi:17772
  25732. #, no-wrap
  25733. msgid "@code{servers} (default: @code{%ntp-servers})"
  25734. msgstr ""
  25735. #. type: table
  25736. #: guix-git/doc/guix.texi:17776
  25737. 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."
  25738. msgstr ""
  25739. #. type: item
  25740. #: guix-git/doc/guix.texi:17777
  25741. #, no-wrap
  25742. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  25743. msgstr ""
  25744. #. type: table
  25745. #: guix-git/doc/guix.texi:17780
  25746. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  25747. msgstr ""
  25748. #. type: item
  25749. #: guix-git/doc/guix.texi:17781
  25750. #, no-wrap
  25751. msgid "@code{ntp} (default: @code{ntp})"
  25752. msgstr ""
  25753. #. type: table
  25754. #: guix-git/doc/guix.texi:17783
  25755. msgid "The NTP package to use."
  25756. msgstr ""
  25757. #. type: defvr
  25758. #: guix-git/doc/guix.texi:17786
  25759. #, no-wrap
  25760. msgid "{Scheme Variable} %ntp-servers"
  25761. msgstr ""
  25762. #. type: defvr
  25763. #: guix-git/doc/guix.texi:17789
  25764. 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}."
  25765. msgstr ""
  25766. #. type: deftp
  25767. #: guix-git/doc/guix.texi:17791
  25768. #, no-wrap
  25769. msgid "{Data Type} ntp-server"
  25770. msgstr ""
  25771. #. type: deftp
  25772. #: guix-git/doc/guix.texi:17793
  25773. msgid "The data type representing the configuration of a NTP server."
  25774. msgstr ""
  25775. #. type: item
  25776. #: guix-git/doc/guix.texi:17795
  25777. #, no-wrap
  25778. msgid "@code{type} (default: @code{'server})"
  25779. msgstr ""
  25780. #. type: table
  25781. #: guix-git/doc/guix.texi:17798
  25782. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  25783. msgstr ""
  25784. #. type: code{#1}
  25785. #: guix-git/doc/guix.texi:17799
  25786. #, no-wrap
  25787. msgid "address"
  25788. msgstr ""
  25789. #. type: table
  25790. #: guix-git/doc/guix.texi:17801
  25791. msgid "The address of the server, as a string."
  25792. msgstr ""
  25793. #. type: code{#1}
  25794. #: guix-git/doc/guix.texi:17802 guix-git/doc/guix.texi:33774
  25795. #: guix-git/doc/guix.texi:33794
  25796. #, no-wrap
  25797. msgid "options"
  25798. msgstr ""
  25799. #. type: table
  25800. #: guix-git/doc/guix.texi:17807
  25801. 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."
  25802. msgstr ""
  25803. #. type: example
  25804. #: guix-git/doc/guix.texi:17813
  25805. #, no-wrap
  25806. msgid ""
  25807. "(ntp-server\n"
  25808. " (type 'server)\n"
  25809. " (address \"some.ntp.server.org\")\n"
  25810. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  25811. msgstr ""
  25812. #. type: cindex
  25813. #: guix-git/doc/guix.texi:17817
  25814. #, no-wrap
  25815. msgid "OpenNTPD"
  25816. msgstr ""
  25817. #. type: deffn
  25818. #: guix-git/doc/guix.texi:17818
  25819. #, no-wrap
  25820. msgid "{Scheme Procedure} openntpd-service-type"
  25821. msgstr ""
  25822. #. type: deffn
  25823. #: guix-git/doc/guix.texi:17822
  25824. 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."
  25825. msgstr ""
  25826. #. type: lisp
  25827. #: guix-git/doc/guix.texi:17831
  25828. #, no-wrap
  25829. msgid ""
  25830. "(service\n"
  25831. " openntpd-service-type\n"
  25832. " (openntpd-configuration\n"
  25833. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  25834. " (sensor '(\"udcf0 correction 70000\"))\n"
  25835. " (constraint-from '(\"www.gnu.org\"))\n"
  25836. " (constraints-from '(\"https://www.google.com/\"))))\n"
  25837. "\n"
  25838. msgstr ""
  25839. #. type: defvr
  25840. #: guix-git/doc/guix.texi:17835
  25841. #, no-wrap
  25842. msgid "{Scheme Variable} %openntpd-servers"
  25843. msgstr ""
  25844. #. type: defvr
  25845. #: guix-git/doc/guix.texi:17838
  25846. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  25847. msgstr ""
  25848. #. type: deftp
  25849. #: guix-git/doc/guix.texi:17840
  25850. #, no-wrap
  25851. msgid "{Data Type} openntpd-configuration"
  25852. msgstr ""
  25853. #. type: item
  25854. #: guix-git/doc/guix.texi:17842
  25855. #, no-wrap
  25856. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  25857. msgstr ""
  25858. #. type: table
  25859. #: guix-git/doc/guix.texi:17844
  25860. msgid "The openntpd executable to use."
  25861. msgstr ""
  25862. #. type: item
  25863. #: guix-git/doc/guix.texi:17844
  25864. #, no-wrap
  25865. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  25866. msgstr ""
  25867. #. type: table
  25868. #: guix-git/doc/guix.texi:17846
  25869. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  25870. msgstr ""
  25871. #. type: item
  25872. #: guix-git/doc/guix.texi:17846
  25873. #, no-wrap
  25874. msgid "@code{query-from} (default: @code{'()})"
  25875. msgstr ""
  25876. #. type: table
  25877. #: guix-git/doc/guix.texi:17848
  25878. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  25879. msgstr ""
  25880. #. type: item
  25881. #: guix-git/doc/guix.texi:17848
  25882. #, no-wrap
  25883. msgid "@code{sensor} (default: @code{'()})"
  25884. msgstr ""
  25885. #. type: table
  25886. #: guix-git/doc/guix.texi:17853
  25887. 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."
  25888. msgstr ""
  25889. #. type: item
  25890. #: guix-git/doc/guix.texi:17853
  25891. #, no-wrap
  25892. msgid "@code{server} (default: @code{'()})"
  25893. msgstr ""
  25894. #. type: table
  25895. #: guix-git/doc/guix.texi:17855
  25896. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  25897. msgstr ""
  25898. #. type: item
  25899. #: guix-git/doc/guix.texi:17855
  25900. #, no-wrap
  25901. msgid "@code{servers} (default: @code{%openntp-servers})"
  25902. msgstr ""
  25903. #. type: table
  25904. #: guix-git/doc/guix.texi:17857
  25905. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  25906. msgstr ""
  25907. #. type: item
  25908. #: guix-git/doc/guix.texi:17857
  25909. #, no-wrap
  25910. msgid "@code{constraint-from} (default: @code{'()})"
  25911. msgstr ""
  25912. #. type: table
  25913. #: guix-git/doc/guix.texi:17864
  25914. 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."
  25915. msgstr ""
  25916. #. type: item
  25917. #: guix-git/doc/guix.texi:17864
  25918. #, no-wrap
  25919. msgid "@code{constraints-from} (default: @code{'()})"
  25920. msgstr ""
  25921. #. type: table
  25922. #: guix-git/doc/guix.texi:17868
  25923. 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."
  25924. msgstr ""
  25925. #. type: cindex
  25926. #: guix-git/doc/guix.texi:17871
  25927. #, no-wrap
  25928. msgid "inetd"
  25929. msgstr ""
  25930. #. type: deffn
  25931. #: guix-git/doc/guix.texi:17872
  25932. #, no-wrap
  25933. msgid "{Scheme variable} inetd-service-type"
  25934. msgstr ""
  25935. #. type: deffn
  25936. #: guix-git/doc/guix.texi:17877
  25937. 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."
  25938. msgstr ""
  25939. #. type: deffn
  25940. #: guix-git/doc/guix.texi:17883
  25941. 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}:"
  25942. msgstr ""
  25943. #. type: lisp
  25944. #: guix-git/doc/guix.texi:17906
  25945. #, no-wrap
  25946. msgid ""
  25947. "(service\n"
  25948. " inetd-service-type\n"
  25949. " (inetd-configuration\n"
  25950. " (entries (list\n"
  25951. " (inetd-entry\n"
  25952. " (name \"echo\")\n"
  25953. " (socket-type 'stream)\n"
  25954. " (protocol \"tcp\")\n"
  25955. " (wait? #f)\n"
  25956. " (user \"root\"))\n"
  25957. " (inetd-entry\n"
  25958. " (node \"127.0.0.1\")\n"
  25959. " (name \"smtp\")\n"
  25960. " (socket-type 'stream)\n"
  25961. " (protocol \"tcp\")\n"
  25962. " (wait? #f)\n"
  25963. " (user \"root\")\n"
  25964. " (program (file-append openssh \"/bin/ssh\"))\n"
  25965. " (arguments\n"
  25966. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  25967. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  25968. msgstr ""
  25969. #. type: deffn
  25970. #: guix-git/doc/guix.texi:17909
  25971. msgid "See below for more details about @code{inetd-configuration}."
  25972. msgstr ""
  25973. #. type: deftp
  25974. #: guix-git/doc/guix.texi:17911
  25975. #, no-wrap
  25976. msgid "{Data Type} inetd-configuration"
  25977. msgstr ""
  25978. #. type: deftp
  25979. #: guix-git/doc/guix.texi:17913
  25980. msgid "Data type representing the configuration of @command{inetd}."
  25981. msgstr ""
  25982. #. type: item
  25983. #: guix-git/doc/guix.texi:17915
  25984. #, no-wrap
  25985. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  25986. msgstr ""
  25987. #. type: table
  25988. #: guix-git/doc/guix.texi:17917
  25989. msgid "The @command{inetd} executable to use."
  25990. msgstr ""
  25991. #. type: item
  25992. #: guix-git/doc/guix.texi:17918 guix-git/doc/guix.texi:27655
  25993. #, no-wrap
  25994. msgid "@code{entries} (default: @code{'()})"
  25995. msgstr ""
  25996. #. type: table
  25997. #: guix-git/doc/guix.texi:17921
  25998. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  25999. msgstr ""
  26000. #. type: deftp
  26001. #: guix-git/doc/guix.texi:17924
  26002. #, no-wrap
  26003. msgid "{Data Type} inetd-entry"
  26004. msgstr ""
  26005. #. type: deftp
  26006. #: guix-git/doc/guix.texi:17928
  26007. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  26008. msgstr ""
  26009. #. type: item
  26010. #: guix-git/doc/guix.texi:17930
  26011. #, no-wrap
  26012. msgid "@code{node} (default: @code{#f})"
  26013. msgstr ""
  26014. #. type: table
  26015. #: guix-git/doc/guix.texi:17935
  26016. 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."
  26017. msgstr ""
  26018. #. type: table
  26019. #: guix-git/doc/guix.texi:17937
  26020. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  26021. msgstr ""
  26022. #. type: code{#1}
  26023. #: guix-git/doc/guix.texi:17937
  26024. #, no-wrap
  26025. msgid "socket-type"
  26026. msgstr ""
  26027. #. type: table
  26028. #: guix-git/doc/guix.texi:17940
  26029. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  26030. msgstr ""
  26031. #. type: code{#1}
  26032. #: guix-git/doc/guix.texi:17940
  26033. #, no-wrap
  26034. msgid "protocol"
  26035. msgstr ""
  26036. #. type: table
  26037. #: guix-git/doc/guix.texi:17942
  26038. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  26039. msgstr ""
  26040. #. type: item
  26041. #: guix-git/doc/guix.texi:17942
  26042. #, no-wrap
  26043. msgid "@code{wait?} (default: @code{#t})"
  26044. msgstr ""
  26045. #. type: table
  26046. #: guix-git/doc/guix.texi:17945
  26047. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  26048. msgstr ""
  26049. #. type: table
  26050. #: guix-git/doc/guix.texi:17950
  26051. 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\"}."
  26052. msgstr ""
  26053. #. type: item
  26054. #: guix-git/doc/guix.texi:17950
  26055. #, no-wrap
  26056. msgid "@code{program} (default: @code{\"internal\"})"
  26057. msgstr ""
  26058. #. type: table
  26059. #: guix-git/doc/guix.texi:17953
  26060. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  26061. msgstr ""
  26062. #. type: table
  26063. #: guix-git/doc/guix.texi:17958
  26064. 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\")}."
  26065. msgstr ""
  26066. #. type: deftp
  26067. #: guix-git/doc/guix.texi:17962
  26068. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  26069. msgstr ""
  26070. #. type: cindex
  26071. #: guix-git/doc/guix.texi:17964
  26072. #, no-wrap
  26073. msgid "opendht, distributed hash table network service"
  26074. msgstr ""
  26075. #. type: cindex
  26076. #: guix-git/doc/guix.texi:17965
  26077. #, no-wrap
  26078. msgid "dhtproxy, for use with jami"
  26079. msgstr ""
  26080. #. type: defvr
  26081. #: guix-git/doc/guix.texi:17966
  26082. #, no-wrap
  26083. msgid "{Scheme Variable} opendht-service-type"
  26084. msgstr ""
  26085. #. type: defvr
  26086. #: guix-git/doc/guix.texi:17971
  26087. msgid "This is the type of the service running a @uref{https://opendht.net, OpenDHT} node, @command{dhtnode}. The daemon can be used to host your own proxy service to the distributed hash table (DHT), for example to connect to with Jami, among other applications."
  26088. msgstr ""
  26089. #. type: quotation
  26090. #: guix-git/doc/guix.texi:17981
  26091. msgid "When using the OpenDHT proxy server, the IP addresses it ``sees'' from the clients should be addresses reachable from other peers. In practice this means that a publicly reachable address is best suited for a proxy server, outside of your private network. For example, hosting the proxy server on a IPv4 private local network and exposing it via port forwarding could work for external peers, but peers local to the proxy would have their private addresses shared with the external peers, leading to connectivity problems."
  26092. msgstr ""
  26093. #. type: defvr
  26094. #: guix-git/doc/guix.texi:17985
  26095. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  26096. msgstr ""
  26097. #. type: deftp
  26098. #: guix-git/doc/guix.texi:17987
  26099. #, no-wrap
  26100. msgid "{Data Type} opendht-configuration"
  26101. msgstr ""
  26102. #. type: deftp
  26103. #: guix-git/doc/guix.texi:17989
  26104. msgid "This is the data type for the OpenDHT service configuration."
  26105. msgstr ""
  26106. #. type: deftp
  26107. #: guix-git/doc/guix.texi:17994
  26108. msgid "Available @code{opendht-configuration} fields are:"
  26109. msgstr ""
  26110. #. type: deftypevr
  26111. #: guix-git/doc/guix.texi:17995
  26112. #, no-wrap
  26113. msgid "{@code{opendht-configuration} parameter} package opendht"
  26114. msgstr ""
  26115. #. type: deftypevr
  26116. #: guix-git/doc/guix.texi:17997
  26117. msgid "The @code{opendht} package to use."
  26118. msgstr ""
  26119. #. type: deftypevr
  26120. #: guix-git/doc/guix.texi:18000
  26121. #, no-wrap
  26122. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  26123. msgstr ""
  26124. #. type: deftypevr
  26125. #: guix-git/doc/guix.texi:18002
  26126. msgid "Whether to enable the multicast local peer discovery mechanism."
  26127. msgstr ""
  26128. #. type: deftypevr
  26129. #: guix-git/doc/guix.texi:18004 guix-git/doc/guix.texi:18012
  26130. #: guix-git/doc/guix.texi:18020 guix-git/doc/guix.texi:19712
  26131. #: guix-git/doc/guix.texi:19788 guix-git/doc/guix.texi:19830
  26132. #: guix-git/doc/guix.texi:19850 guix-git/doc/guix.texi:19856
  26133. #: guix-git/doc/guix.texi:19872 guix-git/doc/guix.texi:19960
  26134. #: guix-git/doc/guix.texi:20048 guix-git/doc/guix.texi:20361
  26135. #: guix-git/doc/guix.texi:20374 guix-git/doc/guix.texi:21492
  26136. #: guix-git/doc/guix.texi:22970 guix-git/doc/guix.texi:23076
  26137. #: guix-git/doc/guix.texi:23141 guix-git/doc/guix.texi:23150
  26138. #: guix-git/doc/guix.texi:24383 guix-git/doc/guix.texi:24427
  26139. #: guix-git/doc/guix.texi:24444 guix-git/doc/guix.texi:24452
  26140. #: guix-git/doc/guix.texi:24467 guix-git/doc/guix.texi:24485
  26141. #: guix-git/doc/guix.texi:24509 guix-git/doc/guix.texi:24562
  26142. #: guix-git/doc/guix.texi:24695 guix-git/doc/guix.texi:24729
  26143. #: guix-git/doc/guix.texi:24765 guix-git/doc/guix.texi:24781
  26144. #: guix-git/doc/guix.texi:24809 guix-git/doc/guix.texi:24870
  26145. #: guix-git/doc/guix.texi:24953 guix-git/doc/guix.texi:28367
  26146. #: guix-git/doc/guix.texi:28381 guix-git/doc/guix.texi:28403
  26147. #: guix-git/doc/guix.texi:28522 guix-git/doc/guix.texi:28536
  26148. #: guix-git/doc/guix.texi:28557 guix-git/doc/guix.texi:28578
  26149. #: guix-git/doc/guix.texi:28585 guix-git/doc/guix.texi:28630
  26150. #: guix-git/doc/guix.texi:28637 guix-git/doc/guix.texi:29426
  26151. #: guix-git/doc/guix.texi:29440 guix-git/doc/guix.texi:29612
  26152. #: guix-git/doc/guix.texi:29657 guix-git/doc/guix.texi:29744
  26153. #: guix-git/doc/guix.texi:29946 guix-git/doc/guix.texi:29979
  26154. #: guix-git/doc/guix.texi:30119 guix-git/doc/guix.texi:30130
  26155. #: guix-git/doc/guix.texi:30381 guix-git/doc/guix.texi:31900
  26156. #: guix-git/doc/guix.texi:31909 guix-git/doc/guix.texi:31917
  26157. #: guix-git/doc/guix.texi:31925 guix-git/doc/guix.texi:31941
  26158. #: guix-git/doc/guix.texi:31957 guix-git/doc/guix.texi:31965
  26159. #: guix-git/doc/guix.texi:31973 guix-git/doc/guix.texi:31982
  26160. #: guix-git/doc/guix.texi:31991 guix-git/doc/guix.texi:32007
  26161. #: guix-git/doc/guix.texi:32071 guix-git/doc/guix.texi:32177
  26162. #: guix-git/doc/guix.texi:32185 guix-git/doc/guix.texi:32193
  26163. #: guix-git/doc/guix.texi:32218 guix-git/doc/guix.texi:32272
  26164. #: guix-git/doc/guix.texi:32320 guix-git/doc/guix.texi:32521
  26165. #: guix-git/doc/guix.texi:32528
  26166. msgid "Defaults to @samp{#f}."
  26167. msgstr ""
  26168. #. type: deftypevr
  26169. #: guix-git/doc/guix.texi:18007
  26170. #, no-wrap
  26171. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  26172. msgstr ""
  26173. #. type: deftypevr
  26174. #: guix-git/doc/guix.texi:18010
  26175. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  26176. msgstr ""
  26177. #. type: deftypevr
  26178. #: guix-git/doc/guix.texi:18015
  26179. #, no-wrap
  26180. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  26181. msgstr ""
  26182. #. type: deftypevr
  26183. #: guix-git/doc/guix.texi:18018
  26184. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  26185. msgstr ""
  26186. #. type: deftypevr
  26187. #: guix-git/doc/guix.texi:18023
  26188. #, no-wrap
  26189. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  26190. msgstr ""
  26191. #. type: deftypevr
  26192. #: guix-git/doc/guix.texi:18029
  26193. msgid "The node host name that is used to make the first connection to the network. A specific port value can be provided by appending the @code{:PORT} suffix. By default, it uses the Jami bootstrap nodes, but any host can be specified here. It's also possible to disable bootsrapping by setting this to the @code{'disabled} symbol."
  26194. msgstr ""
  26195. #. type: deftypevr
  26196. #: guix-git/doc/guix.texi:18031
  26197. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  26198. msgstr ""
  26199. #. type: deftypevr
  26200. #: guix-git/doc/guix.texi:18034
  26201. #, no-wrap
  26202. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  26203. msgstr ""
  26204. #. type: deftypevr
  26205. #: guix-git/doc/guix.texi:18037
  26206. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  26207. msgstr ""
  26208. #. type: deftypevr
  26209. #: guix-git/doc/guix.texi:18039
  26210. msgid "Defaults to @samp{4222}."
  26211. msgstr ""
  26212. #. type: deftypevr
  26213. #: guix-git/doc/guix.texi:18042
  26214. #, no-wrap
  26215. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  26216. msgstr ""
  26217. #. type: deftypevr
  26218. #: guix-git/doc/guix.texi:18044
  26219. msgid "Spawn a proxy server listening on the specified port."
  26220. msgstr ""
  26221. #. type: deftypevr
  26222. #: guix-git/doc/guix.texi:18046 guix-git/doc/guix.texi:18053
  26223. #: guix-git/doc/guix.texi:24391 guix-git/doc/guix.texi:24435
  26224. #: guix-git/doc/guix.texi:24648 guix-git/doc/guix.texi:24704
  26225. #: guix-git/doc/guix.texi:24878 guix-git/doc/guix.texi:24889
  26226. #: guix-git/doc/guix.texi:24962 guix-git/doc/guix.texi:25687
  26227. #: guix-git/doc/guix.texi:25730 guix-git/doc/guix.texi:25738
  26228. #: guix-git/doc/guix.texi:25746 guix-git/doc/guix.texi:25754
  26229. #: guix-git/doc/guix.texi:25763 guix-git/doc/guix.texi:25771
  26230. #: guix-git/doc/guix.texi:25778 guix-git/doc/guix.texi:25786
  26231. #: guix-git/doc/guix.texi:25794 guix-git/doc/guix.texi:25804
  26232. #: guix-git/doc/guix.texi:25811 guix-git/doc/guix.texi:25835
  26233. #: guix-git/doc/guix.texi:25843 guix-git/doc/guix.texi:25869
  26234. #: guix-git/doc/guix.texi:25878 guix-git/doc/guix.texi:25887
  26235. #: guix-git/doc/guix.texi:25896 guix-git/doc/guix.texi:25905
  26236. #: guix-git/doc/guix.texi:25914 guix-git/doc/guix.texi:25922
  26237. #: guix-git/doc/guix.texi:25930 guix-git/doc/guix.texi:25937
  26238. #: guix-git/doc/guix.texi:25945 guix-git/doc/guix.texi:25952
  26239. #: guix-git/doc/guix.texi:25960 guix-git/doc/guix.texi:25968
  26240. #: guix-git/doc/guix.texi:25977 guix-git/doc/guix.texi:25986
  26241. #: guix-git/doc/guix.texi:25994 guix-git/doc/guix.texi:26002
  26242. #: guix-git/doc/guix.texi:26010 guix-git/doc/guix.texi:26021
  26243. #: guix-git/doc/guix.texi:26031 guix-git/doc/guix.texi:26042
  26244. #: guix-git/doc/guix.texi:26051 guix-git/doc/guix.texi:26061
  26245. #: guix-git/doc/guix.texi:26069 guix-git/doc/guix.texi:26080
  26246. #: guix-git/doc/guix.texi:26089 guix-git/doc/guix.texi:26099
  26247. #: guix-git/doc/guix.texi:29339 guix-git/doc/guix.texi:29346
  26248. #: guix-git/doc/guix.texi:29353 guix-git/doc/guix.texi:29360
  26249. #: guix-git/doc/guix.texi:29367 guix-git/doc/guix.texi:29374
  26250. #: guix-git/doc/guix.texi:29382 guix-git/doc/guix.texi:29390
  26251. #: guix-git/doc/guix.texi:29397 guix-git/doc/guix.texi:29404
  26252. #: guix-git/doc/guix.texi:29411 guix-git/doc/guix.texi:29418
  26253. #: guix-git/doc/guix.texi:29448 guix-git/doc/guix.texi:29486
  26254. #: guix-git/doc/guix.texi:29493 guix-git/doc/guix.texi:29502
  26255. #: guix-git/doc/guix.texi:29524 guix-git/doc/guix.texi:29532
  26256. #: guix-git/doc/guix.texi:29539 guix-git/doc/guix.texi:29694
  26257. #: guix-git/doc/guix.texi:29714 guix-git/doc/guix.texi:29729
  26258. #: guix-git/doc/guix.texi:29736 guix-git/doc/guix.texi:32473
  26259. #: guix-git/doc/guix.texi:32481 guix-git/doc/guix.texi:32489
  26260. #: guix-git/doc/guix.texi:32497 guix-git/doc/guix.texi:32505
  26261. #: guix-git/doc/guix.texi:32513
  26262. msgid "Defaults to @samp{disabled}."
  26263. msgstr ""
  26264. #. type: deftypevr
  26265. #: guix-git/doc/guix.texi:18049
  26266. #, no-wrap
  26267. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  26268. msgstr ""
  26269. #. type: deftypevr
  26270. #: guix-git/doc/guix.texi:18051
  26271. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  26272. msgstr ""
  26273. #. type: cindex
  26274. #: guix-git/doc/guix.texi:18057
  26275. #, no-wrap
  26276. msgid "Tor"
  26277. msgstr ""
  26278. #. type: defvr
  26279. #: guix-git/doc/guix.texi:18058
  26280. #, no-wrap
  26281. msgid "{Scheme Variable} tor-service-type"
  26282. msgstr ""
  26283. #. type: defvr
  26284. #: guix-git/doc/guix.texi:18063
  26285. 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."
  26286. msgstr ""
  26287. #. type: deftp
  26288. #: guix-git/doc/guix.texi:18066
  26289. #, no-wrap
  26290. msgid "{Data Type} tor-configuration"
  26291. msgstr ""
  26292. #. type: item
  26293. #: guix-git/doc/guix.texi:18068
  26294. #, no-wrap
  26295. msgid "@code{tor} (default: @code{tor})"
  26296. msgstr ""
  26297. #. type: table
  26298. #: guix-git/doc/guix.texi:18073
  26299. 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."
  26300. msgstr ""
  26301. #. type: item
  26302. #: guix-git/doc/guix.texi:18074
  26303. #, no-wrap
  26304. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  26305. msgstr ""
  26306. #. type: table
  26307. #: guix-git/doc/guix.texi:18080
  26308. 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."
  26309. msgstr ""
  26310. #. type: item
  26311. #: guix-git/doc/guix.texi:18081
  26312. #, no-wrap
  26313. msgid "@code{hidden-services} (default: @code{'()})"
  26314. msgstr ""
  26315. #. type: table
  26316. #: guix-git/doc/guix.texi:18087
  26317. 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."
  26318. msgstr ""
  26319. #. type: item
  26320. #: guix-git/doc/guix.texi:18088
  26321. #, no-wrap
  26322. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  26323. msgstr ""
  26324. #. type: table
  26325. #: guix-git/doc/guix.texi:18095
  26326. 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."
  26327. msgstr ""
  26328. #. type: table
  26329. #: guix-git/doc/guix.texi:18100
  26330. 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."
  26331. msgstr ""
  26332. #. type: item
  26333. #: guix-git/doc/guix.texi:18101
  26334. #, no-wrap
  26335. msgid "@code{control-socket?} (default: @code{#f})"
  26336. msgstr ""
  26337. #. type: table
  26338. #: guix-git/doc/guix.texi:18107
  26339. 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."
  26340. msgstr ""
  26341. #. type: cindex
  26342. #: guix-git/doc/guix.texi:18111
  26343. #, no-wrap
  26344. msgid "hidden service"
  26345. msgstr ""
  26346. #. type: deffn
  26347. #: guix-git/doc/guix.texi:18112
  26348. #, no-wrap
  26349. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  26350. msgstr ""
  26351. #. type: deffn
  26352. #: guix-git/doc/guix.texi:18115
  26353. 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:"
  26354. msgstr ""
  26355. #. type: example
  26356. #: guix-git/doc/guix.texi:18119
  26357. #, no-wrap
  26358. msgid ""
  26359. " '((22 \"127.0.0.1:22\")\n"
  26360. " (80 \"127.0.0.1:8080\"))\n"
  26361. msgstr ""
  26362. #. type: deffn
  26363. #: guix-git/doc/guix.texi:18123
  26364. 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."
  26365. msgstr ""
  26366. #. type: deffn
  26367. #: guix-git/doc/guix.texi:18127
  26368. 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."
  26369. msgstr ""
  26370. #. type: deffn
  26371. #: guix-git/doc/guix.texi:18130
  26372. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  26373. msgstr ""
  26374. #. type: Plain text
  26375. #: guix-git/doc/guix.texi:18133
  26376. msgid "The @code{(gnu services rsync)} module provides the following services:"
  26377. msgstr ""
  26378. #. type: Plain text
  26379. #: guix-git/doc/guix.texi:18137
  26380. 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."
  26381. msgstr ""
  26382. #. type: deffn
  26383. #: guix-git/doc/guix.texi:18138
  26384. #, no-wrap
  26385. msgid "{Scheme Variable} rsync-service-type"
  26386. msgstr ""
  26387. #. type: deffn
  26388. #: guix-git/doc/guix.texi:18142
  26389. 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:"
  26390. msgstr ""
  26391. #. type: lisp
  26392. #: guix-git/doc/guix.texi:18155
  26393. #, no-wrap
  26394. msgid ""
  26395. ";; Export two directories over rsync. By default rsync listens on\n"
  26396. ";; all the network interfaces.\n"
  26397. "(service rsync-service-type\n"
  26398. " (rsync-configuration\n"
  26399. " (modules (list (rsync-module\n"
  26400. " (name \"music\")\n"
  26401. " (file-name \"/srv/zik\")\n"
  26402. " (read-only? #f))\n"
  26403. " (rsync-module\n"
  26404. " (name \"movies\")\n"
  26405. " (file-name \"/home/charlie/movies\"))))))\n"
  26406. msgstr ""
  26407. #. type: deffn
  26408. #: guix-git/doc/guix.texi:18158
  26409. msgid "See below for details about @code{rsync-configuration}."
  26410. msgstr ""
  26411. #. type: deftp
  26412. #: guix-git/doc/guix.texi:18160
  26413. #, no-wrap
  26414. msgid "{Data Type} rsync-configuration"
  26415. msgstr ""
  26416. #. type: deftp
  26417. #: guix-git/doc/guix.texi:18162
  26418. msgid "Data type representing the configuration for @code{rsync-service}."
  26419. msgstr ""
  26420. #. type: item
  26421. #: guix-git/doc/guix.texi:18164
  26422. #, no-wrap
  26423. msgid "@code{package} (default: @var{rsync})"
  26424. msgstr ""
  26425. #. type: table
  26426. #: guix-git/doc/guix.texi:18166
  26427. msgid "@code{rsync} package to use."
  26428. msgstr ""
  26429. #. type: item
  26430. #: guix-git/doc/guix.texi:18167 guix-git/doc/guix.texi:31480
  26431. #, no-wrap
  26432. msgid "@code{address} (default: @code{#f})"
  26433. msgstr ""
  26434. #. type: table
  26435. #: guix-git/doc/guix.texi:18170
  26436. msgid "IP address on which @command{rsync} listens for incoming connections. If unspecified, it defaults to listening on all available addresses."
  26437. msgstr ""
  26438. #. type: item
  26439. #: guix-git/doc/guix.texi:18171
  26440. #, no-wrap
  26441. msgid "@code{port-number} (default: @code{873})"
  26442. msgstr ""
  26443. #. type: table
  26444. #: guix-git/doc/guix.texi:18175
  26445. 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."
  26446. msgstr ""
  26447. #. type: item
  26448. #: guix-git/doc/guix.texi:18176
  26449. #, no-wrap
  26450. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  26451. msgstr ""
  26452. #. type: table
  26453. #: guix-git/doc/guix.texi:18178
  26454. msgid "Name of the file where @command{rsync} writes its PID."
  26455. msgstr ""
  26456. #. type: item
  26457. #: guix-git/doc/guix.texi:18179
  26458. #, no-wrap
  26459. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  26460. msgstr ""
  26461. #. type: table
  26462. #: guix-git/doc/guix.texi:18181
  26463. msgid "Name of the file where @command{rsync} writes its lock file."
  26464. msgstr ""
  26465. #. type: item
  26466. #: guix-git/doc/guix.texi:18182
  26467. #, no-wrap
  26468. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  26469. msgstr ""
  26470. #. type: table
  26471. #: guix-git/doc/guix.texi:18184
  26472. msgid "Name of the file where @command{rsync} writes its log file."
  26473. msgstr ""
  26474. #. type: item
  26475. #: guix-git/doc/guix.texi:18185 guix-git/doc/guix.texi:35582
  26476. #, no-wrap
  26477. msgid "@code{user} (default: @code{\"root\"})"
  26478. msgstr ""
  26479. #. type: table
  26480. #: guix-git/doc/guix.texi:18187
  26481. msgid "Owner of the @code{rsync} process."
  26482. msgstr ""
  26483. #. type: item
  26484. #: guix-git/doc/guix.texi:18188
  26485. #, no-wrap
  26486. msgid "@code{group} (default: @code{\"root\"})"
  26487. msgstr ""
  26488. #. type: table
  26489. #: guix-git/doc/guix.texi:18190
  26490. msgid "Group of the @code{rsync} process."
  26491. msgstr ""
  26492. #. type: item
  26493. #: guix-git/doc/guix.texi:18191
  26494. #, no-wrap
  26495. msgid "@code{uid} (default: @code{\"rsyncd\"})"
  26496. msgstr ""
  26497. #. type: table
  26498. #: guix-git/doc/guix.texi:18194
  26499. 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}."
  26500. msgstr ""
  26501. #. type: item
  26502. #: guix-git/doc/guix.texi:18195
  26503. #, no-wrap
  26504. msgid "@code{gid} (default: @code{\"rsyncd\"})"
  26505. msgstr ""
  26506. #. type: table
  26507. #: guix-git/doc/guix.texi:18197 guix-git/doc/guix.texi:18676
  26508. msgid "Group name or group ID that will be used when accessing the module."
  26509. msgstr ""
  26510. #. type: item
  26511. #: guix-git/doc/guix.texi:18198 guix-git/doc/guix.texi:36378
  26512. #, no-wrap
  26513. msgid "@code{modules} (default: @code{%default-modules})"
  26514. msgstr ""
  26515. #. type: table
  26516. #: guix-git/doc/guix.texi:18201
  26517. msgid "List of ``modules''---i.e., directories exported over rsync. Each element must be a @code{rsync-module} record, as described below."
  26518. msgstr ""
  26519. #. type: deftp
  26520. #: guix-git/doc/guix.texi:18204
  26521. #, fuzzy, no-wrap
  26522. #| msgid "System Configuration"
  26523. msgid "{Data Type} rsync-module"
  26524. msgstr "Nastavenie systému"
  26525. #. type: deftp
  26526. #: guix-git/doc/guix.texi:18207
  26527. msgid "This is the data type for rsync ``modules''. A module is a directory exported over the rsync protocol. The available fields are as follows:"
  26528. msgstr ""
  26529. #. type: table
  26530. #: guix-git/doc/guix.texi:18213
  26531. msgid "The module name. This is the name that shows up in URLs. For example, if the module is called @code{music}, the corresponding URL will be @code{rsync://host.example.org/music}."
  26532. msgstr ""
  26533. #. type: code{#1}
  26534. #: guix-git/doc/guix.texi:18214
  26535. #, fuzzy, no-wrap
  26536. #| msgid "name"
  26537. msgid "file-name"
  26538. msgstr "name"
  26539. #. type: table
  26540. #: guix-git/doc/guix.texi:18216
  26541. msgid "Name of the directory being exported."
  26542. msgstr ""
  26543. #. type: table
  26544. #: guix-git/doc/guix.texi:18220
  26545. msgid "Comment associated with the module. Client user interfaces may display it when they obtain the list of available modules."
  26546. msgstr ""
  26547. #. type: item
  26548. #: guix-git/doc/guix.texi:18221
  26549. #, no-wrap
  26550. msgid "@code{read-only?} (default: @code{#t})"
  26551. msgstr ""
  26552. #. type: table
  26553. #: guix-git/doc/guix.texi:18225
  26554. msgid "Whether or not client will be able to upload files. If this is false, the uploads will be authorized if permissions on the daemon side permit it."
  26555. msgstr ""
  26556. #. type: item
  26557. #: guix-git/doc/guix.texi:18226
  26558. #, no-wrap
  26559. msgid "@code{chroot?} (default: @code{#t})"
  26560. msgstr ""
  26561. #. type: table
  26562. #: guix-git/doc/guix.texi:18230
  26563. msgid "When this is true, the rsync daemon changes root to the module's directory before starting file transfers with the client. This improves security, but requires rsync to run as root."
  26564. msgstr ""
  26565. #. type: item
  26566. #: guix-git/doc/guix.texi:18231
  26567. #, no-wrap
  26568. msgid "@code{timeout} (default: @code{300})"
  26569. msgstr ""
  26570. #. type: table
  26571. #: guix-git/doc/guix.texi:18234
  26572. msgid "Idle time in seconds after which the daemon closes a connection with the client."
  26573. msgstr ""
  26574. #. type: Plain text
  26575. #: guix-git/doc/guix.texi:18238
  26576. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  26577. msgstr ""
  26578. #. type: cindex
  26579. #: guix-git/doc/guix.texi:18238
  26580. #, no-wrap
  26581. msgid "syncthing"
  26582. msgstr ""
  26583. #. type: Plain text
  26584. #: guix-git/doc/guix.texi:18243
  26585. 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."
  26586. msgstr ""
  26587. #. type: deffn
  26588. #: guix-git/doc/guix.texi:18244
  26589. #, no-wrap
  26590. msgid "{Scheme Variable} syncthing-service-type"
  26591. msgstr ""
  26592. #. type: deffn
  26593. #: guix-git/doc/guix.texi:18248
  26594. 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:"
  26595. msgstr ""
  26596. #. type: lisp
  26597. #: guix-git/doc/guix.texi:18252
  26598. #, no-wrap
  26599. msgid ""
  26600. "(service syncthing-service-type\n"
  26601. " (syncthing-configuration (user \"alice\")))\n"
  26602. msgstr ""
  26603. #. type: deffn
  26604. #: guix-git/doc/guix.texi:18255
  26605. msgid "See below for details about @code{syncthing-configuration}."
  26606. msgstr ""
  26607. #. type: deftp
  26608. #: guix-git/doc/guix.texi:18256
  26609. #, no-wrap
  26610. msgid "{Data Type} syncthing-configuration"
  26611. msgstr ""
  26612. #. type: deftp
  26613. #: guix-git/doc/guix.texi:18258
  26614. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  26615. msgstr ""
  26616. #. type: item
  26617. #: guix-git/doc/guix.texi:18260
  26618. #, no-wrap
  26619. msgid "@code{syncthing} (default: @var{syncthing})"
  26620. msgstr ""
  26621. #. type: table
  26622. #: guix-git/doc/guix.texi:18262
  26623. msgid "@code{syncthing} package to use."
  26624. msgstr ""
  26625. #. type: item
  26626. #: guix-git/doc/guix.texi:18263
  26627. #, no-wrap
  26628. msgid "@code{arguments} (default: @var{'()})"
  26629. msgstr ""
  26630. #. type: table
  26631. #: guix-git/doc/guix.texi:18265
  26632. msgid "List of command-line arguments passing to @code{syncthing} binary."
  26633. msgstr ""
  26634. #. type: item
  26635. #: guix-git/doc/guix.texi:18266
  26636. #, no-wrap
  26637. msgid "@code{logflags} (default: @var{0})"
  26638. msgstr ""
  26639. #. type: table
  26640. #: guix-git/doc/guix.texi:18269
  26641. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  26642. msgstr ""
  26643. #. type: item
  26644. #: guix-git/doc/guix.texi:18270
  26645. #, no-wrap
  26646. msgid "@code{user} (default: @var{#f})"
  26647. msgstr ""
  26648. #. type: table
  26649. #: guix-git/doc/guix.texi:18273
  26650. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  26651. msgstr ""
  26652. #. type: item
  26653. #: guix-git/doc/guix.texi:18274
  26654. #, no-wrap
  26655. msgid "@code{group} (default: @var{\"users\"})"
  26656. msgstr ""
  26657. #. type: table
  26658. #: guix-git/doc/guix.texi:18277
  26659. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  26660. msgstr ""
  26661. #. type: item
  26662. #: guix-git/doc/guix.texi:18278
  26663. #, no-wrap
  26664. msgid "@code{home} (default: @var{#f})"
  26665. msgstr ""
  26666. #. type: table
  26667. #: guix-git/doc/guix.texi:18281
  26668. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  26669. msgstr ""
  26670. #. type: Plain text
  26671. #: guix-git/doc/guix.texi:18287
  26672. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  26673. msgstr ""
  26674. #. type: cindex
  26675. #: guix-git/doc/guix.texi:18287 guix-git/doc/guix.texi:18326
  26676. #: guix-git/doc/guix.texi:35715
  26677. #, no-wrap
  26678. msgid "SSH"
  26679. msgstr ""
  26680. #. type: cindex
  26681. #: guix-git/doc/guix.texi:18288 guix-git/doc/guix.texi:18327
  26682. #: guix-git/doc/guix.texi:35716
  26683. #, no-wrap
  26684. msgid "SSH server"
  26685. msgstr ""
  26686. #. type: deffn
  26687. #: guix-git/doc/guix.texi:18290
  26688. #, no-wrap
  26689. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  26690. msgstr ""
  26691. #. type: deffn
  26692. #: guix-git/doc/guix.texi:18299
  26693. 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."
  26694. msgstr ""
  26695. #. type: deffn
  26696. #: guix-git/doc/guix.texi:18305
  26697. 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}."
  26698. msgstr ""
  26699. #. type: deffn
  26700. #: guix-git/doc/guix.texi:18309
  26701. 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."
  26702. msgstr ""
  26703. #. type: deffn
  26704. #: guix-git/doc/guix.texi:18314
  26705. 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})."
  26706. msgstr ""
  26707. #. type: deffn
  26708. #: guix-git/doc/guix.texi:18318
  26709. 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."
  26710. msgstr ""
  26711. #. type: deffn
  26712. #: guix-git/doc/guix.texi:18322
  26713. 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."
  26714. msgstr ""
  26715. #. type: deffn
  26716. #: guix-git/doc/guix.texi:18324
  26717. msgid "The other options should be self-descriptive."
  26718. msgstr ""
  26719. #. type: deffn
  26720. #: guix-git/doc/guix.texi:18328
  26721. #, no-wrap
  26722. msgid "{Scheme Variable} openssh-service-type"
  26723. msgstr ""
  26724. #. type: deffn
  26725. #: guix-git/doc/guix.texi:18332
  26726. 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:"
  26727. msgstr ""
  26728. #. type: lisp
  26729. #: guix-git/doc/guix.texi:18341
  26730. #, no-wrap
  26731. msgid ""
  26732. "(service openssh-service-type\n"
  26733. " (openssh-configuration\n"
  26734. " (x11-forwarding? #t)\n"
  26735. " (permit-root-login 'prohibit-password)\n"
  26736. " (authorized-keys\n"
  26737. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  26738. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  26739. msgstr ""
  26740. #. type: deffn
  26741. #: guix-git/doc/guix.texi:18344
  26742. msgid "See below for details about @code{openssh-configuration}."
  26743. msgstr ""
  26744. #. type: deffn
  26745. #: guix-git/doc/guix.texi:18347
  26746. msgid "This service can be extended with extra authorized keys, as in this example:"
  26747. msgstr ""
  26748. #. type: lisp
  26749. #: guix-git/doc/guix.texi:18352
  26750. #, no-wrap
  26751. msgid ""
  26752. "(service-extension openssh-service-type\n"
  26753. " (const `((\"charlie\"\n"
  26754. " ,(local-file \"charlie.pub\")))))\n"
  26755. msgstr ""
  26756. #. type: deftp
  26757. #: guix-git/doc/guix.texi:18355
  26758. #, no-wrap
  26759. msgid "{Data Type} openssh-configuration"
  26760. msgstr ""
  26761. #. type: deftp
  26762. #: guix-git/doc/guix.texi:18357
  26763. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  26764. msgstr ""
  26765. #. type: item
  26766. #: guix-git/doc/guix.texi:18359
  26767. #, no-wrap
  26768. msgid "@code{openssh} (default @var{openssh})"
  26769. msgstr ""
  26770. #. type: table
  26771. #: guix-git/doc/guix.texi:18361
  26772. msgid "The Openssh package to use."
  26773. msgstr ""
  26774. #. type: item
  26775. #: guix-git/doc/guix.texi:18362
  26776. #, no-wrap
  26777. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  26778. msgstr ""
  26779. #. type: table
  26780. #: guix-git/doc/guix.texi:18364
  26781. msgid "Name of the file where @command{sshd} writes its PID."
  26782. msgstr ""
  26783. #. type: item
  26784. #: guix-git/doc/guix.texi:18365
  26785. #, no-wrap
  26786. msgid "@code{port-number} (default: @code{22})"
  26787. msgstr ""
  26788. #. type: table
  26789. #: guix-git/doc/guix.texi:18367
  26790. msgid "TCP port on which @command{sshd} listens for incoming connections."
  26791. msgstr ""
  26792. #. type: item
  26793. #: guix-git/doc/guix.texi:18368
  26794. #, no-wrap
  26795. msgid "@code{permit-root-login} (default: @code{#f})"
  26796. msgstr ""
  26797. #. type: table
  26798. #: guix-git/doc/guix.texi:18373
  26799. 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{'prohibit-password}, then root logins are permitted but not with password-based authentication."
  26800. msgstr ""
  26801. #. type: item
  26802. #: guix-git/doc/guix.texi:18374 guix-git/doc/guix.texi:18535
  26803. #, no-wrap
  26804. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  26805. msgstr ""
  26806. #. type: table
  26807. #: guix-git/doc/guix.texi:18377
  26808. msgid "When true, users with empty passwords may log in. When false, they may not."
  26809. msgstr ""
  26810. #. type: item
  26811. #: guix-git/doc/guix.texi:18378 guix-git/doc/guix.texi:18538
  26812. #, no-wrap
  26813. msgid "@code{password-authentication?} (default: @code{#t})"
  26814. msgstr ""
  26815. #. type: table
  26816. #: guix-git/doc/guix.texi:18381
  26817. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  26818. msgstr ""
  26819. #. type: item
  26820. #: guix-git/doc/guix.texi:18382
  26821. #, no-wrap
  26822. msgid "@code{public-key-authentication?} (default: @code{#t})"
  26823. msgstr ""
  26824. #. type: table
  26825. #: guix-git/doc/guix.texi:18385
  26826. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  26827. msgstr ""
  26828. #. type: table
  26829. #: guix-git/doc/guix.texi:18388
  26830. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  26831. msgstr ""
  26832. #. type: item
  26833. #: guix-git/doc/guix.texi:18389
  26834. #, no-wrap
  26835. msgid "@code{x11-forwarding?} (default: @code{#f})"
  26836. msgstr ""
  26837. #. type: table
  26838. #: guix-git/doc/guix.texi:18393
  26839. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  26840. msgstr ""
  26841. #. type: item
  26842. #: guix-git/doc/guix.texi:18394
  26843. #, no-wrap
  26844. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  26845. msgstr ""
  26846. #. type: table
  26847. #: guix-git/doc/guix.texi:18396
  26848. msgid "Whether to allow agent forwarding."
  26849. msgstr ""
  26850. #. type: item
  26851. #: guix-git/doc/guix.texi:18397
  26852. #, no-wrap
  26853. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  26854. msgstr ""
  26855. #. type: table
  26856. #: guix-git/doc/guix.texi:18399
  26857. msgid "Whether to allow TCP forwarding."
  26858. msgstr ""
  26859. #. type: item
  26860. #: guix-git/doc/guix.texi:18400
  26861. #, no-wrap
  26862. msgid "@code{gateway-ports?} (default: @code{#f})"
  26863. msgstr ""
  26864. #. type: table
  26865. #: guix-git/doc/guix.texi:18402
  26866. msgid "Whether to allow gateway ports."
  26867. msgstr ""
  26868. #. type: item
  26869. #: guix-git/doc/guix.texi:18403
  26870. #, no-wrap
  26871. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  26872. msgstr ""
  26873. #. type: table
  26874. #: guix-git/doc/guix.texi:18406
  26875. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  26876. msgstr ""
  26877. #. type: item
  26878. #: guix-git/doc/guix.texi:18407
  26879. #, no-wrap
  26880. msgid "@code{use-pam?} (default: @code{#t})"
  26881. msgstr ""
  26882. #. type: table
  26883. #: guix-git/doc/guix.texi:18413
  26884. 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."
  26885. msgstr ""
  26886. #. type: table
  26887. #: guix-git/doc/guix.texi:18418
  26888. 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?}."
  26889. msgstr ""
  26890. #. type: item
  26891. #: guix-git/doc/guix.texi:18419
  26892. #, no-wrap
  26893. msgid "@code{print-last-log?} (default: @code{#t})"
  26894. msgstr ""
  26895. #. type: table
  26896. #: guix-git/doc/guix.texi:18422
  26897. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  26898. msgstr ""
  26899. #. type: item
  26900. #: guix-git/doc/guix.texi:18423
  26901. #, no-wrap
  26902. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  26903. msgstr ""
  26904. #. type: table
  26905. #: guix-git/doc/guix.texi:18425
  26906. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  26907. msgstr ""
  26908. #. type: table
  26909. #: guix-git/doc/guix.texi:18429
  26910. 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."
  26911. msgstr ""
  26912. #. type: table
  26913. #: guix-git/doc/guix.texi:18432
  26914. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  26915. msgstr ""
  26916. #. type: lisp
  26917. #: guix-git/doc/guix.texi:18437
  26918. #, no-wrap
  26919. msgid ""
  26920. "(service openssh-service-type\n"
  26921. " (openssh-configuration\n"
  26922. " (subsystems\n"
  26923. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  26924. msgstr ""
  26925. #. type: item
  26926. #: guix-git/doc/guix.texi:18439
  26927. #, no-wrap
  26928. msgid "@code{accepted-environment} (default: @code{'()})"
  26929. msgstr ""
  26930. #. type: table
  26931. #: guix-git/doc/guix.texi:18441
  26932. msgid "List of strings describing which environment variables may be exported."
  26933. msgstr ""
  26934. #. type: table
  26935. #: guix-git/doc/guix.texi:18444
  26936. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  26937. msgstr ""
  26938. #. type: table
  26939. #: guix-git/doc/guix.texi:18449
  26940. 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."
  26941. msgstr ""
  26942. #. type: lisp
  26943. #: guix-git/doc/guix.texi:18454
  26944. #, no-wrap
  26945. msgid ""
  26946. "(service openssh-service-type\n"
  26947. " (openssh-configuration\n"
  26948. " (accepted-environment '(\"COLORTERM\"))))\n"
  26949. msgstr ""
  26950. #. type: item
  26951. #: guix-git/doc/guix.texi:18456
  26952. #, no-wrap
  26953. msgid "@code{authorized-keys} (default: @code{'()})"
  26954. msgstr ""
  26955. #. type: cindex
  26956. #: guix-git/doc/guix.texi:18457
  26957. #, no-wrap
  26958. msgid "authorized keys, SSH"
  26959. msgstr ""
  26960. #. type: cindex
  26961. #: guix-git/doc/guix.texi:18458
  26962. #, no-wrap
  26963. msgid "SSH authorized keys"
  26964. msgstr ""
  26965. #. type: table
  26966. #: guix-git/doc/guix.texi:18462
  26967. 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:"
  26968. msgstr ""
  26969. #. type: lisp
  26970. #: guix-git/doc/guix.texi:18469
  26971. #, no-wrap
  26972. msgid ""
  26973. "(openssh-configuration\n"
  26974. " (authorized-keys\n"
  26975. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  26976. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  26977. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  26978. msgstr ""
  26979. #. type: table
  26980. #: guix-git/doc/guix.texi:18474
  26981. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  26982. msgstr ""
  26983. #. type: table
  26984. #: guix-git/doc/guix.texi:18477
  26985. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  26986. msgstr ""
  26987. #. type: table
  26988. #: guix-git/doc/guix.texi:18480
  26989. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  26990. msgstr ""
  26991. #. type: item
  26992. #: guix-git/doc/guix.texi:18481 guix-git/doc/guix.texi:18912
  26993. #, no-wrap
  26994. msgid "@code{log-level} (default: @code{'info})"
  26995. msgstr ""
  26996. #. type: table
  26997. #: guix-git/doc/guix.texi:18485
  26998. 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."
  26999. msgstr ""
  27000. #. type: item
  27001. #: guix-git/doc/guix.texi:18486 guix-git/doc/guix.texi:21328
  27002. #: guix-git/doc/guix.texi:26469
  27003. #, no-wrap
  27004. msgid "@code{extra-content} (default: @code{\"\"})"
  27005. msgstr ""
  27006. #. type: table
  27007. #: guix-git/doc/guix.texi:18491
  27008. 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:"
  27009. msgstr ""
  27010. #. type: lisp
  27011. #: guix-git/doc/guix.texi:18497
  27012. #, no-wrap
  27013. msgid ""
  27014. "(openssh-configuration\n"
  27015. " (extra-content \"\\\n"
  27016. "Match Address 192.168.0.1\n"
  27017. " PermitRootLogin yes\"))\n"
  27018. msgstr ""
  27019. #. type: deffn
  27020. #: guix-git/doc/guix.texi:18502
  27021. #, no-wrap
  27022. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  27023. msgstr ""
  27024. #. type: deffn
  27025. #: guix-git/doc/guix.texi:18506
  27026. 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."
  27027. msgstr ""
  27028. #. type: deffn
  27029. #: guix-git/doc/guix.texi:18509
  27030. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  27031. msgstr ""
  27032. #. type: lisp
  27033. #: guix-git/doc/guix.texi:18513
  27034. #, no-wrap
  27035. msgid ""
  27036. "(dropbear-service (dropbear-configuration\n"
  27037. " (port-number 1234)))\n"
  27038. msgstr ""
  27039. #. type: deftp
  27040. #: guix-git/doc/guix.texi:18516
  27041. #, no-wrap
  27042. msgid "{Data Type} dropbear-configuration"
  27043. msgstr ""
  27044. #. type: deftp
  27045. #: guix-git/doc/guix.texi:18518
  27046. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  27047. msgstr ""
  27048. #. type: item
  27049. #: guix-git/doc/guix.texi:18520
  27050. #, no-wrap
  27051. msgid "@code{dropbear} (default: @var{dropbear})"
  27052. msgstr ""
  27053. #. type: table
  27054. #: guix-git/doc/guix.texi:18522
  27055. msgid "The Dropbear package to use."
  27056. msgstr ""
  27057. #. type: item
  27058. #: guix-git/doc/guix.texi:18523
  27059. #, no-wrap
  27060. msgid "@code{port-number} (default: 22)"
  27061. msgstr ""
  27062. #. type: table
  27063. #: guix-git/doc/guix.texi:18525
  27064. msgid "The TCP port where the daemon waits for incoming connections."
  27065. msgstr ""
  27066. #. type: item
  27067. #: guix-git/doc/guix.texi:18526
  27068. #, no-wrap
  27069. msgid "@code{syslog-output?} (default: @code{#t})"
  27070. msgstr ""
  27071. #. type: table
  27072. #: guix-git/doc/guix.texi:18528
  27073. msgid "Whether to enable syslog output."
  27074. msgstr ""
  27075. #. type: item
  27076. #: guix-git/doc/guix.texi:18529
  27077. #, no-wrap
  27078. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  27079. msgstr ""
  27080. #. type: table
  27081. #: guix-git/doc/guix.texi:18531
  27082. msgid "File name of the daemon's PID file."
  27083. msgstr ""
  27084. #. type: item
  27085. #: guix-git/doc/guix.texi:18532
  27086. #, no-wrap
  27087. msgid "@code{root-login?} (default: @code{#f})"
  27088. msgstr ""
  27089. #. type: table
  27090. #: guix-git/doc/guix.texi:18534
  27091. msgid "Whether to allow @code{root} logins."
  27092. msgstr ""
  27093. #. type: table
  27094. #: guix-git/doc/guix.texi:18537
  27095. msgid "Whether to allow empty passwords."
  27096. msgstr ""
  27097. #. type: table
  27098. #: guix-git/doc/guix.texi:18540
  27099. msgid "Whether to enable password-based authentication."
  27100. msgstr ""
  27101. #. type: cindex
  27102. #: guix-git/doc/guix.texi:18543
  27103. #, no-wrap
  27104. msgid "AutoSSH"
  27105. msgstr ""
  27106. #. type: deffn
  27107. #: guix-git/doc/guix.texi:18544
  27108. #, no-wrap
  27109. msgid "{Scheme Variable} autossh-service-type"
  27110. msgstr ""
  27111. #. type: deffn
  27112. #: guix-git/doc/guix.texi:18552
  27113. 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."
  27114. msgstr ""
  27115. #. type: deffn
  27116. #: guix-git/doc/guix.texi:18556
  27117. 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."
  27118. msgstr ""
  27119. #. type: deffn
  27120. #: guix-git/doc/guix.texi:18561
  27121. 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:"
  27122. msgstr ""
  27123. #. type: lisp
  27124. #: guix-git/doc/guix.texi:18567
  27125. #, no-wrap
  27126. msgid ""
  27127. "(service autossh-service-type\n"
  27128. " (autossh-configuration\n"
  27129. " (user \"pino\")\n"
  27130. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  27131. msgstr ""
  27132. #. type: deftp
  27133. #: guix-git/doc/guix.texi:18570
  27134. #, no-wrap
  27135. msgid "{Data Type} autossh-configuration"
  27136. msgstr ""
  27137. #. type: deftp
  27138. #: guix-git/doc/guix.texi:18572
  27139. msgid "This data type represents the configuration of an AutoSSH service."
  27140. msgstr ""
  27141. #. type: item
  27142. #: guix-git/doc/guix.texi:18575
  27143. #, no-wrap
  27144. msgid "@code{user} (default @code{\"autossh\"})"
  27145. msgstr ""
  27146. #. type: table
  27147. #: guix-git/doc/guix.texi:18578
  27148. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  27149. msgstr ""
  27150. #. type: item
  27151. #: guix-git/doc/guix.texi:18579
  27152. #, no-wrap
  27153. msgid "@code{poll} (default @code{600})"
  27154. msgstr ""
  27155. #. type: table
  27156. #: guix-git/doc/guix.texi:18581
  27157. msgid "Specifies the connection poll time in seconds."
  27158. msgstr ""
  27159. #. type: item
  27160. #: guix-git/doc/guix.texi:18582
  27161. #, no-wrap
  27162. msgid "@code{first-poll} (default @code{#f})"
  27163. msgstr ""
  27164. #. type: table
  27165. #: guix-git/doc/guix.texi:18588
  27166. 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}."
  27167. msgstr ""
  27168. #. type: item
  27169. #: guix-git/doc/guix.texi:18589
  27170. #, no-wrap
  27171. msgid "@code{gate-time} (default @code{30})"
  27172. msgstr ""
  27173. #. type: table
  27174. #: guix-git/doc/guix.texi:18592
  27175. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  27176. msgstr ""
  27177. #. type: item
  27178. #: guix-git/doc/guix.texi:18593
  27179. #, no-wrap
  27180. msgid "@code{log-level} (default @code{1})"
  27181. msgstr ""
  27182. #. type: table
  27183. #: guix-git/doc/guix.texi:18596
  27184. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  27185. msgstr ""
  27186. #. type: item
  27187. #: guix-git/doc/guix.texi:18597
  27188. #, no-wrap
  27189. msgid "@code{max-start} (default @code{#f})"
  27190. msgstr ""
  27191. #. type: table
  27192. #: guix-git/doc/guix.texi:18600
  27193. 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."
  27194. msgstr ""
  27195. #. type: item
  27196. #: guix-git/doc/guix.texi:18601
  27197. #, no-wrap
  27198. msgid "@code{message} (default @code{\"\"})"
  27199. msgstr ""
  27200. #. type: table
  27201. #: guix-git/doc/guix.texi:18603
  27202. msgid "The message to append to the echo message sent when testing connections."
  27203. msgstr ""
  27204. #. type: item
  27205. #: guix-git/doc/guix.texi:18604
  27206. #, no-wrap
  27207. msgid "@code{port} (default @code{\"0\"})"
  27208. msgstr ""
  27209. #. type: table
  27210. #: guix-git/doc/guix.texi:18614
  27211. 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."
  27212. msgstr ""
  27213. #. type: item
  27214. #: guix-git/doc/guix.texi:18615
  27215. #, no-wrap
  27216. msgid "@code{ssh-options} (default @code{'()})"
  27217. msgstr ""
  27218. #. type: table
  27219. #: guix-git/doc/guix.texi:18619
  27220. 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."
  27221. msgstr ""
  27222. #. type: cindex
  27223. #: guix-git/doc/guix.texi:18623
  27224. #, no-wrap
  27225. msgid "WebSSH"
  27226. msgstr ""
  27227. #. type: deffn
  27228. #: guix-git/doc/guix.texi:18624
  27229. #, no-wrap
  27230. msgid "{Scheme Variable} webssh-service-type"
  27231. msgstr ""
  27232. #. type: deffn
  27233. #: guix-git/doc/guix.texi:18630
  27234. 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."
  27235. msgstr ""
  27236. #. type: deffn
  27237. #: guix-git/doc/guix.texi:18636
  27238. 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:"
  27239. msgstr ""
  27240. #. type: lisp
  27241. #: guix-git/doc/guix.texi:18644
  27242. #, no-wrap
  27243. msgid ""
  27244. "(service webssh-service-type\n"
  27245. " (webssh-configuration (address \"127.0.0.1\")\n"
  27246. " (port 8888)\n"
  27247. " (policy 'reject)\n"
  27248. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  27249. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  27250. "\n"
  27251. msgstr ""
  27252. #. type: lisp
  27253. #: guix-git/doc/guix.texi:18660
  27254. #, no-wrap
  27255. msgid ""
  27256. "(service nginx-service-type\n"
  27257. " (nginx-configuration\n"
  27258. " (server-blocks\n"
  27259. " (list\n"
  27260. " (nginx-server-configuration\n"
  27261. " (inherit %webssh-configuration-nginx)\n"
  27262. " (server-name '(\"webssh.example.com\"))\n"
  27263. " (listen '(\"443 ssl\"))\n"
  27264. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  27265. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  27266. " (locations\n"
  27267. " (cons (nginx-location-configuration\n"
  27268. " (uri \"/.well-known\")\n"
  27269. " (body '(\"root /var/www;\")))\n"
  27270. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  27271. msgstr ""
  27272. #. type: deftp
  27273. #: guix-git/doc/guix.texi:18663
  27274. #, no-wrap
  27275. msgid "{Data Type} webssh-configuration"
  27276. msgstr ""
  27277. #. type: deftp
  27278. #: guix-git/doc/guix.texi:18665
  27279. msgid "Data type representing the configuration for @code{webssh-service}."
  27280. msgstr ""
  27281. #. type: item
  27282. #: guix-git/doc/guix.texi:18667
  27283. #, no-wrap
  27284. msgid "@code{package} (default: @var{webssh})"
  27285. msgstr ""
  27286. #. type: table
  27287. #: guix-git/doc/guix.texi:18669
  27288. msgid "@code{webssh} package to use."
  27289. msgstr ""
  27290. #. type: item
  27291. #: guix-git/doc/guix.texi:18670
  27292. #, no-wrap
  27293. msgid "@code{user-name} (default: @var{\"webssh\"})"
  27294. msgstr ""
  27295. #. type: table
  27296. #: guix-git/doc/guix.texi:18673
  27297. msgid "User name or user ID that file transfers to and from that module should take place."
  27298. msgstr ""
  27299. #. type: item
  27300. #: guix-git/doc/guix.texi:18674
  27301. #, no-wrap
  27302. msgid "@code{group-name} (default: @var{\"webssh\"})"
  27303. msgstr ""
  27304. #. type: item
  27305. #: guix-git/doc/guix.texi:18677
  27306. #, no-wrap
  27307. msgid "@code{address} (default: @var{#f})"
  27308. msgstr ""
  27309. #. type: table
  27310. #: guix-git/doc/guix.texi:18679
  27311. msgid "IP address on which @command{webssh} listens for incoming connections."
  27312. msgstr ""
  27313. #. type: item
  27314. #: guix-git/doc/guix.texi:18680
  27315. #, no-wrap
  27316. msgid "@code{port} (default: @var{8888})"
  27317. msgstr ""
  27318. #. type: table
  27319. #: guix-git/doc/guix.texi:18682
  27320. msgid "TCP port on which @command{webssh} listens for incoming connections."
  27321. msgstr ""
  27322. #. type: item
  27323. #: guix-git/doc/guix.texi:18683
  27324. #, no-wrap
  27325. msgid "@code{policy} (default: @var{#f})"
  27326. msgstr ""
  27327. #. type: table
  27328. #: guix-git/doc/guix.texi:18685
  27329. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  27330. msgstr ""
  27331. #. type: item
  27332. #: guix-git/doc/guix.texi:18686
  27333. #, no-wrap
  27334. msgid "@code{known-hosts} (default: @var{'()})"
  27335. msgstr ""
  27336. #. type: table
  27337. #: guix-git/doc/guix.texi:18688
  27338. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  27339. msgstr ""
  27340. #. type: item
  27341. #: guix-git/doc/guix.texi:18689
  27342. #, no-wrap
  27343. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  27344. msgstr ""
  27345. #. type: table
  27346. #: guix-git/doc/guix.texi:18691
  27347. msgid "Name of the file where @command{webssh} writes its log file."
  27348. msgstr ""
  27349. #. type: item
  27350. #: guix-git/doc/guix.texi:18692
  27351. #, no-wrap
  27352. msgid "@code{log-level} (default: @var{#f})"
  27353. msgstr ""
  27354. #. type: table
  27355. #: guix-git/doc/guix.texi:18694
  27356. msgid "Logging level."
  27357. msgstr ""
  27358. #. type: defvr
  27359. #: guix-git/doc/guix.texi:18698
  27360. #, no-wrap
  27361. msgid "{Scheme Variable} %facebook-host-aliases"
  27362. msgstr ""
  27363. #. type: defvr
  27364. #: guix-git/doc/guix.texi:18704
  27365. 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}."
  27366. msgstr ""
  27367. #. type: defvr
  27368. #: guix-git/doc/guix.texi:18708
  27369. 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}}):"
  27370. msgstr ""
  27371. #. type: lisp
  27372. #: guix-git/doc/guix.texi:18721
  27373. #, no-wrap
  27374. msgid ""
  27375. "(operating-system\n"
  27376. " (host-name \"mymachine\")\n"
  27377. " ;; ...\n"
  27378. " (hosts-file\n"
  27379. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  27380. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  27381. " (plain-file \"hosts\"\n"
  27382. " (string-append (local-host-aliases host-name)\n"
  27383. " %facebook-host-aliases))))\n"
  27384. msgstr ""
  27385. #. type: defvr
  27386. #: guix-git/doc/guix.texi:18725
  27387. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  27388. msgstr ""
  27389. #. type: Plain text
  27390. #: guix-git/doc/guix.texi:18728
  27391. msgid "The @code{(gnu services avahi)} provides the following definition."
  27392. msgstr ""
  27393. #. type: defvr
  27394. #: guix-git/doc/guix.texi:18729
  27395. #, no-wrap
  27396. msgid "{Scheme Variable} avahi-service-type"
  27397. msgstr ""
  27398. #. type: defvr
  27399. #: guix-git/doc/guix.texi:18734
  27400. 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."
  27401. msgstr ""
  27402. #. type: defvr
  27403. #: guix-git/doc/guix.texi:18739
  27404. 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."
  27405. msgstr ""
  27406. #. type: defvr
  27407. #: guix-git/doc/guix.texi:18742
  27408. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  27409. msgstr ""
  27410. #. type: deftp
  27411. #: guix-git/doc/guix.texi:18744
  27412. #, no-wrap
  27413. msgid "{Data Type} avahi-configuration"
  27414. msgstr ""
  27415. #. type: deftp
  27416. #: guix-git/doc/guix.texi:18746
  27417. msgid "Data type representation the configuration for Avahi."
  27418. msgstr ""
  27419. #. type: item
  27420. #: guix-git/doc/guix.texi:18749
  27421. #, no-wrap
  27422. msgid "@code{host-name} (default: @code{#f})"
  27423. msgstr ""
  27424. #. type: table
  27425. #: guix-git/doc/guix.texi:18752
  27426. 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."
  27427. msgstr ""
  27428. #. type: item
  27429. #: guix-git/doc/guix.texi:18753 guix-git/doc/guix.texi:29132
  27430. #, no-wrap
  27431. msgid "@code{publish?} (default: @code{#t})"
  27432. msgstr ""
  27433. #. type: table
  27434. #: guix-git/doc/guix.texi:18756
  27435. msgid "When true, allow host names and services to be published (broadcast) over the network."
  27436. msgstr ""
  27437. #. type: item
  27438. #: guix-git/doc/guix.texi:18757
  27439. #, no-wrap
  27440. msgid "@code{publish-workstation?} (default: @code{#t})"
  27441. msgstr ""
  27442. #. type: table
  27443. #: guix-git/doc/guix.texi:18761
  27444. 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:"
  27445. msgstr ""
  27446. #. type: example
  27447. #: guix-git/doc/guix.texi:18764
  27448. #, no-wrap
  27449. msgid "avahi-browse _workstation._tcp\n"
  27450. msgstr ""
  27451. #. type: item
  27452. #: guix-git/doc/guix.texi:18766
  27453. #, no-wrap
  27454. msgid "@code{wide-area?} (default: @code{#f})"
  27455. msgstr ""
  27456. #. type: table
  27457. #: guix-git/doc/guix.texi:18768
  27458. msgid "When true, DNS-SD over unicast DNS is enabled."
  27459. msgstr ""
  27460. #. type: item
  27461. #: guix-git/doc/guix.texi:18769
  27462. #, no-wrap
  27463. msgid "@code{ipv4?} (default: @code{#t})"
  27464. msgstr ""
  27465. #. type: itemx
  27466. #: guix-git/doc/guix.texi:18770
  27467. #, no-wrap
  27468. msgid "@code{ipv6?} (default: @code{#t})"
  27469. msgstr ""
  27470. #. type: table
  27471. #: guix-git/doc/guix.texi:18772
  27472. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  27473. msgstr ""
  27474. #. type: item
  27475. #: guix-git/doc/guix.texi:18773
  27476. #, no-wrap
  27477. msgid "@code{domains-to-browse} (default: @code{'()})"
  27478. msgstr ""
  27479. #. type: table
  27480. #: guix-git/doc/guix.texi:18775
  27481. msgid "This is a list of domains to browse."
  27482. msgstr ""
  27483. #. type: deffn
  27484. #: guix-git/doc/guix.texi:18778
  27485. #, no-wrap
  27486. msgid "{Scheme Variable} openvswitch-service-type"
  27487. msgstr ""
  27488. #. type: deffn
  27489. #: guix-git/doc/guix.texi:18782
  27490. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  27491. msgstr ""
  27492. #. type: deftp
  27493. #: guix-git/doc/guix.texi:18784
  27494. #, no-wrap
  27495. msgid "{Data Type} openvswitch-configuration"
  27496. msgstr ""
  27497. #. type: deftp
  27498. #: guix-git/doc/guix.texi:18788
  27499. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  27500. msgstr ""
  27501. #. type: item
  27502. #: guix-git/doc/guix.texi:18790
  27503. #, no-wrap
  27504. msgid "@code{package} (default: @var{openvswitch})"
  27505. msgstr ""
  27506. #. type: table
  27507. #: guix-git/doc/guix.texi:18792
  27508. msgid "Package object of the Open vSwitch."
  27509. msgstr ""
  27510. #. type: defvr
  27511. #: guix-git/doc/guix.texi:18796
  27512. #, no-wrap
  27513. msgid "{Scheme Variable} pagekite-service-type"
  27514. msgstr ""
  27515. #. type: defvr
  27516. #: guix-git/doc/guix.texi:18801
  27517. 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."
  27518. msgstr ""
  27519. #. type: defvr
  27520. #: guix-git/doc/guix.texi:18803
  27521. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  27522. msgstr ""
  27523. #. type: lisp
  27524. #: guix-git/doc/guix.texi:18810
  27525. #, no-wrap
  27526. msgid ""
  27527. "(service pagekite-service-type\n"
  27528. " (pagekite-configuration\n"
  27529. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  27530. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  27531. " (extra-file \"/etc/pagekite.rc\")))\n"
  27532. msgstr ""
  27533. #. type: deftp
  27534. #: guix-git/doc/guix.texi:18813
  27535. #, no-wrap
  27536. msgid "{Data Type} pagekite-configuration"
  27537. msgstr ""
  27538. #. type: deftp
  27539. #: guix-git/doc/guix.texi:18815
  27540. msgid "Data type representing the configuration of PageKite."
  27541. msgstr ""
  27542. #. type: item
  27543. #: guix-git/doc/guix.texi:18817
  27544. #, no-wrap
  27545. msgid "@code{package} (default: @var{pagekite})"
  27546. msgstr ""
  27547. #. type: table
  27548. #: guix-git/doc/guix.texi:18819
  27549. msgid "Package object of PageKite."
  27550. msgstr ""
  27551. #. type: item
  27552. #: guix-git/doc/guix.texi:18820
  27553. #, no-wrap
  27554. msgid "@code{kitename} (default: @code{#f})"
  27555. msgstr ""
  27556. #. type: table
  27557. #: guix-git/doc/guix.texi:18822
  27558. msgid "PageKite name for authenticating to the frontend server."
  27559. msgstr ""
  27560. #. type: item
  27561. #: guix-git/doc/guix.texi:18823
  27562. #, no-wrap
  27563. msgid "@code{kitesecret} (default: @code{#f})"
  27564. msgstr ""
  27565. #. type: table
  27566. #: guix-git/doc/guix.texi:18826
  27567. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  27568. msgstr ""
  27569. #. type: item
  27570. #: guix-git/doc/guix.texi:18827
  27571. #, no-wrap
  27572. msgid "@code{frontend} (default: @code{#f})"
  27573. msgstr ""
  27574. #. type: table
  27575. #: guix-git/doc/guix.texi:18830
  27576. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  27577. msgstr ""
  27578. #. type: item
  27579. #: guix-git/doc/guix.texi:18831
  27580. #, no-wrap
  27581. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  27582. msgstr ""
  27583. #. type: table
  27584. #: guix-git/doc/guix.texi:18834
  27585. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  27586. msgstr ""
  27587. #. type: item
  27588. #: guix-git/doc/guix.texi:18835
  27589. #, no-wrap
  27590. msgid "@code{extra-file} (default: @code{#f})"
  27591. msgstr ""
  27592. #. type: table
  27593. #: guix-git/doc/guix.texi:18838
  27594. 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."
  27595. msgstr ""
  27596. #. type: defvr
  27597. #: guix-git/doc/guix.texi:18842
  27598. #, no-wrap
  27599. msgid "{Scheme Variable} yggdrasil-service-type"
  27600. msgstr ""
  27601. #. type: defvr
  27602. #: guix-git/doc/guix.texi:18846
  27603. 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."
  27604. msgstr ""
  27605. #. type: quotation
  27606. #: guix-git/doc/guix.texi:18853
  27607. 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}"
  27608. msgstr ""
  27609. #. type: defvr
  27610. #: guix-git/doc/guix.texi:18857
  27611. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  27612. msgstr ""
  27613. #. type: defvr
  27614. #: guix-git/doc/guix.texi:18861
  27615. 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})."
  27616. msgstr ""
  27617. #. type: lisp
  27618. #: guix-git/doc/guix.texi:18873
  27619. #, no-wrap
  27620. msgid ""
  27621. ";; part of the operating-system declaration\n"
  27622. "(service yggdrasil-service-type\n"
  27623. " (yggdrasil-configuration\n"
  27624. " (autoconf? #f) ;; use only the public peers\n"
  27625. " (json-config\n"
  27626. " ;; choose one from\n"
  27627. " ;; https://github.com/yggdrasil-network/public-peers\n"
  27628. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  27629. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  27630. " ))\n"
  27631. msgstr ""
  27632. #. type: example
  27633. #: guix-git/doc/guix.texi:18880
  27634. #, no-wrap
  27635. msgid ""
  27636. "# sample content for /etc/yggdrasil-private.conf\n"
  27637. "@{\n"
  27638. " # Your public encryption key. Your peers may ask you for this to put\n"
  27639. " # into their AllowedEncryptionPublicKeys configuration.\n"
  27640. " EncryptionPublicKey: 378dc5...\n"
  27641. "\n"
  27642. msgstr ""
  27643. #. type: example
  27644. #: guix-git/doc/guix.texi:18883
  27645. #, no-wrap
  27646. msgid ""
  27647. " # Your private encryption key. DO NOT share this with anyone!\n"
  27648. " EncryptionPrivateKey: 0777...\n"
  27649. "\n"
  27650. msgstr ""
  27651. #. type: example
  27652. #: guix-git/doc/guix.texi:18887
  27653. #, no-wrap
  27654. msgid ""
  27655. " # Your public signing key. You should not ordinarily need to share\n"
  27656. " # this with anyone.\n"
  27657. " SigningPublicKey: e1664...\n"
  27658. "\n"
  27659. msgstr ""
  27660. #. type: example
  27661. #: guix-git/doc/guix.texi:18891
  27662. #, no-wrap
  27663. msgid ""
  27664. " # Your private signing key. DO NOT share this with anyone!\n"
  27665. " SigningPrivateKey: 0589d...\n"
  27666. "@}\n"
  27667. msgstr ""
  27668. #. type: deftp
  27669. #: guix-git/doc/guix.texi:18894
  27670. #, no-wrap
  27671. msgid "{Data Type} yggdrasil-configuration"
  27672. msgstr ""
  27673. #. type: deftp
  27674. #: guix-git/doc/guix.texi:18896
  27675. msgid "Data type representing the configuration of Yggdrasil."
  27676. msgstr ""
  27677. #. type: item
  27678. #: guix-git/doc/guix.texi:18898
  27679. #, no-wrap
  27680. msgid "@code{package} (default: @code{yggdrasil})"
  27681. msgstr ""
  27682. #. type: table
  27683. #: guix-git/doc/guix.texi:18900
  27684. msgid "Package object of Yggdrasil."
  27685. msgstr ""
  27686. #. type: item
  27687. #: guix-git/doc/guix.texi:18901
  27688. #, no-wrap
  27689. msgid "@code{json-config} (default: @code{'()})"
  27690. msgstr ""
  27691. #. type: table
  27692. #: guix-git/doc/guix.texi:18907
  27693. 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."
  27694. msgstr ""
  27695. #. type: item
  27696. #: guix-git/doc/guix.texi:18908
  27697. #, no-wrap
  27698. msgid "@code{autoconf?} (default: @code{#f})"
  27699. msgstr ""
  27700. #. type: table
  27701. #: guix-git/doc/guix.texi:18911
  27702. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  27703. msgstr ""
  27704. #. type: table
  27705. #: guix-git/doc/guix.texi:18914
  27706. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  27707. msgstr ""
  27708. #. type: item
  27709. #: guix-git/doc/guix.texi:18915
  27710. #, no-wrap
  27711. msgid "@code{log-to} (default: @code{'stdout})"
  27712. msgstr ""
  27713. #. type: table
  27714. #: guix-git/doc/guix.texi:18919
  27715. 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."
  27716. msgstr ""
  27717. #. type: item
  27718. #: guix-git/doc/guix.texi:18920
  27719. #, no-wrap
  27720. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  27721. msgstr ""
  27722. #. type: table
  27723. #: guix-git/doc/guix.texi:18927
  27724. 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:"
  27725. msgstr ""
  27726. #. type: code{#1}
  27727. #: guix-git/doc/guix.texi:18929
  27728. #, no-wrap
  27729. msgid "EncryptionPublicKey"
  27730. msgstr ""
  27731. #. type: code{#1}
  27732. #: guix-git/doc/guix.texi:18930
  27733. #, no-wrap
  27734. msgid "EncryptionPrivateKey"
  27735. msgstr ""
  27736. #. type: code{#1}
  27737. #: guix-git/doc/guix.texi:18931
  27738. #, no-wrap
  27739. msgid "SigningPublicKey"
  27740. msgstr ""
  27741. #. type: code{#1}
  27742. #: guix-git/doc/guix.texi:18932
  27743. #, no-wrap
  27744. msgid "SigningPrivateKey"
  27745. msgstr ""
  27746. #. type: cindex
  27747. #: guix-git/doc/guix.texi:18937
  27748. #, no-wrap
  27749. msgid "IPFS"
  27750. msgstr ""
  27751. #. type: defvr
  27752. #: guix-git/doc/guix.texi:18938
  27753. #, no-wrap
  27754. msgid "{Scheme Variable} ipfs-service-type"
  27755. msgstr ""
  27756. #. type: defvr
  27757. #: guix-git/doc/guix.texi:18942
  27758. 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."
  27759. msgstr ""
  27760. #. type: defvr
  27761. #: guix-git/doc/guix.texi:18944
  27762. msgid "Here's an example configuration, using some non-standard ports:"
  27763. msgstr ""
  27764. #. type: lisp
  27765. #: guix-git/doc/guix.texi:18950
  27766. #, no-wrap
  27767. msgid ""
  27768. "(service ipfs-service-type\n"
  27769. " (ipfs-configuration\n"
  27770. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  27771. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  27772. msgstr ""
  27773. #. type: deftp
  27774. #: guix-git/doc/guix.texi:18953
  27775. #, no-wrap
  27776. msgid "{Data Type} ipfs-configuration"
  27777. msgstr ""
  27778. #. type: deftp
  27779. #: guix-git/doc/guix.texi:18955
  27780. msgid "Data type representing the configuration of IPFS."
  27781. msgstr ""
  27782. #. type: item
  27783. #: guix-git/doc/guix.texi:18957
  27784. #, no-wrap
  27785. msgid "@code{package} (default: @code{go-ipfs})"
  27786. msgstr ""
  27787. #. type: table
  27788. #: guix-git/doc/guix.texi:18959
  27789. msgid "Package object of IPFS."
  27790. msgstr ""
  27791. #. type: item
  27792. #: guix-git/doc/guix.texi:18960
  27793. #, no-wrap
  27794. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  27795. msgstr ""
  27796. #. type: table
  27797. #: guix-git/doc/guix.texi:18962
  27798. msgid "Address of the gateway, in ‘multiaddress’ format."
  27799. msgstr ""
  27800. #. type: item
  27801. #: guix-git/doc/guix.texi:18963
  27802. #, no-wrap
  27803. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  27804. msgstr ""
  27805. #. type: table
  27806. #: guix-git/doc/guix.texi:18965
  27807. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  27808. msgstr ""
  27809. #. type: cindex
  27810. #: guix-git/doc/guix.texi:18968
  27811. #, no-wrap
  27812. msgid "keepalived"
  27813. msgstr ""
  27814. #. type: deffn
  27815. #: guix-git/doc/guix.texi:18969
  27816. #, no-wrap
  27817. msgid "{Scheme Variable} keepalived-service-type"
  27818. msgstr ""
  27819. #. type: deffn
  27820. #: guix-git/doc/guix.texi:18974
  27821. 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:"
  27822. msgstr ""
  27823. #. type: lisp
  27824. #: guix-git/doc/guix.texi:18979
  27825. #, no-wrap
  27826. msgid ""
  27827. "(service keepalived-service-type\n"
  27828. " (keepalived-configuration\n"
  27829. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  27830. msgstr ""
  27831. #. type: deffn
  27832. #: guix-git/doc/guix.texi:18982
  27833. msgid "where @file{keepalived-master.conf}:"
  27834. msgstr ""
  27835. #. type: example
  27836. #: guix-git/doc/guix.texi:18994
  27837. #, no-wrap
  27838. msgid ""
  27839. "vrrp_instance my-group @{\n"
  27840. " state MASTER\n"
  27841. " interface enp9s0\n"
  27842. " virtual_router_id 100\n"
  27843. " priority 100\n"
  27844. " unicast_peer @{ 10.0.0.2 @}\n"
  27845. " virtual_ipaddress @{\n"
  27846. " 10.0.0.4/24\n"
  27847. " @}\n"
  27848. "@}\n"
  27849. msgstr ""
  27850. #. type: deffn
  27851. #: guix-git/doc/guix.texi:18997
  27852. msgid "and for backup machine:"
  27853. msgstr ""
  27854. #. type: lisp
  27855. #: guix-git/doc/guix.texi:19002
  27856. #, no-wrap
  27857. msgid ""
  27858. "(service keepalived-service-type\n"
  27859. " (keepalived-configuration\n"
  27860. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  27861. msgstr ""
  27862. #. type: deffn
  27863. #: guix-git/doc/guix.texi:19005
  27864. msgid "where @file{keepalived-backup.conf}:"
  27865. msgstr ""
  27866. #. type: example
  27867. #: guix-git/doc/guix.texi:19017
  27868. #, no-wrap
  27869. msgid ""
  27870. "vrrp_instance my-group @{\n"
  27871. " state BACKUP\n"
  27872. " interface enp9s0\n"
  27873. " virtual_router_id 100\n"
  27874. " priority 99\n"
  27875. " unicast_peer @{ 10.0.0.3 @}\n"
  27876. " virtual_ipaddress @{\n"
  27877. " 10.0.0.4/24\n"
  27878. " @}\n"
  27879. "@}\n"
  27880. msgstr ""
  27881. #. type: cindex
  27882. #: guix-git/doc/guix.texi:19023
  27883. #, no-wrap
  27884. msgid "unattended upgrades"
  27885. msgstr ""
  27886. #. type: cindex
  27887. #: guix-git/doc/guix.texi:19024
  27888. #, no-wrap
  27889. msgid "upgrades, unattended"
  27890. msgstr ""
  27891. #. type: Plain text
  27892. #: guix-git/doc/guix.texi:19029
  27893. 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:"
  27894. msgstr ""
  27895. #. type: itemize
  27896. #: guix-git/doc/guix.texi:19034
  27897. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  27898. msgstr ""
  27899. #. type: itemize
  27900. #: guix-git/doc/guix.texi:19038
  27901. 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;"
  27902. msgstr ""
  27903. #. type: itemize
  27904. #: guix-git/doc/guix.texi:19041
  27905. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  27906. msgstr ""
  27907. #. type: itemize
  27908. #: guix-git/doc/guix.texi:19044
  27909. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  27910. msgstr ""
  27911. #. type: Plain text
  27912. #: guix-git/doc/guix.texi:19049
  27913. 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:"
  27914. msgstr ""
  27915. #. type: lisp
  27916. #: guix-git/doc/guix.texi:19052
  27917. #, no-wrap
  27918. msgid "(service unattended-upgrade-service-type)\n"
  27919. msgstr ""
  27920. #. type: Plain text
  27921. #: guix-git/doc/guix.texi:19059
  27922. 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."
  27923. msgstr ""
  27924. #. type: Plain text
  27925. #: guix-git/doc/guix.texi:19065
  27926. 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."
  27927. msgstr ""
  27928. #. type: Plain text
  27929. #: guix-git/doc/guix.texi:19069
  27930. 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)."
  27931. msgstr ""
  27932. #. type: defvr
  27933. #: guix-git/doc/guix.texi:19070
  27934. #, no-wrap
  27935. msgid "{Scheme Variable} unattended-upgrade-service-type"
  27936. msgstr ""
  27937. #. type: defvr
  27938. #: guix-git/doc/guix.texi:19074
  27939. 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."
  27940. msgstr ""
  27941. #. type: defvr
  27942. #: guix-git/doc/guix.texi:19077
  27943. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  27944. msgstr ""
  27945. #. type: deftp
  27946. #: guix-git/doc/guix.texi:19079
  27947. #, no-wrap
  27948. msgid "{Data Type} unattended-upgrade-configuration"
  27949. msgstr ""
  27950. #. type: deftp
  27951. #: guix-git/doc/guix.texi:19082
  27952. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  27953. msgstr ""
  27954. #. type: item
  27955. #: guix-git/doc/guix.texi:19084
  27956. #, no-wrap
  27957. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  27958. msgstr ""
  27959. #. type: table
  27960. #: guix-git/doc/guix.texi:19088
  27961. 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})."
  27962. msgstr ""
  27963. #. type: item
  27964. #: guix-git/doc/guix.texi:19089
  27965. #, no-wrap
  27966. msgid "@code{channels} (default: @code{#~%default-channels})"
  27967. msgstr ""
  27968. #. type: table
  27969. #: guix-git/doc/guix.texi:19093
  27970. 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."
  27971. msgstr ""
  27972. #. type: item
  27973. #: guix-git/doc/guix.texi:19094
  27974. #, no-wrap
  27975. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  27976. msgstr ""
  27977. #. type: table
  27978. #: guix-git/doc/guix.texi:19097
  27979. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  27980. msgstr ""
  27981. #. type: table
  27982. #: guix-git/doc/guix.texi:19103
  27983. 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:"
  27984. msgstr ""
  27985. #. type: lisp
  27986. #: guix-git/doc/guix.texi:19109
  27987. #, no-wrap
  27988. msgid ""
  27989. "(unattended-upgrade-configuration\n"
  27990. " (operating-system-file\n"
  27991. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  27992. " \"/config.scm\")))\n"
  27993. msgstr ""
  27994. #. type: table
  27995. #: guix-git/doc/guix.texi:19116
  27996. 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}."
  27997. msgstr ""
  27998. #. type: item
  27999. #: guix-git/doc/guix.texi:19117
  28000. #, no-wrap
  28001. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  28002. msgstr ""
  28003. #. type: table
  28004. #: guix-git/doc/guix.texi:19120
  28005. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  28006. msgstr ""
  28007. #. type: table
  28008. #: guix-git/doc/guix.texi:19127
  28009. 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."
  28010. msgstr ""
  28011. #. type: table
  28012. #: guix-git/doc/guix.texi:19131
  28013. 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}."
  28014. msgstr ""
  28015. #. type: table
  28016. #: guix-git/doc/guix.texi:19134
  28017. 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."
  28018. msgstr ""
  28019. #. type: item
  28020. #: guix-git/doc/guix.texi:19135
  28021. #, no-wrap
  28022. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  28023. msgstr ""
  28024. #. type: table
  28025. #: guix-git/doc/guix.texi:19139
  28026. 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."
  28027. msgstr ""
  28028. #. type: quotation
  28029. #: guix-git/doc/guix.texi:19144
  28030. 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."
  28031. msgstr ""
  28032. #. type: item
  28033. #: guix-git/doc/guix.texi:19146
  28034. #, no-wrap
  28035. msgid "@code{maximum-duration} (default: @code{3600})"
  28036. msgstr ""
  28037. #. type: table
  28038. #: guix-git/doc/guix.texi:19149
  28039. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  28040. msgstr ""
  28041. #. type: table
  28042. #: guix-git/doc/guix.texi:19152
  28043. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  28044. msgstr ""
  28045. #. type: item
  28046. #: guix-git/doc/guix.texi:19153
  28047. #, no-wrap
  28048. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  28049. msgstr ""
  28050. #. type: table
  28051. #: guix-git/doc/guix.texi:19155
  28052. msgid "File where unattended upgrades are logged."
  28053. msgstr ""
  28054. #. type: cindex
  28055. #: guix-git/doc/guix.texi:19161
  28056. #, no-wrap
  28057. msgid "X11"
  28058. msgstr ""
  28059. #. type: cindex
  28060. #: guix-git/doc/guix.texi:19162
  28061. #, no-wrap
  28062. msgid "X Window System"
  28063. msgstr ""
  28064. #. type: cindex
  28065. #: guix-git/doc/guix.texi:19163 guix-git/doc/guix.texi:19436
  28066. #, no-wrap
  28067. msgid "login manager"
  28068. msgstr ""
  28069. #. type: Plain text
  28070. #: guix-git/doc/guix.texi:19168
  28071. 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)."
  28072. msgstr ""
  28073. #. type: cindex
  28074. #: guix-git/doc/guix.texi:19169
  28075. #, no-wrap
  28076. msgid "GDM"
  28077. msgstr ""
  28078. #. type: cindex
  28079. #: guix-git/doc/guix.texi:19170
  28080. #, no-wrap
  28081. msgid "GNOME, login manager"
  28082. msgstr ""
  28083. #. type: Plain text
  28084. #: guix-git/doc/guix.texi:19174
  28085. 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."
  28086. msgstr ""
  28087. #. type: cindex
  28088. #: guix-git/doc/guix.texi:19175
  28089. #, no-wrap
  28090. msgid "window manager"
  28091. msgstr ""
  28092. #. type: Plain text
  28093. #: guix-git/doc/guix.texi:19180
  28094. 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})."
  28095. msgstr ""
  28096. #. type: anchor{#1}
  28097. #: guix-git/doc/guix.texi:19186
  28098. msgid "wayland-gdm"
  28099. msgstr ""
  28100. #. type: Plain text
  28101. #: guix-git/doc/guix.texi:19186
  28102. msgid "GDM also supports Wayland: it can itself use Wayland instead of X11 for its user interface, and it can also start Wayland sessions. The former is required for the latter, to enable, set @code{wayland?} to @code{#t} in @code{gdm-configuration}."
  28103. msgstr ""
  28104. #. type: defvr
  28105. #: guix-git/doc/guix.texi:19187
  28106. #, no-wrap
  28107. msgid "{Scheme Variable} gdm-service-type"
  28108. msgstr ""
  28109. #. type: defvr
  28110. #: guix-git/doc/guix.texi:19192
  28111. 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)."
  28112. msgstr ""
  28113. #. type: cindex
  28114. #: guix-git/doc/guix.texi:19193
  28115. #, no-wrap
  28116. msgid "session types"
  28117. msgstr ""
  28118. #. type: defvr
  28119. #: guix-git/doc/guix.texi:19201
  28120. msgid "GDM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} (for X11 sessions) and @file{/run/current-system/profile/share/wayland-sessions} (for Wayland sessions) and allows users to choose a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, @code{i3} and @code{sway} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen."
  28121. msgstr ""
  28122. #. type: defvr
  28123. #: guix-git/doc/guix.texi:19205
  28124. 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."
  28125. msgstr ""
  28126. #. type: deftp
  28127. #: guix-git/doc/guix.texi:19207
  28128. #, no-wrap
  28129. msgid "{Data Type} gdm-configuration"
  28130. msgstr ""
  28131. #. type: item
  28132. #: guix-git/doc/guix.texi:19209 guix-git/doc/guix.texi:19291
  28133. #, no-wrap
  28134. msgid "@code{auto-login?} (default: @code{#f})"
  28135. msgstr ""
  28136. #. type: itemx
  28137. #: guix-git/doc/guix.texi:19210
  28138. #, no-wrap
  28139. msgid "@code{default-user} (default: @code{#f})"
  28140. msgstr ""
  28141. #. type: table
  28142. #: guix-git/doc/guix.texi:19212
  28143. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  28144. msgstr ""
  28145. #. type: table
  28146. #: guix-git/doc/guix.texi:19215
  28147. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  28148. msgstr ""
  28149. #. type: item
  28150. #: guix-git/doc/guix.texi:19216 guix-git/doc/guix.texi:25077
  28151. #: guix-git/doc/guix.texi:26786 guix-git/doc/guix.texi:31266
  28152. #: guix-git/doc/guix.texi:31295 guix-git/doc/guix.texi:31324
  28153. #: guix-git/doc/guix.texi:31351 guix-git/doc/guix.texi:31406
  28154. #: guix-git/doc/guix.texi:31431 guix-git/doc/guix.texi:31458
  28155. #: guix-git/doc/guix.texi:31484 guix-git/doc/guix.texi:31526
  28156. #, no-wrap
  28157. msgid "@code{debug?} (default: @code{#f})"
  28158. msgstr ""
  28159. #. type: table
  28160. #: guix-git/doc/guix.texi:19218
  28161. msgid "When true, GDM writes debug messages to its log."
  28162. msgstr ""
  28163. #. type: item
  28164. #: guix-git/doc/guix.texi:19219
  28165. #, no-wrap
  28166. msgid "@code{gnome-shell-assets} (default: ...)"
  28167. msgstr ""
  28168. #. type: table
  28169. #: guix-git/doc/guix.texi:19221
  28170. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  28171. msgstr ""
  28172. #. type: item
  28173. #: guix-git/doc/guix.texi:19222
  28174. #, no-wrap
  28175. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  28176. msgstr ""
  28177. #. type: table
  28178. #: guix-git/doc/guix.texi:19224 guix-git/doc/guix.texi:19318
  28179. #: guix-git/doc/guix.texi:19402
  28180. msgid "Configuration of the Xorg graphical server."
  28181. msgstr ""
  28182. #. type: item
  28183. #: guix-git/doc/guix.texi:19225
  28184. #, no-wrap
  28185. msgid "@code{xsession} (default: @code{(xinitrc)})"
  28186. msgstr ""
  28187. #. type: table
  28188. #: guix-git/doc/guix.texi:19227 guix-git/doc/guix.texi:19417
  28189. msgid "Script to run before starting a X session."
  28190. msgstr ""
  28191. #. type: item
  28192. #: guix-git/doc/guix.texi:19228
  28193. #, no-wrap
  28194. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  28195. msgstr ""
  28196. #. type: table
  28197. #: guix-git/doc/guix.texi:19230
  28198. msgid "File name of the @code{dbus-daemon} executable."
  28199. msgstr ""
  28200. #. type: item
  28201. #: guix-git/doc/guix.texi:19231
  28202. #, no-wrap
  28203. msgid "@code{gdm} (default: @code{gdm})"
  28204. msgstr ""
  28205. #. type: table
  28206. #: guix-git/doc/guix.texi:19233
  28207. msgid "The GDM package to use."
  28208. msgstr ""
  28209. #. type: item
  28210. #: guix-git/doc/guix.texi:19234
  28211. #, no-wrap
  28212. msgid "@code{wayland?} (default: @code{#f})"
  28213. msgstr ""
  28214. #. type: table
  28215. #: guix-git/doc/guix.texi:19236
  28216. msgid "When true, enables Wayland in GDM, necessary to use Wayland sessions."
  28217. msgstr ""
  28218. #. type: item
  28219. #: guix-git/doc/guix.texi:19237
  28220. #, no-wrap
  28221. msgid "@code{wayland-session} (default: @code{gdm-wayland-session-wrapper})"
  28222. msgstr ""
  28223. #. type: table
  28224. #: guix-git/doc/guix.texi:19240
  28225. msgid "The Wayland session wrapper to use, needed to setup the environment."
  28226. msgstr ""
  28227. #. type: defvr
  28228. #: guix-git/doc/guix.texi:19243
  28229. #, no-wrap
  28230. msgid "{Scheme Variable} slim-service-type"
  28231. msgstr ""
  28232. #. type: defvr
  28233. #: guix-git/doc/guix.texi:19245
  28234. msgid "This is the type for the SLiM graphical login manager for X11."
  28235. msgstr ""
  28236. #. type: defvr
  28237. #: guix-git/doc/guix.texi:19249
  28238. 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."
  28239. msgstr ""
  28240. #. type: defvr
  28241. #: guix-git/doc/guix.texi:19256
  28242. 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."
  28243. msgstr ""
  28244. #. type: lisp
  28245. #: guix-git/doc/guix.texi:19261
  28246. #, no-wrap
  28247. msgid ""
  28248. "(use-modules (gnu services)\n"
  28249. " (gnu services desktop)\n"
  28250. " (gnu services xorg))\n"
  28251. "\n"
  28252. msgstr ""
  28253. #. type: lisp
  28254. #: guix-git/doc/guix.texi:19272
  28255. #, no-wrap
  28256. msgid ""
  28257. "(operating-system\n"
  28258. " ;; ...\n"
  28259. " (services (cons* (service slim-service-type (slim-configuration\n"
  28260. " (display \":0\")\n"
  28261. " (vt \"vt7\")))\n"
  28262. " (service slim-service-type (slim-configuration\n"
  28263. " (display \":1\")\n"
  28264. " (vt \"vt8\")))\n"
  28265. " (modify-services %desktop-services\n"
  28266. " (delete gdm-service-type)))))\n"
  28267. msgstr ""
  28268. #. type: deftp
  28269. #: guix-git/doc/guix.texi:19276
  28270. #, no-wrap
  28271. msgid "{Data Type} slim-configuration"
  28272. msgstr ""
  28273. #. type: deftp
  28274. #: guix-git/doc/guix.texi:19278
  28275. msgid "Data type representing the configuration of @code{slim-service-type}."
  28276. msgstr ""
  28277. #. type: table
  28278. #: guix-git/doc/guix.texi:19282
  28279. msgid "Whether to allow logins with empty passwords."
  28280. msgstr ""
  28281. #. type: item
  28282. #: guix-git/doc/guix.texi:19283
  28283. #, no-wrap
  28284. msgid "@code{gnupg?} (default: @code{#f})"
  28285. msgstr ""
  28286. #. type: table
  28287. #: guix-git/doc/guix.texi:19290
  28288. msgid "If enabled, @code{pam-gnupg} will attempt to automatically unlock the user's GPG keys with the login password via @code{gpg-agent}. The keygrips of all keys to be unlocked should be written to @file{~/.pam-gnupg}, and can be queried with @code{gpg -K --with-keygrip}. Presetting passphrases must be enabled by adding @code{allow-preset-passphrase} in @file{~/.gnupg/gpg-agent.conf}."
  28289. msgstr ""
  28290. #. type: itemx
  28291. #: guix-git/doc/guix.texi:19292
  28292. #, no-wrap
  28293. msgid "@code{default-user} (default: @code{\"\"})"
  28294. msgstr ""
  28295. #. type: table
  28296. #: guix-git/doc/guix.texi:19294
  28297. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  28298. msgstr ""
  28299. #. type: table
  28300. #: guix-git/doc/guix.texi:19297
  28301. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  28302. msgstr ""
  28303. #. type: item
  28304. #: guix-git/doc/guix.texi:19298
  28305. #, no-wrap
  28306. msgid "@code{theme} (default: @code{%default-slim-theme})"
  28307. msgstr ""
  28308. #. type: itemx
  28309. #: guix-git/doc/guix.texi:19299
  28310. #, no-wrap
  28311. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  28312. msgstr ""
  28313. #. type: table
  28314. #: guix-git/doc/guix.texi:19301
  28315. msgid "The graphical theme to use and its name."
  28316. msgstr ""
  28317. #. type: item
  28318. #: guix-git/doc/guix.texi:19302
  28319. #, no-wrap
  28320. msgid "@code{auto-login-session} (default: @code{#f})"
  28321. msgstr ""
  28322. #. type: table
  28323. #: guix-git/doc/guix.texi:19305
  28324. 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\")}."
  28325. msgstr ""
  28326. #. type: table
  28327. #: guix-git/doc/guix.texi:19309
  28328. 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."
  28329. msgstr ""
  28330. #. type: quotation
  28331. #: guix-git/doc/guix.texi:19314
  28332. 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."
  28333. msgstr ""
  28334. #. type: item
  28335. #: guix-git/doc/guix.texi:19316 guix-git/doc/guix.texi:19400
  28336. #, no-wrap
  28337. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  28338. msgstr ""
  28339. #. type: item
  28340. #: guix-git/doc/guix.texi:19319
  28341. #, no-wrap
  28342. msgid "@code{display} (default @code{\":0\"})"
  28343. msgstr ""
  28344. #. type: table
  28345. #: guix-git/doc/guix.texi:19321
  28346. msgid "The display on which to start the Xorg graphical server."
  28347. msgstr ""
  28348. #. type: item
  28349. #: guix-git/doc/guix.texi:19322
  28350. #, no-wrap
  28351. msgid "@code{vt} (default @code{\"vt7\"})"
  28352. msgstr ""
  28353. #. type: table
  28354. #: guix-git/doc/guix.texi:19324
  28355. msgid "The VT on which to start the Xorg graphical server."
  28356. msgstr ""
  28357. #. type: item
  28358. #: guix-git/doc/guix.texi:19325
  28359. #, no-wrap
  28360. msgid "@code{xauth} (default: @code{xauth})"
  28361. msgstr ""
  28362. #. type: table
  28363. #: guix-git/doc/guix.texi:19327
  28364. msgid "The XAuth package to use."
  28365. msgstr ""
  28366. #. type: item
  28367. #: guix-git/doc/guix.texi:19328
  28368. #, no-wrap
  28369. msgid "@code{shepherd} (default: @code{shepherd})"
  28370. msgstr ""
  28371. #. type: table
  28372. #: guix-git/doc/guix.texi:19331
  28373. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  28374. msgstr ""
  28375. #. type: item
  28376. #: guix-git/doc/guix.texi:19332
  28377. #, no-wrap
  28378. msgid "@code{sessreg} (default: @code{sessreg})"
  28379. msgstr ""
  28380. #. type: table
  28381. #: guix-git/doc/guix.texi:19334
  28382. msgid "The sessreg package used in order to register the session."
  28383. msgstr ""
  28384. #. type: item
  28385. #: guix-git/doc/guix.texi:19335
  28386. #, no-wrap
  28387. msgid "@code{slim} (default: @code{slim})"
  28388. msgstr ""
  28389. #. type: table
  28390. #: guix-git/doc/guix.texi:19337
  28391. msgid "The SLiM package to use."
  28392. msgstr ""
  28393. #. type: defvr
  28394. #: guix-git/doc/guix.texi:19340
  28395. #, no-wrap
  28396. msgid "{Scheme Variable} %default-theme"
  28397. msgstr ""
  28398. #. type: defvrx
  28399. #: guix-git/doc/guix.texi:19341
  28400. #, no-wrap
  28401. msgid "{Scheme Variable} %default-theme-name"
  28402. msgstr ""
  28403. #. type: defvr
  28404. #: guix-git/doc/guix.texi:19343
  28405. msgid "The default SLiM theme and its name."
  28406. msgstr ""
  28407. #. type: deftp
  28408. #: guix-git/doc/guix.texi:19346 guix-git/doc/guix.texi:19453
  28409. #, no-wrap
  28410. msgid "{Data Type} sddm-configuration"
  28411. msgstr ""
  28412. #. type: deftp
  28413. #: guix-git/doc/guix.texi:19348
  28414. msgid "This is the data type representing the SDDM service configuration."
  28415. msgstr ""
  28416. #. type: item
  28417. #: guix-git/doc/guix.texi:19350
  28418. #, no-wrap
  28419. msgid "@code{display-server} (default: \"x11\")"
  28420. msgstr ""
  28421. #. type: table
  28422. #: guix-git/doc/guix.texi:19353
  28423. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  28424. msgstr ""
  28425. #. type: item
  28426. #: guix-git/doc/guix.texi:19354
  28427. #, no-wrap
  28428. msgid "@code{numlock} (default: \"on\")"
  28429. msgstr ""
  28430. #. type: table
  28431. #: guix-git/doc/guix.texi:19356
  28432. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  28433. msgstr ""
  28434. #. type: item
  28435. #: guix-git/doc/guix.texi:19357
  28436. #, no-wrap
  28437. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  28438. msgstr ""
  28439. #. type: table
  28440. #: guix-git/doc/guix.texi:19359
  28441. msgid "Command to run when halting."
  28442. msgstr ""
  28443. #. type: item
  28444. #: guix-git/doc/guix.texi:19360
  28445. #, no-wrap
  28446. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  28447. msgstr ""
  28448. #. type: table
  28449. #: guix-git/doc/guix.texi:19362
  28450. msgid "Command to run when rebooting."
  28451. msgstr ""
  28452. #. type: item
  28453. #: guix-git/doc/guix.texi:19363
  28454. #, no-wrap
  28455. msgid "@code{theme} (default \"maldives\")"
  28456. msgstr ""
  28457. #. type: table
  28458. #: guix-git/doc/guix.texi:19366
  28459. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  28460. msgstr ""
  28461. #. type: item
  28462. #: guix-git/doc/guix.texi:19367
  28463. #, no-wrap
  28464. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  28465. msgstr ""
  28466. #. type: table
  28467. #: guix-git/doc/guix.texi:19369
  28468. msgid "Directory to look for themes."
  28469. msgstr ""
  28470. #. type: item
  28471. #: guix-git/doc/guix.texi:19370
  28472. #, no-wrap
  28473. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  28474. msgstr ""
  28475. #. type: table
  28476. #: guix-git/doc/guix.texi:19372
  28477. msgid "Directory to look for faces."
  28478. msgstr ""
  28479. #. type: item
  28480. #: guix-git/doc/guix.texi:19373
  28481. #, no-wrap
  28482. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  28483. msgstr ""
  28484. #. type: table
  28485. #: guix-git/doc/guix.texi:19375
  28486. msgid "Default PATH to use."
  28487. msgstr ""
  28488. #. type: item
  28489. #: guix-git/doc/guix.texi:19376
  28490. #, no-wrap
  28491. msgid "@code{minimum-uid} (default: 1000)"
  28492. msgstr ""
  28493. #. type: table
  28494. #: guix-git/doc/guix.texi:19378
  28495. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  28496. msgstr ""
  28497. #. type: item
  28498. #: guix-git/doc/guix.texi:19379
  28499. #, no-wrap
  28500. msgid "@code{maximum-uid} (default: 2000)"
  28501. msgstr ""
  28502. #. type: table
  28503. #: guix-git/doc/guix.texi:19381
  28504. msgid "Maximum UID to display in SDDM."
  28505. msgstr ""
  28506. #. type: item
  28507. #: guix-git/doc/guix.texi:19382
  28508. #, no-wrap
  28509. msgid "@code{remember-last-user?} (default #t)"
  28510. msgstr ""
  28511. #. type: table
  28512. #: guix-git/doc/guix.texi:19384
  28513. msgid "Remember last user."
  28514. msgstr ""
  28515. #. type: item
  28516. #: guix-git/doc/guix.texi:19385
  28517. #, no-wrap
  28518. msgid "@code{remember-last-session?} (default #t)"
  28519. msgstr ""
  28520. #. type: table
  28521. #: guix-git/doc/guix.texi:19387
  28522. msgid "Remember last session."
  28523. msgstr ""
  28524. #. type: item
  28525. #: guix-git/doc/guix.texi:19388
  28526. #, no-wrap
  28527. msgid "@code{hide-users} (default \"\")"
  28528. msgstr ""
  28529. #. type: table
  28530. #: guix-git/doc/guix.texi:19390
  28531. msgid "Usernames to hide from SDDM greeter."
  28532. msgstr ""
  28533. #. type: item
  28534. #: guix-git/doc/guix.texi:19391
  28535. #, no-wrap
  28536. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  28537. msgstr ""
  28538. #. type: table
  28539. #: guix-git/doc/guix.texi:19393
  28540. msgid "Users with shells listed will be hidden from the SDDM greeter."
  28541. msgstr ""
  28542. #. type: item
  28543. #: guix-git/doc/guix.texi:19394
  28544. #, no-wrap
  28545. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  28546. msgstr ""
  28547. #. type: table
  28548. #: guix-git/doc/guix.texi:19396
  28549. msgid "Script to run before starting a wayland session."
  28550. msgstr ""
  28551. #. type: item
  28552. #: guix-git/doc/guix.texi:19397
  28553. #, no-wrap
  28554. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  28555. msgstr ""
  28556. #. type: table
  28557. #: guix-git/doc/guix.texi:19399
  28558. msgid "Directory to look for desktop files starting wayland sessions."
  28559. msgstr ""
  28560. #. type: item
  28561. #: guix-git/doc/guix.texi:19403
  28562. #, no-wrap
  28563. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  28564. msgstr ""
  28565. #. type: table
  28566. #: guix-git/doc/guix.texi:19405
  28567. msgid "Path to xauth."
  28568. msgstr ""
  28569. #. type: item
  28570. #: guix-git/doc/guix.texi:19406
  28571. #, no-wrap
  28572. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  28573. msgstr ""
  28574. #. type: table
  28575. #: guix-git/doc/guix.texi:19408
  28576. msgid "Path to Xephyr."
  28577. msgstr ""
  28578. #. type: item
  28579. #: guix-git/doc/guix.texi:19409
  28580. #, no-wrap
  28581. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  28582. msgstr ""
  28583. #. type: table
  28584. #: guix-git/doc/guix.texi:19411
  28585. msgid "Script to run after starting xorg-server."
  28586. msgstr ""
  28587. #. type: item
  28588. #: guix-git/doc/guix.texi:19412
  28589. #, no-wrap
  28590. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  28591. msgstr ""
  28592. #. type: table
  28593. #: guix-git/doc/guix.texi:19414
  28594. msgid "Script to run before stopping xorg-server."
  28595. msgstr ""
  28596. #. type: item
  28597. #: guix-git/doc/guix.texi:19415
  28598. #, no-wrap
  28599. msgid "@code{xsession-command} (default: @code{xinitrc})"
  28600. msgstr ""
  28601. #. type: item
  28602. #: guix-git/doc/guix.texi:19418
  28603. #, no-wrap
  28604. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  28605. msgstr ""
  28606. #. type: table
  28607. #: guix-git/doc/guix.texi:19420
  28608. msgid "Directory to look for desktop files starting X sessions."
  28609. msgstr ""
  28610. #. type: item
  28611. #: guix-git/doc/guix.texi:19421
  28612. #, no-wrap
  28613. msgid "@code{minimum-vt} (default: 7)"
  28614. msgstr ""
  28615. #. type: table
  28616. #: guix-git/doc/guix.texi:19423
  28617. msgid "Minimum VT to use."
  28618. msgstr ""
  28619. #. type: item
  28620. #: guix-git/doc/guix.texi:19424
  28621. #, no-wrap
  28622. msgid "@code{auto-login-user} (default \"\")"
  28623. msgstr ""
  28624. #. type: table
  28625. #: guix-git/doc/guix.texi:19426
  28626. msgid "User to use for auto-login."
  28627. msgstr ""
  28628. #. type: item
  28629. #: guix-git/doc/guix.texi:19427
  28630. #, no-wrap
  28631. msgid "@code{auto-login-session} (default \"\")"
  28632. msgstr ""
  28633. #. type: table
  28634. #: guix-git/doc/guix.texi:19429
  28635. msgid "Desktop file to use for auto-login."
  28636. msgstr ""
  28637. #. type: item
  28638. #: guix-git/doc/guix.texi:19430
  28639. #, no-wrap
  28640. msgid "@code{relogin?} (default #f)"
  28641. msgstr ""
  28642. #. type: table
  28643. #: guix-git/doc/guix.texi:19432
  28644. msgid "Relogin after logout."
  28645. msgstr ""
  28646. #. type: cindex
  28647. #: guix-git/doc/guix.texi:19437
  28648. #, no-wrap
  28649. msgid "X11 login"
  28650. msgstr ""
  28651. #. type: defvr
  28652. #: guix-git/doc/guix.texi:19438
  28653. #, no-wrap
  28654. msgid "{Scheme Variable} sddm-service-type"
  28655. msgstr ""
  28656. #. type: defvr
  28657. #: guix-git/doc/guix.texi:19442
  28658. 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)."
  28659. msgstr ""
  28660. #. type: defvr
  28661. #: guix-git/doc/guix.texi:19444
  28662. msgid "Here's an example use:"
  28663. msgstr ""
  28664. #. type: lisp
  28665. #: guix-git/doc/guix.texi:19450
  28666. #, no-wrap
  28667. msgid ""
  28668. "(service sddm-service-type\n"
  28669. " (sddm-configuration\n"
  28670. " (auto-login-user \"alice\")\n"
  28671. " (auto-login-session \"xfce.desktop\")))\n"
  28672. msgstr ""
  28673. #. type: deftp
  28674. #: guix-git/doc/guix.texi:19456
  28675. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  28676. msgstr ""
  28677. #. type: item
  28678. #: guix-git/doc/guix.texi:19458
  28679. #, no-wrap
  28680. msgid "@code{sddm} (default: @code{sddm})"
  28681. msgstr ""
  28682. #. type: table
  28683. #: guix-git/doc/guix.texi:19460
  28684. msgid "The SDDM package to use."
  28685. msgstr ""
  28686. #. type: item
  28687. #: guix-git/doc/guix.texi:19461
  28688. #, no-wrap
  28689. msgid "@code{display-server} (default: @code{\"x11\"})"
  28690. msgstr ""
  28691. #. type: table
  28692. #: guix-git/doc/guix.texi:19463
  28693. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  28694. msgstr ""
  28695. #. type: item
  28696. #: guix-git/doc/guix.texi:19466
  28697. #, no-wrap
  28698. msgid "@code{auto-login-user} (default: @code{\"\"})"
  28699. msgstr ""
  28700. #. type: table
  28701. #: guix-git/doc/guix.texi:19469
  28702. msgid "If non-empty, this is the user account under which to log in automatically."
  28703. msgstr ""
  28704. #. type: item
  28705. #: guix-git/doc/guix.texi:19470
  28706. #, no-wrap
  28707. msgid "@code{auto-login-session} (default: @code{\"\"})"
  28708. msgstr ""
  28709. #. type: table
  28710. #: guix-git/doc/guix.texi:19473
  28711. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  28712. msgstr ""
  28713. #. type: cindex
  28714. #: guix-git/doc/guix.texi:19476
  28715. #, no-wrap
  28716. msgid "Xorg, configuration"
  28717. msgstr ""
  28718. #. type: deftp
  28719. #: guix-git/doc/guix.texi:19477
  28720. #, no-wrap
  28721. msgid "{Data Type} xorg-configuration"
  28722. msgstr ""
  28723. #. type: deftp
  28724. #: guix-git/doc/guix.texi:19482
  28725. 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."
  28726. msgstr ""
  28727. #. type: item
  28728. #: guix-git/doc/guix.texi:19484
  28729. #, no-wrap
  28730. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  28731. msgstr ""
  28732. #. type: table
  28733. #: guix-git/doc/guix.texi:19487
  28734. 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."
  28735. msgstr ""
  28736. #. type: item
  28737. #: guix-git/doc/guix.texi:19488
  28738. #, no-wrap
  28739. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  28740. msgstr ""
  28741. #. type: table
  28742. #: guix-git/doc/guix.texi:19490
  28743. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  28744. msgstr ""
  28745. #. type: item
  28746. #: guix-git/doc/guix.texi:19491
  28747. #, no-wrap
  28748. msgid "@code{drivers} (default: @code{'()})"
  28749. msgstr ""
  28750. #. type: table
  28751. #: guix-git/doc/guix.texi:19495
  28752. 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\")}."
  28753. msgstr ""
  28754. #. type: item
  28755. #: guix-git/doc/guix.texi:19496
  28756. #, no-wrap
  28757. msgid "@code{resolutions} (default: @code{'()})"
  28758. msgstr ""
  28759. #. type: table
  28760. #: guix-git/doc/guix.texi:19500
  28761. 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))}."
  28762. msgstr ""
  28763. #. type: cindex
  28764. #: guix-git/doc/guix.texi:19501
  28765. #, no-wrap
  28766. msgid "keyboard layout, for Xorg"
  28767. msgstr ""
  28768. #. type: cindex
  28769. #: guix-git/doc/guix.texi:19502
  28770. #, no-wrap
  28771. msgid "keymap, for Xorg"
  28772. msgstr ""
  28773. #. type: table
  28774. #: guix-git/doc/guix.texi:19506
  28775. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  28776. msgstr ""
  28777. #. type: table
  28778. #: guix-git/doc/guix.texi:19510
  28779. 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."
  28780. msgstr ""
  28781. #. type: item
  28782. #: guix-git/doc/guix.texi:19511 guix-git/doc/guix.texi:21223
  28783. #: guix-git/doc/guix.texi:34046
  28784. #, no-wrap
  28785. msgid "@code{extra-config} (default: @code{'()})"
  28786. msgstr ""
  28787. #. type: table
  28788. #: guix-git/doc/guix.texi:19514 guix-git/doc/guix.texi:34050
  28789. 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."
  28790. msgstr ""
  28791. #. type: item
  28792. #: guix-git/doc/guix.texi:19515
  28793. #, no-wrap
  28794. msgid "@code{server} (default: @code{xorg-server})"
  28795. msgstr ""
  28796. #. type: table
  28797. #: guix-git/doc/guix.texi:19517
  28798. msgid "This is the package providing the Xorg server."
  28799. msgstr ""
  28800. #. type: item
  28801. #: guix-git/doc/guix.texi:19518
  28802. #, no-wrap
  28803. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  28804. msgstr ""
  28805. #. type: table
  28806. #: guix-git/doc/guix.texi:19521
  28807. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  28808. msgstr ""
  28809. #. type: deffn
  28810. #: guix-git/doc/guix.texi:19524
  28811. #, no-wrap
  28812. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  28813. msgstr ""
  28814. #. type: deffn
  28815. #: guix-git/doc/guix.texi:19528
  28816. 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."
  28817. msgstr ""
  28818. #. type: deffn
  28819. #: guix-git/doc/guix.texi:19532
  28820. 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."
  28821. msgstr ""
  28822. #. type: deffn
  28823. #: guix-git/doc/guix.texi:19534
  28824. #, no-wrap
  28825. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  28826. msgstr ""
  28827. #. type: deffn
  28828. #: guix-git/doc/guix.texi:19538
  28829. 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}."
  28830. msgstr ""
  28831. #. type: deffn
  28832. #: guix-git/doc/guix.texi:19540
  28833. msgid "Usually the X server is started by a login manager."
  28834. msgstr ""
  28835. #. type: deffn
  28836. #: guix-git/doc/guix.texi:19543
  28837. #, no-wrap
  28838. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  28839. msgstr ""
  28840. #. type: deffn
  28841. #: guix-git/doc/guix.texi:19547
  28842. 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:"
  28843. msgstr ""
  28844. #. type: lisp
  28845. #: guix-git/doc/guix.texi:19550
  28846. #, no-wrap
  28847. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  28848. msgstr ""
  28849. #. type: deffn
  28850. #: guix-git/doc/guix.texi:19553
  28851. msgid "makes the good ol' XlockMore usable."
  28852. msgstr ""
  28853. #. type: cindex
  28854. #: guix-git/doc/guix.texi:19559
  28855. #, no-wrap
  28856. msgid "printer support with CUPS"
  28857. msgstr ""
  28858. #. type: Plain text
  28859. #: guix-git/doc/guix.texi:19563
  28860. 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:"
  28861. msgstr ""
  28862. #. type: deffn
  28863. #: guix-git/doc/guix.texi:19564
  28864. #, no-wrap
  28865. msgid "{Scheme Variable} cups-service-type"
  28866. msgstr ""
  28867. #. type: deffn
  28868. #: guix-git/doc/guix.texi:19568
  28869. 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:"
  28870. msgstr ""
  28871. #. type: lisp
  28872. #: guix-git/doc/guix.texi:19570
  28873. #, no-wrap
  28874. msgid "(service cups-service-type)\n"
  28875. msgstr ""
  28876. #. type: Plain text
  28877. #: guix-git/doc/guix.texi:19580
  28878. 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."
  28879. msgstr ""
  28880. #. type: Plain text
  28881. #: guix-git/doc/guix.texi:19586
  28882. 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):"
  28883. msgstr ""
  28884. #. type: lisp
  28885. #: guix-git/doc/guix.texi:19593
  28886. #, no-wrap
  28887. msgid ""
  28888. "(service cups-service-type\n"
  28889. " (cups-configuration\n"
  28890. " (web-interface? #t)\n"
  28891. " (extensions\n"
  28892. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  28893. msgstr ""
  28894. #. type: Plain text
  28895. #: guix-git/doc/guix.texi:19598
  28896. 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."
  28897. msgstr ""
  28898. #. type: Plain text
  28899. #: guix-git/doc/guix.texi:19605
  28900. 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."
  28901. msgstr ""
  28902. #. type: Plain text
  28903. #: guix-git/doc/guix.texi:19616
  28904. msgid "Available @code{cups-configuration} fields are:"
  28905. msgstr ""
  28906. #. type: deftypevr
  28907. #: guix-git/doc/guix.texi:19617
  28908. #, no-wrap
  28909. msgid "{@code{cups-configuration} parameter} package cups"
  28910. msgstr ""
  28911. #. type: deftypevr
  28912. #: guix-git/doc/guix.texi:19619 guix-git/doc/guix.texi:20387
  28913. msgid "The CUPS package."
  28914. msgstr ""
  28915. #. type: deftypevr
  28916. #: guix-git/doc/guix.texi:19621
  28917. #, no-wrap
  28918. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  28919. msgstr ""
  28920. #. type: deftypevr
  28921. #: guix-git/doc/guix.texi:19623
  28922. msgid "Drivers and other extensions to the CUPS package."
  28923. msgstr ""
  28924. #. type: deftypevr
  28925. #: guix-git/doc/guix.texi:19625
  28926. #, no-wrap
  28927. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  28928. msgstr ""
  28929. #. type: deftypevr
  28930. #: guix-git/doc/guix.texi:19628
  28931. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  28932. msgstr ""
  28933. #. type: deftypevr
  28934. #: guix-git/doc/guix.texi:19630
  28935. msgid "Available @code{files-configuration} fields are:"
  28936. msgstr ""
  28937. #. type: deftypevr
  28938. #: guix-git/doc/guix.texi:19631
  28939. #, no-wrap
  28940. msgid "{@code{files-configuration} parameter} log-location access-log"
  28941. msgstr ""
  28942. #. type: deftypevr
  28943. #: guix-git/doc/guix.texi:19639
  28944. 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}."
  28945. msgstr ""
  28946. #. type: deftypevr
  28947. #: guix-git/doc/guix.texi:19641
  28948. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  28949. msgstr ""
  28950. #. type: deftypevr
  28951. #: guix-git/doc/guix.texi:19643
  28952. #, no-wrap
  28953. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  28954. msgstr ""
  28955. #. type: deftypevr
  28956. #: guix-git/doc/guix.texi:19645
  28957. msgid "Where CUPS should cache data."
  28958. msgstr ""
  28959. #. type: deftypevr
  28960. #: guix-git/doc/guix.texi:19647
  28961. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  28962. msgstr ""
  28963. #. type: deftypevr
  28964. #: guix-git/doc/guix.texi:19649
  28965. #, no-wrap
  28966. msgid "{@code{files-configuration} parameter} string config-file-perm"
  28967. msgstr ""
  28968. #. type: deftypevr
  28969. #: guix-git/doc/guix.texi:19652
  28970. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  28971. msgstr ""
  28972. #. type: deftypevr
  28973. #: guix-git/doc/guix.texi:19658
  28974. 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."
  28975. msgstr ""
  28976. #. type: deftypevr
  28977. #: guix-git/doc/guix.texi:19660
  28978. msgid "Defaults to @samp{\"0640\"}."
  28979. msgstr ""
  28980. #. type: deftypevr
  28981. #: guix-git/doc/guix.texi:19662
  28982. #, no-wrap
  28983. msgid "{@code{files-configuration} parameter} log-location error-log"
  28984. msgstr ""
  28985. #. type: deftypevr
  28986. #: guix-git/doc/guix.texi:19670
  28987. 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}."
  28988. msgstr ""
  28989. #. type: deftypevr
  28990. #: guix-git/doc/guix.texi:19672
  28991. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  28992. msgstr ""
  28993. #. type: deftypevr
  28994. #: guix-git/doc/guix.texi:19674
  28995. #, no-wrap
  28996. msgid "{@code{files-configuration} parameter} string fatal-errors"
  28997. msgstr ""
  28998. #. type: deftypevr
  28999. #: guix-git/doc/guix.texi:19677
  29000. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  29001. msgstr ""
  29002. #. type: table
  29003. #: guix-git/doc/guix.texi:19681
  29004. msgid "No errors are fatal."
  29005. msgstr ""
  29006. #. type: table
  29007. #: guix-git/doc/guix.texi:19684
  29008. msgid "All of the errors below are fatal."
  29009. msgstr ""
  29010. #. type: item
  29011. #: guix-git/doc/guix.texi:19685
  29012. #, no-wrap
  29013. msgid "browse"
  29014. msgstr ""
  29015. #. type: table
  29016. #: guix-git/doc/guix.texi:19688
  29017. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  29018. msgstr ""
  29019. #. type: item
  29020. #: guix-git/doc/guix.texi:19689
  29021. #, no-wrap
  29022. msgid "config"
  29023. msgstr ""
  29024. #. type: table
  29025. #: guix-git/doc/guix.texi:19691
  29026. msgid "Configuration file syntax errors are fatal."
  29027. msgstr ""
  29028. #. type: item
  29029. #: guix-git/doc/guix.texi:19692
  29030. #, no-wrap
  29031. msgid "listen"
  29032. msgstr ""
  29033. #. type: table
  29034. #: guix-git/doc/guix.texi:19695
  29035. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  29036. msgstr ""
  29037. #. type: item
  29038. #: guix-git/doc/guix.texi:19696
  29039. #, no-wrap
  29040. msgid "log"
  29041. msgstr ""
  29042. #. type: table
  29043. #: guix-git/doc/guix.texi:19698
  29044. msgid "Log file creation or write errors are fatal."
  29045. msgstr ""
  29046. #. type: item
  29047. #: guix-git/doc/guix.texi:19699
  29048. #, no-wrap
  29049. msgid "permissions"
  29050. msgstr ""
  29051. #. type: table
  29052. #: guix-git/doc/guix.texi:19702
  29053. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  29054. msgstr ""
  29055. #. type: deftypevr
  29056. #: guix-git/doc/guix.texi:19705
  29057. msgid "Defaults to @samp{\"all -browse\"}."
  29058. msgstr ""
  29059. #. type: deftypevr
  29060. #: guix-git/doc/guix.texi:19707
  29061. #, no-wrap
  29062. msgid "{@code{files-configuration} parameter} boolean file-device?"
  29063. msgstr ""
  29064. #. type: deftypevr
  29065. #: guix-git/doc/guix.texi:19710
  29066. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  29067. msgstr ""
  29068. #. type: deftypevr
  29069. #: guix-git/doc/guix.texi:19714
  29070. #, no-wrap
  29071. msgid "{@code{files-configuration} parameter} string group"
  29072. msgstr ""
  29073. #. type: deftypevr
  29074. #: guix-git/doc/guix.texi:19717
  29075. msgid "Specifies the group name or ID that will be used when executing external programs."
  29076. msgstr ""
  29077. #. type: deftypevr
  29078. #: guix-git/doc/guix.texi:19719 guix-git/doc/guix.texi:19805
  29079. msgid "Defaults to @samp{\"lp\"}."
  29080. msgstr ""
  29081. #. type: deftypevr
  29082. #: guix-git/doc/guix.texi:19721
  29083. #, no-wrap
  29084. msgid "{@code{files-configuration} parameter} string log-file-group"
  29085. msgstr ""
  29086. #. type: deftypevr
  29087. #: guix-git/doc/guix.texi:19723
  29088. msgid "Specifies the group name or ID that will be used for log files."
  29089. msgstr ""
  29090. #. type: deftypevr
  29091. #: guix-git/doc/guix.texi:19725
  29092. msgid "Defaults to @samp{\"lpadmin\"}."
  29093. msgstr ""
  29094. #. type: deftypevr
  29095. #: guix-git/doc/guix.texi:19727
  29096. #, no-wrap
  29097. msgid "{@code{files-configuration} parameter} string log-file-perm"
  29098. msgstr ""
  29099. #. type: deftypevr
  29100. #: guix-git/doc/guix.texi:19729
  29101. msgid "Specifies the permissions for all log files that the scheduler writes."
  29102. msgstr ""
  29103. #. type: deftypevr
  29104. #: guix-git/doc/guix.texi:19731
  29105. msgid "Defaults to @samp{\"0644\"}."
  29106. msgstr ""
  29107. #. type: deftypevr
  29108. #: guix-git/doc/guix.texi:19733
  29109. #, no-wrap
  29110. msgid "{@code{files-configuration} parameter} log-location page-log"
  29111. msgstr ""
  29112. #. type: deftypevr
  29113. #: guix-git/doc/guix.texi:19741
  29114. 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}."
  29115. msgstr ""
  29116. #. type: deftypevr
  29117. #: guix-git/doc/guix.texi:19743
  29118. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  29119. msgstr ""
  29120. #. type: deftypevr
  29121. #: guix-git/doc/guix.texi:19745
  29122. #, no-wrap
  29123. msgid "{@code{files-configuration} parameter} string remote-root"
  29124. msgstr ""
  29125. #. type: deftypevr
  29126. #: guix-git/doc/guix.texi:19748
  29127. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  29128. msgstr ""
  29129. #. type: deftypevr
  29130. #: guix-git/doc/guix.texi:19750
  29131. msgid "Defaults to @samp{\"remroot\"}."
  29132. msgstr ""
  29133. #. type: deftypevr
  29134. #: guix-git/doc/guix.texi:19752
  29135. #, no-wrap
  29136. msgid "{@code{files-configuration} parameter} file-name request-root"
  29137. msgstr ""
  29138. #. type: deftypevr
  29139. #: guix-git/doc/guix.texi:19755
  29140. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  29141. msgstr ""
  29142. #. type: deftypevr
  29143. #: guix-git/doc/guix.texi:19757
  29144. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  29145. msgstr ""
  29146. #. type: deftypevr
  29147. #: guix-git/doc/guix.texi:19759
  29148. #, no-wrap
  29149. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  29150. msgstr ""
  29151. #. type: deftypevr
  29152. #: guix-git/doc/guix.texi:19764
  29153. 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."
  29154. msgstr ""
  29155. #. type: deftypevr
  29156. #: guix-git/doc/guix.texi:19766
  29157. msgid "Defaults to @samp{strict}."
  29158. msgstr ""
  29159. #. type: deftypevr
  29160. #: guix-git/doc/guix.texi:19768
  29161. #, no-wrap
  29162. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  29163. msgstr ""
  29164. #. type: deftypevr
  29165. #: guix-git/doc/guix.texi:19773
  29166. 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."
  29167. msgstr ""
  29168. #. type: deftypevr
  29169. #: guix-git/doc/guix.texi:19775
  29170. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  29171. msgstr ""
  29172. #. type: deftypevr
  29173. #: guix-git/doc/guix.texi:19777
  29174. #, no-wrap
  29175. msgid "{@code{files-configuration} parameter} file-name server-root"
  29176. msgstr ""
  29177. #. type: deftypevr
  29178. #: guix-git/doc/guix.texi:19779
  29179. msgid "Specifies the directory containing the server configuration files."
  29180. msgstr ""
  29181. #. type: deftypevr
  29182. #: guix-git/doc/guix.texi:19781
  29183. msgid "Defaults to @samp{\"/etc/cups\"}."
  29184. msgstr ""
  29185. #. type: deftypevr
  29186. #: guix-git/doc/guix.texi:19783
  29187. #, no-wrap
  29188. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  29189. msgstr ""
  29190. #. type: deftypevr
  29191. #: guix-git/doc/guix.texi:19786
  29192. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  29193. msgstr ""
  29194. #. type: deftypevr
  29195. #: guix-git/doc/guix.texi:19790
  29196. #, no-wrap
  29197. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  29198. msgstr ""
  29199. #. type: deftypevr
  29200. #: guix-git/doc/guix.texi:19792
  29201. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  29202. msgstr ""
  29203. #. type: deftypevr
  29204. #: guix-git/doc/guix.texi:19794
  29205. #, no-wrap
  29206. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  29207. msgstr ""
  29208. #. type: deftypevr
  29209. #: guix-git/doc/guix.texi:19796
  29210. msgid "Specifies the directory where temporary files are stored."
  29211. msgstr ""
  29212. #. type: deftypevr
  29213. #: guix-git/doc/guix.texi:19798
  29214. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  29215. msgstr ""
  29216. #. type: deftypevr
  29217. #: guix-git/doc/guix.texi:19800
  29218. #, no-wrap
  29219. msgid "{@code{files-configuration} parameter} string user"
  29220. msgstr ""
  29221. #. type: deftypevr
  29222. #: guix-git/doc/guix.texi:19803
  29223. msgid "Specifies the user name or ID that is used when running external programs."
  29224. msgstr ""
  29225. #. type: deftypevr
  29226. #: guix-git/doc/guix.texi:19807
  29227. #, no-wrap
  29228. msgid "{@code{files-configuration} parameter} string set-env"
  29229. msgstr ""
  29230. #. type: deftypevr
  29231. #: guix-git/doc/guix.texi:19809
  29232. msgid "Set the specified environment variable to be passed to child processes."
  29233. msgstr ""
  29234. #. type: deftypevr
  29235. #: guix-git/doc/guix.texi:19811
  29236. msgid "Defaults to @samp{\"variable value\"}."
  29237. msgstr ""
  29238. #. type: deftypevr
  29239. #: guix-git/doc/guix.texi:19814
  29240. #, no-wrap
  29241. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  29242. msgstr ""
  29243. #. type: deftypevr
  29244. #: guix-git/doc/guix.texi:19821
  29245. 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."
  29246. msgstr ""
  29247. #. type: deftypevr
  29248. #: guix-git/doc/guix.texi:19823
  29249. msgid "Defaults to @samp{actions}."
  29250. msgstr ""
  29251. #. type: deftypevr
  29252. #: guix-git/doc/guix.texi:19825
  29253. #, no-wrap
  29254. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  29255. msgstr ""
  29256. #. type: deftypevr
  29257. #: guix-git/doc/guix.texi:19828
  29258. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  29259. msgstr ""
  29260. #. type: deftypevr
  29261. #: guix-git/doc/guix.texi:19832
  29262. #, no-wrap
  29263. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  29264. msgstr ""
  29265. #. type: deftypevr
  29266. #: guix-git/doc/guix.texi:19836
  29267. 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."
  29268. msgstr ""
  29269. #. type: deftypevr
  29270. #: guix-git/doc/guix.texi:19838
  29271. msgid "Defaults to @samp{\"_cups\"}."
  29272. msgstr ""
  29273. #. type: deftypevr
  29274. #: guix-git/doc/guix.texi:19840
  29275. #, no-wrap
  29276. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  29277. msgstr ""
  29278. #. type: deftypevr
  29279. #: guix-git/doc/guix.texi:19842
  29280. msgid "Specifies which protocols to use for local printer sharing."
  29281. msgstr ""
  29282. #. type: deftypevr
  29283. #: guix-git/doc/guix.texi:19844
  29284. msgid "Defaults to @samp{dnssd}."
  29285. msgstr ""
  29286. #. type: deftypevr
  29287. #: guix-git/doc/guix.texi:19846
  29288. #, no-wrap
  29289. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  29290. msgstr ""
  29291. #. type: deftypevr
  29292. #: guix-git/doc/guix.texi:19848
  29293. msgid "Specifies whether the CUPS web interface is advertised."
  29294. msgstr ""
  29295. #. type: deftypevr
  29296. #: guix-git/doc/guix.texi:19852
  29297. #, no-wrap
  29298. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  29299. msgstr ""
  29300. #. type: deftypevr
  29301. #: guix-git/doc/guix.texi:19854
  29302. msgid "Specifies whether shared printers are advertised."
  29303. msgstr ""
  29304. #. type: deftypevr
  29305. #: guix-git/doc/guix.texi:19858
  29306. #, no-wrap
  29307. msgid "{@code{cups-configuration} parameter} string classification"
  29308. msgstr ""
  29309. #. type: deftypevr
  29310. #: guix-git/doc/guix.texi:19863
  29311. 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."
  29312. msgstr ""
  29313. #. type: deftypevr
  29314. #: guix-git/doc/guix.texi:19865 guix-git/doc/guix.texi:20196
  29315. #: guix-git/doc/guix.texi:22180 guix-git/doc/guix.texi:22192
  29316. #: guix-git/doc/guix.texi:22220 guix-git/doc/guix.texi:22977
  29317. #: guix-git/doc/guix.texi:22991 guix-git/doc/guix.texi:22998
  29318. #: guix-git/doc/guix.texi:23005 guix-git/doc/guix.texi:23035
  29319. #: guix-git/doc/guix.texi:23133 guix-git/doc/guix.texi:25252
  29320. #: guix-git/doc/guix.texi:25278 guix-git/doc/guix.texi:25314
  29321. #: guix-git/doc/guix.texi:25360 guix-git/doc/guix.texi:25379
  29322. #: guix-git/doc/guix.texi:25418 guix-git/doc/guix.texi:25477
  29323. #: guix-git/doc/guix.texi:25487 guix-git/doc/guix.texi:30085
  29324. #: guix-git/doc/guix.texi:30093 guix-git/doc/guix.texi:30101
  29325. #: guix-git/doc/guix.texi:30109 guix-git/doc/guix.texi:30388
  29326. #: guix-git/doc/guix.texi:31743 guix-git/doc/guix.texi:31751
  29327. #: guix-git/doc/guix.texi:31759 guix-git/doc/guix.texi:31867
  29328. #: guix-git/doc/guix.texi:31892 guix-git/doc/guix.texi:32023
  29329. #: guix-git/doc/guix.texi:32031 guix-git/doc/guix.texi:32039
  29330. #: guix-git/doc/guix.texi:32047 guix-git/doc/guix.texi:32055
  29331. #: guix-git/doc/guix.texi:32063 guix-git/doc/guix.texi:32086
  29332. #: guix-git/doc/guix.texi:32094 guix-git/doc/guix.texi:32146
  29333. #: guix-git/doc/guix.texi:32162 guix-git/doc/guix.texi:32170
  29334. #: guix-git/doc/guix.texi:32209 guix-git/doc/guix.texi:32232
  29335. #: guix-git/doc/guix.texi:32254 guix-git/doc/guix.texi:32261
  29336. #: guix-git/doc/guix.texi:32296 guix-git/doc/guix.texi:32304
  29337. #: guix-git/doc/guix.texi:32328 guix-git/doc/guix.texi:32360
  29338. #: guix-git/doc/guix.texi:32389 guix-git/doc/guix.texi:32396
  29339. #: guix-git/doc/guix.texi:32403 guix-git/doc/guix.texi:32411
  29340. #: guix-git/doc/guix.texi:32425 guix-git/doc/guix.texi:32434
  29341. #: guix-git/doc/guix.texi:32444 guix-git/doc/guix.texi:32451
  29342. #: guix-git/doc/guix.texi:32458 guix-git/doc/guix.texi:32465
  29343. #: guix-git/doc/guix.texi:32536 guix-git/doc/guix.texi:32543
  29344. #: guix-git/doc/guix.texi:32550 guix-git/doc/guix.texi:32559
  29345. #: guix-git/doc/guix.texi:32575 guix-git/doc/guix.texi:32582
  29346. #: guix-git/doc/guix.texi:32589 guix-git/doc/guix.texi:32596
  29347. #: guix-git/doc/guix.texi:32604 guix-git/doc/guix.texi:32612
  29348. msgid "Defaults to @samp{\"\"}."
  29349. msgstr ""
  29350. #. type: deftypevr
  29351. #: guix-git/doc/guix.texi:19867
  29352. #, no-wrap
  29353. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  29354. msgstr ""
  29355. #. type: deftypevr
  29356. #: guix-git/doc/guix.texi:19870
  29357. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  29358. msgstr ""
  29359. #. type: deftypevr
  29360. #: guix-git/doc/guix.texi:19874
  29361. #, no-wrap
  29362. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  29363. msgstr ""
  29364. #. type: deftypevr
  29365. #: guix-git/doc/guix.texi:19876
  29366. msgid "Specifies the default type of authentication to use."
  29367. msgstr ""
  29368. #. type: deftypevr
  29369. #: guix-git/doc/guix.texi:19878
  29370. msgid "Defaults to @samp{Basic}."
  29371. msgstr ""
  29372. #. type: deftypevr
  29373. #: guix-git/doc/guix.texi:19880
  29374. #, no-wrap
  29375. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  29376. msgstr ""
  29377. #. type: deftypevr
  29378. #: guix-git/doc/guix.texi:19882
  29379. msgid "Specifies whether encryption will be used for authenticated requests."
  29380. msgstr ""
  29381. #. type: deftypevr
  29382. #: guix-git/doc/guix.texi:19884
  29383. msgid "Defaults to @samp{Required}."
  29384. msgstr ""
  29385. #. type: deftypevr
  29386. #: guix-git/doc/guix.texi:19886
  29387. #, no-wrap
  29388. msgid "{@code{cups-configuration} parameter} string default-language"
  29389. msgstr ""
  29390. #. type: deftypevr
  29391. #: guix-git/doc/guix.texi:19888
  29392. msgid "Specifies the default language to use for text and web content."
  29393. msgstr ""
  29394. #. type: deftypevr
  29395. #: guix-git/doc/guix.texi:19890
  29396. msgid "Defaults to @samp{\"en\"}."
  29397. msgstr ""
  29398. #. type: deftypevr
  29399. #: guix-git/doc/guix.texi:19892
  29400. #, no-wrap
  29401. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  29402. msgstr ""
  29403. #. type: deftypevr
  29404. #: guix-git/doc/guix.texi:19897
  29405. 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\"}."
  29406. msgstr ""
  29407. #. type: deftypevr
  29408. #: guix-git/doc/guix.texi:19899
  29409. msgid "Defaults to @samp{\"Auto\"}."
  29410. msgstr ""
  29411. #. type: deftypevr
  29412. #: guix-git/doc/guix.texi:19901
  29413. #, no-wrap
  29414. msgid "{@code{cups-configuration} parameter} string default-policy"
  29415. msgstr ""
  29416. #. type: deftypevr
  29417. #: guix-git/doc/guix.texi:19903
  29418. msgid "Specifies the default access policy to use."
  29419. msgstr ""
  29420. #. type: deftypevr
  29421. #: guix-git/doc/guix.texi:19905
  29422. msgid "Defaults to @samp{\"default\"}."
  29423. msgstr ""
  29424. #. type: deftypevr
  29425. #: guix-git/doc/guix.texi:19907
  29426. #, no-wrap
  29427. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  29428. msgstr ""
  29429. #. type: deftypevr
  29430. #: guix-git/doc/guix.texi:19909
  29431. msgid "Specifies whether local printers are shared by default."
  29432. msgstr ""
  29433. #. type: deftypevr
  29434. #: guix-git/doc/guix.texi:19911 guix-git/doc/guix.texi:19991
  29435. #: guix-git/doc/guix.texi:20281 guix-git/doc/guix.texi:23067
  29436. #: guix-git/doc/guix.texi:23118 guix-git/doc/guix.texi:23125
  29437. #: guix-git/doc/guix.texi:24407 guix-git/doc/guix.texi:24595
  29438. #: guix-git/doc/guix.texi:24712 guix-git/doc/guix.texi:24748
  29439. #: guix-git/doc/guix.texi:24799 guix-git/doc/guix.texi:24818
  29440. #: guix-git/doc/guix.texi:24828 guix-git/doc/guix.texi:24838
  29441. #: guix-git/doc/guix.texi:24897 guix-git/doc/guix.texi:24919
  29442. #: guix-git/doc/guix.texi:24944 guix-git/doc/guix.texi:24970
  29443. #: guix-git/doc/guix.texi:24988 guix-git/doc/guix.texi:28180
  29444. #: guix-git/doc/guix.texi:28208 guix-git/doc/guix.texi:28344
  29445. #: guix-git/doc/guix.texi:28351 guix-git/doc/guix.texi:28359
  29446. #: guix-git/doc/guix.texi:28396 guix-git/doc/guix.texi:28410
  29447. #: guix-git/doc/guix.texi:28499 guix-git/doc/guix.texi:28506
  29448. #: guix-git/doc/guix.texi:28514 guix-git/doc/guix.texi:29293
  29449. #: guix-git/doc/guix.texi:29433 guix-git/doc/guix.texi:29619
  29450. #: guix-git/doc/guix.texi:29626 guix-git/doc/guix.texi:29648
  29451. #: guix-git/doc/guix.texi:29687 guix-git/doc/guix.texi:29707
  29452. #: guix-git/doc/guix.texi:29721 guix-git/doc/guix.texi:29934
  29453. #: guix-git/doc/guix.texi:31845 guix-git/doc/guix.texi:31933
  29454. #: guix-git/doc/guix.texi:31949 guix-git/doc/guix.texi:31999
  29455. msgid "Defaults to @samp{#t}."
  29456. msgstr ""
  29457. #. type: deftypevr
  29458. #: guix-git/doc/guix.texi:19913
  29459. #, no-wrap
  29460. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  29461. msgstr ""
  29462. #. type: deftypevr
  29463. #: guix-git/doc/guix.texi:19917
  29464. 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."
  29465. msgstr ""
  29466. #. type: deftypevr
  29467. #: guix-git/doc/guix.texi:19919 guix-git/doc/guix.texi:19967
  29468. #: guix-git/doc/guix.texi:19976 guix-git/doc/guix.texi:20288
  29469. #: guix-git/doc/guix.texi:24757 guix-git/doc/guix.texi:24790
  29470. msgid "Defaults to @samp{30}."
  29471. msgstr ""
  29472. #. type: deftypevr
  29473. #: guix-git/doc/guix.texi:19921
  29474. #, no-wrap
  29475. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  29476. msgstr ""
  29477. #. type: deftypevr
  29478. #: guix-git/doc/guix.texi:19927
  29479. 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."
  29480. msgstr ""
  29481. #. type: deftypevr
  29482. #: guix-git/doc/guix.texi:19929
  29483. msgid "Defaults to @samp{stop-printer}."
  29484. msgstr ""
  29485. #. type: deftypevr
  29486. #: guix-git/doc/guix.texi:19931
  29487. #, no-wrap
  29488. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  29489. msgstr ""
  29490. #. type: deftypevr
  29491. #: guix-git/doc/guix.texi:19939
  29492. 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."
  29493. msgstr ""
  29494. #. type: deftypevr
  29495. #: guix-git/doc/guix.texi:19941 guix-git/doc/guix.texi:19949
  29496. #: guix-git/doc/guix.texi:19998 guix-git/doc/guix.texi:20114
  29497. #: guix-git/doc/guix.texi:20128 guix-git/doc/guix.texi:20135
  29498. #: guix-git/doc/guix.texi:21622 guix-git/doc/guix.texi:21638
  29499. #: guix-git/doc/guix.texi:22295 guix-git/doc/guix.texi:22307
  29500. #: guix-git/doc/guix.texi:23086 guix-git/doc/guix.texi:23095
  29501. #: guix-git/doc/guix.texi:23103 guix-git/doc/guix.texi:23111
  29502. #: guix-git/doc/guix.texi:29309 guix-git/doc/guix.texi:29634
  29503. #: guix-git/doc/guix.texi:31838 guix-git/doc/guix.texi:32138
  29504. #: guix-git/doc/guix.texi:32312
  29505. msgid "Defaults to @samp{0}."
  29506. msgstr ""
  29507. #. type: deftypevr
  29508. #: guix-git/doc/guix.texi:19943
  29509. #, no-wrap
  29510. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  29511. msgstr ""
  29512. #. type: deftypevr
  29513. #: guix-git/doc/guix.texi:19947
  29514. 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."
  29515. msgstr ""
  29516. #. type: deftypevr
  29517. #: guix-git/doc/guix.texi:19951
  29518. #, no-wrap
  29519. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  29520. msgstr ""
  29521. #. type: deftypevr
  29522. #: guix-git/doc/guix.texi:19958
  29523. 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."
  29524. msgstr ""
  29525. #. type: deftypevr
  29526. #: guix-git/doc/guix.texi:19962
  29527. #, no-wrap
  29528. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  29529. msgstr ""
  29530. #. type: deftypevr
  29531. #: guix-git/doc/guix.texi:19965
  29532. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  29533. msgstr ""
  29534. #. type: deftypevr
  29535. #: guix-git/doc/guix.texi:19969
  29536. #, no-wrap
  29537. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  29538. msgstr ""
  29539. #. type: deftypevr
  29540. #: guix-git/doc/guix.texi:19974
  29541. 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}."
  29542. msgstr ""
  29543. #. type: deftypevr
  29544. #: guix-git/doc/guix.texi:19978
  29545. #, no-wrap
  29546. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  29547. msgstr ""
  29548. #. type: deftypevr
  29549. #: guix-git/doc/guix.texi:19983
  29550. 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}."
  29551. msgstr ""
  29552. #. type: deftypevr
  29553. #: guix-git/doc/guix.texi:19985 guix-git/doc/guix.texi:24721
  29554. #: guix-git/doc/guix.texi:30186 guix-git/doc/guix.texi:30206
  29555. #: guix-git/doc/guix.texi:30222 guix-git/doc/guix.texi:30236
  29556. #: guix-git/doc/guix.texi:30243 guix-git/doc/guix.texi:30250
  29557. #: guix-git/doc/guix.texi:30257 guix-git/doc/guix.texi:30417
  29558. #: guix-git/doc/guix.texi:30433 guix-git/doc/guix.texi:30440
  29559. #: guix-git/doc/guix.texi:30447 guix-git/doc/guix.texi:30458
  29560. #: guix-git/doc/guix.texi:31790 guix-git/doc/guix.texi:31798
  29561. #: guix-git/doc/guix.texi:31806 guix-git/doc/guix.texi:31830
  29562. msgid "Defaults to @samp{5}."
  29563. msgstr ""
  29564. #. type: deftypevr
  29565. #: guix-git/doc/guix.texi:19987
  29566. #, no-wrap
  29567. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  29568. msgstr ""
  29569. #. type: deftypevr
  29570. #: guix-git/doc/guix.texi:19989
  29571. msgid "Specifies whether to support HTTP keep-alive connections."
  29572. msgstr ""
  29573. #. type: deftypevr
  29574. #: guix-git/doc/guix.texi:19993
  29575. #, no-wrap
  29576. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  29577. msgstr ""
  29578. #. type: deftypevr
  29579. #: guix-git/doc/guix.texi:19996
  29580. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  29581. msgstr ""
  29582. #. type: deftypevr
  29583. #: guix-git/doc/guix.texi:20000
  29584. #, no-wrap
  29585. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  29586. msgstr ""
  29587. #. type: deftypevr
  29588. #: guix-git/doc/guix.texi:20007
  29589. 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."
  29590. msgstr ""
  29591. #. type: deftypevr
  29592. #: guix-git/doc/guix.texi:20009
  29593. #, no-wrap
  29594. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  29595. msgstr ""
  29596. #. type: deftypevr
  29597. #: guix-git/doc/guix.texi:20016
  29598. 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."
  29599. msgstr ""
  29600. #. type: deftypevr
  29601. #: guix-git/doc/guix.texi:20018
  29602. msgid "Defaults to @samp{128}."
  29603. msgstr ""
  29604. #. type: deftypevr
  29605. #: guix-git/doc/guix.texi:20020
  29606. #, no-wrap
  29607. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  29608. msgstr ""
  29609. #. type: deftypevr
  29610. #: guix-git/doc/guix.texi:20022
  29611. msgid "Specifies a set of additional access controls."
  29612. msgstr ""
  29613. #. type: deftypevr
  29614. #: guix-git/doc/guix.texi:20024
  29615. msgid "Available @code{location-access-controls} fields are:"
  29616. msgstr ""
  29617. #. type: deftypevr
  29618. #: guix-git/doc/guix.texi:20025
  29619. #, no-wrap
  29620. msgid "{@code{location-access-controls} parameter} file-name path"
  29621. msgstr ""
  29622. #. type: deftypevr
  29623. #: guix-git/doc/guix.texi:20027
  29624. msgid "Specifies the URI path to which the access control applies."
  29625. msgstr ""
  29626. #. type: deftypevr
  29627. #: guix-git/doc/guix.texi:20029
  29628. #, no-wrap
  29629. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  29630. msgstr ""
  29631. #. type: deftypevr
  29632. #: guix-git/doc/guix.texi:20032
  29633. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  29634. msgstr ""
  29635. #. type: deftypevr
  29636. #: guix-git/doc/guix.texi:20034 guix-git/doc/guix.texi:20040
  29637. #: guix-git/doc/guix.texi:20054 guix-git/doc/guix.texi:20061
  29638. #: guix-git/doc/guix.texi:20203 guix-git/doc/guix.texi:20262
  29639. #: guix-git/doc/guix.texi:20340 guix-git/doc/guix.texi:20354
  29640. #: guix-git/doc/guix.texi:21502 guix-git/doc/guix.texi:21511
  29641. #: guix-git/doc/guix.texi:22781 guix-git/doc/guix.texi:22984
  29642. #: guix-git/doc/guix.texi:23012 guix-git/doc/guix.texi:23042
  29643. #: guix-git/doc/guix.texi:23157 guix-git/doc/guix.texi:23170
  29644. #: guix-git/doc/guix.texi:23177 guix-git/doc/guix.texi:24927
  29645. #: guix-git/doc/guix.texi:25322 guix-git/doc/guix.texi:25426
  29646. #: guix-git/doc/guix.texi:25853 guix-git/doc/guix.texi:25861
  29647. #: guix-git/doc/guix.texi:26106 guix-git/doc/guix.texi:28239
  29648. #: guix-git/doc/guix.texi:28417 guix-git/doc/guix.texi:28616
  29649. #: guix-git/doc/guix.texi:30077 guix-git/doc/guix.texi:30137
  29650. #: guix-git/doc/guix.texi:30145 guix-git/doc/guix.texi:31853
  29651. #: guix-git/doc/guix.texi:31860 guix-git/doc/guix.texi:32202
  29652. #: guix-git/doc/guix.texi:32280 guix-git/doc/guix.texi:32374
  29653. #: guix-git/doc/guix.texi:32382 guix-git/doc/guix.texi:32418
  29654. #: guix-git/doc/guix.texi:32568 guix-git/doc/guix.texi:32619
  29655. #: guix-git/doc/guix.texi:32628
  29656. msgid "Defaults to @samp{()}."
  29657. msgstr ""
  29658. #. type: deftypevr
  29659. #: guix-git/doc/guix.texi:20036
  29660. #, no-wrap
  29661. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  29662. msgstr ""
  29663. #. type: deftypevr
  29664. #: guix-git/doc/guix.texi:20038
  29665. msgid "Access controls for method-specific access to this path."
  29666. msgstr ""
  29667. #. type: deftypevr
  29668. #: guix-git/doc/guix.texi:20042
  29669. msgid "Available @code{method-access-controls} fields are:"
  29670. msgstr ""
  29671. #. type: deftypevr
  29672. #: guix-git/doc/guix.texi:20043
  29673. #, no-wrap
  29674. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  29675. msgstr ""
  29676. #. type: deftypevr
  29677. #: guix-git/doc/guix.texi:20046
  29678. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  29679. msgstr ""
  29680. #. type: deftypevr
  29681. #: guix-git/doc/guix.texi:20050
  29682. #, no-wrap
  29683. msgid "{@code{method-access-controls} parameter} method-list methods"
  29684. msgstr ""
  29685. #. type: deftypevr
  29686. #: guix-git/doc/guix.texi:20052
  29687. msgid "Methods to which this access control applies."
  29688. msgstr ""
  29689. #. type: deftypevr
  29690. #: guix-git/doc/guix.texi:20056
  29691. #, no-wrap
  29692. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  29693. msgstr ""
  29694. #. type: deftypevr
  29695. #: guix-git/doc/guix.texi:20059
  29696. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  29697. msgstr ""
  29698. #. type: deftypevr
  29699. #: guix-git/doc/guix.texi:20065
  29700. #, no-wrap
  29701. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  29702. msgstr ""
  29703. #. type: deftypevr
  29704. #: guix-git/doc/guix.texi:20069
  29705. 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."
  29706. msgstr ""
  29707. #. type: deftypevr
  29708. #: guix-git/doc/guix.texi:20071 guix-git/doc/guix.texi:20092
  29709. #: guix-git/doc/guix.texi:20099 guix-git/doc/guix.texi:22541
  29710. #: guix-git/doc/guix.texi:24459 guix-git/doc/guix.texi:24474
  29711. #: guix-git/doc/guix.texi:28601
  29712. msgid "Defaults to @samp{100}."
  29713. msgstr ""
  29714. #. type: deftypevr
  29715. #: guix-git/doc/guix.texi:20073
  29716. #, no-wrap
  29717. msgid "{@code{cups-configuration} parameter} log-level log-level"
  29718. msgstr ""
  29719. #. type: deftypevr
  29720. #: guix-git/doc/guix.texi:20076
  29721. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  29722. msgstr ""
  29723. #. type: deftypevr
  29724. #: guix-git/doc/guix.texi:20078 guix-git/doc/guix.texi:24936
  29725. msgid "Defaults to @samp{info}."
  29726. msgstr ""
  29727. #. type: deftypevr
  29728. #: guix-git/doc/guix.texi:20080
  29729. #, no-wrap
  29730. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  29731. msgstr ""
  29732. #. type: deftypevr
  29733. #: guix-git/doc/guix.texi:20083
  29734. 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."
  29735. msgstr ""
  29736. #. type: deftypevr
  29737. #: guix-git/doc/guix.texi:20085
  29738. msgid "Defaults to @samp{standard}."
  29739. msgstr ""
  29740. #. type: deftypevr
  29741. #: guix-git/doc/guix.texi:20087
  29742. #, no-wrap
  29743. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  29744. msgstr ""
  29745. #. type: deftypevr
  29746. #: guix-git/doc/guix.texi:20090
  29747. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  29748. msgstr ""
  29749. #. type: deftypevr
  29750. #: guix-git/doc/guix.texi:20094
  29751. #, no-wrap
  29752. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  29753. msgstr ""
  29754. #. type: deftypevr
  29755. #: guix-git/doc/guix.texi:20097
  29756. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  29757. msgstr ""
  29758. #. type: deftypevr
  29759. #: guix-git/doc/guix.texi:20101
  29760. #, no-wrap
  29761. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  29762. msgstr ""
  29763. #. type: deftypevr
  29764. #: guix-git/doc/guix.texi:20104
  29765. msgid "Specifies the maximum number of copies that a user can print of each job."
  29766. msgstr ""
  29767. #. type: deftypevr
  29768. #: guix-git/doc/guix.texi:20106
  29769. msgid "Defaults to @samp{9999}."
  29770. msgstr ""
  29771. #. type: deftypevr
  29772. #: guix-git/doc/guix.texi:20108
  29773. #, no-wrap
  29774. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  29775. msgstr ""
  29776. #. type: deftypevr
  29777. #: guix-git/doc/guix.texi:20112
  29778. 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."
  29779. msgstr ""
  29780. #. type: deftypevr
  29781. #: guix-git/doc/guix.texi:20116
  29782. #, no-wrap
  29783. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  29784. msgstr ""
  29785. #. type: deftypevr
  29786. #: guix-git/doc/guix.texi:20119
  29787. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  29788. msgstr ""
  29789. #. type: deftypevr
  29790. #: guix-git/doc/guix.texi:20121
  29791. msgid "Defaults to @samp{500}."
  29792. msgstr ""
  29793. #. type: deftypevr
  29794. #: guix-git/doc/guix.texi:20123
  29795. #, no-wrap
  29796. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  29797. msgstr ""
  29798. #. type: deftypevr
  29799. #: guix-git/doc/guix.texi:20126
  29800. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  29801. msgstr ""
  29802. #. type: deftypevr
  29803. #: guix-git/doc/guix.texi:20130
  29804. #, no-wrap
  29805. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  29806. msgstr ""
  29807. #. type: deftypevr
  29808. #: guix-git/doc/guix.texi:20133
  29809. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  29810. msgstr ""
  29811. #. type: deftypevr
  29812. #: guix-git/doc/guix.texi:20137
  29813. #, no-wrap
  29814. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  29815. msgstr ""
  29816. #. type: deftypevr
  29817. #: guix-git/doc/guix.texi:20140
  29818. 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."
  29819. msgstr ""
  29820. #. type: deftypevr
  29821. #: guix-git/doc/guix.texi:20142
  29822. msgid "Defaults to @samp{10800}."
  29823. msgstr ""
  29824. #. type: deftypevr
  29825. #: guix-git/doc/guix.texi:20144
  29826. #, no-wrap
  29827. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  29828. msgstr ""
  29829. #. type: deftypevr
  29830. #: guix-git/doc/guix.texi:20147
  29831. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  29832. msgstr ""
  29833. #. type: deftypevr
  29834. #: guix-git/doc/guix.texi:20149
  29835. msgid "Defaults to @samp{1048576}."
  29836. msgstr ""
  29837. #. type: deftypevr
  29838. #: guix-git/doc/guix.texi:20151
  29839. #, no-wrap
  29840. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  29841. msgstr ""
  29842. #. type: deftypevr
  29843. #: guix-git/doc/guix.texi:20154
  29844. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  29845. msgstr ""
  29846. #. type: deftypevr
  29847. #: guix-git/doc/guix.texi:20156 guix-git/doc/guix.texi:20367
  29848. msgid "Defaults to @samp{900}."
  29849. msgstr ""
  29850. #. type: deftypevr
  29851. #: guix-git/doc/guix.texi:20158
  29852. #, no-wrap
  29853. msgid "{@code{cups-configuration} parameter} string page-log-format"
  29854. msgstr ""
  29855. #. type: deftypevr
  29856. #: guix-git/doc/guix.texi:20163
  29857. 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:"
  29858. msgstr ""
  29859. #. type: item
  29860. #: guix-git/doc/guix.texi:20165
  29861. #, no-wrap
  29862. msgid "%%"
  29863. msgstr ""
  29864. #. type: table
  29865. #: guix-git/doc/guix.texi:20167
  29866. msgid "insert a single percent character"
  29867. msgstr ""
  29868. #. type: item
  29869. #: guix-git/doc/guix.texi:20168
  29870. #, no-wrap
  29871. msgid "%@{name@}"
  29872. msgstr ""
  29873. #. type: table
  29874. #: guix-git/doc/guix.texi:20170
  29875. msgid "insert the value of the specified IPP attribute"
  29876. msgstr ""
  29877. #. type: item
  29878. #: guix-git/doc/guix.texi:20171
  29879. #, no-wrap
  29880. msgid "%C"
  29881. msgstr ""
  29882. #. type: table
  29883. #: guix-git/doc/guix.texi:20173
  29884. msgid "insert the number of copies for the current page"
  29885. msgstr ""
  29886. #. type: item
  29887. #: guix-git/doc/guix.texi:20174
  29888. #, no-wrap
  29889. msgid "%P"
  29890. msgstr ""
  29891. #. type: table
  29892. #: guix-git/doc/guix.texi:20176
  29893. msgid "insert the current page number"
  29894. msgstr ""
  29895. #. type: item
  29896. #: guix-git/doc/guix.texi:20177
  29897. #, no-wrap
  29898. msgid "%T"
  29899. msgstr ""
  29900. #. type: table
  29901. #: guix-git/doc/guix.texi:20179
  29902. msgid "insert the current date and time in common log format"
  29903. msgstr ""
  29904. #. type: item
  29905. #: guix-git/doc/guix.texi:20180
  29906. #, no-wrap
  29907. msgid "%j"
  29908. msgstr ""
  29909. #. type: table
  29910. #: guix-git/doc/guix.texi:20182
  29911. msgid "insert the job ID"
  29912. msgstr ""
  29913. #. type: item
  29914. #: guix-git/doc/guix.texi:20183 guix-git/doc/guix.texi:22140
  29915. #, no-wrap
  29916. msgid "%p"
  29917. msgstr ""
  29918. #. type: table
  29919. #: guix-git/doc/guix.texi:20185
  29920. msgid "insert the printer name"
  29921. msgstr ""
  29922. #. type: item
  29923. #: guix-git/doc/guix.texi:20186 guix-git/doc/guix.texi:22163
  29924. #, no-wrap
  29925. msgid "%u"
  29926. msgstr ""
  29927. #. type: table
  29928. #: guix-git/doc/guix.texi:20188
  29929. msgid "insert the username"
  29930. msgstr ""
  29931. #. type: deftypevr
  29932. #: guix-git/doc/guix.texi:20194
  29933. 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."
  29934. msgstr ""
  29935. #. type: deftypevr
  29936. #: guix-git/doc/guix.texi:20198
  29937. #, no-wrap
  29938. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  29939. msgstr ""
  29940. #. type: deftypevr
  29941. #: guix-git/doc/guix.texi:20201
  29942. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  29943. msgstr ""
  29944. #. type: deftypevr
  29945. #: guix-git/doc/guix.texi:20205
  29946. #, no-wrap
  29947. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  29948. msgstr ""
  29949. #. type: deftypevr
  29950. #: guix-git/doc/guix.texi:20207
  29951. msgid "Specifies named access control policies."
  29952. msgstr ""
  29953. #. type: deftypevr
  29954. #: guix-git/doc/guix.texi:20209
  29955. msgid "Available @code{policy-configuration} fields are:"
  29956. msgstr ""
  29957. #. type: deftypevr
  29958. #: guix-git/doc/guix.texi:20210
  29959. #, no-wrap
  29960. msgid "{@code{policy-configuration} parameter} string name"
  29961. msgstr ""
  29962. #. type: deftypevr
  29963. #: guix-git/doc/guix.texi:20212
  29964. msgid "Name of the policy."
  29965. msgstr ""
  29966. #. type: deftypevr
  29967. #: guix-git/doc/guix.texi:20214
  29968. #, no-wrap
  29969. msgid "{@code{policy-configuration} parameter} string job-private-access"
  29970. msgstr ""
  29971. #. type: deftypevr
  29972. #: guix-git/doc/guix.texi:20224
  29973. 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-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}."
  29974. msgstr ""
  29975. #. type: deftypevr
  29976. #: guix-git/doc/guix.texi:20226 guix-git/doc/guix.texi:20248
  29977. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  29978. msgstr ""
  29979. #. type: deftypevr
  29980. #: guix-git/doc/guix.texi:20228
  29981. #, no-wrap
  29982. msgid "{@code{policy-configuration} parameter} string job-private-values"
  29983. msgstr ""
  29984. #. type: deftypevr
  29985. #: guix-git/doc/guix.texi:20231 guix-git/doc/guix.texi:20253
  29986. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  29987. msgstr ""
  29988. #. type: deftypevr
  29989. #: guix-git/doc/guix.texi:20234
  29990. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  29991. msgstr ""
  29992. #. type: deftypevr
  29993. #: guix-git/doc/guix.texi:20236
  29994. #, no-wrap
  29995. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  29996. msgstr ""
  29997. #. type: deftypevr
  29998. #: guix-git/doc/guix.texi:20246
  29999. 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-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}."
  30000. msgstr ""
  30001. #. type: deftypevr
  30002. #: guix-git/doc/guix.texi:20250
  30003. #, no-wrap
  30004. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  30005. msgstr ""
  30006. #. type: deftypevr
  30007. #: guix-git/doc/guix.texi:20256
  30008. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  30009. msgstr ""
  30010. #. type: deftypevr
  30011. #: guix-git/doc/guix.texi:20258
  30012. #, no-wrap
  30013. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  30014. msgstr ""
  30015. #. type: deftypevr
  30016. #: guix-git/doc/guix.texi:20260
  30017. msgid "Access control by IPP operation."
  30018. msgstr ""
  30019. #. type: deftypevr
  30020. #: guix-git/doc/guix.texi:20265
  30021. #, no-wrap
  30022. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  30023. msgstr ""
  30024. #. type: deftypevr
  30025. #: guix-git/doc/guix.texi:20270
  30026. 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."
  30027. msgstr ""
  30028. #. type: deftypevr
  30029. #: guix-git/doc/guix.texi:20272
  30030. msgid "Defaults to @samp{86400}."
  30031. msgstr ""
  30032. #. type: deftypevr
  30033. #: guix-git/doc/guix.texi:20274
  30034. #, no-wrap
  30035. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  30036. msgstr ""
  30037. #. type: deftypevr
  30038. #: guix-git/doc/guix.texi:20279
  30039. 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."
  30040. msgstr ""
  30041. #. type: deftypevr
  30042. #: guix-git/doc/guix.texi:20283
  30043. #, no-wrap
  30044. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  30045. msgstr ""
  30046. #. type: deftypevr
  30047. #: guix-git/doc/guix.texi:20286
  30048. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  30049. msgstr ""
  30050. #. type: deftypevr
  30051. #: guix-git/doc/guix.texi:20290
  30052. #, no-wrap
  30053. msgid "{@code{cups-configuration} parameter} string rip-cache"
  30054. msgstr ""
  30055. #. type: deftypevr
  30056. #: guix-git/doc/guix.texi:20293
  30057. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  30058. msgstr ""
  30059. #. type: deftypevr
  30060. #: guix-git/doc/guix.texi:20295
  30061. msgid "Defaults to @samp{\"128m\"}."
  30062. msgstr ""
  30063. #. type: deftypevr
  30064. #: guix-git/doc/guix.texi:20297
  30065. #, no-wrap
  30066. msgid "{@code{cups-configuration} parameter} string server-admin"
  30067. msgstr ""
  30068. #. type: deftypevr
  30069. #: guix-git/doc/guix.texi:20299
  30070. msgid "Specifies the email address of the server administrator."
  30071. msgstr ""
  30072. #. type: deftypevr
  30073. #: guix-git/doc/guix.texi:20301
  30074. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  30075. msgstr ""
  30076. #. type: deftypevr
  30077. #: guix-git/doc/guix.texi:20303
  30078. #, no-wrap
  30079. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  30080. msgstr ""
  30081. #. type: deftypevr
  30082. #: guix-git/doc/guix.texi:20311
  30083. 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{*}."
  30084. msgstr ""
  30085. #. type: deftypevr
  30086. #: guix-git/doc/guix.texi:20313
  30087. msgid "Defaults to @samp{*}."
  30088. msgstr ""
  30089. #. type: deftypevr
  30090. #: guix-git/doc/guix.texi:20315
  30091. #, no-wrap
  30092. msgid "{@code{cups-configuration} parameter} string server-name"
  30093. msgstr ""
  30094. #. type: deftypevr
  30095. #: guix-git/doc/guix.texi:20317
  30096. msgid "Specifies the fully-qualified host name of the server."
  30097. msgstr ""
  30098. #. type: deftypevr
  30099. #: guix-git/doc/guix.texi:20319 guix-git/doc/guix.texi:25449
  30100. #: guix-git/doc/guix.texi:25494
  30101. msgid "Defaults to @samp{\"localhost\"}."
  30102. msgstr ""
  30103. #. type: deftypevr
  30104. #: guix-git/doc/guix.texi:20321
  30105. #, no-wrap
  30106. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  30107. msgstr ""
  30108. #. type: deftypevr
  30109. #: guix-git/doc/guix.texi:20329
  30110. 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}."
  30111. msgstr ""
  30112. #. type: deftypevr
  30113. #: guix-git/doc/guix.texi:20331
  30114. msgid "Defaults to @samp{Minimal}."
  30115. msgstr ""
  30116. #. type: deftypevr
  30117. #: guix-git/doc/guix.texi:20333
  30118. #, no-wrap
  30119. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  30120. msgstr ""
  30121. #. type: deftypevr
  30122. #: guix-git/doc/guix.texi:20338
  30123. 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."
  30124. msgstr ""
  30125. #. type: deftypevr
  30126. #: guix-git/doc/guix.texi:20342
  30127. #, no-wrap
  30128. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  30129. msgstr ""
  30130. #. type: deftypevr
  30131. #: guix-git/doc/guix.texi:20352
  30132. 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."
  30133. msgstr ""
  30134. #. type: deftypevr
  30135. #: guix-git/doc/guix.texi:20356
  30136. #, no-wrap
  30137. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  30138. msgstr ""
  30139. #. type: deftypevr
  30140. #: guix-git/doc/guix.texi:20359
  30141. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  30142. msgstr ""
  30143. #. type: deftypevr
  30144. #: guix-git/doc/guix.texi:20363
  30145. #, no-wrap
  30146. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  30147. msgstr ""
  30148. #. type: deftypevr
  30149. #: guix-git/doc/guix.texi:20365
  30150. msgid "Specifies the HTTP request timeout, in seconds."
  30151. msgstr ""
  30152. #. type: deftypevr
  30153. #: guix-git/doc/guix.texi:20370
  30154. #, no-wrap
  30155. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  30156. msgstr ""
  30157. #. type: deftypevr
  30158. #: guix-git/doc/guix.texi:20372
  30159. msgid "Specifies whether the web interface is enabled."
  30160. msgstr ""
  30161. #. type: Plain text
  30162. #: guix-git/doc/guix.texi:20382
  30163. 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}."
  30164. msgstr ""
  30165. #. type: Plain text
  30166. #: guix-git/doc/guix.texi:20384
  30167. msgid "Available @code{opaque-cups-configuration} fields are:"
  30168. msgstr ""
  30169. #. type: deftypevr
  30170. #: guix-git/doc/guix.texi:20385
  30171. #, no-wrap
  30172. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  30173. msgstr ""
  30174. #. type: deftypevr
  30175. #: guix-git/doc/guix.texi:20389
  30176. #, no-wrap
  30177. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  30178. msgstr ""
  30179. #. type: deftypevr
  30180. #: guix-git/doc/guix.texi:20391
  30181. msgid "The contents of the @code{cupsd.conf}, as a string."
  30182. msgstr ""
  30183. #. type: deftypevr
  30184. #: guix-git/doc/guix.texi:20393
  30185. #, no-wrap
  30186. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  30187. msgstr ""
  30188. #. type: deftypevr
  30189. #: guix-git/doc/guix.texi:20395
  30190. msgid "The contents of the @code{cups-files.conf} file, as a string."
  30191. msgstr ""
  30192. #. type: Plain text
  30193. #: guix-git/doc/guix.texi:20400
  30194. 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:"
  30195. msgstr ""
  30196. #. type: lisp
  30197. #: guix-git/doc/guix.texi:20406
  30198. #, no-wrap
  30199. msgid ""
  30200. "(service cups-service-type\n"
  30201. " (opaque-cups-configuration\n"
  30202. " (cupsd.conf cupsd.conf)\n"
  30203. " (cups-files.conf cups-files.conf)))\n"
  30204. msgstr ""
  30205. #. type: Plain text
  30206. #: guix-git/doc/guix.texi:20417
  30207. 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."
  30208. msgstr ""
  30209. #. type: Plain text
  30210. #: guix-git/doc/guix.texi:20421
  30211. 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:"
  30212. msgstr ""
  30213. #. type: defvr
  30214. #: guix-git/doc/guix.texi:20422
  30215. #, no-wrap
  30216. msgid "{Scheme Variable} %desktop-services"
  30217. msgstr ""
  30218. #. type: defvr
  30219. #: guix-git/doc/guix.texi:20425
  30220. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  30221. msgstr ""
  30222. #. type: defvr
  30223. #: guix-git/doc/guix.texi:20436
  30224. 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})."
  30225. msgstr ""
  30226. #. type: Plain text
  30227. #: guix-git/doc/guix.texi:20441
  30228. 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}})."
  30229. msgstr ""
  30230. #. type: Plain text
  30231. #: guix-git/doc/guix.texi:20464
  30232. 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."
  30233. msgstr ""
  30234. #. type: Plain text
  30235. #: guix-git/doc/guix.texi:20474
  30236. 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 enable Wayland support in GDM (@pxref{wayland-gdm}). Another solution is 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."
  30237. msgstr ""
  30238. #. type: defvr
  30239. #: guix-git/doc/guix.texi:20475
  30240. #, no-wrap
  30241. msgid "{Scheme Variable} gnome-desktop-service-type"
  30242. msgstr ""
  30243. #. type: defvr
  30244. #: guix-git/doc/guix.texi:20479
  30245. 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)."
  30246. msgstr ""
  30247. #. type: defvr
  30248. #: guix-git/doc/guix.texi:20482
  30249. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  30250. msgstr ""
  30251. #. type: deftp
  30252. #: guix-git/doc/guix.texi:20484
  30253. #, no-wrap
  30254. msgid "{Data Type} gnome-desktop-configuration"
  30255. msgstr ""
  30256. #. type: deftp
  30257. #: guix-git/doc/guix.texi:20486
  30258. msgid "Configuration record for the GNOME desktop environment."
  30259. msgstr ""
  30260. #. type: item
  30261. #: guix-git/doc/guix.texi:20488
  30262. #, no-wrap
  30263. msgid "@code{gnome} (default: @code{gnome})"
  30264. msgstr ""
  30265. #. type: table
  30266. #: guix-git/doc/guix.texi:20490
  30267. msgid "The GNOME package to use."
  30268. msgstr ""
  30269. #. type: defvr
  30270. #: guix-git/doc/guix.texi:20493
  30271. #, no-wrap
  30272. msgid "{Scheme Variable} xfce-desktop-service-type"
  30273. msgstr ""
  30274. #. type: defvr
  30275. #: guix-git/doc/guix.texi:20497
  30276. 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)."
  30277. msgstr ""
  30278. #. type: defvr
  30279. #: guix-git/doc/guix.texi:20502
  30280. 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."
  30281. msgstr ""
  30282. #. type: defvr
  30283. #: guix-git/doc/guix.texi:20508
  30284. 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}."
  30285. msgstr ""
  30286. #. type: deftp
  30287. #: guix-git/doc/guix.texi:20510
  30288. #, no-wrap
  30289. msgid "{Data Type} xfce-desktop-configuration"
  30290. msgstr ""
  30291. #. type: deftp
  30292. #: guix-git/doc/guix.texi:20512
  30293. msgid "Configuration record for the Xfce desktop environment."
  30294. msgstr ""
  30295. #. type: item
  30296. #: guix-git/doc/guix.texi:20514
  30297. #, no-wrap
  30298. msgid "@code{xfce} (default: @code{xfce})"
  30299. msgstr ""
  30300. #. type: table
  30301. #: guix-git/doc/guix.texi:20516
  30302. msgid "The Xfce package to use."
  30303. msgstr ""
  30304. #. type: deffn
  30305. #: guix-git/doc/guix.texi:20519
  30306. #, no-wrap
  30307. msgid "{Scheme Variable} mate-desktop-service-type"
  30308. msgstr ""
  30309. #. type: deffn
  30310. #: guix-git/doc/guix.texi:20523
  30311. 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)."
  30312. msgstr ""
  30313. #. type: deffn
  30314. #: guix-git/doc/guix.texi:20527
  30315. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  30316. msgstr ""
  30317. #. type: deftp
  30318. #: guix-git/doc/guix.texi:20529
  30319. #, no-wrap
  30320. msgid "{Data Type} mate-desktop-configuration"
  30321. msgstr ""
  30322. #. type: deftp
  30323. #: guix-git/doc/guix.texi:20531
  30324. msgid "Configuration record for the MATE desktop environment."
  30325. msgstr ""
  30326. #. type: item
  30327. #: guix-git/doc/guix.texi:20533
  30328. #, no-wrap
  30329. msgid "@code{mate} (default: @code{mate})"
  30330. msgstr ""
  30331. #. type: table
  30332. #: guix-git/doc/guix.texi:20535
  30333. msgid "The MATE package to use."
  30334. msgstr ""
  30335. #. type: deffn
  30336. #: guix-git/doc/guix.texi:20538
  30337. #, no-wrap
  30338. msgid "{Scheme Variable} lxqt-desktop-service-type"
  30339. msgstr ""
  30340. #. type: deffn
  30341. #: guix-git/doc/guix.texi:20542
  30342. msgid "This is the type of the service that runs the @uref{https://lxqt-project.org, LXQt desktop environment}. Its value is a @code{lxqt-desktop-configuration} object (see below)."
  30343. msgstr ""
  30344. #. type: deffn
  30345. #: guix-git/doc/guix.texi:20545
  30346. msgid "This service adds the @code{lxqt} package to the system profile."
  30347. msgstr ""
  30348. #. type: deftp
  30349. #: guix-git/doc/guix.texi:20547
  30350. #, no-wrap
  30351. msgid "{Data Type} lxqt-desktop-configuration"
  30352. msgstr ""
  30353. #. type: deftp
  30354. #: guix-git/doc/guix.texi:20549
  30355. msgid "Configuration record for the LXQt desktop environment."
  30356. msgstr ""
  30357. #. type: item
  30358. #: guix-git/doc/guix.texi:20551
  30359. #, no-wrap
  30360. msgid "@code{lxqt} (default: @code{lxqt})"
  30361. msgstr ""
  30362. #. type: table
  30363. #: guix-git/doc/guix.texi:20553
  30364. msgid "The LXQT package to use."
  30365. msgstr ""
  30366. #. type: deffn
  30367. #: guix-git/doc/guix.texi:20556
  30368. #, no-wrap
  30369. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  30370. msgstr ""
  30371. #. type: deffn
  30372. #: guix-git/doc/guix.texi:20559
  30373. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  30374. msgstr ""
  30375. #. type: deftp
  30376. #: guix-git/doc/guix.texi:20561
  30377. #, no-wrap
  30378. msgid "{Data Type} enlightenment-desktop-service-configuration"
  30379. msgstr ""
  30380. #. type: item
  30381. #: guix-git/doc/guix.texi:20563
  30382. #, no-wrap
  30383. msgid "@code{enlightenment} (default: @code{enlightenment})"
  30384. msgstr ""
  30385. #. type: table
  30386. #: guix-git/doc/guix.texi:20565
  30387. msgid "The enlightenment package to use."
  30388. msgstr ""
  30389. #. type: Plain text
  30390. #: guix-git/doc/guix.texi:20573
  30391. 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}:"
  30392. msgstr ""
  30393. #. type: lisp
  30394. #: guix-git/doc/guix.texi:20584
  30395. #, no-wrap
  30396. msgid ""
  30397. "(use-modules (gnu))\n"
  30398. "(use-service-modules desktop)\n"
  30399. "(operating-system\n"
  30400. " ...\n"
  30401. " ;; cons* adds items to the list given as its last argument.\n"
  30402. " (services (cons* (service gnome-desktop-service-type)\n"
  30403. " (service xfce-desktop-service)\n"
  30404. " %desktop-services))\n"
  30405. " ...)\n"
  30406. msgstr ""
  30407. #. type: Plain text
  30408. #: guix-git/doc/guix.texi:20588
  30409. msgid "These desktop environments will then be available as options in the graphical login window."
  30410. msgstr ""
  30411. #. type: Plain text
  30412. #: guix-git/doc/guix.texi:20592
  30413. 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."
  30414. msgstr ""
  30415. #. type: deffn
  30416. #: guix-git/doc/guix.texi:20593
  30417. #, no-wrap
  30418. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  30419. msgstr ""
  30420. #. type: deffn
  30421. #: guix-git/doc/guix.texi:20596
  30422. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  30423. msgstr ""
  30424. #. type: deffn
  30425. #: guix-git/doc/guix.texi:20600
  30426. 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."
  30427. msgstr ""
  30428. #. type: deffn
  30429. #: guix-git/doc/guix.texi:20605
  30430. 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)}."
  30431. msgstr ""
  30432. #. type: deffn
  30433. #: guix-git/doc/guix.texi:20607
  30434. #, no-wrap
  30435. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  30436. msgstr ""
  30437. #. type: deffn
  30438. #: guix-git/doc/guix.texi:20613
  30439. 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."
  30440. msgstr ""
  30441. #. type: deffn
  30442. #: guix-git/doc/guix.texi:20617
  30443. 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."
  30444. msgstr ""
  30445. #. type: deffn
  30446. #: guix-git/doc/guix.texi:20622
  30447. 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:"
  30448. msgstr ""
  30449. #. type: item
  30450. #: guix-git/doc/guix.texi:20624
  30451. #, no-wrap
  30452. msgid "kill-user-processes?"
  30453. msgstr ""
  30454. #. type: code{#1}
  30455. #: guix-git/doc/guix.texi:20626 guix-git/doc/guix.texi:20646
  30456. #: guix-git/doc/guix.texi:20648 guix-git/doc/guix.texi:20650
  30457. #: guix-git/doc/guix.texi:20662
  30458. msgid "#f"
  30459. msgstr ""
  30460. #. type: item
  30461. #: guix-git/doc/guix.texi:20626
  30462. #, no-wrap
  30463. msgid "kill-only-users"
  30464. msgstr ""
  30465. #. type: code{#1}
  30466. #: guix-git/doc/guix.texi:20628 guix-git/doc/guix.texi:20668
  30467. msgid "()"
  30468. msgstr ""
  30469. #. type: item
  30470. #: guix-git/doc/guix.texi:20628
  30471. #, no-wrap
  30472. msgid "kill-exclude-users"
  30473. msgstr ""
  30474. #. type: code{#1}
  30475. #: guix-git/doc/guix.texi:20630
  30476. msgid "(\"root\")"
  30477. msgstr ""
  30478. #. type: item
  30479. #: guix-git/doc/guix.texi:20630
  30480. #, no-wrap
  30481. msgid "inhibit-delay-max-seconds"
  30482. msgstr ""
  30483. #. type: code{#1}
  30484. #: guix-git/doc/guix.texi:20632
  30485. msgid "5"
  30486. msgstr ""
  30487. #. type: item
  30488. #: guix-git/doc/guix.texi:20632
  30489. #, no-wrap
  30490. msgid "handle-power-key"
  30491. msgstr ""
  30492. #. type: code{#1}
  30493. #: guix-git/doc/guix.texi:20634
  30494. msgid "poweroff"
  30495. msgstr ""
  30496. #. type: item
  30497. #: guix-git/doc/guix.texi:20634
  30498. #, no-wrap
  30499. msgid "handle-suspend-key"
  30500. msgstr ""
  30501. #. type: code{#1}
  30502. #: guix-git/doc/guix.texi:20636 guix-git/doc/guix.texi:20640
  30503. msgid "suspend"
  30504. msgstr ""
  30505. #. type: item
  30506. #: guix-git/doc/guix.texi:20636
  30507. #, no-wrap
  30508. msgid "handle-hibernate-key"
  30509. msgstr ""
  30510. #. type: code{#1}
  30511. #: guix-git/doc/guix.texi:20638
  30512. msgid "hibernate"
  30513. msgstr ""
  30514. #. type: item
  30515. #: guix-git/doc/guix.texi:20638
  30516. #, no-wrap
  30517. msgid "handle-lid-switch"
  30518. msgstr ""
  30519. #. type: item
  30520. #: guix-git/doc/guix.texi:20640
  30521. #, no-wrap
  30522. msgid "handle-lid-switch-docked"
  30523. msgstr ""
  30524. #. type: code{#1}
  30525. #: guix-git/doc/guix.texi:20642 guix-git/doc/guix.texi:20644
  30526. #: guix-git/doc/guix.texi:20656
  30527. msgid "ignore"
  30528. msgstr ""
  30529. #. type: item
  30530. #: guix-git/doc/guix.texi:20642
  30531. #, no-wrap
  30532. msgid "handle-lid-switch-external-power"
  30533. msgstr ""
  30534. #. type: item
  30535. #: guix-git/doc/guix.texi:20644
  30536. #, no-wrap
  30537. msgid "power-key-ignore-inhibited?"
  30538. msgstr ""
  30539. #. type: item
  30540. #: guix-git/doc/guix.texi:20646
  30541. #, no-wrap
  30542. msgid "suspend-key-ignore-inhibited?"
  30543. msgstr ""
  30544. #. type: item
  30545. #: guix-git/doc/guix.texi:20648
  30546. #, no-wrap
  30547. msgid "hibernate-key-ignore-inhibited?"
  30548. msgstr ""
  30549. #. type: item
  30550. #: guix-git/doc/guix.texi:20650
  30551. #, no-wrap
  30552. msgid "lid-switch-ignore-inhibited?"
  30553. msgstr ""
  30554. #. type: code{#1}
  30555. #: guix-git/doc/guix.texi:20652 guix-git/doc/guix.texi:20664
  30556. msgid "#t"
  30557. msgstr ""
  30558. #. type: item
  30559. #: guix-git/doc/guix.texi:20652
  30560. #, no-wrap
  30561. msgid "holdoff-timeout-seconds"
  30562. msgstr ""
  30563. #. type: code{#1}
  30564. #: guix-git/doc/guix.texi:20654
  30565. msgid "30"
  30566. msgstr ""
  30567. #. type: item
  30568. #: guix-git/doc/guix.texi:20654
  30569. #, no-wrap
  30570. msgid "idle-action"
  30571. msgstr ""
  30572. #. type: item
  30573. #: guix-git/doc/guix.texi:20656
  30574. #, no-wrap
  30575. msgid "idle-action-seconds"
  30576. msgstr ""
  30577. #. type: code{#1}
  30578. #: guix-git/doc/guix.texi:20658
  30579. msgid "(* 30 60)"
  30580. msgstr ""
  30581. #. type: item
  30582. #: guix-git/doc/guix.texi:20658
  30583. #, no-wrap
  30584. msgid "runtime-directory-size-percent"
  30585. msgstr ""
  30586. #. type: code{#1}
  30587. #: guix-git/doc/guix.texi:20660
  30588. msgid "10"
  30589. msgstr ""
  30590. #. type: item
  30591. #: guix-git/doc/guix.texi:20660
  30592. #, no-wrap
  30593. msgid "runtime-directory-size"
  30594. msgstr ""
  30595. #. type: item
  30596. #: guix-git/doc/guix.texi:20662
  30597. #, no-wrap
  30598. msgid "remove-ipc?"
  30599. msgstr ""
  30600. #. type: item
  30601. #: guix-git/doc/guix.texi:20664
  30602. #, no-wrap
  30603. msgid "suspend-state"
  30604. msgstr ""
  30605. #. type: code{#1}
  30606. #: guix-git/doc/guix.texi:20666
  30607. msgid "(\"mem\" \"standby\" \"freeze\")"
  30608. msgstr ""
  30609. #. type: item
  30610. #: guix-git/doc/guix.texi:20666
  30611. #, no-wrap
  30612. msgid "suspend-mode"
  30613. msgstr ""
  30614. #. type: item
  30615. #: guix-git/doc/guix.texi:20668
  30616. #, no-wrap
  30617. msgid "hibernate-state"
  30618. msgstr ""
  30619. #. type: code{#1}
  30620. #: guix-git/doc/guix.texi:20670 guix-git/doc/guix.texi:20674
  30621. msgid "(\"disk\")"
  30622. msgstr ""
  30623. #. type: item
  30624. #: guix-git/doc/guix.texi:20670
  30625. #, no-wrap
  30626. msgid "hibernate-mode"
  30627. msgstr ""
  30628. #. type: code{#1}
  30629. #: guix-git/doc/guix.texi:20672
  30630. msgid "(\"platform\" \"shutdown\")"
  30631. msgstr ""
  30632. #. type: item
  30633. #: guix-git/doc/guix.texi:20672
  30634. #, no-wrap
  30635. msgid "hybrid-sleep-state"
  30636. msgstr ""
  30637. #. type: item
  30638. #: guix-git/doc/guix.texi:20674
  30639. #, no-wrap
  30640. msgid "hybrid-sleep-mode"
  30641. msgstr ""
  30642. #. type: code{#1}
  30643. #: guix-git/doc/guix.texi:20676
  30644. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  30645. msgstr ""
  30646. #. type: deffn
  30647. #: guix-git/doc/guix.texi:20679
  30648. #, no-wrap
  30649. msgid "{Scheme Procedure} accountsservice-service @"
  30650. msgstr ""
  30651. #. type: deffn
  30652. #: guix-git/doc/guix.texi:20687
  30653. 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."
  30654. msgstr ""
  30655. #. type: deffn
  30656. #: guix-git/doc/guix.texi:20690
  30657. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  30658. msgstr ""
  30659. #. type: deffn
  30660. #: guix-git/doc/guix.texi:20692
  30661. #, no-wrap
  30662. msgid "{Scheme Procedure} polkit-service @"
  30663. msgstr ""
  30664. #. type: deffn
  30665. #: guix-git/doc/guix.texi:20701
  30666. 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."
  30667. msgstr ""
  30668. #. type: defvr
  30669. #: guix-git/doc/guix.texi:20703
  30670. #, no-wrap
  30671. msgid "{Scheme Variable} polkit-wheel-service"
  30672. msgstr ""
  30673. #. type: defvr
  30674. #: guix-git/doc/guix.texi:20708
  30675. 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}."
  30676. msgstr ""
  30677. #. type: defvr
  30678. #: guix-git/doc/guix.texi:20710
  30679. #, no-wrap
  30680. msgid "{Scheme Variable} upower-service-type"
  30681. msgstr ""
  30682. #. type: defvr
  30683. #: guix-git/doc/guix.texi:20714
  30684. 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."
  30685. msgstr ""
  30686. #. type: defvr
  30687. #: guix-git/doc/guix.texi:20717
  30688. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  30689. msgstr ""
  30690. #. type: deftp
  30691. #: guix-git/doc/guix.texi:20719
  30692. #, no-wrap
  30693. msgid "{Data Type} upower-configuration"
  30694. msgstr ""
  30695. #. type: deftp
  30696. #: guix-git/doc/guix.texi:20721
  30697. msgid "Data type representation the configuration for UPower."
  30698. msgstr ""
  30699. #. type: item
  30700. #: guix-git/doc/guix.texi:20724
  30701. #, no-wrap
  30702. msgid "@code{upower} (default: @var{upower})"
  30703. msgstr ""
  30704. #. type: table
  30705. #: guix-git/doc/guix.texi:20726
  30706. msgid "Package to use for @code{upower}."
  30707. msgstr ""
  30708. #. type: item
  30709. #: guix-git/doc/guix.texi:20727
  30710. #, no-wrap
  30711. msgid "@code{watts-up-pro?} (default: @code{#f})"
  30712. msgstr ""
  30713. #. type: table
  30714. #: guix-git/doc/guix.texi:20729
  30715. msgid "Enable the Watts Up Pro device."
  30716. msgstr ""
  30717. #. type: item
  30718. #: guix-git/doc/guix.texi:20730
  30719. #, no-wrap
  30720. msgid "@code{poll-batteries?} (default: @code{#t})"
  30721. msgstr ""
  30722. #. type: table
  30723. #: guix-git/doc/guix.texi:20732
  30724. msgid "Enable polling the kernel for battery level changes."
  30725. msgstr ""
  30726. #. type: item
  30727. #: guix-git/doc/guix.texi:20733
  30728. #, no-wrap
  30729. msgid "@code{ignore-lid?} (default: @code{#f})"
  30730. msgstr ""
  30731. #. type: table
  30732. #: guix-git/doc/guix.texi:20735
  30733. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  30734. msgstr ""
  30735. #. type: item
  30736. #: guix-git/doc/guix.texi:20736
  30737. #, no-wrap
  30738. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  30739. msgstr ""
  30740. #. type: table
  30741. #: guix-git/doc/guix.texi:20739
  30742. 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."
  30743. msgstr ""
  30744. #. type: item
  30745. #: guix-git/doc/guix.texi:20740
  30746. #, no-wrap
  30747. msgid "@code{percentage-low} (default: @code{10})"
  30748. msgstr ""
  30749. #. type: table
  30750. #: guix-git/doc/guix.texi:20743
  30751. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  30752. msgstr ""
  30753. #. type: item
  30754. #: guix-git/doc/guix.texi:20744
  30755. #, no-wrap
  30756. msgid "@code{percentage-critical} (default: @code{3})"
  30757. msgstr ""
  30758. #. type: table
  30759. #: guix-git/doc/guix.texi:20747
  30760. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  30761. msgstr ""
  30762. #. type: item
  30763. #: guix-git/doc/guix.texi:20748
  30764. #, no-wrap
  30765. msgid "@code{percentage-action} (default: @code{2})"
  30766. msgstr ""
  30767. #. type: table
  30768. #: guix-git/doc/guix.texi:20751
  30769. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  30770. msgstr ""
  30771. #. type: item
  30772. #: guix-git/doc/guix.texi:20752
  30773. #, no-wrap
  30774. msgid "@code{time-low} (default: @code{1200})"
  30775. msgstr ""
  30776. #. type: table
  30777. #: guix-git/doc/guix.texi:20755
  30778. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  30779. msgstr ""
  30780. #. type: item
  30781. #: guix-git/doc/guix.texi:20756
  30782. #, no-wrap
  30783. msgid "@code{time-critical} (default: @code{300})"
  30784. msgstr ""
  30785. #. type: table
  30786. #: guix-git/doc/guix.texi:20759
  30787. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  30788. msgstr ""
  30789. #. type: item
  30790. #: guix-git/doc/guix.texi:20760
  30791. #, no-wrap
  30792. msgid "@code{time-action} (default: @code{120})"
  30793. msgstr ""
  30794. #. type: table
  30795. #: guix-git/doc/guix.texi:20763
  30796. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  30797. msgstr ""
  30798. #. type: item
  30799. #: guix-git/doc/guix.texi:20764
  30800. #, no-wrap
  30801. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  30802. msgstr ""
  30803. #. type: table
  30804. #: guix-git/doc/guix.texi:20767
  30805. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  30806. msgstr ""
  30807. #. type: table
  30808. #: guix-git/doc/guix.texi:20769
  30809. msgid "Possible values are:"
  30810. msgstr ""
  30811. #. type: code{#1}
  30812. #: guix-git/doc/guix.texi:20773
  30813. msgid "'power-off"
  30814. msgstr ""
  30815. #. type: code{#1}
  30816. #: guix-git/doc/guix.texi:20776
  30817. msgid "'hibernate"
  30818. msgstr ""
  30819. #. type: itemize
  30820. #: guix-git/doc/guix.texi:20779
  30821. msgid "@code{'hybrid-sleep}."
  30822. msgstr ""
  30823. #. type: deffn
  30824. #: guix-git/doc/guix.texi:20784
  30825. #, no-wrap
  30826. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  30827. msgstr ""
  30828. #. type: deffn
  30829. #: guix-git/doc/guix.texi:20794
  30830. 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."
  30831. msgstr ""
  30832. #. type: deffn
  30833. #: guix-git/doc/guix.texi:20796
  30834. #, no-wrap
  30835. msgid "{Scheme Variable} colord-service-type"
  30836. msgstr ""
  30837. #. type: deffn
  30838. #: guix-git/doc/guix.texi:20803
  30839. 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."
  30840. msgstr ""
  30841. #. type: cindex
  30842. #: guix-git/doc/guix.texi:20805
  30843. #, no-wrap
  30844. msgid "scanner access"
  30845. msgstr ""
  30846. #. type: defvr
  30847. #: guix-git/doc/guix.texi:20806
  30848. #, no-wrap
  30849. msgid "{Scheme Variable} sane-service-type"
  30850. msgstr ""
  30851. #. type: defvr
  30852. #: guix-git/doc/guix.texi:20812
  30853. 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."
  30854. msgstr ""
  30855. #. type: defvr
  30856. #: guix-git/doc/guix.texi:20814
  30857. #, no-wrap
  30858. msgid "{Scheme Variable} sane-backends-minimal"
  30859. msgstr ""
  30860. #. type: defvr
  30861. #: guix-git/doc/guix.texi:20817
  30862. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  30863. msgstr ""
  30864. #. type: defvr
  30865. #: guix-git/doc/guix.texi:20819
  30866. #, no-wrap
  30867. msgid "{Scheme Variable} sane-backends"
  30868. msgstr ""
  30869. #. type: defvr
  30870. #: guix-git/doc/guix.texi:20826
  30871. 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:"
  30872. msgstr ""
  30873. #. type: lisp
  30874. #: guix-git/doc/guix.texi:20835
  30875. #, no-wrap
  30876. msgid ""
  30877. "(use-modules (gnu))\n"
  30878. "(use-service-modules\n"
  30879. " @dots{}\n"
  30880. " desktop)\n"
  30881. "(use-package-modules\n"
  30882. " @dots{}\n"
  30883. " scanner)\n"
  30884. "\n"
  30885. msgstr ""
  30886. #. type: lisp
  30887. #: guix-git/doc/guix.texi:20840
  30888. #, no-wrap
  30889. msgid ""
  30890. "(define %my-desktop-services\n"
  30891. " ;; List of desktop services that supports a broader range of scanners.\n"
  30892. " (modify-services %desktop-services\n"
  30893. " (sane-service-type _ => sane-backends)))\n"
  30894. "\n"
  30895. msgstr ""
  30896. #. type: lisp
  30897. #: guix-git/doc/guix.texi:20844
  30898. #, no-wrap
  30899. msgid ""
  30900. "(operating-system\n"
  30901. " @dots{}\n"
  30902. " (services %my-desktop-services))\n"
  30903. msgstr ""
  30904. #. type: deffn
  30905. #: guix-git/doc/guix.texi:20847
  30906. #, no-wrap
  30907. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  30908. msgstr ""
  30909. #. type: deffn
  30910. #: guix-git/doc/guix.texi:20856
  30911. 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."
  30912. msgstr ""
  30913. #. type: defvr
  30914. #: guix-git/doc/guix.texi:20858
  30915. #, no-wrap
  30916. msgid "{Scheme Variable} %standard-geoclue-applications"
  30917. msgstr ""
  30918. #. type: defvr
  30919. #: guix-git/doc/guix.texi:20865
  30920. 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."
  30921. msgstr ""
  30922. #. type: deffn
  30923. #: guix-git/doc/guix.texi:20867
  30924. #, no-wrap
  30925. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  30926. msgstr ""
  30927. #. type: deffn
  30928. #: guix-git/doc/guix.texi:20880
  30929. 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."
  30930. msgstr ""
  30931. #. type: deffn
  30932. #: guix-git/doc/guix.texi:20882
  30933. #, no-wrap
  30934. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  30935. msgstr ""
  30936. #. type: deffn
  30937. #: guix-git/doc/guix.texi:20889
  30938. 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."
  30939. msgstr ""
  30940. #. type: deffn
  30941. #: guix-git/doc/guix.texi:20891
  30942. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  30943. msgstr ""
  30944. #. type: defvr
  30945. #: guix-git/doc/guix.texi:20893
  30946. #, no-wrap
  30947. msgid "{Scheme Variable} gnome-keyring-service-type"
  30948. msgstr ""
  30949. #. type: defvr
  30950. #: guix-git/doc/guix.texi:20897
  30951. 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)."
  30952. msgstr ""
  30953. #. type: defvr
  30954. #: guix-git/doc/guix.texi:20901
  30955. 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."
  30956. msgstr ""
  30957. #. type: deftp
  30958. #: guix-git/doc/guix.texi:20903
  30959. #, no-wrap
  30960. msgid "{Data Type} gnome-keyring-configuration"
  30961. msgstr ""
  30962. #. type: deftp
  30963. #: guix-git/doc/guix.texi:20905
  30964. msgid "Configuration record for the GNOME Keyring service."
  30965. msgstr ""
  30966. #. type: item
  30967. #: guix-git/doc/guix.texi:20907
  30968. #, no-wrap
  30969. msgid "@code{keyring} (default: @code{gnome-keyring})"
  30970. msgstr ""
  30971. #. type: table
  30972. #: guix-git/doc/guix.texi:20909
  30973. msgid "The GNOME keyring package to use."
  30974. msgstr ""
  30975. #. type: code{#1}
  30976. #: guix-git/doc/guix.texi:20910
  30977. #, no-wrap
  30978. msgid "pam-services"
  30979. msgstr ""
  30980. #. type: table
  30981. #: guix-git/doc/guix.texi:20915
  30982. 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}."
  30983. msgstr ""
  30984. #. type: table
  30985. #: guix-git/doc/guix.texi:20921
  30986. 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."
  30987. msgstr ""
  30988. #. type: table
  30989. #: guix-git/doc/guix.texi:20924
  30990. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  30991. msgstr ""
  30992. #. type: cindex
  30993. #: guix-git/doc/guix.texi:20931
  30994. #, no-wrap
  30995. msgid "sound support"
  30996. msgstr ""
  30997. #. type: cindex
  30998. #: guix-git/doc/guix.texi:20932
  30999. #, no-wrap
  31000. msgid "ALSA"
  31001. msgstr ""
  31002. #. type: cindex
  31003. #: guix-git/doc/guix.texi:20933
  31004. #, no-wrap
  31005. msgid "PulseAudio, sound support"
  31006. msgstr ""
  31007. #. type: Plain text
  31008. #: guix-git/doc/guix.texi:20938
  31009. 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."
  31010. msgstr ""
  31011. #. type: deffn
  31012. #: guix-git/doc/guix.texi:20939
  31013. #, no-wrap
  31014. msgid "{Scheme Variable} alsa-service-type"
  31015. msgstr ""
  31016. #. type: deffn
  31017. #: guix-git/doc/guix.texi:20944
  31018. 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:"
  31019. msgstr ""
  31020. #. type: lisp
  31021. #: guix-git/doc/guix.texi:20947
  31022. #, no-wrap
  31023. msgid "(service alsa-service-type)\n"
  31024. msgstr ""
  31025. #. type: deffn
  31026. #: guix-git/doc/guix.texi:20950
  31027. msgid "See below for details about @code{alsa-configuration}."
  31028. msgstr ""
  31029. #. type: deftp
  31030. #: guix-git/doc/guix.texi:20952
  31031. #, no-wrap
  31032. msgid "{Data Type} alsa-configuration"
  31033. msgstr ""
  31034. #. type: deftp
  31035. #: guix-git/doc/guix.texi:20954
  31036. msgid "Data type representing the configuration for @code{alsa-service}."
  31037. msgstr ""
  31038. #. type: item
  31039. #: guix-git/doc/guix.texi:20956
  31040. #, no-wrap
  31041. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  31042. msgstr ""
  31043. #. type: table
  31044. #: guix-git/doc/guix.texi:20958
  31045. msgid "@code{alsa-plugins} package to use."
  31046. msgstr ""
  31047. #. type: item
  31048. #: guix-git/doc/guix.texi:20959
  31049. #, no-wrap
  31050. msgid "@code{pulseaudio?} (default: @var{#t})"
  31051. msgstr ""
  31052. #. type: table
  31053. #: guix-git/doc/guix.texi:20962
  31054. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  31055. msgstr ""
  31056. #. type: table
  31057. #: guix-git/doc/guix.texi:20966
  31058. 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."
  31059. msgstr ""
  31060. #. type: item
  31061. #: guix-git/doc/guix.texi:20967
  31062. #, no-wrap
  31063. msgid "@code{extra-options} (default: @var{\"\"})"
  31064. msgstr ""
  31065. #. type: table
  31066. #: guix-git/doc/guix.texi:20969
  31067. msgid "String to append to the @file{/etc/asound.conf} file."
  31068. msgstr ""
  31069. #. type: Plain text
  31070. #: guix-git/doc/guix.texi:20975
  31071. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  31072. msgstr ""
  31073. #. type: example
  31074. #: guix-git/doc/guix.texi:20981
  31075. #, no-wrap
  31076. msgid ""
  31077. "# In guix, we have to specify the absolute path for plugins.\n"
  31078. "pcm_type.jack @{\n"
  31079. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  31080. "@}\n"
  31081. "\n"
  31082. msgstr ""
  31083. #. type: example
  31084. #: guix-git/doc/guix.texi:20990
  31085. #, no-wrap
  31086. msgid ""
  31087. "# Routing ALSA to jack:\n"
  31088. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  31089. "pcm.rawjack @{\n"
  31090. " type jack\n"
  31091. " playback_ports @{\n"
  31092. " 0 system:playback_1\n"
  31093. " 1 system:playback_2\n"
  31094. " @}\n"
  31095. "\n"
  31096. msgstr ""
  31097. #. type: example
  31098. #: guix-git/doc/guix.texi:20996
  31099. #, no-wrap
  31100. msgid ""
  31101. " capture_ports @{\n"
  31102. " 0 system:capture_1\n"
  31103. " 1 system:capture_2\n"
  31104. " @}\n"
  31105. "@}\n"
  31106. "\n"
  31107. msgstr ""
  31108. #. type: example
  31109. #: guix-git/doc/guix.texi:21003
  31110. #, no-wrap
  31111. msgid ""
  31112. "pcm.!default @{\n"
  31113. " type plug\n"
  31114. " slave @{\n"
  31115. " pcm \"rawjack\"\n"
  31116. " @}\n"
  31117. "@}\n"
  31118. msgstr ""
  31119. #. type: Plain text
  31120. #: guix-git/doc/guix.texi:21007
  31121. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  31122. msgstr ""
  31123. #. type: deffn
  31124. #: guix-git/doc/guix.texi:21008
  31125. #, no-wrap
  31126. msgid "{Scheme Variable} pulseaudio-service-type"
  31127. msgstr ""
  31128. #. type: deffn
  31129. #: guix-git/doc/guix.texi:21012
  31130. 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."
  31131. msgstr ""
  31132. #. type: quotation
  31133. #: guix-git/doc/guix.texi:21018
  31134. 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}."
  31135. msgstr ""
  31136. #. type: quotation
  31137. #: guix-git/doc/guix.texi:21026
  31138. 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."
  31139. msgstr ""
  31140. #. type: deftp
  31141. #: guix-git/doc/guix.texi:21029
  31142. #, no-wrap
  31143. msgid "{Data Type} pulseaudio-configuration"
  31144. msgstr ""
  31145. #. type: deftp
  31146. #: guix-git/doc/guix.texi:21031
  31147. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  31148. msgstr ""
  31149. #. type: item
  31150. #: guix-git/doc/guix.texi:21033
  31151. #, no-wrap
  31152. msgid "@code{client-conf} (default: @code{'()})"
  31153. msgstr ""
  31154. #. type: table
  31155. #: guix-git/doc/guix.texi:21038
  31156. 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."
  31157. msgstr ""
  31158. #. type: item
  31159. #: guix-git/doc/guix.texi:21039
  31160. #, no-wrap
  31161. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  31162. msgstr ""
  31163. #. type: table
  31164. #: guix-git/doc/guix.texi:21042
  31165. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  31166. msgstr ""
  31167. #. type: item
  31168. #: guix-git/doc/guix.texi:21043
  31169. #, no-wrap
  31170. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  31171. msgstr ""
  31172. #. type: table
  31173. #: guix-git/doc/guix.texi:21045
  31174. msgid "Script file to use as @file{default.pa}."
  31175. msgstr ""
  31176. #. type: item
  31177. #: guix-git/doc/guix.texi:21046
  31178. #, no-wrap
  31179. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  31180. msgstr ""
  31181. #. type: table
  31182. #: guix-git/doc/guix.texi:21048
  31183. msgid "Script file to use as @file{system.pa}."
  31184. msgstr ""
  31185. #. type: deffn
  31186. #: guix-git/doc/guix.texi:21051
  31187. #, no-wrap
  31188. msgid "{Scheme Variable} ladspa-service-type"
  31189. msgstr ""
  31190. #. type: deffn
  31191. #: guix-git/doc/guix.texi:21054
  31192. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  31193. msgstr ""
  31194. #. type: deffn
  31195. #: guix-git/doc/guix.texi:21057
  31196. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  31197. msgstr ""
  31198. #. type: lisp
  31199. #: guix-git/doc/guix.texi:21061
  31200. #, no-wrap
  31201. msgid ""
  31202. "(service ladspa-service-type\n"
  31203. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  31204. msgstr ""
  31205. #. type: deffn
  31206. #: guix-git/doc/guix.texi:21065
  31207. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  31208. msgstr ""
  31209. #. type: cindex
  31210. #: guix-git/doc/guix.texi:21072
  31211. #, no-wrap
  31212. msgid "SQL"
  31213. msgstr ""
  31214. #. type: Plain text
  31215. #: guix-git/doc/guix.texi:21074
  31216. msgid "The @code{(gnu services databases)} module provides the following services."
  31217. msgstr ""
  31218. #. type: subsubheading
  31219. #: guix-git/doc/guix.texi:21075
  31220. #, no-wrap
  31221. msgid "PostgreSQL"
  31222. msgstr ""
  31223. #. type: Plain text
  31224. #: guix-git/doc/guix.texi:21079
  31225. msgid "The following example describes a PostgreSQL service with the default configuration."
  31226. msgstr ""
  31227. #. type: lisp
  31228. #: guix-git/doc/guix.texi:21084
  31229. #, no-wrap
  31230. msgid ""
  31231. "(service postgresql-service-type\n"
  31232. " (postgresql-configuration\n"
  31233. " (postgresql postgresql-10)))\n"
  31234. msgstr ""
  31235. #. type: Plain text
  31236. #: guix-git/doc/guix.texi:21090
  31237. 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."
  31238. msgstr ""
  31239. #. type: Plain text
  31240. #: guix-git/doc/guix.texi:21097
  31241. 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."
  31242. msgstr ""
  31243. #. type: example
  31244. #: guix-git/doc/guix.texi:21102
  31245. #, no-wrap
  31246. msgid ""
  31247. "sudo -u postgres -s /bin/sh\n"
  31248. "createuser --interactive\n"
  31249. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  31250. msgstr ""
  31251. #. type: deftp
  31252. #: guix-git/doc/guix.texi:21104
  31253. #, no-wrap
  31254. msgid "{Data Type} postgresql-configuration"
  31255. msgstr ""
  31256. #. type: deftp
  31257. #: guix-git/doc/guix.texi:21107
  31258. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  31259. msgstr ""
  31260. #. type: code{#1}
  31261. #: guix-git/doc/guix.texi:21109
  31262. #, no-wrap
  31263. msgid "postgresql"
  31264. msgstr ""
  31265. #. type: table
  31266. #: guix-git/doc/guix.texi:21111
  31267. msgid "PostgreSQL package to use for the service."
  31268. msgstr ""
  31269. #. type: item
  31270. #: guix-git/doc/guix.texi:21112
  31271. #, no-wrap
  31272. msgid "@code{port} (default: @code{5432})"
  31273. msgstr ""
  31274. #. type: table
  31275. #: guix-git/doc/guix.texi:21114
  31276. msgid "Port on which PostgreSQL should listen."
  31277. msgstr ""
  31278. #. type: table
  31279. #: guix-git/doc/guix.texi:21117
  31280. msgid "Locale to use as the default when creating the database cluster."
  31281. msgstr ""
  31282. #. type: item
  31283. #: guix-git/doc/guix.texi:21118
  31284. #, no-wrap
  31285. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  31286. msgstr ""
  31287. #. type: table
  31288. #: guix-git/doc/guix.texi:21122
  31289. 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."
  31290. msgstr ""
  31291. #. type: item
  31292. #: guix-git/doc/guix.texi:21123
  31293. #, no-wrap
  31294. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  31295. msgstr ""
  31296. #. type: table
  31297. #: guix-git/doc/guix.texi:21127
  31298. 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."
  31299. msgstr ""
  31300. #. type: item
  31301. #: guix-git/doc/guix.texi:21128
  31302. #, no-wrap
  31303. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  31304. msgstr ""
  31305. #. type: table
  31306. #: guix-git/doc/guix.texi:21130
  31307. msgid "Directory in which to store the data."
  31308. msgstr ""
  31309. #. type: item
  31310. #: guix-git/doc/guix.texi:21131
  31311. #, no-wrap
  31312. msgid "@code{extension-packages} (default: @code{'()})"
  31313. msgstr ""
  31314. #. type: cindex
  31315. #: guix-git/doc/guix.texi:21132
  31316. #, no-wrap
  31317. msgid "postgresql extension-packages"
  31318. msgstr ""
  31319. #. type: table
  31320. #: guix-git/doc/guix.texi:21137
  31321. 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:"
  31322. msgstr ""
  31323. #. type: cindex
  31324. #: guix-git/doc/guix.texi:21138
  31325. #, no-wrap
  31326. msgid "postgis"
  31327. msgstr ""
  31328. #. type: lisp
  31329. #: guix-git/doc/guix.texi:21141
  31330. #, no-wrap
  31331. msgid ""
  31332. "(use-package-modules databases geo)\n"
  31333. "\n"
  31334. msgstr ""
  31335. #. type: lisp
  31336. #: guix-git/doc/guix.texi:21154
  31337. #, no-wrap
  31338. msgid ""
  31339. "(operating-system\n"
  31340. " ...\n"
  31341. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  31342. " ;; proper operation.\n"
  31343. " (packages (cons* postgresql %base-packages))\n"
  31344. " (services\n"
  31345. " (cons*\n"
  31346. " (service postgresql-service-type\n"
  31347. " (postgresql-configuration\n"
  31348. " (postgresql postgresql-10)\n"
  31349. " (extension-packages (list postgis))))\n"
  31350. " %base-services)))\n"
  31351. msgstr ""
  31352. #. type: table
  31353. #: guix-git/doc/guix.texi:21158
  31354. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  31355. msgstr ""
  31356. #. type: example
  31357. #: guix-git/doc/guix.texi:21165
  31358. #, no-wrap
  31359. msgid ""
  31360. "psql -U postgres\n"
  31361. "> create database postgistest;\n"
  31362. "> \\connect postgistest;\n"
  31363. "> create extension postgis;\n"
  31364. "> create extension postgis_topology;\n"
  31365. msgstr ""
  31366. #. type: table
  31367. #: guix-git/doc/guix.texi:21170
  31368. 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."
  31369. msgstr ""
  31370. #. type: deftp
  31371. #: guix-git/doc/guix.texi:21174
  31372. #, no-wrap
  31373. msgid "{Data Type} postgresql-config-file"
  31374. msgstr ""
  31375. #. type: deftp
  31376. #: guix-git/doc/guix.texi:21180
  31377. 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."
  31378. msgstr ""
  31379. #. type: lisp
  31380. #: guix-git/doc/guix.texi:21200
  31381. #, no-wrap
  31382. msgid ""
  31383. "(service postgresql-service-type\n"
  31384. " (postgresql-configuration\n"
  31385. " (config-file\n"
  31386. " (postgresql-config-file\n"
  31387. " (log-destination \"stderr\")\n"
  31388. " (hba-file\n"
  31389. " (plain-file \"pg_hba.conf\"\n"
  31390. " \"\n"
  31391. "local\tall\tall\t\t\ttrust\n"
  31392. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  31393. "host\tall\tall\t::1/128 \tmd5\"))\n"
  31394. " (extra-config\n"
  31395. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  31396. " (\"random_page_cost\" 2)\n"
  31397. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  31398. " (\"work_mem\" \"500 MB\")\n"
  31399. " (\"logging_collector\" #t)\n"
  31400. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  31401. msgstr ""
  31402. #. type: item
  31403. #: guix-git/doc/guix.texi:21203
  31404. #, no-wrap
  31405. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  31406. msgstr ""
  31407. #. type: table
  31408. #: guix-git/doc/guix.texi:21206
  31409. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  31410. msgstr ""
  31411. #. type: item
  31412. #: guix-git/doc/guix.texi:21207
  31413. #, no-wrap
  31414. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  31415. msgstr ""
  31416. #. type: table
  31417. #: guix-git/doc/guix.texi:21210
  31418. msgid "Filename or G-expression for the host-based authentication configuration."
  31419. msgstr ""
  31420. #. type: item
  31421. #: guix-git/doc/guix.texi:21211
  31422. #, no-wrap
  31423. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  31424. msgstr ""
  31425. #. type: table
  31426. #: guix-git/doc/guix.texi:21213
  31427. msgid "Filename or G-expression for the user name mapping configuration."
  31428. msgstr ""
  31429. #. type: item
  31430. #: guix-git/doc/guix.texi:21214
  31431. #, no-wrap
  31432. msgid "@code{socket-directory} (default: @code{\"/var/run/postgresql\"})"
  31433. msgstr ""
  31434. #. type: table
  31435. #: guix-git/doc/guix.texi:21219
  31436. 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."
  31437. msgstr ""
  31438. #. type: table
  31439. #: guix-git/doc/guix.texi:21222
  31440. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  31441. msgstr ""
  31442. #. type: table
  31443. #: guix-git/doc/guix.texi:21227
  31444. 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."
  31445. msgstr ""
  31446. #. type: table
  31447. #: guix-git/doc/guix.texi:21233
  31448. 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}."
  31449. msgstr ""
  31450. #. type: deffn
  31451. #: guix-git/doc/guix.texi:21237
  31452. #, no-wrap
  31453. msgid "{Scheme Variable} postgresql-role-service-type"
  31454. msgstr ""
  31455. #. type: deffn
  31456. #: guix-git/doc/guix.texi:21240
  31457. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  31458. msgstr ""
  31459. #. type: lisp
  31460. #: guix-git/doc/guix.texi:21248
  31461. #, no-wrap
  31462. msgid ""
  31463. "(service postgresql-role-service-type\n"
  31464. " (postgresql-role-configuration\n"
  31465. " (roles\n"
  31466. " (list (postgresql-role\n"
  31467. " (name \"test\")\n"
  31468. " (create-database? #t))))))\n"
  31469. msgstr ""
  31470. #. type: deffn
  31471. #: guix-git/doc/guix.texi:21252
  31472. msgid "This service can be extended with extra roles, as in this example:"
  31473. msgstr ""
  31474. #. type: lisp
  31475. #: guix-git/doc/guix.texi:21258
  31476. #, no-wrap
  31477. msgid ""
  31478. "(service-extension postgresql-role-service-type\n"
  31479. " (const (postgresql-role\n"
  31480. " (name \"alice\")\n"
  31481. " (create-database? #t))))\n"
  31482. msgstr ""
  31483. #. type: deftp
  31484. #: guix-git/doc/guix.texi:21261
  31485. #, no-wrap
  31486. msgid "{Data Type} postgresql-role"
  31487. msgstr ""
  31488. #. type: deftp
  31489. #: guix-git/doc/guix.texi:21267
  31490. 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."
  31491. msgstr ""
  31492. #. type: table
  31493. #: guix-git/doc/guix.texi:21271
  31494. msgid "The role name."
  31495. msgstr ""
  31496. #. type: item
  31497. #: guix-git/doc/guix.texi:21272
  31498. #, no-wrap
  31499. msgid "@code{permissions} (default: @code{'(createdb login)})"
  31500. msgstr ""
  31501. #. type: table
  31502. #: guix-git/doc/guix.texi:21276
  31503. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  31504. msgstr ""
  31505. #. type: item
  31506. #: guix-git/doc/guix.texi:21277
  31507. #, no-wrap
  31508. msgid "@code{create-database?} (default: @code{#f})"
  31509. msgstr ""
  31510. #. type: table
  31511. #: guix-git/doc/guix.texi:21279
  31512. msgid "Whether to create a database with the same name as the role."
  31513. msgstr ""
  31514. #. type: deftp
  31515. #: guix-git/doc/guix.texi:21283
  31516. #, no-wrap
  31517. msgid "{Data Type} postgresql-role-configuration"
  31518. msgstr ""
  31519. #. type: deftp
  31520. #: guix-git/doc/guix.texi:21286
  31521. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  31522. msgstr ""
  31523. #. type: item
  31524. #: guix-git/doc/guix.texi:21288
  31525. #, no-wrap
  31526. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  31527. msgstr ""
  31528. #. type: table
  31529. #: guix-git/doc/guix.texi:21290
  31530. msgid "The PostgreSQL host to connect to."
  31531. msgstr ""
  31532. #. type: item
  31533. #: guix-git/doc/guix.texi:21291
  31534. #, no-wrap
  31535. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  31536. msgstr ""
  31537. #. type: table
  31538. #: guix-git/doc/guix.texi:21293
  31539. msgid "File name of the log file."
  31540. msgstr ""
  31541. #. type: item
  31542. #: guix-git/doc/guix.texi:21294
  31543. #, no-wrap
  31544. msgid "@code{roles} (default: @code{'()})"
  31545. msgstr ""
  31546. #. type: table
  31547. #: guix-git/doc/guix.texi:21296
  31548. msgid "The initial PostgreSQL roles to create."
  31549. msgstr ""
  31550. #. type: subsubheading
  31551. #: guix-git/doc/guix.texi:21299
  31552. #, no-wrap
  31553. msgid "MariaDB/MySQL"
  31554. msgstr ""
  31555. #. type: defvr
  31556. #: guix-git/doc/guix.texi:21301
  31557. #, no-wrap
  31558. msgid "{Scheme Variable} mysql-service-type"
  31559. msgstr ""
  31560. #. type: defvr
  31561. #: guix-git/doc/guix.texi:21305
  31562. 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."
  31563. msgstr ""
  31564. #. type: deftp
  31565. #: guix-git/doc/guix.texi:21307
  31566. #, no-wrap
  31567. msgid "{Data Type} mysql-configuration"
  31568. msgstr ""
  31569. #. type: deftp
  31570. #: guix-git/doc/guix.texi:21309
  31571. msgid "Data type representing the configuration of @var{mysql-service-type}."
  31572. msgstr ""
  31573. #. type: item
  31574. #: guix-git/doc/guix.texi:21311
  31575. #, no-wrap
  31576. msgid "@code{mysql} (default: @var{mariadb})"
  31577. msgstr ""
  31578. #. type: table
  31579. #: guix-git/doc/guix.texi:21314
  31580. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  31581. msgstr ""
  31582. #. type: table
  31583. #: guix-git/doc/guix.texi:21317
  31584. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  31585. msgstr ""
  31586. #. type: item
  31587. #: guix-git/doc/guix.texi:21318 guix-git/doc/guix.texi:25138
  31588. #, no-wrap
  31589. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  31590. msgstr ""
  31591. #. type: table
  31592. #: guix-git/doc/guix.texi:21321
  31593. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  31594. msgstr ""
  31595. #. type: item
  31596. #: guix-git/doc/guix.texi:21322
  31597. #, no-wrap
  31598. msgid "@code{port} (default: @code{3306})"
  31599. msgstr ""
  31600. #. type: table
  31601. #: guix-git/doc/guix.texi:21324
  31602. msgid "TCP port on which the database server listens for incoming connections."
  31603. msgstr ""
  31604. #. type: item
  31605. #: guix-git/doc/guix.texi:21325
  31606. #, no-wrap
  31607. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  31608. msgstr ""
  31609. #. type: table
  31610. #: guix-git/doc/guix.texi:21327
  31611. msgid "Socket file to use for local (non-network) connections."
  31612. msgstr ""
  31613. #. type: table
  31614. #: guix-git/doc/guix.texi:21330
  31615. msgid "Additional settings for the @file{my.cnf} configuration file."
  31616. msgstr ""
  31617. #. type: item
  31618. #: guix-git/doc/guix.texi:21331
  31619. #, no-wrap
  31620. msgid "@code{extra-environment} (default: @code{#~'()})"
  31621. msgstr ""
  31622. #. type: table
  31623. #: guix-git/doc/guix.texi:21333
  31624. msgid "List of environment variables passed to the @command{mysqld} process."
  31625. msgstr ""
  31626. #. type: item
  31627. #: guix-git/doc/guix.texi:21334
  31628. #, no-wrap
  31629. msgid "@code{auto-upgrade?} (default: @code{#t})"
  31630. msgstr ""
  31631. #. type: table
  31632. #: guix-git/doc/guix.texi:21339
  31633. 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."
  31634. msgstr ""
  31635. #. type: subsubheading
  31636. #: guix-git/doc/guix.texi:21343
  31637. #, no-wrap
  31638. msgid "Memcached"
  31639. msgstr ""
  31640. #. type: defvr
  31641. #: guix-git/doc/guix.texi:21345
  31642. #, no-wrap
  31643. msgid "{Scheme Variable} memcached-service-type"
  31644. msgstr ""
  31645. #. type: defvr
  31646. #: guix-git/doc/guix.texi:21349
  31647. 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."
  31648. msgstr ""
  31649. #. type: lisp
  31650. #: guix-git/doc/guix.texi:21353
  31651. #, no-wrap
  31652. msgid "(service memcached-service-type)\n"
  31653. msgstr ""
  31654. #. type: deftp
  31655. #: guix-git/doc/guix.texi:21355
  31656. #, no-wrap
  31657. msgid "{Data Type} memcached-configuration"
  31658. msgstr ""
  31659. #. type: deftp
  31660. #: guix-git/doc/guix.texi:21357
  31661. msgid "Data type representing the configuration of memcached."
  31662. msgstr ""
  31663. #. type: item
  31664. #: guix-git/doc/guix.texi:21359
  31665. #, no-wrap
  31666. msgid "@code{memcached} (default: @code{memcached})"
  31667. msgstr ""
  31668. #. type: table
  31669. #: guix-git/doc/guix.texi:21361
  31670. msgid "The Memcached package to use."
  31671. msgstr ""
  31672. #. type: item
  31673. #: guix-git/doc/guix.texi:21362
  31674. #, no-wrap
  31675. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  31676. msgstr ""
  31677. #. type: table
  31678. #: guix-git/doc/guix.texi:21364
  31679. msgid "Network interfaces on which to listen."
  31680. msgstr ""
  31681. #. type: item
  31682. #: guix-git/doc/guix.texi:21365
  31683. #, no-wrap
  31684. msgid "@code{tcp-port} (default: @code{11211})"
  31685. msgstr ""
  31686. #. type: table
  31687. #: guix-git/doc/guix.texi:21367
  31688. msgid "Port on which to accept connections."
  31689. msgstr ""
  31690. #. type: item
  31691. #: guix-git/doc/guix.texi:21368
  31692. #, no-wrap
  31693. msgid "@code{udp-port} (default: @code{11211})"
  31694. msgstr ""
  31695. #. type: table
  31696. #: guix-git/doc/guix.texi:21371
  31697. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  31698. msgstr ""
  31699. #. type: item
  31700. #: guix-git/doc/guix.texi:21372
  31701. #, no-wrap
  31702. msgid "@code{additional-options} (default: @code{'()})"
  31703. msgstr ""
  31704. #. type: table
  31705. #: guix-git/doc/guix.texi:21374
  31706. msgid "Additional command line options to pass to @code{memcached}."
  31707. msgstr ""
  31708. #. type: subsubheading
  31709. #: guix-git/doc/guix.texi:21377
  31710. #, no-wrap
  31711. msgid "Redis"
  31712. msgstr ""
  31713. #. type: defvr
  31714. #: guix-git/doc/guix.texi:21379
  31715. #, no-wrap
  31716. msgid "{Scheme Variable} redis-service-type"
  31717. msgstr ""
  31718. #. type: defvr
  31719. #: guix-git/doc/guix.texi:21382
  31720. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  31721. msgstr ""
  31722. #. type: deftp
  31723. #: guix-git/doc/guix.texi:21384
  31724. #, no-wrap
  31725. msgid "{Data Type} redis-configuration"
  31726. msgstr ""
  31727. #. type: deftp
  31728. #: guix-git/doc/guix.texi:21386
  31729. msgid "Data type representing the configuration of redis."
  31730. msgstr ""
  31731. #. type: item
  31732. #: guix-git/doc/guix.texi:21388
  31733. #, no-wrap
  31734. msgid "@code{redis} (default: @code{redis})"
  31735. msgstr ""
  31736. #. type: table
  31737. #: guix-git/doc/guix.texi:21390
  31738. msgid "The Redis package to use."
  31739. msgstr ""
  31740. #. type: item
  31741. #: guix-git/doc/guix.texi:21391
  31742. #, no-wrap
  31743. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  31744. msgstr ""
  31745. #. type: table
  31746. #: guix-git/doc/guix.texi:21393
  31747. msgid "Network interface on which to listen."
  31748. msgstr ""
  31749. #. type: item
  31750. #: guix-git/doc/guix.texi:21394
  31751. #, no-wrap
  31752. msgid "@code{port} (default: @code{6379})"
  31753. msgstr ""
  31754. #. type: table
  31755. #: guix-git/doc/guix.texi:21397
  31756. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  31757. msgstr ""
  31758. #. type: item
  31759. #: guix-git/doc/guix.texi:21398
  31760. #, no-wrap
  31761. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  31762. msgstr ""
  31763. #. type: table
  31764. #: guix-git/doc/guix.texi:21400
  31765. msgid "Directory in which to store the database and related files."
  31766. msgstr ""
  31767. #. type: cindex
  31768. #: guix-git/doc/guix.texi:21406
  31769. #, no-wrap
  31770. msgid "mail"
  31771. msgstr ""
  31772. #. type: cindex
  31773. #: guix-git/doc/guix.texi:21407
  31774. #, no-wrap
  31775. msgid "email"
  31776. msgstr ""
  31777. #. type: Plain text
  31778. #: guix-git/doc/guix.texi:21412
  31779. 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."
  31780. msgstr ""
  31781. #. type: subsubheading
  31782. #: guix-git/doc/guix.texi:21413
  31783. #, no-wrap
  31784. msgid "Dovecot Service"
  31785. msgstr ""
  31786. #. type: deffn
  31787. #: guix-git/doc/guix.texi:21415
  31788. #, no-wrap
  31789. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  31790. msgstr ""
  31791. #. type: deffn
  31792. #: guix-git/doc/guix.texi:21417
  31793. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  31794. msgstr ""
  31795. #. type: Plain text
  31796. #: guix-git/doc/guix.texi:21427
  31797. 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."
  31798. msgstr ""
  31799. #. type: Plain text
  31800. #: guix-git/doc/guix.texi:21430
  31801. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  31802. msgstr ""
  31803. #. type: lisp
  31804. #: guix-git/doc/guix.texi:21435
  31805. #, no-wrap
  31806. msgid ""
  31807. "(dovecot-service #:config\n"
  31808. " (dovecot-configuration\n"
  31809. " (mail-location \"maildir:~/.mail\")))\n"
  31810. msgstr ""
  31811. #. type: Plain text
  31812. #: guix-git/doc/guix.texi:21443
  31813. 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."
  31814. msgstr ""
  31815. #. type: Plain text
  31816. #: guix-git/doc/guix.texi:21453
  31817. msgid "Available @code{dovecot-configuration} fields are:"
  31818. msgstr ""
  31819. #. type: deftypevr
  31820. #: guix-git/doc/guix.texi:21454
  31821. #, no-wrap
  31822. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  31823. msgstr ""
  31824. #. type: deftypevr
  31825. #: guix-git/doc/guix.texi:21456 guix-git/doc/guix.texi:22805
  31826. msgid "The dovecot package."
  31827. msgstr ""
  31828. #. type: deftypevr
  31829. #: guix-git/doc/guix.texi:21458
  31830. #, no-wrap
  31831. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  31832. msgstr ""
  31833. #. type: deftypevr
  31834. #: guix-git/doc/guix.texi:21464
  31835. 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."
  31836. msgstr ""
  31837. #. type: deftypevr
  31838. #: guix-git/doc/guix.texi:21466
  31839. #, no-wrap
  31840. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  31841. msgstr ""
  31842. #. type: deftypevr
  31843. #: guix-git/doc/guix.texi:21469
  31844. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  31845. msgstr ""
  31846. #. type: deftypevr
  31847. #: guix-git/doc/guix.texi:21471
  31848. msgid "Available @code{protocol-configuration} fields are:"
  31849. msgstr ""
  31850. #. type: deftypevr
  31851. #: guix-git/doc/guix.texi:21472
  31852. #, no-wrap
  31853. msgid "{@code{protocol-configuration} parameter} string name"
  31854. msgstr ""
  31855. #. type: deftypevr
  31856. #: guix-git/doc/guix.texi:21474
  31857. msgid "The name of the protocol."
  31858. msgstr ""
  31859. #. type: deftypevr
  31860. #: guix-git/doc/guix.texi:21476
  31861. #, no-wrap
  31862. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  31863. msgstr ""
  31864. #. type: deftypevr
  31865. #: guix-git/doc/guix.texi:21480
  31866. 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\"}."
  31867. msgstr ""
  31868. #. type: deftypevr
  31869. #: guix-git/doc/guix.texi:21482
  31870. #, no-wrap
  31871. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  31872. msgstr ""
  31873. #. type: deftypevr
  31874. #: guix-git/doc/guix.texi:21487
  31875. msgid "Whether to enable the @code{IMAP METADATA} extension as defined in @uref{https://tools.ietf.org/html/rfc5464,RFC@tie{}5464}, which provides a means for clients to set and retrieve per-mailbox, per-user metadata and annotations over IMAP."
  31876. msgstr ""
  31877. #. type: deftypevr
  31878. #: guix-git/doc/guix.texi:21490
  31879. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  31880. msgstr ""
  31881. #. type: deftypevr
  31882. #: guix-git/doc/guix.texi:21495
  31883. #, no-wrap
  31884. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  31885. msgstr ""
  31886. #. type: deftypevr
  31887. #: guix-git/doc/guix.texi:21500
  31888. msgid "Which NOTIFY capabilities to report to clients that first connect to the ManageSieve service, before authentication. These may differ from the capabilities offered to authenticated users. If this field is left empty, report what the Sieve interpreter supports by default."
  31889. msgstr ""
  31890. #. type: deftypevr
  31891. #: guix-git/doc/guix.texi:21504
  31892. #, no-wrap
  31893. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  31894. msgstr ""
  31895. #. type: deftypevr
  31896. #: guix-git/doc/guix.texi:21509
  31897. msgid "Which SIEVE capabilities to report to clients that first connect to the ManageSieve service, before authentication. These may differ from the capabilities offered to authenticated users. If this field is left empty, report what the Sieve interpreter supports by default."
  31898. msgstr ""
  31899. #. type: deftypevr
  31900. #: guix-git/doc/guix.texi:21514
  31901. #, no-wrap
  31902. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  31903. msgstr ""
  31904. #. type: deftypevr
  31905. #: guix-git/doc/guix.texi:21516
  31906. msgid "Space separated list of plugins to load."
  31907. msgstr ""
  31908. #. type: deftypevr
  31909. #: guix-git/doc/guix.texi:21518
  31910. #, no-wrap
  31911. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  31912. msgstr ""
  31913. #. type: deftypevr
  31914. #: guix-git/doc/guix.texi:21522
  31915. 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}."
  31916. msgstr ""
  31917. #. type: deftypevr
  31918. #: guix-git/doc/guix.texi:21526
  31919. #, no-wrap
  31920. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  31921. msgstr ""
  31922. #. type: deftypevr
  31923. #: guix-git/doc/guix.texi:21530
  31924. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  31925. msgstr ""
  31926. #. type: deftypevr
  31927. #: guix-git/doc/guix.texi:21532
  31928. msgid "Available @code{service-configuration} fields are:"
  31929. msgstr ""
  31930. #. type: deftypevr
  31931. #: guix-git/doc/guix.texi:21533
  31932. #, no-wrap
  31933. msgid "{@code{service-configuration} parameter} string kind"
  31934. msgstr ""
  31935. #. type: deftypevr
  31936. #: guix-git/doc/guix.texi:21538
  31937. 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."
  31938. msgstr ""
  31939. #. type: deftypevr
  31940. #: guix-git/doc/guix.texi:21540
  31941. #, no-wrap
  31942. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  31943. msgstr ""
  31944. #. type: deftypevr
  31945. #: guix-git/doc/guix.texi:21545
  31946. 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{()}."
  31947. msgstr ""
  31948. #. type: deftypevr
  31949. #: guix-git/doc/guix.texi:21547
  31950. msgid "Available @code{unix-listener-configuration} fields are:"
  31951. msgstr ""
  31952. #. type: deftypevr
  31953. #: guix-git/doc/guix.texi:21548
  31954. #, no-wrap
  31955. msgid "{@code{unix-listener-configuration} parameter} string path"
  31956. msgstr ""
  31957. #. type: deftypevr
  31958. #: guix-git/doc/guix.texi:21551 guix-git/doc/guix.texi:21574
  31959. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  31960. msgstr ""
  31961. #. type: deftypevr
  31962. #: guix-git/doc/guix.texi:21553
  31963. #, no-wrap
  31964. msgid "{@code{unix-listener-configuration} parameter} string mode"
  31965. msgstr ""
  31966. #. type: deftypevr
  31967. #: guix-git/doc/guix.texi:21556 guix-git/doc/guix.texi:21579
  31968. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  31969. msgstr ""
  31970. #. type: deftypevr
  31971. #: guix-git/doc/guix.texi:21558
  31972. #, no-wrap
  31973. msgid "{@code{unix-listener-configuration} parameter} string user"
  31974. msgstr ""
  31975. #. type: deftypevr
  31976. #: guix-git/doc/guix.texi:21561 guix-git/doc/guix.texi:21584
  31977. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  31978. msgstr ""
  31979. #. type: deftypevr
  31980. #: guix-git/doc/guix.texi:21563
  31981. #, no-wrap
  31982. msgid "{@code{unix-listener-configuration} parameter} string group"
  31983. msgstr ""
  31984. #. type: deftypevr
  31985. #: guix-git/doc/guix.texi:21566 guix-git/doc/guix.texi:21589
  31986. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  31987. msgstr ""
  31988. #. type: deftypevr
  31989. #: guix-git/doc/guix.texi:21570
  31990. msgid "Available @code{fifo-listener-configuration} fields are:"
  31991. msgstr ""
  31992. #. type: deftypevr
  31993. #: guix-git/doc/guix.texi:21571
  31994. #, no-wrap
  31995. msgid "{@code{fifo-listener-configuration} parameter} string path"
  31996. msgstr ""
  31997. #. type: deftypevr
  31998. #: guix-git/doc/guix.texi:21576
  31999. #, no-wrap
  32000. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  32001. msgstr ""
  32002. #. type: deftypevr
  32003. #: guix-git/doc/guix.texi:21581
  32004. #, no-wrap
  32005. msgid "{@code{fifo-listener-configuration} parameter} string user"
  32006. msgstr ""
  32007. #. type: deftypevr
  32008. #: guix-git/doc/guix.texi:21586
  32009. #, no-wrap
  32010. msgid "{@code{fifo-listener-configuration} parameter} string group"
  32011. msgstr ""
  32012. #. type: deftypevr
  32013. #: guix-git/doc/guix.texi:21593
  32014. msgid "Available @code{inet-listener-configuration} fields are:"
  32015. msgstr ""
  32016. #. type: deftypevr
  32017. #: guix-git/doc/guix.texi:21594
  32018. #, no-wrap
  32019. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  32020. msgstr ""
  32021. #. type: deftypevr
  32022. #: guix-git/doc/guix.texi:21596
  32023. msgid "The protocol to listen for."
  32024. msgstr ""
  32025. #. type: deftypevr
  32026. #: guix-git/doc/guix.texi:21598
  32027. #, no-wrap
  32028. msgid "{@code{inet-listener-configuration} parameter} string address"
  32029. msgstr ""
  32030. #. type: deftypevr
  32031. #: guix-git/doc/guix.texi:21601
  32032. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  32033. msgstr ""
  32034. #. type: deftypevr
  32035. #: guix-git/doc/guix.texi:21603
  32036. #, no-wrap
  32037. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  32038. msgstr ""
  32039. #. type: deftypevr
  32040. #: guix-git/doc/guix.texi:21605
  32041. msgid "The port on which to listen."
  32042. msgstr ""
  32043. #. type: deftypevr
  32044. #: guix-git/doc/guix.texi:21607
  32045. #, no-wrap
  32046. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  32047. msgstr ""
  32048. #. type: deftypevr
  32049. #: guix-git/doc/guix.texi:21611
  32050. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  32051. msgstr ""
  32052. #. type: deftypevr
  32053. #: guix-git/doc/guix.texi:21615
  32054. #, no-wrap
  32055. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  32056. msgstr ""
  32057. #. type: deftypevr
  32058. #: guix-git/doc/guix.texi:21620
  32059. 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."
  32060. msgstr ""
  32061. #. type: deftypevr
  32062. #: guix-git/doc/guix.texi:21625
  32063. #, no-wrap
  32064. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  32065. msgstr ""
  32066. #. type: deftypevr
  32067. #: guix-git/doc/guix.texi:21630
  32068. 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}."
  32069. msgstr ""
  32070. #. type: deftypevr
  32071. #: guix-git/doc/guix.texi:21633
  32072. #, no-wrap
  32073. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  32074. msgstr ""
  32075. #. type: deftypevr
  32076. #: guix-git/doc/guix.texi:21636
  32077. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  32078. msgstr ""
  32079. #. type: deftypevr
  32080. #: guix-git/doc/guix.texi:21641
  32081. #, no-wrap
  32082. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  32083. msgstr ""
  32084. #. type: deftypevr
  32085. #: guix-git/doc/guix.texi:21644
  32086. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  32087. msgstr ""
  32088. #. type: deftypevr
  32089. #: guix-git/doc/guix.texi:21646
  32090. #, no-wrap
  32091. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  32092. msgstr ""
  32093. #. type: deftypevr
  32094. #: guix-git/doc/guix.texi:21650
  32095. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  32096. msgstr ""
  32097. #. type: deftypevr
  32098. #: guix-git/doc/guix.texi:21654
  32099. #, no-wrap
  32100. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  32101. msgstr ""
  32102. #. type: deftypevr
  32103. #: guix-git/doc/guix.texi:21657
  32104. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  32105. msgstr ""
  32106. #. type: deftypevr
  32107. #: guix-git/doc/guix.texi:21659
  32108. msgid "Available @code{dict-configuration} fields are:"
  32109. msgstr ""
  32110. #. type: deftypevr
  32111. #: guix-git/doc/guix.texi:21660
  32112. #, no-wrap
  32113. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  32114. msgstr ""
  32115. #. type: deftypevr
  32116. #: guix-git/doc/guix.texi:21663
  32117. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  32118. msgstr ""
  32119. #. type: deftypevr
  32120. #: guix-git/doc/guix.texi:21667
  32121. #, no-wrap
  32122. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  32123. msgstr ""
  32124. #. type: deftypevr
  32125. #: guix-git/doc/guix.texi:21670
  32126. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  32127. msgstr ""
  32128. #. type: deftypevr
  32129. #: guix-git/doc/guix.texi:21672
  32130. msgid "Available @code{passdb-configuration} fields are:"
  32131. msgstr ""
  32132. #. type: deftypevr
  32133. #: guix-git/doc/guix.texi:21673
  32134. #, no-wrap
  32135. msgid "{@code{passdb-configuration} parameter} string driver"
  32136. msgstr ""
  32137. #. type: deftypevr
  32138. #: guix-git/doc/guix.texi:21678
  32139. 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\"}."
  32140. msgstr ""
  32141. #. type: deftypevr
  32142. #: guix-git/doc/guix.texi:21680
  32143. #, no-wrap
  32144. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  32145. msgstr ""
  32146. #. type: deftypevr
  32147. #: guix-git/doc/guix.texi:21683
  32148. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  32149. msgstr ""
  32150. #. type: deftypevr
  32151. #: guix-git/doc/guix.texi:21687
  32152. #, no-wrap
  32153. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  32154. msgstr ""
  32155. #. type: deftypevr
  32156. #: guix-git/doc/guix.texi:21690
  32157. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  32158. msgstr ""
  32159. #. type: deftypevr
  32160. #: guix-git/doc/guix.texi:21692
  32161. msgid "Available @code{userdb-configuration} fields are:"
  32162. msgstr ""
  32163. #. type: deftypevr
  32164. #: guix-git/doc/guix.texi:21693
  32165. #, no-wrap
  32166. msgid "{@code{userdb-configuration} parameter} string driver"
  32167. msgstr ""
  32168. #. type: deftypevr
  32169. #: guix-git/doc/guix.texi:21697
  32170. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  32171. msgstr ""
  32172. #. type: deftypevr
  32173. #: guix-git/doc/guix.texi:21699
  32174. #, no-wrap
  32175. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  32176. msgstr ""
  32177. #. type: deftypevr
  32178. #: guix-git/doc/guix.texi:21702
  32179. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  32180. msgstr ""
  32181. #. type: deftypevr
  32182. #: guix-git/doc/guix.texi:21704
  32183. #, no-wrap
  32184. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  32185. msgstr ""
  32186. #. type: deftypevr
  32187. #: guix-git/doc/guix.texi:21707
  32188. msgid "Override fields from passwd. Defaults to @samp{()}."
  32189. msgstr ""
  32190. #. type: deftypevr
  32191. #: guix-git/doc/guix.texi:21711
  32192. #, no-wrap
  32193. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  32194. msgstr ""
  32195. #. type: deftypevr
  32196. #: guix-git/doc/guix.texi:21714
  32197. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  32198. msgstr ""
  32199. #. type: deftypevr
  32200. #: guix-git/doc/guix.texi:21716
  32201. #, no-wrap
  32202. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  32203. msgstr ""
  32204. #. type: deftypevr
  32205. #: guix-git/doc/guix.texi:21719
  32206. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  32207. msgstr ""
  32208. #. type: deftypevr
  32209. #: guix-git/doc/guix.texi:21721
  32210. msgid "Available @code{namespace-configuration} fields are:"
  32211. msgstr ""
  32212. #. type: deftypevr
  32213. #: guix-git/doc/guix.texi:21722
  32214. #, no-wrap
  32215. msgid "{@code{namespace-configuration} parameter} string name"
  32216. msgstr ""
  32217. #. type: deftypevr
  32218. #: guix-git/doc/guix.texi:21724
  32219. msgid "Name for this namespace."
  32220. msgstr ""
  32221. #. type: deftypevr
  32222. #: guix-git/doc/guix.texi:21726
  32223. #, no-wrap
  32224. msgid "{@code{namespace-configuration} parameter} string type"
  32225. msgstr ""
  32226. #. type: deftypevr
  32227. #: guix-git/doc/guix.texi:21729
  32228. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  32229. msgstr ""
  32230. #. type: deftypevr
  32231. #: guix-git/doc/guix.texi:21731
  32232. #, no-wrap
  32233. msgid "{@code{namespace-configuration} parameter} string separator"
  32234. msgstr ""
  32235. #. type: deftypevr
  32236. #: guix-git/doc/guix.texi:21737
  32237. 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{\"\"}."
  32238. msgstr ""
  32239. #. type: deftypevr
  32240. #: guix-git/doc/guix.texi:21739
  32241. #, no-wrap
  32242. msgid "{@code{namespace-configuration} parameter} string prefix"
  32243. msgstr ""
  32244. #. type: deftypevr
  32245. #: guix-git/doc/guix.texi:21743
  32246. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  32247. msgstr ""
  32248. #. type: deftypevr
  32249. #: guix-git/doc/guix.texi:21745
  32250. #, no-wrap
  32251. msgid "{@code{namespace-configuration} parameter} string location"
  32252. msgstr ""
  32253. #. type: deftypevr
  32254. #: guix-git/doc/guix.texi:21749
  32255. 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{\"\"}."
  32256. msgstr ""
  32257. #. type: deftypevr
  32258. #: guix-git/doc/guix.texi:21751
  32259. #, no-wrap
  32260. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  32261. msgstr ""
  32262. #. type: deftypevr
  32263. #: guix-git/doc/guix.texi:21755
  32264. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  32265. msgstr ""
  32266. #. type: deftypevr
  32267. #: guix-git/doc/guix.texi:21757
  32268. #, no-wrap
  32269. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  32270. msgstr ""
  32271. #. type: deftypevr
  32272. #: guix-git/doc/guix.texi:21765
  32273. 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}."
  32274. msgstr ""
  32275. #. type: deftypevr
  32276. #: guix-git/doc/guix.texi:21767
  32277. #, no-wrap
  32278. msgid "{@code{namespace-configuration} parameter} boolean list?"
  32279. msgstr ""
  32280. #. type: deftypevr
  32281. #: guix-git/doc/guix.texi:21773
  32282. 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}."
  32283. msgstr ""
  32284. #. type: deftypevr
  32285. #: guix-git/doc/guix.texi:21775
  32286. #, no-wrap
  32287. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  32288. msgstr ""
  32289. #. type: deftypevr
  32290. #: guix-git/doc/guix.texi:21780
  32291. 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}."
  32292. msgstr ""
  32293. #. type: deftypevr
  32294. #: guix-git/doc/guix.texi:21782
  32295. #, no-wrap
  32296. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  32297. msgstr ""
  32298. #. type: deftypevr
  32299. #: guix-git/doc/guix.texi:21785
  32300. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  32301. msgstr ""
  32302. #. type: deftypevr
  32303. #: guix-git/doc/guix.texi:21787
  32304. msgid "Available @code{mailbox-configuration} fields are:"
  32305. msgstr ""
  32306. #. type: deftypevr
  32307. #: guix-git/doc/guix.texi:21788
  32308. #, no-wrap
  32309. msgid "{@code{mailbox-configuration} parameter} string name"
  32310. msgstr ""
  32311. #. type: deftypevr
  32312. #: guix-git/doc/guix.texi:21790
  32313. msgid "Name for this mailbox."
  32314. msgstr ""
  32315. #. type: deftypevr
  32316. #: guix-git/doc/guix.texi:21792
  32317. #, no-wrap
  32318. msgid "{@code{mailbox-configuration} parameter} string auto"
  32319. msgstr ""
  32320. #. type: deftypevr
  32321. #: guix-git/doc/guix.texi:21796
  32322. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  32323. msgstr ""
  32324. #. type: deftypevr
  32325. #: guix-git/doc/guix.texi:21798
  32326. #, no-wrap
  32327. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  32328. msgstr ""
  32329. #. type: deftypevr
  32330. #: guix-git/doc/guix.texi:21803
  32331. 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{()}."
  32332. msgstr ""
  32333. #. type: deftypevr
  32334. #: guix-git/doc/guix.texi:21809
  32335. #, no-wrap
  32336. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  32337. msgstr ""
  32338. #. type: deftypevr
  32339. #: guix-git/doc/guix.texi:21812
  32340. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  32341. msgstr ""
  32342. #. type: deftypevr
  32343. #: guix-git/doc/guix.texi:21814
  32344. #, no-wrap
  32345. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  32346. msgstr ""
  32347. #. type: deftypevr
  32348. #: guix-git/doc/guix.texi:21817
  32349. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  32350. msgstr ""
  32351. #. type: deftypevr
  32352. #: guix-git/doc/guix.texi:21819
  32353. #, no-wrap
  32354. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  32355. msgstr ""
  32356. #. type: deftypevr
  32357. #: guix-git/doc/guix.texi:21826
  32358. 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{()}."
  32359. msgstr ""
  32360. #. type: deftypevr
  32361. #: guix-git/doc/guix.texi:21828
  32362. #, no-wrap
  32363. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  32364. msgstr ""
  32365. #. type: deftypevr
  32366. #: guix-git/doc/guix.texi:21831
  32367. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  32368. msgstr ""
  32369. #. type: deftypevr
  32370. #: guix-git/doc/guix.texi:21833
  32371. #, no-wrap
  32372. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  32373. msgstr ""
  32374. #. type: deftypevr
  32375. #: guix-git/doc/guix.texi:21839
  32376. 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}."
  32377. msgstr ""
  32378. #. type: deftypevr
  32379. #: guix-git/doc/guix.texi:21841
  32380. #, no-wrap
  32381. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  32382. msgstr ""
  32383. #. type: deftypevr
  32384. #: guix-git/doc/guix.texi:21847
  32385. 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}."
  32386. msgstr ""
  32387. #. type: deftypevr
  32388. #: guix-git/doc/guix.texi:21849
  32389. #, no-wrap
  32390. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  32391. msgstr ""
  32392. #. type: deftypevr
  32393. #: guix-git/doc/guix.texi:21853
  32394. 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}."
  32395. msgstr ""
  32396. #. type: deftypevr
  32397. #: guix-git/doc/guix.texi:21855
  32398. #, no-wrap
  32399. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  32400. msgstr ""
  32401. #. type: deftypevr
  32402. #: guix-git/doc/guix.texi:21858
  32403. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  32404. msgstr ""
  32405. #. type: deftypevr
  32406. #: guix-git/doc/guix.texi:21860
  32407. #, no-wrap
  32408. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  32409. msgstr ""
  32410. #. type: deftypevr
  32411. #: guix-git/doc/guix.texi:21864
  32412. 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."
  32413. msgstr ""
  32414. #. type: deftypevr
  32415. #: guix-git/doc/guix.texi:21866
  32416. #, no-wrap
  32417. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  32418. msgstr ""
  32419. #. type: deftypevr
  32420. #: guix-git/doc/guix.texi:21873
  32421. 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}."
  32422. msgstr ""
  32423. #. type: deftypevr
  32424. #: guix-git/doc/guix.texi:21875
  32425. #, no-wrap
  32426. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  32427. msgstr ""
  32428. #. type: deftypevr
  32429. #: guix-git/doc/guix.texi:21880
  32430. 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}."
  32431. msgstr ""
  32432. #. type: deftypevr
  32433. #: guix-git/doc/guix.texi:21882
  32434. #, no-wrap
  32435. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  32436. msgstr ""
  32437. #. type: deftypevr
  32438. #: guix-git/doc/guix.texi:21890
  32439. 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\"}."
  32440. msgstr ""
  32441. #. type: deftypevr
  32442. #: guix-git/doc/guix.texi:21892
  32443. #, no-wrap
  32444. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  32445. msgstr ""
  32446. #. type: deftypevr
  32447. #: guix-git/doc/guix.texi:21896
  32448. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  32449. msgstr ""
  32450. #. type: deftypevr
  32451. #: guix-git/doc/guix.texi:21898
  32452. #, no-wrap
  32453. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  32454. msgstr ""
  32455. #. type: deftypevr
  32456. #: guix-git/doc/guix.texi:21904
  32457. 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{()}."
  32458. msgstr ""
  32459. #. type: deftypevr
  32460. #: guix-git/doc/guix.texi:21906
  32461. #, no-wrap
  32462. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  32463. msgstr ""
  32464. #. type: deftypevr
  32465. #: guix-git/doc/guix.texi:21911
  32466. 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{\"\"}."
  32467. msgstr ""
  32468. #. type: deftypevr
  32469. #: guix-git/doc/guix.texi:21913
  32470. #, no-wrap
  32471. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  32472. msgstr ""
  32473. #. type: deftypevr
  32474. #: guix-git/doc/guix.texi:21920
  32475. 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.-_@@\"}."
  32476. msgstr ""
  32477. #. type: deftypevr
  32478. #: guix-git/doc/guix.texi:21922
  32479. #, no-wrap
  32480. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  32481. msgstr ""
  32482. #. type: deftypevr
  32483. #: guix-git/doc/guix.texi:21928
  32484. 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{\"\"}."
  32485. msgstr ""
  32486. #. type: deftypevr
  32487. #: guix-git/doc/guix.texi:21930
  32488. #, no-wrap
  32489. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  32490. msgstr ""
  32491. #. type: deftypevr
  32492. #: guix-git/doc/guix.texi:21937
  32493. 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\"}."
  32494. msgstr ""
  32495. #. type: deftypevr
  32496. #: guix-git/doc/guix.texi:21939
  32497. #, no-wrap
  32498. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  32499. msgstr ""
  32500. #. type: deftypevr
  32501. #: guix-git/doc/guix.texi:21947
  32502. 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{\"\"}."
  32503. msgstr ""
  32504. #. type: deftypevr
  32505. #: guix-git/doc/guix.texi:21949
  32506. #, no-wrap
  32507. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  32508. msgstr ""
  32509. #. type: deftypevr
  32510. #: guix-git/doc/guix.texi:21953
  32511. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  32512. msgstr ""
  32513. #. type: deftypevr
  32514. #: guix-git/doc/guix.texi:21955
  32515. #, no-wrap
  32516. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  32517. msgstr ""
  32518. #. type: deftypevr
  32519. #: guix-git/doc/guix.texi:21960
  32520. 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}."
  32521. msgstr ""
  32522. #. type: deftypevr
  32523. #: guix-git/doc/guix.texi:21962
  32524. #, no-wrap
  32525. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  32526. msgstr ""
  32527. #. type: deftypevr
  32528. #: guix-git/doc/guix.texi:21967
  32529. 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{\"\"}."
  32530. msgstr ""
  32531. #. type: deftypevr
  32532. #: guix-git/doc/guix.texi:21969
  32533. #, no-wrap
  32534. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  32535. msgstr ""
  32536. #. type: deftypevr
  32537. #: guix-git/doc/guix.texi:21975
  32538. 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{\"\"}."
  32539. msgstr ""
  32540. #. type: deftypevr
  32541. #: guix-git/doc/guix.texi:21977
  32542. #, no-wrap
  32543. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  32544. msgstr ""
  32545. #. type: deftypevr
  32546. #: guix-git/doc/guix.texi:21982
  32547. 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}."
  32548. msgstr ""
  32549. #. type: deftypevr
  32550. #: guix-git/doc/guix.texi:21984
  32551. #, no-wrap
  32552. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  32553. msgstr ""
  32554. #. type: deftypevr
  32555. #: guix-git/doc/guix.texi:21987
  32556. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  32557. msgstr ""
  32558. #. type: deftypevr
  32559. #: guix-git/doc/guix.texi:21989
  32560. #, no-wrap
  32561. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  32562. msgstr ""
  32563. #. type: deftypevr
  32564. #: guix-git/doc/guix.texi:21992
  32565. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  32566. msgstr ""
  32567. #. type: deftypevr
  32568. #: guix-git/doc/guix.texi:21994
  32569. #, no-wrap
  32570. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  32571. msgstr ""
  32572. #. type: deftypevr
  32573. #: guix-git/doc/guix.texi:21998
  32574. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  32575. msgstr ""
  32576. #. type: deftypevr
  32577. #: guix-git/doc/guix.texi:22000
  32578. #, no-wrap
  32579. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  32580. msgstr ""
  32581. #. type: deftypevr
  32582. #: guix-git/doc/guix.texi:22005
  32583. 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}."
  32584. msgstr ""
  32585. #. type: deftypevr
  32586. #: guix-git/doc/guix.texi:22007
  32587. #, no-wrap
  32588. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  32589. msgstr ""
  32590. #. type: deftypevr
  32591. #: guix-git/doc/guix.texi:22013
  32592. 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."
  32593. msgstr ""
  32594. #. type: deftypevr
  32595. #: guix-git/doc/guix.texi:22015
  32596. #, no-wrap
  32597. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  32598. msgstr ""
  32599. #. type: deftypevr
  32600. #: guix-git/doc/guix.texi:22020
  32601. 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{()}."
  32602. msgstr ""
  32603. #. type: deftypevr
  32604. #: guix-git/doc/guix.texi:22022
  32605. #, no-wrap
  32606. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  32607. msgstr ""
  32608. #. type: deftypevr
  32609. #: guix-git/doc/guix.texi:22026
  32610. 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{()}."
  32611. msgstr ""
  32612. #. type: deftypevr
  32613. #: guix-git/doc/guix.texi:22028
  32614. #, no-wrap
  32615. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  32616. msgstr ""
  32617. #. type: deftypevr
  32618. #: guix-git/doc/guix.texi:22032
  32619. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  32620. msgstr ""
  32621. #. type: deftypevr
  32622. #: guix-git/doc/guix.texi:22034
  32623. #, no-wrap
  32624. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  32625. msgstr ""
  32626. #. type: deftypevr
  32627. #: guix-git/doc/guix.texi:22039
  32628. 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\"}."
  32629. msgstr ""
  32630. #. type: deftypevr
  32631. #: guix-git/doc/guix.texi:22041
  32632. #, no-wrap
  32633. msgid "{@code{dovecot-configuration} parameter} string log-path"
  32634. msgstr ""
  32635. #. type: deftypevr
  32636. #: guix-git/doc/guix.texi:22045
  32637. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  32638. msgstr ""
  32639. #. type: deftypevr
  32640. #: guix-git/doc/guix.texi:22047
  32641. #, no-wrap
  32642. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  32643. msgstr ""
  32644. #. type: deftypevr
  32645. #: guix-git/doc/guix.texi:22051
  32646. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  32647. msgstr ""
  32648. #. type: deftypevr
  32649. #: guix-git/doc/guix.texi:22053
  32650. #, no-wrap
  32651. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  32652. msgstr ""
  32653. #. type: deftypevr
  32654. #: guix-git/doc/guix.texi:22057
  32655. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  32656. msgstr ""
  32657. #. type: deftypevr
  32658. #: guix-git/doc/guix.texi:22059
  32659. #, no-wrap
  32660. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  32661. msgstr ""
  32662. #. type: deftypevr
  32663. #: guix-git/doc/guix.texi:22064
  32664. 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\"}."
  32665. msgstr ""
  32666. #. type: deftypevr
  32667. #: guix-git/doc/guix.texi:22066
  32668. #, no-wrap
  32669. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  32670. msgstr ""
  32671. #. type: deftypevr
  32672. #: guix-git/doc/guix.texi:22070
  32673. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  32674. msgstr ""
  32675. #. type: deftypevr
  32676. #: guix-git/doc/guix.texi:22072
  32677. #, no-wrap
  32678. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  32679. msgstr ""
  32680. #. type: deftypevr
  32681. #: guix-git/doc/guix.texi:22079
  32682. 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\"}."
  32683. msgstr ""
  32684. #. type: deftypevr
  32685. #: guix-git/doc/guix.texi:22081
  32686. #, no-wrap
  32687. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  32688. msgstr ""
  32689. #. type: deftypevr
  32690. #: guix-git/doc/guix.texi:22085
  32691. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  32692. msgstr ""
  32693. #. type: deftypevr
  32694. #: guix-git/doc/guix.texi:22087
  32695. #, no-wrap
  32696. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  32697. msgstr ""
  32698. #. type: deftypevr
  32699. #: guix-git/doc/guix.texi:22092
  32700. 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}."
  32701. msgstr ""
  32702. #. type: deftypevr
  32703. #: guix-git/doc/guix.texi:22094
  32704. #, no-wrap
  32705. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  32706. msgstr ""
  32707. #. type: deftypevr
  32708. #: guix-git/doc/guix.texi:22098
  32709. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  32710. msgstr ""
  32711. #. type: deftypevr
  32712. #: guix-git/doc/guix.texi:22100
  32713. #, no-wrap
  32714. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  32715. msgstr ""
  32716. #. type: deftypevr
  32717. #: guix-git/doc/guix.texi:22103
  32718. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  32719. msgstr ""
  32720. #. type: deftypevr
  32721. #: guix-git/doc/guix.texi:22105
  32722. #, no-wrap
  32723. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  32724. msgstr ""
  32725. #. type: deftypevr
  32726. #: guix-git/doc/guix.texi:22109
  32727. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  32728. msgstr ""
  32729. #. type: deftypevr
  32730. #: guix-git/doc/guix.texi:22111
  32731. #, no-wrap
  32732. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  32733. msgstr ""
  32734. #. type: deftypevr
  32735. #: guix-git/doc/guix.texi:22115
  32736. 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."
  32737. msgstr ""
  32738. #. type: deftypevr
  32739. #: guix-git/doc/guix.texi:22117
  32740. #, no-wrap
  32741. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  32742. msgstr ""
  32743. #. type: deftypevr
  32744. #: guix-git/doc/guix.texi:22121
  32745. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  32746. msgstr ""
  32747. #. type: deftypevr
  32748. #: guix-git/doc/guix.texi:22123
  32749. #, no-wrap
  32750. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  32751. msgstr ""
  32752. #. type: deftypevr
  32753. #: guix-git/doc/guix.texi:22127
  32754. 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@}>: \\\"\"}."
  32755. msgstr ""
  32756. #. type: deftypevr
  32757. #: guix-git/doc/guix.texi:22129
  32758. #, no-wrap
  32759. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  32760. msgstr ""
  32761. #. type: deftypevr
  32762. #: guix-git/doc/guix.texi:22131
  32763. msgid "Format to use for logging mail deliveries. You can use variables:"
  32764. msgstr ""
  32765. #. type: item
  32766. #: guix-git/doc/guix.texi:22132
  32767. #, no-wrap
  32768. msgid "%$"
  32769. msgstr ""
  32770. #. type: table
  32771. #: guix-git/doc/guix.texi:22134
  32772. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  32773. msgstr ""
  32774. #. type: item
  32775. #: guix-git/doc/guix.texi:22134
  32776. #, no-wrap
  32777. msgid "%m"
  32778. msgstr ""
  32779. #. type: table
  32780. #: guix-git/doc/guix.texi:22136
  32781. msgid "Message-ID"
  32782. msgstr ""
  32783. #. type: item
  32784. #: guix-git/doc/guix.texi:22136 guix-git/doc/guix.texi:22679
  32785. #, no-wrap
  32786. msgid "%s"
  32787. msgstr ""
  32788. #. type: table
  32789. #: guix-git/doc/guix.texi:22138
  32790. msgid "Subject"
  32791. msgstr ""
  32792. #. type: item
  32793. #: guix-git/doc/guix.texi:22138
  32794. #, no-wrap
  32795. msgid "%f"
  32796. msgstr ""
  32797. #. type: table
  32798. #: guix-git/doc/guix.texi:22140
  32799. msgid "From address"
  32800. msgstr ""
  32801. #. type: table
  32802. #: guix-git/doc/guix.texi:22142
  32803. msgid "Physical size"
  32804. msgstr ""
  32805. #. type: item
  32806. #: guix-git/doc/guix.texi:22142
  32807. #, no-wrap
  32808. msgid "%w"
  32809. msgstr ""
  32810. #. type: table
  32811. #: guix-git/doc/guix.texi:22144
  32812. msgid "Virtual size."
  32813. msgstr ""
  32814. #. type: deftypevr
  32815. #: guix-git/doc/guix.texi:22146
  32816. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  32817. msgstr ""
  32818. #. type: deftypevr
  32819. #: guix-git/doc/guix.texi:22148
  32820. #, no-wrap
  32821. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  32822. msgstr ""
  32823. #. type: deftypevr
  32824. #: guix-git/doc/guix.texi:22153
  32825. 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."
  32826. msgstr ""
  32827. #. type: deftypevr
  32828. #: guix-git/doc/guix.texi:22159
  32829. 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."
  32830. msgstr ""
  32831. #. type: deftypevr
  32832. #: guix-git/doc/guix.texi:22161
  32833. msgid "There are a few special variables you can use, e.g.:"
  32834. msgstr ""
  32835. #. type: table
  32836. #: guix-git/doc/guix.texi:22165
  32837. msgid "username"
  32838. msgstr ""
  32839. #. type: item
  32840. #: guix-git/doc/guix.texi:22165 guix-git/doc/guix.texi:22675
  32841. #, no-wrap
  32842. msgid "%n"
  32843. msgstr ""
  32844. #. type: table
  32845. #: guix-git/doc/guix.texi:22167
  32846. msgid "user part in user@@domain, same as %u if there's no domain"
  32847. msgstr ""
  32848. #. type: item
  32849. #: guix-git/doc/guix.texi:22167
  32850. #, no-wrap
  32851. msgid "%d"
  32852. msgstr ""
  32853. #. type: table
  32854. #: guix-git/doc/guix.texi:22169
  32855. msgid "domain part in user@@domain, empty if there's no domain"
  32856. msgstr ""
  32857. #. type: item
  32858. #: guix-git/doc/guix.texi:22169
  32859. #, no-wrap
  32860. msgid "%h"
  32861. msgstr ""
  32862. #. type: table
  32863. #: guix-git/doc/guix.texi:22171
  32864. msgid "home director"
  32865. msgstr ""
  32866. #. type: deftypevr
  32867. #: guix-git/doc/guix.texi:22174
  32868. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  32869. msgstr ""
  32870. #. type: item
  32871. #: guix-git/doc/guix.texi:22175
  32872. #, no-wrap
  32873. msgid "maildir:~/Maildir"
  32874. msgstr ""
  32875. #. type: item
  32876. #: guix-git/doc/guix.texi:22176
  32877. #, no-wrap
  32878. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  32879. msgstr ""
  32880. #. type: item
  32881. #: guix-git/doc/guix.texi:22177
  32882. #, no-wrap
  32883. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  32884. msgstr ""
  32885. #. type: deftypevr
  32886. #: guix-git/doc/guix.texi:22182
  32887. #, no-wrap
  32888. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  32889. msgstr ""
  32890. #. type: deftypevr
  32891. #: guix-git/doc/guix.texi:22187
  32892. 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{\"\"}."
  32893. msgstr ""
  32894. #. type: deftypevr
  32895. #: guix-git/doc/guix.texi:22189
  32896. #, no-wrap
  32897. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  32898. msgstr ""
  32899. #. type: deftypevr
  32900. #: guix-git/doc/guix.texi:22194
  32901. #, no-wrap
  32902. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  32903. msgstr ""
  32904. #. type: deftypevr
  32905. #: guix-git/doc/guix.texi:22200
  32906. 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{\"\"}."
  32907. msgstr ""
  32908. #. type: deftypevr
  32909. #: guix-git/doc/guix.texi:22202
  32910. #, no-wrap
  32911. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  32912. msgstr ""
  32913. #. type: deftypevr
  32914. #: guix-git/doc/guix.texi:22210
  32915. 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{\"\"}."
  32916. msgstr ""
  32917. #. type: deftypevr
  32918. #: guix-git/doc/guix.texi:22212
  32919. #, no-wrap
  32920. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  32921. msgstr ""
  32922. #. type: deftypevr
  32923. #: guix-git/doc/guix.texi:22215
  32924. msgid "The location of a dictionary used to store @code{IMAP METADATA} as defined by @uref{https://tools.ietf.org/html/rfc5464, RFC@tie{}5464}."
  32925. msgstr ""
  32926. #. type: deftypevr
  32927. #: guix-git/doc/guix.texi:22218
  32928. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  32929. msgstr ""
  32930. #. type: deftypevr
  32931. #: guix-git/doc/guix.texi:22223
  32932. #, no-wrap
  32933. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  32934. msgstr ""
  32935. #. type: deftypevr
  32936. #: guix-git/doc/guix.texi:22229
  32937. 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}."
  32938. msgstr ""
  32939. #. type: deftypevr
  32940. #: guix-git/doc/guix.texi:22231
  32941. #, no-wrap
  32942. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  32943. msgstr ""
  32944. #. type: deftypevr
  32945. #: guix-git/doc/guix.texi:22235
  32946. 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}."
  32947. msgstr ""
  32948. #. type: deftypevr
  32949. #: guix-git/doc/guix.texi:22237
  32950. #, no-wrap
  32951. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  32952. msgstr ""
  32953. #. type: deftypevr
  32954. #: guix-git/doc/guix.texi:22242
  32955. 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}."
  32956. msgstr ""
  32957. #. type: deftypevr
  32958. #: guix-git/doc/guix.texi:22244
  32959. #, no-wrap
  32960. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  32961. msgstr ""
  32962. #. type: deftypevr
  32963. #: guix-git/doc/guix.texi:22246
  32964. msgid "When to use fsync() or fdatasync() calls:"
  32965. msgstr ""
  32966. #. type: item
  32967. #: guix-git/doc/guix.texi:22247
  32968. #, no-wrap
  32969. msgid "optimized"
  32970. msgstr ""
  32971. #. type: table
  32972. #: guix-git/doc/guix.texi:22249
  32973. msgid "Whenever necessary to avoid losing important data"
  32974. msgstr ""
  32975. #. type: table
  32976. #: guix-git/doc/guix.texi:22251
  32977. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  32978. msgstr ""
  32979. #. type: table
  32980. #: guix-git/doc/guix.texi:22253
  32981. msgid "Never use it (best performance, but crashes can lose data)."
  32982. msgstr ""
  32983. #. type: deftypevr
  32984. #: guix-git/doc/guix.texi:22255
  32985. msgid "Defaults to @samp{\"optimized\"}."
  32986. msgstr ""
  32987. #. type: deftypevr
  32988. #: guix-git/doc/guix.texi:22257
  32989. #, no-wrap
  32990. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  32991. msgstr ""
  32992. #. type: deftypevr
  32993. #: guix-git/doc/guix.texi:22262
  32994. 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}."
  32995. msgstr ""
  32996. #. type: deftypevr
  32997. #: guix-git/doc/guix.texi:22264
  32998. #, no-wrap
  32999. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  33000. msgstr ""
  33001. #. type: deftypevr
  33002. #: guix-git/doc/guix.texi:22268
  33003. 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}."
  33004. msgstr ""
  33005. #. type: deftypevr
  33006. #: guix-git/doc/guix.texi:22270
  33007. #, no-wrap
  33008. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  33009. msgstr ""
  33010. #. type: deftypevr
  33011. #: guix-git/doc/guix.texi:22276
  33012. 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\"}."
  33013. msgstr ""
  33014. #. type: deftypevr
  33015. #: guix-git/doc/guix.texi:22278
  33016. #, no-wrap
  33017. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  33018. msgstr ""
  33019. #. type: deftypevr
  33020. #: guix-git/doc/guix.texi:22282
  33021. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  33022. msgstr ""
  33023. #. type: deftypevr
  33024. #: guix-git/doc/guix.texi:22284
  33025. #, no-wrap
  33026. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  33027. msgstr ""
  33028. #. type: deftypevr
  33029. #: guix-git/doc/guix.texi:22290
  33030. 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}."
  33031. msgstr ""
  33032. #. type: deftypevr
  33033. #: guix-git/doc/guix.texi:22292
  33034. #, no-wrap
  33035. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  33036. msgstr ""
  33037. #. type: deftypevr
  33038. #: guix-git/doc/guix.texi:22297
  33039. #, no-wrap
  33040. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  33041. msgstr ""
  33042. #. type: deftypevr
  33043. #: guix-git/doc/guix.texi:22302
  33044. 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}."
  33045. msgstr ""
  33046. #. type: deftypevr
  33047. #: guix-git/doc/guix.texi:22304
  33048. #, no-wrap
  33049. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  33050. msgstr ""
  33051. #. type: deftypevr
  33052. #: guix-git/doc/guix.texi:22309
  33053. #, no-wrap
  33054. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  33055. msgstr ""
  33056. #. type: deftypevr
  33057. #: guix-git/doc/guix.texi:22313
  33058. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  33059. msgstr ""
  33060. #. type: deftypevr
  33061. #: guix-git/doc/guix.texi:22315
  33062. #, no-wrap
  33063. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  33064. msgstr ""
  33065. #. type: deftypevr
  33066. #: guix-git/doc/guix.texi:22325
  33067. 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{()}."
  33068. msgstr ""
  33069. #. type: deftypevr
  33070. #: guix-git/doc/guix.texi:22327
  33071. #, no-wrap
  33072. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  33073. msgstr ""
  33074. #. type: deftypevr
  33075. #: guix-git/doc/guix.texi:22336
  33076. 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{\"\"}."
  33077. msgstr ""
  33078. #. type: deftypevr
  33079. #: guix-git/doc/guix.texi:22338
  33080. #, no-wrap
  33081. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  33082. msgstr ""
  33083. #. type: deftypevr
  33084. #: guix-git/doc/guix.texi:22342
  33085. 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\"}."
  33086. msgstr ""
  33087. #. type: deftypevr
  33088. #: guix-git/doc/guix.texi:22344
  33089. #, no-wrap
  33090. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  33091. msgstr ""
  33092. #. type: deftypevr
  33093. #: guix-git/doc/guix.texi:22347
  33094. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  33095. msgstr ""
  33096. #. type: deftypevr
  33097. #: guix-git/doc/guix.texi:22349
  33098. #, no-wrap
  33099. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  33100. msgstr ""
  33101. #. type: deftypevr
  33102. #: guix-git/doc/guix.texi:22353
  33103. 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{()}."
  33104. msgstr ""
  33105. #. type: deftypevr
  33106. #: guix-git/doc/guix.texi:22355
  33107. #, no-wrap
  33108. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  33109. msgstr ""
  33110. #. type: deftypevr
  33111. #: guix-git/doc/guix.texi:22360
  33112. 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}."
  33113. msgstr ""
  33114. #. type: deftypevr
  33115. #: guix-git/doc/guix.texi:22362
  33116. #, no-wrap
  33117. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  33118. msgstr ""
  33119. #. type: deftypevr
  33120. #: guix-git/doc/guix.texi:22369
  33121. 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\"}."
  33122. msgstr ""
  33123. #. type: deftypevr
  33124. #: guix-git/doc/guix.texi:22371
  33125. #, no-wrap
  33126. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  33127. msgstr ""
  33128. #. type: deftypevr
  33129. #: guix-git/doc/guix.texi:22378
  33130. 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}."
  33131. msgstr ""
  33132. #. type: deftypevr
  33133. #: guix-git/doc/guix.texi:22380
  33134. #, no-wrap
  33135. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  33136. msgstr ""
  33137. #. type: deftypevr
  33138. #: guix-git/doc/guix.texi:22388
  33139. 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}."
  33140. msgstr ""
  33141. #. type: deftypevr
  33142. #: guix-git/doc/guix.texi:22390
  33143. #, no-wrap
  33144. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  33145. msgstr ""
  33146. #. type: deftypevr
  33147. #: guix-git/doc/guix.texi:22395
  33148. 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}."
  33149. msgstr ""
  33150. #. type: deftypevr
  33151. #: guix-git/doc/guix.texi:22397
  33152. #, no-wrap
  33153. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  33154. msgstr ""
  33155. #. type: deftypevr
  33156. #: guix-git/doc/guix.texi:22402
  33157. 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}."
  33158. msgstr ""
  33159. #. type: deftypevr
  33160. #: guix-git/doc/guix.texi:22404
  33161. #, no-wrap
  33162. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  33163. msgstr ""
  33164. #. type: deftypevr
  33165. #: guix-git/doc/guix.texi:22407
  33166. msgid "Which locking methods to use for locking mbox. There are four available:"
  33167. msgstr ""
  33168. #. type: item
  33169. #: guix-git/doc/guix.texi:22409
  33170. #, no-wrap
  33171. msgid "dotlock"
  33172. msgstr ""
  33173. #. type: table
  33174. #: guix-git/doc/guix.texi:22413
  33175. 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."
  33176. msgstr ""
  33177. #. type: item
  33178. #: guix-git/doc/guix.texi:22413
  33179. #, no-wrap
  33180. msgid "dotlock-try"
  33181. msgstr ""
  33182. #. type: table
  33183. #: guix-git/doc/guix.texi:22416
  33184. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  33185. msgstr ""
  33186. #. type: item
  33187. #: guix-git/doc/guix.texi:22416
  33188. #, no-wrap
  33189. msgid "fcntl"
  33190. msgstr ""
  33191. #. type: table
  33192. #: guix-git/doc/guix.texi:22418
  33193. msgid "Use this if possible. Works with NFS too if lockd is used."
  33194. msgstr ""
  33195. #. type: item
  33196. #: guix-git/doc/guix.texi:22418
  33197. #, no-wrap
  33198. msgid "flock"
  33199. msgstr ""
  33200. #. type: table
  33201. #: guix-git/doc/guix.texi:22420 guix-git/doc/guix.texi:22422
  33202. msgid "May not exist in all systems. Doesn't work with NFS."
  33203. msgstr ""
  33204. #. type: item
  33205. #: guix-git/doc/guix.texi:22420
  33206. #, no-wrap
  33207. msgid "lockf"
  33208. msgstr ""
  33209. #. type: deftypevr
  33210. #: guix-git/doc/guix.texi:22428
  33211. 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."
  33212. msgstr ""
  33213. #. type: deftypevr
  33214. #: guix-git/doc/guix.texi:22430
  33215. #, no-wrap
  33216. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  33217. msgstr ""
  33218. #. type: deftypevr
  33219. #: guix-git/doc/guix.texi:22434
  33220. #, no-wrap
  33221. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  33222. msgstr ""
  33223. #. type: deftypevr
  33224. #: guix-git/doc/guix.texi:22437
  33225. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  33226. msgstr ""
  33227. #. type: deftypevr
  33228. #: guix-git/doc/guix.texi:22439
  33229. #, no-wrap
  33230. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  33231. msgstr ""
  33232. #. type: deftypevr
  33233. #: guix-git/doc/guix.texi:22443
  33234. 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\"}."
  33235. msgstr ""
  33236. #. type: deftypevr
  33237. #: guix-git/doc/guix.texi:22445
  33238. #, no-wrap
  33239. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  33240. msgstr ""
  33241. #. type: deftypevr
  33242. #: guix-git/doc/guix.texi:22456
  33243. 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}."
  33244. msgstr ""
  33245. #. type: deftypevr
  33246. #: guix-git/doc/guix.texi:22458
  33247. #, no-wrap
  33248. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  33249. msgstr ""
  33250. #. type: deftypevr
  33251. #: guix-git/doc/guix.texi:22463
  33252. 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}."
  33253. msgstr ""
  33254. #. type: deftypevr
  33255. #: guix-git/doc/guix.texi:22465
  33256. #, no-wrap
  33257. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  33258. msgstr ""
  33259. #. type: deftypevr
  33260. #: guix-git/doc/guix.texi:22471
  33261. 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}."
  33262. msgstr ""
  33263. #. type: deftypevr
  33264. #: guix-git/doc/guix.texi:22473
  33265. #, no-wrap
  33266. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  33267. msgstr ""
  33268. #. type: deftypevr
  33269. #: guix-git/doc/guix.texi:22478
  33270. 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}."
  33271. msgstr ""
  33272. #. type: deftypevr
  33273. #: guix-git/doc/guix.texi:22480
  33274. #, no-wrap
  33275. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  33276. msgstr ""
  33277. #. type: deftypevr
  33278. #: guix-git/doc/guix.texi:22483
  33279. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  33280. msgstr ""
  33281. #. type: deftypevr
  33282. #: guix-git/doc/guix.texi:22485
  33283. #, no-wrap
  33284. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  33285. msgstr ""
  33286. #. type: deftypevr
  33287. #: guix-git/doc/guix.texi:22490
  33288. 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\"}."
  33289. msgstr ""
  33290. #. type: deftypevr
  33291. #: guix-git/doc/guix.texi:22492
  33292. #, no-wrap
  33293. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  33294. msgstr ""
  33295. #. type: deftypevr
  33296. #: guix-git/doc/guix.texi:22497
  33297. 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}."
  33298. msgstr ""
  33299. #. type: deftypevr
  33300. #: guix-git/doc/guix.texi:22499
  33301. #, no-wrap
  33302. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  33303. msgstr ""
  33304. #. type: deftypevr
  33305. #: guix-git/doc/guix.texi:22503
  33306. 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."
  33307. msgstr ""
  33308. #. type: deftypevr
  33309. #: guix-git/doc/guix.texi:22505
  33310. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  33311. msgstr ""
  33312. #. type: deftypevr
  33313. #: guix-git/doc/guix.texi:22508
  33314. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  33315. msgstr ""
  33316. #. type: deftypevr
  33317. #: guix-git/doc/guix.texi:22510
  33318. #, no-wrap
  33319. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  33320. msgstr ""
  33321. #. type: deftypevr
  33322. #: guix-git/doc/guix.texi:22515
  33323. 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}."
  33324. msgstr ""
  33325. #. type: deftypevr
  33326. #: guix-git/doc/guix.texi:22517
  33327. #, no-wrap
  33328. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  33329. msgstr ""
  33330. #. type: deftypevr
  33331. #: guix-git/doc/guix.texi:22519
  33332. msgid "File system backend to use for saving attachments:"
  33333. msgstr ""
  33334. #. type: item
  33335. #: guix-git/doc/guix.texi:22520
  33336. #, no-wrap
  33337. msgid "posix"
  33338. msgstr ""
  33339. #. type: table
  33340. #: guix-git/doc/guix.texi:22522
  33341. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  33342. msgstr ""
  33343. #. type: item
  33344. #: guix-git/doc/guix.texi:22522
  33345. #, no-wrap
  33346. msgid "sis posix"
  33347. msgstr ""
  33348. #. type: table
  33349. #: guix-git/doc/guix.texi:22524
  33350. msgid "SiS with immediate byte-by-byte comparison during saving"
  33351. msgstr ""
  33352. #. type: item
  33353. #: guix-git/doc/guix.texi:22524
  33354. #, no-wrap
  33355. msgid "sis-queue posix"
  33356. msgstr ""
  33357. #. type: table
  33358. #: guix-git/doc/guix.texi:22526
  33359. msgid "SiS with delayed comparison and deduplication."
  33360. msgstr ""
  33361. #. type: deftypevr
  33362. #: guix-git/doc/guix.texi:22528
  33363. msgid "Defaults to @samp{\"sis posix\"}."
  33364. msgstr ""
  33365. #. type: deftypevr
  33366. #: guix-git/doc/guix.texi:22530
  33367. #, no-wrap
  33368. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  33369. msgstr ""
  33370. #. type: deftypevr
  33371. #: guix-git/doc/guix.texi:22536
  33372. 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@}\"}."
  33373. msgstr ""
  33374. #. type: deftypevr
  33375. #: guix-git/doc/guix.texi:22538
  33376. #, no-wrap
  33377. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  33378. msgstr ""
  33379. #. type: deftypevr
  33380. #: guix-git/doc/guix.texi:22543
  33381. #, no-wrap
  33382. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  33383. msgstr ""
  33384. #. type: deftypevr
  33385. #: guix-git/doc/guix.texi:22546 guix-git/doc/guix.texi:30171
  33386. msgid "Defaults to @samp{1000}."
  33387. msgstr ""
  33388. #. type: deftypevr
  33389. #: guix-git/doc/guix.texi:22548
  33390. #, no-wrap
  33391. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  33392. msgstr ""
  33393. #. type: deftypevr
  33394. #: guix-git/doc/guix.texi:22553
  33395. 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}."
  33396. msgstr ""
  33397. #. type: deftypevr
  33398. #: guix-git/doc/guix.texi:22555
  33399. #, no-wrap
  33400. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  33401. msgstr ""
  33402. #. type: deftypevr
  33403. #: guix-git/doc/guix.texi:22560
  33404. 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\"}."
  33405. msgstr ""
  33406. #. type: deftypevr
  33407. #: guix-git/doc/guix.texi:22562
  33408. #, no-wrap
  33409. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  33410. msgstr ""
  33411. #. type: deftypevr
  33412. #: guix-git/doc/guix.texi:22567
  33413. 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\"}."
  33414. msgstr ""
  33415. #. type: deftypevr
  33416. #: guix-git/doc/guix.texi:22569
  33417. #, no-wrap
  33418. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  33419. msgstr ""
  33420. #. type: deftypevr
  33421. #: guix-git/doc/guix.texi:22572
  33422. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  33423. msgstr ""
  33424. #. type: deftypevr
  33425. #: guix-git/doc/guix.texi:22574
  33426. #, no-wrap
  33427. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  33428. msgstr ""
  33429. #. type: deftypevr
  33430. #: guix-git/doc/guix.texi:22577
  33431. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  33432. msgstr ""
  33433. #. type: deftypevr
  33434. #: guix-git/doc/guix.texi:22579
  33435. #, no-wrap
  33436. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  33437. msgstr ""
  33438. #. type: deftypevr
  33439. #: guix-git/doc/guix.texi:22584
  33440. 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\"}."
  33441. msgstr ""
  33442. #. type: deftypevr
  33443. #: guix-git/doc/guix.texi:22586
  33444. #, no-wrap
  33445. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  33446. msgstr ""
  33447. #. type: deftypevr
  33448. #: guix-git/doc/guix.texi:22592
  33449. 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{\"\"}."
  33450. msgstr ""
  33451. #. type: deftypevr
  33452. #: guix-git/doc/guix.texi:22594
  33453. #, no-wrap
  33454. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  33455. msgstr ""
  33456. #. type: deftypevr
  33457. #: guix-git/doc/guix.texi:22600
  33458. 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{\"\"}."
  33459. msgstr ""
  33460. #. type: deftypevr
  33461. #: guix-git/doc/guix.texi:22602
  33462. #, no-wrap
  33463. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  33464. msgstr ""
  33465. #. type: deftypevr
  33466. #: guix-git/doc/guix.texi:22605
  33467. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  33468. msgstr ""
  33469. #. type: deftypevr
  33470. #: guix-git/doc/guix.texi:22607
  33471. #, no-wrap
  33472. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  33473. msgstr ""
  33474. #. type: deftypevr
  33475. #: guix-git/doc/guix.texi:22611
  33476. 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}."
  33477. msgstr ""
  33478. #. type: deftypevr
  33479. #: guix-git/doc/guix.texi:22613
  33480. #, no-wrap
  33481. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  33482. msgstr ""
  33483. #. type: deftypevr
  33484. #: guix-git/doc/guix.texi:22618
  33485. 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\"}."
  33486. msgstr ""
  33487. #. type: deftypevr
  33488. #: guix-git/doc/guix.texi:22620
  33489. #, no-wrap
  33490. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  33491. msgstr ""
  33492. #. type: deftypevr
  33493. #: guix-git/doc/guix.texi:22623
  33494. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  33495. msgstr ""
  33496. #. type: deftypevr
  33497. #: guix-git/doc/guix.texi:22625
  33498. #, no-wrap
  33499. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  33500. msgstr ""
  33501. #. type: deftypevr
  33502. #: guix-git/doc/guix.texi:22628
  33503. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  33504. msgstr ""
  33505. #. type: deftypevr
  33506. #: guix-git/doc/guix.texi:22630
  33507. #, no-wrap
  33508. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  33509. msgstr ""
  33510. #. type: deftypevr
  33511. #: guix-git/doc/guix.texi:22633
  33512. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  33513. msgstr ""
  33514. #. type: deftypevr
  33515. #: guix-git/doc/guix.texi:22635
  33516. #, no-wrap
  33517. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  33518. msgstr ""
  33519. #. type: deftypevr
  33520. #: guix-git/doc/guix.texi:22639
  33521. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  33522. msgstr ""
  33523. #. type: deftypevr
  33524. #: guix-git/doc/guix.texi:22641
  33525. #, no-wrap
  33526. msgid "{@code{dovecot-configuration} parameter} string hostname"
  33527. msgstr ""
  33528. #. type: deftypevr
  33529. #: guix-git/doc/guix.texi:22645
  33530. 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{\"\"}."
  33531. msgstr ""
  33532. #. type: deftypevr
  33533. #: guix-git/doc/guix.texi:22647
  33534. #, no-wrap
  33535. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  33536. msgstr ""
  33537. #. type: deftypevr
  33538. #: guix-git/doc/guix.texi:22651
  33539. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  33540. msgstr ""
  33541. #. type: deftypevr
  33542. #: guix-git/doc/guix.texi:22653
  33543. #, no-wrap
  33544. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  33545. msgstr ""
  33546. #. type: deftypevr
  33547. #: guix-git/doc/guix.texi:22656
  33548. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  33549. msgstr ""
  33550. #. type: deftypevr
  33551. #: guix-git/doc/guix.texi:22658
  33552. #, no-wrap
  33553. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  33554. msgstr ""
  33555. #. type: deftypevr
  33556. #: guix-git/doc/guix.texi:22662
  33557. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  33558. msgstr ""
  33559. #. type: deftypevr
  33560. #: guix-git/doc/guix.texi:22664
  33561. #, no-wrap
  33562. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  33563. msgstr ""
  33564. #. type: deftypevr
  33565. #: guix-git/doc/guix.texi:22668
  33566. 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\"}."
  33567. msgstr ""
  33568. #. type: deftypevr
  33569. #: guix-git/doc/guix.texi:22670
  33570. #, no-wrap
  33571. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  33572. msgstr ""
  33573. #. type: deftypevr
  33574. #: guix-git/doc/guix.texi:22673
  33575. msgid "Human readable error message for rejection mails. You can use variables:"
  33576. msgstr ""
  33577. #. type: table
  33578. #: guix-git/doc/guix.texi:22677
  33579. msgid "CRLF"
  33580. msgstr ""
  33581. #. type: item
  33582. #: guix-git/doc/guix.texi:22677
  33583. #, no-wrap
  33584. msgid "%r"
  33585. msgstr ""
  33586. #. type: table
  33587. #: guix-git/doc/guix.texi:22679
  33588. msgid "reason"
  33589. msgstr ""
  33590. #. type: table
  33591. #: guix-git/doc/guix.texi:22681
  33592. msgid "original subject"
  33593. msgstr ""
  33594. #. type: item
  33595. #: guix-git/doc/guix.texi:22681
  33596. #, no-wrap
  33597. msgid "%t"
  33598. msgstr ""
  33599. #. type: table
  33600. #: guix-git/doc/guix.texi:22683
  33601. msgid "recipient"
  33602. msgstr ""
  33603. #. type: deftypevr
  33604. #: guix-git/doc/guix.texi:22685
  33605. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  33606. msgstr ""
  33607. #. type: deftypevr
  33608. #: guix-git/doc/guix.texi:22687
  33609. #, no-wrap
  33610. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  33611. msgstr ""
  33612. #. type: deftypevr
  33613. #: guix-git/doc/guix.texi:22691
  33614. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  33615. msgstr ""
  33616. #. type: deftypevr
  33617. #: guix-git/doc/guix.texi:22693
  33618. #, no-wrap
  33619. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  33620. msgstr ""
  33621. #. type: deftypevr
  33622. #: guix-git/doc/guix.texi:22699
  33623. 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{\"\"}."
  33624. msgstr ""
  33625. #. type: deftypevr
  33626. #: guix-git/doc/guix.texi:22701
  33627. #, no-wrap
  33628. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  33629. msgstr ""
  33630. #. type: deftypevr
  33631. #: guix-git/doc/guix.texi:22705
  33632. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  33633. msgstr ""
  33634. #. type: deftypevr
  33635. #: guix-git/doc/guix.texi:22707
  33636. #, no-wrap
  33637. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  33638. msgstr ""
  33639. #. type: deftypevr
  33640. #: guix-git/doc/guix.texi:22711
  33641. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  33642. msgstr ""
  33643. #. type: deftypevr
  33644. #: guix-git/doc/guix.texi:22713
  33645. #, no-wrap
  33646. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  33647. msgstr ""
  33648. #. type: deftypevr
  33649. #: guix-git/doc/guix.texi:22719
  33650. 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}."
  33651. msgstr ""
  33652. #. type: deftypevr
  33653. #: guix-git/doc/guix.texi:22721
  33654. #, no-wrap
  33655. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  33656. msgstr ""
  33657. #. type: deftypevr
  33658. #: guix-git/doc/guix.texi:22723
  33659. msgid "IMAP logout format string:"
  33660. msgstr ""
  33661. #. type: item
  33662. #: guix-git/doc/guix.texi:22724
  33663. #, no-wrap
  33664. msgid "%i"
  33665. msgstr ""
  33666. #. type: table
  33667. #: guix-git/doc/guix.texi:22726
  33668. msgid "total number of bytes read from client"
  33669. msgstr ""
  33670. #. type: item
  33671. #: guix-git/doc/guix.texi:22726
  33672. #, no-wrap
  33673. msgid "%o"
  33674. msgstr ""
  33675. #. type: table
  33676. #: guix-git/doc/guix.texi:22728
  33677. msgid "total number of bytes sent to client."
  33678. msgstr ""
  33679. #. type: deftypevr
  33680. #: guix-git/doc/guix.texi:22731
  33681. 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@}\"}."
  33682. msgstr ""
  33683. #. type: deftypevr
  33684. #: guix-git/doc/guix.texi:22733
  33685. #, no-wrap
  33686. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  33687. msgstr ""
  33688. #. type: deftypevr
  33689. #: guix-git/doc/guix.texi:22737
  33690. 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{\"\"}."
  33691. msgstr ""
  33692. #. type: deftypevr
  33693. #: guix-git/doc/guix.texi:22739
  33694. #, no-wrap
  33695. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  33696. msgstr ""
  33697. #. type: deftypevr
  33698. #: guix-git/doc/guix.texi:22743
  33699. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  33700. msgstr ""
  33701. #. type: deftypevr
  33702. #: guix-git/doc/guix.texi:22745
  33703. #, no-wrap
  33704. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  33705. msgstr ""
  33706. #. type: deftypevr
  33707. #: guix-git/doc/guix.texi:22751
  33708. 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{\"\"}."
  33709. msgstr ""
  33710. #. type: deftypevr
  33711. #: guix-git/doc/guix.texi:22753
  33712. #, no-wrap
  33713. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  33714. msgstr ""
  33715. #. type: deftypevr
  33716. #: guix-git/doc/guix.texi:22756
  33717. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  33718. msgstr ""
  33719. #. type: deftypevr
  33720. #: guix-git/doc/guix.texi:22758
  33721. #, no-wrap
  33722. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  33723. msgstr ""
  33724. #. type: deftypevr
  33725. #: guix-git/doc/guix.texi:22760
  33726. msgid "Workarounds for various client bugs:"
  33727. msgstr ""
  33728. #. type: item
  33729. #: guix-git/doc/guix.texi:22762
  33730. #, no-wrap
  33731. msgid "delay-newmail"
  33732. msgstr ""
  33733. #. type: table
  33734. #: guix-git/doc/guix.texi:22769
  33735. 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\"."
  33736. msgstr ""
  33737. #. type: item
  33738. #: guix-git/doc/guix.texi:22770
  33739. #, no-wrap
  33740. msgid "tb-extra-mailbox-sep"
  33741. msgstr ""
  33742. #. type: table
  33743. #: guix-git/doc/guix.texi:22774
  33744. 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."
  33745. msgstr ""
  33746. #. type: item
  33747. #: guix-git/doc/guix.texi:22775
  33748. #, no-wrap
  33749. msgid "tb-lsub-flags"
  33750. msgstr ""
  33751. #. type: table
  33752. #: guix-git/doc/guix.texi:22779
  33753. 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."
  33754. msgstr ""
  33755. #. type: deftypevr
  33756. #: guix-git/doc/guix.texi:22783
  33757. #, no-wrap
  33758. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  33759. msgstr ""
  33760. #. type: deftypevr
  33761. #: guix-git/doc/guix.texi:22786
  33762. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  33763. msgstr ""
  33764. #. type: Plain text
  33765. #: guix-git/doc/guix.texi:22794
  33766. 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."
  33767. msgstr ""
  33768. #. type: Plain text
  33769. #: guix-git/doc/guix.texi:22800
  33770. 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."
  33771. msgstr ""
  33772. #. type: Plain text
  33773. #: guix-git/doc/guix.texi:22802
  33774. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  33775. msgstr ""
  33776. #. type: deftypevr
  33777. #: guix-git/doc/guix.texi:22803
  33778. #, no-wrap
  33779. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  33780. msgstr ""
  33781. #. type: deftypevr
  33782. #: guix-git/doc/guix.texi:22807
  33783. #, no-wrap
  33784. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  33785. msgstr ""
  33786. #. type: deftypevr
  33787. #: guix-git/doc/guix.texi:22809
  33788. msgid "The contents of the @code{dovecot.conf}, as a string."
  33789. msgstr ""
  33790. #. type: Plain text
  33791. #: guix-git/doc/guix.texi:22813
  33792. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  33793. msgstr ""
  33794. #. type: lisp
  33795. #: guix-git/doc/guix.texi:22818
  33796. #, no-wrap
  33797. msgid ""
  33798. "(dovecot-service #:config\n"
  33799. " (opaque-dovecot-configuration\n"
  33800. " (string \"\")))\n"
  33801. msgstr ""
  33802. #. type: subsubheading
  33803. #: guix-git/doc/guix.texi:22820
  33804. #, no-wrap
  33805. msgid "OpenSMTPD Service"
  33806. msgstr ""
  33807. #. type: deffn
  33808. #: guix-git/doc/guix.texi:22822
  33809. #, no-wrap
  33810. msgid "{Scheme Variable} opensmtpd-service-type"
  33811. msgstr ""
  33812. #. type: deffn
  33813. #: guix-git/doc/guix.texi:22826
  33814. 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:"
  33815. msgstr ""
  33816. #. type: lisp
  33817. #: guix-git/doc/guix.texi:22831
  33818. #, no-wrap
  33819. msgid ""
  33820. "(service opensmtpd-service-type\n"
  33821. " (opensmtpd-configuration\n"
  33822. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  33823. msgstr ""
  33824. #. type: deftp
  33825. #: guix-git/doc/guix.texi:22834
  33826. #, no-wrap
  33827. msgid "{Data Type} opensmtpd-configuration"
  33828. msgstr ""
  33829. #. type: deftp
  33830. #: guix-git/doc/guix.texi:22836
  33831. msgid "Data type representing the configuration of opensmtpd."
  33832. msgstr ""
  33833. #. type: item
  33834. #: guix-git/doc/guix.texi:22838
  33835. #, no-wrap
  33836. msgid "@code{package} (default: @var{opensmtpd})"
  33837. msgstr ""
  33838. #. type: table
  33839. #: guix-git/doc/guix.texi:22840
  33840. msgid "Package object of the OpenSMTPD SMTP server."
  33841. msgstr ""
  33842. #. type: item
  33843. #: guix-git/doc/guix.texi:22841
  33844. #, no-wrap
  33845. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  33846. msgstr ""
  33847. #. type: table
  33848. #: guix-git/doc/guix.texi:22846
  33849. 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."
  33850. msgstr ""
  33851. #. type: subsubheading
  33852. #: guix-git/doc/guix.texi:22850
  33853. #, no-wrap
  33854. msgid "Exim Service"
  33855. msgstr ""
  33856. #. type: cindex
  33857. #: guix-git/doc/guix.texi:22852
  33858. #, no-wrap
  33859. msgid "mail transfer agent (MTA)"
  33860. msgstr ""
  33861. #. type: cindex
  33862. #: guix-git/doc/guix.texi:22853
  33863. #, no-wrap
  33864. msgid "MTA (mail transfer agent)"
  33865. msgstr ""
  33866. #. type: cindex
  33867. #: guix-git/doc/guix.texi:22854
  33868. #, no-wrap
  33869. msgid "SMTP"
  33870. msgstr ""
  33871. #. type: deffn
  33872. #: guix-git/doc/guix.texi:22856
  33873. #, no-wrap
  33874. msgid "{Scheme Variable} exim-service-type"
  33875. msgstr ""
  33876. #. type: deffn
  33877. #: guix-git/doc/guix.texi:22860
  33878. 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:"
  33879. msgstr ""
  33880. #. type: lisp
  33881. #: guix-git/doc/guix.texi:22865
  33882. #, no-wrap
  33883. msgid ""
  33884. "(service exim-service-type\n"
  33885. " (exim-configuration\n"
  33886. " (config-file (local-file \"./my-exim.conf\"))))\n"
  33887. msgstr ""
  33888. #. type: Plain text
  33889. #: guix-git/doc/guix.texi:22871
  33890. 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)."
  33891. msgstr ""
  33892. #. type: deftp
  33893. #: guix-git/doc/guix.texi:22872
  33894. #, no-wrap
  33895. msgid "{Data Type} exim-configuration"
  33896. msgstr ""
  33897. #. type: deftp
  33898. #: guix-git/doc/guix.texi:22874
  33899. msgid "Data type representing the configuration of exim."
  33900. msgstr ""
  33901. #. type: item
  33902. #: guix-git/doc/guix.texi:22876
  33903. #, no-wrap
  33904. msgid "@code{package} (default: @var{exim})"
  33905. msgstr ""
  33906. #. type: table
  33907. #: guix-git/doc/guix.texi:22878
  33908. msgid "Package object of the Exim server."
  33909. msgstr ""
  33910. #. type: table
  33911. #: guix-git/doc/guix.texi:22885
  33912. 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."
  33913. msgstr ""
  33914. #. type: subsubheading
  33915. #: guix-git/doc/guix.texi:22889
  33916. #, no-wrap
  33917. msgid "Getmail service"
  33918. msgstr ""
  33919. #. type: cindex
  33920. #: guix-git/doc/guix.texi:22891
  33921. #, no-wrap
  33922. msgid "IMAP"
  33923. msgstr ""
  33924. #. type: cindex
  33925. #: guix-git/doc/guix.texi:22892
  33926. #, no-wrap
  33927. msgid "POP"
  33928. msgstr ""
  33929. #. type: deffn
  33930. #: guix-git/doc/guix.texi:22894
  33931. #, no-wrap
  33932. msgid "{Scheme Variable} getmail-service-type"
  33933. msgstr ""
  33934. #. type: deffn
  33935. #: guix-git/doc/guix.texi:22897
  33936. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  33937. msgstr ""
  33938. #. type: Plain text
  33939. #: guix-git/doc/guix.texi:22900
  33940. msgid "Available @code{getmail-configuration} fields are:"
  33941. msgstr ""
  33942. #. type: deftypevr
  33943. #: guix-git/doc/guix.texi:22901
  33944. #, no-wrap
  33945. msgid "{@code{getmail-configuration} parameter} symbol name"
  33946. msgstr ""
  33947. #. type: deftypevr
  33948. #: guix-git/doc/guix.texi:22903
  33949. msgid "A symbol to identify the getmail service."
  33950. msgstr ""
  33951. #. type: deftypevr
  33952. #: guix-git/doc/guix.texi:22905
  33953. msgid "Defaults to @samp{\"unset\"}."
  33954. msgstr ""
  33955. #. type: deftypevr
  33956. #: guix-git/doc/guix.texi:22908
  33957. #, no-wrap
  33958. msgid "{@code{getmail-configuration} parameter} package package"
  33959. msgstr ""
  33960. #. type: deftypevr
  33961. #: guix-git/doc/guix.texi:22910
  33962. msgid "The getmail package to use."
  33963. msgstr ""
  33964. #. type: deftypevr
  33965. #: guix-git/doc/guix.texi:22913
  33966. #, no-wrap
  33967. msgid "{@code{getmail-configuration} parameter} string user"
  33968. msgstr ""
  33969. #. type: deftypevr
  33970. #: guix-git/doc/guix.texi:22915
  33971. msgid "The user to run getmail as."
  33972. msgstr ""
  33973. #. type: deftypevr
  33974. #: guix-git/doc/guix.texi:22917 guix-git/doc/guix.texi:22924
  33975. msgid "Defaults to @samp{\"getmail\"}."
  33976. msgstr ""
  33977. #. type: deftypevr
  33978. #: guix-git/doc/guix.texi:22920
  33979. #, no-wrap
  33980. msgid "{@code{getmail-configuration} parameter} string group"
  33981. msgstr ""
  33982. #. type: deftypevr
  33983. #: guix-git/doc/guix.texi:22922
  33984. msgid "The group to run getmail as."
  33985. msgstr ""
  33986. #. type: deftypevr
  33987. #: guix-git/doc/guix.texi:22927
  33988. #, no-wrap
  33989. msgid "{@code{getmail-configuration} parameter} string directory"
  33990. msgstr ""
  33991. #. type: deftypevr
  33992. #: guix-git/doc/guix.texi:22929
  33993. msgid "The getmail directory to use."
  33994. msgstr ""
  33995. #. type: deftypevr
  33996. #: guix-git/doc/guix.texi:22931
  33997. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  33998. msgstr ""
  33999. #. type: deftypevr
  34000. #: guix-git/doc/guix.texi:22934
  34001. #, no-wrap
  34002. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  34003. msgstr ""
  34004. #. type: deftypevr
  34005. #: guix-git/doc/guix.texi:22936
  34006. msgid "The getmail configuration file to use."
  34007. msgstr ""
  34008. #. type: deftypevr
  34009. #: guix-git/doc/guix.texi:22938
  34010. msgid "Available @code{getmail-configuration-file} fields are:"
  34011. msgstr ""
  34012. #. type: deftypevr
  34013. #: guix-git/doc/guix.texi:22939
  34014. #, no-wrap
  34015. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  34016. msgstr ""
  34017. #. type: deftypevr
  34018. #: guix-git/doc/guix.texi:22941
  34019. msgid "What mail account to retrieve mail from, and how to access that account."
  34020. msgstr ""
  34021. #. type: deftypevr
  34022. #: guix-git/doc/guix.texi:22943
  34023. msgid "Available @code{getmail-retriever-configuration} fields are:"
  34024. msgstr ""
  34025. #. type: deftypevr
  34026. #: guix-git/doc/guix.texi:22944
  34027. #, no-wrap
  34028. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  34029. msgstr ""
  34030. #. type: deftypevr
  34031. #: guix-git/doc/guix.texi:22947
  34032. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  34033. msgstr ""
  34034. #. type: deftypevr
  34035. #: guix-git/doc/guix.texi:22949
  34036. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  34037. msgstr ""
  34038. #. type: deftypevr
  34039. #: guix-git/doc/guix.texi:22952
  34040. #, no-wrap
  34041. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  34042. msgstr ""
  34043. #. type: deftypevr
  34044. #: guix-git/doc/guix.texi:22954 guix-git/doc/guix.texi:22961
  34045. msgid "Username to login to the mail server with."
  34046. msgstr ""
  34047. #. type: deftypevr
  34048. #: guix-git/doc/guix.texi:22956 guix-git/doc/guix.texi:22963
  34049. #: guix-git/doc/guix.texi:23027
  34050. msgid "Defaults to @samp{unset}."
  34051. msgstr ""
  34052. #. type: deftypevr
  34053. #: guix-git/doc/guix.texi:22959
  34054. #, no-wrap
  34055. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  34056. msgstr ""
  34057. #. type: deftypevr
  34058. #: guix-git/doc/guix.texi:22966
  34059. #, no-wrap
  34060. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  34061. msgstr ""
  34062. #. type: deftypevr
  34063. #: guix-git/doc/guix.texi:22968
  34064. msgid "Port number to connect to."
  34065. msgstr ""
  34066. #. type: deftypevr
  34067. #: guix-git/doc/guix.texi:22973
  34068. #, no-wrap
  34069. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  34070. msgstr ""
  34071. #. type: deftypevr
  34072. #: guix-git/doc/guix.texi:22975 guix-git/doc/guix.texi:22982
  34073. msgid "Override fields from passwd."
  34074. msgstr ""
  34075. #. type: deftypevr
  34076. #: guix-git/doc/guix.texi:22980
  34077. #, no-wrap
  34078. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  34079. msgstr ""
  34080. #. type: deftypevr
  34081. #: guix-git/doc/guix.texi:22987
  34082. #, no-wrap
  34083. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  34084. msgstr ""
  34085. #. type: deftypevr
  34086. #: guix-git/doc/guix.texi:22989
  34087. msgid "PEM-formatted key file to use for the TLS negotiation."
  34088. msgstr ""
  34089. #. type: deftypevr
  34090. #: guix-git/doc/guix.texi:22994
  34091. #, no-wrap
  34092. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  34093. msgstr ""
  34094. #. type: deftypevr
  34095. #: guix-git/doc/guix.texi:22996
  34096. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  34097. msgstr ""
  34098. #. type: deftypevr
  34099. #: guix-git/doc/guix.texi:23001
  34100. #, no-wrap
  34101. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  34102. msgstr ""
  34103. #. type: deftypevr
  34104. #: guix-git/doc/guix.texi:23003
  34105. msgid "CA certificates to use."
  34106. msgstr ""
  34107. #. type: deftypevr
  34108. #: guix-git/doc/guix.texi:23008
  34109. #, no-wrap
  34110. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  34111. msgstr ""
  34112. #. type: deftypevr
  34113. #: guix-git/doc/guix.texi:23010
  34114. msgid "Extra retriever parameters."
  34115. msgstr ""
  34116. #. type: deftypevr
  34117. #: guix-git/doc/guix.texi:23017
  34118. #, no-wrap
  34119. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  34120. msgstr ""
  34121. #. type: deftypevr
  34122. #: guix-git/doc/guix.texi:23019
  34123. msgid "What to do with retrieved messages."
  34124. msgstr ""
  34125. #. type: deftypevr
  34126. #: guix-git/doc/guix.texi:23021
  34127. msgid "Available @code{getmail-destination-configuration} fields are:"
  34128. msgstr ""
  34129. #. type: deftypevr
  34130. #: guix-git/doc/guix.texi:23022
  34131. #, no-wrap
  34132. msgid "{@code{getmail-destination-configuration} parameter} string type"
  34133. msgstr ""
  34134. #. type: deftypevr
  34135. #: guix-git/doc/guix.texi:23025
  34136. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  34137. msgstr ""
  34138. #. type: deftypevr
  34139. #: guix-git/doc/guix.texi:23030
  34140. #, no-wrap
  34141. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  34142. msgstr ""
  34143. #. type: deftypevr
  34144. #: guix-git/doc/guix.texi:23033
  34145. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  34146. msgstr ""
  34147. #. type: deftypevr
  34148. #: guix-git/doc/guix.texi:23038
  34149. #, no-wrap
  34150. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  34151. msgstr ""
  34152. #. type: deftypevr
  34153. #: guix-git/doc/guix.texi:23040
  34154. msgid "Extra destination parameters"
  34155. msgstr ""
  34156. #. type: deftypevr
  34157. #: guix-git/doc/guix.texi:23047
  34158. #, no-wrap
  34159. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  34160. msgstr ""
  34161. #. type: deftypevr
  34162. #: guix-git/doc/guix.texi:23049
  34163. msgid "Configure getmail."
  34164. msgstr ""
  34165. #. type: deftypevr
  34166. #: guix-git/doc/guix.texi:23051
  34167. msgid "Available @code{getmail-options-configuration} fields are:"
  34168. msgstr ""
  34169. #. type: deftypevr
  34170. #: guix-git/doc/guix.texi:23052
  34171. #, no-wrap
  34172. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  34173. msgstr ""
  34174. #. type: deftypevr
  34175. #: guix-git/doc/guix.texi:23057
  34176. 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 its actions."
  34177. msgstr ""
  34178. #. type: deftypevr
  34179. #: guix-git/doc/guix.texi:23059 guix-git/doc/guix.texi:29641
  34180. #: guix-git/doc/guix.texi:30229 guix-git/doc/guix.texi:30374
  34181. msgid "Defaults to @samp{1}."
  34182. msgstr ""
  34183. #. type: deftypevr
  34184. #: guix-git/doc/guix.texi:23062
  34185. #, no-wrap
  34186. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  34187. msgstr ""
  34188. #. type: deftypevr
  34189. #: guix-git/doc/guix.texi:23065
  34190. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  34191. msgstr ""
  34192. #. type: deftypevr
  34193. #: guix-git/doc/guix.texi:23070
  34194. #, no-wrap
  34195. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  34196. msgstr ""
  34197. #. type: deftypevr
  34198. #: guix-git/doc/guix.texi:23074
  34199. 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."
  34200. msgstr ""
  34201. #. type: deftypevr
  34202. #: guix-git/doc/guix.texi:23079
  34203. #, no-wrap
  34204. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  34205. msgstr ""
  34206. #. type: deftypevr
  34207. #: guix-git/doc/guix.texi:23084
  34208. 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."
  34209. msgstr ""
  34210. #. type: deftypevr
  34211. #: guix-git/doc/guix.texi:23089
  34212. #, no-wrap
  34213. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  34214. msgstr ""
  34215. #. type: deftypevr
  34216. #: guix-git/doc/guix.texi:23093
  34217. 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."
  34218. msgstr ""
  34219. #. type: deftypevr
  34220. #: guix-git/doc/guix.texi:23098
  34221. #, no-wrap
  34222. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  34223. msgstr ""
  34224. #. type: deftypevr
  34225. #: guix-git/doc/guix.texi:23101
  34226. 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."
  34227. msgstr ""
  34228. #. type: deftypevr
  34229. #: guix-git/doc/guix.texi:23106
  34230. #, no-wrap
  34231. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  34232. msgstr ""
  34233. #. type: deftypevr
  34234. #: guix-git/doc/guix.texi:23109
  34235. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  34236. msgstr ""
  34237. #. type: deftypevr
  34238. #: guix-git/doc/guix.texi:23114
  34239. #, no-wrap
  34240. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  34241. msgstr ""
  34242. #. type: deftypevr
  34243. #: guix-git/doc/guix.texi:23116
  34244. msgid "If true, getmail will add a Delivered-To header to messages."
  34245. msgstr ""
  34246. #. type: deftypevr
  34247. #: guix-git/doc/guix.texi:23121
  34248. #, no-wrap
  34249. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  34250. msgstr ""
  34251. #. type: deftypevr
  34252. #: guix-git/doc/guix.texi:23123
  34253. msgid "If set, getmail adds a Received header to the messages."
  34254. msgstr ""
  34255. #. type: deftypevr
  34256. #: guix-git/doc/guix.texi:23128
  34257. #, no-wrap
  34258. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  34259. msgstr ""
  34260. #. type: deftypevr
  34261. #: guix-git/doc/guix.texi:23131
  34262. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  34263. msgstr ""
  34264. #. type: deftypevr
  34265. #: guix-git/doc/guix.texi:23136
  34266. #, no-wrap
  34267. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  34268. msgstr ""
  34269. #. type: deftypevr
  34270. #: guix-git/doc/guix.texi:23139
  34271. msgid "If true, getmail will record a log of its actions using the system logger."
  34272. msgstr ""
  34273. #. type: deftypevr
  34274. #: guix-git/doc/guix.texi:23144
  34275. #, no-wrap
  34276. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  34277. msgstr ""
  34278. #. type: deftypevr
  34279. #: guix-git/doc/guix.texi:23148
  34280. 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."
  34281. msgstr ""
  34282. #. type: deftypevr
  34283. #: guix-git/doc/guix.texi:23153
  34284. #, no-wrap
  34285. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  34286. msgstr ""
  34287. #. type: deftypevr
  34288. #: guix-git/doc/guix.texi:23155
  34289. msgid "Extra options to include."
  34290. msgstr ""
  34291. #. type: deftypevr
  34292. #: guix-git/doc/guix.texi:23164
  34293. #, no-wrap
  34294. msgid "{@code{getmail-configuration} parameter} list idle"
  34295. msgstr ""
  34296. #. type: deftypevr
  34297. #: guix-git/doc/guix.texi:23168
  34298. 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."
  34299. msgstr ""
  34300. #. type: deftypevr
  34301. #: guix-git/doc/guix.texi:23173
  34302. #, no-wrap
  34303. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  34304. msgstr ""
  34305. #. type: deftypevr
  34306. #: guix-git/doc/guix.texi:23175
  34307. msgid "Environment variables to set for getmail."
  34308. msgstr ""
  34309. #. type: subsubheading
  34310. #: guix-git/doc/guix.texi:23180
  34311. #, no-wrap
  34312. msgid "Mail Aliases Service"
  34313. msgstr ""
  34314. #. type: cindex
  34315. #: guix-git/doc/guix.texi:23182
  34316. #, no-wrap
  34317. msgid "email aliases"
  34318. msgstr ""
  34319. #. type: cindex
  34320. #: guix-git/doc/guix.texi:23183
  34321. #, no-wrap
  34322. msgid "aliases, for email addresses"
  34323. msgstr ""
  34324. #. type: deffn
  34325. #: guix-git/doc/guix.texi:23185
  34326. #, no-wrap
  34327. msgid "{Scheme Variable} mail-aliases-service-type"
  34328. msgstr ""
  34329. #. type: deffn
  34330. #: guix-git/doc/guix.texi:23188
  34331. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  34332. msgstr ""
  34333. #. type: lisp
  34334. #: guix-git/doc/guix.texi:23193
  34335. #, no-wrap
  34336. msgid ""
  34337. "(service mail-aliases-service-type\n"
  34338. " '((\"postmaster\" \"bob\")\n"
  34339. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  34340. msgstr ""
  34341. #. type: Plain text
  34342. #: guix-git/doc/guix.texi:23201
  34343. 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."
  34344. msgstr ""
  34345. #. type: Plain text
  34346. #: guix-git/doc/guix.texi:23207
  34347. 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})."
  34348. msgstr ""
  34349. #. type: cindex
  34350. #: guix-git/doc/guix.texi:23208 guix-git/doc/guix.texi:23209
  34351. #, no-wrap
  34352. msgid "GNU Mailutils IMAP4 Daemon"
  34353. msgstr ""
  34354. #. type: deffn
  34355. #: guix-git/doc/guix.texi:23211
  34356. #, no-wrap
  34357. msgid "{Scheme Variable} imap4d-service-type"
  34358. msgstr ""
  34359. #. type: deffn
  34360. #: guix-git/doc/guix.texi:23215
  34361. 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:"
  34362. msgstr ""
  34363. #. type: lisp
  34364. #: guix-git/doc/guix.texi:23220
  34365. #, no-wrap
  34366. msgid ""
  34367. "(service imap4d-service-type\n"
  34368. " (imap4d-configuration\n"
  34369. " (config-file (local-file \"imap4d.conf\"))))\n"
  34370. msgstr ""
  34371. #. type: deftp
  34372. #: guix-git/doc/guix.texi:23223
  34373. #, no-wrap
  34374. msgid "{Data Type} imap4d-configuration"
  34375. msgstr ""
  34376. #. type: deftp
  34377. #: guix-git/doc/guix.texi:23225
  34378. msgid "Data type representing the configuration of @command{imap4d}."
  34379. msgstr ""
  34380. #. type: item
  34381. #: guix-git/doc/guix.texi:23227
  34382. #, no-wrap
  34383. msgid "@code{package} (default: @code{mailutils})"
  34384. msgstr ""
  34385. #. type: table
  34386. #: guix-git/doc/guix.texi:23229
  34387. msgid "The package that provides @command{imap4d}."
  34388. msgstr ""
  34389. #. type: item
  34390. #: guix-git/doc/guix.texi:23230
  34391. #, no-wrap
  34392. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  34393. msgstr ""
  34394. #. type: table
  34395. #: guix-git/doc/guix.texi:23234
  34396. 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."
  34397. msgstr ""
  34398. #. type: subsubheading
  34399. #: guix-git/doc/guix.texi:23238
  34400. #, no-wrap
  34401. msgid "Radicale Service"
  34402. msgstr ""
  34403. #. type: cindex
  34404. #: guix-git/doc/guix.texi:23239
  34405. #, no-wrap
  34406. msgid "CalDAV"
  34407. msgstr ""
  34408. #. type: cindex
  34409. #: guix-git/doc/guix.texi:23240
  34410. #, no-wrap
  34411. msgid "CardDAV"
  34412. msgstr ""
  34413. #. type: deffn
  34414. #: guix-git/doc/guix.texi:23242
  34415. #, no-wrap
  34416. msgid "{Scheme Variable} radicale-service-type"
  34417. msgstr ""
  34418. #. type: deffn
  34419. #: guix-git/doc/guix.texi:23245
  34420. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  34421. msgstr ""
  34422. #. type: deftp
  34423. #: guix-git/doc/guix.texi:23247
  34424. #, no-wrap
  34425. msgid "{Data Type} radicale-configuration"
  34426. msgstr ""
  34427. #. type: deftp
  34428. #: guix-git/doc/guix.texi:23249
  34429. msgid "Data type representing the configuration of @command{radicale}."
  34430. msgstr ""
  34431. #. type: item
  34432. #: guix-git/doc/guix.texi:23251
  34433. #, no-wrap
  34434. msgid "@code{package} (default: @code{radicale})"
  34435. msgstr ""
  34436. #. type: table
  34437. #: guix-git/doc/guix.texi:23253
  34438. msgid "The package that provides @command{radicale}."
  34439. msgstr ""
  34440. #. type: item
  34441. #: guix-git/doc/guix.texi:23254
  34442. #, no-wrap
  34443. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  34444. msgstr ""
  34445. #. type: table
  34446. #: guix-git/doc/guix.texi:23258
  34447. 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."
  34448. msgstr ""
  34449. #. type: cindex
  34450. #: guix-git/doc/guix.texi:23265
  34451. #, no-wrap
  34452. msgid "messaging"
  34453. msgstr ""
  34454. #. type: cindex
  34455. #: guix-git/doc/guix.texi:23266
  34456. #, no-wrap
  34457. msgid "jabber"
  34458. msgstr ""
  34459. #. type: cindex
  34460. #: guix-git/doc/guix.texi:23267
  34461. #, no-wrap
  34462. msgid "XMPP"
  34463. msgstr ""
  34464. #. type: Plain text
  34465. #: guix-git/doc/guix.texi:23271
  34466. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  34467. msgstr ""
  34468. #. type: subsubheading
  34469. #: guix-git/doc/guix.texi:23272
  34470. #, no-wrap
  34471. msgid "Prosody Service"
  34472. msgstr ""
  34473. #. type: deffn
  34474. #: guix-git/doc/guix.texi:23274
  34475. #, no-wrap
  34476. msgid "{Scheme Variable} prosody-service-type"
  34477. msgstr ""
  34478. #. type: deffn
  34479. #: guix-git/doc/guix.texi:23278
  34480. 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:"
  34481. msgstr ""
  34482. #. type: lisp
  34483. #: guix-git/doc/guix.texi:23293
  34484. #, no-wrap
  34485. msgid ""
  34486. "(service prosody-service-type\n"
  34487. " (prosody-configuration\n"
  34488. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  34489. " (int-components\n"
  34490. " (list\n"
  34491. " (int-component-configuration\n"
  34492. " (hostname \"conference.example.net\")\n"
  34493. " (plugin \"muc\")\n"
  34494. " (mod-muc (mod-muc-configuration)))))\n"
  34495. " (virtualhosts\n"
  34496. " (list\n"
  34497. " (virtualhost-configuration\n"
  34498. " (domain \"example.net\"))))))\n"
  34499. msgstr ""
  34500. #. type: deffn
  34501. #: guix-git/doc/guix.texi:23296
  34502. msgid "See below for details about @code{prosody-configuration}."
  34503. msgstr ""
  34504. #. type: Plain text
  34505. #: guix-git/doc/guix.texi:23302
  34506. 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."
  34507. msgstr ""
  34508. #. type: Plain text
  34509. #: guix-git/doc/guix.texi:23305
  34510. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  34511. msgstr ""
  34512. #. type: Plain text
  34513. #: guix-git/doc/guix.texi:23309
  34514. 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}."
  34515. msgstr ""
  34516. #. type: example
  34517. #: guix-git/doc/guix.texi:23312
  34518. #, no-wrap
  34519. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  34520. msgstr ""
  34521. #. type: Plain text
  34522. #: guix-git/doc/guix.texi:23319
  34523. 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}."
  34524. msgstr ""
  34525. #. type: Plain text
  34526. #: guix-git/doc/guix.texi:23323
  34527. 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."
  34528. msgstr ""
  34529. #. type: Plain text
  34530. #: guix-git/doc/guix.texi:23326
  34531. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  34532. msgstr ""
  34533. #. type: Plain text
  34534. #: guix-git/doc/guix.texi:23336
  34535. msgid "Available @code{prosody-configuration} fields are:"
  34536. msgstr ""
  34537. #. type: deftypevr
  34538. #: guix-git/doc/guix.texi:23337
  34539. #, no-wrap
  34540. msgid "{@code{prosody-configuration} parameter} package prosody"
  34541. msgstr ""
  34542. #. type: deftypevr
  34543. #: guix-git/doc/guix.texi:23339
  34544. msgid "The Prosody package."
  34545. msgstr ""
  34546. #. type: deftypevr
  34547. #: guix-git/doc/guix.texi:23341
  34548. #, no-wrap
  34549. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  34550. msgstr ""
  34551. #. type: deftypevr
  34552. #: guix-git/doc/guix.texi:23345
  34553. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  34554. msgstr ""
  34555. #. type: deftypevr
  34556. #: guix-git/doc/guix.texi:23347
  34557. #, no-wrap
  34558. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  34559. msgstr ""
  34560. #. type: deftypevr
  34561. #: guix-git/doc/guix.texi:23351
  34562. 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{()}."
  34563. msgstr ""
  34564. #. type: deftypevr
  34565. #: guix-git/doc/guix.texi:23353
  34566. #, no-wrap
  34567. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  34568. msgstr ""
  34569. #. type: deftypevr
  34570. #: guix-git/doc/guix.texi:23358
  34571. 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\"}."
  34572. msgstr ""
  34573. #. type: deftypevr
  34574. #: guix-git/doc/guix.texi:23360
  34575. #, no-wrap
  34576. msgid "{@code{prosody-configuration} parameter} string-list admins"
  34577. msgstr ""
  34578. #. type: deftypevr
  34579. #: guix-git/doc/guix.texi:23366
  34580. 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{()}."
  34581. msgstr ""
  34582. #. type: deftypevr
  34583. #: guix-git/doc/guix.texi:23368
  34584. #, no-wrap
  34585. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  34586. msgstr ""
  34587. #. type: deftypevr
  34588. #: guix-git/doc/guix.texi:23372
  34589. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  34590. msgstr ""
  34591. #. type: deftypevr
  34592. #: guix-git/doc/guix.texi:23374
  34593. #, no-wrap
  34594. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  34595. msgstr ""
  34596. #. type: deftypevr
  34597. #: guix-git/doc/guix.texi:23380
  34598. 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\")}."
  34599. msgstr ""
  34600. #. type: deftypevr
  34601. #: guix-git/doc/guix.texi:23382
  34602. #, no-wrap
  34603. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  34604. msgstr ""
  34605. #. type: deftypevr
  34606. #: guix-git/doc/guix.texi:23386
  34607. 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{()}."
  34608. msgstr ""
  34609. #. type: deftypevr
  34610. #: guix-git/doc/guix.texi:23388
  34611. #, no-wrap
  34612. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  34613. msgstr ""
  34614. #. type: deftypevr
  34615. #: guix-git/doc/guix.texi:23393
  34616. 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\"}."
  34617. msgstr ""
  34618. #. type: deftypevr
  34619. #: guix-git/doc/guix.texi:23395
  34620. #, no-wrap
  34621. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  34622. msgstr ""
  34623. #. type: deftypevr
  34624. #: guix-git/doc/guix.texi:23399
  34625. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  34626. msgstr ""
  34627. #. type: deftypevr
  34628. #: guix-git/doc/guix.texi:23401
  34629. #, no-wrap
  34630. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  34631. msgstr ""
  34632. #. type: deftypevr
  34633. #: guix-git/doc/guix.texi:23406
  34634. 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}."
  34635. msgstr ""
  34636. #. type: deftypevr
  34637. #: guix-git/doc/guix.texi:23408
  34638. msgid "Available @code{ssl-configuration} fields are:"
  34639. msgstr ""
  34640. #. type: deftypevr
  34641. #: guix-git/doc/guix.texi:23409
  34642. #, no-wrap
  34643. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  34644. msgstr ""
  34645. #. type: deftypevr
  34646. #: guix-git/doc/guix.texi:23411
  34647. msgid "This determines what handshake to use."
  34648. msgstr ""
  34649. #. type: deftypevr
  34650. #: guix-git/doc/guix.texi:23413
  34651. #, no-wrap
  34652. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  34653. msgstr ""
  34654. #. type: deftypevr
  34655. #: guix-git/doc/guix.texi:23415
  34656. msgid "Path to your private key file."
  34657. msgstr ""
  34658. #. type: deftypevr
  34659. #: guix-git/doc/guix.texi:23417
  34660. #, no-wrap
  34661. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  34662. msgstr ""
  34663. #. type: deftypevr
  34664. #: guix-git/doc/guix.texi:23419
  34665. msgid "Path to your certificate file."
  34666. msgstr ""
  34667. #. type: deftypevr
  34668. #: guix-git/doc/guix.texi:23421
  34669. #, no-wrap
  34670. msgid "{@code{ssl-configuration} parameter} file-object capath"
  34671. msgstr ""
  34672. #. type: deftypevr
  34673. #: guix-git/doc/guix.texi:23425
  34674. 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\"}."
  34675. msgstr ""
  34676. #. type: deftypevr
  34677. #: guix-git/doc/guix.texi:23427
  34678. #, no-wrap
  34679. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  34680. msgstr ""
  34681. #. type: deftypevr
  34682. #: guix-git/doc/guix.texi:23430
  34683. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  34684. msgstr ""
  34685. #. type: deftypevr
  34686. #: guix-git/doc/guix.texi:23432
  34687. #, no-wrap
  34688. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  34689. msgstr ""
  34690. #. type: deftypevr
  34691. #: guix-git/doc/guix.texi:23435
  34692. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  34693. msgstr ""
  34694. #. type: deftypevr
  34695. #: guix-git/doc/guix.texi:23437
  34696. #, no-wrap
  34697. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  34698. msgstr ""
  34699. #. type: deftypevr
  34700. #: guix-git/doc/guix.texi:23441
  34701. 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."
  34702. msgstr ""
  34703. #. type: deftypevr
  34704. #: guix-git/doc/guix.texi:23443
  34705. #, no-wrap
  34706. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  34707. msgstr ""
  34708. #. type: deftypevr
  34709. #: guix-git/doc/guix.texi:23446
  34710. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  34711. msgstr ""
  34712. #. type: deftypevr
  34713. #: guix-git/doc/guix.texi:23448
  34714. #, no-wrap
  34715. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  34716. msgstr ""
  34717. #. type: deftypevr
  34718. #: guix-git/doc/guix.texi:23451
  34719. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  34720. msgstr ""
  34721. #. type: deftypevr
  34722. #: guix-git/doc/guix.texi:23453
  34723. #, no-wrap
  34724. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  34725. msgstr ""
  34726. #. type: deftypevr
  34727. #: guix-git/doc/guix.texi:23457
  34728. 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}"
  34729. msgstr ""
  34730. #. type: deftypevr
  34731. #: guix-git/doc/guix.texi:23459
  34732. #, no-wrap
  34733. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  34734. msgstr ""
  34735. #. type: deftypevr
  34736. #: guix-git/doc/guix.texi:23462
  34737. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  34738. msgstr ""
  34739. #. type: deftypevr
  34740. #: guix-git/doc/guix.texi:23464
  34741. #, no-wrap
  34742. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  34743. msgstr ""
  34744. #. type: deftypevr
  34745. #: guix-git/doc/guix.texi:23466
  34746. msgid "A list of ``extra'' verification options."
  34747. msgstr ""
  34748. #. type: deftypevr
  34749. #: guix-git/doc/guix.texi:23468
  34750. #, no-wrap
  34751. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  34752. msgstr ""
  34753. #. type: deftypevr
  34754. #: guix-git/doc/guix.texi:23470
  34755. msgid "Password for encrypted private keys."
  34756. msgstr ""
  34757. #. type: deftypevr
  34758. #: guix-git/doc/guix.texi:23474
  34759. #, no-wrap
  34760. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  34761. msgstr ""
  34762. #. type: deftypevr
  34763. #: guix-git/doc/guix.texi:23478
  34764. 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}."
  34765. msgstr ""
  34766. #. type: deftypevr
  34767. #: guix-git/doc/guix.texi:23480
  34768. #, no-wrap
  34769. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  34770. msgstr ""
  34771. #. type: deftypevr
  34772. #: guix-git/doc/guix.texi:23484
  34773. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  34774. msgstr ""
  34775. #. type: deftypevr
  34776. #: guix-git/doc/guix.texi:23486
  34777. #, no-wrap
  34778. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  34779. msgstr ""
  34780. #. type: deftypevr
  34781. #: guix-git/doc/guix.texi:23490
  34782. 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}."
  34783. msgstr ""
  34784. #. type: deftypevr
  34785. #: guix-git/doc/guix.texi:23492
  34786. #, no-wrap
  34787. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  34788. msgstr ""
  34789. #. type: deftypevr
  34790. #: guix-git/doc/guix.texi:23498
  34791. 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}."
  34792. msgstr ""
  34793. #. type: deftypevr
  34794. #: guix-git/doc/guix.texi:23500
  34795. #, no-wrap
  34796. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  34797. msgstr ""
  34798. #. type: deftypevr
  34799. #: guix-git/doc/guix.texi:23506
  34800. 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{()}."
  34801. msgstr ""
  34802. #. type: deftypevr
  34803. #: guix-git/doc/guix.texi:23508
  34804. #, no-wrap
  34805. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  34806. msgstr ""
  34807. #. type: deftypevr
  34808. #: guix-git/doc/guix.texi:23513
  34809. 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{()}."
  34810. msgstr ""
  34811. #. type: deftypevr
  34812. #: guix-git/doc/guix.texi:23515
  34813. #, no-wrap
  34814. msgid "{@code{prosody-configuration} parameter} string authentication"
  34815. msgstr ""
  34816. #. type: deftypevr
  34817. #: guix-git/doc/guix.texi:23523
  34818. 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\"}."
  34819. msgstr ""
  34820. #. type: deftypevr
  34821. #: guix-git/doc/guix.texi:23525
  34822. #, no-wrap
  34823. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  34824. msgstr ""
  34825. #. type: deftypevr
  34826. #: guix-git/doc/guix.texi:23529
  34827. 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\"}."
  34828. msgstr ""
  34829. #. type: deftypevr
  34830. #: guix-git/doc/guix.texi:23531
  34831. #, no-wrap
  34832. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  34833. msgstr ""
  34834. #. type: deftypevr
  34835. #: guix-git/doc/guix.texi:23534
  34836. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  34837. msgstr ""
  34838. #. type: deftypevr
  34839. #: guix-git/doc/guix.texi:23536
  34840. #, no-wrap
  34841. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  34842. msgstr ""
  34843. #. type: deftypevr
  34844. #: guix-git/doc/guix.texi:23538
  34845. msgid "Maximum allowed size of the HTTP body (in bytes)."
  34846. msgstr ""
  34847. #. type: deftypevr
  34848. #: guix-git/doc/guix.texi:23540
  34849. #, no-wrap
  34850. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  34851. msgstr ""
  34852. #. type: deftypevr
  34853. #: guix-git/doc/guix.texi:23545
  34854. 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}."
  34855. msgstr ""
  34856. #. type: deftypevr
  34857. #: guix-git/doc/guix.texi:23547
  34858. #, no-wrap
  34859. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  34860. msgstr ""
  34861. #. type: deftypevr
  34862. #: guix-git/doc/guix.texi:23552
  34863. 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."
  34864. msgstr ""
  34865. #. type: deftypevr
  34866. #: guix-git/doc/guix.texi:23558
  34867. 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."
  34868. msgstr ""
  34869. #. type: deftypevr
  34870. #: guix-git/doc/guix.texi:23560
  34871. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  34872. msgstr ""
  34873. #. type: deftypevr
  34874. #: guix-git/doc/guix.texi:23562
  34875. msgid "Available @code{virtualhost-configuration} fields are:"
  34876. msgstr ""
  34877. #. type: deftypevr
  34878. #: guix-git/doc/guix.texi:23564 guix-git/doc/guix.texi:23586
  34879. #: guix-git/doc/guix.texi:23639
  34880. 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:"
  34881. msgstr ""
  34882. #. type: deftypevr
  34883. #: guix-git/doc/guix.texi:23564
  34884. #, no-wrap
  34885. msgid "{@code{virtualhost-configuration} parameter} string domain"
  34886. msgstr ""
  34887. #. type: deftypevr
  34888. #: guix-git/doc/guix.texi:23566
  34889. msgid "Domain you wish Prosody to serve."
  34890. msgstr ""
  34891. #. type: deftypevr
  34892. #: guix-git/doc/guix.texi:23570
  34893. #, no-wrap
  34894. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  34895. msgstr ""
  34896. #. type: deftypevr
  34897. #: guix-git/doc/guix.texi:23575
  34898. 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."
  34899. msgstr ""
  34900. #. type: deftypevr
  34901. #: guix-git/doc/guix.texi:23579
  34902. 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."
  34903. msgstr ""
  34904. #. type: deftypevr
  34905. #: guix-git/doc/guix.texi:23582
  34906. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  34907. msgstr ""
  34908. #. type: deftypevr
  34909. #: guix-git/doc/guix.texi:23584
  34910. msgid "Available @code{int-component-configuration} fields are:"
  34911. msgstr ""
  34912. #. type: deftypevr
  34913. #: guix-git/doc/guix.texi:23586
  34914. #, no-wrap
  34915. msgid "{@code{int-component-configuration} parameter} string hostname"
  34916. msgstr ""
  34917. #. type: deftypevr
  34918. #: guix-git/doc/guix.texi:23588 guix-git/doc/guix.texi:23645
  34919. msgid "Hostname of the component."
  34920. msgstr ""
  34921. #. type: deftypevr
  34922. #: guix-git/doc/guix.texi:23590
  34923. #, no-wrap
  34924. msgid "{@code{int-component-configuration} parameter} string plugin"
  34925. msgstr ""
  34926. #. type: deftypevr
  34927. #: guix-git/doc/guix.texi:23592
  34928. msgid "Plugin you wish to use for the component."
  34929. msgstr ""
  34930. #. type: deftypevr
  34931. #: guix-git/doc/guix.texi:23594
  34932. #, no-wrap
  34933. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  34934. msgstr ""
  34935. #. type: deftypevr
  34936. #: guix-git/doc/guix.texi:23597
  34937. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  34938. msgstr ""
  34939. #. type: deftypevr
  34940. #: guix-git/doc/guix.texi:23601
  34941. 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."
  34942. msgstr ""
  34943. #. type: deftypevr
  34944. #: guix-git/doc/guix.texi:23603
  34945. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  34946. msgstr ""
  34947. #. type: deftypevr
  34948. #: guix-git/doc/guix.texi:23605
  34949. msgid "Available @code{mod-muc-configuration} fields are:"
  34950. msgstr ""
  34951. #. type: deftypevr
  34952. #: guix-git/doc/guix.texi:23606
  34953. #, no-wrap
  34954. msgid "{@code{mod-muc-configuration} parameter} string name"
  34955. msgstr ""
  34956. #. type: deftypevr
  34957. #: guix-git/doc/guix.texi:23609
  34958. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  34959. msgstr ""
  34960. #. type: deftypevr
  34961. #: guix-git/doc/guix.texi:23611
  34962. #, no-wrap
  34963. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  34964. msgstr ""
  34965. #. type: deftypevr
  34966. #: guix-git/doc/guix.texi:23618
  34967. 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}."
  34968. msgstr ""
  34969. #. type: deftypevr
  34970. #: guix-git/doc/guix.texi:23620
  34971. #, no-wrap
  34972. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  34973. msgstr ""
  34974. #. type: deftypevr
  34975. #: guix-git/doc/guix.texi:23624
  34976. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  34977. msgstr ""
  34978. #. type: deftypevr
  34979. #: guix-git/doc/guix.texi:23630
  34980. #, no-wrap
  34981. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  34982. msgstr ""
  34983. #. type: deftypevr
  34984. #: guix-git/doc/guix.texi:23635
  34985. 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{()}."
  34986. msgstr ""
  34987. #. type: deftypevr
  34988. #: guix-git/doc/guix.texi:23637
  34989. msgid "Available @code{ext-component-configuration} fields are:"
  34990. msgstr ""
  34991. #. type: deftypevr
  34992. #: guix-git/doc/guix.texi:23639
  34993. #, no-wrap
  34994. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  34995. msgstr ""
  34996. #. type: deftypevr
  34997. #: guix-git/doc/guix.texi:23641
  34998. msgid "Password which the component will use to log in."
  34999. msgstr ""
  35000. #. type: deftypevr
  35001. #: guix-git/doc/guix.texi:23643
  35002. #, no-wrap
  35003. msgid "{@code{ext-component-configuration} parameter} string hostname"
  35004. msgstr ""
  35005. #. type: deftypevr
  35006. #: guix-git/doc/guix.texi:23649
  35007. #, no-wrap
  35008. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  35009. msgstr ""
  35010. #. type: deftypevr
  35011. #: guix-git/doc/guix.texi:23652
  35012. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  35013. msgstr ""
  35014. #. type: deftypevr
  35015. #: guix-git/doc/guix.texi:23654
  35016. #, no-wrap
  35017. msgid "{@code{prosody-configuration} parameter} string component-interface"
  35018. msgstr ""
  35019. #. type: deftypevr
  35020. #: guix-git/doc/guix.texi:23657
  35021. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  35022. msgstr ""
  35023. #. type: deftypevr
  35024. #: guix-git/doc/guix.texi:23659
  35025. #, no-wrap
  35026. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  35027. msgstr ""
  35028. #. type: deftypevr
  35029. #: guix-git/doc/guix.texi:23661
  35030. msgid "Raw content that will be added to the configuration file."
  35031. msgstr ""
  35032. #. type: Plain text
  35033. #: guix-git/doc/guix.texi:23669
  35034. 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:"
  35035. msgstr ""
  35036. #. type: deftypevr
  35037. #: guix-git/doc/guix.texi:23670
  35038. #, no-wrap
  35039. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  35040. msgstr ""
  35041. #. type: deftypevr
  35042. #: guix-git/doc/guix.texi:23672
  35043. msgid "The prosody package."
  35044. msgstr ""
  35045. #. type: deftypevr
  35046. #: guix-git/doc/guix.texi:23674
  35047. #, no-wrap
  35048. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  35049. msgstr ""
  35050. #. type: deftypevr
  35051. #: guix-git/doc/guix.texi:23676
  35052. msgid "The contents of the @code{prosody.cfg.lua} to use."
  35053. msgstr ""
  35054. #. type: Plain text
  35055. #: guix-git/doc/guix.texi:23680
  35056. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  35057. msgstr ""
  35058. #. type: lisp
  35059. #: guix-git/doc/guix.texi:23685
  35060. #, no-wrap
  35061. msgid ""
  35062. "(service prosody-service-type\n"
  35063. " (opaque-prosody-configuration\n"
  35064. " (prosody.cfg.lua \"\")))\n"
  35065. msgstr ""
  35066. #. type: subsubheading
  35067. #: guix-git/doc/guix.texi:23689
  35068. #, no-wrap
  35069. msgid "BitlBee Service"
  35070. msgstr ""
  35071. #. type: cindex
  35072. #: guix-git/doc/guix.texi:23691 guix-git/doc/guix.texi:23735
  35073. #, no-wrap
  35074. msgid "IRC (Internet Relay Chat)"
  35075. msgstr ""
  35076. #. type: cindex
  35077. #: guix-git/doc/guix.texi:23692
  35078. #, no-wrap
  35079. msgid "IRC gateway"
  35080. msgstr ""
  35081. #. type: Plain text
  35082. #: guix-git/doc/guix.texi:23695
  35083. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  35084. msgstr ""
  35085. #. type: defvr
  35086. #: guix-git/doc/guix.texi:23696
  35087. #, no-wrap
  35088. msgid "{Scheme Variable} bitlbee-service-type"
  35089. msgstr ""
  35090. #. type: defvr
  35091. #: guix-git/doc/guix.texi:23700
  35092. 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)."
  35093. msgstr ""
  35094. #. type: defvr
  35095. #: guix-git/doc/guix.texi:23703
  35096. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  35097. msgstr ""
  35098. #. type: lisp
  35099. #: guix-git/doc/guix.texi:23706
  35100. #, no-wrap
  35101. msgid "(service bitlbee-service-type)\n"
  35102. msgstr ""
  35103. #. type: deftp
  35104. #: guix-git/doc/guix.texi:23709
  35105. #, no-wrap
  35106. msgid "{Data Type} bitlbee-configuration"
  35107. msgstr ""
  35108. #. type: deftp
  35109. #: guix-git/doc/guix.texi:23711
  35110. msgid "This is the configuration for BitlBee, with the following fields:"
  35111. msgstr ""
  35112. #. type: item
  35113. #: guix-git/doc/guix.texi:23713
  35114. #, no-wrap
  35115. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  35116. msgstr ""
  35117. #. type: itemx
  35118. #: guix-git/doc/guix.texi:23714
  35119. #, no-wrap
  35120. msgid "@code{port} (default: @code{6667})"
  35121. msgstr ""
  35122. #. type: table
  35123. #: guix-git/doc/guix.texi:23717
  35124. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  35125. msgstr ""
  35126. #. type: table
  35127. #: guix-git/doc/guix.texi:23721
  35128. 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."
  35129. msgstr ""
  35130. #. type: item
  35131. #: guix-git/doc/guix.texi:23722
  35132. #, no-wrap
  35133. msgid "@code{bitlbee} (default: @code{bitlbee})"
  35134. msgstr ""
  35135. #. type: table
  35136. #: guix-git/doc/guix.texi:23724
  35137. msgid "The BitlBee package to use."
  35138. msgstr ""
  35139. #. type: item
  35140. #: guix-git/doc/guix.texi:23725
  35141. #, no-wrap
  35142. msgid "@code{plugins} (default: @code{'()})"
  35143. msgstr ""
  35144. #. type: table
  35145. #: guix-git/doc/guix.texi:23727
  35146. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  35147. msgstr ""
  35148. #. type: table
  35149. #: guix-git/doc/guix.texi:23730
  35150. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  35151. msgstr ""
  35152. #. type: subsubheading
  35153. #: guix-git/doc/guix.texi:23733
  35154. #, no-wrap
  35155. msgid "Quassel Service"
  35156. msgstr ""
  35157. #. type: Plain text
  35158. #: guix-git/doc/guix.texi:23739
  35159. 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."
  35160. msgstr ""
  35161. #. type: defvr
  35162. #: guix-git/doc/guix.texi:23740
  35163. #, no-wrap
  35164. msgid "{Scheme Variable} quassel-service-type"
  35165. msgstr ""
  35166. #. type: defvr
  35167. #: guix-git/doc/guix.texi:23744
  35168. 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)."
  35169. msgstr ""
  35170. #. type: deftp
  35171. #: guix-git/doc/guix.texi:23746
  35172. #, no-wrap
  35173. msgid "{Data Type} quassel-configuration"
  35174. msgstr ""
  35175. #. type: deftp
  35176. #: guix-git/doc/guix.texi:23748
  35177. msgid "This is the configuration for Quassel, with the following fields:"
  35178. msgstr ""
  35179. #. type: item
  35180. #: guix-git/doc/guix.texi:23750
  35181. #, no-wrap
  35182. msgid "@code{quassel} (default: @code{quassel})"
  35183. msgstr ""
  35184. #. type: table
  35185. #: guix-git/doc/guix.texi:23752
  35186. msgid "The Quassel package to use."
  35187. msgstr ""
  35188. #. type: item
  35189. #: guix-git/doc/guix.texi:23753
  35190. #, no-wrap
  35191. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  35192. msgstr ""
  35193. #. type: item
  35194. #: guix-git/doc/guix.texi:23754
  35195. #, no-wrap
  35196. msgid "@code{port} (default: @code{4242})"
  35197. msgstr ""
  35198. #. type: table
  35199. #: guix-git/doc/guix.texi:23758
  35200. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  35201. msgstr ""
  35202. #. type: item
  35203. #: guix-git/doc/guix.texi:23759
  35204. #, no-wrap
  35205. msgid "@code{loglevel} (default: @code{\"Info\"})"
  35206. msgstr ""
  35207. #. type: table
  35208. #: guix-git/doc/guix.texi:23762
  35209. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  35210. msgstr ""
  35211. #. type: cindex
  35212. #: guix-git/doc/guix.texi:23768
  35213. #, no-wrap
  35214. msgid "telephony, services"
  35215. msgstr ""
  35216. #. type: Plain text
  35217. #: guix-git/doc/guix.texi:23772
  35218. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  35219. msgstr ""
  35220. #. type: subsubheading
  35221. #: guix-git/doc/guix.texi:23773
  35222. #, no-wrap
  35223. msgid "Jami"
  35224. msgstr ""
  35225. #. type: cindex
  35226. #: guix-git/doc/guix.texi:23775
  35227. #, no-wrap
  35228. msgid "jami, service"
  35229. msgstr ""
  35230. #. type: Plain text
  35231. #: guix-git/doc/guix.texi:23781
  35232. msgid "This section describes how to configure a Jami server that can be used to host video (or audio) conferences, among other uses. The following example demonstrates how to specify Jami account archives (backups) to be provisioned automatically:"
  35233. msgstr ""
  35234. #. type: lisp
  35235. #: guix-git/doc/guix.texi:23790
  35236. #, no-wrap
  35237. msgid ""
  35238. "(service jami-service-type\n"
  35239. " (jami-configuration\n"
  35240. " (accounts\n"
  35241. " (list (jami-account\n"
  35242. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  35243. " (jami-account\n"
  35244. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  35245. msgstr ""
  35246. #. type: Plain text
  35247. #: guix-git/doc/guix.texi:23795
  35248. msgid "When the accounts field is specified, the Jami account files of the service found under @file{/var/lib/jami} are recreated every time the service starts."
  35249. msgstr ""
  35250. #. type: Plain text
  35251. #: guix-git/doc/guix.texi:23800
  35252. msgid "Jami accounts and their corresponding backup archives can be generated using either the @code{jami-qt} or @code{jami-gnome} Jami clients. The accounts should not be password-protected, but it is wise to ensure their files are only readable by @samp{root}."
  35253. msgstr ""
  35254. #. type: Plain text
  35255. #: guix-git/doc/guix.texi:23803
  35256. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  35257. msgstr ""
  35258. #. type: lisp
  35259. #: guix-git/doc/guix.texi:23815
  35260. #, no-wrap
  35261. msgid ""
  35262. "(service jami-service-type\n"
  35263. " (jami-configuration\n"
  35264. " (accounts\n"
  35265. " (list (jami-account\n"
  35266. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  35267. " (peer-discovery? #t)\n"
  35268. " (rendezvous-point? #t)\n"
  35269. " (allowed-contacts\n"
  35270. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  35271. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  35272. msgstr ""
  35273. #. type: Plain text
  35274. #: guix-git/doc/guix.texi:23821
  35275. msgid "In this mode, only the declared @code{allowed-contacts} can initiate communication with the Jami account. This can be used, for example, with rendezvous point accounts to create a private video conferencing space."
  35276. msgstr ""
  35277. #. type: Plain text
  35278. #: guix-git/doc/guix.texi:23824
  35279. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  35280. msgstr ""
  35281. #. type: example
  35282. #: guix-git/doc/guix.texi:23836
  35283. #, no-wrap
  35284. msgid ""
  35285. "# herd doc jami list-actions\n"
  35286. "(list-accounts\n"
  35287. " list-account-details\n"
  35288. " list-banned-contacts\n"
  35289. " list-contacts\n"
  35290. " list-moderators\n"
  35291. " add-moderator\n"
  35292. " ban-contact\n"
  35293. " enable-account\n"
  35294. " disable-account)\n"
  35295. msgstr ""
  35296. #. type: Plain text
  35297. #: guix-git/doc/guix.texi:23843
  35298. msgid "The above actions aim to provide the most valuable actions for moderation purposes, not to cover the whole Jami API. Users wanting to interact with the Jami daemon from Guile may be interested in experimenting with the @code{(gnu build jami-service)} module, which powers the above Shepherd actions."
  35299. msgstr ""
  35300. #. type: Plain text
  35301. #: guix-git/doc/guix.texi:23849
  35302. msgid "The @code{add-moderator} and @code{ban-contact} actions accept a contact @emph{fingerprint} (40 characters long hash) as first argument and an account fingerprint or username as second argument:"
  35303. msgstr ""
  35304. #. type: example
  35305. #: guix-git/doc/guix.texi:23853
  35306. #, no-wrap
  35307. msgid ""
  35308. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  35309. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  35310. "\n"
  35311. msgstr ""
  35312. #. type: example
  35313. #: guix-git/doc/guix.texi:23857
  35314. #, no-wrap
  35315. msgid ""
  35316. "# herd list-moderators jami\n"
  35317. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  35318. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  35319. "\n"
  35320. msgstr ""
  35321. #. type: Plain text
  35322. #: guix-git/doc/guix.texi:23862
  35323. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  35324. msgstr ""
  35325. #. type: example
  35326. #: guix-git/doc/guix.texi:23865
  35327. #, no-wrap
  35328. msgid ""
  35329. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  35330. "\n"
  35331. msgstr ""
  35332. #. type: example
  35333. #: guix-git/doc/guix.texi:23869
  35334. #, no-wrap
  35335. msgid ""
  35336. "# herd list-banned-contacts jami\n"
  35337. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  35338. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  35339. "\n"
  35340. msgstr ""
  35341. #. type: Plain text
  35342. #: guix-git/doc/guix.texi:23873
  35343. msgid "Banned contacts are also stripped from their moderation privileges."
  35344. msgstr ""
  35345. #. type: Plain text
  35346. #: guix-git/doc/guix.texi:23878
  35347. msgid "The @code{disable-account} action allows to completely disconnect an account from the network, making it unreachable, while @code{enable-account} does the inverse. They accept a single account username or fingerprint as first argument:"
  35348. msgstr ""
  35349. #. type: example
  35350. #: guix-git/doc/guix.texi:23881
  35351. #, no-wrap
  35352. msgid ""
  35353. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  35354. "\n"
  35355. msgstr ""
  35356. #. type: example
  35357. #: guix-git/doc/guix.texi:23885
  35358. #, no-wrap
  35359. msgid ""
  35360. "# herd list-accounts jami\n"
  35361. "The following Jami accounts are available:\n"
  35362. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  35363. "\n"
  35364. msgstr ""
  35365. #. type: Plain text
  35366. #: guix-git/doc/guix.texi:23896
  35367. msgid "The @code{list-account-details} action prints the detailed parameters of each accounts in the Recutils format, which means the @command{recsel} command can be used to select accounts of interest (@pxref{Selection Expressions,,,recutils, GNU recutils manual}). Note that period characters (@samp{.}) found in the account parameter keys are mapped to underscores (@samp{_}) in the output, to meet the requirements of the Recutils format. The following example shows how to print the account fingerprints for all accounts operating in the rendezvous point mode:"
  35368. msgstr ""
  35369. #. type: example
  35370. #: guix-git/doc/guix.texi:23901
  35371. #, no-wrap
  35372. msgid ""
  35373. "# herd list-account-details jami | \\\n"
  35374. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  35375. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  35376. msgstr ""
  35377. #. type: Plain text
  35378. #: guix-git/doc/guix.texi:23904
  35379. msgid "The remaining actions should be self-explanatory."
  35380. msgstr ""
  35381. #. type: Plain text
  35382. #: guix-git/doc/guix.texi:23906
  35383. msgid "The complete set of available configuration options is detailed below."
  35384. msgstr ""
  35385. #. type: deftp
  35386. #: guix-git/doc/guix.texi:23910
  35387. #, fuzzy, no-wrap
  35388. #| msgid "System Configuration"
  35389. msgid "{Data Type} jami-configuration"
  35390. msgstr "Nastavenie systému"
  35391. #. type: deftp
  35392. #: guix-git/doc/guix.texi:23912
  35393. msgid "Available @code{jami-configuration} fields are:"
  35394. msgstr ""
  35395. #. type: item
  35396. #: guix-git/doc/guix.texi:23914
  35397. #, no-wrap
  35398. msgid "@code{jamid} (default: @code{libring}) (type: package)"
  35399. msgstr ""
  35400. #. type: table
  35401. #: guix-git/doc/guix.texi:23916
  35402. msgid "The Jami daemon package to use."
  35403. msgstr ""
  35404. #. type: item
  35405. #: guix-git/doc/guix.texi:23917
  35406. #, no-wrap
  35407. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  35408. msgstr ""
  35409. #. type: table
  35410. #: guix-git/doc/guix.texi:23919
  35411. msgid "The D-Bus package to use to start the required D-Bus session."
  35412. msgstr ""
  35413. #. type: item
  35414. #: guix-git/doc/guix.texi:23920
  35415. #, no-wrap
  35416. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  35417. msgstr ""
  35418. #. type: table
  35419. #: guix-git/doc/guix.texi:23922
  35420. msgid "The nss-certs package to use to provide TLS certificates."
  35421. msgstr ""
  35422. #. type: item
  35423. #: guix-git/doc/guix.texi:23923
  35424. #, no-wrap
  35425. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  35426. msgstr ""
  35427. #. type: table
  35428. #: guix-git/doc/guix.texi:23925
  35429. msgid "Whether to enable logging to syslog."
  35430. msgstr ""
  35431. #. type: item
  35432. #: guix-git/doc/guix.texi:23926
  35433. #, no-wrap
  35434. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  35435. msgstr ""
  35436. #. type: table
  35437. #: guix-git/doc/guix.texi:23928
  35438. msgid "Whether to enable debug level messages."
  35439. msgstr ""
  35440. #. type: item
  35441. #: guix-git/doc/guix.texi:23929
  35442. #, no-wrap
  35443. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  35444. msgstr ""
  35445. #. type: table
  35446. #: guix-git/doc/guix.texi:23931
  35447. msgid "Whether to force automatic answer to incoming calls."
  35448. msgstr ""
  35449. #. type: item
  35450. #: guix-git/doc/guix.texi:23932
  35451. #, no-wrap
  35452. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  35453. msgstr ""
  35454. #. type: table
  35455. #: guix-git/doc/guix.texi:23937
  35456. msgid "A list of Jami accounts to be (re-)provisioned every time the Jami daemon service starts. When providing this field, the account directories under @file{/var/lib/jami/} are recreated every time the service starts, ensuring a consistent state."
  35457. msgstr ""
  35458. #. type: deftp
  35459. #: guix-git/doc/guix.texi:23943
  35460. #, no-wrap
  35461. msgid "{Data Type} jami-account"
  35462. msgstr ""
  35463. #. type: deftp
  35464. #: guix-git/doc/guix.texi:23945
  35465. msgid "Available @code{jami-account} fields are:"
  35466. msgstr ""
  35467. #. type: item
  35468. #: guix-git/doc/guix.texi:23947
  35469. #, no-wrap
  35470. msgid "@code{archive} (type: string-or-computed-file)"
  35471. msgstr ""
  35472. #. type: table
  35473. #: guix-git/doc/guix.texi:23953
  35474. msgid "The account archive (backup) file name of the account. This is used to provision the account when the service starts. The account archive should @emph{not} be encrypted. It is highly recommended to make it readable only to the @samp{root} user (i.e., not in the store), to guard against leaking the secret key material of the Jami account it contains."
  35475. msgstr ""
  35476. #. type: item
  35477. #: guix-git/doc/guix.texi:23954
  35478. #, no-wrap
  35479. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  35480. msgstr ""
  35481. #. type: table
  35482. #: guix-git/doc/guix.texi:23961
  35483. msgid "The list of allowed contacts for the account, entered as their 40 characters long fingerprint. Messages or calls from accounts not in that list will be rejected. When unspecified, the configuration of the account archive is used as-is with respect to contacts and public inbound calls/messaging allowance, which typically defaults to allow any contact to communicate with the account."
  35484. msgstr ""
  35485. #. type: item
  35486. #: guix-git/doc/guix.texi:23962
  35487. #, no-wrap
  35488. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  35489. msgstr ""
  35490. #. type: table
  35491. #: guix-git/doc/guix.texi:23968
  35492. msgid "The list of contacts that should have moderation privileges (to ban, mute, etc. other users) in rendezvous conferences, entered as their 40 characters long fingerprint. When unspecified, the configuration of the account archive is used as-is with respect to moderation, which typically defaults to allow anyone to moderate."
  35493. msgstr ""
  35494. #. type: item
  35495. #: guix-git/doc/guix.texi:23969
  35496. #, no-wrap
  35497. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  35498. msgstr ""
  35499. #. type: table
  35500. #: guix-git/doc/guix.texi:23973
  35501. msgid "Whether the account should operate in the rendezvous mode. In this mode, all the incoming audio/video calls are mixed into a conference. When left unspecified, the value from the account archive prevails."
  35502. msgstr ""
  35503. #. type: item
  35504. #: guix-git/doc/guix.texi:23974
  35505. #, no-wrap
  35506. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  35507. msgstr ""
  35508. #. type: table
  35509. #: guix-git/doc/guix.texi:23980
  35510. msgid "Whether peer discovery should be enabled. Peer discovery is used to discover other OpenDHT nodes on the local network, which can be useful to maintain communication between devices on such network even when the connection to the the Internet has been lost. When left unspecified, the value from the account archive prevails."
  35511. msgstr ""
  35512. #. type: item
  35513. #: guix-git/doc/guix.texi:23981
  35514. #, no-wrap
  35515. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  35516. msgstr ""
  35517. #. type: table
  35518. #: guix-git/doc/guix.texi:23985
  35519. msgid "A list of hostnames or IPs pointing to OpenDHT nodes, that should be used to initially join the OpenDHT network. When left unspecified, the value from the account archive prevails."
  35520. msgstr ""
  35521. #. type: item
  35522. #: guix-git/doc/guix.texi:23986
  35523. #, no-wrap
  35524. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  35525. msgstr ""
  35526. #. type: table
  35527. #: guix-git/doc/guix.texi:23989
  35528. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  35529. msgstr ""
  35530. #. type: cindex
  35531. #: guix-git/doc/guix.texi:23994 guix-git/doc/guix.texi:23996
  35532. #, no-wrap
  35533. msgid "Murmur (VoIP server)"
  35534. msgstr ""
  35535. #. type: cindex
  35536. #: guix-git/doc/guix.texi:23997
  35537. #, no-wrap
  35538. msgid "VoIP server"
  35539. msgstr ""
  35540. #. type: Plain text
  35541. #: guix-git/doc/guix.texi:24001
  35542. 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."
  35543. msgstr ""
  35544. #. type: deftp
  35545. #: guix-git/doc/guix.texi:24002
  35546. #, no-wrap
  35547. msgid "{Data Type} murmur-configuration"
  35548. msgstr ""
  35549. #. type: deftp
  35550. #: guix-git/doc/guix.texi:24005
  35551. msgid "The service type for the Murmur server. An example configuration can look like this:"
  35552. msgstr ""
  35553. #. type: lisp
  35554. #: guix-git/doc/guix.texi:24014
  35555. #, no-wrap
  35556. msgid ""
  35557. "(service murmur-service-type\n"
  35558. " (murmur-configuration\n"
  35559. " (welcome-text\n"
  35560. " \"Welcome to this Mumble server running on Guix!\")\n"
  35561. " (cert-required? #t) ;disallow text password logins\n"
  35562. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  35563. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  35564. msgstr ""
  35565. #. type: deftp
  35566. #: guix-git/doc/guix.texi:24018
  35567. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  35568. msgstr ""
  35569. #. type: deftp
  35570. #: guix-git/doc/guix.texi:24027
  35571. 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."
  35572. msgstr ""
  35573. #. type: deftp
  35574. #: guix-git/doc/guix.texi:24029
  35575. msgid "Available @code{murmur-configuration} fields are:"
  35576. msgstr ""
  35577. #. type: item
  35578. #: guix-git/doc/guix.texi:24031
  35579. #, no-wrap
  35580. msgid "@code{package} (default: @code{mumble})"
  35581. msgstr ""
  35582. #. type: table
  35583. #: guix-git/doc/guix.texi:24033
  35584. msgid "Package that contains @code{bin/murmurd}."
  35585. msgstr ""
  35586. #. type: item
  35587. #: guix-git/doc/guix.texi:24034
  35588. #, no-wrap
  35589. msgid "@code{user} (default: @code{\"murmur\"})"
  35590. msgstr ""
  35591. #. type: table
  35592. #: guix-git/doc/guix.texi:24036
  35593. msgid "User who will run the Murmur server."
  35594. msgstr ""
  35595. #. type: item
  35596. #: guix-git/doc/guix.texi:24037
  35597. #, no-wrap
  35598. msgid "@code{group} (default: @code{\"murmur\"})"
  35599. msgstr ""
  35600. #. type: table
  35601. #: guix-git/doc/guix.texi:24039
  35602. msgid "Group of the user who will run the murmur server."
  35603. msgstr ""
  35604. #. type: item
  35605. #: guix-git/doc/guix.texi:24040
  35606. #, no-wrap
  35607. msgid "@code{port} (default: @code{64738})"
  35608. msgstr ""
  35609. #. type: table
  35610. #: guix-git/doc/guix.texi:24042
  35611. msgid "Port on which the server will listen."
  35612. msgstr ""
  35613. #. type: item
  35614. #: guix-git/doc/guix.texi:24043
  35615. #, no-wrap
  35616. msgid "@code{welcome-text} (default: @code{\"\"})"
  35617. msgstr ""
  35618. #. type: table
  35619. #: guix-git/doc/guix.texi:24045
  35620. msgid "Welcome text sent to clients when they connect."
  35621. msgstr ""
  35622. #. type: item
  35623. #: guix-git/doc/guix.texi:24046
  35624. #, no-wrap
  35625. msgid "@code{server-password} (default: @code{\"\"})"
  35626. msgstr ""
  35627. #. type: table
  35628. #: guix-git/doc/guix.texi:24048
  35629. msgid "Password the clients have to enter in order to connect."
  35630. msgstr ""
  35631. #. type: item
  35632. #: guix-git/doc/guix.texi:24049
  35633. #, no-wrap
  35634. msgid "@code{max-users} (default: @code{100})"
  35635. msgstr ""
  35636. #. type: table
  35637. #: guix-git/doc/guix.texi:24051
  35638. msgid "Maximum of users that can be connected to the server at once."
  35639. msgstr ""
  35640. #. type: item
  35641. #: guix-git/doc/guix.texi:24052
  35642. #, no-wrap
  35643. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  35644. msgstr ""
  35645. #. type: table
  35646. #: guix-git/doc/guix.texi:24054
  35647. msgid "Maximum voice traffic a user can send per second."
  35648. msgstr ""
  35649. #. type: item
  35650. #: guix-git/doc/guix.texi:24055
  35651. #, no-wrap
  35652. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  35653. msgstr ""
  35654. #. type: table
  35655. #: guix-git/doc/guix.texi:24058
  35656. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  35657. msgstr ""
  35658. #. type: item
  35659. #: guix-git/doc/guix.texi:24059
  35660. #, no-wrap
  35661. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  35662. msgstr ""
  35663. #. type: table
  35664. #: guix-git/doc/guix.texi:24062
  35665. msgid "File name of the log file. The service's user will become the owner of the directory."
  35666. msgstr ""
  35667. #. type: item
  35668. #: guix-git/doc/guix.texi:24063
  35669. #, no-wrap
  35670. msgid "@code{autoban-attempts} (default: @code{10})"
  35671. msgstr ""
  35672. #. type: table
  35673. #: guix-git/doc/guix.texi:24066
  35674. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  35675. msgstr ""
  35676. #. type: item
  35677. #: guix-git/doc/guix.texi:24067
  35678. #, no-wrap
  35679. msgid "@code{autoban-timeframe} (default: @code{120})"
  35680. msgstr ""
  35681. #. type: table
  35682. #: guix-git/doc/guix.texi:24069
  35683. msgid "Timeframe for autoban in seconds."
  35684. msgstr ""
  35685. #. type: item
  35686. #: guix-git/doc/guix.texi:24070
  35687. #, no-wrap
  35688. msgid "@code{autoban-time} (default: @code{300})"
  35689. msgstr ""
  35690. #. type: table
  35691. #: guix-git/doc/guix.texi:24073
  35692. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  35693. msgstr ""
  35694. #. type: item
  35695. #: guix-git/doc/guix.texi:24074
  35696. #, no-wrap
  35697. msgid "@code{opus-threshold} (default: @code{100})"
  35698. msgstr ""
  35699. #. type: table
  35700. #: guix-git/doc/guix.texi:24077
  35701. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  35702. msgstr ""
  35703. #. type: item
  35704. #: guix-git/doc/guix.texi:24078
  35705. #, no-wrap
  35706. msgid "@code{channel-nesting-limit} (default: @code{10})"
  35707. msgstr ""
  35708. #. type: table
  35709. #: guix-git/doc/guix.texi:24080
  35710. msgid "How deep channels can be nested at maximum."
  35711. msgstr ""
  35712. #. type: item
  35713. #: guix-git/doc/guix.texi:24081
  35714. #, no-wrap
  35715. msgid "@code{channelname-regex} (default: @code{#f})"
  35716. msgstr ""
  35717. #. type: table
  35718. #: guix-git/doc/guix.texi:24083
  35719. msgid "A string in form of a Qt regular expression that channel names must conform to."
  35720. msgstr ""
  35721. #. type: item
  35722. #: guix-git/doc/guix.texi:24084
  35723. #, no-wrap
  35724. msgid "@code{username-regex} (default: @code{#f})"
  35725. msgstr ""
  35726. #. type: table
  35727. #: guix-git/doc/guix.texi:24086
  35728. msgid "A string in form of a Qt regular expression that user names must conform to."
  35729. msgstr ""
  35730. #. type: item
  35731. #: guix-git/doc/guix.texi:24087
  35732. #, no-wrap
  35733. msgid "@code{text-message-length} (default: @code{5000})"
  35734. msgstr ""
  35735. #. type: table
  35736. #: guix-git/doc/guix.texi:24089
  35737. msgid "Maximum size in bytes that a user can send in one text chat message."
  35738. msgstr ""
  35739. #. type: item
  35740. #: guix-git/doc/guix.texi:24090
  35741. #, no-wrap
  35742. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  35743. msgstr ""
  35744. #. type: table
  35745. #: guix-git/doc/guix.texi:24092
  35746. msgid "Maximum size in bytes that a user can send in one image message."
  35747. msgstr ""
  35748. #. type: item
  35749. #: guix-git/doc/guix.texi:24093
  35750. #, no-wrap
  35751. msgid "@code{cert-required?} (default: @code{#f})"
  35752. msgstr ""
  35753. #. type: table
  35754. #: guix-git/doc/guix.texi:24096
  35755. 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."
  35756. msgstr ""
  35757. #. type: item
  35758. #: guix-git/doc/guix.texi:24097
  35759. #, no-wrap
  35760. msgid "@code{remember-channel?} (default: @code{#f})"
  35761. msgstr ""
  35762. #. type: table
  35763. #: guix-git/doc/guix.texi:24100
  35764. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  35765. msgstr ""
  35766. #. type: item
  35767. #: guix-git/doc/guix.texi:24101
  35768. #, no-wrap
  35769. msgid "@code{allow-html?} (default: @code{#f})"
  35770. msgstr ""
  35771. #. type: table
  35772. #: guix-git/doc/guix.texi:24103
  35773. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  35774. msgstr ""
  35775. #. type: item
  35776. #: guix-git/doc/guix.texi:24104
  35777. #, no-wrap
  35778. msgid "@code{allow-ping?} (default: @code{#f})"
  35779. msgstr ""
  35780. #. type: table
  35781. #: guix-git/doc/guix.texi:24108
  35782. 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."
  35783. msgstr ""
  35784. #. type: table
  35785. #: guix-git/doc/guix.texi:24110
  35786. msgid "Disabling this setting will prevent public listing of the server."
  35787. msgstr ""
  35788. #. type: item
  35789. #: guix-git/doc/guix.texi:24111
  35790. #, no-wrap
  35791. msgid "@code{bonjour?} (default: @code{#f})"
  35792. msgstr ""
  35793. #. type: table
  35794. #: guix-git/doc/guix.texi:24113
  35795. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  35796. msgstr ""
  35797. #. type: item
  35798. #: guix-git/doc/guix.texi:24114
  35799. #, no-wrap
  35800. msgid "@code{send-version?} (default: @code{#f})"
  35801. msgstr ""
  35802. #. type: table
  35803. #: guix-git/doc/guix.texi:24116
  35804. msgid "Should the murmur server version be exposed in ping requests."
  35805. msgstr ""
  35806. #. type: item
  35807. #: guix-git/doc/guix.texi:24117
  35808. #, no-wrap
  35809. msgid "@code{log-days} (default: @code{31})"
  35810. msgstr ""
  35811. #. type: table
  35812. #: guix-git/doc/guix.texi:24121
  35813. 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."
  35814. msgstr ""
  35815. #. type: item
  35816. #: guix-git/doc/guix.texi:24122
  35817. #, no-wrap
  35818. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  35819. msgstr ""
  35820. #. type: table
  35821. #: guix-git/doc/guix.texi:24124
  35822. msgid "Should logged ips be obfuscated to protect the privacy of users."
  35823. msgstr ""
  35824. #. type: item
  35825. #: guix-git/doc/guix.texi:24125
  35826. #, no-wrap
  35827. msgid "@code{ssl-cert} (default: @code{#f})"
  35828. msgstr ""
  35829. #. type: table
  35830. #: guix-git/doc/guix.texi:24127
  35831. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  35832. msgstr ""
  35833. #. type: lisp
  35834. #: guix-git/doc/guix.texi:24130
  35835. #, no-wrap
  35836. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  35837. msgstr ""
  35838. #. type: item
  35839. #: guix-git/doc/guix.texi:24131
  35840. #, no-wrap
  35841. msgid "@code{ssl-key} (default: @code{#f})"
  35842. msgstr ""
  35843. #. type: table
  35844. #: guix-git/doc/guix.texi:24133
  35845. msgid "Filepath to the ssl private key used for encrypted connections."
  35846. msgstr ""
  35847. #. type: lisp
  35848. #: guix-git/doc/guix.texi:24135
  35849. #, no-wrap
  35850. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  35851. msgstr ""
  35852. #. type: item
  35853. #: guix-git/doc/guix.texi:24137
  35854. #, no-wrap
  35855. msgid "@code{ssl-dh-params} (default: @code{#f})"
  35856. msgstr ""
  35857. #. type: table
  35858. #: guix-git/doc/guix.texi:24142
  35859. 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."
  35860. msgstr ""
  35861. #. type: item
  35862. #: guix-git/doc/guix.texi:24143
  35863. #, no-wrap
  35864. msgid "@code{ssl-ciphers} (default: @code{#f})"
  35865. msgstr ""
  35866. #. type: table
  35867. #: guix-git/doc/guix.texi:24146
  35868. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  35869. msgstr ""
  35870. #. type: table
  35871. #: guix-git/doc/guix.texi:24150
  35872. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  35873. msgstr ""
  35874. #. type: table
  35875. #: guix-git/doc/guix.texi:24155
  35876. 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."
  35877. msgstr ""
  35878. #. type: table
  35879. #: guix-git/doc/guix.texi:24159
  35880. 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."
  35881. msgstr ""
  35882. #. type: item
  35883. #: guix-git/doc/guix.texi:24160
  35884. #, no-wrap
  35885. msgid "@code{public-registration} (default: @code{#f})"
  35886. msgstr ""
  35887. #. type: table
  35888. #: guix-git/doc/guix.texi:24162
  35889. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  35890. msgstr ""
  35891. #. type: table
  35892. #: guix-git/doc/guix.texi:24167
  35893. 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}."
  35894. msgstr ""
  35895. #. type: table
  35896. #: guix-git/doc/guix.texi:24169
  35897. msgid "It might take a few hours until it shows up in the public list."
  35898. msgstr ""
  35899. #. type: item
  35900. #: guix-git/doc/guix.texi:24170 guix-git/doc/guix.texi:26407
  35901. #, no-wrap
  35902. msgid "@code{file} (default: @code{#f})"
  35903. msgstr ""
  35904. #. type: table
  35905. #: guix-git/doc/guix.texi:24172
  35906. msgid "Optional alternative override for this configuration."
  35907. msgstr ""
  35908. #. type: deftp
  35909. #: guix-git/doc/guix.texi:24175
  35910. #, no-wrap
  35911. msgid "{Data Type} murmur-public-registration-configuration"
  35912. msgstr ""
  35913. #. type: deftp
  35914. #: guix-git/doc/guix.texi:24177
  35915. msgid "Configuration for public registration of a murmur service."
  35916. msgstr ""
  35917. #. type: table
  35918. #: guix-git/doc/guix.texi:24181
  35919. msgid "This is a display name for your server. Not to be confused with the hostname."
  35920. msgstr ""
  35921. #. type: itemx
  35922. #: guix-git/doc/guix.texi:24182 guix-git/doc/guix.texi:33135
  35923. #: guix-git/doc/guix.texi:34304
  35924. #, no-wrap
  35925. msgid "password"
  35926. msgstr ""
  35927. #. type: table
  35928. #: guix-git/doc/guix.texi:24185
  35929. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  35930. msgstr ""
  35931. #. type: table
  35932. #: guix-git/doc/guix.texi:24189
  35933. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  35934. msgstr ""
  35935. #. type: item
  35936. #: guix-git/doc/guix.texi:24190 guix-git/doc/guix.texi:27292
  35937. #, no-wrap
  35938. msgid "@code{hostname} (default: @code{#f})"
  35939. msgstr ""
  35940. #. type: table
  35941. #: guix-git/doc/guix.texi:24193
  35942. 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."
  35943. msgstr ""
  35944. #. type: Plain text
  35945. #: guix-git/doc/guix.texi:24203
  35946. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  35947. msgstr ""
  35948. #. type: subsubheading
  35949. #: guix-git/doc/guix.texi:24204
  35950. #, no-wrap
  35951. msgid "Transmission Daemon Service"
  35952. msgstr ""
  35953. #. type: Plain text
  35954. #: guix-git/doc/guix.texi:24212
  35955. 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."
  35956. msgstr ""
  35957. #. type: deffn
  35958. #: guix-git/doc/guix.texi:24213
  35959. #, no-wrap
  35960. msgid "{Scheme Variable} transmission-daemon-service-type"
  35961. msgstr ""
  35962. #. type: deffn
  35963. #: guix-git/doc/guix.texi:24217
  35964. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  35965. msgstr ""
  35966. #. type: lisp
  35967. #: guix-git/doc/guix.texi:24228
  35968. #, no-wrap
  35969. msgid ""
  35970. "(service transmission-daemon-service-type\n"
  35971. " (transmission-daemon-configuration\n"
  35972. " ;; Restrict access to the RPC (\"control\") interface\n"
  35973. " (rpc-authentication-required? #t)\n"
  35974. " (rpc-username \"transmission\")\n"
  35975. " (rpc-password\n"
  35976. " (transmission-password-hash\n"
  35977. " \"transmission\" ; desired password\n"
  35978. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  35979. "\n"
  35980. msgstr ""
  35981. #. type: lisp
  35982. #: guix-git/doc/guix.texi:24233
  35983. #, no-wrap
  35984. msgid ""
  35985. " ;; Accept requests from this and other hosts on the\n"
  35986. " ;; local network\n"
  35987. " (rpc-whitelist-enabled? #t)\n"
  35988. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  35989. "\n"
  35990. msgstr ""
  35991. #. type: lisp
  35992. #: guix-git/doc/guix.texi:24237
  35993. #, no-wrap
  35994. msgid ""
  35995. " ;; Limit bandwidth use during work hours\n"
  35996. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  35997. " (alt-speed-up 512) ; 512 kB/s\n"
  35998. "\n"
  35999. msgstr ""
  36000. #. type: lisp
  36001. #: guix-git/doc/guix.texi:24244
  36002. #, no-wrap
  36003. msgid ""
  36004. " (alt-speed-time-enabled? #t)\n"
  36005. " (alt-speed-time-day 'weekdays)\n"
  36006. " (alt-speed-time-begin\n"
  36007. " (+ (* 60 8) 30)) ; 8:30 am\n"
  36008. " (alt-speed-time-end\n"
  36009. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  36010. msgstr ""
  36011. #. type: Plain text
  36012. #: guix-git/doc/guix.texi:24257
  36013. 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."
  36014. msgstr ""
  36015. #. type: Plain text
  36016. #: guix-git/doc/guix.texi:24265
  36017. 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."
  36018. msgstr ""
  36019. #. type: deffn
  36020. #: guix-git/doc/guix.texi:24266
  36021. #, no-wrap
  36022. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  36023. msgstr ""
  36024. #. type: deffn
  36025. #: guix-git/doc/guix.texi:24270
  36026. 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."
  36027. msgstr ""
  36028. #. type: deffn
  36029. #: guix-git/doc/guix.texi:24274
  36030. 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."
  36031. msgstr ""
  36032. #. type: deffn
  36033. #: guix-git/doc/guix.texi:24276
  36034. #, no-wrap
  36035. msgid "{Scheme Procedure} transmission-random-salt"
  36036. msgstr ""
  36037. #. type: deffn
  36038. #: guix-git/doc/guix.texi:24280
  36039. 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."
  36040. msgstr ""
  36041. #. type: Plain text
  36042. #: guix-git/doc/guix.texi:24286
  36043. 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:"
  36044. msgstr ""
  36045. #. type: example
  36046. #: guix-git/doc/guix.texi:24292
  36047. #, no-wrap
  36048. msgid ""
  36049. "$ guix repl\n"
  36050. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  36051. "scheme@@(guix-user)> (transmission-random-salt)\n"
  36052. "$1 = \"uKd1uMs9\"\n"
  36053. msgstr ""
  36054. #. type: Plain text
  36055. #: guix-git/doc/guix.texi:24295
  36056. msgid "Alternatively, a complete password hash can generated in a single step:"
  36057. msgstr ""
  36058. #. type: example
  36059. #: guix-git/doc/guix.texi:24300
  36060. #, no-wrap
  36061. msgid ""
  36062. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  36063. "(transmission-random-salt))\n"
  36064. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  36065. msgstr ""
  36066. #. type: Plain text
  36067. #: guix-git/doc/guix.texi:24305
  36068. 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."
  36069. msgstr ""
  36070. #. type: Plain text
  36071. #: guix-git/doc/guix.texi:24314
  36072. 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."
  36073. msgstr ""
  36074. #. type: Plain text
  36075. #: guix-git/doc/guix.texi:24321
  36076. 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.)"
  36077. msgstr ""
  36078. #. type: Plain text
  36079. #: guix-git/doc/guix.texi:24326
  36080. 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:"
  36081. msgstr ""
  36082. #. type: example
  36083. #: guix-git/doc/guix.texi:24329
  36084. #, no-wrap
  36085. msgid "# herd reload transmission-daemon\n"
  36086. msgstr ""
  36087. #. type: Plain text
  36088. #: guix-git/doc/guix.texi:24333
  36089. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  36090. msgstr ""
  36091. #. type: deftp
  36092. #: guix-git/doc/guix.texi:24334
  36093. #, no-wrap
  36094. msgid "{Data Type} transmission-daemon-configuration"
  36095. msgstr ""
  36096. #. type: deftp
  36097. #: guix-git/doc/guix.texi:24338
  36098. 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."
  36099. msgstr ""
  36100. #. type: Plain text
  36101. #: guix-git/doc/guix.texi:24352
  36102. msgid "Available @code{transmission-daemon-configuration} fields are:"
  36103. msgstr ""
  36104. #. type: deftypevr
  36105. #: guix-git/doc/guix.texi:24353
  36106. #, no-wrap
  36107. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  36108. msgstr ""
  36109. #. type: deftypevr
  36110. #: guix-git/doc/guix.texi:24355
  36111. msgid "The Transmission package to use."
  36112. msgstr ""
  36113. #. type: deftypevr
  36114. #: guix-git/doc/guix.texi:24358
  36115. #, no-wrap
  36116. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  36117. msgstr ""
  36118. #. type: deftypevr
  36119. #: guix-git/doc/guix.texi:24364
  36120. 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."
  36121. msgstr ""
  36122. #. type: deftypevr
  36123. #: guix-git/doc/guix.texi:24366 guix-git/doc/guix.texi:24738
  36124. #: guix-git/doc/guix.texi:32101 guix-git/doc/guix.texi:32336
  36125. #: guix-git/doc/guix.texi:32344 guix-git/doc/guix.texi:32352
  36126. msgid "Defaults to @samp{10}."
  36127. msgstr ""
  36128. #. type: deftypevr
  36129. #: guix-git/doc/guix.texi:24369
  36130. #, no-wrap
  36131. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  36132. msgstr ""
  36133. #. type: deftypevr
  36134. #: guix-git/doc/guix.texi:24371
  36135. msgid "The directory to which torrent files are downloaded."
  36136. msgstr ""
  36137. #. type: deftypevr
  36138. #: guix-git/doc/guix.texi:24373
  36139. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  36140. msgstr ""
  36141. #. type: deftypevr
  36142. #: guix-git/doc/guix.texi:24376
  36143. #, no-wrap
  36144. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  36145. msgstr ""
  36146. #. type: deftypevr
  36147. #: guix-git/doc/guix.texi:24381
  36148. 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}."
  36149. msgstr ""
  36150. #. type: deftypevr
  36151. #: guix-git/doc/guix.texi:24386
  36152. #, no-wrap
  36153. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  36154. msgstr ""
  36155. #. type: deftypevr
  36156. #: guix-git/doc/guix.texi:24389
  36157. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  36158. msgstr ""
  36159. #. type: deftypevr
  36160. #: guix-git/doc/guix.texi:24394
  36161. #, no-wrap
  36162. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  36163. msgstr ""
  36164. #. type: deftypevr
  36165. #: guix-git/doc/guix.texi:24397
  36166. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  36167. msgstr ""
  36168. #. type: deftypevr
  36169. #: guix-git/doc/guix.texi:24399
  36170. msgid "Defaults to @samp{18}."
  36171. msgstr ""
  36172. #. type: deftypevr
  36173. #: guix-git/doc/guix.texi:24402
  36174. #, no-wrap
  36175. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  36176. msgstr ""
  36177. #. type: deftypevr
  36178. #: guix-git/doc/guix.texi:24405
  36179. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  36180. msgstr ""
  36181. #. type: deftypevr
  36182. #: guix-git/doc/guix.texi:24410
  36183. #, no-wrap
  36184. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  36185. msgstr ""
  36186. #. type: deftypevr
  36187. #: guix-git/doc/guix.texi:24415
  36188. 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."
  36189. msgstr ""
  36190. #. type: deftypevr
  36191. #: guix-git/doc/guix.texi:24417
  36192. msgid "Defaults to @samp{fast}."
  36193. msgstr ""
  36194. #. type: deftypevr
  36195. #: guix-git/doc/guix.texi:24420
  36196. #, no-wrap
  36197. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  36198. msgstr ""
  36199. #. type: deftypevr
  36200. #: guix-git/doc/guix.texi:24425
  36201. 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})."
  36202. msgstr ""
  36203. #. type: deftypevr
  36204. #: guix-git/doc/guix.texi:24430
  36205. #, no-wrap
  36206. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  36207. msgstr ""
  36208. #. type: deftypevr
  36209. #: guix-git/doc/guix.texi:24433
  36210. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  36211. msgstr ""
  36212. #. type: deftypevr
  36213. #: guix-git/doc/guix.texi:24438
  36214. #, no-wrap
  36215. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  36216. msgstr ""
  36217. #. type: deftypevr
  36218. #: guix-git/doc/guix.texi:24442
  36219. 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?})."
  36220. msgstr ""
  36221. #. type: deftypevr
  36222. #: guix-git/doc/guix.texi:24447
  36223. #, no-wrap
  36224. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  36225. msgstr ""
  36226. #. type: deftypevr
  36227. #: guix-git/doc/guix.texi:24450
  36228. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  36229. msgstr ""
  36230. #. type: deftypevr
  36231. #: guix-git/doc/guix.texi:24455
  36232. #, no-wrap
  36233. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  36234. msgstr ""
  36235. #. type: deftypevr
  36236. #: guix-git/doc/guix.texi:24457
  36237. msgid "The default global-maximum download speed, in kilobytes per second."
  36238. msgstr ""
  36239. #. type: deftypevr
  36240. #: guix-git/doc/guix.texi:24462
  36241. #, no-wrap
  36242. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  36243. msgstr ""
  36244. #. type: deftypevr
  36245. #: guix-git/doc/guix.texi:24465
  36246. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  36247. msgstr ""
  36248. #. type: deftypevr
  36249. #: guix-git/doc/guix.texi:24470
  36250. #, no-wrap
  36251. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  36252. msgstr ""
  36253. #. type: deftypevr
  36254. #: guix-git/doc/guix.texi:24472
  36255. msgid "The default global-maximum upload speed, in kilobytes per second."
  36256. msgstr ""
  36257. #. type: deftypevr
  36258. #: guix-git/doc/guix.texi:24477
  36259. #, no-wrap
  36260. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  36261. msgstr ""
  36262. #. type: deftypevr
  36263. #: guix-git/doc/guix.texi:24483
  36264. 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?}."
  36265. msgstr ""
  36266. #. type: deftypevr
  36267. #: guix-git/doc/guix.texi:24488
  36268. #, no-wrap
  36269. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  36270. msgstr ""
  36271. #. type: deftypevr
  36272. #: guix-git/doc/guix.texi:24490
  36273. msgid "The alternate global-maximum download speed, in kilobytes per second."
  36274. msgstr ""
  36275. #. type: deftypevr
  36276. #: guix-git/doc/guix.texi:24492 guix-git/doc/guix.texi:24499
  36277. #: guix-git/doc/guix.texi:24671 guix-git/doc/guix.texi:32108
  36278. #: guix-git/doc/guix.texi:32123
  36279. msgid "Defaults to @samp{50}."
  36280. msgstr ""
  36281. #. type: deftypevr
  36282. #: guix-git/doc/guix.texi:24495
  36283. #, no-wrap
  36284. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  36285. msgstr ""
  36286. #. type: deftypevr
  36287. #: guix-git/doc/guix.texi:24497
  36288. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  36289. msgstr ""
  36290. #. type: deftypevr
  36291. #: guix-git/doc/guix.texi:24502
  36292. #, no-wrap
  36293. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  36294. msgstr ""
  36295. #. type: deftypevr
  36296. #: guix-git/doc/guix.texi:24507
  36297. 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}."
  36298. msgstr ""
  36299. #. type: deftypevr
  36300. #: guix-git/doc/guix.texi:24512
  36301. #, no-wrap
  36302. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  36303. msgstr ""
  36304. #. type: deftypevr
  36305. #: guix-git/doc/guix.texi:24517
  36306. 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}."
  36307. msgstr ""
  36308. #. type: deftypevr
  36309. #: guix-git/doc/guix.texi:24519
  36310. msgid "Defaults to @samp{all}."
  36311. msgstr ""
  36312. #. type: deftypevr
  36313. #: guix-git/doc/guix.texi:24522
  36314. #, no-wrap
  36315. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  36316. msgstr ""
  36317. #. type: deftypevr
  36318. #: guix-git/doc/guix.texi:24525
  36319. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  36320. msgstr ""
  36321. #. type: deftypevr
  36322. #: guix-git/doc/guix.texi:24527
  36323. msgid "Defaults to @samp{540}."
  36324. msgstr ""
  36325. #. type: deftypevr
  36326. #: guix-git/doc/guix.texi:24530
  36327. #, no-wrap
  36328. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  36329. msgstr ""
  36330. #. type: deftypevr
  36331. #: guix-git/doc/guix.texi:24533
  36332. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  36333. msgstr ""
  36334. #. type: deftypevr
  36335. #: guix-git/doc/guix.texi:24535
  36336. msgid "Defaults to @samp{1020}."
  36337. msgstr ""
  36338. #. type: deftypevr
  36339. #: guix-git/doc/guix.texi:24538
  36340. #, no-wrap
  36341. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  36342. msgstr ""
  36343. #. type: deftypevr
  36344. #: guix-git/doc/guix.texi:24541
  36345. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  36346. msgstr ""
  36347. #. type: deftypevr
  36348. #: guix-git/doc/guix.texi:24543 guix-git/doc/guix.texi:24846
  36349. #: guix-git/doc/guix.texi:29969
  36350. msgid "Defaults to @samp{\"0.0.0.0\"}."
  36351. msgstr ""
  36352. #. type: deftypevr
  36353. #: guix-git/doc/guix.texi:24546
  36354. #, no-wrap
  36355. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  36356. msgstr ""
  36357. #. type: deftypevr
  36358. #: guix-git/doc/guix.texi:24549
  36359. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  36360. msgstr ""
  36361. #. type: deftypevr
  36362. #: guix-git/doc/guix.texi:24551
  36363. msgid "Defaults to @samp{\"::\"}."
  36364. msgstr ""
  36365. #. type: deftypevr
  36366. #: guix-git/doc/guix.texi:24554
  36367. #, no-wrap
  36368. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  36369. msgstr ""
  36370. #. type: deftypevr
  36371. #: guix-git/doc/guix.texi:24560
  36372. 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}."
  36373. msgstr ""
  36374. #. type: deftypevr
  36375. #: guix-git/doc/guix.texi:24565
  36376. #, no-wrap
  36377. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  36378. msgstr ""
  36379. #. type: deftypevr
  36380. #: guix-git/doc/guix.texi:24568
  36381. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  36382. msgstr ""
  36383. #. type: deftypevr
  36384. #: guix-git/doc/guix.texi:24570
  36385. msgid "Defaults to @samp{49152}."
  36386. msgstr ""
  36387. #. type: deftypevr
  36388. #: guix-git/doc/guix.texi:24573
  36389. #, no-wrap
  36390. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  36391. msgstr ""
  36392. #. type: deftypevr
  36393. #: guix-git/doc/guix.texi:24576
  36394. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  36395. msgstr ""
  36396. #. type: deftypevr
  36397. #: guix-git/doc/guix.texi:24578
  36398. msgid "Defaults to @samp{65535}."
  36399. msgstr ""
  36400. #. type: deftypevr
  36401. #: guix-git/doc/guix.texi:24581
  36402. #, no-wrap
  36403. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  36404. msgstr ""
  36405. #. type: deftypevr
  36406. #: guix-git/doc/guix.texi:24584
  36407. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  36408. msgstr ""
  36409. #. type: deftypevr
  36410. #: guix-git/doc/guix.texi:24586
  36411. msgid "Defaults to @samp{51413}."
  36412. msgstr ""
  36413. #. type: deftypevr
  36414. #: guix-git/doc/guix.texi:24589
  36415. #, no-wrap
  36416. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  36417. msgstr ""
  36418. #. type: deftypevr
  36419. #: guix-git/doc/guix.texi:24593
  36420. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  36421. msgstr ""
  36422. #. type: deftypevr
  36423. #: guix-git/doc/guix.texi:24598
  36424. #, no-wrap
  36425. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  36426. msgstr ""
  36427. #. type: deftypevr
  36428. #: guix-git/doc/guix.texi:24603
  36429. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  36430. msgstr ""
  36431. #. type: deftypevr
  36432. #: guix-git/doc/guix.texi:24605
  36433. msgid "Defaults to @samp{prefer-encrypted-connections}."
  36434. msgstr ""
  36435. #. type: deftypevr
  36436. #: guix-git/doc/guix.texi:24608
  36437. #, no-wrap
  36438. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  36439. msgstr ""
  36440. #. type: deftypevr
  36441. #: guix-git/doc/guix.texi:24613
  36442. 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)."
  36443. msgstr ""
  36444. #. type: deftypevr
  36445. #: guix-git/doc/guix.texi:24622
  36446. 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."
  36447. msgstr ""
  36448. #. type: deftypevr
  36449. #: guix-git/doc/guix.texi:24630
  36450. 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:"
  36451. msgstr ""
  36452. #. type: lisp
  36453. #: guix-git/doc/guix.texi:24637
  36454. #, no-wrap
  36455. msgid ""
  36456. "(service sysctl-service-type\n"
  36457. " (sysctl-configuration\n"
  36458. " (settings\n"
  36459. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  36460. " \"reno cubic lp\"))))\n"
  36461. msgstr ""
  36462. #. type: deftypevr
  36463. #: guix-git/doc/guix.texi:24640
  36464. msgid "The Transmission Daemon configuration can then be updated with"
  36465. msgstr ""
  36466. #. type: lisp
  36467. #: guix-git/doc/guix.texi:24643
  36468. #, no-wrap
  36469. msgid "(peer-congestion-algorithm \"lp\")\n"
  36470. msgstr ""
  36471. #. type: deftypevr
  36472. #: guix-git/doc/guix.texi:24646
  36473. msgid "and the system reconfigured to have the changes take effect."
  36474. msgstr ""
  36475. #. type: deftypevr
  36476. #: guix-git/doc/guix.texi:24651
  36477. #, no-wrap
  36478. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  36479. msgstr ""
  36480. #. type: deftypevr
  36481. #: guix-git/doc/guix.texi:24655
  36482. 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}."
  36483. msgstr ""
  36484. #. type: deftypevr
  36485. #: guix-git/doc/guix.texi:24657
  36486. msgid "Defaults to @samp{default}."
  36487. msgstr ""
  36488. #. type: deftypevr
  36489. #: guix-git/doc/guix.texi:24660
  36490. #, no-wrap
  36491. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  36492. msgstr ""
  36493. #. type: deftypevr
  36494. #: guix-git/doc/guix.texi:24662
  36495. msgid "The global limit on the number of connected peers."
  36496. msgstr ""
  36497. #. type: deftypevr
  36498. #: guix-git/doc/guix.texi:24664
  36499. msgid "Defaults to @samp{200}."
  36500. msgstr ""
  36501. #. type: deftypevr
  36502. #: guix-git/doc/guix.texi:24667
  36503. #, no-wrap
  36504. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  36505. msgstr ""
  36506. #. type: deftypevr
  36507. #: guix-git/doc/guix.texi:24669
  36508. msgid "The per-torrent limit on the number of connected peers."
  36509. msgstr ""
  36510. #. type: deftypevr
  36511. #: guix-git/doc/guix.texi:24674
  36512. #, no-wrap
  36513. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  36514. msgstr ""
  36515. #. type: deftypevr
  36516. #: guix-git/doc/guix.texi:24677
  36517. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  36518. msgstr ""
  36519. #. type: deftypevr
  36520. #: guix-git/doc/guix.texi:24679
  36521. msgid "Defaults to @samp{14}."
  36522. msgstr ""
  36523. #. type: deftypevr
  36524. #: guix-git/doc/guix.texi:24682
  36525. #, no-wrap
  36526. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  36527. msgstr ""
  36528. #. type: deftypevr
  36529. #: guix-git/doc/guix.texi:24685
  36530. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  36531. msgstr ""
  36532. #. type: deftypevr
  36533. #: guix-git/doc/guix.texi:24687
  36534. msgid "Defaults to @samp{6}."
  36535. msgstr ""
  36536. #. type: deftypevr
  36537. #: guix-git/doc/guix.texi:24690
  36538. #, no-wrap
  36539. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  36540. msgstr ""
  36541. #. type: deftypevr
  36542. #: guix-git/doc/guix.texi:24693
  36543. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  36544. msgstr ""
  36545. #. type: deftypevr
  36546. #: guix-git/doc/guix.texi:24698
  36547. #, no-wrap
  36548. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  36549. msgstr ""
  36550. #. type: deftypevr
  36551. #: guix-git/doc/guix.texi:24702
  36552. 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}."
  36553. msgstr ""
  36554. #. type: deftypevr
  36555. #: guix-git/doc/guix.texi:24707
  36556. #, no-wrap
  36557. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  36558. msgstr ""
  36559. #. type: deftypevr
  36560. #: guix-git/doc/guix.texi:24710
  36561. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  36562. msgstr ""
  36563. #. type: deftypevr
  36564. #: guix-git/doc/guix.texi:24715
  36565. #, no-wrap
  36566. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  36567. msgstr ""
  36568. #. type: deftypevr
  36569. #: guix-git/doc/guix.texi:24719
  36570. 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}."
  36571. msgstr ""
  36572. #. type: deftypevr
  36573. #: guix-git/doc/guix.texi:24724
  36574. #, no-wrap
  36575. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  36576. msgstr ""
  36577. #. type: deftypevr
  36578. #: guix-git/doc/guix.texi:24727
  36579. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  36580. msgstr ""
  36581. #. type: deftypevr
  36582. #: guix-git/doc/guix.texi:24732
  36583. #, no-wrap
  36584. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  36585. msgstr ""
  36586. #. type: deftypevr
  36587. #: guix-git/doc/guix.texi:24736
  36588. 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}."
  36589. msgstr ""
  36590. #. type: deftypevr
  36591. #: guix-git/doc/guix.texi:24741
  36592. #, no-wrap
  36593. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  36594. msgstr ""
  36595. #. type: deftypevr
  36596. #: guix-git/doc/guix.texi:24746
  36597. 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."
  36598. msgstr ""
  36599. #. type: deftypevr
  36600. #: guix-git/doc/guix.texi:24751
  36601. #, no-wrap
  36602. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  36603. msgstr ""
  36604. #. type: deftypevr
  36605. #: guix-git/doc/guix.texi:24755
  36606. 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}."
  36607. msgstr ""
  36608. #. type: deftypevr
  36609. #: guix-git/doc/guix.texi:24760
  36610. #, no-wrap
  36611. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  36612. msgstr ""
  36613. #. type: deftypevr
  36614. #: guix-git/doc/guix.texi:24763
  36615. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  36616. msgstr ""
  36617. #. type: deftypevr
  36618. #: guix-git/doc/guix.texi:24768
  36619. #, no-wrap
  36620. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  36621. msgstr ""
  36622. #. type: deftypevr
  36623. #: guix-git/doc/guix.texi:24771
  36624. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  36625. msgstr ""
  36626. #. type: deftypevr
  36627. #: guix-git/doc/guix.texi:24773
  36628. msgid "Defaults to @samp{2.0}."
  36629. msgstr ""
  36630. #. type: deftypevr
  36631. #: guix-git/doc/guix.texi:24776
  36632. #, no-wrap
  36633. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  36634. msgstr ""
  36635. #. type: deftypevr
  36636. #: guix-git/doc/guix.texi:24779
  36637. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  36638. msgstr ""
  36639. #. type: deftypevr
  36640. #: guix-git/doc/guix.texi:24784
  36641. #, no-wrap
  36642. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  36643. msgstr ""
  36644. #. type: deftypevr
  36645. #: guix-git/doc/guix.texi:24788
  36646. 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}."
  36647. msgstr ""
  36648. #. type: deftypevr
  36649. #: guix-git/doc/guix.texi:24793
  36650. #, no-wrap
  36651. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  36652. msgstr ""
  36653. #. type: deftypevr
  36654. #: guix-git/doc/guix.texi:24797
  36655. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  36656. msgstr ""
  36657. #. type: deftypevr
  36658. #: guix-git/doc/guix.texi:24802
  36659. #, no-wrap
  36660. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  36661. msgstr ""
  36662. #. type: deftypevr
  36663. #: guix-git/doc/guix.texi:24807
  36664. 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."
  36665. msgstr ""
  36666. #. type: deftypevr
  36667. #: guix-git/doc/guix.texi:24812
  36668. #, no-wrap
  36669. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  36670. msgstr ""
  36671. #. type: deftypevr
  36672. #: guix-git/doc/guix.texi:24816
  36673. 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."
  36674. msgstr ""
  36675. #. type: deftypevr
  36676. #: guix-git/doc/guix.texi:24821
  36677. #, no-wrap
  36678. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  36679. msgstr ""
  36680. #. type: deftypevr
  36681. #: guix-git/doc/guix.texi:24826
  36682. 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."
  36683. msgstr ""
  36684. #. type: deftypevr
  36685. #: guix-git/doc/guix.texi:24831
  36686. #, no-wrap
  36687. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  36688. msgstr ""
  36689. #. type: deftypevr
  36690. #: guix-git/doc/guix.texi:24836
  36691. 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."
  36692. msgstr ""
  36693. #. type: deftypevr
  36694. #: guix-git/doc/guix.texi:24841
  36695. #, no-wrap
  36696. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  36697. msgstr ""
  36698. #. type: deftypevr
  36699. #: guix-git/doc/guix.texi:24844
  36700. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  36701. msgstr ""
  36702. #. type: deftypevr
  36703. #: guix-git/doc/guix.texi:24849
  36704. #, no-wrap
  36705. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  36706. msgstr ""
  36707. #. type: deftypevr
  36708. #: guix-git/doc/guix.texi:24851
  36709. msgid "The port on which to listen for @acronym{RPC} connections."
  36710. msgstr ""
  36711. #. type: deftypevr
  36712. #: guix-git/doc/guix.texi:24853
  36713. msgid "Defaults to @samp{9091}."
  36714. msgstr ""
  36715. #. type: deftypevr
  36716. #: guix-git/doc/guix.texi:24856
  36717. #, no-wrap
  36718. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  36719. msgstr ""
  36720. #. type: deftypevr
  36721. #: guix-git/doc/guix.texi:24858
  36722. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  36723. msgstr ""
  36724. #. type: deftypevr
  36725. #: guix-git/doc/guix.texi:24860
  36726. msgid "Defaults to @samp{\"/transmission/\"}."
  36727. msgstr ""
  36728. #. type: deftypevr
  36729. #: guix-git/doc/guix.texi:24863
  36730. #, no-wrap
  36731. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  36732. msgstr ""
  36733. #. type: deftypevr
  36734. #: guix-git/doc/guix.texi:24868
  36735. 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?}."
  36736. msgstr ""
  36737. #. type: deftypevr
  36738. #: guix-git/doc/guix.texi:24873
  36739. #, no-wrap
  36740. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  36741. msgstr ""
  36742. #. type: deftypevr
  36743. #: guix-git/doc/guix.texi:24876
  36744. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  36745. msgstr ""
  36746. #. type: deftypevr
  36747. #: guix-git/doc/guix.texi:24881
  36748. #, no-wrap
  36749. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  36750. msgstr ""
  36751. #. type: deftypevr
  36752. #: guix-git/doc/guix.texi:24887
  36753. 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."
  36754. msgstr ""
  36755. #. type: deftypevr
  36756. #: guix-git/doc/guix.texi:24892
  36757. #, no-wrap
  36758. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  36759. msgstr ""
  36760. #. type: deftypevr
  36761. #: guix-git/doc/guix.texi:24895
  36762. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  36763. msgstr ""
  36764. #. type: deftypevr
  36765. #: guix-git/doc/guix.texi:24900
  36766. #, no-wrap
  36767. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  36768. msgstr ""
  36769. #. type: deftypevr
  36770. #: guix-git/doc/guix.texi:24904
  36771. 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{*}."
  36772. msgstr ""
  36773. #. type: deftypevr
  36774. #: guix-git/doc/guix.texi:24906
  36775. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  36776. msgstr ""
  36777. #. type: deftypevr
  36778. #: guix-git/doc/guix.texi:24909
  36779. #, no-wrap
  36780. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  36781. msgstr ""
  36782. #. type: deftypevr
  36783. #: guix-git/doc/guix.texi:24914
  36784. 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."
  36785. msgstr ""
  36786. #. type: deftypevr
  36787. #: guix-git/doc/guix.texi:24917
  36788. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  36789. msgstr ""
  36790. #. type: deftypevr
  36791. #: guix-git/doc/guix.texi:24922
  36792. #, no-wrap
  36793. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  36794. msgstr ""
  36795. #. type: deftypevr
  36796. #: guix-git/doc/guix.texi:24925
  36797. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  36798. msgstr ""
  36799. #. type: deftypevr
  36800. #: guix-git/doc/guix.texi:24930
  36801. #, no-wrap
  36802. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  36803. msgstr ""
  36804. #. type: deftypevr
  36805. #: guix-git/doc/guix.texi:24934
  36806. 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}."
  36807. msgstr ""
  36808. #. type: deftypevr
  36809. #: guix-git/doc/guix.texi:24939
  36810. #, no-wrap
  36811. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  36812. msgstr ""
  36813. #. type: deftypevr
  36814. #: guix-git/doc/guix.texi:24942
  36815. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  36816. msgstr ""
  36817. #. type: deftypevr
  36818. #: guix-git/doc/guix.texi:24947
  36819. #, no-wrap
  36820. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  36821. msgstr ""
  36822. #. type: deftypevr
  36823. #: guix-git/doc/guix.texi:24951
  36824. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  36825. msgstr ""
  36826. #. type: deftypevr
  36827. #: guix-git/doc/guix.texi:24956
  36828. #, no-wrap
  36829. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  36830. msgstr ""
  36831. #. type: deftypevr
  36832. #: guix-git/doc/guix.texi:24960
  36833. 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}."
  36834. msgstr ""
  36835. #. type: deftypevr
  36836. #: guix-git/doc/guix.texi:24965
  36837. #, no-wrap
  36838. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  36839. msgstr ""
  36840. #. type: deftypevr
  36841. #: guix-git/doc/guix.texi:24968
  36842. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  36843. msgstr ""
  36844. #. type: deftypevr
  36845. #: guix-git/doc/guix.texi:24973
  36846. #, no-wrap
  36847. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  36848. msgstr ""
  36849. #. type: deftypevr
  36850. #: guix-git/doc/guix.texi:24977
  36851. 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."
  36852. msgstr ""
  36853. #. type: deftypevr
  36854. #: guix-git/doc/guix.texi:24979
  36855. msgid "Defaults to @samp{4}."
  36856. msgstr ""
  36857. #. type: deftypevr
  36858. #: guix-git/doc/guix.texi:24982
  36859. #, no-wrap
  36860. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  36861. msgstr ""
  36862. #. type: deftypevr
  36863. #: guix-git/doc/guix.texi:24986
  36864. 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."
  36865. msgstr ""
  36866. #. type: subsubheading
  36867. #: guix-git/doc/guix.texi:24999
  36868. #, no-wrap
  36869. msgid "Tailon Service"
  36870. msgstr ""
  36871. #. type: Plain text
  36872. #: guix-git/doc/guix.texi:25003
  36873. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  36874. msgstr ""
  36875. #. type: Plain text
  36876. #: guix-git/doc/guix.texi:25006
  36877. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  36878. msgstr ""
  36879. #. type: lisp
  36880. #: guix-git/doc/guix.texi:25009
  36881. #, no-wrap
  36882. msgid "(service tailon-service-type)\n"
  36883. msgstr ""
  36884. #. type: Plain text
  36885. #: guix-git/doc/guix.texi:25013
  36886. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  36887. msgstr ""
  36888. #. type: lisp
  36889. #: guix-git/doc/guix.texi:25020
  36890. #, no-wrap
  36891. msgid ""
  36892. "(service tailon-service-type\n"
  36893. " (tailon-configuration\n"
  36894. " (config-file\n"
  36895. " (tailon-configuration-file\n"
  36896. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  36897. msgstr ""
  36898. #. type: deftp
  36899. #: guix-git/doc/guix.texi:25023
  36900. #, no-wrap
  36901. msgid "{Data Type} tailon-configuration"
  36902. msgstr ""
  36903. #. type: deftp
  36904. #: guix-git/doc/guix.texi:25026
  36905. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  36906. msgstr ""
  36907. #. type: item
  36908. #: guix-git/doc/guix.texi:25028
  36909. #, no-wrap
  36910. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  36911. msgstr ""
  36912. #. type: table
  36913. #: guix-git/doc/guix.texi:25032
  36914. 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})."
  36915. msgstr ""
  36916. #. type: table
  36917. #: guix-git/doc/guix.texi:25035
  36918. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  36919. msgstr ""
  36920. #. type: lisp
  36921. #: guix-git/doc/guix.texi:25040
  36922. #, no-wrap
  36923. msgid ""
  36924. "(service tailon-service-type\n"
  36925. " (tailon-configuration\n"
  36926. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  36927. msgstr ""
  36928. #. type: item
  36929. #: guix-git/doc/guix.texi:25042
  36930. #, no-wrap
  36931. msgid "@code{package} (default: @code{tailon})"
  36932. msgstr ""
  36933. #. type: table
  36934. #: guix-git/doc/guix.texi:25044
  36935. msgid "The tailon package to use."
  36936. msgstr ""
  36937. #. type: deftp
  36938. #: guix-git/doc/guix.texi:25048
  36939. #, no-wrap
  36940. msgid "{Data Type} tailon-configuration-file"
  36941. msgstr ""
  36942. #. type: deftp
  36943. #: guix-git/doc/guix.texi:25051
  36944. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  36945. msgstr ""
  36946. #. type: item
  36947. #: guix-git/doc/guix.texi:25053
  36948. #, no-wrap
  36949. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  36950. msgstr ""
  36951. #. type: table
  36952. #: guix-git/doc/guix.texi:25058
  36953. 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."
  36954. msgstr ""
  36955. #. type: item
  36956. #: guix-git/doc/guix.texi:25059
  36957. #, no-wrap
  36958. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  36959. msgstr ""
  36960. #. type: table
  36961. #: guix-git/doc/guix.texi:25061
  36962. msgid "Address and port to which Tailon should bind on."
  36963. msgstr ""
  36964. #. type: item
  36965. #: guix-git/doc/guix.texi:25062
  36966. #, no-wrap
  36967. msgid "@code{relative-root} (default: @code{#f})"
  36968. msgstr ""
  36969. #. type: table
  36970. #: guix-git/doc/guix.texi:25064
  36971. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  36972. msgstr ""
  36973. #. type: item
  36974. #: guix-git/doc/guix.texi:25065
  36975. #, no-wrap
  36976. msgid "@code{allow-transfers?} (default: @code{#t})"
  36977. msgstr ""
  36978. #. type: table
  36979. #: guix-git/doc/guix.texi:25067
  36980. msgid "Allow downloading the log files in the web interface."
  36981. msgstr ""
  36982. #. type: item
  36983. #: guix-git/doc/guix.texi:25068
  36984. #, no-wrap
  36985. msgid "@code{follow-names?} (default: @code{#t})"
  36986. msgstr ""
  36987. #. type: table
  36988. #: guix-git/doc/guix.texi:25070
  36989. msgid "Allow tailing of not-yet existent files."
  36990. msgstr ""
  36991. #. type: item
  36992. #: guix-git/doc/guix.texi:25071
  36993. #, no-wrap
  36994. msgid "@code{tail-lines} (default: @code{200})"
  36995. msgstr ""
  36996. #. type: table
  36997. #: guix-git/doc/guix.texi:25073
  36998. msgid "Number of lines to read initially from each file."
  36999. msgstr ""
  37000. #. type: item
  37001. #: guix-git/doc/guix.texi:25074
  37002. #, no-wrap
  37003. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  37004. msgstr ""
  37005. #. type: table
  37006. #: guix-git/doc/guix.texi:25076
  37007. msgid "Commands to allow running. By default, @code{sed} is disabled."
  37008. msgstr ""
  37009. #. type: table
  37010. #: guix-git/doc/guix.texi:25079
  37011. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  37012. msgstr ""
  37013. #. type: item
  37014. #: guix-git/doc/guix.texi:25080
  37015. #, no-wrap
  37016. msgid "@code{wrap-lines} (default: @code{#t})"
  37017. msgstr ""
  37018. #. type: table
  37019. #: guix-git/doc/guix.texi:25084
  37020. 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."
  37021. msgstr ""
  37022. #. type: item
  37023. #: guix-git/doc/guix.texi:25085
  37024. #, no-wrap
  37025. msgid "@code{http-auth} (default: @code{#f})"
  37026. msgstr ""
  37027. #. type: table
  37028. #: guix-git/doc/guix.texi:25089
  37029. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  37030. msgstr ""
  37031. #. type: item
  37032. #: guix-git/doc/guix.texi:25090
  37033. #, no-wrap
  37034. msgid "@code{users} (default: @code{#f})"
  37035. msgstr ""
  37036. #. type: table
  37037. #: guix-git/doc/guix.texi:25095
  37038. 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."
  37039. msgstr ""
  37040. #. type: lisp
  37041. #: guix-git/doc/guix.texi:25101
  37042. #, no-wrap
  37043. msgid ""
  37044. "(tailon-configuration-file\n"
  37045. " (http-auth \"basic\")\n"
  37046. " (users '((\"user1\" . \"password1\")\n"
  37047. " (\"user2\" . \"password2\"))))\n"
  37048. msgstr ""
  37049. #. type: subsubheading
  37050. #: guix-git/doc/guix.texi:25107
  37051. #, no-wrap
  37052. msgid "Darkstat Service"
  37053. msgstr ""
  37054. #. type: cindex
  37055. #: guix-git/doc/guix.texi:25108
  37056. #, no-wrap
  37057. msgid "darkstat"
  37058. msgstr ""
  37059. #. type: Plain text
  37060. #: guix-git/doc/guix.texi:25111
  37061. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  37062. msgstr ""
  37063. #. type: defvar
  37064. #: guix-git/doc/guix.texi:25112
  37065. #, no-wrap
  37066. msgid "{Scheme Variable} darkstat-service-type"
  37067. msgstr ""
  37068. #. type: defvar
  37069. #: guix-git/doc/guix.texi:25117
  37070. 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:"
  37071. msgstr ""
  37072. #. type: lisp
  37073. #: guix-git/doc/guix.texi:25122
  37074. #, no-wrap
  37075. msgid ""
  37076. "(service darkstat-service-type\n"
  37077. " (darkstat-configuration\n"
  37078. " (interface \"eno1\")))\n"
  37079. msgstr ""
  37080. #. type: deftp
  37081. #: guix-git/doc/guix.texi:25125
  37082. #, no-wrap
  37083. msgid "{Data Type} darkstat-configuration"
  37084. msgstr ""
  37085. #. type: deftp
  37086. #: guix-git/doc/guix.texi:25127
  37087. msgid "Data type representing the configuration of @command{darkstat}."
  37088. msgstr ""
  37089. #. type: item
  37090. #: guix-git/doc/guix.texi:25129
  37091. #, no-wrap
  37092. msgid "@code{package} (default: @code{darkstat})"
  37093. msgstr ""
  37094. #. type: table
  37095. #: guix-git/doc/guix.texi:25131
  37096. msgid "The darkstat package to use."
  37097. msgstr ""
  37098. #. type: code{#1}
  37099. #: guix-git/doc/guix.texi:25132
  37100. #, no-wrap
  37101. msgid "interface"
  37102. msgstr ""
  37103. #. type: table
  37104. #: guix-git/doc/guix.texi:25134
  37105. msgid "Capture traffic on the specified network interface."
  37106. msgstr ""
  37107. #. type: item
  37108. #: guix-git/doc/guix.texi:25135
  37109. #, no-wrap
  37110. msgid "@code{port} (default: @code{\"667\"})"
  37111. msgstr ""
  37112. #. type: table
  37113. #: guix-git/doc/guix.texi:25137
  37114. msgid "Bind the web interface to the specified port."
  37115. msgstr ""
  37116. #. type: table
  37117. #: guix-git/doc/guix.texi:25140 guix-git/doc/guix.texi:25175
  37118. msgid "Bind the web interface to the specified address."
  37119. msgstr ""
  37120. #. type: item
  37121. #: guix-git/doc/guix.texi:25141
  37122. #, no-wrap
  37123. msgid "@code{base} (default: @code{\"/\"})"
  37124. msgstr ""
  37125. #. type: table
  37126. #: guix-git/doc/guix.texi:25144
  37127. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  37128. msgstr ""
  37129. #. type: subsubheading
  37130. #: guix-git/doc/guix.texi:25148
  37131. #, no-wrap
  37132. msgid "Prometheus Node Exporter Service"
  37133. msgstr ""
  37134. #. type: cindex
  37135. #: guix-git/doc/guix.texi:25150
  37136. #, no-wrap
  37137. msgid "prometheus-node-exporter"
  37138. msgstr ""
  37139. #. type: Plain text
  37140. #: guix-git/doc/guix.texi:25155
  37141. 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."
  37142. msgstr ""
  37143. #. type: defvar
  37144. #: guix-git/doc/guix.texi:25156
  37145. #, no-wrap
  37146. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  37147. msgstr ""
  37148. #. type: defvar
  37149. #: guix-git/doc/guix.texi:25160
  37150. 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}."
  37151. msgstr ""
  37152. #. type: lisp
  37153. #: guix-git/doc/guix.texi:25163
  37154. #, no-wrap
  37155. msgid "(service prometheus-node-exporter-service-type)\n"
  37156. msgstr ""
  37157. #. type: deftp
  37158. #: guix-git/doc/guix.texi:25166
  37159. #, no-wrap
  37160. msgid "{Data Type} prometheus-node-exporter-configuration"
  37161. msgstr ""
  37162. #. type: deftp
  37163. #: guix-git/doc/guix.texi:25168
  37164. msgid "Data type representing the configuration of @command{node_exporter}."
  37165. msgstr ""
  37166. #. type: item
  37167. #: guix-git/doc/guix.texi:25170
  37168. #, no-wrap
  37169. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  37170. msgstr ""
  37171. #. type: table
  37172. #: guix-git/doc/guix.texi:25172
  37173. msgid "The prometheus-node-exporter package to use."
  37174. msgstr ""
  37175. #. type: item
  37176. #: guix-git/doc/guix.texi:25173
  37177. #, no-wrap
  37178. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  37179. msgstr ""
  37180. #. type: item
  37181. #: guix-git/doc/guix.texi:25176
  37182. #, no-wrap
  37183. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  37184. msgstr ""
  37185. #. type: table
  37186. #: guix-git/doc/guix.texi:25180
  37187. 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."
  37188. msgstr ""
  37189. #. type: table
  37190. #: guix-git/doc/guix.texi:25183
  37191. msgid "Extra options to pass to the Prometheus node exporter."
  37192. msgstr ""
  37193. #. type: subsubheading
  37194. #: guix-git/doc/guix.texi:25187
  37195. #, no-wrap
  37196. msgid "Zabbix server"
  37197. msgstr ""
  37198. #. type: cindex
  37199. #: guix-git/doc/guix.texi:25188
  37200. #, no-wrap
  37201. msgid "zabbix zabbix-server"
  37202. msgstr ""
  37203. #. type: Plain text
  37204. #: guix-git/doc/guix.texi:25191
  37205. msgid "Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption:"
  37206. msgstr ""
  37207. #. type: item
  37208. #: guix-git/doc/guix.texi:25193
  37209. #, no-wrap
  37210. msgid "High performance, high capacity (able to monitor hundreds of thousands of devices)."
  37211. msgstr ""
  37212. #. type: item
  37213. #: guix-git/doc/guix.texi:25194
  37214. #, no-wrap
  37215. msgid "Auto-discovery of servers and network devices and interfaces."
  37216. msgstr ""
  37217. #. type: item
  37218. #: guix-git/doc/guix.texi:25195
  37219. #, no-wrap
  37220. msgid "Low-level discovery, allows to automatically start monitoring new items, file systems or network interfaces among others."
  37221. msgstr ""
  37222. #. type: item
  37223. #: guix-git/doc/guix.texi:25196
  37224. #, no-wrap
  37225. msgid "Distributed monitoring with centralized web administration."
  37226. msgstr ""
  37227. #. type: item
  37228. #: guix-git/doc/guix.texi:25197
  37229. #, no-wrap
  37230. msgid "Native high performance agents."
  37231. msgstr ""
  37232. #. type: item
  37233. #: guix-git/doc/guix.texi:25198
  37234. #, no-wrap
  37235. msgid "SLA, and ITIL KPI metrics on reporting."
  37236. msgstr ""
  37237. #. type: item
  37238. #: guix-git/doc/guix.texi:25199
  37239. #, no-wrap
  37240. msgid "High-level (business) view of monitored resources through user-defined visual console screens and dashboards."
  37241. msgstr ""
  37242. #. type: item
  37243. #: guix-git/doc/guix.texi:25200
  37244. #, no-wrap
  37245. msgid "Remote command execution through Zabbix proxies."
  37246. msgstr ""
  37247. #. type: Plain text
  37248. #: guix-git/doc/guix.texi:25206
  37249. msgid "Available @code{zabbix-server-configuration} fields are:"
  37250. msgstr ""
  37251. #. type: deftypevr
  37252. #: guix-git/doc/guix.texi:25207
  37253. #, no-wrap
  37254. msgid "{@code{zabbix-server-configuration} parameter} package zabbix-server"
  37255. msgstr ""
  37256. #. type: deftypevr
  37257. #: guix-git/doc/guix.texi:25209
  37258. msgid "The zabbix-server package."
  37259. msgstr ""
  37260. #. type: deftypevr
  37261. #: guix-git/doc/guix.texi:25212
  37262. #, no-wrap
  37263. msgid "{@code{zabbix-server-configuration} parameter} string user"
  37264. msgstr ""
  37265. #. type: deftypevr
  37266. #: guix-git/doc/guix.texi:25214
  37267. msgid "User who will run the Zabbix server."
  37268. msgstr ""
  37269. #. type: deftypevr
  37270. #: guix-git/doc/guix.texi:25216 guix-git/doc/guix.texi:25223
  37271. #: guix-git/doc/guix.texi:25237 guix-git/doc/guix.texi:25244
  37272. #: guix-git/doc/guix.texi:25345 guix-git/doc/guix.texi:25352
  37273. #: guix-git/doc/guix.texi:25463 guix-git/doc/guix.texi:25470
  37274. msgid "Defaults to @samp{\"zabbix\"}."
  37275. msgstr ""
  37276. #. type: deftypevr
  37277. #: guix-git/doc/guix.texi:25219
  37278. #, no-wrap
  37279. msgid "{@code{zabbix-server-configuration} parameter} group group"
  37280. msgstr ""
  37281. #. type: deftypevr
  37282. #: guix-git/doc/guix.texi:25221
  37283. msgid "Group who will run the Zabbix server."
  37284. msgstr ""
  37285. #. type: deftypevr
  37286. #: guix-git/doc/guix.texi:25226
  37287. #, no-wrap
  37288. msgid "{@code{zabbix-server-configuration} parameter} string db-host"
  37289. msgstr ""
  37290. #. type: deftypevr
  37291. #: guix-git/doc/guix.texi:25228 guix-git/doc/guix.texi:25447
  37292. msgid "Database host name."
  37293. msgstr ""
  37294. #. type: deftypevr
  37295. #: guix-git/doc/guix.texi:25230
  37296. msgid "Defaults to @samp{\"127.0.0.1\"}."
  37297. msgstr ""
  37298. #. type: deftypevr
  37299. #: guix-git/doc/guix.texi:25233
  37300. #, no-wrap
  37301. msgid "{@code{zabbix-server-configuration} parameter} string db-name"
  37302. msgstr ""
  37303. #. type: deftypevr
  37304. #: guix-git/doc/guix.texi:25235 guix-git/doc/guix.texi:25461
  37305. msgid "Database name."
  37306. msgstr ""
  37307. #. type: deftypevr
  37308. #: guix-git/doc/guix.texi:25240
  37309. #, no-wrap
  37310. msgid "{@code{zabbix-server-configuration} parameter} string db-user"
  37311. msgstr ""
  37312. #. type: deftypevr
  37313. #: guix-git/doc/guix.texi:25242 guix-git/doc/guix.texi:25468
  37314. msgid "Database user."
  37315. msgstr ""
  37316. #. type: deftypevr
  37317. #: guix-git/doc/guix.texi:25247
  37318. #, no-wrap
  37319. msgid "{@code{zabbix-server-configuration} parameter} string db-password"
  37320. msgstr ""
  37321. #. type: deftypevr
  37322. #: guix-git/doc/guix.texi:25250
  37323. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  37324. msgstr ""
  37325. #. type: deftypevr
  37326. #: guix-git/doc/guix.texi:25255
  37327. #, no-wrap
  37328. msgid "{@code{zabbix-server-configuration} parameter} number db-port"
  37329. msgstr ""
  37330. #. type: deftypevr
  37331. #: guix-git/doc/guix.texi:25257 guix-git/doc/guix.texi:25454
  37332. msgid "Database port."
  37333. msgstr ""
  37334. #. type: deftypevr
  37335. #: guix-git/doc/guix.texi:25259 guix-git/doc/guix.texi:25456
  37336. msgid "Defaults to @samp{5432}."
  37337. msgstr ""
  37338. #. type: deftypevr
  37339. #: guix-git/doc/guix.texi:25262
  37340. #, no-wrap
  37341. msgid "{@code{zabbix-server-configuration} parameter} string log-type"
  37342. msgstr ""
  37343. #. type: deftypevr
  37344. #: guix-git/doc/guix.texi:25264 guix-git/doc/guix.texi:25365
  37345. msgid "Specifies where log messages are written to:"
  37346. msgstr ""
  37347. #. type: itemize
  37348. #: guix-git/doc/guix.texi:25268 guix-git/doc/guix.texi:25369
  37349. msgid "@code{system} - syslog."
  37350. msgstr ""
  37351. #. type: itemize
  37352. #: guix-git/doc/guix.texi:25271 guix-git/doc/guix.texi:25372
  37353. msgid "@code{file} - file specified with @code{log-file} parameter."
  37354. msgstr ""
  37355. #. type: itemize
  37356. #: guix-git/doc/guix.texi:25274 guix-git/doc/guix.texi:25375
  37357. msgid "@code{console} - standard output."
  37358. msgstr ""
  37359. #. type: deftypevr
  37360. #: guix-git/doc/guix.texi:25281
  37361. #, no-wrap
  37362. msgid "{@code{zabbix-server-configuration} parameter} string log-file"
  37363. msgstr ""
  37364. #. type: deftypevr
  37365. #: guix-git/doc/guix.texi:25283 guix-git/doc/guix.texi:25384
  37366. msgid "Log file name for @code{log-type} @code{file} parameter."
  37367. msgstr ""
  37368. #. type: deftypevr
  37369. #: guix-git/doc/guix.texi:25285
  37370. msgid "Defaults to @samp{\"/var/log/zabbix/server.log\"}."
  37371. msgstr ""
  37372. #. type: deftypevr
  37373. #: guix-git/doc/guix.texi:25288
  37374. #, no-wrap
  37375. msgid "{@code{zabbix-server-configuration} parameter} string pid-file"
  37376. msgstr ""
  37377. #. type: deftypevr
  37378. #: guix-git/doc/guix.texi:25290 guix-git/doc/guix.texi:25391
  37379. msgid "Name of PID file."
  37380. msgstr ""
  37381. #. type: deftypevr
  37382. #: guix-git/doc/guix.texi:25292
  37383. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_server.pid\"}."
  37384. msgstr ""
  37385. #. type: deftypevr
  37386. #: guix-git/doc/guix.texi:25295
  37387. #, no-wrap
  37388. msgid "{@code{zabbix-server-configuration} parameter} string ssl-ca-location"
  37389. msgstr ""
  37390. #. type: deftypevr
  37391. #: guix-git/doc/guix.texi:25298
  37392. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  37393. msgstr ""
  37394. #. type: deftypevr
  37395. #: guix-git/doc/guix.texi:25300
  37396. msgid "Defaults to @samp{\"/etc/ssl/certs/ca-certificates.crt\"}."
  37397. msgstr ""
  37398. #. type: deftypevr
  37399. #: guix-git/doc/guix.texi:25303
  37400. #, no-wrap
  37401. msgid "{@code{zabbix-server-configuration} parameter} string ssl-cert-location"
  37402. msgstr ""
  37403. #. type: deftypevr
  37404. #: guix-git/doc/guix.texi:25305
  37405. msgid "Location of SSL client certificates."
  37406. msgstr ""
  37407. #. type: deftypevr
  37408. #: guix-git/doc/guix.texi:25307
  37409. msgid "Defaults to @samp{\"/etc/ssl/certs\"}."
  37410. msgstr ""
  37411. #. type: deftypevr
  37412. #: guix-git/doc/guix.texi:25310
  37413. #, no-wrap
  37414. msgid "{@code{zabbix-server-configuration} parameter} string extra-options"
  37415. msgstr ""
  37416. #. type: deftypevr
  37417. #: guix-git/doc/guix.texi:25312 guix-git/doc/guix.texi:25416
  37418. msgid "Extra options will be appended to Zabbix server configuration file."
  37419. msgstr ""
  37420. #. type: deftypevr
  37421. #: guix-git/doc/guix.texi:25317
  37422. #, no-wrap
  37423. msgid "{@code{zabbix-server-configuration} parameter} include-files include-files"
  37424. msgstr ""
  37425. #. type: deftypevr
  37426. #: guix-git/doc/guix.texi:25320 guix-git/doc/guix.texi:25424
  37427. msgid "You may include individual files or all files in a directory in the configuration file."
  37428. msgstr ""
  37429. #. type: subsubheading
  37430. #: guix-git/doc/guix.texi:25327
  37431. #, no-wrap
  37432. msgid "Zabbix agent"
  37433. msgstr ""
  37434. #. type: cindex
  37435. #: guix-git/doc/guix.texi:25328
  37436. #, no-wrap
  37437. msgid "zabbix zabbix-agent"
  37438. msgstr ""
  37439. #. type: Plain text
  37440. #: guix-git/doc/guix.texi:25331
  37441. msgid "Zabbix agent gathers information for Zabbix server."
  37442. msgstr ""
  37443. #. type: Plain text
  37444. #: guix-git/doc/guix.texi:25335
  37445. msgid "Available @code{zabbix-agent-configuration} fields are:"
  37446. msgstr ""
  37447. #. type: deftypevr
  37448. #: guix-git/doc/guix.texi:25336
  37449. #, no-wrap
  37450. msgid "{@code{zabbix-agent-configuration} parameter} package zabbix-agent"
  37451. msgstr ""
  37452. #. type: deftypevr
  37453. #: guix-git/doc/guix.texi:25338
  37454. msgid "The zabbix-agent package."
  37455. msgstr ""
  37456. #. type: deftypevr
  37457. #: guix-git/doc/guix.texi:25341
  37458. #, no-wrap
  37459. msgid "{@code{zabbix-agent-configuration} parameter} string user"
  37460. msgstr ""
  37461. #. type: deftypevr
  37462. #: guix-git/doc/guix.texi:25343
  37463. msgid "User who will run the Zabbix agent."
  37464. msgstr ""
  37465. #. type: deftypevr
  37466. #: guix-git/doc/guix.texi:25348
  37467. #, no-wrap
  37468. msgid "{@code{zabbix-agent-configuration} parameter} group group"
  37469. msgstr ""
  37470. #. type: deftypevr
  37471. #: guix-git/doc/guix.texi:25350
  37472. msgid "Group who will run the Zabbix agent."
  37473. msgstr ""
  37474. #. type: deftypevr
  37475. #: guix-git/doc/guix.texi:25355
  37476. #, no-wrap
  37477. msgid "{@code{zabbix-agent-configuration} parameter} string hostname"
  37478. msgstr ""
  37479. #. type: deftypevr
  37480. #: guix-git/doc/guix.texi:25358
  37481. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  37482. msgstr ""
  37483. #. type: deftypevr
  37484. #: guix-git/doc/guix.texi:25363
  37485. #, no-wrap
  37486. msgid "{@code{zabbix-agent-configuration} parameter} string log-type"
  37487. msgstr ""
  37488. #. type: deftypevr
  37489. #: guix-git/doc/guix.texi:25382
  37490. #, no-wrap
  37491. msgid "{@code{zabbix-agent-configuration} parameter} string log-file"
  37492. msgstr ""
  37493. #. type: deftypevr
  37494. #: guix-git/doc/guix.texi:25386
  37495. msgid "Defaults to @samp{\"/var/log/zabbix/agent.log\"}."
  37496. msgstr ""
  37497. #. type: deftypevr
  37498. #: guix-git/doc/guix.texi:25389
  37499. #, no-wrap
  37500. msgid "{@code{zabbix-agent-configuration} parameter} string pid-file"
  37501. msgstr ""
  37502. #. type: deftypevr
  37503. #: guix-git/doc/guix.texi:25393
  37504. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_agent.pid\"}."
  37505. msgstr ""
  37506. #. type: deftypevr
  37507. #: guix-git/doc/guix.texi:25396
  37508. #, no-wrap
  37509. msgid "{@code{zabbix-agent-configuration} parameter} list server"
  37510. msgstr ""
  37511. #. type: deftypevr
  37512. #: guix-git/doc/guix.texi:25400
  37513. 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."
  37514. msgstr ""
  37515. #. type: deftypevr
  37516. #: guix-git/doc/guix.texi:25402 guix-git/doc/guix.texi:25411
  37517. msgid "Defaults to @samp{(\"127.0.0.1\")}."
  37518. msgstr ""
  37519. #. type: deftypevr
  37520. #: guix-git/doc/guix.texi:25405
  37521. #, no-wrap
  37522. msgid "{@code{zabbix-agent-configuration} parameter} list server-active"
  37523. msgstr ""
  37524. #. type: deftypevr
  37525. #: guix-git/doc/guix.texi:25409
  37526. 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."
  37527. msgstr ""
  37528. #. type: deftypevr
  37529. #: guix-git/doc/guix.texi:25414
  37530. #, no-wrap
  37531. msgid "{@code{zabbix-agent-configuration} parameter} string extra-options"
  37532. msgstr ""
  37533. #. type: deftypevr
  37534. #: guix-git/doc/guix.texi:25421
  37535. #, no-wrap
  37536. msgid "{@code{zabbix-agent-configuration} parameter} include-files include-files"
  37537. msgstr ""
  37538. #. type: subsubheading
  37539. #: guix-git/doc/guix.texi:25431
  37540. #, no-wrap
  37541. msgid "Zabbix front-end"
  37542. msgstr ""
  37543. #. type: cindex
  37544. #: guix-git/doc/guix.texi:25432
  37545. #, no-wrap
  37546. msgid "zabbix zabbix-front-end"
  37547. msgstr ""
  37548. #. type: Plain text
  37549. #: guix-git/doc/guix.texi:25435
  37550. msgid "This service provides a WEB interface to Zabbix server."
  37551. msgstr ""
  37552. #. type: Plain text
  37553. #: guix-git/doc/guix.texi:25439
  37554. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  37555. msgstr ""
  37556. #. type: deftypevr
  37557. #: guix-git/doc/guix.texi:25440
  37558. #, no-wrap
  37559. msgid "{@code{zabbix-front-end-configuration} parameter} nginx-server-configuration-list nginx"
  37560. msgstr ""
  37561. #. type: deftypevr
  37562. #: guix-git/doc/guix.texi:25442 guix-git/doc/guix.texi:31735
  37563. msgid "NGINX configuration."
  37564. msgstr ""
  37565. #. type: deftypevr
  37566. #: guix-git/doc/guix.texi:25445
  37567. #, no-wrap
  37568. msgid "{@code{zabbix-front-end-configuration} parameter} string db-host"
  37569. msgstr ""
  37570. #. type: deftypevr
  37571. #: guix-git/doc/guix.texi:25452
  37572. #, no-wrap
  37573. msgid "{@code{zabbix-front-end-configuration} parameter} number db-port"
  37574. msgstr ""
  37575. #. type: deftypevr
  37576. #: guix-git/doc/guix.texi:25459
  37577. #, no-wrap
  37578. msgid "{@code{zabbix-front-end-configuration} parameter} string db-name"
  37579. msgstr ""
  37580. #. type: deftypevr
  37581. #: guix-git/doc/guix.texi:25466
  37582. #, no-wrap
  37583. msgid "{@code{zabbix-front-end-configuration} parameter} string db-user"
  37584. msgstr ""
  37585. #. type: deftypevr
  37586. #: guix-git/doc/guix.texi:25473
  37587. #, no-wrap
  37588. msgid "{@code{zabbix-front-end-configuration} parameter} string db-password"
  37589. msgstr ""
  37590. #. type: deftypevr
  37591. #: guix-git/doc/guix.texi:25475
  37592. msgid "Database password. Please, use @code{db-secret-file} instead."
  37593. msgstr ""
  37594. #. type: deftypevr
  37595. #: guix-git/doc/guix.texi:25480
  37596. #, no-wrap
  37597. msgid "{@code{zabbix-front-end-configuration} parameter} string db-secret-file"
  37598. msgstr ""
  37599. #. type: deftypevr
  37600. #: guix-git/doc/guix.texi:25485
  37601. 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']}."
  37602. msgstr ""
  37603. #. type: deftypevr
  37604. #: guix-git/doc/guix.texi:25490
  37605. #, no-wrap
  37606. msgid "{@code{zabbix-front-end-configuration} parameter} string zabbix-host"
  37607. msgstr ""
  37608. #. type: deftypevr
  37609. #: guix-git/doc/guix.texi:25492
  37610. msgid "Zabbix server hostname."
  37611. msgstr ""
  37612. #. type: deftypevr
  37613. #: guix-git/doc/guix.texi:25497
  37614. #, no-wrap
  37615. msgid "{@code{zabbix-front-end-configuration} parameter} number zabbix-port"
  37616. msgstr ""
  37617. #. type: deftypevr
  37618. #: guix-git/doc/guix.texi:25499
  37619. msgid "Zabbix server port."
  37620. msgstr ""
  37621. #. type: deftypevr
  37622. #: guix-git/doc/guix.texi:25501
  37623. msgid "Defaults to @samp{10051}."
  37624. msgstr ""
  37625. #. type: cindex
  37626. #: guix-git/doc/guix.texi:25509
  37627. #, no-wrap
  37628. msgid "Kerberos"
  37629. msgstr ""
  37630. #. type: Plain text
  37631. #: guix-git/doc/guix.texi:25513
  37632. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  37633. msgstr ""
  37634. #. type: subsubheading
  37635. #: guix-git/doc/guix.texi:25514
  37636. #, no-wrap
  37637. msgid "Krb5 Service"
  37638. msgstr ""
  37639. #. type: Plain text
  37640. #: guix-git/doc/guix.texi:25521
  37641. 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."
  37642. msgstr ""
  37643. #. type: Plain text
  37644. #: guix-git/doc/guix.texi:25525
  37645. 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."
  37646. msgstr ""
  37647. #. type: defvr
  37648. #: guix-git/doc/guix.texi:25526
  37649. #, no-wrap
  37650. msgid "{Scheme Variable} krb5-service-type"
  37651. msgstr ""
  37652. #. type: defvr
  37653. #: guix-git/doc/guix.texi:25528
  37654. msgid "A service type for Kerberos 5 clients."
  37655. msgstr ""
  37656. #. type: Plain text
  37657. #: guix-git/doc/guix.texi:25532
  37658. msgid "Here is an example of its use:"
  37659. msgstr ""
  37660. #. type: lisp
  37661. #: guix-git/doc/guix.texi:25546
  37662. #, no-wrap
  37663. msgid ""
  37664. "(service krb5-service-type\n"
  37665. " (krb5-configuration\n"
  37666. " (default-realm \"EXAMPLE.COM\")\n"
  37667. " (allow-weak-crypto? #t)\n"
  37668. " (realms (list\n"
  37669. " (krb5-realm\n"
  37670. " (name \"EXAMPLE.COM\")\n"
  37671. " (admin-server \"groucho.example.com\")\n"
  37672. " (kdc \"karl.example.com\"))\n"
  37673. " (krb5-realm\n"
  37674. " (name \"ARGRX.EDU\")\n"
  37675. " (admin-server \"kerb-admin.argrx.edu\")\n"
  37676. " (kdc \"keys.argrx.edu\"))))))\n"
  37677. msgstr ""
  37678. #. type: Plain text
  37679. #: guix-git/doc/guix.texi:25550
  37680. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  37681. msgstr ""
  37682. #. type: item
  37683. #: guix-git/doc/guix.texi:25551
  37684. #, no-wrap
  37685. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  37686. msgstr ""
  37687. #. type: itemize
  37688. #: guix-git/doc/guix.texi:25553
  37689. msgid "of which have distinct administration servers and key distribution centers;"
  37690. msgstr ""
  37691. #. type: item
  37692. #: guix-git/doc/guix.texi:25553
  37693. #, no-wrap
  37694. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  37695. msgstr ""
  37696. #. type: itemize
  37697. #: guix-git/doc/guix.texi:25555
  37698. msgid "specified by clients;"
  37699. msgstr ""
  37700. #. type: item
  37701. #: guix-git/doc/guix.texi:25555
  37702. #, no-wrap
  37703. msgid "Accepts services which only support encryption types known to be weak."
  37704. msgstr ""
  37705. #. type: Plain text
  37706. #: guix-git/doc/guix.texi:25563
  37707. 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."
  37708. msgstr ""
  37709. #. type: deftp
  37710. #: guix-git/doc/guix.texi:25565
  37711. #, no-wrap
  37712. msgid "{Data Type} krb5-realm"
  37713. msgstr ""
  37714. #. type: cindex
  37715. #: guix-git/doc/guix.texi:25566
  37716. #, no-wrap
  37717. msgid "realm, kerberos"
  37718. msgstr ""
  37719. #. type: table
  37720. #: guix-git/doc/guix.texi:25572
  37721. 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."
  37722. msgstr ""
  37723. #. type: code{#1}
  37724. #: guix-git/doc/guix.texi:25573
  37725. #, no-wrap
  37726. msgid "admin-server"
  37727. msgstr ""
  37728. #. type: table
  37729. #: guix-git/doc/guix.texi:25576
  37730. msgid "This field is a string identifying the host where the administration server is running."
  37731. msgstr ""
  37732. #. type: code{#1}
  37733. #: guix-git/doc/guix.texi:25577
  37734. #, no-wrap
  37735. msgid "kdc"
  37736. msgstr ""
  37737. #. type: table
  37738. #: guix-git/doc/guix.texi:25580
  37739. msgid "This field is a string identifying the key distribution center for the realm."
  37740. msgstr ""
  37741. #. type: deftp
  37742. #: guix-git/doc/guix.texi:25583
  37743. #, no-wrap
  37744. msgid "{Data Type} krb5-configuration"
  37745. msgstr ""
  37746. #. type: item
  37747. #: guix-git/doc/guix.texi:25586
  37748. #, no-wrap
  37749. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  37750. msgstr ""
  37751. #. type: table
  37752. #: guix-git/doc/guix.texi:25589
  37753. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  37754. msgstr ""
  37755. #. type: item
  37756. #: guix-git/doc/guix.texi:25590
  37757. #, no-wrap
  37758. msgid "@code{default-realm} (default: @code{#f})"
  37759. msgstr ""
  37760. #. type: table
  37761. #: guix-git/doc/guix.texi:25597
  37762. 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}."
  37763. msgstr ""
  37764. #. type: code{#1}
  37765. #: guix-git/doc/guix.texi:25598
  37766. #, no-wrap
  37767. msgid "realms"
  37768. msgstr ""
  37769. #. type: table
  37770. #: guix-git/doc/guix.texi:25603
  37771. 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."
  37772. msgstr ""
  37773. #. type: subsubheading
  37774. #: guix-git/doc/guix.texi:25607
  37775. #, no-wrap
  37776. msgid "PAM krb5 Service"
  37777. msgstr ""
  37778. #. type: cindex
  37779. #: guix-git/doc/guix.texi:25608
  37780. #, no-wrap
  37781. msgid "pam-krb5"
  37782. msgstr ""
  37783. #. type: Plain text
  37784. #: guix-git/doc/guix.texi:25614
  37785. 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."
  37786. msgstr ""
  37787. #. type: defvr
  37788. #: guix-git/doc/guix.texi:25615
  37789. #, no-wrap
  37790. msgid "{Scheme Variable} pam-krb5-service-type"
  37791. msgstr ""
  37792. #. type: defvr
  37793. #: guix-git/doc/guix.texi:25617
  37794. msgid "A service type for the Kerberos 5 PAM module."
  37795. msgstr ""
  37796. #. type: deftp
  37797. #: guix-git/doc/guix.texi:25619
  37798. #, no-wrap
  37799. msgid "{Data Type} pam-krb5-configuration"
  37800. msgstr ""
  37801. #. type: deftp
  37802. #: guix-git/doc/guix.texi:25622
  37803. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  37804. msgstr ""
  37805. #. type: item
  37806. #: guix-git/doc/guix.texi:25623
  37807. #, no-wrap
  37808. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  37809. msgstr ""
  37810. #. type: table
  37811. #: guix-git/doc/guix.texi:25625
  37812. msgid "The pam-krb5 package to use."
  37813. msgstr ""
  37814. #. type: item
  37815. #: guix-git/doc/guix.texi:25626
  37816. #, no-wrap
  37817. msgid "@code{minimum-uid} (default: @code{1000})"
  37818. msgstr ""
  37819. #. type: table
  37820. #: guix-git/doc/guix.texi:25629
  37821. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  37822. msgstr ""
  37823. #. type: cindex
  37824. #: guix-git/doc/guix.texi:25635
  37825. #, no-wrap
  37826. msgid "LDAP"
  37827. msgstr ""
  37828. #. type: cindex
  37829. #: guix-git/doc/guix.texi:25636
  37830. #, no-wrap
  37831. msgid "nslcd, LDAP service"
  37832. msgstr ""
  37833. #. type: Plain text
  37834. #: guix-git/doc/guix.texi:25643
  37835. 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."
  37836. msgstr ""
  37837. #. type: Plain text
  37838. #: guix-git/doc/guix.texi:25647
  37839. 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:"
  37840. msgstr ""
  37841. #. type: lisp
  37842. #: guix-git/doc/guix.texi:25670
  37843. #, no-wrap
  37844. msgid ""
  37845. "(use-service-modules authentication)\n"
  37846. "(use-modules (gnu system nss))\n"
  37847. "...\n"
  37848. "(operating-system\n"
  37849. " ...\n"
  37850. " (services\n"
  37851. " (cons*\n"
  37852. " (service nslcd-service-type)\n"
  37853. " (service dhcp-client-service-type)\n"
  37854. " %base-services))\n"
  37855. " (name-service-switch\n"
  37856. " (let ((services (list (name-service (name \"db\"))\n"
  37857. " (name-service (name \"files\"))\n"
  37858. " (name-service (name \"ldap\")))))\n"
  37859. " (name-service-switch\n"
  37860. " (inherit %mdns-host-lookup-nss)\n"
  37861. " (password services)\n"
  37862. " (shadow services)\n"
  37863. " (group services)\n"
  37864. " (netgroup services)\n"
  37865. " (gshadow services)))))\n"
  37866. msgstr ""
  37867. #. type: Plain text
  37868. #: guix-git/doc/guix.texi:25675
  37869. msgid "Available @code{nslcd-configuration} fields are:"
  37870. msgstr ""
  37871. #. type: deftypevr
  37872. #: guix-git/doc/guix.texi:25676
  37873. #, no-wrap
  37874. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  37875. msgstr ""
  37876. #. type: deftypevr
  37877. #: guix-git/doc/guix.texi:25678
  37878. msgid "The @code{nss-pam-ldapd} package to use."
  37879. msgstr ""
  37880. #. type: deftypevr
  37881. #: guix-git/doc/guix.texi:25681
  37882. #, no-wrap
  37883. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  37884. msgstr ""
  37885. #. type: deftypevr
  37886. #: guix-git/doc/guix.texi:25685
  37887. 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."
  37888. msgstr ""
  37889. #. type: deftypevr
  37890. #: guix-git/doc/guix.texi:25690
  37891. #, no-wrap
  37892. msgid "{@code{nslcd-configuration} parameter} string uid"
  37893. msgstr ""
  37894. #. type: deftypevr
  37895. #: guix-git/doc/guix.texi:25692
  37896. msgid "This specifies the user id with which the daemon should be run."
  37897. msgstr ""
  37898. #. type: deftypevr
  37899. #: guix-git/doc/guix.texi:25694 guix-git/doc/guix.texi:25701
  37900. msgid "Defaults to @samp{\"nslcd\"}."
  37901. msgstr ""
  37902. #. type: deftypevr
  37903. #: guix-git/doc/guix.texi:25697
  37904. #, no-wrap
  37905. msgid "{@code{nslcd-configuration} parameter} string gid"
  37906. msgstr ""
  37907. #. type: deftypevr
  37908. #: guix-git/doc/guix.texi:25699
  37909. msgid "This specifies the group id with which the daemon should be run."
  37910. msgstr ""
  37911. #. type: deftypevr
  37912. #: guix-git/doc/guix.texi:25704
  37913. #, no-wrap
  37914. msgid "{@code{nslcd-configuration} parameter} log-option log"
  37915. msgstr ""
  37916. #. type: deftypevr
  37917. #: guix-git/doc/guix.texi:25712
  37918. 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."
  37919. msgstr ""
  37920. #. type: deftypevr
  37921. #: guix-git/doc/guix.texi:25714
  37922. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  37923. msgstr ""
  37924. #. type: deftypevr
  37925. #: guix-git/doc/guix.texi:25717
  37926. #, no-wrap
  37927. msgid "{@code{nslcd-configuration} parameter} list uri"
  37928. msgstr ""
  37929. #. type: deftypevr
  37930. #: guix-git/doc/guix.texi:25720
  37931. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  37932. msgstr ""
  37933. #. type: deftypevr
  37934. #: guix-git/doc/guix.texi:25722
  37935. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  37936. msgstr ""
  37937. #. type: deftypevr
  37938. #: guix-git/doc/guix.texi:25725
  37939. #, no-wrap
  37940. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  37941. msgstr ""
  37942. #. type: deftypevr
  37943. #: guix-git/doc/guix.texi:25728
  37944. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  37945. msgstr ""
  37946. #. type: deftypevr
  37947. #: guix-git/doc/guix.texi:25733
  37948. #, no-wrap
  37949. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  37950. msgstr ""
  37951. #. type: deftypevr
  37952. #: guix-git/doc/guix.texi:25736
  37953. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  37954. msgstr ""
  37955. #. type: deftypevr
  37956. #: guix-git/doc/guix.texi:25741
  37957. #, no-wrap
  37958. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  37959. msgstr ""
  37960. #. type: deftypevr
  37961. #: guix-git/doc/guix.texi:25744
  37962. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  37963. msgstr ""
  37964. #. type: deftypevr
  37965. #: guix-git/doc/guix.texi:25749
  37966. #, no-wrap
  37967. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  37968. msgstr ""
  37969. #. type: deftypevr
  37970. #: guix-git/doc/guix.texi:25752
  37971. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  37972. msgstr ""
  37973. #. type: deftypevr
  37974. #: guix-git/doc/guix.texi:25757
  37975. #, no-wrap
  37976. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  37977. msgstr ""
  37978. #. type: deftypevr
  37979. #: guix-git/doc/guix.texi:25761
  37980. 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"
  37981. msgstr ""
  37982. #. type: deftypevr
  37983. #: guix-git/doc/guix.texi:25766
  37984. #, no-wrap
  37985. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  37986. msgstr ""
  37987. #. type: deftypevr
  37988. #: guix-git/doc/guix.texi:25769
  37989. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  37990. msgstr ""
  37991. #. type: deftypevr
  37992. #: guix-git/doc/guix.texi:25774
  37993. #, no-wrap
  37994. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  37995. msgstr ""
  37996. #. type: deftypevr
  37997. #: guix-git/doc/guix.texi:25776
  37998. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  37999. msgstr ""
  38000. #. type: deftypevr
  38001. #: guix-git/doc/guix.texi:25781
  38002. #, no-wrap
  38003. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  38004. msgstr ""
  38005. #. type: deftypevr
  38006. #: guix-git/doc/guix.texi:25784
  38007. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  38008. msgstr ""
  38009. #. type: deftypevr
  38010. #: guix-git/doc/guix.texi:25789
  38011. #, no-wrap
  38012. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  38013. msgstr ""
  38014. #. type: deftypevr
  38015. #: guix-git/doc/guix.texi:25792
  38016. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  38017. msgstr ""
  38018. #. type: deftypevr
  38019. #: guix-git/doc/guix.texi:25797
  38020. #, no-wrap
  38021. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  38022. msgstr ""
  38023. #. type: deftypevr
  38024. #: guix-git/doc/guix.texi:25802
  38025. 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."
  38026. msgstr ""
  38027. #. type: deftypevr
  38028. #: guix-git/doc/guix.texi:25807
  38029. #, no-wrap
  38030. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  38031. msgstr ""
  38032. #. type: deftypevr
  38033. #: guix-git/doc/guix.texi:25809
  38034. msgid "Set the name for the GSS-API Kerberos credentials cache."
  38035. msgstr ""
  38036. #. type: deftypevr
  38037. #: guix-git/doc/guix.texi:25814
  38038. #, no-wrap
  38039. msgid "{@code{nslcd-configuration} parameter} string base"
  38040. msgstr ""
  38041. #. type: deftypevr
  38042. #: guix-git/doc/guix.texi:25816
  38043. msgid "The directory search base."
  38044. msgstr ""
  38045. #. type: deftypevr
  38046. #: guix-git/doc/guix.texi:25818
  38047. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  38048. msgstr ""
  38049. #. type: deftypevr
  38050. #: guix-git/doc/guix.texi:25821
  38051. #, no-wrap
  38052. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  38053. msgstr ""
  38054. #. type: deftypevr
  38055. #: guix-git/doc/guix.texi:25825
  38056. 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."
  38057. msgstr ""
  38058. #. type: deftypevr
  38059. #: guix-git/doc/guix.texi:25827
  38060. msgid "Defaults to @samp{(subtree)}."
  38061. msgstr ""
  38062. #. type: deftypevr
  38063. #: guix-git/doc/guix.texi:25830
  38064. #, no-wrap
  38065. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  38066. msgstr ""
  38067. #. type: deftypevr
  38068. #: guix-git/doc/guix.texi:25833
  38069. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  38070. msgstr ""
  38071. #. type: deftypevr
  38072. #: guix-git/doc/guix.texi:25838
  38073. #, no-wrap
  38074. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  38075. msgstr ""
  38076. #. type: deftypevr
  38077. #: guix-git/doc/guix.texi:25841
  38078. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  38079. msgstr ""
  38080. #. type: deftypevr
  38081. #: guix-git/doc/guix.texi:25846
  38082. #, no-wrap
  38083. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  38084. msgstr ""
  38085. #. type: deftypevr
  38086. #: guix-git/doc/guix.texi:25851
  38087. 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."
  38088. msgstr ""
  38089. #. type: deftypevr
  38090. #: guix-git/doc/guix.texi:25856
  38091. #, no-wrap
  38092. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  38093. msgstr ""
  38094. #. type: deftypevr
  38095. #: guix-git/doc/guix.texi:25859
  38096. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  38097. msgstr ""
  38098. #. type: deftypevr
  38099. #: guix-git/doc/guix.texi:25864
  38100. #, no-wrap
  38101. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  38102. msgstr ""
  38103. #. type: deftypevr
  38104. #: guix-git/doc/guix.texi:25867
  38105. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  38106. msgstr ""
  38107. #. type: deftypevr
  38108. #: guix-git/doc/guix.texi:25872
  38109. #, no-wrap
  38110. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  38111. msgstr ""
  38112. #. type: deftypevr
  38113. #: guix-git/doc/guix.texi:25876
  38114. 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."
  38115. msgstr ""
  38116. #. type: deftypevr
  38117. #: guix-git/doc/guix.texi:25881
  38118. #, no-wrap
  38119. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  38120. msgstr ""
  38121. #. type: deftypevr
  38122. #: guix-git/doc/guix.texi:25885
  38123. 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."
  38124. msgstr ""
  38125. #. type: deftypevr
  38126. #: guix-git/doc/guix.texi:25890
  38127. #, no-wrap
  38128. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  38129. msgstr ""
  38130. #. type: deftypevr
  38131. #: guix-git/doc/guix.texi:25894
  38132. 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."
  38133. msgstr ""
  38134. #. type: deftypevr
  38135. #: guix-git/doc/guix.texi:25899
  38136. #, no-wrap
  38137. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  38138. msgstr ""
  38139. #. type: deftypevr
  38140. #: guix-git/doc/guix.texi:25903
  38141. 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."
  38142. msgstr ""
  38143. #. type: deftypevr
  38144. #: guix-git/doc/guix.texi:25908
  38145. #, no-wrap
  38146. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  38147. msgstr ""
  38148. #. type: deftypevr
  38149. #: guix-git/doc/guix.texi:25912
  38150. 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."
  38151. msgstr ""
  38152. #. type: deftypevr
  38153. #: guix-git/doc/guix.texi:25917
  38154. #, no-wrap
  38155. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  38156. msgstr ""
  38157. #. type: deftypevr
  38158. #: guix-git/doc/guix.texi:25920
  38159. 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."
  38160. msgstr ""
  38161. #. type: deftypevr
  38162. #: guix-git/doc/guix.texi:25925
  38163. #, no-wrap
  38164. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  38165. msgstr ""
  38166. #. type: deftypevr
  38167. #: guix-git/doc/guix.texi:25928
  38168. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  38169. msgstr ""
  38170. #. type: deftypevr
  38171. #: guix-git/doc/guix.texi:25933
  38172. #, no-wrap
  38173. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  38174. msgstr ""
  38175. #. type: deftypevr
  38176. #: guix-git/doc/guix.texi:25935
  38177. msgid "Specifies the path to the X.509 certificate for peer authentication."
  38178. msgstr ""
  38179. #. type: deftypevr
  38180. #: guix-git/doc/guix.texi:25940
  38181. #, no-wrap
  38182. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  38183. msgstr ""
  38184. #. type: deftypevr
  38185. #: guix-git/doc/guix.texi:25943
  38186. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  38187. msgstr ""
  38188. #. type: deftypevr
  38189. #: guix-git/doc/guix.texi:25948
  38190. #, no-wrap
  38191. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  38192. msgstr ""
  38193. #. type: deftypevr
  38194. #: guix-git/doc/guix.texi:25950
  38195. msgid "Specifies the ciphers to use for TLS as a string."
  38196. msgstr ""
  38197. #. type: deftypevr
  38198. #: guix-git/doc/guix.texi:25955
  38199. #, no-wrap
  38200. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  38201. msgstr ""
  38202. #. type: deftypevr
  38203. #: guix-git/doc/guix.texi:25958
  38204. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  38205. msgstr ""
  38206. #. type: deftypevr
  38207. #: guix-git/doc/guix.texi:25963
  38208. #, no-wrap
  38209. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  38210. msgstr ""
  38211. #. type: deftypevr
  38212. #: guix-git/doc/guix.texi:25966
  38213. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  38214. msgstr ""
  38215. #. type: deftypevr
  38216. #: guix-git/doc/guix.texi:25971
  38217. #, no-wrap
  38218. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  38219. msgstr ""
  38220. #. type: deftypevr
  38221. #: guix-git/doc/guix.texi:25975
  38222. 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."
  38223. msgstr ""
  38224. #. type: deftypevr
  38225. #: guix-git/doc/guix.texi:25980
  38226. #, no-wrap
  38227. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  38228. msgstr ""
  38229. #. type: deftypevr
  38230. #: guix-git/doc/guix.texi:25984
  38231. 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."
  38232. msgstr ""
  38233. #. type: deftypevr
  38234. #: guix-git/doc/guix.texi:25989
  38235. #, no-wrap
  38236. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  38237. msgstr ""
  38238. #. type: deftypevr
  38239. #: guix-git/doc/guix.texi:25992
  38240. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  38241. msgstr ""
  38242. #. type: deftypevr
  38243. #: guix-git/doc/guix.texi:25997
  38244. #, no-wrap
  38245. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  38246. msgstr ""
  38247. #. type: deftypevr
  38248. #: guix-git/doc/guix.texi:26000
  38249. 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."
  38250. msgstr ""
  38251. #. type: deftypevr
  38252. #: guix-git/doc/guix.texi:26005
  38253. #, no-wrap
  38254. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  38255. msgstr ""
  38256. #. type: deftypevr
  38257. #: guix-git/doc/guix.texi:26008
  38258. 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."
  38259. msgstr ""
  38260. #. type: deftypevr
  38261. #: guix-git/doc/guix.texi:26013
  38262. #, no-wrap
  38263. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  38264. msgstr ""
  38265. #. type: deftypevr
  38266. #: guix-git/doc/guix.texi:26019
  38267. 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."
  38268. msgstr ""
  38269. #. type: deftypevr
  38270. #: guix-git/doc/guix.texi:26024
  38271. #, no-wrap
  38272. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  38273. msgstr ""
  38274. #. type: deftypevr
  38275. #: guix-git/doc/guix.texi:26029
  38276. 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."
  38277. msgstr ""
  38278. #. type: deftypevr
  38279. #: guix-git/doc/guix.texi:26034
  38280. #, no-wrap
  38281. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  38282. msgstr ""
  38283. #. type: deftypevr
  38284. #: guix-git/doc/guix.texi:26040
  38285. 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."
  38286. msgstr ""
  38287. #. type: deftypevr
  38288. #: guix-git/doc/guix.texi:26045
  38289. #, no-wrap
  38290. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  38291. msgstr ""
  38292. #. type: deftypevr
  38293. #: guix-git/doc/guix.texi:26049
  38294. 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."
  38295. msgstr ""
  38296. #. type: deftypevr
  38297. #: guix-git/doc/guix.texi:26054
  38298. #, no-wrap
  38299. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  38300. msgstr ""
  38301. #. type: deftypevr
  38302. #: guix-git/doc/guix.texi:26059
  38303. 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."
  38304. msgstr ""
  38305. #. type: deftypevr
  38306. #: guix-git/doc/guix.texi:26064
  38307. #, no-wrap
  38308. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  38309. msgstr ""
  38310. #. type: deftypevr
  38311. #: guix-git/doc/guix.texi:26067
  38312. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  38313. msgstr ""
  38314. #. type: deftypevr
  38315. #: guix-git/doc/guix.texi:26072
  38316. #, no-wrap
  38317. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  38318. msgstr ""
  38319. #. type: deftypevr
  38320. #: guix-git/doc/guix.texi:26078
  38321. 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."
  38322. msgstr ""
  38323. #. type: deftypevr
  38324. #: guix-git/doc/guix.texi:26083
  38325. #, no-wrap
  38326. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  38327. msgstr ""
  38328. #. type: deftypevr
  38329. #: guix-git/doc/guix.texi:26087
  38330. 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."
  38331. msgstr ""
  38332. #. type: deftypevr
  38333. #: guix-git/doc/guix.texi:26092
  38334. #, no-wrap
  38335. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  38336. msgstr ""
  38337. #. type: deftypevr
  38338. #: guix-git/doc/guix.texi:26097
  38339. 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."
  38340. msgstr ""
  38341. #. type: deftypevr
  38342. #: guix-git/doc/guix.texi:26102
  38343. #, no-wrap
  38344. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  38345. msgstr ""
  38346. #. type: deftypevr
  38347. #: guix-git/doc/guix.texi:26104
  38348. msgid "List of pam service names for which LDAP authentication should suffice."
  38349. msgstr ""
  38350. #. type: cindex
  38351. #: guix-git/doc/guix.texi:26115
  38352. #, no-wrap
  38353. msgid "web"
  38354. msgstr ""
  38355. #. type: cindex
  38356. #: guix-git/doc/guix.texi:26116
  38357. #, no-wrap
  38358. msgid "www"
  38359. msgstr ""
  38360. #. type: cindex
  38361. #: guix-git/doc/guix.texi:26117
  38362. #, no-wrap
  38363. msgid "HTTP"
  38364. msgstr ""
  38365. #. type: Plain text
  38366. #: guix-git/doc/guix.texi:26120
  38367. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  38368. msgstr ""
  38369. #. type: subsubheading
  38370. #: guix-git/doc/guix.texi:26121
  38371. #, no-wrap
  38372. msgid "Apache HTTP Server"
  38373. msgstr ""
  38374. #. type: deffn
  38375. #: guix-git/doc/guix.texi:26123
  38376. #, no-wrap
  38377. msgid "{Scheme Variable} httpd-service-type"
  38378. msgstr ""
  38379. #. type: deffn
  38380. #: guix-git/doc/guix.texi:26127
  38381. 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."
  38382. msgstr ""
  38383. #. type: deffn
  38384. #: guix-git/doc/guix.texi:26129 guix-git/doc/guix.texi:26311
  38385. msgid "A simple example configuration is given below."
  38386. msgstr ""
  38387. #. type: lisp
  38388. #: guix-git/doc/guix.texi:26137
  38389. #, no-wrap
  38390. msgid ""
  38391. "(service httpd-service-type\n"
  38392. " (httpd-configuration\n"
  38393. " (config\n"
  38394. " (httpd-config-file\n"
  38395. " (server-name \"www.example.com\")\n"
  38396. " (document-root \"/srv/http/www.example.com\")))))\n"
  38397. msgstr ""
  38398. #. type: deffn
  38399. #: guix-git/doc/guix.texi:26141
  38400. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  38401. msgstr ""
  38402. #. type: lisp
  38403. #: guix-git/doc/guix.texi:26150 guix-git/doc/guix.texi:26290
  38404. #, no-wrap
  38405. msgid ""
  38406. "(simple-service 'www.example.com-server httpd-service-type\n"
  38407. " (list\n"
  38408. " (httpd-virtualhost\n"
  38409. " \"*:80\"\n"
  38410. " (list (string-join '(\"ServerName www.example.com\"\n"
  38411. " \"DocumentRoot /srv/http/www.example.com\")\n"
  38412. " \"\\n\")))))\n"
  38413. msgstr ""
  38414. #. type: Plain text
  38415. #: guix-git/doc/guix.texi:26156
  38416. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  38417. msgstr ""
  38418. #. type: deffn
  38419. #: guix-git/doc/guix.texi:26157
  38420. #, no-wrap
  38421. msgid "{Data Type} httpd-configuration"
  38422. msgstr ""
  38423. #. type: deffn
  38424. #: guix-git/doc/guix.texi:26159
  38425. msgid "This data type represents the configuration for the httpd service."
  38426. msgstr ""
  38427. #. type: item
  38428. #: guix-git/doc/guix.texi:26161
  38429. #, no-wrap
  38430. msgid "@code{package} (default: @code{httpd})"
  38431. msgstr ""
  38432. #. type: table
  38433. #: guix-git/doc/guix.texi:26163
  38434. msgid "The httpd package to use."
  38435. msgstr ""
  38436. #. type: item
  38437. #: guix-git/doc/guix.texi:26164 guix-git/doc/guix.texi:26253
  38438. #, no-wrap
  38439. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  38440. msgstr ""
  38441. #. type: table
  38442. #: guix-git/doc/guix.texi:26166
  38443. msgid "The pid file used by the shepherd-service."
  38444. msgstr ""
  38445. #. type: item
  38446. #: guix-git/doc/guix.texi:26167
  38447. #, no-wrap
  38448. msgid "@code{config} (default: @code{(httpd-config-file)})"
  38449. msgstr ""
  38450. #. type: table
  38451. #: guix-git/doc/guix.texi:26172
  38452. 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."
  38453. msgstr ""
  38454. #. type: deffn
  38455. #: guix-git/doc/guix.texi:26176
  38456. #, no-wrap
  38457. msgid "{Data Type} httpd-module"
  38458. msgstr ""
  38459. #. type: deffn
  38460. #: guix-git/doc/guix.texi:26178
  38461. msgid "This data type represents a module for the httpd service."
  38462. msgstr ""
  38463. #. type: table
  38464. #: guix-git/doc/guix.texi:26182
  38465. msgid "The name of the module."
  38466. msgstr ""
  38467. #. type: table
  38468. #: guix-git/doc/guix.texi:26188
  38469. 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\")}."
  38470. msgstr ""
  38471. #. type: defvr
  38472. #: guix-git/doc/guix.texi:26192
  38473. #, no-wrap
  38474. msgid "{Scheme Variable} %default-httpd-modules"
  38475. msgstr ""
  38476. #. type: defvr
  38477. #: guix-git/doc/guix.texi:26194
  38478. msgid "A default list of @code{httpd-module} objects."
  38479. msgstr ""
  38480. #. type: deffn
  38481. #: guix-git/doc/guix.texi:26196
  38482. #, no-wrap
  38483. msgid "{Data Type} httpd-config-file"
  38484. msgstr ""
  38485. #. type: deffn
  38486. #: guix-git/doc/guix.texi:26198
  38487. msgid "This data type represents a configuration file for the httpd service."
  38488. msgstr ""
  38489. #. type: item
  38490. #: guix-git/doc/guix.texi:26200
  38491. #, no-wrap
  38492. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  38493. msgstr ""
  38494. #. type: table
  38495. #: guix-git/doc/guix.texi:26203
  38496. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  38497. msgstr ""
  38498. #. type: table
  38499. #: guix-git/doc/guix.texi:26206
  38500. 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}:"
  38501. msgstr ""
  38502. #. type: lisp
  38503. #: guix-git/doc/guix.texi:26228
  38504. #, no-wrap
  38505. msgid ""
  38506. "(service httpd-service-type\n"
  38507. " (httpd-configuration\n"
  38508. " (config\n"
  38509. " (httpd-config-file\n"
  38510. " (modules (cons*\n"
  38511. " (httpd-module\n"
  38512. " (name \"proxy_module\")\n"
  38513. " (file \"modules/mod_proxy.so\"))\n"
  38514. " (httpd-module\n"
  38515. " (name \"proxy_fcgi_module\")\n"
  38516. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  38517. " %default-httpd-modules))\n"
  38518. " (extra-config (list \"\\\n"
  38519. "<FilesMatch \\\\.php$>\n"
  38520. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  38521. "</FilesMatch>\"))))))\n"
  38522. "(service php-fpm-service-type\n"
  38523. " (php-fpm-configuration\n"
  38524. " (socket \"/var/run/php-fpm.sock\")\n"
  38525. " (socket-group \"httpd\")))\n"
  38526. msgstr ""
  38527. #. type: item
  38528. #: guix-git/doc/guix.texi:26230
  38529. #, no-wrap
  38530. msgid "@code{server-root} (default: @code{httpd})"
  38531. msgstr ""
  38532. #. type: table
  38533. #: guix-git/doc/guix.texi:26234
  38534. 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."
  38535. msgstr ""
  38536. #. type: item
  38537. #: guix-git/doc/guix.texi:26235
  38538. #, no-wrap
  38539. msgid "@code{server-name} (default: @code{#f})"
  38540. msgstr ""
  38541. #. type: table
  38542. #: guix-git/doc/guix.texi:26239
  38543. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  38544. msgstr ""
  38545. #. type: table
  38546. #: guix-git/doc/guix.texi:26243
  38547. 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}."
  38548. msgstr ""
  38549. #. type: item
  38550. #: guix-git/doc/guix.texi:26244
  38551. #, no-wrap
  38552. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  38553. msgstr ""
  38554. #. type: table
  38555. #: guix-git/doc/guix.texi:26246
  38556. msgid "The @code{DocumentRoot} from which files will be served."
  38557. msgstr ""
  38558. #. type: item
  38559. #: guix-git/doc/guix.texi:26247
  38560. #, no-wrap
  38561. msgid "@code{listen} (default: @code{'(\"80\")})"
  38562. msgstr ""
  38563. #. type: table
  38564. #: guix-git/doc/guix.texi:26252
  38565. 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."
  38566. msgstr ""
  38567. #. type: table
  38568. #: guix-git/doc/guix.texi:26257
  38569. 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."
  38570. msgstr ""
  38571. #. type: item
  38572. #: guix-git/doc/guix.texi:26258
  38573. #, no-wrap
  38574. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  38575. msgstr ""
  38576. #. type: table
  38577. #: guix-git/doc/guix.texi:26260
  38578. msgid "The @code{ErrorLog} to which the server will log errors."
  38579. msgstr ""
  38580. #. type: item
  38581. #: guix-git/doc/guix.texi:26261 guix-git/doc/guix.texi:26823
  38582. #, no-wrap
  38583. msgid "@code{user} (default: @code{\"httpd\"})"
  38584. msgstr ""
  38585. #. type: table
  38586. #: guix-git/doc/guix.texi:26263
  38587. msgid "The @code{User} which the server will answer requests as."
  38588. msgstr ""
  38589. #. type: item
  38590. #: guix-git/doc/guix.texi:26264
  38591. #, no-wrap
  38592. msgid "@code{group} (default: @code{\"httpd\"})"
  38593. msgstr ""
  38594. #. type: table
  38595. #: guix-git/doc/guix.texi:26266
  38596. msgid "The @code{Group} which the server will answer requests as."
  38597. msgstr ""
  38598. #. type: item
  38599. #: guix-git/doc/guix.texi:26267
  38600. #, no-wrap
  38601. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  38602. msgstr ""
  38603. #. type: table
  38604. #: guix-git/doc/guix.texi:26270
  38605. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  38606. msgstr ""
  38607. #. type: table
  38608. #: guix-git/doc/guix.texi:26273
  38609. msgid "Any values which the service is extended with will be appended to this list."
  38610. msgstr ""
  38611. #. type: deffn
  38612. #: guix-git/doc/guix.texi:26277
  38613. #, no-wrap
  38614. msgid "{Data Type} httpd-virtualhost"
  38615. msgstr ""
  38616. #. type: deffn
  38617. #: guix-git/doc/guix.texi:26279
  38618. msgid "This data type represents a virtualhost configuration block for the httpd service."
  38619. msgstr ""
  38620. #. type: deffn
  38621. #: guix-git/doc/guix.texi:26281
  38622. msgid "These should be added to the extra-config for the httpd-service."
  38623. msgstr ""
  38624. #. type: code{#1}
  38625. #: guix-git/doc/guix.texi:26293
  38626. #, no-wrap
  38627. msgid "addresses-and-ports"
  38628. msgstr ""
  38629. #. type: table
  38630. #: guix-git/doc/guix.texi:26295
  38631. msgid "The addresses and ports for the @code{VirtualHost} directive."
  38632. msgstr ""
  38633. #. type: code{#1}
  38634. #: guix-git/doc/guix.texi:26296
  38635. #, no-wrap
  38636. msgid "contents"
  38637. msgstr ""
  38638. #. type: table
  38639. #: guix-git/doc/guix.texi:26299
  38640. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  38641. msgstr ""
  38642. #. type: subsubheading
  38643. #: guix-git/doc/guix.texi:26304
  38644. #, no-wrap
  38645. msgid "NGINX"
  38646. msgstr ""
  38647. #. type: deffn
  38648. #: guix-git/doc/guix.texi:26306
  38649. #, no-wrap
  38650. msgid "{Scheme Variable} nginx-service-type"
  38651. msgstr ""
  38652. #. type: deffn
  38653. #: guix-git/doc/guix.texi:26309
  38654. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  38655. msgstr ""
  38656. #. type: lisp
  38657. #: guix-git/doc/guix.texi:26319 guix-git/doc/guix.texi:26373
  38658. #, no-wrap
  38659. msgid ""
  38660. "(service nginx-service-type\n"
  38661. " (nginx-configuration\n"
  38662. " (server-blocks\n"
  38663. " (list (nginx-server-configuration\n"
  38664. " (server-name '(\"www.example.com\"))\n"
  38665. " (root \"/srv/http/www.example.com\"))))))\n"
  38666. msgstr ""
  38667. #. type: deffn
  38668. #: guix-git/doc/guix.texi:26324
  38669. 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:"
  38670. msgstr ""
  38671. #. type: lisp
  38672. #: guix-git/doc/guix.texi:26330
  38673. #, no-wrap
  38674. msgid ""
  38675. "(simple-service 'my-extra-server nginx-service-type\n"
  38676. " (list (nginx-server-configuration\n"
  38677. " (root \"/srv/http/extra-website\")\n"
  38678. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  38679. msgstr ""
  38680. #. type: Plain text
  38681. #: guix-git/doc/guix.texi:26341
  38682. 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."
  38683. msgstr ""
  38684. #. type: deffn
  38685. #: guix-git/doc/guix.texi:26342
  38686. #, no-wrap
  38687. msgid "{Data Type} nginx-configuration"
  38688. msgstr ""
  38689. #. type: deffn
  38690. #: guix-git/doc/guix.texi:26346
  38691. 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."
  38692. msgstr ""
  38693. #. type: item
  38694. #: guix-git/doc/guix.texi:26348
  38695. #, no-wrap
  38696. msgid "@code{nginx} (default: @code{nginx})"
  38697. msgstr ""
  38698. #. type: table
  38699. #: guix-git/doc/guix.texi:26350
  38700. msgid "The nginx package to use."
  38701. msgstr ""
  38702. #. type: item
  38703. #: guix-git/doc/guix.texi:26351
  38704. #, no-wrap
  38705. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  38706. msgstr ""
  38707. #. type: table
  38708. #: guix-git/doc/guix.texi:26353
  38709. msgid "The directory to which NGinx will write log files."
  38710. msgstr ""
  38711. #. type: item
  38712. #: guix-git/doc/guix.texi:26354
  38713. #, no-wrap
  38714. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  38715. msgstr ""
  38716. #. type: table
  38717. #: guix-git/doc/guix.texi:26357
  38718. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  38719. msgstr ""
  38720. #. type: item
  38721. #: guix-git/doc/guix.texi:26358
  38722. #, no-wrap
  38723. msgid "@code{server-blocks} (default: @code{'()})"
  38724. msgstr ""
  38725. #. type: table
  38726. #: guix-git/doc/guix.texi:26362
  38727. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  38728. msgstr ""
  38729. #. type: table
  38730. #: guix-git/doc/guix.texi:26366
  38731. 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."
  38732. msgstr ""
  38733. #. type: item
  38734. #: guix-git/doc/guix.texi:26375
  38735. #, no-wrap
  38736. msgid "@code{upstream-blocks} (default: @code{'()})"
  38737. msgstr ""
  38738. #. type: table
  38739. #: guix-git/doc/guix.texi:26379
  38740. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  38741. msgstr ""
  38742. #. type: table
  38743. #: guix-git/doc/guix.texi:26386
  38744. 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."
  38745. msgstr ""
  38746. #. type: lisp
  38747. #: guix-git/doc/guix.texi:26405
  38748. #, no-wrap
  38749. msgid ""
  38750. "(service\n"
  38751. " nginx-service-type\n"
  38752. " (nginx-configuration\n"
  38753. " (server-blocks\n"
  38754. " (list (nginx-server-configuration\n"
  38755. " (server-name '(\"www.example.com\"))\n"
  38756. " (root \"/srv/http/www.example.com\")\n"
  38757. " (locations\n"
  38758. " (list\n"
  38759. " (nginx-location-configuration\n"
  38760. " (uri \"/path1\")\n"
  38761. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  38762. " (upstream-blocks\n"
  38763. " (list (nginx-upstream-configuration\n"
  38764. " (name \"server-proxy\")\n"
  38765. " (servers (list \"server1.example.com\"\n"
  38766. " \"server2.example.com\")))))))\n"
  38767. msgstr ""
  38768. #. type: table
  38769. #: guix-git/doc/guix.texi:26413
  38770. 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."
  38771. msgstr ""
  38772. #. type: table
  38773. #: guix-git/doc/guix.texi:26417
  38774. 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."
  38775. msgstr ""
  38776. #. type: item
  38777. #: guix-git/doc/guix.texi:26418
  38778. #, no-wrap
  38779. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  38780. msgstr ""
  38781. #. type: table
  38782. #: guix-git/doc/guix.texi:26421
  38783. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  38784. msgstr ""
  38785. #. type: item
  38786. #: guix-git/doc/guix.texi:26422
  38787. #, no-wrap
  38788. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  38789. msgstr ""
  38790. #. type: table
  38791. #: guix-git/doc/guix.texi:26424
  38792. msgid "Maximum bucket size for the server names hash tables."
  38793. msgstr ""
  38794. #. type: table
  38795. #: guix-git/doc/guix.texi:26428
  38796. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  38797. msgstr ""
  38798. #. type: lisp
  38799. #: guix-git/doc/guix.texi:26436
  38800. #, no-wrap
  38801. msgid ""
  38802. "(modules\n"
  38803. " (list\n"
  38804. " (file-append nginx-accept-language-module \"\\\n"
  38805. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  38806. " (file-append nginx-lua-module \"\\\n"
  38807. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  38808. msgstr ""
  38809. #. type: item
  38810. #: guix-git/doc/guix.texi:26438
  38811. #, no-wrap
  38812. msgid "@code{lua-package-path} (default: @code{'()})"
  38813. msgstr ""
  38814. #. type: table
  38815. #: guix-git/doc/guix.texi:26441
  38816. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  38817. msgstr ""
  38818. #. type: lisp
  38819. #: guix-git/doc/guix.texi:26448
  38820. #, no-wrap
  38821. msgid ""
  38822. "(lua-package-path (list lua-resty-core\n"
  38823. " lua-resty-lrucache\n"
  38824. " lua-resty-signal\n"
  38825. " lua-tablepool\n"
  38826. " lua-resty-shell))\n"
  38827. msgstr ""
  38828. #. type: item
  38829. #: guix-git/doc/guix.texi:26450
  38830. #, no-wrap
  38831. msgid "@code{lua-package-cpath} (default: @code{'()})"
  38832. msgstr ""
  38833. #. type: table
  38834. #: guix-git/doc/guix.texi:26453
  38835. 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:"
  38836. msgstr ""
  38837. #. type: lisp
  38838. #: guix-git/doc/guix.texi:26456
  38839. #, no-wrap
  38840. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  38841. msgstr ""
  38842. #. type: item
  38843. #: guix-git/doc/guix.texi:26458
  38844. #, no-wrap
  38845. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  38846. msgstr ""
  38847. #. type: table
  38848. #: guix-git/doc/guix.texi:26461
  38849. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  38850. msgstr ""
  38851. #. type: lisp
  38852. #: guix-git/doc/guix.texi:26467
  38853. #, no-wrap
  38854. msgid ""
  38855. "(global-directives\n"
  38856. " `((worker_processes . 16)\n"
  38857. " (pcre_jit . on)\n"
  38858. " (events . ((worker_connections . 1024)))))\n"
  38859. msgstr ""
  38860. #. type: table
  38861. #: guix-git/doc/guix.texi:26472
  38862. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  38863. msgstr ""
  38864. #. type: deftp
  38865. #: guix-git/doc/guix.texi:26476
  38866. #, no-wrap
  38867. msgid "{Data Type} nginx-server-configuration"
  38868. msgstr ""
  38869. #. type: deftp
  38870. #: guix-git/doc/guix.texi:26479
  38871. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  38872. msgstr ""
  38873. #. type: item
  38874. #: guix-git/doc/guix.texi:26481
  38875. #, no-wrap
  38876. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  38877. msgstr ""
  38878. #. type: table
  38879. #: guix-git/doc/guix.texi:26486
  38880. 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:"
  38881. msgstr ""
  38882. #. type: lisp
  38883. #: guix-git/doc/guix.texi:26489
  38884. #, no-wrap
  38885. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  38886. msgstr ""
  38887. #. type: item
  38888. #: guix-git/doc/guix.texi:26491
  38889. #, no-wrap
  38890. msgid "@code{server-name} (default: @code{(list 'default)})"
  38891. msgstr ""
  38892. #. type: table
  38893. #: guix-git/doc/guix.texi:26494
  38894. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  38895. msgstr ""
  38896. #. type: item
  38897. #: guix-git/doc/guix.texi:26495
  38898. #, no-wrap
  38899. msgid "@code{root} (default: @code{\"/srv/http\"})"
  38900. msgstr ""
  38901. #. type: table
  38902. #: guix-git/doc/guix.texi:26497
  38903. msgid "Root of the website nginx will serve."
  38904. msgstr ""
  38905. #. type: item
  38906. #: guix-git/doc/guix.texi:26498
  38907. #, no-wrap
  38908. msgid "@code{locations} (default: @code{'()})"
  38909. msgstr ""
  38910. #. type: table
  38911. #: guix-git/doc/guix.texi:26502
  38912. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  38913. msgstr ""
  38914. #. type: item
  38915. #: guix-git/doc/guix.texi:26503
  38916. #, no-wrap
  38917. msgid "@code{index} (default: @code{(list \"index.html\")})"
  38918. msgstr ""
  38919. #. type: table
  38920. #: guix-git/doc/guix.texi:26506
  38921. 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."
  38922. msgstr ""
  38923. #. type: item
  38924. #: guix-git/doc/guix.texi:26507
  38925. #, no-wrap
  38926. msgid "@code{try-files} (default: @code{'()})"
  38927. msgstr ""
  38928. #. type: table
  38929. #: guix-git/doc/guix.texi:26510
  38930. 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."
  38931. msgstr ""
  38932. #. type: item
  38933. #: guix-git/doc/guix.texi:26511
  38934. #, no-wrap
  38935. msgid "@code{ssl-certificate} (default: @code{#f})"
  38936. msgstr ""
  38937. #. type: table
  38938. #: guix-git/doc/guix.texi:26514
  38939. 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."
  38940. msgstr ""
  38941. #. type: item
  38942. #: guix-git/doc/guix.texi:26515
  38943. #, no-wrap
  38944. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  38945. msgstr ""
  38946. #. type: table
  38947. #: guix-git/doc/guix.texi:26518
  38948. 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."
  38949. msgstr ""
  38950. #. type: item
  38951. #: guix-git/doc/guix.texi:26519
  38952. #, no-wrap
  38953. msgid "@code{server-tokens?} (default: @code{#f})"
  38954. msgstr ""
  38955. #. type: table
  38956. #: guix-git/doc/guix.texi:26521
  38957. msgid "Whether the server should add its configuration to response."
  38958. msgstr ""
  38959. #. type: item
  38960. #: guix-git/doc/guix.texi:26522
  38961. #, no-wrap
  38962. msgid "@code{raw-content} (default: @code{'()})"
  38963. msgstr ""
  38964. #. type: table
  38965. #: guix-git/doc/guix.texi:26524
  38966. msgid "A list of raw lines added to the server block."
  38967. msgstr ""
  38968. #. type: deftp
  38969. #: guix-git/doc/guix.texi:26528
  38970. #, no-wrap
  38971. msgid "{Data Type} nginx-upstream-configuration"
  38972. msgstr ""
  38973. #. type: deftp
  38974. #: guix-git/doc/guix.texi:26531
  38975. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  38976. msgstr ""
  38977. #. type: table
  38978. #: guix-git/doc/guix.texi:26535
  38979. msgid "Name for this group of servers."
  38980. msgstr ""
  38981. #. type: code{#1}
  38982. #: guix-git/doc/guix.texi:26536
  38983. #, no-wrap
  38984. msgid "servers"
  38985. msgstr ""
  38986. #. type: table
  38987. #: guix-git/doc/guix.texi:26543
  38988. 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."
  38989. msgstr ""
  38990. #. type: deftp
  38991. #: guix-git/doc/guix.texi:26547
  38992. #, no-wrap
  38993. msgid "{Data Type} nginx-location-configuration"
  38994. msgstr ""
  38995. #. type: deftp
  38996. #: guix-git/doc/guix.texi:26550
  38997. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  38998. msgstr ""
  38999. #. type: table
  39000. #: guix-git/doc/guix.texi:26554
  39001. msgid "URI which this location block matches."
  39002. msgstr ""
  39003. #. type: anchor{#1}
  39004. #: guix-git/doc/guix.texi:26556
  39005. msgid "nginx-location-configuration body"
  39006. msgstr ""
  39007. #. type: code{#1}
  39008. #: guix-git/doc/guix.texi:26556 guix-git/doc/guix.texi:26577
  39009. #, no-wrap
  39010. msgid "body"
  39011. msgstr ""
  39012. #. type: table
  39013. #: guix-git/doc/guix.texi:26563
  39014. 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;\")}."
  39015. msgstr ""
  39016. #. type: deftp
  39017. #: guix-git/doc/guix.texi:26567
  39018. #, no-wrap
  39019. msgid "{Data Type} nginx-named-location-configuration"
  39020. msgstr ""
  39021. #. type: deftp
  39022. #: guix-git/doc/guix.texi:26572
  39023. 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:"
  39024. msgstr ""
  39025. #. type: table
  39026. #: guix-git/doc/guix.texi:26576
  39027. msgid "Name to identify this location block."
  39028. msgstr ""
  39029. #. type: table
  39030. #: guix-git/doc/guix.texi:26582
  39031. 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."
  39032. msgstr ""
  39033. #. type: subsubheading
  39034. #: guix-git/doc/guix.texi:26586
  39035. #, no-wrap
  39036. msgid "Varnish Cache"
  39037. msgstr ""
  39038. #. type: cindex
  39039. #: guix-git/doc/guix.texi:26587
  39040. #, no-wrap
  39041. msgid "Varnish"
  39042. msgstr ""
  39043. #. type: Plain text
  39044. #: guix-git/doc/guix.texi:26592
  39045. 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."
  39046. msgstr ""
  39047. #. type: defvr
  39048. #: guix-git/doc/guix.texi:26593
  39049. #, no-wrap
  39050. msgid "{Scheme Variable} varnish-service-type"
  39051. msgstr ""
  39052. #. type: defvr
  39053. #: guix-git/doc/guix.texi:26595
  39054. msgid "Service type for the Varnish daemon."
  39055. msgstr ""
  39056. #. type: deftp
  39057. #: guix-git/doc/guix.texi:26597
  39058. #, no-wrap
  39059. msgid "{Data Type} varnish-configuration"
  39060. msgstr ""
  39061. #. type: deftp
  39062. #: guix-git/doc/guix.texi:26600
  39063. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  39064. msgstr ""
  39065. #. type: item
  39066. #: guix-git/doc/guix.texi:26602
  39067. #, no-wrap
  39068. msgid "@code{package} (default: @code{varnish})"
  39069. msgstr ""
  39070. #. type: table
  39071. #: guix-git/doc/guix.texi:26604
  39072. msgid "The Varnish package to use."
  39073. msgstr ""
  39074. #. type: item
  39075. #: guix-git/doc/guix.texi:26605
  39076. #, no-wrap
  39077. msgid "@code{name} (default: @code{\"default\"})"
  39078. msgstr ""
  39079. #. type: table
  39080. #: guix-git/doc/guix.texi:26610
  39081. 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."
  39082. msgstr ""
  39083. #. type: table
  39084. #: guix-git/doc/guix.texi:26613
  39085. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  39086. msgstr ""
  39087. #. type: item
  39088. #: guix-git/doc/guix.texi:26614
  39089. #, no-wrap
  39090. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  39091. msgstr ""
  39092. #. type: table
  39093. #: guix-git/doc/guix.texi:26616
  39094. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  39095. msgstr ""
  39096. #. type: item
  39097. #: guix-git/doc/guix.texi:26617
  39098. #, no-wrap
  39099. msgid "@code{vcl} (default: #f)"
  39100. msgstr ""
  39101. #. type: table
  39102. #: guix-git/doc/guix.texi:26622
  39103. 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."
  39104. msgstr ""
  39105. #. type: table
  39106. #: guix-git/doc/guix.texi:26626
  39107. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  39108. msgstr ""
  39109. #. type: lisp
  39110. #: guix-git/doc/guix.texi:26632
  39111. #, no-wrap
  39112. msgid ""
  39113. "(define %gnu-mirror\n"
  39114. " (plain-file \"gnu.vcl\"\n"
  39115. " \"vcl 4.1;\n"
  39116. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  39117. "\n"
  39118. msgstr ""
  39119. #. type: lisp
  39120. #: guix-git/doc/guix.texi:26640
  39121. #, no-wrap
  39122. msgid ""
  39123. "(operating-system\n"
  39124. " ;; @dots{}\n"
  39125. " (services (cons (service varnish-service-type\n"
  39126. " (varnish-configuration\n"
  39127. " (listen '(\":80\"))\n"
  39128. " (vcl %gnu-mirror)))\n"
  39129. " %base-services)))\n"
  39130. msgstr ""
  39131. #. type: table
  39132. #: guix-git/doc/guix.texi:26644
  39133. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  39134. msgstr ""
  39135. #. type: table
  39136. #: guix-git/doc/guix.texi:26648
  39137. 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."
  39138. msgstr ""
  39139. #. type: item
  39140. #: guix-git/doc/guix.texi:26649
  39141. #, no-wrap
  39142. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  39143. msgstr ""
  39144. #. type: table
  39145. #: guix-git/doc/guix.texi:26651
  39146. msgid "List of addresses Varnish will listen on."
  39147. msgstr ""
  39148. #. type: item
  39149. #: guix-git/doc/guix.texi:26652
  39150. #, no-wrap
  39151. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  39152. msgstr ""
  39153. #. type: table
  39154. #: guix-git/doc/guix.texi:26654
  39155. msgid "List of storage backends that will be available in VCL."
  39156. msgstr ""
  39157. #. type: item
  39158. #: guix-git/doc/guix.texi:26655
  39159. #, no-wrap
  39160. msgid "@code{parameters} (default: @code{'()})"
  39161. msgstr ""
  39162. #. type: table
  39163. #: guix-git/doc/guix.texi:26657
  39164. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  39165. msgstr ""
  39166. #. type: table
  39167. #: guix-git/doc/guix.texi:26660
  39168. msgid "Additional arguments to pass to the @command{varnishd} process."
  39169. msgstr ""
  39170. #. type: cindex
  39171. #: guix-git/doc/guix.texi:26664 guix-git/doc/guix.texi:26665
  39172. #, no-wrap
  39173. msgid "Patchwork"
  39174. msgstr ""
  39175. #. type: Plain text
  39176. #: guix-git/doc/guix.texi:26668
  39177. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  39178. msgstr ""
  39179. #. type: defvr
  39180. #: guix-git/doc/guix.texi:26669
  39181. #, no-wrap
  39182. msgid "{Scheme Variable} patchwork-service-type"
  39183. msgstr ""
  39184. #. type: defvr
  39185. #: guix-git/doc/guix.texi:26671
  39186. msgid "Service type for Patchwork."
  39187. msgstr ""
  39188. #. type: Plain text
  39189. #: guix-git/doc/guix.texi:26675
  39190. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  39191. msgstr ""
  39192. #. type: lisp
  39193. #: guix-git/doc/guix.texi:26695
  39194. #, no-wrap
  39195. msgid ""
  39196. "(service patchwork-service-type\n"
  39197. " (patchwork-configuration\n"
  39198. " (domain \"patchwork.example.com\")\n"
  39199. " (settings-module\n"
  39200. " (patchwork-settings-module\n"
  39201. " (allowed-hosts (list domain))\n"
  39202. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  39203. " (getmail-retriever-config\n"
  39204. " (getmail-retriever-configuration\n"
  39205. " (type \"SimpleIMAPSSLRetriever\")\n"
  39206. " (server \"imap.example.com\")\n"
  39207. " (port 993)\n"
  39208. " (username \"patchwork\")\n"
  39209. " (password-command\n"
  39210. " (list (file-append coreutils \"/bin/cat\")\n"
  39211. " \"/etc/getmail-patchwork-imap-password\"))\n"
  39212. " (extra-parameters\n"
  39213. " '((mailboxes . (\"Patches\"))))))))\n"
  39214. "\n"
  39215. msgstr ""
  39216. #. type: Plain text
  39217. #: guix-git/doc/guix.texi:26701
  39218. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  39219. msgstr ""
  39220. #. type: Plain text
  39221. #: guix-git/doc/guix.texi:26705
  39222. 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."
  39223. msgstr ""
  39224. #. type: Plain text
  39225. #: guix-git/doc/guix.texi:26709
  39226. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  39227. msgstr ""
  39228. #. type: deftp
  39229. #: guix-git/doc/guix.texi:26710
  39230. #, no-wrap
  39231. msgid "{Data Type} patchwork-configuration"
  39232. msgstr ""
  39233. #. type: deftp
  39234. #: guix-git/doc/guix.texi:26713
  39235. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  39236. msgstr ""
  39237. #. type: item
  39238. #: guix-git/doc/guix.texi:26715
  39239. #, no-wrap
  39240. msgid "@code{patchwork} (default: @code{patchwork})"
  39241. msgstr ""
  39242. #. type: table
  39243. #: guix-git/doc/guix.texi:26717
  39244. msgid "The Patchwork package to use."
  39245. msgstr ""
  39246. #. type: code{#1}
  39247. #: guix-git/doc/guix.texi:26718
  39248. #, no-wrap
  39249. msgid "domain"
  39250. msgstr ""
  39251. #. type: table
  39252. #: guix-git/doc/guix.texi:26721
  39253. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  39254. msgstr ""
  39255. #. type: code{#1}
  39256. #: guix-git/doc/guix.texi:26722
  39257. #, no-wrap
  39258. msgid "settings-module"
  39259. msgstr ""
  39260. #. type: table
  39261. #: guix-git/doc/guix.texi:26728
  39262. 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."
  39263. msgstr ""
  39264. #. type: item
  39265. #: guix-git/doc/guix.texi:26729
  39266. #, no-wrap
  39267. msgid "@code{static-path} (default: @code{\"/static/\"})"
  39268. msgstr ""
  39269. #. type: table
  39270. #: guix-git/doc/guix.texi:26731
  39271. msgid "The path under which the HTTPD service should serve the static files."
  39272. msgstr ""
  39273. #. type: code{#1}
  39274. #: guix-git/doc/guix.texi:26732
  39275. #, no-wrap
  39276. msgid "getmail-retriever-config"
  39277. msgstr ""
  39278. #. type: table
  39279. #: guix-git/doc/guix.texi:26736
  39280. 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."
  39281. msgstr ""
  39282. #. type: deftp
  39283. #: guix-git/doc/guix.texi:26740
  39284. #, no-wrap
  39285. msgid "{Data Type} patchwork-settings-module"
  39286. msgstr ""
  39287. #. type: deftp
  39288. #: guix-git/doc/guix.texi:26745
  39289. 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:"
  39290. msgstr ""
  39291. #. type: item
  39292. #: guix-git/doc/guix.texi:26747
  39293. #, no-wrap
  39294. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  39295. msgstr ""
  39296. #. type: table
  39297. #: guix-git/doc/guix.texi:26750
  39298. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  39299. msgstr ""
  39300. #. type: item
  39301. #: guix-git/doc/guix.texi:26751
  39302. #, no-wrap
  39303. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  39304. msgstr ""
  39305. #. type: table
  39306. #: guix-git/doc/guix.texi:26754
  39307. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  39308. msgstr ""
  39309. #. type: table
  39310. #: guix-git/doc/guix.texi:26757
  39311. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  39312. msgstr ""
  39313. #. type: table
  39314. #: guix-git/doc/guix.texi:26759
  39315. msgid "This setting relates to Django."
  39316. msgstr ""
  39317. #. type: code{#1}
  39318. #: guix-git/doc/guix.texi:26760
  39319. #, no-wrap
  39320. msgid "allowed-hosts"
  39321. msgstr ""
  39322. #. type: table
  39323. #: guix-git/doc/guix.texi:26763
  39324. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  39325. msgstr ""
  39326. #. type: table
  39327. #: guix-git/doc/guix.texi:26765 guix-git/doc/guix.texi:26779
  39328. #: guix-git/doc/guix.texi:26785 guix-git/doc/guix.texi:26791
  39329. msgid "This is a Django setting."
  39330. msgstr ""
  39331. #. type: code{#1}
  39332. #: guix-git/doc/guix.texi:26766
  39333. #, no-wrap
  39334. msgid "default-from-email"
  39335. msgstr ""
  39336. #. type: table
  39337. #: guix-git/doc/guix.texi:26768
  39338. msgid "The email address from which Patchwork should send email by default."
  39339. msgstr ""
  39340. #. type: table
  39341. #: guix-git/doc/guix.texi:26770 guix-git/doc/guix.texi:26796
  39342. #: guix-git/doc/guix.texi:26801 guix-git/doc/guix.texi:26806
  39343. msgid "This is a Patchwork setting."
  39344. msgstr ""
  39345. #. type: item
  39346. #: guix-git/doc/guix.texi:26771
  39347. #, no-wrap
  39348. msgid "@code{static-url} (default: @code{#f})"
  39349. msgstr ""
  39350. #. type: table
  39351. #: guix-git/doc/guix.texi:26774
  39352. 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{/}."
  39353. msgstr ""
  39354. #. type: table
  39355. #: guix-git/doc/guix.texi:26777
  39356. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  39357. msgstr ""
  39358. #. type: item
  39359. #: guix-git/doc/guix.texi:26780
  39360. #, no-wrap
  39361. msgid "@code{admins} (default: @code{'()})"
  39362. msgstr ""
  39363. #. type: table
  39364. #: guix-git/doc/guix.texi:26783
  39365. 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."
  39366. msgstr ""
  39367. #. type: table
  39368. #: guix-git/doc/guix.texi:26789
  39369. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  39370. msgstr ""
  39371. #. type: item
  39372. #: guix-git/doc/guix.texi:26792
  39373. #, no-wrap
  39374. msgid "@code{enable-rest-api?} (default: @code{#t})"
  39375. msgstr ""
  39376. #. type: table
  39377. #: guix-git/doc/guix.texi:26794
  39378. msgid "Whether to enable the Patchwork REST API."
  39379. msgstr ""
  39380. #. type: item
  39381. #: guix-git/doc/guix.texi:26797
  39382. #, no-wrap
  39383. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  39384. msgstr ""
  39385. #. type: table
  39386. #: guix-git/doc/guix.texi:26799
  39387. msgid "Whether to enable the XML RPC API."
  39388. msgstr ""
  39389. #. type: item
  39390. #: guix-git/doc/guix.texi:26802
  39391. #, no-wrap
  39392. msgid "@code{force-https-links?} (default: @code{#t})"
  39393. msgstr ""
  39394. #. type: table
  39395. #: guix-git/doc/guix.texi:26804
  39396. msgid "Whether to use HTTPS links on Patchwork pages."
  39397. msgstr ""
  39398. #. type: table
  39399. #: guix-git/doc/guix.texi:26809
  39400. msgid "Extra code to place at the end of the Patchwork settings module."
  39401. msgstr ""
  39402. #. type: deftp
  39403. #: guix-git/doc/guix.texi:26813
  39404. #, no-wrap
  39405. msgid "{Data Type} patchwork-database-configuration"
  39406. msgstr ""
  39407. #. type: deftp
  39408. #: guix-git/doc/guix.texi:26815
  39409. msgid "Data type representing the database configuration for Patchwork."
  39410. msgstr ""
  39411. #. type: item
  39412. #: guix-git/doc/guix.texi:26817
  39413. #, no-wrap
  39414. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  39415. msgstr ""
  39416. #. type: table
  39417. #: guix-git/doc/guix.texi:26819
  39418. msgid "The database engine to use."
  39419. msgstr ""
  39420. #. type: item
  39421. #: guix-git/doc/guix.texi:26820
  39422. #, no-wrap
  39423. msgid "@code{name} (default: @code{\"patchwork\"})"
  39424. msgstr ""
  39425. #. type: table
  39426. #: guix-git/doc/guix.texi:26822
  39427. msgid "The name of the database to use."
  39428. msgstr ""
  39429. #. type: table
  39430. #: guix-git/doc/guix.texi:26825
  39431. msgid "The user to connect to the database as."
  39432. msgstr ""
  39433. #. type: item
  39434. #: guix-git/doc/guix.texi:26826
  39435. #, no-wrap
  39436. msgid "@code{password} (default: @code{\"\"})"
  39437. msgstr ""
  39438. #. type: table
  39439. #: guix-git/doc/guix.texi:26828
  39440. msgid "The password to use when connecting to the database."
  39441. msgstr ""
  39442. #. type: item
  39443. #: guix-git/doc/guix.texi:26829
  39444. #, no-wrap
  39445. msgid "@code{host} (default: @code{\"\"})"
  39446. msgstr ""
  39447. #. type: table
  39448. #: guix-git/doc/guix.texi:26831
  39449. msgid "The host to make the database connection to."
  39450. msgstr ""
  39451. #. type: item
  39452. #: guix-git/doc/guix.texi:26832
  39453. #, no-wrap
  39454. msgid "@code{port} (default: @code{\"\"})"
  39455. msgstr ""
  39456. #. type: table
  39457. #: guix-git/doc/guix.texi:26834
  39458. msgid "The port on which to connect to the database."
  39459. msgstr ""
  39460. #. type: subsubheading
  39461. #: guix-git/doc/guix.texi:26838
  39462. #, no-wrap
  39463. msgid "Mumi"
  39464. msgstr ""
  39465. #. type: cindex
  39466. #: guix-git/doc/guix.texi:26840
  39467. #, no-wrap
  39468. msgid "Mumi, Debbugs Web interface"
  39469. msgstr ""
  39470. #. type: cindex
  39471. #: guix-git/doc/guix.texi:26841
  39472. #, no-wrap
  39473. msgid "Debbugs, Mumi Web interface"
  39474. msgstr ""
  39475. #. type: Plain text
  39476. #: guix-git/doc/guix.texi:26846
  39477. 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."
  39478. msgstr ""
  39479. #. type: defvr
  39480. #: guix-git/doc/guix.texi:26847
  39481. #, no-wrap
  39482. msgid "{Scheme Variable} mumi-service-type"
  39483. msgstr ""
  39484. #. type: defvr
  39485. #: guix-git/doc/guix.texi:26849
  39486. msgid "This is the service type for Mumi."
  39487. msgstr ""
  39488. #. type: deftp
  39489. #: guix-git/doc/guix.texi:26851
  39490. #, no-wrap
  39491. msgid "{Data Type} mumi-configuration"
  39492. msgstr ""
  39493. #. type: deftp
  39494. #: guix-git/doc/guix.texi:26854
  39495. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  39496. msgstr ""
  39497. #. type: item
  39498. #: guix-git/doc/guix.texi:26856
  39499. #, no-wrap
  39500. msgid "@code{mumi} (default: @code{mumi})"
  39501. msgstr ""
  39502. #. type: table
  39503. #: guix-git/doc/guix.texi:26858
  39504. msgid "The Mumi package to use."
  39505. msgstr ""
  39506. #. type: item
  39507. #: guix-git/doc/guix.texi:26859
  39508. #, no-wrap
  39509. msgid "@code{mailer?} (default: @code{#true})"
  39510. msgstr ""
  39511. #. type: table
  39512. #: guix-git/doc/guix.texi:26861
  39513. msgid "Whether to enable or disable the mailer component."
  39514. msgstr ""
  39515. #. type: code{#1}
  39516. #: guix-git/doc/guix.texi:26862
  39517. #, no-wrap
  39518. msgid "mumi-configuration-sender"
  39519. msgstr ""
  39520. #. type: table
  39521. #: guix-git/doc/guix.texi:26864
  39522. msgid "The email address used as the sender for comments."
  39523. msgstr ""
  39524. #. type: code{#1}
  39525. #: guix-git/doc/guix.texi:26865
  39526. #, no-wrap
  39527. msgid "mumi-configuration-smtp"
  39528. msgstr ""
  39529. #. type: table
  39530. #: guix-git/doc/guix.texi:26870
  39531. 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}."
  39532. msgstr ""
  39533. #. type: subsubheading
  39534. #: guix-git/doc/guix.texi:26875
  39535. #, no-wrap
  39536. msgid "FastCGI"
  39537. msgstr ""
  39538. #. type: cindex
  39539. #: guix-git/doc/guix.texi:26876
  39540. #, no-wrap
  39541. msgid "fastcgi"
  39542. msgstr ""
  39543. #. type: cindex
  39544. #: guix-git/doc/guix.texi:26877
  39545. #, no-wrap
  39546. msgid "fcgiwrap"
  39547. msgstr ""
  39548. #. type: Plain text
  39549. #: guix-git/doc/guix.texi:26884
  39550. 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."
  39551. msgstr ""
  39552. #. type: Plain text
  39553. #: guix-git/doc/guix.texi:26891
  39554. 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."
  39555. msgstr ""
  39556. #. type: defvr
  39557. #: guix-git/doc/guix.texi:26892
  39558. #, no-wrap
  39559. msgid "{Scheme Variable} fcgiwrap-service-type"
  39560. msgstr ""
  39561. #. type: defvr
  39562. #: guix-git/doc/guix.texi:26894
  39563. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  39564. msgstr ""
  39565. #. type: deftp
  39566. #: guix-git/doc/guix.texi:26896
  39567. #, no-wrap
  39568. msgid "{Data Type} fcgiwrap-configuration"
  39569. msgstr ""
  39570. #. type: deftp
  39571. #: guix-git/doc/guix.texi:26899
  39572. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  39573. msgstr ""
  39574. #. type: item
  39575. #: guix-git/doc/guix.texi:26900
  39576. #, no-wrap
  39577. msgid "@code{package} (default: @code{fcgiwrap})"
  39578. msgstr ""
  39579. #. type: table
  39580. #: guix-git/doc/guix.texi:26902
  39581. msgid "The fcgiwrap package to use."
  39582. msgstr ""
  39583. #. type: item
  39584. #: guix-git/doc/guix.texi:26903
  39585. #, no-wrap
  39586. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  39587. msgstr ""
  39588. #. type: table
  39589. #: guix-git/doc/guix.texi:26909
  39590. 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}."
  39591. msgstr ""
  39592. #. type: item
  39593. #: guix-git/doc/guix.texi:26910
  39594. #, no-wrap
  39595. msgid "@code{user} (default: @code{fcgiwrap})"
  39596. msgstr ""
  39597. #. type: itemx
  39598. #: guix-git/doc/guix.texi:26911
  39599. #, no-wrap
  39600. msgid "@code{group} (default: @code{fcgiwrap})"
  39601. msgstr ""
  39602. #. type: table
  39603. #: guix-git/doc/guix.texi:26916
  39604. 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."
  39605. msgstr ""
  39606. #. type: table
  39607. #: guix-git/doc/guix.texi:26923
  39608. 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."
  39609. msgstr ""
  39610. #. type: cindex
  39611. #: guix-git/doc/guix.texi:26926
  39612. #, no-wrap
  39613. msgid "php-fpm"
  39614. msgstr ""
  39615. #. type: Plain text
  39616. #: guix-git/doc/guix.texi:26929
  39617. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  39618. msgstr ""
  39619. #. type: Plain text
  39620. #: guix-git/doc/guix.texi:26931
  39621. msgid "These features include:"
  39622. msgstr ""
  39623. #. type: item
  39624. #: guix-git/doc/guix.texi:26932
  39625. #, no-wrap
  39626. msgid "Adaptive process spawning"
  39627. msgstr ""
  39628. #. type: item
  39629. #: guix-git/doc/guix.texi:26933
  39630. #, no-wrap
  39631. msgid "Basic statistics (similar to Apache's mod_status)"
  39632. msgstr ""
  39633. #. type: item
  39634. #: guix-git/doc/guix.texi:26934
  39635. #, no-wrap
  39636. msgid "Advanced process management with graceful stop/start"
  39637. msgstr ""
  39638. #. type: item
  39639. #: guix-git/doc/guix.texi:26935
  39640. #, no-wrap
  39641. msgid "Ability to start workers with different uid/gid/chroot/environment"
  39642. msgstr ""
  39643. #. type: itemize
  39644. #: guix-git/doc/guix.texi:26937
  39645. msgid "and different php.ini (replaces safe_mode)"
  39646. msgstr ""
  39647. #. type: item
  39648. #: guix-git/doc/guix.texi:26937
  39649. #, no-wrap
  39650. msgid "Stdout & stderr logging"
  39651. msgstr ""
  39652. #. type: item
  39653. #: guix-git/doc/guix.texi:26938
  39654. #, no-wrap
  39655. msgid "Emergency restart in case of accidental opcode cache destruction"
  39656. msgstr ""
  39657. #. type: item
  39658. #: guix-git/doc/guix.texi:26939
  39659. #, no-wrap
  39660. msgid "Accelerated upload support"
  39661. msgstr ""
  39662. #. type: item
  39663. #: guix-git/doc/guix.texi:26940
  39664. #, no-wrap
  39665. msgid "Support for a \"slowlog\""
  39666. msgstr ""
  39667. #. type: item
  39668. #: guix-git/doc/guix.texi:26941
  39669. #, no-wrap
  39670. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  39671. msgstr ""
  39672. #. type: itemize
  39673. #: guix-git/doc/guix.texi:26944
  39674. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  39675. msgstr ""
  39676. #. type: Plain text
  39677. #: guix-git/doc/guix.texi:26946
  39678. msgid "...@: and much more."
  39679. msgstr ""
  39680. #. type: defvr
  39681. #: guix-git/doc/guix.texi:26947
  39682. #, no-wrap
  39683. msgid "{Scheme Variable} php-fpm-service-type"
  39684. msgstr ""
  39685. #. type: defvr
  39686. #: guix-git/doc/guix.texi:26949
  39687. msgid "A Service type for @code{php-fpm}."
  39688. msgstr ""
  39689. #. type: deftp
  39690. #: guix-git/doc/guix.texi:26951
  39691. #, no-wrap
  39692. msgid "{Data Type} php-fpm-configuration"
  39693. msgstr ""
  39694. #. type: deftp
  39695. #: guix-git/doc/guix.texi:26953
  39696. msgid "Data Type for php-fpm service configuration."
  39697. msgstr ""
  39698. #. type: item
  39699. #: guix-git/doc/guix.texi:26954
  39700. #, no-wrap
  39701. msgid "@code{php} (default: @code{php})"
  39702. msgstr ""
  39703. #. type: table
  39704. #: guix-git/doc/guix.texi:26956
  39705. msgid "The php package to use."
  39706. msgstr ""
  39707. #. type: item
  39708. #: guix-git/doc/guix.texi:26956
  39709. #, no-wrap
  39710. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  39711. msgstr ""
  39712. #. type: table
  39713. #: guix-git/doc/guix.texi:26958
  39714. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  39715. msgstr ""
  39716. #. type: code{#1}
  39717. #: guix-git/doc/guix.texi:26959
  39718. #, no-wrap
  39719. msgid "\"ip.add.re.ss:port\""
  39720. msgstr ""
  39721. #. type: table
  39722. #: guix-git/doc/guix.texi:26961
  39723. msgid "Listen on a TCP socket to a specific address on a specific port."
  39724. msgstr ""
  39725. #. type: code{#1}
  39726. #: guix-git/doc/guix.texi:26961
  39727. #, no-wrap
  39728. msgid "\"port\""
  39729. msgstr ""
  39730. #. type: table
  39731. #: guix-git/doc/guix.texi:26963
  39732. msgid "Listen on a TCP socket to all addresses on a specific port."
  39733. msgstr ""
  39734. #. type: code{#1}
  39735. #: guix-git/doc/guix.texi:26963
  39736. #, no-wrap
  39737. msgid "\"/path/to/unix/socket\""
  39738. msgstr ""
  39739. #. type: table
  39740. #: guix-git/doc/guix.texi:26965
  39741. msgid "Listen on a unix socket."
  39742. msgstr ""
  39743. #. type: item
  39744. #: guix-git/doc/guix.texi:26967
  39745. #, no-wrap
  39746. msgid "@code{user} (default: @code{php-fpm})"
  39747. msgstr ""
  39748. #. type: table
  39749. #: guix-git/doc/guix.texi:26969
  39750. msgid "User who will own the php worker processes."
  39751. msgstr ""
  39752. #. type: item
  39753. #: guix-git/doc/guix.texi:26969
  39754. #, no-wrap
  39755. msgid "@code{group} (default: @code{php-fpm})"
  39756. msgstr ""
  39757. #. type: table
  39758. #: guix-git/doc/guix.texi:26971
  39759. msgid "Group of the worker processes."
  39760. msgstr ""
  39761. #. type: item
  39762. #: guix-git/doc/guix.texi:26971
  39763. #, no-wrap
  39764. msgid "@code{socket-user} (default: @code{php-fpm})"
  39765. msgstr ""
  39766. #. type: table
  39767. #: guix-git/doc/guix.texi:26973
  39768. msgid "User who can speak to the php-fpm socket."
  39769. msgstr ""
  39770. #. type: item
  39771. #: guix-git/doc/guix.texi:26973
  39772. #, no-wrap
  39773. msgid "@code{socket-group} (default: @code{nginx})"
  39774. msgstr ""
  39775. #. type: table
  39776. #: guix-git/doc/guix.texi:26975
  39777. msgid "Group that can speak to the php-fpm socket."
  39778. msgstr ""
  39779. #. type: item
  39780. #: guix-git/doc/guix.texi:26975
  39781. #, no-wrap
  39782. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  39783. msgstr ""
  39784. #. type: table
  39785. #: guix-git/doc/guix.texi:26978
  39786. msgid "The process id of the php-fpm process is written to this file once the service has started."
  39787. msgstr ""
  39788. #. type: item
  39789. #: guix-git/doc/guix.texi:26978
  39790. #, no-wrap
  39791. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  39792. msgstr ""
  39793. #. type: table
  39794. #: guix-git/doc/guix.texi:26980
  39795. msgid "Log for the php-fpm master process."
  39796. msgstr ""
  39797. #. type: item
  39798. #: guix-git/doc/guix.texi:26980
  39799. #, no-wrap
  39800. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  39801. msgstr ""
  39802. #. type: table
  39803. #: guix-git/doc/guix.texi:26983
  39804. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  39805. msgstr ""
  39806. #. type: code{#1}
  39807. #: guix-git/doc/guix.texi:26984
  39808. #, no-wrap
  39809. msgid "<php-fpm-dynamic-process-manager-configuration>"
  39810. msgstr ""
  39811. #. type: code{#1}
  39812. #: guix-git/doc/guix.texi:26985
  39813. #, no-wrap
  39814. msgid "<php-fpm-static-process-manager-configuration>"
  39815. msgstr ""
  39816. #. type: code{#1}
  39817. #: guix-git/doc/guix.texi:26986
  39818. #, no-wrap
  39819. msgid "<php-fpm-on-demand-process-manager-configuration>"
  39820. msgstr ""
  39821. #. type: item
  39822. #: guix-git/doc/guix.texi:26988
  39823. #, no-wrap
  39824. msgid "@code{display-errors} (default @code{#f})"
  39825. msgstr ""
  39826. #. type: table
  39827. #: guix-git/doc/guix.texi:26993
  39828. 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."
  39829. msgstr ""
  39830. #. type: item
  39831. #: guix-git/doc/guix.texi:26993
  39832. #, no-wrap
  39833. msgid "@code{timezone} (default @code{#f})"
  39834. msgstr ""
  39835. #. type: table
  39836. #: guix-git/doc/guix.texi:26995
  39837. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  39838. msgstr ""
  39839. #. type: item
  39840. #: guix-git/doc/guix.texi:26995
  39841. #, no-wrap
  39842. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  39843. msgstr ""
  39844. #. type: table
  39845. #: guix-git/doc/guix.texi:26998
  39846. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  39847. msgstr ""
  39848. #. type: item
  39849. #: guix-git/doc/guix.texi:26998
  39850. #, no-wrap
  39851. msgid "@code{file} (default @code{#f})"
  39852. msgstr ""
  39853. #. type: table
  39854. #: guix-git/doc/guix.texi:27001
  39855. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  39856. msgstr ""
  39857. #. type: item
  39858. #: guix-git/doc/guix.texi:27001
  39859. #, no-wrap
  39860. msgid "@code{php-ini-file} (default @code{#f})"
  39861. msgstr ""
  39862. #. type: table
  39863. #: guix-git/doc/guix.texi:27005
  39864. 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."
  39865. msgstr ""
  39866. #. type: table
  39867. #: guix-git/doc/guix.texi:27009
  39868. 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:"
  39869. msgstr ""
  39870. #. type: lisp
  39871. #: guix-git/doc/guix.texi:27014
  39872. #, no-wrap
  39873. msgid ""
  39874. "(define %local-php-ini\n"
  39875. " (plain-file \"php.ini\"\n"
  39876. " \"memory_limit = 2G\n"
  39877. "max_execution_time = 1800\"))\n"
  39878. "\n"
  39879. msgstr ""
  39880. #. type: lisp
  39881. #: guix-git/doc/guix.texi:27021
  39882. #, no-wrap
  39883. msgid ""
  39884. "(operating-system\n"
  39885. " ;; @dots{}\n"
  39886. " (services (cons (service php-fpm-service-type\n"
  39887. " (php-fpm-configuration\n"
  39888. " (php-ini-file %local-php-ini)))\n"
  39889. " %base-services)))\n"
  39890. msgstr ""
  39891. #. type: table
  39892. #: guix-git/doc/guix.texi:27026
  39893. 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."
  39894. msgstr ""
  39895. #. type: deftp
  39896. #: guix-git/doc/guix.texi:27029
  39897. #, no-wrap
  39898. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  39899. msgstr ""
  39900. #. type: deftp
  39901. #: guix-git/doc/guix.texi:27033
  39902. 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 its configured limits."
  39903. msgstr ""
  39904. #. type: item
  39905. #: guix-git/doc/guix.texi:27034 guix-git/doc/guix.texi:27050
  39906. #: guix-git/doc/guix.texi:27060
  39907. #, no-wrap
  39908. msgid "@code{max-children} (default: @code{5})"
  39909. msgstr ""
  39910. #. type: table
  39911. #: guix-git/doc/guix.texi:27036 guix-git/doc/guix.texi:27052
  39912. #: guix-git/doc/guix.texi:27062
  39913. msgid "Maximum of worker processes."
  39914. msgstr ""
  39915. #. type: item
  39916. #: guix-git/doc/guix.texi:27036
  39917. #, no-wrap
  39918. msgid "@code{start-servers} (default: @code{2})"
  39919. msgstr ""
  39920. #. type: table
  39921. #: guix-git/doc/guix.texi:27038
  39922. msgid "How many worker processes should be started on start-up."
  39923. msgstr ""
  39924. #. type: item
  39925. #: guix-git/doc/guix.texi:27038
  39926. #, no-wrap
  39927. msgid "@code{min-spare-servers} (default: @code{1})"
  39928. msgstr ""
  39929. #. type: table
  39930. #: guix-git/doc/guix.texi:27040
  39931. msgid "How many spare worker processes should be kept around at minimum."
  39932. msgstr ""
  39933. #. type: item
  39934. #: guix-git/doc/guix.texi:27040
  39935. #, no-wrap
  39936. msgid "@code{max-spare-servers} (default: @code{3})"
  39937. msgstr ""
  39938. #. type: table
  39939. #: guix-git/doc/guix.texi:27042
  39940. msgid "How many spare worker processes should be kept around at maximum."
  39941. msgstr ""
  39942. #. type: deftp
  39943. #: guix-git/doc/guix.texi:27045
  39944. #, no-wrap
  39945. msgid "{Data type} php-fpm-static-process-manager-configuration"
  39946. msgstr ""
  39947. #. type: deftp
  39948. #: guix-git/doc/guix.texi:27049
  39949. 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."
  39950. msgstr ""
  39951. #. type: deftp
  39952. #: guix-git/doc/guix.texi:27055
  39953. #, no-wrap
  39954. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  39955. msgstr ""
  39956. #. type: deftp
  39957. #: guix-git/doc/guix.texi:27059
  39958. 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."
  39959. msgstr ""
  39960. #. type: item
  39961. #: guix-git/doc/guix.texi:27062
  39962. #, no-wrap
  39963. msgid "@code{process-idle-timeout} (default: @code{10})"
  39964. msgstr ""
  39965. #. type: table
  39966. #: guix-git/doc/guix.texi:27064
  39967. msgid "The time in seconds after which a process with no requests is killed."
  39968. msgstr ""
  39969. #. type: deffn
  39970. #: guix-git/doc/guix.texi:27068
  39971. #, no-wrap
  39972. msgid "{Scheme Procedure} nginx-php-location @"
  39973. msgstr ""
  39974. #. type: deffn
  39975. #: guix-git/doc/guix.texi:27074
  39976. 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}."
  39977. msgstr ""
  39978. #. type: Plain text
  39979. #: guix-git/doc/guix.texi:27077
  39980. msgid "A simple services setup for nginx with php can look like this:"
  39981. msgstr ""
  39982. #. type: lisp
  39983. #: guix-git/doc/guix.texi:27090
  39984. #, no-wrap
  39985. msgid ""
  39986. "(services (cons* (service dhcp-client-service-type)\n"
  39987. " (service php-fpm-service-type)\n"
  39988. " (service nginx-service-type\n"
  39989. " (nginx-server-configuration\n"
  39990. " (server-name '(\"example.com\"))\n"
  39991. " (root \"/srv/http/\")\n"
  39992. " (locations\n"
  39993. " (list (nginx-php-location)))\n"
  39994. " (listen '(\"80\"))\n"
  39995. " (ssl-certificate #f)\n"
  39996. " (ssl-certificate-key #f)))\n"
  39997. " %base-services))\n"
  39998. msgstr ""
  39999. #. type: cindex
  40000. #: guix-git/doc/guix.texi:27092
  40001. #, no-wrap
  40002. msgid "cat-avatar-generator"
  40003. msgstr ""
  40004. #. type: Plain text
  40005. #: guix-git/doc/guix.texi:27096
  40006. 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."
  40007. msgstr ""
  40008. #. type: deffn
  40009. #: guix-git/doc/guix.texi:27097
  40010. #, no-wrap
  40011. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  40012. msgstr ""
  40013. #. type: deffn
  40014. #: guix-git/doc/guix.texi:27105
  40015. 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."
  40016. msgstr ""
  40017. #. type: Plain text
  40018. #: guix-git/doc/guix.texi:27108
  40019. msgid "A simple setup for cat-avatar-generator can look like this:"
  40020. msgstr ""
  40021. #. type: lisp
  40022. #: guix-git/doc/guix.texi:27115
  40023. #, no-wrap
  40024. msgid ""
  40025. "(services (cons* (cat-avatar-generator-service\n"
  40026. " #:configuration\n"
  40027. " (nginx-server-configuration\n"
  40028. " (server-name '(\"example.com\"))))\n"
  40029. " ...\n"
  40030. " %base-services))\n"
  40031. msgstr ""
  40032. #. type: subsubheading
  40033. #: guix-git/doc/guix.texi:27117
  40034. #, no-wrap
  40035. msgid "Hpcguix-web"
  40036. msgstr ""
  40037. #. type: cindex
  40038. #: guix-git/doc/guix.texi:27119
  40039. #, no-wrap
  40040. msgid "hpcguix-web"
  40041. msgstr ""
  40042. #. type: Plain text
  40043. #: guix-git/doc/guix.texi:27124
  40044. 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."
  40045. msgstr ""
  40046. #. type: defvr
  40047. #: guix-git/doc/guix.texi:27125
  40048. #, no-wrap
  40049. msgid "{Scheme Variable} hpcguix-web-service-type"
  40050. msgstr ""
  40051. #. type: defvr
  40052. #: guix-git/doc/guix.texi:27127
  40053. msgid "The service type for @code{hpcguix-web}."
  40054. msgstr ""
  40055. #. type: deftp
  40056. #: guix-git/doc/guix.texi:27129
  40057. #, no-wrap
  40058. msgid "{Data Type} hpcguix-web-configuration"
  40059. msgstr ""
  40060. #. type: deftp
  40061. #: guix-git/doc/guix.texi:27131
  40062. msgid "Data type for the hpcguix-web service configuration."
  40063. msgstr ""
  40064. #. type: code{#1}
  40065. #: guix-git/doc/guix.texi:27133
  40066. #, no-wrap
  40067. msgid "specs"
  40068. msgstr ""
  40069. #. type: table
  40070. #: guix-git/doc/guix.texi:27136
  40071. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  40072. msgstr ""
  40073. #. type: item
  40074. #: guix-git/doc/guix.texi:27138
  40075. #, no-wrap
  40076. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  40077. msgstr ""
  40078. #. type: table
  40079. #: guix-git/doc/guix.texi:27140
  40080. msgid "The page title prefix."
  40081. msgstr ""
  40082. #. type: item
  40083. #: guix-git/doc/guix.texi:27141
  40084. #, no-wrap
  40085. msgid "@code{guix-command} (default: @code{\"guix\"})"
  40086. msgstr ""
  40087. #. type: table
  40088. #: guix-git/doc/guix.texi:27143
  40089. msgid "The @command{guix} command."
  40090. msgstr ""
  40091. #. type: item
  40092. #: guix-git/doc/guix.texi:27144
  40093. #, no-wrap
  40094. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  40095. msgstr ""
  40096. #. type: table
  40097. #: guix-git/doc/guix.texi:27146
  40098. msgid "A procedure specifying how to filter packages that are displayed."
  40099. msgstr ""
  40100. #. type: item
  40101. #: guix-git/doc/guix.texi:27147
  40102. #, no-wrap
  40103. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  40104. msgstr ""
  40105. #. type: table
  40106. #: guix-git/doc/guix.texi:27149
  40107. msgid "Extension package for @code{hpcguix-web}."
  40108. msgstr ""
  40109. #. type: item
  40110. #: guix-git/doc/guix.texi:27150
  40111. #, no-wrap
  40112. msgid "@code{menu} (default: @code{'()})"
  40113. msgstr ""
  40114. #. type: table
  40115. #: guix-git/doc/guix.texi:27152
  40116. msgid "Additional entry in page @code{menu}."
  40117. msgstr ""
  40118. #. type: item
  40119. #: guix-git/doc/guix.texi:27153
  40120. #, no-wrap
  40121. msgid "@code{channels} (default: @code{%default-channels})"
  40122. msgstr ""
  40123. #. type: table
  40124. #: guix-git/doc/guix.texi:27155
  40125. msgid "List of channels from which the package list is built (@pxref{Channels})."
  40126. msgstr ""
  40127. #. type: item
  40128. #: guix-git/doc/guix.texi:27156
  40129. #, no-wrap
  40130. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  40131. msgstr ""
  40132. #. type: table
  40133. #: guix-git/doc/guix.texi:27159
  40134. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  40135. msgstr ""
  40136. #. type: table
  40137. #: guix-git/doc/guix.texi:27164
  40138. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  40139. msgstr ""
  40140. #. type: item
  40141. #: guix-git/doc/guix.texi:27165
  40142. #, no-wrap
  40143. msgid "@code{package} (default: @code{hpcguix-web})"
  40144. msgstr ""
  40145. #. type: table
  40146. #: guix-git/doc/guix.texi:27167
  40147. msgid "The hpcguix-web package to use."
  40148. msgstr ""
  40149. #. type: item
  40150. #: guix-git/doc/guix.texi:27168
  40151. #, no-wrap
  40152. msgid "@code{address} (default: @code{\"127.0.0.1\"})"
  40153. msgstr ""
  40154. #. type: table
  40155. #: guix-git/doc/guix.texi:27170
  40156. msgid "The IP address to listen to."
  40157. msgstr ""
  40158. #. type: item
  40159. #: guix-git/doc/guix.texi:27171
  40160. #, no-wrap
  40161. msgid "@code{port} (default: @code{5000})"
  40162. msgstr ""
  40163. #. type: table
  40164. #: guix-git/doc/guix.texi:27173
  40165. msgid "The port number to listen to."
  40166. msgstr ""
  40167. #. type: Plain text
  40168. #: guix-git/doc/guix.texi:27177
  40169. msgid "A typical hpcguix-web service declaration looks like this:"
  40170. msgstr ""
  40171. #. type: lisp
  40172. #: guix-git/doc/guix.texi:27186
  40173. #, no-wrap
  40174. msgid ""
  40175. "(service hpcguix-web-service-type\n"
  40176. " (hpcguix-web-configuration\n"
  40177. " (specs\n"
  40178. " #~(define site-config\n"
  40179. " (hpcweb-configuration\n"
  40180. " (title-prefix \"Guix-HPC - \")\n"
  40181. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  40182. msgstr ""
  40183. #. type: quotation
  40184. #: guix-git/doc/guix.texi:27193
  40185. 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."
  40186. msgstr ""
  40187. #. type: quotation
  40188. #: guix-git/doc/guix.texi:27197
  40189. 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."
  40190. msgstr ""
  40191. #. type: cindex
  40192. #: guix-git/doc/guix.texi:27199 guix-git/doc/guix.texi:27201
  40193. #, no-wrap
  40194. msgid "gmnisrv"
  40195. msgstr ""
  40196. #. type: Plain text
  40197. #: guix-git/doc/guix.texi:27204
  40198. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  40199. msgstr ""
  40200. #. type: deffn
  40201. #: guix-git/doc/guix.texi:27205
  40202. #, no-wrap
  40203. msgid "{Scheme Variable} gmnisrv-service-type"
  40204. msgstr ""
  40205. #. type: deffn
  40206. #: guix-git/doc/guix.texi:27208
  40207. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  40208. msgstr ""
  40209. #. type: lisp
  40210. #: guix-git/doc/guix.texi:27213
  40211. #, no-wrap
  40212. msgid ""
  40213. "(service gmnisrv-service-type\n"
  40214. " (gmnisrv-configuration\n"
  40215. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  40216. msgstr ""
  40217. #. type: deftp
  40218. #: guix-git/doc/guix.texi:27216
  40219. #, no-wrap
  40220. msgid "{Data Type} gmnisrv-configuration"
  40221. msgstr ""
  40222. #. type: deftp
  40223. #: guix-git/doc/guix.texi:27218
  40224. msgid "Data type representing the configuration of gmnisrv."
  40225. msgstr ""
  40226. #. type: item
  40227. #: guix-git/doc/guix.texi:27220
  40228. #, no-wrap
  40229. msgid "@code{package} (default: @var{gmnisrv})"
  40230. msgstr ""
  40231. #. type: table
  40232. #: guix-git/doc/guix.texi:27222
  40233. msgid "Package object of the gmnisrv server."
  40234. msgstr ""
  40235. #. type: item
  40236. #: guix-git/doc/guix.texi:27223
  40237. #, no-wrap
  40238. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  40239. msgstr ""
  40240. #. type: table
  40241. #: guix-git/doc/guix.texi:27229
  40242. 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}."
  40243. msgstr ""
  40244. #. type: subsubheading
  40245. #: guix-git/doc/guix.texi:27233
  40246. #, no-wrap
  40247. msgid "Agate"
  40248. msgstr ""
  40249. #. type: cindex
  40250. #: guix-git/doc/guix.texi:27235
  40251. #, no-wrap
  40252. msgid "agate"
  40253. msgstr ""
  40254. #. type: Plain text
  40255. #: guix-git/doc/guix.texi:27240
  40256. 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."
  40257. msgstr ""
  40258. #. type: deffn
  40259. #: guix-git/doc/guix.texi:27241
  40260. #, no-wrap
  40261. msgid "{Scheme Variable} agate-service-type"
  40262. msgstr ""
  40263. #. type: deffn
  40264. #: guix-git/doc/guix.texi:27244
  40265. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  40266. msgstr ""
  40267. #. type: lisp
  40268. #: guix-git/doc/guix.texi:27251
  40269. #, no-wrap
  40270. msgid ""
  40271. "(service agate-service-type\n"
  40272. "\t (agate-configuration\n"
  40273. "\t (content \"/srv/gemini\")\n"
  40274. "\t (cert \"/srv/cert.pem\")\n"
  40275. "\t (key \"/srv/key.rsa\")))\n"
  40276. msgstr ""
  40277. #. type: deffn
  40278. #: guix-git/doc/guix.texi:27256
  40279. 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."
  40280. msgstr ""
  40281. #. type: deffn
  40282. #: guix-git/doc/guix.texi:27259
  40283. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  40284. msgstr ""
  40285. #. type: example
  40286. #: guix-git/doc/guix.texi:27263
  40287. #, no-wrap
  40288. msgid ""
  40289. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  40290. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  40291. msgstr ""
  40292. #. type: deffn
  40293. #: guix-git/doc/guix.texi:27268
  40294. 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."
  40295. msgstr ""
  40296. #. type: deftp
  40297. #: guix-git/doc/guix.texi:27271
  40298. #, no-wrap
  40299. msgid "{Data Type} agate-configuration"
  40300. msgstr ""
  40301. #. type: deftp
  40302. #: guix-git/doc/guix.texi:27273
  40303. msgid "Data type representing the configuration of Agate."
  40304. msgstr ""
  40305. #. type: item
  40306. #: guix-git/doc/guix.texi:27275
  40307. #, no-wrap
  40308. msgid "@code{package} (default: @code{agate})"
  40309. msgstr ""
  40310. #. type: table
  40311. #: guix-git/doc/guix.texi:27277
  40312. msgid "The package object of the Agate server."
  40313. msgstr ""
  40314. #. type: item
  40315. #: guix-git/doc/guix.texi:27278
  40316. #, no-wrap
  40317. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  40318. msgstr ""
  40319. #. type: table
  40320. #: guix-git/doc/guix.texi:27280
  40321. msgid "The directory from which Agate will serve files."
  40322. msgstr ""
  40323. #. type: item
  40324. #: guix-git/doc/guix.texi:27281
  40325. #, no-wrap
  40326. msgid "@code{cert} (default: @code{#f})"
  40327. msgstr ""
  40328. #. type: table
  40329. #: guix-git/doc/guix.texi:27284
  40330. 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."
  40331. msgstr ""
  40332. #. type: item
  40333. #: guix-git/doc/guix.texi:27285 guix-git/doc/guix.texi:27721
  40334. #, no-wrap
  40335. msgid "@code{key} (default: @code{#f})"
  40336. msgstr ""
  40337. #. type: table
  40338. #: guix-git/doc/guix.texi:27288
  40339. 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."
  40340. msgstr ""
  40341. #. type: item
  40342. #: guix-git/doc/guix.texi:27289
  40343. #, no-wrap
  40344. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  40345. msgstr ""
  40346. #. type: table
  40347. #: guix-git/doc/guix.texi:27291
  40348. msgid "A list of the addresses to listen on."
  40349. msgstr ""
  40350. #. type: table
  40351. #: guix-git/doc/guix.texi:27294
  40352. msgid "The domain name of this Gemini server. Optional."
  40353. msgstr ""
  40354. #. type: item
  40355. #: guix-git/doc/guix.texi:27295
  40356. #, no-wrap
  40357. msgid "@code{lang} (default: @code{#f})"
  40358. msgstr ""
  40359. #. type: table
  40360. #: guix-git/doc/guix.texi:27297
  40361. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  40362. msgstr ""
  40363. #. type: item
  40364. #: guix-git/doc/guix.texi:27298
  40365. #, no-wrap
  40366. msgid "@code{silent?} (default: @code{#f})"
  40367. msgstr ""
  40368. #. type: table
  40369. #: guix-git/doc/guix.texi:27300
  40370. msgid "Set to @code{#t} to disable logging output."
  40371. msgstr ""
  40372. #. type: item
  40373. #: guix-git/doc/guix.texi:27301
  40374. #, no-wrap
  40375. msgid "@code{serve-secret?} (default: @code{#f})"
  40376. msgstr ""
  40377. #. type: table
  40378. #: guix-git/doc/guix.texi:27304
  40379. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  40380. msgstr ""
  40381. #. type: item
  40382. #: guix-git/doc/guix.texi:27305
  40383. #, no-wrap
  40384. msgid "@code{log-ip?} (default: @code{#t})"
  40385. msgstr ""
  40386. #. type: table
  40387. #: guix-git/doc/guix.texi:27307
  40388. msgid "Whether or not to output IP addresses when logging."
  40389. msgstr ""
  40390. #. type: item
  40391. #: guix-git/doc/guix.texi:27308
  40392. #, no-wrap
  40393. msgid "@code{user} (default: @code{\"agate\"})"
  40394. msgstr ""
  40395. #. type: table
  40396. #: guix-git/doc/guix.texi:27310
  40397. msgid "Owner of the @code{agate} process."
  40398. msgstr ""
  40399. #. type: item
  40400. #: guix-git/doc/guix.texi:27311
  40401. #, no-wrap
  40402. msgid "@code{group} (default: @code{\"agate\"})"
  40403. msgstr ""
  40404. #. type: table
  40405. #: guix-git/doc/guix.texi:27313
  40406. msgid "Owner's group of the @code{agate} process."
  40407. msgstr ""
  40408. #. type: item
  40409. #: guix-git/doc/guix.texi:27314
  40410. #, no-wrap
  40411. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  40412. msgstr ""
  40413. #. type: table
  40414. #: guix-git/doc/guix.texi:27316
  40415. msgid "The file which should store the logging output of Agate."
  40416. msgstr ""
  40417. #. type: cindex
  40418. #: guix-git/doc/guix.texi:27323
  40419. #, no-wrap
  40420. msgid "Web"
  40421. msgstr ""
  40422. #. type: cindex
  40423. #: guix-git/doc/guix.texi:27324
  40424. #, no-wrap
  40425. msgid "HTTP, HTTPS"
  40426. msgstr ""
  40427. #. type: cindex
  40428. #: guix-git/doc/guix.texi:27325
  40429. #, no-wrap
  40430. msgid "Let's Encrypt"
  40431. msgstr ""
  40432. #. type: cindex
  40433. #: guix-git/doc/guix.texi:27326
  40434. #, no-wrap
  40435. msgid "TLS certificates"
  40436. msgstr ""
  40437. #. type: Plain text
  40438. #: guix-git/doc/guix.texi:27333
  40439. 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."
  40440. msgstr ""
  40441. #. type: Plain text
  40442. #: guix-git/doc/guix.texi:27345
  40443. 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."
  40444. msgstr ""
  40445. #. type: Plain text
  40446. #: guix-git/doc/guix.texi:27352
  40447. 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)."
  40448. msgstr ""
  40449. #. type: Plain text
  40450. #: guix-git/doc/guix.texi:27358
  40451. 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."
  40452. msgstr ""
  40453. #. type: Plain text
  40454. #: guix-git/doc/guix.texi:27362
  40455. 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}."
  40456. msgstr ""
  40457. #. type: defvr
  40458. #: guix-git/doc/guix.texi:27363
  40459. #, no-wrap
  40460. msgid "{Scheme Variable} certbot-service-type"
  40461. msgstr ""
  40462. #. type: defvr
  40463. #: guix-git/doc/guix.texi:27366
  40464. 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:"
  40465. msgstr ""
  40466. #. type: lisp
  40467. #: guix-git/doc/guix.texi:27373
  40468. #, no-wrap
  40469. msgid ""
  40470. "(define %nginx-deploy-hook\n"
  40471. " (program-file\n"
  40472. " \"nginx-deploy-hook\"\n"
  40473. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  40474. " (kill pid SIGHUP))))\n"
  40475. "\n"
  40476. msgstr ""
  40477. #. type: lisp
  40478. #: guix-git/doc/guix.texi:27384
  40479. #, no-wrap
  40480. msgid ""
  40481. "(service certbot-service-type\n"
  40482. " (certbot-configuration\n"
  40483. " (email \"foo@@example.net\")\n"
  40484. " (certificates\n"
  40485. " (list\n"
  40486. " (certificate-configuration\n"
  40487. " (domains '(\"example.net\" \"www.example.net\"))\n"
  40488. " (deploy-hook %nginx-deploy-hook))\n"
  40489. " (certificate-configuration\n"
  40490. " (domains '(\"bar.example.net\")))))))\n"
  40491. msgstr ""
  40492. #. type: defvr
  40493. #: guix-git/doc/guix.texi:27387
  40494. msgid "See below for details about @code{certbot-configuration}."
  40495. msgstr ""
  40496. #. type: deftp
  40497. #: guix-git/doc/guix.texi:27389
  40498. #, no-wrap
  40499. msgid "{Data Type} certbot-configuration"
  40500. msgstr ""
  40501. #. type: deftp
  40502. #: guix-git/doc/guix.texi:27392
  40503. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  40504. msgstr ""
  40505. #. type: item
  40506. #: guix-git/doc/guix.texi:27394
  40507. #, no-wrap
  40508. msgid "@code{package} (default: @code{certbot})"
  40509. msgstr ""
  40510. #. type: table
  40511. #: guix-git/doc/guix.texi:27396
  40512. msgid "The certbot package to use."
  40513. msgstr ""
  40514. #. type: item
  40515. #: guix-git/doc/guix.texi:27397
  40516. #, no-wrap
  40517. msgid "@code{webroot} (default: @code{/var/www})"
  40518. msgstr ""
  40519. #. type: table
  40520. #: guix-git/doc/guix.texi:27400
  40521. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  40522. msgstr ""
  40523. #. type: item
  40524. #: guix-git/doc/guix.texi:27401
  40525. #, no-wrap
  40526. msgid "@code{certificates} (default: @code{()})"
  40527. msgstr ""
  40528. #. type: table
  40529. #: guix-git/doc/guix.texi:27405
  40530. 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}."
  40531. msgstr ""
  40532. #. type: item
  40533. #: guix-git/doc/guix.texi:27406
  40534. #, no-wrap
  40535. msgid "@code{email} (default: @code{#f})"
  40536. msgstr ""
  40537. #. type: table
  40538. #: guix-git/doc/guix.texi:27410
  40539. 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."
  40540. msgstr ""
  40541. #. type: item
  40542. #: guix-git/doc/guix.texi:27411 guix-git/doc/guix.texi:29158
  40543. #, no-wrap
  40544. msgid "@code{server} (default: @code{#f})"
  40545. msgstr ""
  40546. #. type: table
  40547. #: guix-git/doc/guix.texi:27414
  40548. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  40549. msgstr ""
  40550. #. type: item
  40551. #: guix-git/doc/guix.texi:27415
  40552. #, no-wrap
  40553. msgid "@code{rsa-key-size} (default: @code{2048})"
  40554. msgstr ""
  40555. #. type: table
  40556. #: guix-git/doc/guix.texi:27417
  40557. msgid "Size of the RSA key."
  40558. msgstr ""
  40559. #. type: item
  40560. #: guix-git/doc/guix.texi:27418
  40561. #, no-wrap
  40562. msgid "@code{default-location} (default: @i{see below})"
  40563. msgstr ""
  40564. #. type: table
  40565. #: guix-git/doc/guix.texi:27427
  40566. 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."
  40567. msgstr ""
  40568. #. type: table
  40569. #: guix-git/doc/guix.texi:27431
  40570. 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."
  40571. msgstr ""
  40572. #. type: table
  40573. #: guix-git/doc/guix.texi:27435
  40574. 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}."
  40575. msgstr ""
  40576. #. type: table
  40577. #: guix-git/doc/guix.texi:27437
  40578. msgid "Pass @code{#f} to not issue a default location."
  40579. msgstr ""
  40580. #. type: deftp
  40581. #: guix-git/doc/guix.texi:27440
  40582. #, no-wrap
  40583. msgid "{Data Type} certificate-configuration"
  40584. msgstr ""
  40585. #. type: deftp
  40586. #: guix-git/doc/guix.texi:27443
  40587. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  40588. msgstr ""
  40589. #. type: item
  40590. #: guix-git/doc/guix.texi:27445
  40591. #, no-wrap
  40592. msgid "@code{name} (default: @i{see below})"
  40593. msgstr ""
  40594. #. type: table
  40595. #: guix-git/doc/guix.texi:27449
  40596. 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}."
  40597. msgstr ""
  40598. #. type: table
  40599. #: guix-git/doc/guix.texi:27451
  40600. msgid "Its default is the first provided domain."
  40601. msgstr ""
  40602. #. type: item
  40603. #: guix-git/doc/guix.texi:27452
  40604. #, no-wrap
  40605. msgid "@code{domains} (default: @code{()})"
  40606. msgstr ""
  40607. #. type: table
  40608. #: guix-git/doc/guix.texi:27455
  40609. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  40610. msgstr ""
  40611. #. type: item
  40612. #: guix-git/doc/guix.texi:27456
  40613. #, no-wrap
  40614. msgid "@code{challenge} (default: @code{#f})"
  40615. msgstr ""
  40616. #. type: table
  40617. #: guix-git/doc/guix.texi:27463
  40618. 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."
  40619. msgstr ""
  40620. #. type: item
  40621. #: guix-git/doc/guix.texi:27464
  40622. #, no-wrap
  40623. msgid "@code{csr} (default: @code{#f})"
  40624. msgstr ""
  40625. #. type: table
  40626. #: guix-git/doc/guix.texi:27471
  40627. msgid "File name of Certificate Signing Request (CSR) in DER or PEM format. If @code{#f} is specified, this argument will not be passed to certbot. If a value is specified, certbot will use it to obtain a certificate, instead of using a self-generated CSR. The domain-name(s) mentioned in @code{domains}, must be consistent with the domain-name(s) mentioned in CSR file."
  40628. msgstr ""
  40629. #. type: item
  40630. #: guix-git/doc/guix.texi:27472
  40631. #, no-wrap
  40632. msgid "@code{authentication-hook} (default: @code{#f})"
  40633. msgstr ""
  40634. #. type: table
  40635. #: guix-git/doc/guix.texi:27478
  40636. 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."
  40637. msgstr ""
  40638. #. type: item
  40639. #: guix-git/doc/guix.texi:27479
  40640. #, no-wrap
  40641. msgid "@code{cleanup-hook} (default: @code{#f})"
  40642. msgstr ""
  40643. #. type: table
  40644. #: guix-git/doc/guix.texi:27485
  40645. 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."
  40646. msgstr ""
  40647. #. type: item
  40648. #: guix-git/doc/guix.texi:27486
  40649. #, no-wrap
  40650. msgid "@code{deploy-hook} (default: @code{#f})"
  40651. msgstr ""
  40652. #. type: table
  40653. #: guix-git/doc/guix.texi:27494
  40654. 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\"}."
  40655. msgstr ""
  40656. #. type: Plain text
  40657. #: guix-git/doc/guix.texi:27501
  40658. 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}."
  40659. msgstr ""
  40660. #. type: cindex
  40661. #: guix-git/doc/guix.texi:27503
  40662. #, no-wrap
  40663. msgid "DNS (domain name system)"
  40664. msgstr ""
  40665. #. type: cindex
  40666. #: guix-git/doc/guix.texi:27504
  40667. #, no-wrap
  40668. msgid "domain name system (DNS)"
  40669. msgstr ""
  40670. #. type: Plain text
  40671. #: guix-git/doc/guix.texi:27512
  40672. 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}."
  40673. msgstr ""
  40674. #. type: subsubheading
  40675. #: guix-git/doc/guix.texi:27513
  40676. #, no-wrap
  40677. msgid "Knot Service"
  40678. msgstr ""
  40679. #. type: Plain text
  40680. #: guix-git/doc/guix.texi:27517
  40681. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  40682. msgstr ""
  40683. #. type: lisp
  40684. #: guix-git/doc/guix.texi:27524
  40685. #, no-wrap
  40686. msgid ""
  40687. "(define-zone-entries example.org.zone\n"
  40688. ";; Name TTL Class Type Data\n"
  40689. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  40690. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  40691. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  40692. "\n"
  40693. msgstr ""
  40694. #. type: lisp
  40695. #: guix-git/doc/guix.texi:27531
  40696. #, no-wrap
  40697. msgid ""
  40698. "(define master-zone\n"
  40699. " (knot-zone-configuration\n"
  40700. " (domain \"example.org\")\n"
  40701. " (zone (zone-file\n"
  40702. " (origin \"example.org\")\n"
  40703. " (entries example.org.zone)))))\n"
  40704. "\n"
  40705. msgstr ""
  40706. #. type: lisp
  40707. #: guix-git/doc/guix.texi:27537
  40708. #, no-wrap
  40709. msgid ""
  40710. "(define slave-zone\n"
  40711. " (knot-zone-configuration\n"
  40712. " (domain \"plop.org\")\n"
  40713. " (dnssec-policy \"default\")\n"
  40714. " (master (list \"plop-master\"))))\n"
  40715. "\n"
  40716. msgstr ""
  40717. #. type: lisp
  40718. #: guix-git/doc/guix.texi:27542
  40719. #, no-wrap
  40720. msgid ""
  40721. "(define plop-master\n"
  40722. " (knot-remote-configuration\n"
  40723. " (id \"plop-master\")\n"
  40724. " (address (list \"208.76.58.171\"))))\n"
  40725. "\n"
  40726. msgstr ""
  40727. #. type: lisp
  40728. #: guix-git/doc/guix.texi:27551
  40729. #, no-wrap
  40730. msgid ""
  40731. "(operating-system\n"
  40732. " ;; ...\n"
  40733. " (services (cons* (service knot-service-type\n"
  40734. " (knot-configuration\n"
  40735. " (remotes (list plop-master))\n"
  40736. " (zones (list master-zone slave-zone))))\n"
  40737. " ;; ...\n"
  40738. " %base-services)))\n"
  40739. msgstr ""
  40740. #. type: deffn
  40741. #: guix-git/doc/guix.texi:27553
  40742. #, no-wrap
  40743. msgid "{Scheme Variable} knot-service-type"
  40744. msgstr ""
  40745. #. type: deffn
  40746. #: guix-git/doc/guix.texi:27555
  40747. msgid "This is the type for the Knot DNS server."
  40748. msgstr ""
  40749. #. type: deffn
  40750. #: guix-git/doc/guix.texi:27563
  40751. 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."
  40752. msgstr ""
  40753. #. type: deffn
  40754. #: guix-git/doc/guix.texi:27565
  40755. msgid "The following data types are used to configure the Knot DNS server:"
  40756. msgstr ""
  40757. #. type: deftp
  40758. #: guix-git/doc/guix.texi:27567
  40759. #, no-wrap
  40760. msgid "{Data Type} knot-key-configuration"
  40761. msgstr ""
  40762. #. type: deftp
  40763. #: guix-git/doc/guix.texi:27570
  40764. msgid "Data type representing a key. This type has the following parameters:"
  40765. msgstr ""
  40766. #. type: item
  40767. #: guix-git/doc/guix.texi:27572 guix-git/doc/guix.texi:27592
  40768. #: guix-git/doc/guix.texi:27707 guix-git/doc/guix.texi:27733
  40769. #: guix-git/doc/guix.texi:27768
  40770. #, no-wrap
  40771. msgid "@code{id} (default: @code{\"\"})"
  40772. msgstr ""
  40773. #. type: table
  40774. #: guix-git/doc/guix.texi:27575 guix-git/doc/guix.texi:27595
  40775. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  40776. msgstr ""
  40777. #. type: item
  40778. #: guix-git/doc/guix.texi:27576
  40779. #, no-wrap
  40780. msgid "@code{algorithm} (default: @code{#f})"
  40781. msgstr ""
  40782. #. type: table
  40783. #: guix-git/doc/guix.texi:27580
  40784. 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}."
  40785. msgstr ""
  40786. #. type: item
  40787. #: guix-git/doc/guix.texi:27581
  40788. #, no-wrap
  40789. msgid "@code{secret} (default: @code{\"\"})"
  40790. msgstr ""
  40791. #. type: table
  40792. #: guix-git/doc/guix.texi:27583
  40793. msgid "The secret key itself."
  40794. msgstr ""
  40795. #. type: deftp
  40796. #: guix-git/doc/guix.texi:27587
  40797. #, no-wrap
  40798. msgid "{Data Type} knot-acl-configuration"
  40799. msgstr ""
  40800. #. type: deftp
  40801. #: guix-git/doc/guix.texi:27590
  40802. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  40803. msgstr ""
  40804. #. type: item
  40805. #: guix-git/doc/guix.texi:27596 guix-git/doc/guix.texi:27711
  40806. #, no-wrap
  40807. msgid "@code{address} (default: @code{'()})"
  40808. msgstr ""
  40809. #. type: table
  40810. #: guix-git/doc/guix.texi:27600
  40811. 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."
  40812. msgstr ""
  40813. #. type: item
  40814. #: guix-git/doc/guix.texi:27601
  40815. #, no-wrap
  40816. msgid "@code{key} (default: @code{'()})"
  40817. msgstr ""
  40818. #. type: table
  40819. #: guix-git/doc/guix.texi:27605
  40820. 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."
  40821. msgstr ""
  40822. #. type: item
  40823. #: guix-git/doc/guix.texi:27606
  40824. #, no-wrap
  40825. msgid "@code{action} (default: @code{'()})"
  40826. msgstr ""
  40827. #. type: table
  40828. #: guix-git/doc/guix.texi:27610
  40829. 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}."
  40830. msgstr ""
  40831. #. type: item
  40832. #: guix-git/doc/guix.texi:27611
  40833. #, no-wrap
  40834. msgid "@code{deny?} (default: @code{#f})"
  40835. msgstr ""
  40836. #. type: table
  40837. #: guix-git/doc/guix.texi:27614
  40838. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  40839. msgstr ""
  40840. #. type: deftp
  40841. #: guix-git/doc/guix.texi:27618
  40842. #, no-wrap
  40843. msgid "{Data Type} zone-entry"
  40844. msgstr ""
  40845. #. type: deftp
  40846. #: guix-git/doc/guix.texi:27621
  40847. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  40848. msgstr ""
  40849. #. type: item
  40850. #: guix-git/doc/guix.texi:27623
  40851. #, no-wrap
  40852. msgid "@code{name} (default: @code{\"@@\"})"
  40853. msgstr ""
  40854. #. type: table
  40855. #: guix-git/doc/guix.texi:27629
  40856. 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}."
  40857. msgstr ""
  40858. #. type: item
  40859. #: guix-git/doc/guix.texi:27630
  40860. #, no-wrap
  40861. msgid "@code{ttl} (default: @code{\"\"})"
  40862. msgstr ""
  40863. #. type: table
  40864. #: guix-git/doc/guix.texi:27632
  40865. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  40866. msgstr ""
  40867. #. type: item
  40868. #: guix-git/doc/guix.texi:27633
  40869. #, no-wrap
  40870. msgid "@code{class} (default: @code{\"IN\"})"
  40871. msgstr ""
  40872. #. type: table
  40873. #: guix-git/doc/guix.texi:27636
  40874. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  40875. msgstr ""
  40876. #. type: item
  40877. #: guix-git/doc/guix.texi:27637
  40878. #, no-wrap
  40879. msgid "@code{type} (default: @code{\"A\"})"
  40880. msgstr ""
  40881. #. type: table
  40882. #: guix-git/doc/guix.texi:27641
  40883. 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."
  40884. msgstr ""
  40885. #. type: item
  40886. #: guix-git/doc/guix.texi:27642
  40887. #, no-wrap
  40888. msgid "@code{data} (default: @code{\"\"})"
  40889. msgstr ""
  40890. #. type: table
  40891. #: guix-git/doc/guix.texi:27646
  40892. 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."
  40893. msgstr ""
  40894. #. type: deftp
  40895. #: guix-git/doc/guix.texi:27650
  40896. #, no-wrap
  40897. msgid "{Data Type} zone-file"
  40898. msgstr ""
  40899. #. type: deftp
  40900. #: guix-git/doc/guix.texi:27653
  40901. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  40902. msgstr ""
  40903. #. type: table
  40904. #: guix-git/doc/guix.texi:27662
  40905. 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}."
  40906. msgstr ""
  40907. #. type: item
  40908. #: guix-git/doc/guix.texi:27663
  40909. #, no-wrap
  40910. msgid "@code{origin} (default: @code{\"\"})"
  40911. msgstr ""
  40912. #. type: table
  40913. #: guix-git/doc/guix.texi:27665
  40914. msgid "The name of your zone. This parameter cannot be empty."
  40915. msgstr ""
  40916. #. type: item
  40917. #: guix-git/doc/guix.texi:27666
  40918. #, no-wrap
  40919. msgid "@code{ns} (default: @code{\"ns\"})"
  40920. msgstr ""
  40921. #. type: table
  40922. #: guix-git/doc/guix.texi:27671
  40923. 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."
  40924. msgstr ""
  40925. #. type: item
  40926. #: guix-git/doc/guix.texi:27672
  40927. #, no-wrap
  40928. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  40929. msgstr ""
  40930. #. type: table
  40931. #: guix-git/doc/guix.texi:27675
  40932. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  40933. msgstr ""
  40934. #. type: item
  40935. #: guix-git/doc/guix.texi:27676
  40936. #, no-wrap
  40937. msgid "@code{serial} (default: @code{1})"
  40938. msgstr ""
  40939. #. type: table
  40940. #: guix-git/doc/guix.texi:27680
  40941. 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."
  40942. msgstr ""
  40943. #. type: item
  40944. #: guix-git/doc/guix.texi:27681
  40945. #, no-wrap
  40946. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  40947. msgstr ""
  40948. #. type: table
  40949. #: guix-git/doc/guix.texi:27685
  40950. 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)}."
  40951. msgstr ""
  40952. #. type: item
  40953. #: guix-git/doc/guix.texi:27686
  40954. #, no-wrap
  40955. msgid "@code{retry} (default: @code{(* 15 60)})"
  40956. msgstr ""
  40957. #. type: table
  40958. #: guix-git/doc/guix.texi:27689
  40959. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  40960. msgstr ""
  40961. #. type: item
  40962. #: guix-git/doc/guix.texi:27690
  40963. #, no-wrap
  40964. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  40965. msgstr ""
  40966. #. type: table
  40967. #: guix-git/doc/guix.texi:27694
  40968. 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."
  40969. msgstr ""
  40970. #. type: item
  40971. #: guix-git/doc/guix.texi:27695
  40972. #, no-wrap
  40973. msgid "@code{nx} (default: @code{3600})"
  40974. msgstr ""
  40975. #. type: table
  40976. #: guix-git/doc/guix.texi:27698
  40977. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  40978. msgstr ""
  40979. #. type: deftp
  40980. #: guix-git/doc/guix.texi:27702
  40981. #, no-wrap
  40982. msgid "{Data Type} knot-remote-configuration"
  40983. msgstr ""
  40984. #. type: deftp
  40985. #: guix-git/doc/guix.texi:27705
  40986. msgid "Data type representing a remote configuration. This type has the following parameters:"
  40987. msgstr ""
  40988. #. type: table
  40989. #: guix-git/doc/guix.texi:27710
  40990. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  40991. msgstr ""
  40992. #. type: table
  40993. #: guix-git/doc/guix.texi:27715
  40994. 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."
  40995. msgstr ""
  40996. #. type: item
  40997. #: guix-git/doc/guix.texi:27716
  40998. #, no-wrap
  40999. msgid "@code{via} (default: @code{'()})"
  41000. msgstr ""
  41001. #. type: table
  41002. #: guix-git/doc/guix.texi:27720
  41003. 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."
  41004. msgstr ""
  41005. #. type: table
  41006. #: guix-git/doc/guix.texi:27724
  41007. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  41008. msgstr ""
  41009. #. type: deftp
  41010. #: guix-git/doc/guix.texi:27728
  41011. #, no-wrap
  41012. msgid "{Data Type} knot-keystore-configuration"
  41013. msgstr ""
  41014. #. type: deftp
  41015. #: guix-git/doc/guix.texi:27731
  41016. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  41017. msgstr ""
  41018. #. type: table
  41019. #: guix-git/doc/guix.texi:27735
  41020. msgid "The id of the keystore. It must not be empty."
  41021. msgstr ""
  41022. #. type: item
  41023. #: guix-git/doc/guix.texi:27736
  41024. #, no-wrap
  41025. msgid "@code{backend} (default: @code{'pem})"
  41026. msgstr ""
  41027. #. type: table
  41028. #: guix-git/doc/guix.texi:27738
  41029. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  41030. msgstr ""
  41031. #. type: item
  41032. #: guix-git/doc/guix.texi:27739
  41033. #, no-wrap
  41034. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  41035. msgstr ""
  41036. #. type: table
  41037. #: guix-git/doc/guix.texi:27743
  41038. 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."
  41039. msgstr ""
  41040. #. type: deftp
  41041. #: guix-git/doc/guix.texi:27747
  41042. #, no-wrap
  41043. msgid "{Data Type} knot-policy-configuration"
  41044. msgstr ""
  41045. #. type: deftp
  41046. #: guix-git/doc/guix.texi:27751
  41047. 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."
  41048. msgstr ""
  41049. #. type: deftp
  41050. #: guix-git/doc/guix.texi:27758
  41051. 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."
  41052. msgstr ""
  41053. #. type: deftp
  41054. #: guix-git/doc/guix.texi:27764
  41055. 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."
  41056. msgstr ""
  41057. #. type: deftp
  41058. #: guix-git/doc/guix.texi:27766
  41059. msgid "This type has the following parameters:"
  41060. msgstr ""
  41061. #. type: table
  41062. #: guix-git/doc/guix.texi:27770
  41063. msgid "The id of the policy. It must not be empty."
  41064. msgstr ""
  41065. #. type: item
  41066. #: guix-git/doc/guix.texi:27771
  41067. #, no-wrap
  41068. msgid "@code{keystore} (default: @code{\"default\"})"
  41069. msgstr ""
  41070. #. type: table
  41071. #: guix-git/doc/guix.texi:27776
  41072. 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)."
  41073. msgstr ""
  41074. #. type: item
  41075. #: guix-git/doc/guix.texi:27777
  41076. #, no-wrap
  41077. msgid "@code{manual?} (default: @code{#f})"
  41078. msgstr ""
  41079. #. type: table
  41080. #: guix-git/doc/guix.texi:27779
  41081. msgid "Whether the key management is manual or automatic."
  41082. msgstr ""
  41083. #. type: item
  41084. #: guix-git/doc/guix.texi:27780
  41085. #, no-wrap
  41086. msgid "@code{single-type-signing?} (default: @code{#f})"
  41087. msgstr ""
  41088. #. type: table
  41089. #: guix-git/doc/guix.texi:27782
  41090. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  41091. msgstr ""
  41092. #. type: item
  41093. #: guix-git/doc/guix.texi:27783
  41094. #, no-wrap
  41095. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  41096. msgstr ""
  41097. #. type: table
  41098. #: guix-git/doc/guix.texi:27785
  41099. msgid "An algorithm of signing keys and issued signatures."
  41100. msgstr ""
  41101. #. type: item
  41102. #: guix-git/doc/guix.texi:27786
  41103. #, no-wrap
  41104. msgid "@code{ksk-size} (default: @code{256})"
  41105. msgstr ""
  41106. #. type: table
  41107. #: guix-git/doc/guix.texi:27789
  41108. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41109. msgstr ""
  41110. #. type: item
  41111. #: guix-git/doc/guix.texi:27790
  41112. #, no-wrap
  41113. msgid "@code{zsk-size} (default: @code{256})"
  41114. msgstr ""
  41115. #. type: table
  41116. #: guix-git/doc/guix.texi:27793
  41117. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41118. msgstr ""
  41119. #. type: item
  41120. #: guix-git/doc/guix.texi:27794
  41121. #, no-wrap
  41122. msgid "@code{dnskey-ttl} (default: @code{'default})"
  41123. msgstr ""
  41124. #. type: table
  41125. #: guix-git/doc/guix.texi:27797
  41126. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  41127. msgstr ""
  41128. #. type: item
  41129. #: guix-git/doc/guix.texi:27798
  41130. #, no-wrap
  41131. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  41132. msgstr ""
  41133. #. type: table
  41134. #: guix-git/doc/guix.texi:27800
  41135. msgid "The period between ZSK publication and the next rollover initiation."
  41136. msgstr ""
  41137. #. type: item
  41138. #: guix-git/doc/guix.texi:27801
  41139. #, no-wrap
  41140. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  41141. msgstr ""
  41142. #. type: table
  41143. #: guix-git/doc/guix.texi:27804
  41144. 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."
  41145. msgstr ""
  41146. #. type: item
  41147. #: guix-git/doc/guix.texi:27805
  41148. #, no-wrap
  41149. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  41150. msgstr ""
  41151. #. type: table
  41152. #: guix-git/doc/guix.texi:27807
  41153. msgid "A validity period of newly issued signatures."
  41154. msgstr ""
  41155. #. type: item
  41156. #: guix-git/doc/guix.texi:27808
  41157. #, no-wrap
  41158. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  41159. msgstr ""
  41160. #. type: table
  41161. #: guix-git/doc/guix.texi:27810
  41162. msgid "A period how long before a signature expiration the signature will be refreshed."
  41163. msgstr ""
  41164. #. type: item
  41165. #: guix-git/doc/guix.texi:27811
  41166. #, no-wrap
  41167. msgid "@code{nsec3?} (default: @code{#f})"
  41168. msgstr ""
  41169. #. type: table
  41170. #: guix-git/doc/guix.texi:27813
  41171. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  41172. msgstr ""
  41173. #. type: item
  41174. #: guix-git/doc/guix.texi:27814
  41175. #, no-wrap
  41176. msgid "@code{nsec3-iterations} (default: @code{5})"
  41177. msgstr ""
  41178. #. type: table
  41179. #: guix-git/doc/guix.texi:27816
  41180. msgid "The number of additional times the hashing is performed."
  41181. msgstr ""
  41182. #. type: item
  41183. #: guix-git/doc/guix.texi:27817
  41184. #, no-wrap
  41185. msgid "@code{nsec3-salt-length} (default: @code{8})"
  41186. msgstr ""
  41187. #. type: table
  41188. #: guix-git/doc/guix.texi:27820
  41189. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  41190. msgstr ""
  41191. #. type: item
  41192. #: guix-git/doc/guix.texi:27821
  41193. #, no-wrap
  41194. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  41195. msgstr ""
  41196. #. type: table
  41197. #: guix-git/doc/guix.texi:27823
  41198. msgid "The validity period of newly issued salt field."
  41199. msgstr ""
  41200. #. type: deftp
  41201. #: guix-git/doc/guix.texi:27827
  41202. #, no-wrap
  41203. msgid "{Data Type} knot-zone-configuration"
  41204. msgstr ""
  41205. #. type: deftp
  41206. #: guix-git/doc/guix.texi:27830
  41207. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  41208. msgstr ""
  41209. #. type: item
  41210. #: guix-git/doc/guix.texi:27832
  41211. #, no-wrap
  41212. msgid "@code{domain} (default: @code{\"\"})"
  41213. msgstr ""
  41214. #. type: table
  41215. #: guix-git/doc/guix.texi:27834
  41216. msgid "The domain served by this configuration. It must not be empty."
  41217. msgstr ""
  41218. #. type: item
  41219. #: guix-git/doc/guix.texi:27835
  41220. #, no-wrap
  41221. msgid "@code{file} (default: @code{\"\"})"
  41222. msgstr ""
  41223. #. type: table
  41224. #: guix-git/doc/guix.texi:27838
  41225. 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."
  41226. msgstr ""
  41227. #. type: item
  41228. #: guix-git/doc/guix.texi:27839
  41229. #, no-wrap
  41230. msgid "@code{zone} (default: @code{(zone-file)})"
  41231. msgstr ""
  41232. #. type: table
  41233. #: guix-git/doc/guix.texi:27842
  41234. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  41235. msgstr ""
  41236. #. type: item
  41237. #: guix-git/doc/guix.texi:27843
  41238. #, no-wrap
  41239. msgid "@code{master} (default: @code{'()})"
  41240. msgstr ""
  41241. #. type: table
  41242. #: guix-git/doc/guix.texi:27846
  41243. 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."
  41244. msgstr ""
  41245. #. type: item
  41246. #: guix-git/doc/guix.texi:27847
  41247. #, no-wrap
  41248. msgid "@code{ddns-master} (default: @code{#f})"
  41249. msgstr ""
  41250. #. type: table
  41251. #: guix-git/doc/guix.texi:27850
  41252. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  41253. msgstr ""
  41254. #. type: item
  41255. #: guix-git/doc/guix.texi:27851
  41256. #, no-wrap
  41257. msgid "@code{notify} (default: @code{'()})"
  41258. msgstr ""
  41259. #. type: table
  41260. #: guix-git/doc/guix.texi:27853
  41261. msgid "A list of slave remote identifiers."
  41262. msgstr ""
  41263. #. type: item
  41264. #: guix-git/doc/guix.texi:27854
  41265. #, no-wrap
  41266. msgid "@code{acl} (default: @code{'()})"
  41267. msgstr ""
  41268. #. type: table
  41269. #: guix-git/doc/guix.texi:27856
  41270. msgid "A list of acl identifiers."
  41271. msgstr ""
  41272. #. type: item
  41273. #: guix-git/doc/guix.texi:27857
  41274. #, no-wrap
  41275. msgid "@code{semantic-checks?} (default: @code{#f})"
  41276. msgstr ""
  41277. #. type: table
  41278. #: guix-git/doc/guix.texi:27859
  41279. msgid "When set, this adds more semantic checks to the zone."
  41280. msgstr ""
  41281. #. type: item
  41282. #: guix-git/doc/guix.texi:27860
  41283. #, no-wrap
  41284. msgid "@code{zonefile-sync} (default: @code{0})"
  41285. msgstr ""
  41286. #. type: table
  41287. #: guix-git/doc/guix.texi:27863
  41288. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  41289. msgstr ""
  41290. #. type: item
  41291. #: guix-git/doc/guix.texi:27864
  41292. #, no-wrap
  41293. msgid "@code{zonefile-load} (default: @code{#f})"
  41294. msgstr ""
  41295. #. type: table
  41296. #: guix-git/doc/guix.texi:27867
  41297. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  41298. msgstr ""
  41299. #. type: item
  41300. #: guix-git/doc/guix.texi:27869
  41301. #, no-wrap
  41302. msgid "@code{#f} for using the default value from Knot,"
  41303. msgstr ""
  41304. #. type: item
  41305. #: guix-git/doc/guix.texi:27870
  41306. #, no-wrap
  41307. msgid "@code{'none} for not using the zone file at all,"
  41308. msgstr ""
  41309. #. type: item
  41310. #: guix-git/doc/guix.texi:27871
  41311. #, no-wrap
  41312. msgid "@code{'difference} for computing the difference between already available"
  41313. msgstr ""
  41314. #. type: itemize
  41315. #: guix-git/doc/guix.texi:27873
  41316. msgid "contents and zone contents and applying it to the current zone contents,"
  41317. msgstr ""
  41318. #. type: item
  41319. #: guix-git/doc/guix.texi:27873
  41320. #, no-wrap
  41321. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  41322. msgstr ""
  41323. #. type: itemize
  41324. #: guix-git/doc/guix.texi:27876
  41325. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  41326. msgstr ""
  41327. #. type: item
  41328. #: guix-git/doc/guix.texi:27876
  41329. #, no-wrap
  41330. msgid "@code{'whole} for loading zone contents from the zone file."
  41331. msgstr ""
  41332. #. type: item
  41333. #: guix-git/doc/guix.texi:27879
  41334. #, no-wrap
  41335. msgid "@code{journal-content} (default: @code{#f})"
  41336. msgstr ""
  41337. #. type: table
  41338. #: guix-git/doc/guix.texi:27884
  41339. 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."
  41340. msgstr ""
  41341. #. type: item
  41342. #: guix-git/doc/guix.texi:27885
  41343. #, no-wrap
  41344. msgid "@code{max-journal-usage} (default: @code{#f})"
  41345. msgstr ""
  41346. #. type: table
  41347. #: guix-git/doc/guix.texi:27888
  41348. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  41349. msgstr ""
  41350. #. type: item
  41351. #: guix-git/doc/guix.texi:27889
  41352. #, no-wrap
  41353. msgid "@code{max-journal-depth} (default: @code{#f})"
  41354. msgstr ""
  41355. #. type: table
  41356. #: guix-git/doc/guix.texi:27892
  41357. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  41358. msgstr ""
  41359. #. type: item
  41360. #: guix-git/doc/guix.texi:27893
  41361. #, no-wrap
  41362. msgid "@code{max-zone-size} (default: @code{#f})"
  41363. msgstr ""
  41364. #. type: table
  41365. #: guix-git/doc/guix.texi:27897
  41366. 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."
  41367. msgstr ""
  41368. #. type: item
  41369. #: guix-git/doc/guix.texi:27898
  41370. #, no-wrap
  41371. msgid "@code{dnssec-policy} (default: @code{#f})"
  41372. msgstr ""
  41373. #. type: table
  41374. #: guix-git/doc/guix.texi:27902
  41375. 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."
  41376. msgstr ""
  41377. #. type: item
  41378. #: guix-git/doc/guix.texi:27903
  41379. #, no-wrap
  41380. msgid "@code{serial-policy} (default: @code{'increment})"
  41381. msgstr ""
  41382. #. type: table
  41383. #: guix-git/doc/guix.texi:27905
  41384. msgid "A policy between @code{'increment} and @code{'unixtime}."
  41385. msgstr ""
  41386. #. type: deftp
  41387. #: guix-git/doc/guix.texi:27909
  41388. #, no-wrap
  41389. msgid "{Data Type} knot-configuration"
  41390. msgstr ""
  41391. #. type: deftp
  41392. #: guix-git/doc/guix.texi:27912
  41393. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  41394. msgstr ""
  41395. #. type: item
  41396. #: guix-git/doc/guix.texi:27914
  41397. #, no-wrap
  41398. msgid "@code{knot} (default: @code{knot})"
  41399. msgstr ""
  41400. #. type: table
  41401. #: guix-git/doc/guix.texi:27916
  41402. msgid "The Knot package."
  41403. msgstr ""
  41404. #. type: item
  41405. #: guix-git/doc/guix.texi:27917
  41406. #, no-wrap
  41407. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  41408. msgstr ""
  41409. #. type: table
  41410. #: guix-git/doc/guix.texi:27919
  41411. msgid "The run directory. This directory will be used for pid file and sockets."
  41412. msgstr ""
  41413. #. type: item
  41414. #: guix-git/doc/guix.texi:27920
  41415. #, no-wrap
  41416. msgid "@code{includes} (default: @code{'()})"
  41417. msgstr ""
  41418. #. type: table
  41419. #: guix-git/doc/guix.texi:27923
  41420. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  41421. msgstr ""
  41422. #. type: cindex
  41423. #: guix-git/doc/guix.texi:27924
  41424. #, no-wrap
  41425. msgid "secrets, Knot service"
  41426. msgstr ""
  41427. #. type: table
  41428. #: guix-git/doc/guix.texi:27930
  41429. 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."
  41430. msgstr ""
  41431. #. type: table
  41432. #: guix-git/doc/guix.texi:27935
  41433. 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:"
  41434. msgstr ""
  41435. #. type: example
  41436. #: guix-git/doc/guix.texi:27939
  41437. #, no-wrap
  41438. msgid ""
  41439. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  41440. "chmod 600 /etc/knot/secrets.conf\n"
  41441. msgstr ""
  41442. #. type: table
  41443. #: guix-git/doc/guix.texi:27945
  41444. 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."
  41445. msgstr ""
  41446. #. type: table
  41447. #: guix-git/doc/guix.texi:27947
  41448. msgid "It can also be used to add configuration not supported by this interface."
  41449. msgstr ""
  41450. #. type: item
  41451. #: guix-git/doc/guix.texi:27948
  41452. #, no-wrap
  41453. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  41454. msgstr ""
  41455. #. type: table
  41456. #: guix-git/doc/guix.texi:27950 guix-git/doc/guix.texi:27953
  41457. msgid "An ip address on which to listen."
  41458. msgstr ""
  41459. #. type: item
  41460. #: guix-git/doc/guix.texi:27951
  41461. #, no-wrap
  41462. msgid "@code{listen-v6} (default: @code{\"::\"})"
  41463. msgstr ""
  41464. #. type: item
  41465. #: guix-git/doc/guix.texi:27954
  41466. #, no-wrap
  41467. msgid "@code{listen-port} (default: @code{53})"
  41468. msgstr ""
  41469. #. type: table
  41470. #: guix-git/doc/guix.texi:27956
  41471. msgid "A port on which to listen."
  41472. msgstr ""
  41473. #. type: item
  41474. #: guix-git/doc/guix.texi:27957
  41475. #, no-wrap
  41476. msgid "@code{keys} (default: @code{'()})"
  41477. msgstr ""
  41478. #. type: table
  41479. #: guix-git/doc/guix.texi:27959
  41480. msgid "The list of knot-key-configuration used by this configuration."
  41481. msgstr ""
  41482. #. type: item
  41483. #: guix-git/doc/guix.texi:27960
  41484. #, no-wrap
  41485. msgid "@code{acls} (default: @code{'()})"
  41486. msgstr ""
  41487. #. type: table
  41488. #: guix-git/doc/guix.texi:27962
  41489. msgid "The list of knot-acl-configuration used by this configuration."
  41490. msgstr ""
  41491. #. type: item
  41492. #: guix-git/doc/guix.texi:27963
  41493. #, no-wrap
  41494. msgid "@code{remotes} (default: @code{'()})"
  41495. msgstr ""
  41496. #. type: table
  41497. #: guix-git/doc/guix.texi:27965
  41498. msgid "The list of knot-remote-configuration used by this configuration."
  41499. msgstr ""
  41500. #. type: item
  41501. #: guix-git/doc/guix.texi:27966
  41502. #, no-wrap
  41503. msgid "@code{zones} (default: @code{'()})"
  41504. msgstr ""
  41505. #. type: table
  41506. #: guix-git/doc/guix.texi:27968
  41507. msgid "The list of knot-zone-configuration used by this configuration."
  41508. msgstr ""
  41509. #. type: subsubheading
  41510. #: guix-git/doc/guix.texi:27972
  41511. #, no-wrap
  41512. msgid "Knot Resolver Service"
  41513. msgstr ""
  41514. #. type: deffn
  41515. #: guix-git/doc/guix.texi:27974
  41516. #, no-wrap
  41517. msgid "{Scheme Variable} knot-resolver-service-type"
  41518. msgstr ""
  41519. #. type: deffn
  41520. #: guix-git/doc/guix.texi:27977
  41521. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  41522. msgstr ""
  41523. #. type: lisp
  41524. #: guix-git/doc/guix.texi:27987
  41525. #, no-wrap
  41526. msgid ""
  41527. "(service knot-resolver-service-type\n"
  41528. " (knot-resolver-configuration\n"
  41529. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  41530. "net.listen('192.168.0.1', 5353)\n"
  41531. "user('knot-resolver', 'knot-resolver')\n"
  41532. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  41533. "cache.size = 100 * MB\n"
  41534. "\"))))\n"
  41535. msgstr ""
  41536. #. type: deffn
  41537. #: guix-git/doc/guix.texi:27990
  41538. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  41539. msgstr ""
  41540. #. type: deftp
  41541. #: guix-git/doc/guix.texi:27992
  41542. #, no-wrap
  41543. msgid "{Data Type} knot-resolver-configuration"
  41544. msgstr ""
  41545. #. type: deftp
  41546. #: guix-git/doc/guix.texi:27994
  41547. msgid "Data type representing the configuration of knot-resolver."
  41548. msgstr ""
  41549. #. type: item
  41550. #: guix-git/doc/guix.texi:27996
  41551. #, no-wrap
  41552. msgid "@code{package} (default: @var{knot-resolver})"
  41553. msgstr ""
  41554. #. type: table
  41555. #: guix-git/doc/guix.texi:27998
  41556. msgid "Package object of the knot DNS resolver."
  41557. msgstr ""
  41558. #. type: item
  41559. #: guix-git/doc/guix.texi:27999
  41560. #, no-wrap
  41561. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  41562. msgstr ""
  41563. #. type: table
  41564. #: guix-git/doc/guix.texi:28002
  41565. 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}."
  41566. msgstr ""
  41567. #. type: item
  41568. #: guix-git/doc/guix.texi:28003
  41569. #, no-wrap
  41570. msgid "@code{garbage-collection-interval} (default: 1000)"
  41571. msgstr ""
  41572. #. type: table
  41573. #: guix-git/doc/guix.texi:28005
  41574. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  41575. msgstr ""
  41576. #. type: subsubheading
  41577. #: guix-git/doc/guix.texi:28010
  41578. #, no-wrap
  41579. msgid "Dnsmasq Service"
  41580. msgstr ""
  41581. #. type: deffn
  41582. #: guix-git/doc/guix.texi:28012
  41583. #, no-wrap
  41584. msgid "{Scheme Variable} dnsmasq-service-type"
  41585. msgstr ""
  41586. #. type: deffn
  41587. #: guix-git/doc/guix.texi:28015
  41588. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  41589. msgstr ""
  41590. #. type: lisp
  41591. #: guix-git/doc/guix.texi:28021
  41592. #, no-wrap
  41593. msgid ""
  41594. "(service dnsmasq-service-type\n"
  41595. " (dnsmasq-configuration\n"
  41596. " (no-resolv? #t)\n"
  41597. " (servers '(\"192.168.1.1\"))))\n"
  41598. msgstr ""
  41599. #. type: deftp
  41600. #: guix-git/doc/guix.texi:28024
  41601. #, no-wrap
  41602. msgid "{Data Type} dnsmasq-configuration"
  41603. msgstr ""
  41604. #. type: deftp
  41605. #: guix-git/doc/guix.texi:28026
  41606. msgid "Data type representing the configuration of dnsmasq."
  41607. msgstr ""
  41608. #. type: item
  41609. #: guix-git/doc/guix.texi:28028
  41610. #, no-wrap
  41611. msgid "@code{package} (default: @var{dnsmasq})"
  41612. msgstr ""
  41613. #. type: table
  41614. #: guix-git/doc/guix.texi:28030
  41615. msgid "Package object of the dnsmasq server."
  41616. msgstr ""
  41617. #. type: item
  41618. #: guix-git/doc/guix.texi:28031
  41619. #, no-wrap
  41620. msgid "@code{no-hosts?} (default: @code{#f})"
  41621. msgstr ""
  41622. #. type: table
  41623. #: guix-git/doc/guix.texi:28033
  41624. msgid "When true, don't read the hostnames in /etc/hosts."
  41625. msgstr ""
  41626. #. type: item
  41627. #: guix-git/doc/guix.texi:28034
  41628. #, no-wrap
  41629. msgid "@code{port} (default: @code{53})"
  41630. msgstr ""
  41631. #. type: table
  41632. #: guix-git/doc/guix.texi:28037
  41633. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  41634. msgstr ""
  41635. #. type: item
  41636. #: guix-git/doc/guix.texi:28038
  41637. #, no-wrap
  41638. msgid "@code{local-service?} (default: @code{#t})"
  41639. msgstr ""
  41640. #. type: table
  41641. #: guix-git/doc/guix.texi:28041
  41642. 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."
  41643. msgstr ""
  41644. #. type: item
  41645. #: guix-git/doc/guix.texi:28042
  41646. #, no-wrap
  41647. msgid "@code{listen-addresses} (default: @code{'()})"
  41648. msgstr ""
  41649. #. type: table
  41650. #: guix-git/doc/guix.texi:28044
  41651. msgid "Listen on the given IP addresses."
  41652. msgstr ""
  41653. #. type: item
  41654. #: guix-git/doc/guix.texi:28045
  41655. #, no-wrap
  41656. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  41657. msgstr ""
  41658. #. type: table
  41659. #: guix-git/doc/guix.texi:28047
  41660. msgid "The file to read the IP address of the upstream nameservers from."
  41661. msgstr ""
  41662. #. type: item
  41663. #: guix-git/doc/guix.texi:28048
  41664. #, no-wrap
  41665. msgid "@code{no-resolv?} (default: @code{#f})"
  41666. msgstr ""
  41667. #. type: table
  41668. #: guix-git/doc/guix.texi:28050
  41669. msgid "When true, don't read @var{resolv-file}."
  41670. msgstr ""
  41671. #. type: item
  41672. #: guix-git/doc/guix.texi:28051
  41673. #, no-wrap
  41674. msgid "@code{servers} (default: @code{'()})"
  41675. msgstr ""
  41676. #. type: table
  41677. #: guix-git/doc/guix.texi:28053
  41678. msgid "Specify IP address of upstream servers directly."
  41679. msgstr ""
  41680. #. type: item
  41681. #: guix-git/doc/guix.texi:28054
  41682. #, no-wrap
  41683. msgid "@code{addresses} (default: @code{'()})"
  41684. msgstr ""
  41685. #. type: table
  41686. #: guix-git/doc/guix.texi:28058
  41687. 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."
  41688. msgstr ""
  41689. #. type: table
  41690. #: guix-git/doc/guix.texi:28060
  41691. msgid "This is useful for redirecting hosts locally, for example:"
  41692. msgstr ""
  41693. #. type: lisp
  41694. #: guix-git/doc/guix.texi:28069
  41695. #, no-wrap
  41696. msgid ""
  41697. "(service dnsmasq-service-type\n"
  41698. " (dnsmasq-configuration\n"
  41699. " (addresses\n"
  41700. " '(; Redirect to a local web-server.\n"
  41701. " \"/example.org/127.0.0.1\"\n"
  41702. " ; Redirect subdomain to a specific IP.\n"
  41703. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  41704. msgstr ""
  41705. #. type: table
  41706. #: guix-git/doc/guix.texi:28072
  41707. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  41708. msgstr ""
  41709. #. type: item
  41710. #: guix-git/doc/guix.texi:28073
  41711. #, no-wrap
  41712. msgid "@code{cache-size} (default: @code{150})"
  41713. msgstr ""
  41714. #. type: table
  41715. #: guix-git/doc/guix.texi:28076
  41716. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  41717. msgstr ""
  41718. #. type: item
  41719. #: guix-git/doc/guix.texi:28077
  41720. #, no-wrap
  41721. msgid "@code{negative-cache?} (default: @code{#t})"
  41722. msgstr ""
  41723. #. type: table
  41724. #: guix-git/doc/guix.texi:28079
  41725. msgid "When false, disable negative caching."
  41726. msgstr ""
  41727. #. type: item
  41728. #: guix-git/doc/guix.texi:28080
  41729. #, no-wrap
  41730. msgid "@code{tftp-enable?} (default: @code{#f})"
  41731. msgstr ""
  41732. #. type: table
  41733. #: guix-git/doc/guix.texi:28082
  41734. msgid "Whether to enable the built-in TFTP server."
  41735. msgstr ""
  41736. #. type: item
  41737. #: guix-git/doc/guix.texi:28083
  41738. #, no-wrap
  41739. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  41740. msgstr ""
  41741. #. type: table
  41742. #: guix-git/doc/guix.texi:28085
  41743. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  41744. msgstr ""
  41745. #. type: item
  41746. #: guix-git/doc/guix.texi:28086
  41747. #, no-wrap
  41748. msgid "@code{tftp-single-port?} (default: @code{#f})"
  41749. msgstr ""
  41750. #. type: table
  41751. #: guix-git/doc/guix.texi:28088
  41752. msgid "Whether to use only one single port for TFTP."
  41753. msgstr ""
  41754. #. type: item
  41755. #: guix-git/doc/guix.texi:28089
  41756. #, no-wrap
  41757. msgid "@code{tftp-secure?} (default: @code{#f})"
  41758. msgstr ""
  41759. #. type: table
  41760. #: guix-git/doc/guix.texi:28091
  41761. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  41762. msgstr ""
  41763. #. type: table
  41764. #: guix-git/doc/guix.texi:28095
  41765. 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."
  41766. msgstr ""
  41767. #. type: item
  41768. #: guix-git/doc/guix.texi:28096
  41769. #, no-wrap
  41770. msgid "@code{tftp-max} (default: @code{#f})"
  41771. msgstr ""
  41772. #. type: table
  41773. #: guix-git/doc/guix.texi:28098
  41774. msgid "If set, sets the maximal number of concurrent connections allowed."
  41775. msgstr ""
  41776. #. type: item
  41777. #: guix-git/doc/guix.texi:28099
  41778. #, no-wrap
  41779. msgid "@code{tftp-mtu} (default: @code{#f})"
  41780. msgstr ""
  41781. #. type: table
  41782. #: guix-git/doc/guix.texi:28101
  41783. msgid "If set, sets the MTU for TFTP packets to that value."
  41784. msgstr ""
  41785. #. type: item
  41786. #: guix-git/doc/guix.texi:28102
  41787. #, no-wrap
  41788. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  41789. msgstr ""
  41790. #. type: table
  41791. #: guix-git/doc/guix.texi:28104
  41792. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  41793. msgstr ""
  41794. #. type: item
  41795. #: guix-git/doc/guix.texi:28105
  41796. #, no-wrap
  41797. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  41798. msgstr ""
  41799. #. type: table
  41800. #: guix-git/doc/guix.texi:28107
  41801. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  41802. msgstr ""
  41803. #. type: item
  41804. #: guix-git/doc/guix.texi:28108
  41805. #, no-wrap
  41806. msgid "@code{tftp-port-range} (default: @code{#f})"
  41807. msgstr ""
  41808. #. type: table
  41809. #: guix-git/doc/guix.texi:28111
  41810. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  41811. msgstr ""
  41812. #. type: item
  41813. #: guix-git/doc/guix.texi:28112
  41814. #, no-wrap
  41815. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  41816. msgstr ""
  41817. #. type: table
  41818. #: guix-git/doc/guix.texi:28119
  41819. 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."
  41820. msgstr ""
  41821. #. type: item
  41822. #: guix-git/doc/guix.texi:28120
  41823. #, no-wrap
  41824. msgid "@code{tftp-unique-root} (default: @code{#f})"
  41825. msgstr ""
  41826. #. type: table
  41827. #: guix-git/doc/guix.texi:28125
  41828. 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)."
  41829. msgstr ""
  41830. #. type: table
  41831. #: guix-git/doc/guix.texi:28134
  41832. 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."
  41833. msgstr ""
  41834. #. type: subsubheading
  41835. #: guix-git/doc/guix.texi:28138
  41836. #, no-wrap
  41837. msgid "ddclient Service"
  41838. msgstr ""
  41839. #. type: cindex
  41840. #: guix-git/doc/guix.texi:28140
  41841. #, no-wrap
  41842. msgid "ddclient"
  41843. msgstr ""
  41844. #. type: Plain text
  41845. #: guix-git/doc/guix.texi:28144
  41846. 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}."
  41847. msgstr ""
  41848. #. type: Plain text
  41849. #: guix-git/doc/guix.texi:28147
  41850. msgid "The following example show instantiates the service with its default configuration:"
  41851. msgstr ""
  41852. #. type: lisp
  41853. #: guix-git/doc/guix.texi:28150
  41854. #, no-wrap
  41855. msgid "(service ddclient-service-type)\n"
  41856. msgstr ""
  41857. #. type: Plain text
  41858. #: guix-git/doc/guix.texi:28159
  41859. 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."
  41860. msgstr ""
  41861. #. type: Plain text
  41862. #: guix-git/doc/guix.texi:28163
  41863. msgid "Available @code{ddclient-configuration} fields are:"
  41864. msgstr ""
  41865. #. type: deftypevr
  41866. #: guix-git/doc/guix.texi:28164
  41867. #, no-wrap
  41868. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  41869. msgstr ""
  41870. #. type: deftypevr
  41871. #: guix-git/doc/guix.texi:28166
  41872. msgid "The ddclient package."
  41873. msgstr ""
  41874. #. type: deftypevr
  41875. #: guix-git/doc/guix.texi:28169
  41876. #, no-wrap
  41877. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  41878. msgstr ""
  41879. #. type: deftypevr
  41880. #: guix-git/doc/guix.texi:28171
  41881. msgid "The period after which ddclient will retry to check IP and domain name."
  41882. msgstr ""
  41883. #. type: deftypevr
  41884. #: guix-git/doc/guix.texi:28173
  41885. msgid "Defaults to @samp{300}."
  41886. msgstr ""
  41887. #. type: deftypevr
  41888. #: guix-git/doc/guix.texi:28176
  41889. #, no-wrap
  41890. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  41891. msgstr ""
  41892. #. type: deftypevr
  41893. #: guix-git/doc/guix.texi:28178
  41894. msgid "Use syslog for the output."
  41895. msgstr ""
  41896. #. type: deftypevr
  41897. #: guix-git/doc/guix.texi:28183
  41898. #, no-wrap
  41899. msgid "{@code{ddclient-configuration} parameter} string mail"
  41900. msgstr ""
  41901. #. type: deftypevr
  41902. #: guix-git/doc/guix.texi:28185
  41903. msgid "Mail to user."
  41904. msgstr ""
  41905. #. type: deftypevr
  41906. #: guix-git/doc/guix.texi:28187 guix-git/doc/guix.texi:28194
  41907. #: guix-git/doc/guix.texi:29996
  41908. msgid "Defaults to @samp{\"root\"}."
  41909. msgstr ""
  41910. #. type: deftypevr
  41911. #: guix-git/doc/guix.texi:28190
  41912. #, no-wrap
  41913. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  41914. msgstr ""
  41915. #. type: deftypevr
  41916. #: guix-git/doc/guix.texi:28192
  41917. msgid "Mail failed update to user."
  41918. msgstr ""
  41919. #. type: deftypevr
  41920. #: guix-git/doc/guix.texi:28197
  41921. #, no-wrap
  41922. msgid "{@code{ddclient-configuration} parameter} string pid"
  41923. msgstr ""
  41924. #. type: deftypevr
  41925. #: guix-git/doc/guix.texi:28199
  41926. msgid "The ddclient PID file."
  41927. msgstr ""
  41928. #. type: deftypevr
  41929. #: guix-git/doc/guix.texi:28201
  41930. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  41931. msgstr ""
  41932. #. type: deftypevr
  41933. #: guix-git/doc/guix.texi:28204
  41934. #, no-wrap
  41935. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  41936. msgstr ""
  41937. #. type: deftypevr
  41938. #: guix-git/doc/guix.texi:28206
  41939. msgid "Enable SSL support."
  41940. msgstr ""
  41941. #. type: deftypevr
  41942. #: guix-git/doc/guix.texi:28211
  41943. #, no-wrap
  41944. msgid "{@code{ddclient-configuration} parameter} string user"
  41945. msgstr ""
  41946. #. type: deftypevr
  41947. #: guix-git/doc/guix.texi:28214
  41948. msgid "Specifies the user name or ID that is used when running ddclient program."
  41949. msgstr ""
  41950. #. type: deftypevr
  41951. #: guix-git/doc/guix.texi:28216 guix-git/doc/guix.texi:28223
  41952. msgid "Defaults to @samp{\"ddclient\"}."
  41953. msgstr ""
  41954. #. type: deftypevr
  41955. #: guix-git/doc/guix.texi:28219
  41956. #, no-wrap
  41957. msgid "{@code{ddclient-configuration} parameter} string group"
  41958. msgstr ""
  41959. #. type: deftypevr
  41960. #: guix-git/doc/guix.texi:28221
  41961. msgid "Group of the user who will run the ddclient program."
  41962. msgstr ""
  41963. #. type: deftypevr
  41964. #: guix-git/doc/guix.texi:28226
  41965. #, no-wrap
  41966. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  41967. msgstr ""
  41968. #. type: deftypevr
  41969. #: guix-git/doc/guix.texi:28230
  41970. 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."
  41971. msgstr ""
  41972. #. type: deftypevr
  41973. #: guix-git/doc/guix.texi:28232
  41974. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  41975. msgstr ""
  41976. #. type: deftypevr
  41977. #: guix-git/doc/guix.texi:28235
  41978. #, no-wrap
  41979. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  41980. msgstr ""
  41981. #. type: deftypevr
  41982. #: guix-git/doc/guix.texi:28237
  41983. msgid "Extra options will be appended to @file{ddclient.conf} file."
  41984. msgstr ""
  41985. #. type: cindex
  41986. #: guix-git/doc/guix.texi:28248
  41987. #, no-wrap
  41988. msgid "VPN (virtual private network)"
  41989. msgstr ""
  41990. #. type: cindex
  41991. #: guix-git/doc/guix.texi:28249
  41992. #, no-wrap
  41993. msgid "virtual private network (VPN)"
  41994. msgstr ""
  41995. #. type: Plain text
  41996. #: guix-git/doc/guix.texi:28253
  41997. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  41998. msgstr ""
  41999. #. type: subsubheading
  42000. #: guix-git/doc/guix.texi:28254
  42001. #, no-wrap
  42002. msgid "Bitmask"
  42003. msgstr "Bitmask"
  42004. #. type: defvr
  42005. #: guix-git/doc/guix.texi:28256
  42006. #, no-wrap
  42007. msgid "{Scheme Variable} bitmask-service-type"
  42008. msgstr ""
  42009. #. type: defvr
  42010. #: guix-git/doc/guix.texi:28261
  42011. msgid "A service type for the @uref{https://bitmask.net, Bitmask} VPN client. It makes the client available in the system and loads its polkit policy. Please note that the client expects an active polkit-agent, which is either run by your desktop-environment or should be run manually."
  42012. msgstr ""
  42013. #. type: subsubheading
  42014. #: guix-git/doc/guix.texi:28263
  42015. #, no-wrap
  42016. msgid "OpenVPN"
  42017. msgstr ""
  42018. #. type: Plain text
  42019. #: guix-git/doc/guix.texi:28267
  42020. 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@."
  42021. msgstr ""
  42022. #. type: deffn
  42023. #: guix-git/doc/guix.texi:28268
  42024. #, no-wrap
  42025. msgid "{Scheme Procedure} openvpn-client-service @"
  42026. msgstr ""
  42027. #. type: deffn
  42028. #: guix-git/doc/guix.texi:28270
  42029. msgid "[#:config (openvpn-client-configuration)]"
  42030. msgstr ""
  42031. #. type: deffn
  42032. #: guix-git/doc/guix.texi:28272
  42033. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  42034. msgstr ""
  42035. #. type: deffn
  42036. #: guix-git/doc/guix.texi:28274
  42037. #, no-wrap
  42038. msgid "{Scheme Procedure} openvpn-server-service @"
  42039. msgstr ""
  42040. #. type: deffn
  42041. #: guix-git/doc/guix.texi:28276
  42042. msgid "[#:config (openvpn-server-configuration)]"
  42043. msgstr ""
  42044. #. type: deffn
  42045. #: guix-git/doc/guix.texi:28278
  42046. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  42047. msgstr ""
  42048. #. type: deffn
  42049. #: guix-git/doc/guix.texi:28280
  42050. msgid "Both can be run simultaneously."
  42051. msgstr ""
  42052. #. type: Plain text
  42053. #: guix-git/doc/guix.texi:28285
  42054. msgid "Available @code{openvpn-client-configuration} fields are:"
  42055. msgstr ""
  42056. #. type: deftypevr
  42057. #: guix-git/doc/guix.texi:28286
  42058. #, no-wrap
  42059. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  42060. msgstr ""
  42061. #. type: deftypevr
  42062. #: guix-git/doc/guix.texi:28288 guix-git/doc/guix.texi:28443
  42063. msgid "The OpenVPN package."
  42064. msgstr ""
  42065. #. type: deftypevr
  42066. #: guix-git/doc/guix.texi:28291
  42067. #, no-wrap
  42068. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  42069. msgstr ""
  42070. #. type: deftypevr
  42071. #: guix-git/doc/guix.texi:28293 guix-git/doc/guix.texi:28448
  42072. msgid "The OpenVPN pid file."
  42073. msgstr ""
  42074. #. type: deftypevr
  42075. #: guix-git/doc/guix.texi:28295 guix-git/doc/guix.texi:28450
  42076. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  42077. msgstr ""
  42078. #. type: deftypevr
  42079. #: guix-git/doc/guix.texi:28298
  42080. #, no-wrap
  42081. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  42082. msgstr ""
  42083. #. type: deftypevr
  42084. #: guix-git/doc/guix.texi:28301 guix-git/doc/guix.texi:28456
  42085. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  42086. msgstr ""
  42087. #. type: deftypevr
  42088. #: guix-git/doc/guix.texi:28303 guix-git/doc/guix.texi:28458
  42089. msgid "Defaults to @samp{udp}."
  42090. msgstr ""
  42091. #. type: deftypevr
  42092. #: guix-git/doc/guix.texi:28306
  42093. #, no-wrap
  42094. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  42095. msgstr ""
  42096. #. type: deftypevr
  42097. #: guix-git/doc/guix.texi:28308 guix-git/doc/guix.texi:28463
  42098. msgid "The device type used to represent the VPN connection."
  42099. msgstr ""
  42100. #. type: deftypevr
  42101. #: guix-git/doc/guix.texi:28310 guix-git/doc/guix.texi:28465
  42102. msgid "Defaults to @samp{tun}."
  42103. msgstr ""
  42104. #. type: Plain text
  42105. #: guix-git/doc/guix.texi:28316 guix-git/doc/guix.texi:28471
  42106. 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}."
  42107. msgstr ""
  42108. #. type: deftypevr
  42109. #: guix-git/doc/guix.texi:28317
  42110. #, no-wrap
  42111. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  42112. msgstr ""
  42113. #. type: deftypevr
  42114. #: guix-git/doc/guix.texi:28319 guix-git/doc/guix.texi:28474
  42115. msgid "The certificate authority to check connections against."
  42116. msgstr ""
  42117. #. type: deftypevr
  42118. #: guix-git/doc/guix.texi:28321 guix-git/doc/guix.texi:28476
  42119. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  42120. msgstr ""
  42121. #. type: deftypevr
  42122. #: guix-git/doc/guix.texi:28324
  42123. #, no-wrap
  42124. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  42125. msgstr ""
  42126. #. type: deftypevr
  42127. #: guix-git/doc/guix.texi:28327 guix-git/doc/guix.texi:28482
  42128. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  42129. msgstr ""
  42130. #. type: deftypevr
  42131. #: guix-git/doc/guix.texi:28329 guix-git/doc/guix.texi:28484
  42132. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  42133. msgstr ""
  42134. #. type: deftypevr
  42135. #: guix-git/doc/guix.texi:28332
  42136. #, no-wrap
  42137. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  42138. msgstr ""
  42139. #. type: deftypevr
  42140. #: guix-git/doc/guix.texi:28335 guix-git/doc/guix.texi:28490
  42141. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  42142. msgstr ""
  42143. #. type: deftypevr
  42144. #: guix-git/doc/guix.texi:28337 guix-git/doc/guix.texi:28492
  42145. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  42146. msgstr ""
  42147. #. type: deftypevr
  42148. #: guix-git/doc/guix.texi:28340
  42149. #, no-wrap
  42150. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  42151. msgstr ""
  42152. #. type: deftypevr
  42153. #: guix-git/doc/guix.texi:28342 guix-git/doc/guix.texi:28497
  42154. msgid "Whether to use the lzo compression algorithm."
  42155. msgstr ""
  42156. #. type: deftypevr
  42157. #: guix-git/doc/guix.texi:28347
  42158. #, no-wrap
  42159. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  42160. msgstr ""
  42161. #. type: deftypevr
  42162. #: guix-git/doc/guix.texi:28349 guix-git/doc/guix.texi:28504
  42163. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  42164. msgstr ""
  42165. #. type: deftypevr
  42166. #: guix-git/doc/guix.texi:28354
  42167. #, no-wrap
  42168. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  42169. msgstr ""
  42170. #. type: deftypevr
  42171. #: guix-git/doc/guix.texi:28357 guix-git/doc/guix.texi:28512
  42172. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  42173. msgstr ""
  42174. #. type: deftypevr
  42175. #: guix-git/doc/guix.texi:28362
  42176. #, no-wrap
  42177. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  42178. msgstr ""
  42179. #. type: deftypevr
  42180. #: guix-git/doc/guix.texi:28365 guix-git/doc/guix.texi:28520
  42181. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  42182. msgstr ""
  42183. #. type: deftypevr
  42184. #: guix-git/doc/guix.texi:28369
  42185. #, no-wrap
  42186. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  42187. msgstr ""
  42188. #. type: deftypevr
  42189. #: guix-git/doc/guix.texi:28371 guix-git/doc/guix.texi:28526
  42190. msgid "Verbosity level."
  42191. msgstr ""
  42192. #. type: deftypevr
  42193. #: guix-git/doc/guix.texi:28373 guix-git/doc/guix.texi:28528
  42194. #: guix-git/doc/guix.texi:30264 guix-git/doc/guix.texi:30488
  42195. msgid "Defaults to @samp{3}."
  42196. msgstr ""
  42197. #. type: deftypevr
  42198. #: guix-git/doc/guix.texi:28376
  42199. #, no-wrap
  42200. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  42201. msgstr ""
  42202. #. type: deftypevr
  42203. #: guix-git/doc/guix.texi:28379 guix-git/doc/guix.texi:28534
  42204. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  42205. msgstr ""
  42206. #. type: deftypevr
  42207. #: guix-git/doc/guix.texi:28384
  42208. #, no-wrap
  42209. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  42210. msgstr ""
  42211. #. type: deftypevr
  42212. #: guix-git/doc/guix.texi:28388
  42213. 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."
  42214. msgstr ""
  42215. #. type: deftypevr
  42216. #: guix-git/doc/guix.texi:28390
  42217. msgid "Defaults to @samp{'disabled}."
  42218. msgstr ""
  42219. #. type: deftypevr
  42220. #: guix-git/doc/guix.texi:28392
  42221. #, no-wrap
  42222. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  42223. msgstr ""
  42224. #. type: deftypevr
  42225. #: guix-git/doc/guix.texi:28394
  42226. msgid "Whether to check the server certificate has server usage extension."
  42227. msgstr ""
  42228. #. type: deftypevr
  42229. #: guix-git/doc/guix.texi:28399
  42230. #, no-wrap
  42231. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  42232. msgstr ""
  42233. #. type: deftypevr
  42234. #: guix-git/doc/guix.texi:28401
  42235. msgid "Bind to a specific local port number."
  42236. msgstr ""
  42237. #. type: deftypevr
  42238. #: guix-git/doc/guix.texi:28406
  42239. #, no-wrap
  42240. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  42241. msgstr ""
  42242. #. type: deftypevr
  42243. #: guix-git/doc/guix.texi:28408
  42244. msgid "Retry resolving server address."
  42245. msgstr ""
  42246. #. type: deftypevr
  42247. #: guix-git/doc/guix.texi:28413
  42248. #, no-wrap
  42249. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  42250. msgstr ""
  42251. #. type: deftypevr
  42252. #: guix-git/doc/guix.texi:28415
  42253. msgid "A list of remote servers to connect to."
  42254. msgstr ""
  42255. #. type: deftypevr
  42256. #: guix-git/doc/guix.texi:28419
  42257. msgid "Available @code{openvpn-remote-configuration} fields are:"
  42258. msgstr ""
  42259. #. type: deftypevr
  42260. #: guix-git/doc/guix.texi:28420
  42261. #, no-wrap
  42262. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  42263. msgstr ""
  42264. #. type: deftypevr
  42265. #: guix-git/doc/guix.texi:28422
  42266. msgid "Server name."
  42267. msgstr ""
  42268. #. type: deftypevr
  42269. #: guix-git/doc/guix.texi:28424
  42270. msgid "Defaults to @samp{\"my-server\"}."
  42271. msgstr ""
  42272. #. type: deftypevr
  42273. #: guix-git/doc/guix.texi:28427
  42274. #, no-wrap
  42275. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  42276. msgstr ""
  42277. #. type: deftypevr
  42278. #: guix-git/doc/guix.texi:28429
  42279. msgid "Port number the server listens to."
  42280. msgstr ""
  42281. #. type: deftypevr
  42282. #: guix-git/doc/guix.texi:28431 guix-git/doc/guix.texi:28543
  42283. msgid "Defaults to @samp{1194}."
  42284. msgstr ""
  42285. #. type: Plain text
  42286. #: guix-git/doc/guix.texi:28440
  42287. msgid "Available @code{openvpn-server-configuration} fields are:"
  42288. msgstr ""
  42289. #. type: deftypevr
  42290. #: guix-git/doc/guix.texi:28441
  42291. #, no-wrap
  42292. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  42293. msgstr ""
  42294. #. type: deftypevr
  42295. #: guix-git/doc/guix.texi:28446
  42296. #, no-wrap
  42297. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  42298. msgstr ""
  42299. #. type: deftypevr
  42300. #: guix-git/doc/guix.texi:28453
  42301. #, no-wrap
  42302. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  42303. msgstr ""
  42304. #. type: deftypevr
  42305. #: guix-git/doc/guix.texi:28461
  42306. #, no-wrap
  42307. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  42308. msgstr ""
  42309. #. type: deftypevr
  42310. #: guix-git/doc/guix.texi:28472
  42311. #, no-wrap
  42312. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  42313. msgstr ""
  42314. #. type: deftypevr
  42315. #: guix-git/doc/guix.texi:28479
  42316. #, no-wrap
  42317. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  42318. msgstr ""
  42319. #. type: deftypevr
  42320. #: guix-git/doc/guix.texi:28487
  42321. #, no-wrap
  42322. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  42323. msgstr ""
  42324. #. type: deftypevr
  42325. #: guix-git/doc/guix.texi:28495
  42326. #, no-wrap
  42327. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  42328. msgstr ""
  42329. #. type: deftypevr
  42330. #: guix-git/doc/guix.texi:28502
  42331. #, no-wrap
  42332. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  42333. msgstr ""
  42334. #. type: deftypevr
  42335. #: guix-git/doc/guix.texi:28509
  42336. #, no-wrap
  42337. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  42338. msgstr ""
  42339. #. type: deftypevr
  42340. #: guix-git/doc/guix.texi:28517
  42341. #, no-wrap
  42342. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  42343. msgstr ""
  42344. #. type: deftypevr
  42345. #: guix-git/doc/guix.texi:28524
  42346. #, no-wrap
  42347. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  42348. msgstr ""
  42349. #. type: deftypevr
  42350. #: guix-git/doc/guix.texi:28531
  42351. #, no-wrap
  42352. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  42353. msgstr ""
  42354. #. type: deftypevr
  42355. #: guix-git/doc/guix.texi:28539
  42356. #, no-wrap
  42357. msgid "{@code{openvpn-server-configuration} parameter} number port"
  42358. msgstr ""
  42359. #. type: deftypevr
  42360. #: guix-git/doc/guix.texi:28541
  42361. msgid "Specifies the port number on which the server listens."
  42362. msgstr ""
  42363. #. type: deftypevr
  42364. #: guix-git/doc/guix.texi:28546
  42365. #, no-wrap
  42366. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  42367. msgstr ""
  42368. #. type: deftypevr
  42369. #: guix-git/doc/guix.texi:28548
  42370. msgid "An ip and mask specifying the subnet inside the virtual network."
  42371. msgstr ""
  42372. #. type: deftypevr
  42373. #: guix-git/doc/guix.texi:28550
  42374. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  42375. msgstr ""
  42376. #. type: deftypevr
  42377. #: guix-git/doc/guix.texi:28553
  42378. #, no-wrap
  42379. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  42380. msgstr ""
  42381. #. type: deftypevr
  42382. #: guix-git/doc/guix.texi:28555
  42383. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  42384. msgstr ""
  42385. #. type: deftypevr
  42386. #: guix-git/doc/guix.texi:28560
  42387. #, no-wrap
  42388. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  42389. msgstr ""
  42390. #. type: deftypevr
  42391. #: guix-git/doc/guix.texi:28562
  42392. msgid "The Diffie-Hellman parameters file."
  42393. msgstr ""
  42394. #. type: deftypevr
  42395. #: guix-git/doc/guix.texi:28564
  42396. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  42397. msgstr ""
  42398. #. type: deftypevr
  42399. #: guix-git/doc/guix.texi:28567
  42400. #, no-wrap
  42401. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  42402. msgstr ""
  42403. #. type: deftypevr
  42404. #: guix-git/doc/guix.texi:28569
  42405. msgid "The file that records client IPs."
  42406. msgstr ""
  42407. #. type: deftypevr
  42408. #: guix-git/doc/guix.texi:28571
  42409. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  42410. msgstr ""
  42411. #. type: deftypevr
  42412. #: guix-git/doc/guix.texi:28574
  42413. #, no-wrap
  42414. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  42415. msgstr ""
  42416. #. type: deftypevr
  42417. #: guix-git/doc/guix.texi:28576
  42418. msgid "When true, the server will act as a gateway for its clients."
  42419. msgstr ""
  42420. #. type: deftypevr
  42421. #: guix-git/doc/guix.texi:28581
  42422. #, no-wrap
  42423. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  42424. msgstr ""
  42425. #. type: deftypevr
  42426. #: guix-git/doc/guix.texi:28583
  42427. msgid "When true, clients are allowed to talk to each other inside the VPN."
  42428. msgstr ""
  42429. #. type: deftypevr
  42430. #: guix-git/doc/guix.texi:28588
  42431. #, no-wrap
  42432. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  42433. msgstr ""
  42434. #. type: deftypevr
  42435. #: guix-git/doc/guix.texi:28594
  42436. 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."
  42437. msgstr ""
  42438. #. type: deftypevr
  42439. #: guix-git/doc/guix.texi:28597
  42440. #, no-wrap
  42441. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  42442. msgstr ""
  42443. #. type: deftypevr
  42444. #: guix-git/doc/guix.texi:28599
  42445. msgid "The maximum number of clients."
  42446. msgstr ""
  42447. #. type: deftypevr
  42448. #: guix-git/doc/guix.texi:28604
  42449. #, no-wrap
  42450. msgid "{@code{openvpn-server-configuration} parameter} string status"
  42451. msgstr ""
  42452. #. type: deftypevr
  42453. #: guix-git/doc/guix.texi:28607
  42454. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  42455. msgstr ""
  42456. #. type: deftypevr
  42457. #: guix-git/doc/guix.texi:28609
  42458. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  42459. msgstr ""
  42460. #. type: deftypevr
  42461. #: guix-git/doc/guix.texi:28612
  42462. #, no-wrap
  42463. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  42464. msgstr ""
  42465. #. type: deftypevr
  42466. #: guix-git/doc/guix.texi:28614
  42467. msgid "The list of configuration for some clients."
  42468. msgstr ""
  42469. #. type: deftypevr
  42470. #: guix-git/doc/guix.texi:28618
  42471. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  42472. msgstr ""
  42473. #. type: deftypevr
  42474. #: guix-git/doc/guix.texi:28619
  42475. #, no-wrap
  42476. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  42477. msgstr ""
  42478. #. type: deftypevr
  42479. #: guix-git/doc/guix.texi:28621
  42480. msgid "Client name."
  42481. msgstr ""
  42482. #. type: deftypevr
  42483. #: guix-git/doc/guix.texi:28623
  42484. msgid "Defaults to @samp{\"client\"}."
  42485. msgstr ""
  42486. #. type: deftypevr
  42487. #: guix-git/doc/guix.texi:28626
  42488. #, no-wrap
  42489. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  42490. msgstr ""
  42491. #. type: deftypevr
  42492. #: guix-git/doc/guix.texi:28628
  42493. msgid "Client own network"
  42494. msgstr ""
  42495. #. type: deftypevr
  42496. #: guix-git/doc/guix.texi:28633
  42497. #, no-wrap
  42498. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  42499. msgstr ""
  42500. #. type: deftypevr
  42501. #: guix-git/doc/guix.texi:28635
  42502. msgid "Client VPN IP."
  42503. msgstr ""
  42504. #. type: subheading
  42505. #: guix-git/doc/guix.texi:28644
  42506. #, no-wrap
  42507. msgid "strongSwan"
  42508. msgstr "strongSwan"
  42509. #. type: Plain text
  42510. #: guix-git/doc/guix.texi:28648
  42511. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  42512. msgstr ""
  42513. #. type: defvr
  42514. #: guix-git/doc/guix.texi:28649
  42515. #, no-wrap
  42516. msgid "{Scheme Variable} strongswan-service-type"
  42517. msgstr ""
  42518. #. type: defvr
  42519. #: guix-git/doc/guix.texi:28653
  42520. msgid "A service type for configuring strongSwan for IPsec @acronym{VPN, Virtual Private Networking}. Its value must be a @code{strongswan-configuration} record as in this example:"
  42521. msgstr ""
  42522. #. type: lisp
  42523. #: guix-git/doc/guix.texi:28659
  42524. #, no-wrap
  42525. msgid ""
  42526. "(service strongswan-service-type\n"
  42527. " (strongswan-configuration\n"
  42528. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  42529. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  42530. msgstr ""
  42531. #. type: deftp
  42532. #: guix-git/doc/guix.texi:28663
  42533. #, no-wrap
  42534. msgid "{Data Type} strongswan-configuration"
  42535. msgstr ""
  42536. #. type: deftp
  42537. #: guix-git/doc/guix.texi:28665
  42538. msgid "Data type representing the configuration of the StrongSwan service."
  42539. msgstr ""
  42540. #. type: code{#1}
  42541. #: guix-git/doc/guix.texi:28667
  42542. #, no-wrap
  42543. msgid "strongswan"
  42544. msgstr ""
  42545. #. type: table
  42546. #: guix-git/doc/guix.texi:28669
  42547. msgid "The strongSwan package to use for this service."
  42548. msgstr ""
  42549. #. type: item
  42550. #: guix-git/doc/guix.texi:28670
  42551. #, no-wrap
  42552. msgid "@code{ipsec-conf} (default: @code{#f})"
  42553. msgstr ""
  42554. #. type: table
  42555. #: guix-git/doc/guix.texi:28673
  42556. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  42557. msgstr ""
  42558. #. type: item
  42559. #: guix-git/doc/guix.texi:28674
  42560. #, no-wrap
  42561. msgid "@code{ipsec-secrets} (default @code{#f})"
  42562. msgstr ""
  42563. #. type: table
  42564. #: guix-git/doc/guix.texi:28677
  42565. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  42566. msgstr ""
  42567. #. type: subsubheading
  42568. #: guix-git/doc/guix.texi:28681
  42569. #, no-wrap
  42570. msgid "Wireguard"
  42571. msgstr ""
  42572. #. type: defvr
  42573. #: guix-git/doc/guix.texi:28683
  42574. #, no-wrap
  42575. msgid "{Scheme Variable} wireguard-service-type"
  42576. msgstr ""
  42577. #. type: defvr
  42578. #: guix-git/doc/guix.texi:28686
  42579. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  42580. msgstr ""
  42581. #. type: lisp
  42582. #: guix-git/doc/guix.texi:28697
  42583. #, no-wrap
  42584. msgid ""
  42585. "(service wireguard-service-type\n"
  42586. " (wireguard-configuration\n"
  42587. " (peers\n"
  42588. " (list\n"
  42589. " (wireguard-peer\n"
  42590. " (name \"my-peer\")\n"
  42591. " (endpoint \"my.wireguard.com:51820\")\n"
  42592. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  42593. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  42594. msgstr ""
  42595. #. type: deftp
  42596. #: guix-git/doc/guix.texi:28701
  42597. #, no-wrap
  42598. msgid "{Data Type} wireguard-configuration"
  42599. msgstr ""
  42600. #. type: deftp
  42601. #: guix-git/doc/guix.texi:28703
  42602. msgid "Data type representing the configuration of the Wireguard service."
  42603. msgstr ""
  42604. #. type: code{#1}
  42605. #: guix-git/doc/guix.texi:28705
  42606. #, no-wrap
  42607. msgid "wireguard"
  42608. msgstr ""
  42609. #. type: table
  42610. #: guix-git/doc/guix.texi:28707
  42611. msgid "The wireguard package to use for this service."
  42612. msgstr ""
  42613. #. type: item
  42614. #: guix-git/doc/guix.texi:28708
  42615. #, no-wrap
  42616. msgid "@code{interface} (default: @code{\"wg0\"})"
  42617. msgstr ""
  42618. #. type: table
  42619. #: guix-git/doc/guix.texi:28710
  42620. msgid "The interface name for the VPN."
  42621. msgstr ""
  42622. #. type: item
  42623. #: guix-git/doc/guix.texi:28711
  42624. #, no-wrap
  42625. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  42626. msgstr ""
  42627. #. type: table
  42628. #: guix-git/doc/guix.texi:28713
  42629. msgid "The IP addresses to be assigned to the above interface."
  42630. msgstr ""
  42631. #. type: item
  42632. #: guix-git/doc/guix.texi:28714
  42633. #, no-wrap
  42634. msgid "@code{port} (default: @code{51820})"
  42635. msgstr ""
  42636. #. type: table
  42637. #: guix-git/doc/guix.texi:28716
  42638. msgid "The port on which to listen for incoming connections."
  42639. msgstr ""
  42640. #. type: item
  42641. #: guix-git/doc/guix.texi:28717
  42642. #, no-wrap
  42643. msgid "@code{dns} (default: @code{#f})"
  42644. msgstr ""
  42645. #. type: table
  42646. #: guix-git/doc/guix.texi:28719
  42647. msgid "The DNS server(s) to announce to VPN clients via DHCP."
  42648. msgstr ""
  42649. #. type: item
  42650. #: guix-git/doc/guix.texi:28720
  42651. #, no-wrap
  42652. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  42653. msgstr ""
  42654. #. type: table
  42655. #: guix-git/doc/guix.texi:28723
  42656. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  42657. msgstr ""
  42658. #. type: item
  42659. #: guix-git/doc/guix.texi:28724
  42660. #, no-wrap
  42661. msgid "@code{peers} (default: @code{'()})"
  42662. msgstr ""
  42663. #. type: table
  42664. #: guix-git/doc/guix.texi:28727
  42665. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  42666. msgstr ""
  42667. #. type: deftp
  42668. #: guix-git/doc/guix.texi:28731
  42669. #, no-wrap
  42670. msgid "{Data Type} wireguard-peer"
  42671. msgstr ""
  42672. #. type: deftp
  42673. #: guix-git/doc/guix.texi:28733
  42674. msgid "Data type representing a Wireguard peer attached to a given interface."
  42675. msgstr ""
  42676. #. type: table
  42677. #: guix-git/doc/guix.texi:28737
  42678. msgid "The peer name."
  42679. msgstr ""
  42680. #. type: item
  42681. #: guix-git/doc/guix.texi:28738
  42682. #, no-wrap
  42683. msgid "@code{endpoint} (default: @code{#f})"
  42684. msgstr ""
  42685. #. type: table
  42686. #: guix-git/doc/guix.texi:28741
  42687. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  42688. msgstr ""
  42689. #. type: itemx
  42690. #: guix-git/doc/guix.texi:28742 guix-git/doc/guix.texi:29137
  42691. #: guix-git/doc/guix.texi:29174 guix-git/doc/guix.texi:34305
  42692. #, no-wrap
  42693. msgid "public-key"
  42694. msgstr ""
  42695. #. type: table
  42696. #: guix-git/doc/guix.texi:28744
  42697. msgid "The peer public-key represented as a base64 string."
  42698. msgstr ""
  42699. #. type: code{#1}
  42700. #: guix-git/doc/guix.texi:28745
  42701. #, no-wrap
  42702. msgid "allowed-ips"
  42703. msgstr ""
  42704. #. type: table
  42705. #: guix-git/doc/guix.texi:28748
  42706. 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."
  42707. msgstr ""
  42708. #. type: item
  42709. #: guix-git/doc/guix.texi:28749
  42710. #, no-wrap
  42711. msgid "@code{keep-alive} (default: @code{#f})"
  42712. msgstr ""
  42713. #. type: table
  42714. #: guix-git/doc/guix.texi:28754
  42715. msgid "An optional time interval in seconds. A packet will be sent to the server endpoint once per time interval. This helps receiving incoming connections from this peer when you are behind a NAT or a firewall."
  42716. msgstr ""
  42717. #. type: cindex
  42718. #: guix-git/doc/guix.texi:28760
  42719. #, no-wrap
  42720. msgid "NFS"
  42721. msgstr ""
  42722. #. type: Plain text
  42723. #: guix-git/doc/guix.texi:28765
  42724. 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)."
  42725. msgstr ""
  42726. #. type: Plain text
  42727. #: guix-git/doc/guix.texi:28769
  42728. 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}."
  42729. msgstr ""
  42730. #. type: subsubheading
  42731. #: guix-git/doc/guix.texi:28770
  42732. #, no-wrap
  42733. msgid "NFS Service"
  42734. msgstr ""
  42735. #. type: cindex
  42736. #: guix-git/doc/guix.texi:28771
  42737. #, no-wrap
  42738. msgid "NFS, server"
  42739. msgstr ""
  42740. #. type: Plain text
  42741. #: guix-git/doc/guix.texi:28776
  42742. 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."
  42743. msgstr ""
  42744. #. type: defvr
  42745. #: guix-git/doc/guix.texi:28777
  42746. #, no-wrap
  42747. msgid "{Scheme Variable} nfs-service-type"
  42748. msgstr ""
  42749. #. type: defvr
  42750. #: guix-git/doc/guix.texi:28779
  42751. msgid "A service type for a complete NFS server."
  42752. msgstr ""
  42753. #. type: deftp
  42754. #: guix-git/doc/guix.texi:28781
  42755. #, no-wrap
  42756. msgid "{Data Type} nfs-configuration"
  42757. msgstr ""
  42758. #. type: deftp
  42759. #: guix-git/doc/guix.texi:28784
  42760. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  42761. msgstr ""
  42762. #. type: deftp
  42763. #: guix-git/doc/guix.texi:28786
  42764. msgid "It has the following parameters:"
  42765. msgstr ""
  42766. #. type: item
  42767. #: guix-git/doc/guix.texi:28787 guix-git/doc/guix.texi:28912
  42768. #: guix-git/doc/guix.texi:28937
  42769. #, no-wrap
  42770. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  42771. msgstr ""
  42772. #. type: table
  42773. #: guix-git/doc/guix.texi:28789
  42774. msgid "The nfs-utils package to use."
  42775. msgstr ""
  42776. #. type: item
  42777. #: guix-git/doc/guix.texi:28790
  42778. #, no-wrap
  42779. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  42780. msgstr ""
  42781. #. type: table
  42782. #: guix-git/doc/guix.texi:28793
  42783. 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."
  42784. msgstr ""
  42785. #. type: item
  42786. #: guix-git/doc/guix.texi:28794
  42787. #, no-wrap
  42788. msgid "@code{exports} (default: @code{'()})"
  42789. msgstr ""
  42790. #. type: table
  42791. #: guix-git/doc/guix.texi:28799
  42792. 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:"
  42793. msgstr ""
  42794. #. type: lisp
  42795. #: guix-git/doc/guix.texi:28805
  42796. #, no-wrap
  42797. msgid ""
  42798. "(nfs-configuration\n"
  42799. " (exports\n"
  42800. " '((\"/export\"\n"
  42801. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  42802. msgstr ""
  42803. #. type: item
  42804. #: guix-git/doc/guix.texi:28807
  42805. #, no-wrap
  42806. msgid "@code{rpcmountd-port} (default: @code{#f})"
  42807. msgstr ""
  42808. #. type: table
  42809. #: guix-git/doc/guix.texi:28809
  42810. msgid "The network port that the @command{rpc.mountd} daemon should use."
  42811. msgstr ""
  42812. #. type: item
  42813. #: guix-git/doc/guix.texi:28810
  42814. #, no-wrap
  42815. msgid "@code{rpcstatd-port} (default: @code{#f})"
  42816. msgstr ""
  42817. #. type: table
  42818. #: guix-git/doc/guix.texi:28812
  42819. msgid "The network port that the @command{rpc.statd} daemon should use."
  42820. msgstr ""
  42821. #. type: item
  42822. #: guix-git/doc/guix.texi:28813 guix-git/doc/guix.texi:28861
  42823. #, no-wrap
  42824. msgid "@code{rpcbind} (default: @code{rpcbind})"
  42825. msgstr ""
  42826. #. type: table
  42827. #: guix-git/doc/guix.texi:28815 guix-git/doc/guix.texi:28863
  42828. msgid "The rpcbind package to use."
  42829. msgstr ""
  42830. #. type: item
  42831. #: guix-git/doc/guix.texi:28816
  42832. #, no-wrap
  42833. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  42834. msgstr ""
  42835. #. type: table
  42836. #: guix-git/doc/guix.texi:28818
  42837. msgid "The local NFSv4 domain name."
  42838. msgstr ""
  42839. #. type: item
  42840. #: guix-git/doc/guix.texi:28819
  42841. #, no-wrap
  42842. msgid "@code{nfsd-port} (default: @code{2049})"
  42843. msgstr ""
  42844. #. type: table
  42845. #: guix-git/doc/guix.texi:28821
  42846. msgid "The network port that the @command{nfsd} daemon should use."
  42847. msgstr ""
  42848. #. type: item
  42849. #: guix-git/doc/guix.texi:28822
  42850. #, no-wrap
  42851. msgid "@code{nfsd-threads} (default: @code{8})"
  42852. msgstr ""
  42853. #. type: table
  42854. #: guix-git/doc/guix.texi:28824
  42855. msgid "The number of threads used by the @command{nfsd} daemon."
  42856. msgstr ""
  42857. #. type: item
  42858. #: guix-git/doc/guix.texi:28825
  42859. #, no-wrap
  42860. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  42861. msgstr ""
  42862. #. type: table
  42863. #: guix-git/doc/guix.texi:28827
  42864. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  42865. msgstr ""
  42866. #. type: item
  42867. #: guix-git/doc/guix.texi:28828
  42868. #, no-wrap
  42869. msgid "@code{nfsd-udp?} (default: @code{#f})"
  42870. msgstr ""
  42871. #. type: table
  42872. #: guix-git/doc/guix.texi:28830
  42873. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  42874. msgstr ""
  42875. #. type: item
  42876. #: guix-git/doc/guix.texi:28831 guix-git/doc/guix.texi:28915
  42877. #: guix-git/doc/guix.texi:28940
  42878. #, no-wrap
  42879. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  42880. msgstr ""
  42881. #. type: table
  42882. #: guix-git/doc/guix.texi:28833 guix-git/doc/guix.texi:28917
  42883. #: guix-git/doc/guix.texi:28942
  42884. msgid "The directory where the pipefs file system is mounted."
  42885. msgstr ""
  42886. #. type: item
  42887. #: guix-git/doc/guix.texi:28834
  42888. #, no-wrap
  42889. msgid "@code{debug} (default: @code{'()\"})"
  42890. msgstr ""
  42891. #. type: table
  42892. #: guix-git/doc/guix.texi:28838
  42893. 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}."
  42894. msgstr ""
  42895. #. type: Plain text
  42896. #: guix-git/doc/guix.texi:28843
  42897. 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."
  42898. msgstr ""
  42899. #. type: subsubheading
  42900. #: guix-git/doc/guix.texi:28844
  42901. #, no-wrap
  42902. msgid "RPC Bind Service"
  42903. msgstr ""
  42904. #. type: cindex
  42905. #: guix-git/doc/guix.texi:28845
  42906. #, no-wrap
  42907. msgid "rpcbind"
  42908. msgstr ""
  42909. #. type: Plain text
  42910. #: guix-git/doc/guix.texi:28851
  42911. 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."
  42912. msgstr ""
  42913. #. type: defvr
  42914. #: guix-git/doc/guix.texi:28852
  42915. #, no-wrap
  42916. msgid "{Scheme Variable} rpcbind-service-type"
  42917. msgstr ""
  42918. #. type: defvr
  42919. #: guix-git/doc/guix.texi:28854
  42920. msgid "A service type for the RPC portmapper daemon."
  42921. msgstr ""
  42922. #. type: deftp
  42923. #: guix-git/doc/guix.texi:28857
  42924. #, no-wrap
  42925. msgid "{Data Type} rpcbind-configuration"
  42926. msgstr ""
  42927. #. type: deftp
  42928. #: guix-git/doc/guix.texi:28860
  42929. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  42930. msgstr ""
  42931. #. type: item
  42932. #: guix-git/doc/guix.texi:28864
  42933. #, no-wrap
  42934. msgid "@code{warm-start?} (default: @code{#t})"
  42935. msgstr ""
  42936. #. type: table
  42937. #: guix-git/doc/guix.texi:28868
  42938. 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."
  42939. msgstr ""
  42940. #. type: subsubheading
  42941. #: guix-git/doc/guix.texi:28872
  42942. #, no-wrap
  42943. msgid "Pipefs Pseudo File System"
  42944. msgstr ""
  42945. #. type: cindex
  42946. #: guix-git/doc/guix.texi:28873
  42947. #, no-wrap
  42948. msgid "pipefs"
  42949. msgstr ""
  42950. #. type: cindex
  42951. #: guix-git/doc/guix.texi:28874
  42952. #, no-wrap
  42953. msgid "rpc_pipefs"
  42954. msgstr ""
  42955. #. type: Plain text
  42956. #: guix-git/doc/guix.texi:28878
  42957. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  42958. msgstr ""
  42959. #. type: defvr
  42960. #: guix-git/doc/guix.texi:28879
  42961. #, no-wrap
  42962. msgid "{Scheme Variable} pipefs-service-type"
  42963. msgstr ""
  42964. #. type: defvr
  42965. #: guix-git/doc/guix.texi:28881
  42966. msgid "A service type for the pipefs pseudo file system."
  42967. msgstr ""
  42968. #. type: deftp
  42969. #: guix-git/doc/guix.texi:28883
  42970. #, no-wrap
  42971. msgid "{Data Type} pipefs-configuration"
  42972. msgstr ""
  42973. #. type: deftp
  42974. #: guix-git/doc/guix.texi:28886
  42975. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  42976. msgstr ""
  42977. #. type: item
  42978. #: guix-git/doc/guix.texi:28887
  42979. #, no-wrap
  42980. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  42981. msgstr ""
  42982. #. type: table
  42983. #: guix-git/doc/guix.texi:28889
  42984. msgid "The directory to which the file system is to be attached."
  42985. msgstr ""
  42986. #. type: subsubheading
  42987. #: guix-git/doc/guix.texi:28893
  42988. #, no-wrap
  42989. msgid "GSS Daemon Service"
  42990. msgstr ""
  42991. #. type: cindex
  42992. #: guix-git/doc/guix.texi:28894
  42993. #, no-wrap
  42994. msgid "GSSD"
  42995. msgstr ""
  42996. #. type: cindex
  42997. #: guix-git/doc/guix.texi:28895
  42998. #, no-wrap
  42999. msgid "GSS"
  43000. msgstr ""
  43001. #. type: cindex
  43002. #: guix-git/doc/guix.texi:28896
  43003. #, no-wrap
  43004. msgid "global security system"
  43005. msgstr ""
  43006. #. type: Plain text
  43007. #: guix-git/doc/guix.texi:28903
  43008. 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})."
  43009. msgstr ""
  43010. #. type: defvr
  43011. #: guix-git/doc/guix.texi:28904
  43012. #, no-wrap
  43013. msgid "{Scheme Variable} gss-service-type"
  43014. msgstr ""
  43015. #. type: defvr
  43016. #: guix-git/doc/guix.texi:28906
  43017. msgid "A service type for the Global Security System (GSS) daemon."
  43018. msgstr ""
  43019. #. type: deftp
  43020. #: guix-git/doc/guix.texi:28908
  43021. #, no-wrap
  43022. msgid "{Data Type} gss-configuration"
  43023. msgstr ""
  43024. #. type: deftp
  43025. #: guix-git/doc/guix.texi:28911
  43026. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  43027. msgstr ""
  43028. #. type: table
  43029. #: guix-git/doc/guix.texi:28914
  43030. msgid "The package in which the @command{rpc.gssd} command is to be found."
  43031. msgstr ""
  43032. #. type: subsubheading
  43033. #: guix-git/doc/guix.texi:28922
  43034. #, no-wrap
  43035. msgid "IDMAP Daemon Service"
  43036. msgstr ""
  43037. #. type: cindex
  43038. #: guix-git/doc/guix.texi:28923
  43039. #, no-wrap
  43040. msgid "idmapd"
  43041. msgstr ""
  43042. #. type: cindex
  43043. #: guix-git/doc/guix.texi:28924
  43044. #, no-wrap
  43045. msgid "name mapper"
  43046. msgstr ""
  43047. #. type: Plain text
  43048. #: guix-git/doc/guix.texi:28928
  43049. 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."
  43050. msgstr ""
  43051. #. type: defvr
  43052. #: guix-git/doc/guix.texi:28929
  43053. #, no-wrap
  43054. msgid "{Scheme Variable} idmap-service-type"
  43055. msgstr ""
  43056. #. type: defvr
  43057. #: guix-git/doc/guix.texi:28931
  43058. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  43059. msgstr ""
  43060. #. type: deftp
  43061. #: guix-git/doc/guix.texi:28933
  43062. #, no-wrap
  43063. msgid "{Data Type} idmap-configuration"
  43064. msgstr ""
  43065. #. type: deftp
  43066. #: guix-git/doc/guix.texi:28936
  43067. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  43068. msgstr ""
  43069. #. type: table
  43070. #: guix-git/doc/guix.texi:28939
  43071. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  43072. msgstr ""
  43073. #. type: item
  43074. #: guix-git/doc/guix.texi:28943
  43075. #, no-wrap
  43076. msgid "@code{domain} (default: @code{#f})"
  43077. msgstr ""
  43078. #. type: table
  43079. #: guix-git/doc/guix.texi:28947
  43080. 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."
  43081. msgstr ""
  43082. #. type: item
  43083. #: guix-git/doc/guix.texi:28948
  43084. #, no-wrap
  43085. msgid "@code{verbosity} (default: @code{0})"
  43086. msgstr ""
  43087. #. type: table
  43088. #: guix-git/doc/guix.texi:28950
  43089. msgid "The verbosity level of the daemon."
  43090. msgstr ""
  43091. #. type: Plain text
  43092. #: guix-git/doc/guix.texi:28961
  43093. 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})."
  43094. msgstr ""
  43095. #. type: Plain text
  43096. #: guix-git/doc/guix.texi:28963
  43097. msgid "The @code{(gnu services cuirass)} module provides the following service."
  43098. msgstr ""
  43099. #. type: defvr
  43100. #: guix-git/doc/guix.texi:28964
  43101. #, no-wrap
  43102. msgid "{Scheme Procedure} cuirass-service-type"
  43103. msgstr ""
  43104. #. type: defvr
  43105. #: guix-git/doc/guix.texi:28967
  43106. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  43107. msgstr ""
  43108. #. type: Plain text
  43109. #: guix-git/doc/guix.texi:28972
  43110. 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."
  43111. msgstr ""
  43112. #. type: lisp
  43113. #: guix-git/doc/guix.texi:28983
  43114. #, no-wrap
  43115. msgid ""
  43116. "(define %cuirass-specs\n"
  43117. " #~(list (specification\n"
  43118. " (name \"my-channel\")\n"
  43119. " (build '(channels my-channel))\n"
  43120. " (channels\n"
  43121. " (cons (channel\n"
  43122. " (name 'my-channel)\n"
  43123. " (url \"https://my-channel.git\"))\n"
  43124. " %default-channels)))))\n"
  43125. "\n"
  43126. msgstr ""
  43127. #. type: lisp
  43128. #: guix-git/doc/guix.texi:28987 guix-git/doc/guix.texi:29001
  43129. #, no-wrap
  43130. msgid ""
  43131. "(service cuirass-service-type\n"
  43132. " (cuirass-configuration\n"
  43133. " (specifications %cuirass-specs)))\n"
  43134. msgstr ""
  43135. #. type: Plain text
  43136. #: guix-git/doc/guix.texi:28991
  43137. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  43138. msgstr ""
  43139. #. type: lisp
  43140. #: guix-git/doc/guix.texi:28997
  43141. #, no-wrap
  43142. msgid ""
  43143. "(define %cuirass-specs\n"
  43144. " #~(list (specification\n"
  43145. " (name \"my-linux\")\n"
  43146. " (build '(packages \"linux-libre\")))))\n"
  43147. "\n"
  43148. msgstr ""
  43149. #. type: Plain text
  43150. #: guix-git/doc/guix.texi:29006
  43151. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  43152. msgstr ""
  43153. #. type: Plain text
  43154. #: guix-git/doc/guix.texi:29010
  43155. 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."
  43156. msgstr ""
  43157. #. type: deftp
  43158. #: guix-git/doc/guix.texi:29011
  43159. #, no-wrap
  43160. msgid "{Data Type} cuirass-configuration"
  43161. msgstr ""
  43162. #. type: deftp
  43163. #: guix-git/doc/guix.texi:29013
  43164. msgid "Data type representing the configuration of Cuirass."
  43165. msgstr ""
  43166. #. type: item
  43167. #: guix-git/doc/guix.texi:29015 guix-git/doc/guix.texi:29152
  43168. #, no-wrap
  43169. msgid "@code{cuirass} (default: @code{cuirass})"
  43170. msgstr ""
  43171. #. type: table
  43172. #: guix-git/doc/guix.texi:29017 guix-git/doc/guix.texi:29154
  43173. msgid "The Cuirass package to use."
  43174. msgstr ""
  43175. #. type: item
  43176. #: guix-git/doc/guix.texi:29018
  43177. #, no-wrap
  43178. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  43179. msgstr ""
  43180. #. type: table
  43181. #: guix-git/doc/guix.texi:29020 guix-git/doc/guix.texi:29124
  43182. #: guix-git/doc/guix.texi:29167
  43183. msgid "Location of the log file."
  43184. msgstr ""
  43185. #. type: item
  43186. #: guix-git/doc/guix.texi:29021
  43187. #, no-wrap
  43188. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  43189. msgstr ""
  43190. #. type: table
  43191. #: guix-git/doc/guix.texi:29023
  43192. msgid "Location of the log file used by the web interface."
  43193. msgstr ""
  43194. #. type: item
  43195. #: guix-git/doc/guix.texi:29024
  43196. #, no-wrap
  43197. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  43198. msgstr ""
  43199. #. type: table
  43200. #: guix-git/doc/guix.texi:29026
  43201. msgid "Location of the repository cache."
  43202. msgstr ""
  43203. #. type: item
  43204. #: guix-git/doc/guix.texi:29027
  43205. #, no-wrap
  43206. msgid "@code{user} (default: @code{\"cuirass\"})"
  43207. msgstr ""
  43208. #. type: table
  43209. #: guix-git/doc/guix.texi:29029
  43210. msgid "Owner of the @code{cuirass} process."
  43211. msgstr ""
  43212. #. type: item
  43213. #: guix-git/doc/guix.texi:29030
  43214. #, no-wrap
  43215. msgid "@code{group} (default: @code{\"cuirass\"})"
  43216. msgstr ""
  43217. #. type: table
  43218. #: guix-git/doc/guix.texi:29032
  43219. msgid "Owner's group of the @code{cuirass} process."
  43220. msgstr ""
  43221. #. type: item
  43222. #: guix-git/doc/guix.texi:29033
  43223. #, no-wrap
  43224. msgid "@code{interval} (default: @code{60})"
  43225. msgstr ""
  43226. #. type: table
  43227. #: guix-git/doc/guix.texi:29036
  43228. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  43229. msgstr ""
  43230. #. type: item
  43231. #: guix-git/doc/guix.texi:29037
  43232. #, no-wrap
  43233. msgid "@code{parameters} (default: @code{#f})"
  43234. msgstr ""
  43235. #. type: table
  43236. #: guix-git/doc/guix.texi:29040
  43237. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  43238. msgstr ""
  43239. #. type: item
  43240. #: guix-git/doc/guix.texi:29041
  43241. #, no-wrap
  43242. msgid "@code{remote-server} (default: @code{#f})"
  43243. msgstr ""
  43244. #. type: table
  43245. #: guix-git/doc/guix.texi:29044
  43246. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  43247. msgstr ""
  43248. #. type: item
  43249. #: guix-git/doc/guix.texi:29045
  43250. #, no-wrap
  43251. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  43252. msgstr ""
  43253. #. type: table
  43254. #: guix-git/doc/guix.texi:29050
  43255. 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\"}."
  43256. msgstr ""
  43257. #. type: item
  43258. #: guix-git/doc/guix.texi:29051
  43259. #, no-wrap
  43260. msgid "@code{port} (default: @code{8081})"
  43261. msgstr ""
  43262. #. type: table
  43263. #: guix-git/doc/guix.texi:29053
  43264. msgid "Port number used by the HTTP server."
  43265. msgstr ""
  43266. #. type: table
  43267. #: guix-git/doc/guix.texi:29057
  43268. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  43269. msgstr ""
  43270. #. type: item
  43271. #: guix-git/doc/guix.texi:29058
  43272. #, no-wrap
  43273. msgid "@code{specifications} (default: @code{#~'()})"
  43274. msgstr ""
  43275. #. type: table
  43276. #: guix-git/doc/guix.texi:29062
  43277. 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})."
  43278. msgstr ""
  43279. #. type: item
  43280. #: guix-git/doc/guix.texi:29063
  43281. #, no-wrap
  43282. msgid "@code{use-substitutes?} (default: @code{#f})"
  43283. msgstr ""
  43284. #. type: table
  43285. #: guix-git/doc/guix.texi:29066
  43286. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  43287. msgstr ""
  43288. #. type: item
  43289. #: guix-git/doc/guix.texi:29067 guix-git/doc/guix.texi:36336
  43290. #, no-wrap
  43291. msgid "@code{one-shot?} (default: @code{#f})"
  43292. msgstr ""
  43293. #. type: table
  43294. #: guix-git/doc/guix.texi:29069
  43295. msgid "Only evaluate specifications and build derivations once."
  43296. msgstr ""
  43297. #. type: item
  43298. #: guix-git/doc/guix.texi:29070
  43299. #, no-wrap
  43300. msgid "@code{fallback?} (default: @code{#f})"
  43301. msgstr ""
  43302. #. type: table
  43303. #: guix-git/doc/guix.texi:29073
  43304. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  43305. msgstr ""
  43306. #. type: table
  43307. #: guix-git/doc/guix.texi:29076
  43308. msgid "Extra options to pass when running the Cuirass processes."
  43309. msgstr ""
  43310. #. type: cindex
  43311. #: guix-git/doc/guix.texi:29080
  43312. #, no-wrap
  43313. msgid "remote build"
  43314. msgstr ""
  43315. #. type: subsubheading
  43316. #: guix-git/doc/guix.texi:29081
  43317. #, no-wrap
  43318. msgid "Cuirass remote building"
  43319. msgstr ""
  43320. #. type: Plain text
  43321. #: guix-git/doc/guix.texi:29084
  43322. msgid "Cuirass supports two mechanisms to build derivations."
  43323. msgstr ""
  43324. #. type: item
  43325. #: guix-git/doc/guix.texi:29086
  43326. #, no-wrap
  43327. msgid "Using the local Guix daemon."
  43328. msgstr ""
  43329. #. type: itemize
  43330. #: guix-git/doc/guix.texi:29090
  43331. 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."
  43332. msgstr ""
  43333. #. type: item
  43334. #: guix-git/doc/guix.texi:29091
  43335. #, no-wrap
  43336. msgid "Using the remote build mechanism."
  43337. msgstr ""
  43338. #. type: itemize
  43339. #: guix-git/doc/guix.texi:29095
  43340. 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."
  43341. msgstr ""
  43342. #. type: Plain text
  43343. #: guix-git/doc/guix.texi:29102
  43344. 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."
  43345. msgstr ""
  43346. #. type: Plain text
  43347. #: guix-git/doc/guix.texi:29107
  43348. 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."
  43349. msgstr ""
  43350. #. type: deftp
  43351. #: guix-git/doc/guix.texi:29108
  43352. #, no-wrap
  43353. msgid "{Data Type} cuirass-remote-server-configuration"
  43354. msgstr ""
  43355. #. type: deftp
  43356. #: guix-git/doc/guix.texi:29110
  43357. msgid "Data type representing the configuration of the Cuirass remote-server."
  43358. msgstr ""
  43359. #. type: item
  43360. #: guix-git/doc/guix.texi:29112
  43361. #, no-wrap
  43362. msgid "@code{backend-port} (default: @code{5555})"
  43363. msgstr ""
  43364. #. type: table
  43365. #: guix-git/doc/guix.texi:29115
  43366. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  43367. msgstr ""
  43368. #. type: item
  43369. #: guix-git/doc/guix.texi:29116
  43370. #, no-wrap
  43371. msgid "@code{log-port} (default: @code{5556})"
  43372. msgstr ""
  43373. #. type: table
  43374. #: guix-git/doc/guix.texi:29118
  43375. msgid "The TCP port of the log server. It defaults to @code{5556}."
  43376. msgstr ""
  43377. #. type: item
  43378. #: guix-git/doc/guix.texi:29119
  43379. #, no-wrap
  43380. msgid "@code{publish-port} (default: @code{5557})"
  43381. msgstr ""
  43382. #. type: table
  43383. #: guix-git/doc/guix.texi:29121
  43384. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  43385. msgstr ""
  43386. #. type: item
  43387. #: guix-git/doc/guix.texi:29122
  43388. #, no-wrap
  43389. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  43390. msgstr ""
  43391. #. type: item
  43392. #: guix-git/doc/guix.texi:29125
  43393. #, no-wrap
  43394. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  43395. msgstr ""
  43396. #. type: table
  43397. #: guix-git/doc/guix.texi:29127
  43398. msgid "Use @var{cache} directory to cache build log files."
  43399. msgstr ""
  43400. #. type: item
  43401. #: guix-git/doc/guix.texi:29128
  43402. #, no-wrap
  43403. msgid "@code{trigger-url} (default: @code{#f})"
  43404. msgstr ""
  43405. #. type: table
  43406. #: guix-git/doc/guix.texi:29131
  43407. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  43408. msgstr ""
  43409. #. type: table
  43410. #: guix-git/doc/guix.texi:29136
  43411. msgid "If set to false, do not start a publish server and ignore the @code{publish-port} argument. This can be useful if there is already a standalone publish server standing next to the remote server."
  43412. msgstr ""
  43413. #. type: code{#1}
  43414. #: guix-git/doc/guix.texi:29138 guix-git/doc/guix.texi:29175
  43415. #, no-wrap
  43416. msgid "private-key"
  43417. msgstr ""
  43418. #. type: Plain text
  43419. #: guix-git/doc/guix.texi:29147
  43420. 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."
  43421. msgstr ""
  43422. #. type: deftp
  43423. #: guix-git/doc/guix.texi:29148
  43424. #, no-wrap
  43425. msgid "{Data Type} cuirass-remote-worker-configuration"
  43426. msgstr ""
  43427. #. type: deftp
  43428. #: guix-git/doc/guix.texi:29150
  43429. msgid "Data type representing the configuration of the Cuirass remote-worker."
  43430. msgstr ""
  43431. #. type: item
  43432. #: guix-git/doc/guix.texi:29155
  43433. #, no-wrap
  43434. msgid "@code{workers} (default: @code{1})"
  43435. msgstr ""
  43436. #. type: table
  43437. #: guix-git/doc/guix.texi:29157
  43438. msgid "Start @var{workers} parallel workers."
  43439. msgstr ""
  43440. #. type: table
  43441. #: guix-git/doc/guix.texi:29161
  43442. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  43443. msgstr ""
  43444. #. type: item
  43445. #: guix-git/doc/guix.texi:29162
  43446. #, no-wrap
  43447. msgid "@code{systems} (default: @code{(list (%current-system))})"
  43448. msgstr ""
  43449. #. type: table
  43450. #: guix-git/doc/guix.texi:29164
  43451. msgid "Only request builds for the given @var{systems}."
  43452. msgstr ""
  43453. #. type: item
  43454. #: guix-git/doc/guix.texi:29165
  43455. #, no-wrap
  43456. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  43457. msgstr ""
  43458. #. type: item
  43459. #: guix-git/doc/guix.texi:29168
  43460. #, no-wrap
  43461. msgid "@code{publish-port} (default: @code{5558})"
  43462. msgstr ""
  43463. #. type: table
  43464. #: guix-git/doc/guix.texi:29170
  43465. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  43466. msgstr ""
  43467. #. type: subsubheading
  43468. #: guix-git/doc/guix.texi:29182
  43469. #, no-wrap
  43470. msgid "Laminar"
  43471. msgstr ""
  43472. #. type: Plain text
  43473. #: guix-git/doc/guix.texi:29187
  43474. 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."
  43475. msgstr ""
  43476. #. type: Plain text
  43477. #: guix-git/doc/guix.texi:29190
  43478. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  43479. msgstr ""
  43480. #. type: defvr
  43481. #: guix-git/doc/guix.texi:29191
  43482. #, no-wrap
  43483. msgid "{Scheme Procedure} laminar-service-type"
  43484. msgstr ""
  43485. #. type: defvr
  43486. #: guix-git/doc/guix.texi:29194
  43487. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  43488. msgstr ""
  43489. #. type: defvr
  43490. #: guix-git/doc/guix.texi:29198
  43491. 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."
  43492. msgstr ""
  43493. #. type: lisp
  43494. #: guix-git/doc/guix.texi:29201
  43495. #, no-wrap
  43496. msgid "(service laminar-service-type)\n"
  43497. msgstr ""
  43498. #. type: deftp
  43499. #: guix-git/doc/guix.texi:29204
  43500. #, no-wrap
  43501. msgid "{Data Type} laminar-configuration"
  43502. msgstr ""
  43503. #. type: deftp
  43504. #: guix-git/doc/guix.texi:29206
  43505. msgid "Data type representing the configuration of Laminar."
  43506. msgstr ""
  43507. #. type: item
  43508. #: guix-git/doc/guix.texi:29208
  43509. #, no-wrap
  43510. msgid "@code{laminar} (default: @code{laminar})"
  43511. msgstr ""
  43512. #. type: table
  43513. #: guix-git/doc/guix.texi:29210
  43514. msgid "The Laminar package to use."
  43515. msgstr ""
  43516. #. type: item
  43517. #: guix-git/doc/guix.texi:29211
  43518. #, no-wrap
  43519. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  43520. msgstr ""
  43521. #. type: table
  43522. #: guix-git/doc/guix.texi:29213
  43523. msgid "The directory for job configurations and run directories."
  43524. msgstr ""
  43525. #. type: item
  43526. #: guix-git/doc/guix.texi:29214
  43527. #, no-wrap
  43528. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  43529. msgstr ""
  43530. #. type: table
  43531. #: guix-git/doc/guix.texi:29217
  43532. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  43533. msgstr ""
  43534. #. type: item
  43535. #: guix-git/doc/guix.texi:29218
  43536. #, no-wrap
  43537. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  43538. msgstr ""
  43539. #. type: table
  43540. #: guix-git/doc/guix.texi:29221
  43541. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  43542. msgstr ""
  43543. #. type: item
  43544. #: guix-git/doc/guix.texi:29222
  43545. #, no-wrap
  43546. msgid "@code{title} (default: @code{\"Laminar\"})"
  43547. msgstr ""
  43548. #. type: table
  43549. #: guix-git/doc/guix.texi:29224
  43550. msgid "The page title to show in the web frontend."
  43551. msgstr ""
  43552. #. type: item
  43553. #: guix-git/doc/guix.texi:29225
  43554. #, no-wrap
  43555. msgid "@code{keep-rundirs} (default: @code{0})"
  43556. msgstr ""
  43557. #. type: table
  43558. #: guix-git/doc/guix.texi:29229
  43559. 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."
  43560. msgstr ""
  43561. #. type: item
  43562. #: guix-git/doc/guix.texi:29230
  43563. #, no-wrap
  43564. msgid "@code{archive-url} (default: @code{#f})"
  43565. msgstr ""
  43566. #. type: table
  43567. #: guix-git/doc/guix.texi:29233
  43568. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  43569. msgstr ""
  43570. #. type: item
  43571. #: guix-git/doc/guix.texi:29234
  43572. #, no-wrap
  43573. msgid "@code{base-url} (default: @code{#f})"
  43574. msgstr ""
  43575. #. type: table
  43576. #: guix-git/doc/guix.texi:29236
  43577. msgid "Base URL to use for links to laminar itself."
  43578. msgstr ""
  43579. #. type: cindex
  43580. #: guix-git/doc/guix.texi:29243
  43581. #, no-wrap
  43582. msgid "tlp"
  43583. msgstr ""
  43584. #. type: cindex
  43585. #: guix-git/doc/guix.texi:29244
  43586. #, no-wrap
  43587. msgid "power management with TLP"
  43588. msgstr ""
  43589. #. type: subsubheading
  43590. #: guix-git/doc/guix.texi:29245
  43591. #, no-wrap
  43592. msgid "TLP daemon"
  43593. msgstr ""
  43594. #. type: Plain text
  43595. #: guix-git/doc/guix.texi:29249
  43596. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  43597. msgstr ""
  43598. #. type: Plain text
  43599. #: guix-git/doc/guix.texi:29255
  43600. 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}."
  43601. msgstr ""
  43602. #. type: deffn
  43603. #: guix-git/doc/guix.texi:29256
  43604. #, no-wrap
  43605. msgid "{Scheme Variable} tlp-service-type"
  43606. msgstr ""
  43607. #. type: deffn
  43608. #: guix-git/doc/guix.texi:29260
  43609. 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}:"
  43610. msgstr ""
  43611. #. type: lisp
  43612. #: guix-git/doc/guix.texi:29265
  43613. #, no-wrap
  43614. msgid ""
  43615. "(service tlp-service-type\n"
  43616. " (tlp-configuration\n"
  43617. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  43618. " (sched-powersave-on-bat? #t)))\n"
  43619. msgstr ""
  43620. #. type: Plain text
  43621. #: guix-git/doc/guix.texi:29273
  43622. 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}."
  43623. msgstr ""
  43624. #. type: Plain text
  43625. #: guix-git/doc/guix.texi:29283
  43626. msgid "Available @code{tlp-configuration} fields are:"
  43627. msgstr ""
  43628. #. type: deftypevr
  43629. #: guix-git/doc/guix.texi:29284
  43630. #, no-wrap
  43631. msgid "{@code{tlp-configuration} parameter} package tlp"
  43632. msgstr ""
  43633. #. type: deftypevr
  43634. #: guix-git/doc/guix.texi:29286
  43635. msgid "The TLP package."
  43636. msgstr ""
  43637. #. type: deftypevr
  43638. #: guix-git/doc/guix.texi:29289
  43639. #, no-wrap
  43640. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  43641. msgstr ""
  43642. #. type: deftypevr
  43643. #: guix-git/doc/guix.texi:29291
  43644. msgid "Set to true if you wish to enable TLP."
  43645. msgstr ""
  43646. #. type: deftypevr
  43647. #: guix-git/doc/guix.texi:29296
  43648. #, no-wrap
  43649. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  43650. msgstr ""
  43651. #. type: deftypevr
  43652. #: guix-git/doc/guix.texi:29299
  43653. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  43654. msgstr ""
  43655. #. type: deftypevr
  43656. #: guix-git/doc/guix.texi:29301
  43657. msgid "Defaults to @samp{\"AC\"}."
  43658. msgstr ""
  43659. #. type: deftypevr
  43660. #: guix-git/doc/guix.texi:29304
  43661. #, no-wrap
  43662. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  43663. msgstr ""
  43664. #. type: deftypevr
  43665. #: guix-git/doc/guix.texi:29307
  43666. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  43667. msgstr ""
  43668. #. type: deftypevr
  43669. #: guix-git/doc/guix.texi:29312
  43670. #, no-wrap
  43671. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  43672. msgstr ""
  43673. #. type: deftypevr
  43674. #: guix-git/doc/guix.texi:29314
  43675. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  43676. msgstr ""
  43677. #. type: deftypevr
  43678. #: guix-git/doc/guix.texi:29316
  43679. msgid "Defaults to @samp{2}."
  43680. msgstr ""
  43681. #. type: deftypevr
  43682. #: guix-git/doc/guix.texi:29319
  43683. #, no-wrap
  43684. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  43685. msgstr ""
  43686. #. type: deftypevr
  43687. #: guix-git/doc/guix.texi:29321
  43688. msgid "Dirty pages flushing periodicity, expressed in seconds."
  43689. msgstr ""
  43690. #. type: deftypevr
  43691. #: guix-git/doc/guix.texi:29323 guix-git/doc/guix.texi:29546
  43692. #: guix-git/doc/guix.texi:31814 guix-git/doc/guix.texi:31822
  43693. msgid "Defaults to @samp{15}."
  43694. msgstr ""
  43695. #. type: deftypevr
  43696. #: guix-git/doc/guix.texi:29326
  43697. #, no-wrap
  43698. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  43699. msgstr ""
  43700. #. type: deftypevr
  43701. #: guix-git/doc/guix.texi:29328
  43702. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  43703. msgstr ""
  43704. #. type: deftypevr
  43705. #: guix-git/doc/guix.texi:29330
  43706. msgid "Defaults to @samp{60}."
  43707. msgstr ""
  43708. #. type: deftypevr
  43709. #: guix-git/doc/guix.texi:29333
  43710. #, no-wrap
  43711. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  43712. msgstr ""
  43713. #. type: deftypevr
  43714. #: guix-git/doc/guix.texi:29337
  43715. 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."
  43716. msgstr ""
  43717. #. type: deftypevr
  43718. #: guix-git/doc/guix.texi:29342
  43719. #, no-wrap
  43720. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  43721. msgstr ""
  43722. #. type: deftypevr
  43723. #: guix-git/doc/guix.texi:29344
  43724. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  43725. msgstr ""
  43726. #. type: deftypevr
  43727. #: guix-git/doc/guix.texi:29349
  43728. #, no-wrap
  43729. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  43730. msgstr ""
  43731. #. type: deftypevr
  43732. #: guix-git/doc/guix.texi:29351
  43733. msgid "Set the min available frequency for the scaling governor on AC."
  43734. msgstr ""
  43735. #. type: deftypevr
  43736. #: guix-git/doc/guix.texi:29356
  43737. #, no-wrap
  43738. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  43739. msgstr ""
  43740. #. type: deftypevr
  43741. #: guix-git/doc/guix.texi:29358
  43742. msgid "Set the max available frequency for the scaling governor on AC."
  43743. msgstr ""
  43744. #. type: deftypevr
  43745. #: guix-git/doc/guix.texi:29363
  43746. #, no-wrap
  43747. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  43748. msgstr ""
  43749. #. type: deftypevr
  43750. #: guix-git/doc/guix.texi:29365
  43751. msgid "Set the min available frequency for the scaling governor on BAT."
  43752. msgstr ""
  43753. #. type: deftypevr
  43754. #: guix-git/doc/guix.texi:29370
  43755. #, no-wrap
  43756. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  43757. msgstr ""
  43758. #. type: deftypevr
  43759. #: guix-git/doc/guix.texi:29372
  43760. msgid "Set the max available frequency for the scaling governor on BAT."
  43761. msgstr ""
  43762. #. type: deftypevr
  43763. #: guix-git/doc/guix.texi:29377
  43764. #, no-wrap
  43765. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  43766. msgstr ""
  43767. #. type: deftypevr
  43768. #: guix-git/doc/guix.texi:29380
  43769. 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."
  43770. msgstr ""
  43771. #. type: deftypevr
  43772. #: guix-git/doc/guix.texi:29385
  43773. #, no-wrap
  43774. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  43775. msgstr ""
  43776. #. type: deftypevr
  43777. #: guix-git/doc/guix.texi:29388
  43778. 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."
  43779. msgstr ""
  43780. #. type: deftypevr
  43781. #: guix-git/doc/guix.texi:29393
  43782. #, no-wrap
  43783. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  43784. msgstr ""
  43785. #. type: deftypevr
  43786. #: guix-git/doc/guix.texi:29395
  43787. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  43788. msgstr ""
  43789. #. type: deftypevr
  43790. #: guix-git/doc/guix.texi:29400
  43791. #, no-wrap
  43792. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  43793. msgstr ""
  43794. #. type: deftypevr
  43795. #: guix-git/doc/guix.texi:29402
  43796. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  43797. msgstr ""
  43798. #. type: deftypevr
  43799. #: guix-git/doc/guix.texi:29407
  43800. #, no-wrap
  43801. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  43802. msgstr ""
  43803. #. type: deftypevr
  43804. #: guix-git/doc/guix.texi:29409
  43805. msgid "Enable CPU turbo boost feature on AC mode."
  43806. msgstr ""
  43807. #. type: deftypevr
  43808. #: guix-git/doc/guix.texi:29414
  43809. #, no-wrap
  43810. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  43811. msgstr ""
  43812. #. type: deftypevr
  43813. #: guix-git/doc/guix.texi:29416
  43814. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  43815. msgstr ""
  43816. #. type: deftypevr
  43817. #: guix-git/doc/guix.texi:29421
  43818. #, no-wrap
  43819. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  43820. msgstr ""
  43821. #. type: deftypevr
  43822. #: guix-git/doc/guix.texi:29424
  43823. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  43824. msgstr ""
  43825. #. type: deftypevr
  43826. #: guix-git/doc/guix.texi:29429
  43827. #, no-wrap
  43828. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  43829. msgstr ""
  43830. #. type: deftypevr
  43831. #: guix-git/doc/guix.texi:29431
  43832. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  43833. msgstr ""
  43834. #. type: deftypevr
  43835. #: guix-git/doc/guix.texi:29436
  43836. #, no-wrap
  43837. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  43838. msgstr ""
  43839. #. type: deftypevr
  43840. #: guix-git/doc/guix.texi:29438
  43841. msgid "Enable Linux kernel NMI watchdog."
  43842. msgstr ""
  43843. #. type: deftypevr
  43844. #: guix-git/doc/guix.texi:29443
  43845. #, no-wrap
  43846. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  43847. msgstr ""
  43848. #. type: deftypevr
  43849. #: guix-git/doc/guix.texi:29446
  43850. 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\"}."
  43851. msgstr ""
  43852. #. type: deftypevr
  43853. #: guix-git/doc/guix.texi:29451
  43854. #, no-wrap
  43855. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  43856. msgstr ""
  43857. #. type: deftypevr
  43858. #: guix-git/doc/guix.texi:29454
  43859. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  43860. msgstr ""
  43861. #. type: deftypevr
  43862. #: guix-git/doc/guix.texi:29456 guix-git/doc/guix.texi:29554
  43863. #: guix-git/doc/guix.texi:29584
  43864. msgid "Defaults to @samp{\"performance\"}."
  43865. msgstr ""
  43866. #. type: deftypevr
  43867. #: guix-git/doc/guix.texi:29459
  43868. #, no-wrap
  43869. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  43870. msgstr ""
  43871. #. type: deftypevr
  43872. #: guix-git/doc/guix.texi:29461
  43873. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  43874. msgstr ""
  43875. #. type: deftypevr
  43876. #: guix-git/doc/guix.texi:29463 guix-git/doc/guix.texi:29561
  43877. msgid "Defaults to @samp{\"powersave\"}."
  43878. msgstr ""
  43879. #. type: deftypevr
  43880. #: guix-git/doc/guix.texi:29466
  43881. #, no-wrap
  43882. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  43883. msgstr ""
  43884. #. type: deftypevr
  43885. #: guix-git/doc/guix.texi:29468
  43886. msgid "Hard disk devices."
  43887. msgstr ""
  43888. #. type: deftypevr
  43889. #: guix-git/doc/guix.texi:29471
  43890. #, no-wrap
  43891. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  43892. msgstr ""
  43893. #. type: deftypevr
  43894. #: guix-git/doc/guix.texi:29473
  43895. msgid "Hard disk advanced power management level."
  43896. msgstr ""
  43897. #. type: deftypevr
  43898. #: guix-git/doc/guix.texi:29476
  43899. #, no-wrap
  43900. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  43901. msgstr ""
  43902. #. type: deftypevr
  43903. #: guix-git/doc/guix.texi:29478
  43904. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  43905. msgstr ""
  43906. #. type: deftypevr
  43907. #: guix-git/doc/guix.texi:29481
  43908. #, no-wrap
  43909. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  43910. msgstr ""
  43911. #. type: deftypevr
  43912. #: guix-git/doc/guix.texi:29484
  43913. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  43914. msgstr ""
  43915. #. type: deftypevr
  43916. #: guix-git/doc/guix.texi:29489
  43917. #, no-wrap
  43918. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  43919. msgstr ""
  43920. #. type: deftypevr
  43921. #: guix-git/doc/guix.texi:29491
  43922. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  43923. msgstr ""
  43924. #. type: deftypevr
  43925. #: guix-git/doc/guix.texi:29496
  43926. #, no-wrap
  43927. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  43928. msgstr ""
  43929. #. type: deftypevr
  43930. #: guix-git/doc/guix.texi:29500
  43931. 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."
  43932. msgstr ""
  43933. #. type: deftypevr
  43934. #: guix-git/doc/guix.texi:29505
  43935. #, no-wrap
  43936. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  43937. msgstr ""
  43938. #. type: deftypevr
  43939. #: guix-git/doc/guix.texi:29508
  43940. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  43941. msgstr ""
  43942. #. type: deftypevr
  43943. #: guix-git/doc/guix.texi:29510
  43944. msgid "Defaults to @samp{\"max_performance\"}."
  43945. msgstr ""
  43946. #. type: deftypevr
  43947. #: guix-git/doc/guix.texi:29513
  43948. #, no-wrap
  43949. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  43950. msgstr ""
  43951. #. type: deftypevr
  43952. #: guix-git/doc/guix.texi:29515
  43953. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  43954. msgstr ""
  43955. #. type: deftypevr
  43956. #: guix-git/doc/guix.texi:29517
  43957. msgid "Defaults to @samp{\"min_power\"}."
  43958. msgstr ""
  43959. #. type: deftypevr
  43960. #: guix-git/doc/guix.texi:29520
  43961. #, no-wrap
  43962. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  43963. msgstr ""
  43964. #. type: deftypevr
  43965. #: guix-git/doc/guix.texi:29522
  43966. msgid "Exclude specified SATA host devices for link power management."
  43967. msgstr ""
  43968. #. type: deftypevr
  43969. #: guix-git/doc/guix.texi:29527
  43970. #, no-wrap
  43971. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  43972. msgstr ""
  43973. #. type: deftypevr
  43974. #: guix-git/doc/guix.texi:29530
  43975. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  43976. msgstr ""
  43977. #. type: deftypevr
  43978. #: guix-git/doc/guix.texi:29535
  43979. #, no-wrap
  43980. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  43981. msgstr ""
  43982. #. type: deftypevr
  43983. #: guix-git/doc/guix.texi:29537
  43984. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  43985. msgstr ""
  43986. #. type: deftypevr
  43987. #: guix-git/doc/guix.texi:29542
  43988. #, no-wrap
  43989. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  43990. msgstr ""
  43991. #. type: deftypevr
  43992. #: guix-git/doc/guix.texi:29544
  43993. msgid "Seconds of inactivity before disk is suspended."
  43994. msgstr ""
  43995. #. type: deftypevr
  43996. #: guix-git/doc/guix.texi:29549
  43997. #, no-wrap
  43998. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  43999. msgstr ""
  44000. #. type: deftypevr
  44001. #: guix-git/doc/guix.texi:29552
  44002. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  44003. msgstr ""
  44004. #. type: deftypevr
  44005. #: guix-git/doc/guix.texi:29557
  44006. #, no-wrap
  44007. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  44008. msgstr ""
  44009. #. type: deftypevr
  44010. #: guix-git/doc/guix.texi:29559
  44011. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  44012. msgstr ""
  44013. #. type: deftypevr
  44014. #: guix-git/doc/guix.texi:29564
  44015. #, no-wrap
  44016. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  44017. msgstr ""
  44018. #. type: deftypevr
  44019. #: guix-git/doc/guix.texi:29567
  44020. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  44021. msgstr ""
  44022. #. type: deftypevr
  44023. #: guix-git/doc/guix.texi:29569
  44024. msgid "Defaults to @samp{\"high\"}."
  44025. msgstr ""
  44026. #. type: deftypevr
  44027. #: guix-git/doc/guix.texi:29572
  44028. #, no-wrap
  44029. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  44030. msgstr ""
  44031. #. type: deftypevr
  44032. #: guix-git/doc/guix.texi:29574
  44033. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  44034. msgstr ""
  44035. #. type: deftypevr
  44036. #: guix-git/doc/guix.texi:29576
  44037. msgid "Defaults to @samp{\"low\"}."
  44038. msgstr ""
  44039. #. type: deftypevr
  44040. #: guix-git/doc/guix.texi:29579
  44041. #, no-wrap
  44042. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  44043. msgstr ""
  44044. #. type: deftypevr
  44045. #: guix-git/doc/guix.texi:29582
  44046. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  44047. msgstr ""
  44048. #. type: deftypevr
  44049. #: guix-git/doc/guix.texi:29587
  44050. #, no-wrap
  44051. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  44052. msgstr ""
  44053. #. type: deftypevr
  44054. #: guix-git/doc/guix.texi:29589
  44055. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  44056. msgstr ""
  44057. #. type: deftypevr
  44058. #: guix-git/doc/guix.texi:29591
  44059. msgid "Defaults to @samp{\"battery\"}."
  44060. msgstr ""
  44061. #. type: deftypevr
  44062. #: guix-git/doc/guix.texi:29594
  44063. #, no-wrap
  44064. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  44065. msgstr ""
  44066. #. type: deftypevr
  44067. #: guix-git/doc/guix.texi:29596
  44068. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  44069. msgstr ""
  44070. #. type: deftypevr
  44071. #: guix-git/doc/guix.texi:29598 guix-git/doc/guix.texi:29605
  44072. #: guix-git/doc/guix.texi:29679
  44073. msgid "Defaults to @samp{\"auto\"}."
  44074. msgstr ""
  44075. #. type: deftypevr
  44076. #: guix-git/doc/guix.texi:29601
  44077. #, no-wrap
  44078. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  44079. msgstr ""
  44080. #. type: deftypevr
  44081. #: guix-git/doc/guix.texi:29603
  44082. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  44083. msgstr ""
  44084. #. type: deftypevr
  44085. #: guix-git/doc/guix.texi:29608
  44086. #, no-wrap
  44087. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  44088. msgstr ""
  44089. #. type: deftypevr
  44090. #: guix-git/doc/guix.texi:29610
  44091. msgid "Wifi power saving mode."
  44092. msgstr ""
  44093. #. type: deftypevr
  44094. #: guix-git/doc/guix.texi:29615
  44095. #, no-wrap
  44096. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  44097. msgstr ""
  44098. #. type: deftypevr
  44099. #: guix-git/doc/guix.texi:29617
  44100. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  44101. msgstr ""
  44102. #. type: deftypevr
  44103. #: guix-git/doc/guix.texi:29622
  44104. #, no-wrap
  44105. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  44106. msgstr ""
  44107. #. type: deftypevr
  44108. #: guix-git/doc/guix.texi:29624
  44109. msgid "Disable wake on LAN."
  44110. msgstr ""
  44111. #. type: deftypevr
  44112. #: guix-git/doc/guix.texi:29629
  44113. #, no-wrap
  44114. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  44115. msgstr ""
  44116. #. type: deftypevr
  44117. #: guix-git/doc/guix.texi:29632
  44118. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  44119. msgstr ""
  44120. #. type: deftypevr
  44121. #: guix-git/doc/guix.texi:29637
  44122. #, no-wrap
  44123. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  44124. msgstr ""
  44125. #. type: deftypevr
  44126. #: guix-git/doc/guix.texi:29639
  44127. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  44128. msgstr ""
  44129. #. type: deftypevr
  44130. #: guix-git/doc/guix.texi:29644
  44131. #, no-wrap
  44132. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  44133. msgstr ""
  44134. #. type: deftypevr
  44135. #: guix-git/doc/guix.texi:29646
  44136. msgid "Disable controller in powersaving mode on Intel HDA devices."
  44137. msgstr ""
  44138. #. type: deftypevr
  44139. #: guix-git/doc/guix.texi:29651
  44140. #, no-wrap
  44141. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  44142. msgstr ""
  44143. #. type: deftypevr
  44144. #: guix-git/doc/guix.texi:29655
  44145. 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."
  44146. msgstr ""
  44147. #. type: deftypevr
  44148. #: guix-git/doc/guix.texi:29660
  44149. #, no-wrap
  44150. msgid "{@code{tlp-configuration} parameter} string bay-device"
  44151. msgstr ""
  44152. #. type: deftypevr
  44153. #: guix-git/doc/guix.texi:29662
  44154. msgid "Name of the optical drive device to power off."
  44155. msgstr ""
  44156. #. type: deftypevr
  44157. #: guix-git/doc/guix.texi:29664
  44158. msgid "Defaults to @samp{\"sr0\"}."
  44159. msgstr ""
  44160. #. type: deftypevr
  44161. #: guix-git/doc/guix.texi:29667
  44162. #, no-wrap
  44163. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  44164. msgstr ""
  44165. #. type: deftypevr
  44166. #: guix-git/doc/guix.texi:29670
  44167. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  44168. msgstr ""
  44169. #. type: deftypevr
  44170. #: guix-git/doc/guix.texi:29672
  44171. msgid "Defaults to @samp{\"on\"}."
  44172. msgstr ""
  44173. #. type: deftypevr
  44174. #: guix-git/doc/guix.texi:29675
  44175. #, no-wrap
  44176. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  44177. msgstr ""
  44178. #. type: deftypevr
  44179. #: guix-git/doc/guix.texi:29677
  44180. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  44181. msgstr ""
  44182. #. type: deftypevr
  44183. #: guix-git/doc/guix.texi:29682
  44184. #, no-wrap
  44185. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  44186. msgstr ""
  44187. #. type: deftypevr
  44188. #: guix-git/doc/guix.texi:29685
  44189. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  44190. msgstr ""
  44191. #. type: deftypevr
  44192. #: guix-git/doc/guix.texi:29690
  44193. #, no-wrap
  44194. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  44195. msgstr ""
  44196. #. type: deftypevr
  44197. #: guix-git/doc/guix.texi:29692
  44198. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  44199. msgstr ""
  44200. #. type: deftypevr
  44201. #: guix-git/doc/guix.texi:29697
  44202. #, no-wrap
  44203. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  44204. msgstr ""
  44205. #. type: deftypevr
  44206. #: guix-git/doc/guix.texi:29700
  44207. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  44208. msgstr ""
  44209. #. type: deftypevr
  44210. #: guix-git/doc/guix.texi:29703
  44211. #, no-wrap
  44212. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  44213. msgstr ""
  44214. #. type: deftypevr
  44215. #: guix-git/doc/guix.texi:29705
  44216. msgid "Enable USB autosuspend feature."
  44217. msgstr ""
  44218. #. type: deftypevr
  44219. #: guix-git/doc/guix.texi:29710
  44220. #, no-wrap
  44221. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  44222. msgstr ""
  44223. #. type: deftypevr
  44224. #: guix-git/doc/guix.texi:29712
  44225. msgid "Exclude specified devices from USB autosuspend."
  44226. msgstr ""
  44227. #. type: deftypevr
  44228. #: guix-git/doc/guix.texi:29717
  44229. #, no-wrap
  44230. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  44231. msgstr ""
  44232. #. type: deftypevr
  44233. #: guix-git/doc/guix.texi:29719
  44234. msgid "Exclude WWAN devices from USB autosuspend."
  44235. msgstr ""
  44236. #. type: deftypevr
  44237. #: guix-git/doc/guix.texi:29724
  44238. #, no-wrap
  44239. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  44240. msgstr ""
  44241. #. type: deftypevr
  44242. #: guix-git/doc/guix.texi:29727
  44243. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  44244. msgstr ""
  44245. #. type: deftypevr
  44246. #: guix-git/doc/guix.texi:29732
  44247. #, no-wrap
  44248. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  44249. msgstr ""
  44250. #. type: deftypevr
  44251. #: guix-git/doc/guix.texi:29734
  44252. msgid "Enable USB autosuspend before shutdown."
  44253. msgstr ""
  44254. #. type: deftypevr
  44255. #: guix-git/doc/guix.texi:29739
  44256. #, no-wrap
  44257. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  44258. msgstr ""
  44259. #. type: deftypevr
  44260. #: guix-git/doc/guix.texi:29742
  44261. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  44262. msgstr ""
  44263. #. type: cindex
  44264. #: guix-git/doc/guix.texi:29747
  44265. #, no-wrap
  44266. msgid "thermald"
  44267. msgstr ""
  44268. #. type: cindex
  44269. #: guix-git/doc/guix.texi:29748
  44270. #, no-wrap
  44271. msgid "CPU frequency scaling with thermald"
  44272. msgstr ""
  44273. #. type: subsubheading
  44274. #: guix-git/doc/guix.texi:29749
  44275. #, no-wrap
  44276. msgid "Thermald daemon"
  44277. msgstr ""
  44278. #. type: Plain text
  44279. #: guix-git/doc/guix.texi:29753
  44280. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  44281. msgstr ""
  44282. #. type: defvr
  44283. #: guix-git/doc/guix.texi:29754
  44284. #, no-wrap
  44285. msgid "{Scheme Variable} thermald-service-type"
  44286. msgstr ""
  44287. #. type: defvr
  44288. #: guix-git/doc/guix.texi:29759
  44289. 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."
  44290. msgstr ""
  44291. #. type: deftp
  44292. #: guix-git/doc/guix.texi:29761
  44293. #, no-wrap
  44294. msgid "{Data Type} thermald-configuration"
  44295. msgstr ""
  44296. #. type: deftp
  44297. #: guix-git/doc/guix.texi:29763
  44298. msgid "Data type representing the configuration of @code{thermald-service-type}."
  44299. msgstr ""
  44300. #. type: item
  44301. #: guix-git/doc/guix.texi:29765
  44302. #, no-wrap
  44303. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  44304. msgstr ""
  44305. #. type: table
  44306. #: guix-git/doc/guix.texi:29767
  44307. msgid "Ignore cpuid check for supported CPU models."
  44308. msgstr ""
  44309. #. type: item
  44310. #: guix-git/doc/guix.texi:29768
  44311. #, no-wrap
  44312. msgid "@code{thermald} (default: @var{thermald})"
  44313. msgstr ""
  44314. #. type: table
  44315. #: guix-git/doc/guix.texi:29770
  44316. msgid "Package object of thermald."
  44317. msgstr ""
  44318. #. type: Plain text
  44319. #: guix-git/doc/guix.texi:29779
  44320. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  44321. msgstr ""
  44322. #. type: cindex
  44323. #: guix-git/doc/guix.texi:29780
  44324. #, no-wrap
  44325. msgid "mpd"
  44326. msgstr ""
  44327. #. type: subsubheading
  44328. #: guix-git/doc/guix.texi:29781
  44329. #, no-wrap
  44330. msgid "Music Player Daemon"
  44331. msgstr ""
  44332. #. type: Plain text
  44333. #: guix-git/doc/guix.texi:29786
  44334. 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."
  44335. msgstr ""
  44336. #. type: Plain text
  44337. #: guix-git/doc/guix.texi:29789
  44338. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  44339. msgstr ""
  44340. #. type: lisp
  44341. #: guix-git/doc/guix.texi:29795
  44342. #, no-wrap
  44343. msgid ""
  44344. "(service mpd-service-type\n"
  44345. " (mpd-configuration\n"
  44346. " (user \"bob\")\n"
  44347. " (port \"6666\")))\n"
  44348. msgstr ""
  44349. #. type: defvr
  44350. #: guix-git/doc/guix.texi:29797
  44351. #, no-wrap
  44352. msgid "{Scheme Variable} mpd-service-type"
  44353. msgstr ""
  44354. #. type: defvr
  44355. #: guix-git/doc/guix.texi:29799
  44356. msgid "The service type for @command{mpd}"
  44357. msgstr ""
  44358. #. type: deftp
  44359. #: guix-git/doc/guix.texi:29801
  44360. #, no-wrap
  44361. msgid "{Data Type} mpd-configuration"
  44362. msgstr ""
  44363. #. type: deftp
  44364. #: guix-git/doc/guix.texi:29803
  44365. msgid "Data type representing the configuration of @command{mpd}."
  44366. msgstr ""
  44367. #. type: item
  44368. #: guix-git/doc/guix.texi:29805
  44369. #, no-wrap
  44370. msgid "@code{user} (default: @code{\"mpd\"})"
  44371. msgstr ""
  44372. #. type: table
  44373. #: guix-git/doc/guix.texi:29807
  44374. msgid "The user to run mpd as."
  44375. msgstr ""
  44376. #. type: item
  44377. #: guix-git/doc/guix.texi:29808
  44378. #, no-wrap
  44379. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  44380. msgstr ""
  44381. #. type: table
  44382. #: guix-git/doc/guix.texi:29810
  44383. msgid "The directory to scan for music files."
  44384. msgstr ""
  44385. #. type: item
  44386. #: guix-git/doc/guix.texi:29811
  44387. #, no-wrap
  44388. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  44389. msgstr ""
  44390. #. type: table
  44391. #: guix-git/doc/guix.texi:29813
  44392. msgid "The directory to store playlists."
  44393. msgstr ""
  44394. #. type: item
  44395. #: guix-git/doc/guix.texi:29814
  44396. #, no-wrap
  44397. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  44398. msgstr ""
  44399. #. type: table
  44400. #: guix-git/doc/guix.texi:29816
  44401. msgid "The location of the music database."
  44402. msgstr ""
  44403. #. type: item
  44404. #: guix-git/doc/guix.texi:29817
  44405. #, no-wrap
  44406. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  44407. msgstr ""
  44408. #. type: table
  44409. #: guix-git/doc/guix.texi:29819
  44410. msgid "The location of the file that stores current MPD's state."
  44411. msgstr ""
  44412. #. type: item
  44413. #: guix-git/doc/guix.texi:29820
  44414. #, no-wrap
  44415. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  44416. msgstr ""
  44417. #. type: table
  44418. #: guix-git/doc/guix.texi:29822
  44419. msgid "The location of the sticker database."
  44420. msgstr ""
  44421. #. type: item
  44422. #: guix-git/doc/guix.texi:29823
  44423. #, no-wrap
  44424. msgid "@code{port} (default: @code{\"6600\"})"
  44425. msgstr ""
  44426. #. type: table
  44427. #: guix-git/doc/guix.texi:29825
  44428. msgid "The port to run mpd on."
  44429. msgstr ""
  44430. #. type: item
  44431. #: guix-git/doc/guix.texi:29826
  44432. #, no-wrap
  44433. msgid "@code{address} (default: @code{\"any\"})"
  44434. msgstr ""
  44435. #. type: table
  44436. #: guix-git/doc/guix.texi:29829
  44437. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  44438. msgstr ""
  44439. #. type: item
  44440. #: guix-git/doc/guix.texi:29830
  44441. #, no-wrap
  44442. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  44443. msgstr ""
  44444. #. type: table
  44445. #: guix-git/doc/guix.texi:29832
  44446. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  44447. msgstr ""
  44448. #. type: deftp
  44449. #: guix-git/doc/guix.texi:29836
  44450. #, no-wrap
  44451. msgid "{Data Type} mpd-output"
  44452. msgstr ""
  44453. #. type: deftp
  44454. #: guix-git/doc/guix.texi:29838
  44455. msgid "Data type representing an @command{mpd} audio output."
  44456. msgstr ""
  44457. #. type: item
  44458. #: guix-git/doc/guix.texi:29840
  44459. #, no-wrap
  44460. msgid "@code{name} (default: @code{\"MPD\"})"
  44461. msgstr ""
  44462. #. type: table
  44463. #: guix-git/doc/guix.texi:29842
  44464. msgid "The name of the audio output."
  44465. msgstr ""
  44466. #. type: item
  44467. #: guix-git/doc/guix.texi:29843
  44468. #, no-wrap
  44469. msgid "@code{type} (default: @code{\"pulse\"})"
  44470. msgstr ""
  44471. #. type: table
  44472. #: guix-git/doc/guix.texi:29845
  44473. msgid "The type of audio output."
  44474. msgstr ""
  44475. #. type: item
  44476. #: guix-git/doc/guix.texi:29846
  44477. #, no-wrap
  44478. msgid "@code{enabled?} (default: @code{#t})"
  44479. msgstr ""
  44480. #. type: table
  44481. #: guix-git/doc/guix.texi:29851
  44482. 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."
  44483. msgstr ""
  44484. #. type: item
  44485. #: guix-git/doc/guix.texi:29852
  44486. #, no-wrap
  44487. msgid "@code{tags?} (default: @code{#t})"
  44488. msgstr ""
  44489. #. type: table
  44490. #: guix-git/doc/guix.texi:29856
  44491. 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."
  44492. msgstr ""
  44493. #. type: item
  44494. #: guix-git/doc/guix.texi:29857
  44495. #, no-wrap
  44496. msgid "@code{always-on?} (default: @code{#f})"
  44497. msgstr ""
  44498. #. type: table
  44499. #: guix-git/doc/guix.texi:29861
  44500. 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."
  44501. msgstr ""
  44502. #. type: code{#1}
  44503. #: guix-git/doc/guix.texi:29862
  44504. #, no-wrap
  44505. msgid "mixer-type"
  44506. msgstr ""
  44507. #. type: table
  44508. #: guix-git/doc/guix.texi:29868
  44509. 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})."
  44510. msgstr ""
  44511. #. type: table
  44512. #: guix-git/doc/guix.texi:29872
  44513. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  44514. msgstr ""
  44515. #. type: Plain text
  44516. #: guix-git/doc/guix.texi:29878
  44517. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  44518. msgstr ""
  44519. #. type: lisp
  44520. #: guix-git/doc/guix.texi:29890
  44521. #, no-wrap
  44522. msgid ""
  44523. "(service mpd-service-type\n"
  44524. " (mpd-configuration\n"
  44525. " (outputs\n"
  44526. " (list (mpd-output\n"
  44527. " (name \"streaming\")\n"
  44528. " (type \"httpd\")\n"
  44529. " (mixer-type 'null)\n"
  44530. " (extra-options\n"
  44531. " `((encoder . \"vorbis\")\n"
  44532. " (port . \"8080\"))))))))\n"
  44533. msgstr ""
  44534. #. type: Plain text
  44535. #: guix-git/doc/guix.texi:29899
  44536. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  44537. msgstr ""
  44538. #. type: subsubheading
  44539. #: guix-git/doc/guix.texi:29900
  44540. #, no-wrap
  44541. msgid "Libvirt daemon"
  44542. msgstr ""
  44543. #. type: Plain text
  44544. #: guix-git/doc/guix.texi:29905
  44545. 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."
  44546. msgstr ""
  44547. #. type: deffn
  44548. #: guix-git/doc/guix.texi:29906
  44549. #, no-wrap
  44550. msgid "{Scheme Variable} libvirt-service-type"
  44551. msgstr ""
  44552. #. type: deffn
  44553. #: guix-git/doc/guix.texi:29909
  44554. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  44555. msgstr ""
  44556. #. type: lisp
  44557. #: guix-git/doc/guix.texi:29915
  44558. #, no-wrap
  44559. msgid ""
  44560. "(service libvirt-service-type\n"
  44561. " (libvirt-configuration\n"
  44562. " (unix-sock-group \"libvirt\")\n"
  44563. " (tls-port \"16555\")))\n"
  44564. msgstr ""
  44565. #. type: Plain text
  44566. #: guix-git/doc/guix.texi:29920
  44567. msgid "Available @code{libvirt-configuration} fields are:"
  44568. msgstr ""
  44569. #. type: deftypevr
  44570. #: guix-git/doc/guix.texi:29921
  44571. #, no-wrap
  44572. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  44573. msgstr ""
  44574. #. type: deftypevr
  44575. #: guix-git/doc/guix.texi:29923
  44576. msgid "Libvirt package."
  44577. msgstr ""
  44578. #. type: deftypevr
  44579. #: guix-git/doc/guix.texi:29926
  44580. #, no-wrap
  44581. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  44582. msgstr ""
  44583. #. type: deftypevr
  44584. #: guix-git/doc/guix.texi:29929
  44585. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  44586. msgstr ""
  44587. #. type: deftypevr
  44588. #: guix-git/doc/guix.texi:29932
  44589. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  44590. msgstr ""
  44591. #. type: deftypevr
  44592. #: guix-git/doc/guix.texi:29937
  44593. #, no-wrap
  44594. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  44595. msgstr ""
  44596. #. type: deftypevr
  44597. #: guix-git/doc/guix.texi:29940
  44598. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  44599. msgstr ""
  44600. #. type: deftypevr
  44601. #: guix-git/doc/guix.texi:29944
  44602. 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)."
  44603. msgstr ""
  44604. #. type: deftypevr
  44605. #: guix-git/doc/guix.texi:29949
  44606. #, no-wrap
  44607. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  44608. msgstr ""
  44609. #. type: deftypevr
  44610. #: guix-git/doc/guix.texi:29952
  44611. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  44612. msgstr ""
  44613. #. type: deftypevr
  44614. #: guix-git/doc/guix.texi:29954
  44615. msgid "Defaults to @samp{\"16514\"}."
  44616. msgstr ""
  44617. #. type: deftypevr
  44618. #: guix-git/doc/guix.texi:29957
  44619. #, no-wrap
  44620. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  44621. msgstr ""
  44622. #. type: deftypevr
  44623. #: guix-git/doc/guix.texi:29960
  44624. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  44625. msgstr ""
  44626. #. type: deftypevr
  44627. #: guix-git/doc/guix.texi:29962
  44628. msgid "Defaults to @samp{\"16509\"}."
  44629. msgstr ""
  44630. #. type: deftypevr
  44631. #: guix-git/doc/guix.texi:29965
  44632. #, no-wrap
  44633. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  44634. msgstr ""
  44635. #. type: deftypevr
  44636. #: guix-git/doc/guix.texi:29967
  44637. msgid "IP address or hostname used for client connections."
  44638. msgstr ""
  44639. #. type: deftypevr
  44640. #: guix-git/doc/guix.texi:29972
  44641. #, no-wrap
  44642. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  44643. msgstr ""
  44644. #. type: deftypevr
  44645. #: guix-git/doc/guix.texi:29974
  44646. msgid "Flag toggling mDNS advertisement of the libvirt service."
  44647. msgstr ""
  44648. #. type: deftypevr
  44649. #: guix-git/doc/guix.texi:29977
  44650. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  44651. msgstr ""
  44652. #. type: deftypevr
  44653. #: guix-git/doc/guix.texi:29982
  44654. #, no-wrap
  44655. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  44656. msgstr ""
  44657. #. type: deftypevr
  44658. #: guix-git/doc/guix.texi:29985
  44659. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  44660. msgstr ""
  44661. #. type: deftypevr
  44662. #: guix-git/doc/guix.texi:29987
  44663. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  44664. msgstr ""
  44665. #. type: deftypevr
  44666. #: guix-git/doc/guix.texi:29990
  44667. #, no-wrap
  44668. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  44669. msgstr ""
  44670. #. type: deftypevr
  44671. #: guix-git/doc/guix.texi:29994
  44672. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  44673. msgstr ""
  44674. #. type: deftypevr
  44675. #: guix-git/doc/guix.texi:29999
  44676. #, no-wrap
  44677. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  44678. msgstr ""
  44679. #. type: deftypevr
  44680. #: guix-git/doc/guix.texi:30002
  44681. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  44682. msgstr ""
  44683. #. type: deftypevr
  44684. #: guix-git/doc/guix.texi:30004 guix-git/doc/guix.texi:30022
  44685. msgid "Defaults to @samp{\"0777\"}."
  44686. msgstr ""
  44687. #. type: deftypevr
  44688. #: guix-git/doc/guix.texi:30007
  44689. #, no-wrap
  44690. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  44691. msgstr ""
  44692. #. type: deftypevr
  44693. #: guix-git/doc/guix.texi:30011
  44694. 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)"
  44695. msgstr ""
  44696. #. type: deftypevr
  44697. #: guix-git/doc/guix.texi:30013
  44698. msgid "Defaults to @samp{\"0770\"}."
  44699. msgstr ""
  44700. #. type: deftypevr
  44701. #: guix-git/doc/guix.texi:30016
  44702. #, no-wrap
  44703. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  44704. msgstr ""
  44705. #. type: deftypevr
  44706. #: guix-git/doc/guix.texi:30020
  44707. 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."
  44708. msgstr ""
  44709. #. type: deftypevr
  44710. #: guix-git/doc/guix.texi:30025
  44711. #, no-wrap
  44712. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  44713. msgstr ""
  44714. #. type: deftypevr
  44715. #: guix-git/doc/guix.texi:30027
  44716. msgid "The directory in which sockets will be found/created."
  44717. msgstr ""
  44718. #. type: deftypevr
  44719. #: guix-git/doc/guix.texi:30029
  44720. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  44721. msgstr ""
  44722. #. type: deftypevr
  44723. #: guix-git/doc/guix.texi:30032
  44724. #, no-wrap
  44725. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  44726. msgstr ""
  44727. #. type: deftypevr
  44728. #: guix-git/doc/guix.texi:30035
  44729. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  44730. msgstr ""
  44731. #. type: deftypevr
  44732. #: guix-git/doc/guix.texi:30037 guix-git/doc/guix.texi:30046
  44733. msgid "Defaults to @samp{\"polkit\"}."
  44734. msgstr ""
  44735. #. type: deftypevr
  44736. #: guix-git/doc/guix.texi:30040
  44737. #, no-wrap
  44738. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  44739. msgstr ""
  44740. #. type: deftypevr
  44741. #: guix-git/doc/guix.texi:30044
  44742. 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."
  44743. msgstr ""
  44744. #. type: deftypevr
  44745. #: guix-git/doc/guix.texi:30049
  44746. #, no-wrap
  44747. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  44748. msgstr ""
  44749. #. type: deftypevr
  44750. #: guix-git/doc/guix.texi:30053
  44751. 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."
  44752. msgstr ""
  44753. #. type: deftypevr
  44754. #: guix-git/doc/guix.texi:30055
  44755. msgid "Defaults to @samp{\"sasl\"}."
  44756. msgstr ""
  44757. #. type: deftypevr
  44758. #: guix-git/doc/guix.texi:30058
  44759. #, no-wrap
  44760. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  44761. msgstr ""
  44762. #. type: deftypevr
  44763. #: guix-git/doc/guix.texi:30062
  44764. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  44765. msgstr ""
  44766. #. type: deftypevr
  44767. #: guix-git/doc/guix.texi:30065
  44768. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  44769. msgstr ""
  44770. #. type: deftypevr
  44771. #: guix-git/doc/guix.texi:30067
  44772. msgid "Defaults to @samp{\"none\"}."
  44773. msgstr ""
  44774. #. type: deftypevr
  44775. #: guix-git/doc/guix.texi:30070
  44776. #, no-wrap
  44777. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  44778. msgstr ""
  44779. #. type: deftypevr
  44780. #: guix-git/doc/guix.texi:30072
  44781. msgid "API access control scheme."
  44782. msgstr ""
  44783. #. type: deftypevr
  44784. #: guix-git/doc/guix.texi:30075
  44785. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  44786. msgstr ""
  44787. #. type: deftypevr
  44788. #: guix-git/doc/guix.texi:30080
  44789. #, no-wrap
  44790. msgid "{@code{libvirt-configuration} parameter} string key-file"
  44791. msgstr ""
  44792. #. type: deftypevr
  44793. #: guix-git/doc/guix.texi:30083
  44794. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  44795. msgstr ""
  44796. #. type: deftypevr
  44797. #: guix-git/doc/guix.texi:30088
  44798. #, no-wrap
  44799. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  44800. msgstr ""
  44801. #. type: deftypevr
  44802. #: guix-git/doc/guix.texi:30091
  44803. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  44804. msgstr ""
  44805. #. type: deftypevr
  44806. #: guix-git/doc/guix.texi:30096
  44807. #, no-wrap
  44808. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  44809. msgstr ""
  44810. #. type: deftypevr
  44811. #: guix-git/doc/guix.texi:30099
  44812. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  44813. msgstr ""
  44814. #. type: deftypevr
  44815. #: guix-git/doc/guix.texi:30104
  44816. #, no-wrap
  44817. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  44818. msgstr ""
  44819. #. type: deftypevr
  44820. #: guix-git/doc/guix.texi:30107
  44821. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  44822. msgstr ""
  44823. #. type: deftypevr
  44824. #: guix-git/doc/guix.texi:30112
  44825. #, no-wrap
  44826. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  44827. msgstr ""
  44828. #. type: deftypevr
  44829. #: guix-git/doc/guix.texi:30114
  44830. msgid "Disable verification of our own server certificates."
  44831. msgstr ""
  44832. #. type: deftypevr
  44833. #: guix-git/doc/guix.texi:30117
  44834. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  44835. msgstr ""
  44836. #. type: deftypevr
  44837. #: guix-git/doc/guix.texi:30122
  44838. #, no-wrap
  44839. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  44840. msgstr ""
  44841. #. type: deftypevr
  44842. #: guix-git/doc/guix.texi:30124
  44843. msgid "Disable verification of client certificates."
  44844. msgstr ""
  44845. #. type: deftypevr
  44846. #: guix-git/doc/guix.texi:30128
  44847. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  44848. msgstr ""
  44849. #. type: deftypevr
  44850. #: guix-git/doc/guix.texi:30133
  44851. #, no-wrap
  44852. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  44853. msgstr ""
  44854. #. type: deftypevr
  44855. #: guix-git/doc/guix.texi:30135
  44856. msgid "Whitelist of allowed x509 Distinguished Name."
  44857. msgstr ""
  44858. #. type: deftypevr
  44859. #: guix-git/doc/guix.texi:30140
  44860. #, no-wrap
  44861. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  44862. msgstr ""
  44863. #. type: deftypevr
  44864. #: guix-git/doc/guix.texi:30143
  44865. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  44866. msgstr ""
  44867. #. type: deftypevr
  44868. #: guix-git/doc/guix.texi:30148
  44869. #, no-wrap
  44870. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  44871. msgstr ""
  44872. #. type: deftypevr
  44873. #: guix-git/doc/guix.texi:30152
  44874. 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."
  44875. msgstr ""
  44876. #. type: deftypevr
  44877. #: guix-git/doc/guix.texi:30154
  44878. msgid "Defaults to @samp{\"NORMAL\"}."
  44879. msgstr ""
  44880. #. type: deftypevr
  44881. #: guix-git/doc/guix.texi:30157
  44882. #, no-wrap
  44883. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  44884. msgstr ""
  44885. #. type: deftypevr
  44886. #: guix-git/doc/guix.texi:30160 guix-git/doc/guix.texi:30584
  44887. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  44888. msgstr ""
  44889. #. type: deftypevr
  44890. #: guix-git/doc/guix.texi:30162
  44891. msgid "Defaults to @samp{5000}."
  44892. msgstr ""
  44893. #. type: deftypevr
  44894. #: guix-git/doc/guix.texi:30165
  44895. #, no-wrap
  44896. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  44897. msgstr ""
  44898. #. type: deftypevr
  44899. #: guix-git/doc/guix.texi:30169
  44900. 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."
  44901. msgstr ""
  44902. #. type: deftypevr
  44903. #: guix-git/doc/guix.texi:30174
  44904. #, no-wrap
  44905. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  44906. msgstr ""
  44907. #. type: deftypevr
  44908. #: guix-git/doc/guix.texi:30177
  44909. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  44910. msgstr ""
  44911. #. type: deftypevr
  44912. #: guix-git/doc/guix.texi:30179 guix-git/doc/guix.texi:30197
  44913. #: guix-git/doc/guix.texi:30213
  44914. msgid "Defaults to @samp{20}."
  44915. msgstr ""
  44916. #. type: deftypevr
  44917. #: guix-git/doc/guix.texi:30182
  44918. #, no-wrap
  44919. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  44920. msgstr ""
  44921. #. type: deftypevr
  44922. #: guix-git/doc/guix.texi:30184
  44923. msgid "Number of workers to start up initially."
  44924. msgstr ""
  44925. #. type: deftypevr
  44926. #: guix-git/doc/guix.texi:30189
  44927. #, no-wrap
  44928. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  44929. msgstr ""
  44930. #. type: deftypevr
  44931. #: guix-git/doc/guix.texi:30191
  44932. msgid "Maximum number of worker threads."
  44933. msgstr ""
  44934. #. type: deftypevr
  44935. #: guix-git/doc/guix.texi:30195
  44936. 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."
  44937. msgstr ""
  44938. #. type: deftypevr
  44939. #: guix-git/doc/guix.texi:30200
  44940. #, no-wrap
  44941. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  44942. msgstr ""
  44943. #. type: deftypevr
  44944. #: guix-git/doc/guix.texi:30204
  44945. 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."
  44946. msgstr ""
  44947. #. type: deftypevr
  44948. #: guix-git/doc/guix.texi:30209
  44949. #, no-wrap
  44950. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  44951. msgstr ""
  44952. #. type: deftypevr
  44953. #: guix-git/doc/guix.texi:30211
  44954. msgid "Total global limit on concurrent RPC calls."
  44955. msgstr ""
  44956. #. type: deftypevr
  44957. #: guix-git/doc/guix.texi:30216
  44958. #, no-wrap
  44959. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  44960. msgstr ""
  44961. #. type: deftypevr
  44962. #: guix-git/doc/guix.texi:30220
  44963. 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."
  44964. msgstr ""
  44965. #. type: deftypevr
  44966. #: guix-git/doc/guix.texi:30225
  44967. #, no-wrap
  44968. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  44969. msgstr ""
  44970. #. type: deftypevr
  44971. #: guix-git/doc/guix.texi:30227
  44972. msgid "Same as @code{min-workers} but for the admin interface."
  44973. msgstr ""
  44974. #. type: deftypevr
  44975. #: guix-git/doc/guix.texi:30232
  44976. #, no-wrap
  44977. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  44978. msgstr ""
  44979. #. type: deftypevr
  44980. #: guix-git/doc/guix.texi:30234
  44981. msgid "Same as @code{max-workers} but for the admin interface."
  44982. msgstr ""
  44983. #. type: deftypevr
  44984. #: guix-git/doc/guix.texi:30239
  44985. #, no-wrap
  44986. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  44987. msgstr ""
  44988. #. type: deftypevr
  44989. #: guix-git/doc/guix.texi:30241
  44990. msgid "Same as @code{max-clients} but for the admin interface."
  44991. msgstr ""
  44992. #. type: deftypevr
  44993. #: guix-git/doc/guix.texi:30246
  44994. #, no-wrap
  44995. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  44996. msgstr ""
  44997. #. type: deftypevr
  44998. #: guix-git/doc/guix.texi:30248
  44999. msgid "Same as @code{max-queued-clients} but for the admin interface."
  45000. msgstr ""
  45001. #. type: deftypevr
  45002. #: guix-git/doc/guix.texi:30253
  45003. #, no-wrap
  45004. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  45005. msgstr ""
  45006. #. type: deftypevr
  45007. #: guix-git/doc/guix.texi:30255
  45008. msgid "Same as @code{max-client-requests} but for the admin interface."
  45009. msgstr ""
  45010. #. type: deftypevr
  45011. #: guix-git/doc/guix.texi:30260
  45012. #, no-wrap
  45013. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  45014. msgstr ""
  45015. #. type: deftypevr
  45016. #: guix-git/doc/guix.texi:30262 guix-git/doc/guix.texi:30486
  45017. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  45018. msgstr ""
  45019. #. type: deftypevr
  45020. #: guix-git/doc/guix.texi:30267
  45021. #, no-wrap
  45022. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  45023. msgstr ""
  45024. #. type: deftypevr
  45025. #: guix-git/doc/guix.texi:30269 guix-git/doc/guix.texi:30493
  45026. msgid "Logging filters."
  45027. msgstr ""
  45028. #. type: deftypevr
  45029. #: guix-git/doc/guix.texi:30272
  45030. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  45031. msgstr ""
  45032. #. type: itemize
  45033. #: guix-git/doc/guix.texi:30276 guix-git/doc/guix.texi:30500
  45034. msgid "x:name"
  45035. msgstr ""
  45036. #. type: itemize
  45037. #: guix-git/doc/guix.texi:30279 guix-git/doc/guix.texi:30503
  45038. msgid "x:+name"
  45039. msgstr ""
  45040. #. type: deftypevr
  45041. #: guix-git/doc/guix.texi:30290
  45042. 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:"
  45043. msgstr ""
  45044. #. type: itemize
  45045. #: guix-git/doc/guix.texi:30294 guix-git/doc/guix.texi:30339
  45046. #: guix-git/doc/guix.texi:30517 guix-git/doc/guix.texi:30562
  45047. msgid "1: DEBUG"
  45048. msgstr ""
  45049. #. type: itemize
  45050. #: guix-git/doc/guix.texi:30297 guix-git/doc/guix.texi:30342
  45051. #: guix-git/doc/guix.texi:30520 guix-git/doc/guix.texi:30565
  45052. msgid "2: INFO"
  45053. msgstr ""
  45054. #. type: itemize
  45055. #: guix-git/doc/guix.texi:30300 guix-git/doc/guix.texi:30345
  45056. #: guix-git/doc/guix.texi:30523 guix-git/doc/guix.texi:30568
  45057. msgid "3: WARNING"
  45058. msgstr ""
  45059. #. type: itemize
  45060. #: guix-git/doc/guix.texi:30303 guix-git/doc/guix.texi:30348
  45061. #: guix-git/doc/guix.texi:30526 guix-git/doc/guix.texi:30571
  45062. msgid "4: ERROR"
  45063. msgstr ""
  45064. #. type: deftypevr
  45065. #: guix-git/doc/guix.texi:30308 guix-git/doc/guix.texi:30531
  45066. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  45067. msgstr ""
  45068. #. type: deftypevr
  45069. #: guix-git/doc/guix.texi:30310 guix-git/doc/guix.texi:30533
  45070. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  45071. msgstr ""
  45072. #. type: deftypevr
  45073. #: guix-git/doc/guix.texi:30313
  45074. #, no-wrap
  45075. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  45076. msgstr ""
  45077. #. type: deftypevr
  45078. #: guix-git/doc/guix.texi:30315 guix-git/doc/guix.texi:30538
  45079. msgid "Logging outputs."
  45080. msgstr ""
  45081. #. type: deftypevr
  45082. #: guix-git/doc/guix.texi:30318
  45083. msgid "An output is one of the places to save logging information. The format for an output can be:"
  45084. msgstr ""
  45085. #. type: item
  45086. #: guix-git/doc/guix.texi:30320 guix-git/doc/guix.texi:30543
  45087. #, no-wrap
  45088. msgid "x:stderr"
  45089. msgstr ""
  45090. #. type: table
  45091. #: guix-git/doc/guix.texi:30322 guix-git/doc/guix.texi:30545
  45092. msgid "output goes to stderr"
  45093. msgstr ""
  45094. #. type: item
  45095. #: guix-git/doc/guix.texi:30323 guix-git/doc/guix.texi:30546
  45096. #, no-wrap
  45097. msgid "x:syslog:name"
  45098. msgstr ""
  45099. #. type: table
  45100. #: guix-git/doc/guix.texi:30325 guix-git/doc/guix.texi:30548
  45101. msgid "use syslog for the output and use the given name as the ident"
  45102. msgstr ""
  45103. #. type: item
  45104. #: guix-git/doc/guix.texi:30326 guix-git/doc/guix.texi:30549
  45105. #, no-wrap
  45106. msgid "x:file:file_path"
  45107. msgstr ""
  45108. #. type: table
  45109. #: guix-git/doc/guix.texi:30328 guix-git/doc/guix.texi:30551
  45110. msgid "output to a file, with the given filepath"
  45111. msgstr ""
  45112. #. type: item
  45113. #: guix-git/doc/guix.texi:30329 guix-git/doc/guix.texi:30552
  45114. #, no-wrap
  45115. msgid "x:journald"
  45116. msgstr ""
  45117. #. type: table
  45118. #: guix-git/doc/guix.texi:30331 guix-git/doc/guix.texi:30554
  45119. msgid "output to journald logging system"
  45120. msgstr ""
  45121. #. type: deftypevr
  45122. #: guix-git/doc/guix.texi:30335 guix-git/doc/guix.texi:30558
  45123. msgid "In all case the x prefix is the minimal level, acting as a filter"
  45124. msgstr ""
  45125. #. type: deftypevr
  45126. #: guix-git/doc/guix.texi:30353 guix-git/doc/guix.texi:30576
  45127. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  45128. msgstr ""
  45129. #. type: deftypevr
  45130. #: guix-git/doc/guix.texi:30355 guix-git/doc/guix.texi:30578
  45131. msgid "Defaults to @samp{\"3:stderr\"}."
  45132. msgstr ""
  45133. #. type: deftypevr
  45134. #: guix-git/doc/guix.texi:30358
  45135. #, no-wrap
  45136. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  45137. msgstr ""
  45138. #. type: deftypevr
  45139. #: guix-git/doc/guix.texi:30360
  45140. msgid "Allows usage of the auditing subsystem to be altered"
  45141. msgstr ""
  45142. #. type: itemize
  45143. #: guix-git/doc/guix.texi:30364
  45144. msgid "0: disable all auditing"
  45145. msgstr ""
  45146. #. type: itemize
  45147. #: guix-git/doc/guix.texi:30367
  45148. msgid "1: enable auditing, only if enabled on host"
  45149. msgstr ""
  45150. #. type: itemize
  45151. #: guix-git/doc/guix.texi:30370
  45152. msgid "2: enable auditing, and exit if disabled on host."
  45153. msgstr ""
  45154. #. type: deftypevr
  45155. #: guix-git/doc/guix.texi:30377
  45156. #, no-wrap
  45157. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  45158. msgstr ""
  45159. #. type: deftypevr
  45160. #: guix-git/doc/guix.texi:30379
  45161. msgid "Send audit messages via libvirt logging infrastructure."
  45162. msgstr ""
  45163. #. type: deftypevr
  45164. #: guix-git/doc/guix.texi:30384
  45165. #, no-wrap
  45166. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  45167. msgstr ""
  45168. #. type: deftypevr
  45169. #: guix-git/doc/guix.texi:30386
  45170. msgid "Host UUID@. UUID must not have all digits be the same."
  45171. msgstr ""
  45172. #. type: deftypevr
  45173. #: guix-git/doc/guix.texi:30391
  45174. #, no-wrap
  45175. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  45176. msgstr ""
  45177. #. type: deftypevr
  45178. #: guix-git/doc/guix.texi:30393
  45179. msgid "Source to read host UUID."
  45180. msgstr ""
  45181. #. type: itemize
  45182. #: guix-git/doc/guix.texi:30397
  45183. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  45184. msgstr ""
  45185. #. type: itemize
  45186. #: guix-git/doc/guix.texi:30400
  45187. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  45188. msgstr ""
  45189. #. type: deftypevr
  45190. #: guix-git/doc/guix.texi:30405
  45191. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  45192. msgstr ""
  45193. #. type: deftypevr
  45194. #: guix-git/doc/guix.texi:30407
  45195. msgid "Defaults to @samp{\"smbios\"}."
  45196. msgstr ""
  45197. #. type: deftypevr
  45198. #: guix-git/doc/guix.texi:30410
  45199. #, no-wrap
  45200. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  45201. msgstr ""
  45202. #. type: deftypevr
  45203. #: guix-git/doc/guix.texi:30415
  45204. 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."
  45205. msgstr ""
  45206. #. type: deftypevr
  45207. #: guix-git/doc/guix.texi:30420
  45208. #, no-wrap
  45209. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  45210. msgstr ""
  45211. #. type: deftypevr
  45212. #: guix-git/doc/guix.texi:30424
  45213. 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."
  45214. msgstr ""
  45215. #. type: deftypevr
  45216. #: guix-git/doc/guix.texi:30431
  45217. 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."
  45218. msgstr ""
  45219. #. type: deftypevr
  45220. #: guix-git/doc/guix.texi:30436
  45221. #, no-wrap
  45222. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  45223. msgstr ""
  45224. #. type: deftypevr
  45225. #: guix-git/doc/guix.texi:30438 guix-git/doc/guix.texi:30445
  45226. msgid "Same as above but for admin interface."
  45227. msgstr ""
  45228. #. type: deftypevr
  45229. #: guix-git/doc/guix.texi:30443
  45230. #, no-wrap
  45231. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  45232. msgstr ""
  45233. #. type: deftypevr
  45234. #: guix-git/doc/guix.texi:30450
  45235. #, no-wrap
  45236. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  45237. msgstr ""
  45238. #. type: deftypevr
  45239. #: guix-git/doc/guix.texi:30452
  45240. msgid "Timeout for Open vSwitch calls."
  45241. msgstr ""
  45242. #. type: deftypevr
  45243. #: guix-git/doc/guix.texi:30456
  45244. 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."
  45245. msgstr ""
  45246. #. type: subsubheading
  45247. #: guix-git/doc/guix.texi:30463
  45248. #, no-wrap
  45249. msgid "Virtlog daemon"
  45250. msgstr ""
  45251. #. type: Plain text
  45252. #: guix-git/doc/guix.texi:30466
  45253. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  45254. msgstr ""
  45255. #. type: Plain text
  45256. #: guix-git/doc/guix.texi:30472
  45257. 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."
  45258. msgstr ""
  45259. #. type: deffn
  45260. #: guix-git/doc/guix.texi:30473
  45261. #, no-wrap
  45262. msgid "{Scheme Variable} virtlog-service-type"
  45263. msgstr ""
  45264. #. type: deffn
  45265. #: guix-git/doc/guix.texi:30476
  45266. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  45267. msgstr ""
  45268. #. type: lisp
  45269. #: guix-git/doc/guix.texi:30481
  45270. #, no-wrap
  45271. msgid ""
  45272. "(service virtlog-service-type\n"
  45273. " (virtlog-configuration\n"
  45274. " (max-clients 1000)))\n"
  45275. msgstr ""
  45276. #. type: deftypevr
  45277. #: guix-git/doc/guix.texi:30484
  45278. #, no-wrap
  45279. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  45280. msgstr ""
  45281. #. type: deftypevr
  45282. #: guix-git/doc/guix.texi:30491
  45283. #, no-wrap
  45284. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  45285. msgstr ""
  45286. #. type: deftypevr
  45287. #: guix-git/doc/guix.texi:30496
  45288. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  45289. msgstr ""
  45290. #. type: deftypevr
  45291. #: guix-git/doc/guix.texi:30513
  45292. 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:"
  45293. msgstr ""
  45294. #. type: deftypevr
  45295. #: guix-git/doc/guix.texi:30536
  45296. #, no-wrap
  45297. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  45298. msgstr ""
  45299. #. type: deftypevr
  45300. #: guix-git/doc/guix.texi:30541
  45301. msgid "An output is one of the places to save logging information The format for an output can be:"
  45302. msgstr ""
  45303. #. type: deftypevr
  45304. #: guix-git/doc/guix.texi:30581
  45305. #, no-wrap
  45306. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  45307. msgstr ""
  45308. #. type: deftypevr
  45309. #: guix-git/doc/guix.texi:30586
  45310. msgid "Defaults to @samp{1024}."
  45311. msgstr ""
  45312. #. type: deftypevr
  45313. #: guix-git/doc/guix.texi:30589
  45314. #, no-wrap
  45315. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  45316. msgstr ""
  45317. #. type: deftypevr
  45318. #: guix-git/doc/guix.texi:30591
  45319. msgid "Maximum file size before rolling over."
  45320. msgstr ""
  45321. #. type: deftypevr
  45322. #: guix-git/doc/guix.texi:30593
  45323. msgid "Defaults to @samp{2MB}"
  45324. msgstr ""
  45325. #. type: deftypevr
  45326. #: guix-git/doc/guix.texi:30596
  45327. #, no-wrap
  45328. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  45329. msgstr ""
  45330. #. type: deftypevr
  45331. #: guix-git/doc/guix.texi:30598
  45332. msgid "Maximum number of backup files to keep."
  45333. msgstr ""
  45334. #. type: deftypevr
  45335. #: guix-git/doc/guix.texi:30600
  45336. msgid "Defaults to @samp{3}"
  45337. msgstr ""
  45338. #. type: anchor{#1}
  45339. #: guix-git/doc/guix.texi:30604
  45340. msgid "transparent-emulation-qemu"
  45341. msgstr ""
  45342. #. type: subsubheading
  45343. #: guix-git/doc/guix.texi:30604
  45344. #, no-wrap
  45345. msgid "Transparent Emulation with QEMU"
  45346. msgstr ""
  45347. #. type: cindex
  45348. #: guix-git/doc/guix.texi:30606 guix-git/doc/guix.texi:30686
  45349. #, no-wrap
  45350. msgid "emulation"
  45351. msgstr ""
  45352. #. type: code{#1}
  45353. #: guix-git/doc/guix.texi:30607
  45354. #, no-wrap
  45355. msgid "binfmt_misc"
  45356. msgstr ""
  45357. #. type: Plain text
  45358. #: guix-git/doc/guix.texi:30615
  45359. 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."
  45360. msgstr ""
  45361. #. type: defvr
  45362. #: guix-git/doc/guix.texi:30616
  45363. #, no-wrap
  45364. msgid "{Scheme Variable} qemu-binfmt-service-type"
  45365. msgstr ""
  45366. #. type: defvr
  45367. #: guix-git/doc/guix.texi:30621
  45368. 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:"
  45369. msgstr ""
  45370. #. type: lisp
  45371. #: guix-git/doc/guix.texi:30626
  45372. #, no-wrap
  45373. msgid ""
  45374. "(service qemu-binfmt-service-type\n"
  45375. " (qemu-binfmt-configuration\n"
  45376. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  45377. msgstr ""
  45378. #. type: defvr
  45379. #: guix-git/doc/guix.texi:30632
  45380. 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})."
  45381. msgstr ""
  45382. #. type: deftp
  45383. #: guix-git/doc/guix.texi:30634
  45384. #, no-wrap
  45385. msgid "{Data Type} qemu-binfmt-configuration"
  45386. msgstr ""
  45387. #. type: deftp
  45388. #: guix-git/doc/guix.texi:30636
  45389. msgid "This is the configuration for the @code{qemu-binfmt} service."
  45390. msgstr ""
  45391. #. type: item
  45392. #: guix-git/doc/guix.texi:30638
  45393. #, no-wrap
  45394. msgid "@code{platforms} (default: @code{'()})"
  45395. msgstr ""
  45396. #. type: table
  45397. #: guix-git/doc/guix.texi:30641
  45398. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  45399. msgstr ""
  45400. #. type: table
  45401. #: guix-git/doc/guix.texi:30644
  45402. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  45403. msgstr ""
  45404. #. type: lisp
  45405. #: guix-git/doc/guix.texi:30649
  45406. #, no-wrap
  45407. msgid ""
  45408. "(service qemu-binfmt-service-type\n"
  45409. " (qemu-binfmt-configuration\n"
  45410. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  45411. msgstr ""
  45412. #. type: table
  45413. #: guix-git/doc/guix.texi:30652
  45414. msgid "You can run:"
  45415. msgstr ""
  45416. #. type: example
  45417. #: guix-git/doc/guix.texi:30655
  45418. #, no-wrap
  45419. msgid "guix build -s armhf-linux inkscape\n"
  45420. msgstr ""
  45421. #. type: table
  45422. #: guix-git/doc/guix.texi:30662
  45423. 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!"
  45424. msgstr ""
  45425. #. type: item
  45426. #: guix-git/doc/guix.texi:30663
  45427. #, no-wrap
  45428. msgid "@code{qemu} (default: @code{qemu})"
  45429. msgstr ""
  45430. #. type: table
  45431. #: guix-git/doc/guix.texi:30665 guix-git/doc/guix.texi:30723
  45432. #: guix-git/doc/guix.texi:30805
  45433. msgid "The QEMU package to use."
  45434. msgstr ""
  45435. #. type: deffn
  45436. #: guix-git/doc/guix.texi:30668
  45437. #, no-wrap
  45438. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  45439. msgstr ""
  45440. #. type: deffn
  45441. #: guix-git/doc/guix.texi:30673
  45442. 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."
  45443. msgstr ""
  45444. #. type: deffn
  45445. #: guix-git/doc/guix.texi:30675
  45446. #, no-wrap
  45447. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  45448. msgstr ""
  45449. #. type: deffn
  45450. #: guix-git/doc/guix.texi:30677
  45451. msgid "Return true if @var{obj} is a platform object."
  45452. msgstr ""
  45453. #. type: deffn
  45454. #: guix-git/doc/guix.texi:30679
  45455. #, no-wrap
  45456. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  45457. msgstr ""
  45458. #. type: deffn
  45459. #: guix-git/doc/guix.texi:30681
  45460. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  45461. msgstr ""
  45462. #. type: subsubheading
  45463. #: guix-git/doc/guix.texi:30684
  45464. #, no-wrap
  45465. msgid "QEMU Guest Agent"
  45466. msgstr ""
  45467. #. type: Plain text
  45468. #: guix-git/doc/guix.texi:30692
  45469. msgid "The QEMU guest agent provides control over the emulated system to the host. The @code{qemu-guest-agent} service runs the agent on Guix guests. To control the agent from the host, open a socket by invoking QEMU with the following arguments:"
  45470. msgstr ""
  45471. #. type: example
  45472. #: guix-git/doc/guix.texi:30699
  45473. #, no-wrap
  45474. msgid ""
  45475. "qemu-system-x86_64 \\\n"
  45476. "\t-chardev socket,path=/tmp/qga.sock,server=on,wait=off,id=qga0 \\\n"
  45477. "\t-device virtio-serial \\\n"
  45478. "\t-device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 \\\n"
  45479. "\t...\n"
  45480. msgstr ""
  45481. #. type: Plain text
  45482. #: guix-git/doc/guix.texi:30703
  45483. msgid "This creates a socket at @file{/tmp/qga.sock} on the host. Once the guest agent is running, you can issue commands with @code{socat}:"
  45484. msgstr ""
  45485. #. type: example
  45486. #: guix-git/doc/guix.texi:30708
  45487. #, no-wrap
  45488. msgid ""
  45489. "$ guix shell socat -- socat unix-connect:/tmp/qga.sock stdio\n"
  45490. "@{\"execute\": \"guest-get-host-name\"@}\n"
  45491. "@{\"return\": @{\"host-name\": \"guix\"@}@}\n"
  45492. msgstr ""
  45493. #. type: Plain text
  45494. #: guix-git/doc/guix.texi:30712
  45495. msgid "See @url{https://wiki.qemu.org/Features/GuestAgent,QEMU guest agent documentation} for more options and commands."
  45496. msgstr ""
  45497. #. type: defvr
  45498. #: guix-git/doc/guix.texi:30713
  45499. #, no-wrap
  45500. msgid "{Scheme Variable} qemu-guest-agent-service-type"
  45501. msgstr ""
  45502. #. type: defvr
  45503. #: guix-git/doc/guix.texi:30715
  45504. msgid "Service type for the QEMU guest agent service."
  45505. msgstr ""
  45506. #. type: deftp
  45507. #: guix-git/doc/guix.texi:30717
  45508. #, fuzzy, no-wrap
  45509. #| msgid "System Configuration"
  45510. msgid "{Data Type} qemu-guest-agent-configuration"
  45511. msgstr "Nastavenie systému"
  45512. #. type: deftp
  45513. #: guix-git/doc/guix.texi:30719
  45514. msgid "Configuration for the @code{qemu-guest-agent} service."
  45515. msgstr ""
  45516. #. type: item
  45517. #: guix-git/doc/guix.texi:30721 guix-git/doc/guix.texi:30803
  45518. #, no-wrap
  45519. msgid "@code{qemu} (default: @code{qemu-minimal})"
  45520. msgstr ""
  45521. #. type: item
  45522. #: guix-git/doc/guix.texi:30724
  45523. #, no-wrap
  45524. msgid "@code{device} (default: @code{\"\"})"
  45525. msgstr ""
  45526. #. type: table
  45527. #: guix-git/doc/guix.texi:30727
  45528. msgid "File name of the device or socket the agent uses to communicate with the host. If empty, QEMU uses a default file name."
  45529. msgstr ""
  45530. #. type: subsubheading
  45531. #: guix-git/doc/guix.texi:30731
  45532. #, no-wrap
  45533. msgid "The Hurd in a Virtual Machine"
  45534. msgstr ""
  45535. #. type: cindex
  45536. #: guix-git/doc/guix.texi:30734
  45537. #, no-wrap
  45538. msgid "the Hurd"
  45539. msgstr ""
  45540. #. type: cindex
  45541. #: guix-git/doc/guix.texi:30735
  45542. #, no-wrap
  45543. msgid "childhurd"
  45544. msgstr ""
  45545. #. type: Plain text
  45546. #: guix-git/doc/guix.texi:30743
  45547. 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:"
  45548. msgstr ""
  45549. #. type: example
  45550. #: guix-git/doc/guix.texi:30747
  45551. #, no-wrap
  45552. msgid ""
  45553. "herd start hurd-vm\n"
  45554. "herd stop childhurd\n"
  45555. msgstr ""
  45556. #. type: Plain text
  45557. #: guix-git/doc/guix.texi:30751
  45558. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  45559. msgstr ""
  45560. #. type: example
  45561. #: guix-git/doc/guix.texi:30754
  45562. #, no-wrap
  45563. msgid "guix shell tigervnc-client -- vncviewer localhost:5900\n"
  45564. msgstr ""
  45565. #. type: Plain text
  45566. #: guix-git/doc/guix.texi:30760
  45567. 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:"
  45568. msgstr ""
  45569. #. type: example
  45570. #: guix-git/doc/guix.texi:30763
  45571. #, no-wrap
  45572. msgid "ssh root@@localhost -p 10022\n"
  45573. msgstr ""
  45574. #. type: Plain text
  45575. #: guix-git/doc/guix.texi:30772
  45576. 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."
  45577. msgstr ""
  45578. #. type: defvr
  45579. #: guix-git/doc/guix.texi:30773
  45580. #, no-wrap
  45581. msgid "{Scheme Variable} hurd-vm-service-type"
  45582. msgstr ""
  45583. #. type: defvr
  45584. #: guix-git/doc/guix.texi:30779
  45585. 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."
  45586. msgstr ""
  45587. #. type: defvr
  45588. #: guix-git/doc/guix.texi:30781
  45589. msgid "For example:"
  45590. msgstr ""
  45591. #. type: lisp
  45592. #: guix-git/doc/guix.texi:30787
  45593. #, no-wrap
  45594. msgid ""
  45595. "(service hurd-vm-service-type\n"
  45596. " (hurd-vm-configuration\n"
  45597. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  45598. " (memory-size 1024))) ;1024MiB\n"
  45599. msgstr ""
  45600. #. type: defvr
  45601. #: guix-git/doc/guix.texi:30791
  45602. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  45603. msgstr ""
  45604. #. type: deftp
  45605. #: guix-git/doc/guix.texi:30793
  45606. #, no-wrap
  45607. msgid "{Data Type} hurd-vm-configuration"
  45608. msgstr ""
  45609. #. type: deftp
  45610. #: guix-git/doc/guix.texi:30796
  45611. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  45612. msgstr ""
  45613. #. type: item
  45614. #: guix-git/doc/guix.texi:30798
  45615. #, no-wrap
  45616. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  45617. msgstr ""
  45618. #. type: table
  45619. #: guix-git/doc/guix.texi:30802
  45620. 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}})."
  45621. msgstr ""
  45622. #. type: item
  45623. #: guix-git/doc/guix.texi:30806
  45624. #, no-wrap
  45625. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  45626. msgstr ""
  45627. #. type: table
  45628. #: guix-git/doc/guix.texi:30809
  45629. msgid "The procedure used to build the disk-image built from this configuration."
  45630. msgstr ""
  45631. #. type: item
  45632. #: guix-git/doc/guix.texi:30810
  45633. #, no-wrap
  45634. msgid "@code{disk-size} (default: @code{'guess})"
  45635. msgstr ""
  45636. #. type: table
  45637. #: guix-git/doc/guix.texi:30812
  45638. msgid "The size of the disk image."
  45639. msgstr ""
  45640. #. type: item
  45641. #: guix-git/doc/guix.texi:30813
  45642. #, no-wrap
  45643. msgid "@code{memory-size} (default: @code{512})"
  45644. msgstr ""
  45645. #. type: table
  45646. #: guix-git/doc/guix.texi:30815
  45647. msgid "The memory size of the Virtual Machine in mebibytes."
  45648. msgstr ""
  45649. #. type: item
  45650. #: guix-git/doc/guix.texi:30816
  45651. #, no-wrap
  45652. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  45653. msgstr ""
  45654. #. type: table
  45655. #: guix-git/doc/guix.texi:30818
  45656. msgid "The extra options for running QEMU."
  45657. msgstr ""
  45658. #. type: table
  45659. #: guix-git/doc/guix.texi:30823
  45660. 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}."
  45661. msgstr ""
  45662. #. type: item
  45663. #: guix-git/doc/guix.texi:30824
  45664. #, no-wrap
  45665. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  45666. msgstr ""
  45667. #. type: table
  45668. #: guix-git/doc/guix.texi:30826
  45669. msgid "The procedure used to produce the list of QEMU networking options."
  45670. msgstr ""
  45671. #. type: table
  45672. #: guix-git/doc/guix.texi:30828
  45673. msgid "By default, it produces"
  45674. msgstr ""
  45675. #. type: lisp
  45676. #: guix-git/doc/guix.texi:30836
  45677. #, no-wrap
  45678. msgid ""
  45679. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  45680. " \"--netdev\" (string-append\n"
  45681. " \"user,id=net0,\"\n"
  45682. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  45683. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  45684. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  45685. msgstr ""
  45686. #. type: table
  45687. #: guix-git/doc/guix.texi:30839
  45688. msgid "with forwarded ports:"
  45689. msgstr ""
  45690. #. type: example
  45691. #: guix-git/doc/guix.texi:30844
  45692. #, no-wrap
  45693. msgid ""
  45694. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  45695. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  45696. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  45697. msgstr ""
  45698. #. type: item
  45699. #: guix-git/doc/guix.texi:30846
  45700. #, no-wrap
  45701. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  45702. msgstr ""
  45703. #. type: table
  45704. #: guix-git/doc/guix.texi:30851
  45705. 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."
  45706. msgstr ""
  45707. #. type: table
  45708. #: guix-git/doc/guix.texi:30855
  45709. 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."
  45710. msgstr ""
  45711. #. type: table
  45712. #: guix-git/doc/guix.texi:30858
  45713. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  45714. msgstr ""
  45715. #. type: example
  45716. #: guix-git/doc/guix.texi:30867
  45717. #, no-wrap
  45718. msgid ""
  45719. "/etc/childhurd/etc/guix/acl\n"
  45720. "/etc/childhurd/etc/guix/signing-key.pub\n"
  45721. "/etc/childhurd/etc/guix/signing-key.sec\n"
  45722. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  45723. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  45724. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  45725. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  45726. msgstr ""
  45727. #. type: table
  45728. #: guix-git/doc/guix.texi:30871
  45729. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  45730. msgstr ""
  45731. #. type: cindex
  45732. #: guix-git/doc/guix.texi:30872
  45733. #, no-wrap
  45734. msgid "childhurd, offloading"
  45735. msgstr ""
  45736. #. type: cindex
  45737. #: guix-git/doc/guix.texi:30873
  45738. #, no-wrap
  45739. msgid "Hurd, offloading"
  45740. msgstr ""
  45741. #. type: table
  45742. #: guix-git/doc/guix.texi:30877
  45743. 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:"
  45744. msgstr ""
  45745. #. type: enumerate
  45746. #: guix-git/doc/guix.texi:30882
  45747. 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:"
  45748. msgstr ""
  45749. #. type: example
  45750. #: guix-git/doc/guix.texi:30886
  45751. #, no-wrap
  45752. msgid ""
  45753. "guix archive --authorize < \\\n"
  45754. " /etc/childhurd/etc/guix/signing-key.pub\n"
  45755. msgstr ""
  45756. #. type: enumerate
  45757. #: guix-git/doc/guix.texi:30891
  45758. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  45759. msgstr ""
  45760. #. type: table
  45761. #: guix-git/doc/guix.texi:30895
  45762. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  45763. msgstr ""
  45764. #. type: Plain text
  45765. #: guix-git/doc/guix.texi:30902
  45766. 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:"
  45767. msgstr ""
  45768. #. type: lisp
  45769. #: guix-git/doc/guix.texi:30908
  45770. #, no-wrap
  45771. msgid ""
  45772. "(service hurd-vm-service-type\n"
  45773. " (hurd-vm-configuration\n"
  45774. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  45775. " (options '())))\n"
  45776. msgstr ""
  45777. #. type: subsubheading
  45778. #: guix-git/doc/guix.texi:30910
  45779. #, no-wrap
  45780. msgid "Ganeti"
  45781. msgstr ""
  45782. #. type: cindex
  45783. #: guix-git/doc/guix.texi:30912
  45784. #, no-wrap
  45785. msgid "ganeti"
  45786. msgstr ""
  45787. #. type: quotation
  45788. #: guix-git/doc/guix.texi:30919
  45789. 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}."
  45790. msgstr ""
  45791. #. type: Plain text
  45792. #: guix-git/doc/guix.texi:30929
  45793. 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)."
  45794. msgstr ""
  45795. #. type: Plain text
  45796. #: guix-git/doc/guix.texi:30934
  45797. 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}:"
  45798. msgstr ""
  45799. #. type: lisp
  45800. #: guix-git/doc/guix.texi:30944
  45801. #, no-wrap
  45802. msgid ""
  45803. "(use-package-modules virtualization)\n"
  45804. "(use-service-modules base ganeti networking ssh)\n"
  45805. "(operating-system\n"
  45806. " ;; @dots{}\n"
  45807. " (host-name \"node1\")\n"
  45808. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  45809. "127.0.0.1 localhost\n"
  45810. "::1 localhost\n"
  45811. "\n"
  45812. msgstr ""
  45813. #. type: lisp
  45814. #: guix-git/doc/guix.texi:30949
  45815. #, no-wrap
  45816. msgid ""
  45817. "192.168.1.200 ganeti.example.com\n"
  45818. "192.168.1.201 node1.example.com node1\n"
  45819. "192.168.1.202 node2.example.com node2\n"
  45820. "\")))\n"
  45821. "\n"
  45822. msgstr ""
  45823. #. type: lisp
  45824. #: guix-git/doc/guix.texi:30970
  45825. #, no-wrap
  45826. msgid ""
  45827. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  45828. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  45829. " (packages (append (map specification->package\n"
  45830. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  45831. " ;; Add the debootstrap and guix OS providers.\n"
  45832. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  45833. " %base-packages))\n"
  45834. " (services\n"
  45835. " (append (list (service static-networking-service-type\n"
  45836. " (list (static-networking\n"
  45837. " (addresses\n"
  45838. " (list (network-address\n"
  45839. " (device \"eth0\")\n"
  45840. " (value \"192.168.1.201/24\"))))\n"
  45841. " (routes\n"
  45842. " (list (network-route\n"
  45843. " (destination \"default\")\n"
  45844. " (gateway \"192.168.1.254\"))))\n"
  45845. " (name-servers '(\"192.168.1.252\"\n"
  45846. " \"192.168.1.253\")))))\n"
  45847. "\n"
  45848. msgstr ""
  45849. #. type: lisp
  45850. #: guix-git/doc/guix.texi:30975
  45851. #, no-wrap
  45852. msgid ""
  45853. " ;; Ganeti uses SSH to communicate between nodes.\n"
  45854. " (service openssh-service-type\n"
  45855. " (openssh-configuration\n"
  45856. " (permit-root-login 'prohibit-password)))\n"
  45857. "\n"
  45858. msgstr ""
  45859. #. type: lisp
  45860. #: guix-git/doc/guix.texi:30985
  45861. #, no-wrap
  45862. msgid ""
  45863. " (service ganeti-service-type\n"
  45864. " (ganeti-configuration\n"
  45865. " ;; This list specifies allowed file system paths\n"
  45866. " ;; for storing virtual machine images.\n"
  45867. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  45868. " ;; This variable configures a single \"variant\" for\n"
  45869. " ;; both Debootstrap and Guix that works with KVM.\n"
  45870. " (os %default-ganeti-os))))\n"
  45871. " %base-services)))\n"
  45872. msgstr ""
  45873. #. type: Plain text
  45874. #: guix-git/doc/guix.texi:30993
  45875. 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."
  45876. msgstr ""
  45877. #. type: defvr
  45878. #: guix-git/doc/guix.texi:30994
  45879. #, no-wrap
  45880. msgid "{Scheme Variable} ganeti-service-type"
  45881. msgstr ""
  45882. #. type: defvr
  45883. #: guix-git/doc/guix.texi:30997
  45884. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  45885. msgstr ""
  45886. #. type: defvr
  45887. #: guix-git/doc/guix.texi:31002
  45888. 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."
  45889. msgstr ""
  45890. #. type: deftp
  45891. #: guix-git/doc/guix.texi:31004
  45892. #, no-wrap
  45893. msgid "{Data Type} ganeti-configuration"
  45894. msgstr ""
  45895. #. type: deftp
  45896. #: guix-git/doc/guix.texi:31006
  45897. msgid "The @code{ganeti} service takes the following configuration options:"
  45898. msgstr ""
  45899. #. type: item
  45900. #: guix-git/doc/guix.texi:31008 guix-git/doc/guix.texi:31236
  45901. #: guix-git/doc/guix.texi:31286 guix-git/doc/guix.texi:31316
  45902. #: guix-git/doc/guix.texi:31343 guix-git/doc/guix.texi:31375
  45903. #: guix-git/doc/guix.texi:31428 guix-git/doc/guix.texi:31448
  45904. #: guix-git/doc/guix.texi:31474 guix-git/doc/guix.texi:31507
  45905. #: guix-git/doc/guix.texi:31547
  45906. #, no-wrap
  45907. msgid "@code{ganeti} (default: @code{ganeti})"
  45908. msgstr ""
  45909. #. type: table
  45910. #: guix-git/doc/guix.texi:31013
  45911. 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)."
  45912. msgstr ""
  45913. #. type: item
  45914. #: guix-git/doc/guix.texi:31014
  45915. #, no-wrap
  45916. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  45917. msgstr ""
  45918. #. type: itemx
  45919. #: guix-git/doc/guix.texi:31015
  45920. #, no-wrap
  45921. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  45922. msgstr ""
  45923. #. type: itemx
  45924. #: guix-git/doc/guix.texi:31016
  45925. #, no-wrap
  45926. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  45927. msgstr ""
  45928. #. type: itemx
  45929. #: guix-git/doc/guix.texi:31017
  45930. #, no-wrap
  45931. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  45932. msgstr ""
  45933. #. type: itemx
  45934. #: guix-git/doc/guix.texi:31018
  45935. #, no-wrap
  45936. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  45937. msgstr ""
  45938. #. type: itemx
  45939. #: guix-git/doc/guix.texi:31019
  45940. #, no-wrap
  45941. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  45942. msgstr ""
  45943. #. type: itemx
  45944. #: guix-git/doc/guix.texi:31020
  45945. #, no-wrap
  45946. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  45947. msgstr ""
  45948. #. type: itemx
  45949. #: guix-git/doc/guix.texi:31021
  45950. #, no-wrap
  45951. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  45952. msgstr ""
  45953. #. type: itemx
  45954. #: guix-git/doc/guix.texi:31022
  45955. #, no-wrap
  45956. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  45957. msgstr ""
  45958. #. type: itemx
  45959. #: guix-git/doc/guix.texi:31023
  45960. #, no-wrap
  45961. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  45962. msgstr ""
  45963. #. type: table
  45964. #: guix-git/doc/guix.texi:31028
  45965. 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:"
  45966. msgstr ""
  45967. #. type: lisp
  45968. #: guix-git/doc/guix.texi:31038
  45969. #, no-wrap
  45970. msgid ""
  45971. "(service ganeti-service-type\n"
  45972. " (ganeti-configuration\n"
  45973. " (rapi-configuration\n"
  45974. " (ganeti-rapi-configuration\n"
  45975. " (interface \"eth1\"))))\n"
  45976. " (watcher-configuration\n"
  45977. " (ganeti-watcher-configuration\n"
  45978. " (rapi-ip \"10.0.0.1\"))))\n"
  45979. msgstr ""
  45980. #. type: item
  45981. #: guix-git/doc/guix.texi:31040
  45982. #, no-wrap
  45983. msgid "@code{file-storage-paths} (default: @code{'()})"
  45984. msgstr ""
  45985. #. type: table
  45986. #: guix-git/doc/guix.texi:31042
  45987. msgid "List of allowed directories for file storage backend."
  45988. msgstr ""
  45989. #. type: item
  45990. #: guix-git/doc/guix.texi:31043
  45991. #, no-wrap
  45992. msgid "@code{os} (default: @code{%default-ganeti-os})"
  45993. msgstr ""
  45994. #. type: table
  45995. #: guix-git/doc/guix.texi:31045
  45996. msgid "List of @code{<ganeti-os>} records."
  45997. msgstr ""
  45998. #. type: deftp
  45999. #: guix-git/doc/guix.texi:31049
  46000. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  46001. msgstr ""
  46002. #. type: lisp
  46003. #: guix-git/doc/guix.texi:31060
  46004. #, no-wrap
  46005. msgid ""
  46006. "(service ganeti-noded-service-type)\n"
  46007. "(service ganeti-confd-service-type)\n"
  46008. "(service ganeti-wconfd-service-type)\n"
  46009. "(service ganeti-luxid-service-type)\n"
  46010. "(service ganeti-kvmd-service-type)\n"
  46011. "(service ganeti-mond-service-type)\n"
  46012. "(service ganeti-metad-service-type)\n"
  46013. "(service ganeti-watcher-service-type)\n"
  46014. "(service ganeti-cleaner-service-type)\n"
  46015. msgstr ""
  46016. #. type: deftp
  46017. #: guix-git/doc/guix.texi:31064
  46018. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  46019. msgstr ""
  46020. #. type: deftp
  46021. #: guix-git/doc/guix.texi:31067
  46022. #, no-wrap
  46023. msgid "{Data Type} ganeti-os"
  46024. msgstr ""
  46025. #. type: deftp
  46026. #: guix-git/doc/guix.texi:31070
  46027. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  46028. msgstr ""
  46029. #. type: table
  46030. #: guix-git/doc/guix.texi:31076
  46031. 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}."
  46032. msgstr ""
  46033. #. type: code{#1}
  46034. #: guix-git/doc/guix.texi:31077
  46035. #, no-wrap
  46036. msgid "extension"
  46037. msgstr ""
  46038. #. type: table
  46039. #: guix-git/doc/guix.texi:31080
  46040. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  46041. msgstr ""
  46042. #. type: item
  46043. #: guix-git/doc/guix.texi:31081
  46044. #, no-wrap
  46045. msgid "@code{variants} (default: @code{'()})"
  46046. msgstr ""
  46047. #. type: table
  46048. #: guix-git/doc/guix.texi:31083
  46049. msgid "List of @code{ganeti-os-variant} objects for this OS."
  46050. msgstr ""
  46051. #. type: deftp
  46052. #: guix-git/doc/guix.texi:31087
  46053. #, no-wrap
  46054. msgid "{Data Type} ganeti-os-variant"
  46055. msgstr ""
  46056. #. type: deftp
  46057. #: guix-git/doc/guix.texi:31090
  46058. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  46059. msgstr ""
  46060. #. type: table
  46061. #: guix-git/doc/guix.texi:31094
  46062. msgid "The name of this variant."
  46063. msgstr ""
  46064. #. type: code{#1}
  46065. #: guix-git/doc/guix.texi:31095
  46066. #, no-wrap
  46067. msgid "configuration"
  46068. msgstr ""
  46069. #. type: table
  46070. #: guix-git/doc/guix.texi:31097
  46071. msgid "A configuration file for this variant."
  46072. msgstr ""
  46073. #. type: defvr
  46074. #: guix-git/doc/guix.texi:31100
  46075. #, no-wrap
  46076. msgid "{Scheme Variable} %default-debootstrap-hooks"
  46077. msgstr ""
  46078. #. type: defvr
  46079. #: guix-git/doc/guix.texi:31102
  46080. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  46081. msgstr ""
  46082. #. type: defvr
  46083. #: guix-git/doc/guix.texi:31104
  46084. #, no-wrap
  46085. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  46086. msgstr ""
  46087. #. type: defvr
  46088. #: guix-git/doc/guix.texi:31106
  46089. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  46090. msgstr ""
  46091. #. type: deftp
  46092. #: guix-git/doc/guix.texi:31108
  46093. #, no-wrap
  46094. msgid "{Data Type} debootstrap-configuration"
  46095. msgstr ""
  46096. #. type: deftp
  46097. #: guix-git/doc/guix.texi:31111
  46098. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  46099. msgstr ""
  46100. #. type: item
  46101. #: guix-git/doc/guix.texi:31113
  46102. #, no-wrap
  46103. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  46104. msgstr ""
  46105. #. type: table
  46106. #: guix-git/doc/guix.texi:31117
  46107. 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:"
  46108. msgstr ""
  46109. #. type: lisp
  46110. #: guix-git/doc/guix.texi:31120
  46111. #, no-wrap
  46112. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  46113. msgstr ""
  46114. #. type: table
  46115. #: guix-git/doc/guix.texi:31125
  46116. 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."
  46117. msgstr ""
  46118. #. type: item
  46119. #: guix-git/doc/guix.texi:31125
  46120. #, no-wrap
  46121. msgid "@code{proxy} (default: @code{#f})"
  46122. msgstr ""
  46123. #. type: table
  46124. #: guix-git/doc/guix.texi:31127
  46125. msgid "Optional HTTP proxy to use."
  46126. msgstr ""
  46127. #. type: item
  46128. #: guix-git/doc/guix.texi:31127
  46129. #, no-wrap
  46130. msgid "@code{mirror} (default: @code{#f})"
  46131. msgstr ""
  46132. #. type: table
  46133. #: guix-git/doc/guix.texi:31130
  46134. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  46135. msgstr ""
  46136. #. type: item
  46137. #: guix-git/doc/guix.texi:31130
  46138. #, no-wrap
  46139. msgid "@code{arch} (default: @code{#f})"
  46140. msgstr ""
  46141. #. type: table
  46142. #: guix-git/doc/guix.texi:31133
  46143. 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."
  46144. msgstr ""
  46145. #. type: item
  46146. #: guix-git/doc/guix.texi:31133
  46147. #, no-wrap
  46148. msgid "@code{suite} (default: @code{\"stable\"})"
  46149. msgstr ""
  46150. #. type: table
  46151. #: guix-git/doc/guix.texi:31136
  46152. 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."
  46153. msgstr ""
  46154. #. type: item
  46155. #: guix-git/doc/guix.texi:31136
  46156. #, no-wrap
  46157. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  46158. msgstr ""
  46159. #. type: table
  46160. #: guix-git/doc/guix.texi:31139
  46161. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  46162. msgstr ""
  46163. #. type: item
  46164. #: guix-git/doc/guix.texi:31139
  46165. #, no-wrap
  46166. msgid "@code{components} (default: @code{#f})"
  46167. msgstr ""
  46168. #. type: table
  46169. #: guix-git/doc/guix.texi:31142
  46170. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  46171. msgstr ""
  46172. #. type: item
  46173. #: guix-git/doc/guix.texi:31142
  46174. #, no-wrap
  46175. msgid "@code{generate-cache?} (default: @code{#t})"
  46176. msgstr ""
  46177. #. type: table
  46178. #: guix-git/doc/guix.texi:31144
  46179. msgid "Whether to automatically cache the generated debootstrap archive."
  46180. msgstr ""
  46181. #. type: item
  46182. #: guix-git/doc/guix.texi:31144
  46183. #, no-wrap
  46184. msgid "@code{clean-cache} (default: @code{14})"
  46185. msgstr ""
  46186. #. type: table
  46187. #: guix-git/doc/guix.texi:31147
  46188. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  46189. msgstr ""
  46190. #. type: item
  46191. #: guix-git/doc/guix.texi:31147
  46192. #, no-wrap
  46193. msgid "@code{partition-style} (default: @code{'msdos})"
  46194. msgstr ""
  46195. #. type: table
  46196. #: guix-git/doc/guix.texi:31150
  46197. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  46198. msgstr ""
  46199. #. type: item
  46200. #: guix-git/doc/guix.texi:31150
  46201. #, no-wrap
  46202. msgid "@code{partition-alignment} (default: @code{2048})"
  46203. msgstr ""
  46204. #. type: table
  46205. #: guix-git/doc/guix.texi:31152
  46206. msgid "Alignment of the partition in sectors."
  46207. msgstr ""
  46208. #. type: deffn
  46209. #: guix-git/doc/guix.texi:31155
  46210. #, no-wrap
  46211. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  46212. msgstr ""
  46213. #. type: deffn
  46214. #: guix-git/doc/guix.texi:31158
  46215. 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."
  46216. msgstr ""
  46217. #. type: deffn
  46218. #: guix-git/doc/guix.texi:31160
  46219. #, no-wrap
  46220. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  46221. msgstr ""
  46222. #. type: deffn
  46223. #: guix-git/doc/guix.texi:31163
  46224. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  46225. msgstr ""
  46226. #. type: deffn
  46227. #: guix-git/doc/guix.texi:31165
  46228. #, no-wrap
  46229. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  46230. msgstr ""
  46231. #. type: deffn
  46232. #: guix-git/doc/guix.texi:31170
  46233. 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."
  46234. msgstr ""
  46235. #. type: deffn
  46236. #: guix-git/doc/guix.texi:31172
  46237. #, no-wrap
  46238. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  46239. msgstr ""
  46240. #. type: deffn
  46241. #: guix-git/doc/guix.texi:31175
  46242. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  46243. msgstr ""
  46244. #. type: defvr
  46245. #: guix-git/doc/guix.texi:31177
  46246. #, no-wrap
  46247. msgid "{Scheme Variable} %default-debootstrap-variants"
  46248. msgstr ""
  46249. #. type: defvr
  46250. #: guix-git/doc/guix.texi:31181
  46251. 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:"
  46252. msgstr ""
  46253. #. type: lisp
  46254. #: guix-git/doc/guix.texi:31186
  46255. #, no-wrap
  46256. msgid ""
  46257. "(list (debootstrap-variant\n"
  46258. " \"default\"\n"
  46259. " (debootstrap-configuration)))\n"
  46260. msgstr ""
  46261. #. type: defvr
  46262. #: guix-git/doc/guix.texi:31189
  46263. #, no-wrap
  46264. msgid "{Scheme Variable} %default-guix-variants"
  46265. msgstr ""
  46266. #. type: defvr
  46267. #: guix-git/doc/guix.texi:31193
  46268. 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."
  46269. msgstr ""
  46270. #. type: lisp
  46271. #: guix-git/doc/guix.texi:31199
  46272. #, no-wrap
  46273. msgid ""
  46274. "(list (guix-variant\n"
  46275. " \"default\"\n"
  46276. " (file-append ganeti-instance-guix\n"
  46277. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  46278. msgstr ""
  46279. #. type: Plain text
  46280. #: guix-git/doc/guix.texi:31205
  46281. 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:"
  46282. msgstr ""
  46283. #. type: lisp
  46284. #: guix-git/doc/guix.texi:31214
  46285. #, no-wrap
  46286. msgid ""
  46287. "(ganeti-os\n"
  46288. " (name \"custom\")\n"
  46289. " (extension \".conf\")\n"
  46290. " (variants\n"
  46291. " (list (ganeti-os-variant\n"
  46292. " (name \"foo\")\n"
  46293. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  46294. msgstr ""
  46295. #. type: Plain text
  46296. #: guix-git/doc/guix.texi:31219
  46297. 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}."
  46298. msgstr ""
  46299. #. type: Plain text
  46300. #: guix-git/doc/guix.texi:31222
  46301. 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}."
  46302. msgstr ""
  46303. #. type: Plain text
  46304. #: guix-git/doc/guix.texi:31225
  46305. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  46306. msgstr ""
  46307. #. type: defvr
  46308. #: guix-git/doc/guix.texi:31226
  46309. #, no-wrap
  46310. msgid "{Scheme Variable} ganeti-noded-service-type"
  46311. msgstr ""
  46312. #. type: defvr
  46313. #: guix-git/doc/guix.texi:31230
  46314. 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."
  46315. msgstr ""
  46316. #. type: deftp
  46317. #: guix-git/doc/guix.texi:31232
  46318. #, no-wrap
  46319. msgid "{Data Type} ganeti-noded-configuration"
  46320. msgstr ""
  46321. #. type: deftp
  46322. #: guix-git/doc/guix.texi:31234
  46323. msgid "This is the configuration for the @code{ganeti-noded} service."
  46324. msgstr ""
  46325. #. type: table
  46326. #: guix-git/doc/guix.texi:31238 guix-git/doc/guix.texi:31288
  46327. #: guix-git/doc/guix.texi:31318 guix-git/doc/guix.texi:31345
  46328. #: guix-git/doc/guix.texi:31377 guix-git/doc/guix.texi:31430
  46329. #: guix-git/doc/guix.texi:31450 guix-git/doc/guix.texi:31476
  46330. #: guix-git/doc/guix.texi:31509
  46331. msgid "The @code{ganeti} package to use for this service."
  46332. msgstr ""
  46333. #. type: item
  46334. #: guix-git/doc/guix.texi:31239
  46335. #, no-wrap
  46336. msgid "@code{port} (default: @code{1811})"
  46337. msgstr ""
  46338. #. type: table
  46339. #: guix-git/doc/guix.texi:31241
  46340. msgid "The TCP port on which the node daemon listens for network requests."
  46341. msgstr ""
  46342. #. type: item
  46343. #: guix-git/doc/guix.texi:31242 guix-git/doc/guix.texi:31292
  46344. #: guix-git/doc/guix.texi:31384 guix-git/doc/guix.texi:31454
  46345. #, no-wrap
  46346. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  46347. msgstr ""
  46348. #. type: table
  46349. #: guix-git/doc/guix.texi:31245
  46350. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  46351. msgstr ""
  46352. #. type: table
  46353. #: guix-git/doc/guix.texi:31249
  46354. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  46355. msgstr ""
  46356. #. type: item
  46357. #: guix-git/doc/guix.texi:31250 guix-git/doc/guix.texi:31392
  46358. #, no-wrap
  46359. msgid "@code{max-clients} (default: @code{20})"
  46360. msgstr ""
  46361. #. type: table
  46362. #: guix-git/doc/guix.texi:31254
  46363. 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."
  46364. msgstr ""
  46365. #. type: item
  46366. #: guix-git/doc/guix.texi:31255 guix-git/doc/guix.texi:31397
  46367. #, no-wrap
  46368. msgid "@code{ssl?} (default: @code{#t})"
  46369. msgstr ""
  46370. #. type: table
  46371. #: guix-git/doc/guix.texi:31259
  46372. 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}."
  46373. msgstr ""
  46374. #. type: item
  46375. #: guix-git/doc/guix.texi:31260 guix-git/doc/guix.texi:31400
  46376. #, no-wrap
  46377. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  46378. msgstr ""
  46379. #. type: table
  46380. #: guix-git/doc/guix.texi:31262 guix-git/doc/guix.texi:31402
  46381. msgid "This can be used to provide a specific encryption key for TLS communications."
  46382. msgstr ""
  46383. #. type: item
  46384. #: guix-git/doc/guix.texi:31263 guix-git/doc/guix.texi:31403
  46385. #, no-wrap
  46386. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  46387. msgstr ""
  46388. #. type: table
  46389. #: guix-git/doc/guix.texi:31265 guix-git/doc/guix.texi:31405
  46390. msgid "This can be used to provide a specific certificate for TLS communications."
  46391. msgstr ""
  46392. #. type: table
  46393. #: guix-git/doc/guix.texi:31269 guix-git/doc/guix.texi:31409
  46394. 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."
  46395. msgstr ""
  46396. #. type: defvr
  46397. #: guix-git/doc/guix.texi:31273
  46398. #, no-wrap
  46399. msgid "{Scheme Variable} ganeti-confd-service-type"
  46400. msgstr ""
  46401. #. type: defvr
  46402. #: guix-git/doc/guix.texi:31279
  46403. 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."
  46404. msgstr ""
  46405. #. type: deftp
  46406. #: guix-git/doc/guix.texi:31282
  46407. #, no-wrap
  46408. msgid "{Data Type} ganeti-confd-configuration"
  46409. msgstr ""
  46410. #. type: deftp
  46411. #: guix-git/doc/guix.texi:31284
  46412. msgid "This is the configuration for the @code{ganeti-confd} service."
  46413. msgstr ""
  46414. #. type: item
  46415. #: guix-git/doc/guix.texi:31289
  46416. #, no-wrap
  46417. msgid "@code{port} (default: @code{1814})"
  46418. msgstr ""
  46419. #. type: table
  46420. #: guix-git/doc/guix.texi:31291
  46421. msgid "The UDP port on which to listen for network requests."
  46422. msgstr ""
  46423. #. type: table
  46424. #: guix-git/doc/guix.texi:31294
  46425. msgid "Network address that the daemon will bind to."
  46426. msgstr ""
  46427. #. type: table
  46428. #: guix-git/doc/guix.texi:31297 guix-git/doc/guix.texi:31326
  46429. #: guix-git/doc/guix.texi:31353 guix-git/doc/guix.texi:31433
  46430. #: guix-git/doc/guix.texi:31460 guix-git/doc/guix.texi:31486
  46431. msgid "When true, the daemon performs additional logging for debugging purposes."
  46432. msgstr ""
  46433. #. type: defvr
  46434. #: guix-git/doc/guix.texi:31301
  46435. #, no-wrap
  46436. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  46437. msgstr ""
  46438. #. type: defvr
  46439. #: guix-git/doc/guix.texi:31307
  46440. 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."
  46441. msgstr ""
  46442. #. type: defvr
  46443. #: guix-git/doc/guix.texi:31310
  46444. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  46445. msgstr ""
  46446. #. type: deftp
  46447. #: guix-git/doc/guix.texi:31312
  46448. #, no-wrap
  46449. msgid "{Data Type} ganeti-wconfd-configuration"
  46450. msgstr ""
  46451. #. type: deftp
  46452. #: guix-git/doc/guix.texi:31314
  46453. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  46454. msgstr ""
  46455. #. type: item
  46456. #: guix-git/doc/guix.texi:31319 guix-git/doc/guix.texi:31346
  46457. #, no-wrap
  46458. msgid "@code{no-voting?} (default: @code{#f})"
  46459. msgstr ""
  46460. #. type: table
  46461. #: guix-git/doc/guix.texi:31323
  46462. 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)."
  46463. msgstr ""
  46464. #. type: defvr
  46465. #: guix-git/doc/guix.texi:31330
  46466. #, no-wrap
  46467. msgid "{Scheme Variable} ganeti-luxid-service-type"
  46468. msgstr ""
  46469. #. type: defvr
  46470. #: guix-git/doc/guix.texi:31335
  46471. 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."
  46472. msgstr ""
  46473. #. type: defvr
  46474. #: guix-git/doc/guix.texi:31337
  46475. msgid "It takes a @code{ganeti-luxid-configuration} object."
  46476. msgstr ""
  46477. #. type: deftp
  46478. #: guix-git/doc/guix.texi:31339
  46479. #, no-wrap
  46480. msgid "{Data Type} ganeti-luxid-configuration"
  46481. msgstr ""
  46482. #. type: deftp
  46483. #: guix-git/doc/guix.texi:31341
  46484. msgid "This is the configuration for the @code{ganeti-luxid} service."
  46485. msgstr ""
  46486. #. type: table
  46487. #: guix-git/doc/guix.texi:31350
  46488. 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)."
  46489. msgstr ""
  46490. #. type: defvr
  46491. #: guix-git/doc/guix.texi:31357
  46492. #, no-wrap
  46493. msgid "{Scheme Variable} ganeti-rapi-service-type"
  46494. msgstr ""
  46495. #. type: defvr
  46496. #: guix-git/doc/guix.texi:31361
  46497. 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."
  46498. msgstr ""
  46499. #. type: defvr
  46500. #: guix-git/doc/guix.texi:31367
  46501. 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."
  46502. msgstr ""
  46503. #. type: defvr
  46504. #: guix-git/doc/guix.texi:31369
  46505. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  46506. msgstr ""
  46507. #. type: deftp
  46508. #: guix-git/doc/guix.texi:31371
  46509. #, no-wrap
  46510. msgid "{Data Type} ganeti-rapi-configuration"
  46511. msgstr ""
  46512. #. type: deftp
  46513. #: guix-git/doc/guix.texi:31373
  46514. msgid "This is the configuration for the @code{ganeti-rapi} service."
  46515. msgstr ""
  46516. #. type: item
  46517. #: guix-git/doc/guix.texi:31378
  46518. #, no-wrap
  46519. msgid "@code{require-authentication?} (default: @code{#f})"
  46520. msgstr ""
  46521. #. type: table
  46522. #: guix-git/doc/guix.texi:31380
  46523. msgid "Whether to require authentication even for read-only operations."
  46524. msgstr ""
  46525. #. type: item
  46526. #: guix-git/doc/guix.texi:31381
  46527. #, no-wrap
  46528. msgid "@code{port} (default: @code{5080})"
  46529. msgstr ""
  46530. #. type: table
  46531. #: guix-git/doc/guix.texi:31383
  46532. msgid "The TCP port on which to listen to API requests."
  46533. msgstr ""
  46534. #. type: table
  46535. #: guix-git/doc/guix.texi:31387
  46536. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  46537. msgstr ""
  46538. #. type: table
  46539. #: guix-git/doc/guix.texi:31391
  46540. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  46541. msgstr ""
  46542. #. type: table
  46543. #: guix-git/doc/guix.texi:31396
  46544. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  46545. msgstr ""
  46546. #. type: table
  46547. #: guix-git/doc/guix.texi:31399
  46548. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  46549. msgstr ""
  46550. #. type: defvr
  46551. #: guix-git/doc/guix.texi:31413
  46552. #, no-wrap
  46553. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  46554. msgstr ""
  46555. #. type: defvr
  46556. #: guix-git/doc/guix.texi:31421
  46557. 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."
  46558. msgstr ""
  46559. #. type: defvr
  46560. #: guix-git/doc/guix.texi:31423
  46561. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  46562. msgstr ""
  46563. #. type: deftp
  46564. #: guix-git/doc/guix.texi:31425
  46565. #, no-wrap
  46566. msgid "{Data Type} ganeti-kvmd-configuration"
  46567. msgstr ""
  46568. #. type: defvr
  46569. #: guix-git/doc/guix.texi:31437
  46570. #, no-wrap
  46571. msgid "{Scheme Variable} ganeti-mond-service-type"
  46572. msgstr ""
  46573. #. type: defvr
  46574. #: guix-git/doc/guix.texi:31441
  46575. 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."
  46576. msgstr ""
  46577. #. type: defvr
  46578. #: guix-git/doc/guix.texi:31443
  46579. msgid "It takes a @code{ganeti-mond-configuration} object."
  46580. msgstr ""
  46581. #. type: deftp
  46582. #: guix-git/doc/guix.texi:31445
  46583. #, no-wrap
  46584. msgid "{Data Type} ganeti-mond-configuration"
  46585. msgstr ""
  46586. #. type: item
  46587. #: guix-git/doc/guix.texi:31451
  46588. #, no-wrap
  46589. msgid "@code{port} (default: @code{1815})"
  46590. msgstr ""
  46591. #. type: table
  46592. #: guix-git/doc/guix.texi:31453 guix-git/doc/guix.texi:31479
  46593. msgid "The port on which the daemon will listen."
  46594. msgstr ""
  46595. #. type: table
  46596. #: guix-git/doc/guix.texi:31457
  46597. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  46598. msgstr ""
  46599. #. type: defvr
  46600. #: guix-git/doc/guix.texi:31464
  46601. #, no-wrap
  46602. msgid "{Scheme Variable} ganeti-metad-service-type"
  46603. msgstr ""
  46604. #. type: defvr
  46605. #: guix-git/doc/guix.texi:31467
  46606. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  46607. msgstr ""
  46608. #. type: defvr
  46609. #: guix-git/doc/guix.texi:31469
  46610. msgid "It takes a @code{ganeti-metad-configuration} object."
  46611. msgstr ""
  46612. #. type: deftp
  46613. #: guix-git/doc/guix.texi:31471
  46614. #, no-wrap
  46615. msgid "{Data Type} ganeti-metad-configuration"
  46616. msgstr ""
  46617. #. type: table
  46618. #: guix-git/doc/guix.texi:31483
  46619. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  46620. msgstr ""
  46621. #. type: defvr
  46622. #: guix-git/doc/guix.texi:31490
  46623. #, no-wrap
  46624. msgid "{Scheme Variable} ganeti-watcher-service-type"
  46625. msgstr ""
  46626. #. type: defvr
  46627. #: guix-git/doc/guix.texi:31498
  46628. 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."
  46629. msgstr ""
  46630. #. type: defvr
  46631. #: guix-git/doc/guix.texi:31500
  46632. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  46633. msgstr ""
  46634. #. type: defvr
  46635. #: guix-git/doc/guix.texi:31502
  46636. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  46637. msgstr ""
  46638. #. type: deftp
  46639. #: guix-git/doc/guix.texi:31504
  46640. #, no-wrap
  46641. msgid "{Data Type} ganeti-watcher-configuration"
  46642. msgstr ""
  46643. #. type: item
  46644. #: guix-git/doc/guix.texi:31510
  46645. #, no-wrap
  46646. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  46647. msgstr ""
  46648. #. type: table
  46649. #: guix-git/doc/guix.texi:31512
  46650. msgid "How often to run the script. The default is every five minutes."
  46651. msgstr ""
  46652. #. type: item
  46653. #: guix-git/doc/guix.texi:31513
  46654. #, no-wrap
  46655. msgid "@code{rapi-ip} (default: @code{#f})"
  46656. msgstr ""
  46657. #. type: table
  46658. #: guix-git/doc/guix.texi:31516
  46659. 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."
  46660. msgstr ""
  46661. #. type: item
  46662. #: guix-git/doc/guix.texi:31517
  46663. #, no-wrap
  46664. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  46665. msgstr ""
  46666. #. type: table
  46667. #: guix-git/doc/guix.texi:31520
  46668. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  46669. msgstr ""
  46670. #. type: item
  46671. #: guix-git/doc/guix.texi:31521
  46672. #, no-wrap
  46673. msgid "@code{verify-disks?} (default: @code{#t})"
  46674. msgstr ""
  46675. #. type: table
  46676. #: guix-git/doc/guix.texi:31525
  46677. 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."
  46678. msgstr ""
  46679. #. type: table
  46680. #: guix-git/doc/guix.texi:31528
  46681. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  46682. msgstr ""
  46683. #. type: defvr
  46684. #: guix-git/doc/guix.texi:31532
  46685. #, no-wrap
  46686. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  46687. msgstr ""
  46688. #. type: defvr
  46689. #: guix-git/doc/guix.texi:31540
  46690. 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."
  46691. msgstr ""
  46692. #. type: defvr
  46693. #: guix-git/doc/guix.texi:31542
  46694. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  46695. msgstr ""
  46696. #. type: deftp
  46697. #: guix-git/doc/guix.texi:31544
  46698. #, no-wrap
  46699. msgid "{Data Type} ganeti-cleaner-configuration"
  46700. msgstr ""
  46701. #. type: table
  46702. #: guix-git/doc/guix.texi:31549
  46703. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  46704. msgstr ""
  46705. #. type: item
  46706. #: guix-git/doc/guix.texi:31550
  46707. #, no-wrap
  46708. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  46709. msgstr ""
  46710. #. type: table
  46711. #: guix-git/doc/guix.texi:31553
  46712. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  46713. msgstr ""
  46714. #. type: item
  46715. #: guix-git/doc/guix.texi:31554
  46716. #, no-wrap
  46717. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  46718. msgstr ""
  46719. #. type: table
  46720. #: guix-git/doc/guix.texi:31557
  46721. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  46722. msgstr ""
  46723. #. type: Plain text
  46724. #: guix-git/doc/guix.texi:31571
  46725. 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}."
  46726. msgstr ""
  46727. #. type: deffn
  46728. #: guix-git/doc/guix.texi:31572
  46729. #, no-wrap
  46730. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  46731. msgstr ""
  46732. #. type: deffn
  46733. #: guix-git/doc/guix.texi:31576
  46734. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  46735. msgstr ""
  46736. #. type: deffn
  46737. #: guix-git/doc/guix.texi:31582
  46738. 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}."
  46739. msgstr ""
  46740. #. type: deftp
  46741. #: guix-git/doc/guix.texi:31585
  46742. #, no-wrap
  46743. msgid "{Data Type} git-daemon-configuration"
  46744. msgstr ""
  46745. #. type: deftp
  46746. #: guix-git/doc/guix.texi:31587
  46747. msgid "Data type representing the configuration for @code{git-daemon-service}."
  46748. msgstr ""
  46749. #. type: item
  46750. #: guix-git/doc/guix.texi:31589
  46751. #, no-wrap
  46752. msgid "@code{package} (default: @code{git})"
  46753. msgstr ""
  46754. #. type: table
  46755. #: guix-git/doc/guix.texi:31591 guix-git/doc/guix.texi:31651
  46756. msgid "Package object of the Git distributed version control system."
  46757. msgstr ""
  46758. #. type: item
  46759. #: guix-git/doc/guix.texi:31592 guix-git/doc/guix.texi:31655
  46760. #, no-wrap
  46761. msgid "@code{export-all?} (default: @code{#f})"
  46762. msgstr ""
  46763. #. type: table
  46764. #: guix-git/doc/guix.texi:31595
  46765. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  46766. msgstr ""
  46767. #. type: item
  46768. #: guix-git/doc/guix.texi:31596
  46769. #, no-wrap
  46770. msgid "@code{base-path} (default: @file{/srv/git})"
  46771. msgstr ""
  46772. #. type: table
  46773. #: guix-git/doc/guix.texi:31602
  46774. 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}."
  46775. msgstr ""
  46776. #. type: item
  46777. #: guix-git/doc/guix.texi:31603
  46778. #, no-wrap
  46779. msgid "@code{user-path} (default: @code{#f})"
  46780. msgstr ""
  46781. #. type: table
  46782. #: guix-git/doc/guix.texi:31611
  46783. 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}."
  46784. msgstr ""
  46785. #. type: item
  46786. #: guix-git/doc/guix.texi:31612
  46787. #, no-wrap
  46788. msgid "@code{listen} (default: @code{'()})"
  46789. msgstr ""
  46790. #. type: table
  46791. #: guix-git/doc/guix.texi:31615
  46792. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  46793. msgstr ""
  46794. #. type: item
  46795. #: guix-git/doc/guix.texi:31616
  46796. #, no-wrap
  46797. msgid "@code{port} (default: @code{#f})"
  46798. msgstr ""
  46799. #. type: table
  46800. #: guix-git/doc/guix.texi:31618
  46801. msgid "Whether to listen on an alternative port, which defaults to 9418."
  46802. msgstr ""
  46803. #. type: item
  46804. #: guix-git/doc/guix.texi:31619
  46805. #, no-wrap
  46806. msgid "@code{whitelist} (default: @code{'()})"
  46807. msgstr ""
  46808. #. type: table
  46809. #: guix-git/doc/guix.texi:31621
  46810. msgid "If not empty, only allow access to this list of directories."
  46811. msgstr ""
  46812. #. type: table
  46813. #: guix-git/doc/guix.texi:31625
  46814. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  46815. msgstr ""
  46816. #. type: Plain text
  46817. #: guix-git/doc/guix.texi:31639
  46818. 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."
  46819. msgstr ""
  46820. #. type: Plain text
  46821. #: guix-git/doc/guix.texi:31642
  46822. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  46823. msgstr ""
  46824. #. type: deftp
  46825. #: guix-git/doc/guix.texi:31643
  46826. #, no-wrap
  46827. msgid "{Data Type} git-http-configuration"
  46828. msgstr ""
  46829. #. type: deftp
  46830. #: guix-git/doc/guix.texi:31647
  46831. 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}."
  46832. msgstr ""
  46833. #. type: item
  46834. #: guix-git/doc/guix.texi:31649
  46835. #, no-wrap
  46836. msgid "@code{package} (default: @var{git})"
  46837. msgstr ""
  46838. #. type: item
  46839. #: guix-git/doc/guix.texi:31652
  46840. #, no-wrap
  46841. msgid "@code{git-root} (default: @file{/srv/git})"
  46842. msgstr ""
  46843. #. type: table
  46844. #: guix-git/doc/guix.texi:31654
  46845. msgid "Directory containing the Git repositories to expose to the world."
  46846. msgstr ""
  46847. #. type: table
  46848. #: guix-git/doc/guix.texi:31658
  46849. 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."
  46850. msgstr ""
  46851. #. type: item
  46852. #: guix-git/doc/guix.texi:31659
  46853. #, no-wrap
  46854. msgid "@code{uri-path} (default: @samp{/git/})"
  46855. msgstr ""
  46856. #. type: table
  46857. #: guix-git/doc/guix.texi:31664
  46858. 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."
  46859. msgstr ""
  46860. #. type: item
  46861. #: guix-git/doc/guix.texi:31665
  46862. #, no-wrap
  46863. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  46864. msgstr ""
  46865. #. type: table
  46866. #: guix-git/doc/guix.texi:31668
  46867. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  46868. msgstr ""
  46869. #. type: Plain text
  46870. #: guix-git/doc/guix.texi:31675
  46871. 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."
  46872. msgstr ""
  46873. #. type: deffn
  46874. #: guix-git/doc/guix.texi:31676
  46875. #, no-wrap
  46876. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  46877. msgstr ""
  46878. #. type: deffn
  46879. #: guix-git/doc/guix.texi:31681
  46880. 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:"
  46881. msgstr ""
  46882. #. type: lisp
  46883. #: guix-git/doc/guix.texi:31698
  46884. #, no-wrap
  46885. msgid ""
  46886. "(service nginx-service-type\n"
  46887. " (nginx-configuration\n"
  46888. " (server-blocks\n"
  46889. " (list\n"
  46890. " (nginx-server-configuration\n"
  46891. " (listen '(\"443 ssl\"))\n"
  46892. " (server-name \"git.my-host.org\")\n"
  46893. " (ssl-certificate\n"
  46894. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  46895. " (ssl-certificate-key\n"
  46896. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  46897. " (locations\n"
  46898. " (list\n"
  46899. " (git-http-nginx-location-configuration\n"
  46900. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  46901. msgstr ""
  46902. #. type: deffn
  46903. #: guix-git/doc/guix.texi:31705
  46904. 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}."
  46905. msgstr ""
  46906. #. type: subsubheading
  46907. #: guix-git/doc/guix.texi:31707
  46908. #, no-wrap
  46909. msgid "Cgit Service"
  46910. msgstr ""
  46911. #. type: cindex
  46912. #: guix-git/doc/guix.texi:31709
  46913. #, no-wrap
  46914. msgid "Cgit service"
  46915. msgstr ""
  46916. #. type: cindex
  46917. #: guix-git/doc/guix.texi:31710
  46918. #, no-wrap
  46919. msgid "Git, web interface"
  46920. msgstr ""
  46921. #. type: Plain text
  46922. #: guix-git/doc/guix.texi:31713
  46923. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  46924. msgstr ""
  46925. #. type: Plain text
  46926. #: guix-git/doc/guix.texi:31716
  46927. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  46928. msgstr ""
  46929. #. type: lisp
  46930. #: guix-git/doc/guix.texi:31719
  46931. #, no-wrap
  46932. msgid "(service cgit-service-type)\n"
  46933. msgstr ""
  46934. #. type: Plain text
  46935. #: guix-git/doc/guix.texi:31723
  46936. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  46937. msgstr ""
  46938. #. type: Plain text
  46939. #: guix-git/doc/guix.texi:31727
  46940. msgid "Available @code{cgit-configuration} fields are:"
  46941. msgstr ""
  46942. #. type: deftypevr
  46943. #: guix-git/doc/guix.texi:31728
  46944. #, no-wrap
  46945. msgid "{@code{cgit-configuration} parameter} package package"
  46946. msgstr ""
  46947. #. type: deftypevr
  46948. #: guix-git/doc/guix.texi:31730
  46949. msgid "The CGIT package."
  46950. msgstr ""
  46951. #. type: deftypevr
  46952. #: guix-git/doc/guix.texi:31733
  46953. #, no-wrap
  46954. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  46955. msgstr ""
  46956. #. type: deftypevr
  46957. #: guix-git/doc/guix.texi:31738
  46958. #, no-wrap
  46959. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  46960. msgstr ""
  46961. #. type: deftypevr
  46962. #: guix-git/doc/guix.texi:31741
  46963. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  46964. msgstr ""
  46965. #. type: deftypevr
  46966. #: guix-git/doc/guix.texi:31746
  46967. #, no-wrap
  46968. msgid "{@code{cgit-configuration} parameter} string agefile"
  46969. msgstr ""
  46970. #. type: deftypevr
  46971. #: guix-git/doc/guix.texi:31749
  46972. 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."
  46973. msgstr ""
  46974. #. type: deftypevr
  46975. #: guix-git/doc/guix.texi:31754
  46976. #, no-wrap
  46977. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  46978. msgstr ""
  46979. #. type: deftypevr
  46980. #: guix-git/doc/guix.texi:31757
  46981. msgid "Specifies a command that will be invoked for authenticating repository access."
  46982. msgstr ""
  46983. #. type: deftypevr
  46984. #: guix-git/doc/guix.texi:31762
  46985. #, no-wrap
  46986. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  46987. msgstr ""
  46988. #. type: deftypevr
  46989. #: guix-git/doc/guix.texi:31765
  46990. 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."
  46991. msgstr ""
  46992. #. type: deftypevr
  46993. #: guix-git/doc/guix.texi:31767
  46994. msgid "Defaults to @samp{\"name\"}."
  46995. msgstr ""
  46996. #. type: deftypevr
  46997. #: guix-git/doc/guix.texi:31770
  46998. #, no-wrap
  46999. msgid "{@code{cgit-configuration} parameter} string cache-root"
  47000. msgstr ""
  47001. #. type: deftypevr
  47002. #: guix-git/doc/guix.texi:31772
  47003. msgid "Path used to store the cgit cache entries."
  47004. msgstr ""
  47005. #. type: deftypevr
  47006. #: guix-git/doc/guix.texi:31774
  47007. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  47008. msgstr ""
  47009. #. type: deftypevr
  47010. #: guix-git/doc/guix.texi:31777
  47011. #, no-wrap
  47012. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  47013. msgstr ""
  47014. #. type: deftypevr
  47015. #: guix-git/doc/guix.texi:31780
  47016. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  47017. msgstr ""
  47018. #. type: deftypevr
  47019. #: guix-git/doc/guix.texi:31782 guix-git/doc/guix.texi:32225
  47020. msgid "Defaults to @samp{-1}."
  47021. msgstr ""
  47022. #. type: deftypevr
  47023. #: guix-git/doc/guix.texi:31785
  47024. #, no-wrap
  47025. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  47026. msgstr ""
  47027. #. type: deftypevr
  47028. #: guix-git/doc/guix.texi:31788
  47029. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  47030. msgstr ""
  47031. #. type: deftypevr
  47032. #: guix-git/doc/guix.texi:31793
  47033. #, no-wrap
  47034. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  47035. msgstr ""
  47036. #. type: deftypevr
  47037. #: guix-git/doc/guix.texi:31796
  47038. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  47039. msgstr ""
  47040. #. type: deftypevr
  47041. #: guix-git/doc/guix.texi:31801
  47042. #, no-wrap
  47043. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  47044. msgstr ""
  47045. #. type: deftypevr
  47046. #: guix-git/doc/guix.texi:31804
  47047. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  47048. msgstr ""
  47049. #. type: deftypevr
  47050. #: guix-git/doc/guix.texi:31809
  47051. #, no-wrap
  47052. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  47053. msgstr ""
  47054. #. type: deftypevr
  47055. #: guix-git/doc/guix.texi:31812
  47056. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  47057. msgstr ""
  47058. #. type: deftypevr
  47059. #: guix-git/doc/guix.texi:31817
  47060. #, no-wrap
  47061. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  47062. msgstr ""
  47063. #. type: deftypevr
  47064. #: guix-git/doc/guix.texi:31820
  47065. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  47066. msgstr ""
  47067. #. type: deftypevr
  47068. #: guix-git/doc/guix.texi:31825
  47069. #, no-wrap
  47070. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  47071. msgstr ""
  47072. #. type: deftypevr
  47073. #: guix-git/doc/guix.texi:31828
  47074. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  47075. msgstr ""
  47076. #. type: deftypevr
  47077. #: guix-git/doc/guix.texi:31833
  47078. #, no-wrap
  47079. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  47080. msgstr ""
  47081. #. type: deftypevr
  47082. #: guix-git/doc/guix.texi:31836
  47083. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  47084. msgstr ""
  47085. #. type: deftypevr
  47086. #: guix-git/doc/guix.texi:31841
  47087. #, no-wrap
  47088. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  47089. msgstr ""
  47090. #. type: deftypevr
  47091. #: guix-git/doc/guix.texi:31843
  47092. msgid "Sort items in the repo list case sensitively."
  47093. msgstr ""
  47094. #. type: deftypevr
  47095. #: guix-git/doc/guix.texi:31848
  47096. #, no-wrap
  47097. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  47098. msgstr ""
  47099. #. type: deftypevr
  47100. #: guix-git/doc/guix.texi:31851
  47101. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  47102. msgstr ""
  47103. #. type: deftypevr
  47104. #: guix-git/doc/guix.texi:31856
  47105. #, no-wrap
  47106. msgid "{@code{cgit-configuration} parameter} list clone-url"
  47107. msgstr ""
  47108. #. type: deftypevr
  47109. #: guix-git/doc/guix.texi:31858
  47110. msgid "List of @code{clone-url} templates."
  47111. msgstr ""
  47112. #. type: deftypevr
  47113. #: guix-git/doc/guix.texi:31863
  47114. #, no-wrap
  47115. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  47116. msgstr ""
  47117. #. type: deftypevr
  47118. #: guix-git/doc/guix.texi:31865
  47119. msgid "Command which will be invoked to format commit messages."
  47120. msgstr ""
  47121. #. type: deftypevr
  47122. #: guix-git/doc/guix.texi:31870
  47123. #, no-wrap
  47124. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  47125. msgstr ""
  47126. #. type: deftypevr
  47127. #: guix-git/doc/guix.texi:31874 guix-git/doc/guix.texi:32432
  47128. 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."
  47129. msgstr ""
  47130. #. type: deftypevr
  47131. #: guix-git/doc/guix.texi:31876
  47132. msgid "Defaults to @samp{\"git log\"}."
  47133. msgstr ""
  47134. #. type: deftypevr
  47135. #: guix-git/doc/guix.texi:31879
  47136. #, no-wrap
  47137. msgid "{@code{cgit-configuration} parameter} file-object css"
  47138. msgstr ""
  47139. #. type: deftypevr
  47140. #: guix-git/doc/guix.texi:31881
  47141. msgid "URL which specifies the css document to include in all cgit pages."
  47142. msgstr ""
  47143. #. type: deftypevr
  47144. #: guix-git/doc/guix.texi:31883
  47145. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  47146. msgstr ""
  47147. #. type: deftypevr
  47148. #: guix-git/doc/guix.texi:31886
  47149. #, no-wrap
  47150. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  47151. msgstr ""
  47152. #. type: deftypevr
  47153. #: guix-git/doc/guix.texi:31890
  47154. 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."
  47155. msgstr ""
  47156. #. type: deftypevr
  47157. #: guix-git/doc/guix.texi:31895
  47158. #, no-wrap
  47159. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  47160. msgstr ""
  47161. #. type: deftypevr
  47162. #: guix-git/doc/guix.texi:31898
  47163. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  47164. msgstr ""
  47165. #. type: deftypevr
  47166. #: guix-git/doc/guix.texi:31903
  47167. #, no-wrap
  47168. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  47169. msgstr ""
  47170. #. type: deftypevr
  47171. #: guix-git/doc/guix.texi:31907
  47172. 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."
  47173. msgstr ""
  47174. #. type: deftypevr
  47175. #: guix-git/doc/guix.texi:31912
  47176. #, no-wrap
  47177. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  47178. msgstr ""
  47179. #. type: deftypevr
  47180. #: guix-git/doc/guix.texi:31915
  47181. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  47182. msgstr ""
  47183. #. type: deftypevr
  47184. #: guix-git/doc/guix.texi:31920
  47185. #, no-wrap
  47186. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  47187. msgstr ""
  47188. #. type: deftypevr
  47189. #: guix-git/doc/guix.texi:31923
  47190. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  47191. msgstr ""
  47192. #. type: deftypevr
  47193. #: guix-git/doc/guix.texi:31928
  47194. #, no-wrap
  47195. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  47196. msgstr ""
  47197. #. type: deftypevr
  47198. #: guix-git/doc/guix.texi:31931
  47199. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  47200. msgstr ""
  47201. #. type: deftypevr
  47202. #: guix-git/doc/guix.texi:31936
  47203. #, no-wrap
  47204. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  47205. msgstr ""
  47206. #. type: deftypevr
  47207. #: guix-git/doc/guix.texi:31939
  47208. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  47209. msgstr ""
  47210. #. type: deftypevr
  47211. #: guix-git/doc/guix.texi:31944
  47212. #, no-wrap
  47213. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  47214. msgstr ""
  47215. #. type: deftypevr
  47216. #: guix-git/doc/guix.texi:31947
  47217. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  47218. msgstr ""
  47219. #. type: deftypevr
  47220. #: guix-git/doc/guix.texi:31952
  47221. #, no-wrap
  47222. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  47223. msgstr ""
  47224. #. type: deftypevr
  47225. #: guix-git/doc/guix.texi:31955
  47226. 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."
  47227. msgstr ""
  47228. #. type: deftypevr
  47229. #: guix-git/doc/guix.texi:31960
  47230. #, no-wrap
  47231. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  47232. msgstr ""
  47233. #. type: deftypevr
  47234. #: guix-git/doc/guix.texi:31963
  47235. 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."
  47236. msgstr ""
  47237. #. type: deftypevr
  47238. #: guix-git/doc/guix.texi:31968
  47239. #, no-wrap
  47240. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  47241. msgstr ""
  47242. #. type: deftypevr
  47243. #: guix-git/doc/guix.texi:31971 guix-git/doc/guix.texi:32495
  47244. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  47245. msgstr ""
  47246. #. type: deftypevr
  47247. #: guix-git/doc/guix.texi:31976
  47248. #, no-wrap
  47249. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  47250. msgstr ""
  47251. #. type: deftypevr
  47252. #: guix-git/doc/guix.texi:31980
  47253. 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."
  47254. msgstr ""
  47255. #. type: deftypevr
  47256. #: guix-git/doc/guix.texi:31985
  47257. #, no-wrap
  47258. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  47259. msgstr ""
  47260. #. type: deftypevr
  47261. #: guix-git/doc/guix.texi:31989
  47262. 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."
  47263. msgstr ""
  47264. #. type: deftypevr
  47265. #: guix-git/doc/guix.texi:31994
  47266. #, no-wrap
  47267. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  47268. msgstr ""
  47269. #. type: deftypevr
  47270. #: guix-git/doc/guix.texi:31997
  47271. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  47272. msgstr ""
  47273. #. type: deftypevr
  47274. #: guix-git/doc/guix.texi:32002
  47275. #, no-wrap
  47276. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  47277. msgstr ""
  47278. #. type: deftypevr
  47279. #: guix-git/doc/guix.texi:32005
  47280. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  47281. msgstr ""
  47282. #. type: deftypevr
  47283. #: guix-git/doc/guix.texi:32010
  47284. #, no-wrap
  47285. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  47286. msgstr ""
  47287. #. type: deftypevr
  47288. #: guix-git/doc/guix.texi:32012
  47289. msgid "URL used as link to a shortcut icon for cgit."
  47290. msgstr ""
  47291. #. type: deftypevr
  47292. #: guix-git/doc/guix.texi:32014
  47293. msgid "Defaults to @samp{\"/favicon.ico\"}."
  47294. msgstr ""
  47295. #. type: deftypevr
  47296. #: guix-git/doc/guix.texi:32017
  47297. #, no-wrap
  47298. msgid "{@code{cgit-configuration} parameter} string footer"
  47299. msgstr ""
  47300. #. type: deftypevr
  47301. #: guix-git/doc/guix.texi:32021
  47302. 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)."
  47303. msgstr ""
  47304. #. type: deftypevr
  47305. #: guix-git/doc/guix.texi:32026
  47306. #, no-wrap
  47307. msgid "{@code{cgit-configuration} parameter} string head-include"
  47308. msgstr ""
  47309. #. type: deftypevr
  47310. #: guix-git/doc/guix.texi:32029
  47311. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  47312. msgstr ""
  47313. #. type: deftypevr
  47314. #: guix-git/doc/guix.texi:32034
  47315. #, no-wrap
  47316. msgid "{@code{cgit-configuration} parameter} string header"
  47317. msgstr ""
  47318. #. type: deftypevr
  47319. #: guix-git/doc/guix.texi:32037
  47320. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  47321. msgstr ""
  47322. #. type: deftypevr
  47323. #: guix-git/doc/guix.texi:32042
  47324. #, no-wrap
  47325. msgid "{@code{cgit-configuration} parameter} file-object include"
  47326. msgstr ""
  47327. #. type: deftypevr
  47328. #: guix-git/doc/guix.texi:32045
  47329. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  47330. msgstr ""
  47331. #. type: deftypevr
  47332. #: guix-git/doc/guix.texi:32050
  47333. #, no-wrap
  47334. msgid "{@code{cgit-configuration} parameter} string index-header"
  47335. msgstr ""
  47336. #. type: deftypevr
  47337. #: guix-git/doc/guix.texi:32053
  47338. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  47339. msgstr ""
  47340. #. type: deftypevr
  47341. #: guix-git/doc/guix.texi:32058
  47342. #, no-wrap
  47343. msgid "{@code{cgit-configuration} parameter} string index-info"
  47344. msgstr ""
  47345. #. type: deftypevr
  47346. #: guix-git/doc/guix.texi:32061
  47347. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  47348. msgstr ""
  47349. #. type: deftypevr
  47350. #: guix-git/doc/guix.texi:32066
  47351. #, no-wrap
  47352. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  47353. msgstr ""
  47354. #. type: deftypevr
  47355. #: guix-git/doc/guix.texi:32069
  47356. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  47357. msgstr ""
  47358. #. type: deftypevr
  47359. #: guix-git/doc/guix.texi:32074
  47360. #, no-wrap
  47361. msgid "{@code{cgit-configuration} parameter} file-object logo"
  47362. msgstr ""
  47363. #. type: deftypevr
  47364. #: guix-git/doc/guix.texi:32077
  47365. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  47366. msgstr ""
  47367. #. type: deftypevr
  47368. #: guix-git/doc/guix.texi:32079
  47369. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  47370. msgstr ""
  47371. #. type: deftypevr
  47372. #: guix-git/doc/guix.texi:32082
  47373. #, no-wrap
  47374. msgid "{@code{cgit-configuration} parameter} string logo-link"
  47375. msgstr ""
  47376. #. type: deftypevr
  47377. #: guix-git/doc/guix.texi:32084 guix-git/doc/guix.texi:32541
  47378. msgid "URL loaded when clicking on the cgit logo image."
  47379. msgstr ""
  47380. #. type: deftypevr
  47381. #: guix-git/doc/guix.texi:32089
  47382. #, no-wrap
  47383. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  47384. msgstr ""
  47385. #. type: deftypevr
  47386. #: guix-git/doc/guix.texi:32092
  47387. msgid "Command which will be invoked to format the Owner column of the main page."
  47388. msgstr ""
  47389. #. type: deftypevr
  47390. #: guix-git/doc/guix.texi:32097
  47391. #, no-wrap
  47392. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  47393. msgstr ""
  47394. #. type: deftypevr
  47395. #: guix-git/doc/guix.texi:32099
  47396. msgid "Number of items to display in atom feeds view."
  47397. msgstr ""
  47398. #. type: deftypevr
  47399. #: guix-git/doc/guix.texi:32104
  47400. #, no-wrap
  47401. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  47402. msgstr ""
  47403. #. type: deftypevr
  47404. #: guix-git/doc/guix.texi:32106
  47405. msgid "Number of entries to list per page in \"log\" view."
  47406. msgstr ""
  47407. #. type: deftypevr
  47408. #: guix-git/doc/guix.texi:32111
  47409. #, no-wrap
  47410. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  47411. msgstr ""
  47412. #. type: deftypevr
  47413. #: guix-git/doc/guix.texi:32113
  47414. msgid "Number of commit message characters to display in \"log\" view."
  47415. msgstr ""
  47416. #. type: deftypevr
  47417. #: guix-git/doc/guix.texi:32115 guix-git/doc/guix.texi:32131
  47418. msgid "Defaults to @samp{80}."
  47419. msgstr ""
  47420. #. type: deftypevr
  47421. #: guix-git/doc/guix.texi:32118
  47422. #, no-wrap
  47423. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  47424. msgstr ""
  47425. #. type: deftypevr
  47426. #: guix-git/doc/guix.texi:32121
  47427. msgid "Specifies the number of entries to list per page on the repository index page."
  47428. msgstr ""
  47429. #. type: deftypevr
  47430. #: guix-git/doc/guix.texi:32126
  47431. #, no-wrap
  47432. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  47433. msgstr ""
  47434. #. type: deftypevr
  47435. #: guix-git/doc/guix.texi:32129
  47436. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  47437. msgstr ""
  47438. #. type: deftypevr
  47439. #: guix-git/doc/guix.texi:32134
  47440. #, no-wrap
  47441. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  47442. msgstr ""
  47443. #. type: deftypevr
  47444. #: guix-git/doc/guix.texi:32136
  47445. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  47446. msgstr ""
  47447. #. type: deftypevr
  47448. #: guix-git/doc/guix.texi:32141
  47449. #, no-wrap
  47450. msgid "{@code{cgit-configuration} parameter} string max-stats"
  47451. msgstr ""
  47452. #. type: deftypevr
  47453. #: guix-git/doc/guix.texi:32144
  47454. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  47455. msgstr ""
  47456. #. type: deftypevr
  47457. #: guix-git/doc/guix.texi:32149
  47458. #, no-wrap
  47459. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  47460. msgstr ""
  47461. #. type: deftypevr
  47462. #: guix-git/doc/guix.texi:32151
  47463. msgid "Mimetype for the specified filename extension."
  47464. msgstr ""
  47465. #. type: deftypevr
  47466. #: guix-git/doc/guix.texi:32155
  47467. 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\"))}."
  47468. msgstr ""
  47469. #. type: deftypevr
  47470. #: guix-git/doc/guix.texi:32158
  47471. #, no-wrap
  47472. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  47473. msgstr ""
  47474. #. type: deftypevr
  47475. #: guix-git/doc/guix.texi:32160
  47476. msgid "Specifies the file to use for automatic mimetype lookup."
  47477. msgstr ""
  47478. #. type: deftypevr
  47479. #: guix-git/doc/guix.texi:32165
  47480. #, no-wrap
  47481. msgid "{@code{cgit-configuration} parameter} string module-link"
  47482. msgstr ""
  47483. #. type: deftypevr
  47484. #: guix-git/doc/guix.texi:32168
  47485. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  47486. msgstr ""
  47487. #. type: deftypevr
  47488. #: guix-git/doc/guix.texi:32173
  47489. #, no-wrap
  47490. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  47491. msgstr ""
  47492. #. type: deftypevr
  47493. #: guix-git/doc/guix.texi:32175
  47494. msgid "If set to the value @samp{#t} caching will be disabled."
  47495. msgstr ""
  47496. #. type: deftypevr
  47497. #: guix-git/doc/guix.texi:32180
  47498. #, no-wrap
  47499. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  47500. msgstr ""
  47501. #. type: deftypevr
  47502. #: guix-git/doc/guix.texi:32183
  47503. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  47504. msgstr ""
  47505. #. type: deftypevr
  47506. #: guix-git/doc/guix.texi:32188
  47507. #, no-wrap
  47508. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  47509. msgstr ""
  47510. #. type: deftypevr
  47511. #: guix-git/doc/guix.texi:32191
  47512. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  47513. msgstr ""
  47514. #. type: deftypevr
  47515. #: guix-git/doc/guix.texi:32196
  47516. #, no-wrap
  47517. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  47518. msgstr ""
  47519. #. type: deftypevr
  47520. #: guix-git/doc/guix.texi:32200
  47521. 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."
  47522. msgstr ""
  47523. #. type: deftypevr
  47524. #: guix-git/doc/guix.texi:32205
  47525. #, no-wrap
  47526. msgid "{@code{cgit-configuration} parameter} file-object readme"
  47527. msgstr ""
  47528. #. type: deftypevr
  47529. #: guix-git/doc/guix.texi:32207
  47530. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  47531. msgstr ""
  47532. #. type: deftypevr
  47533. #: guix-git/doc/guix.texi:32212
  47534. #, no-wrap
  47535. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  47536. msgstr ""
  47537. #. type: deftypevr
  47538. #: guix-git/doc/guix.texi:32216
  47539. 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."
  47540. msgstr ""
  47541. #. type: deftypevr
  47542. #: guix-git/doc/guix.texi:32221
  47543. #, no-wrap
  47544. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  47545. msgstr ""
  47546. #. type: deftypevr
  47547. #: guix-git/doc/guix.texi:32223
  47548. msgid "Maximum number of files to consider when detecting renames."
  47549. msgstr ""
  47550. #. type: deftypevr
  47551. #: guix-git/doc/guix.texi:32228
  47552. #, no-wrap
  47553. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  47554. msgstr ""
  47555. #. type: deftypevr
  47556. #: guix-git/doc/guix.texi:32230
  47557. msgid "The way in which repositories in each section are sorted."
  47558. msgstr ""
  47559. #. type: deftypevr
  47560. #: guix-git/doc/guix.texi:32235
  47561. #, no-wrap
  47562. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  47563. msgstr ""
  47564. #. type: deftypevr
  47565. #: guix-git/doc/guix.texi:32237
  47566. msgid "Text used as content for the @code{robots} meta-tag."
  47567. msgstr ""
  47568. #. type: deftypevr
  47569. #: guix-git/doc/guix.texi:32239
  47570. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  47571. msgstr ""
  47572. #. type: deftypevr
  47573. #: guix-git/doc/guix.texi:32242
  47574. #, no-wrap
  47575. msgid "{@code{cgit-configuration} parameter} string root-desc"
  47576. msgstr ""
  47577. #. type: deftypevr
  47578. #: guix-git/doc/guix.texi:32244
  47579. msgid "Text printed below the heading on the repository index page."
  47580. msgstr ""
  47581. #. type: deftypevr
  47582. #: guix-git/doc/guix.texi:32246
  47583. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  47584. msgstr ""
  47585. #. type: deftypevr
  47586. #: guix-git/doc/guix.texi:32249
  47587. #, no-wrap
  47588. msgid "{@code{cgit-configuration} parameter} string root-readme"
  47589. msgstr ""
  47590. #. type: deftypevr
  47591. #: guix-git/doc/guix.texi:32252
  47592. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  47593. msgstr ""
  47594. #. type: deftypevr
  47595. #: guix-git/doc/guix.texi:32257
  47596. #, no-wrap
  47597. msgid "{@code{cgit-configuration} parameter} string root-title"
  47598. msgstr ""
  47599. #. type: deftypevr
  47600. #: guix-git/doc/guix.texi:32259
  47601. msgid "Text printed as heading on the repository index page."
  47602. msgstr ""
  47603. #. type: deftypevr
  47604. #: guix-git/doc/guix.texi:32264
  47605. #, no-wrap
  47606. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  47607. msgstr ""
  47608. #. type: deftypevr
  47609. #: guix-git/doc/guix.texi:32270
  47610. 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."
  47611. msgstr ""
  47612. #. type: deftypevr
  47613. #: guix-git/doc/guix.texi:32275
  47614. #, no-wrap
  47615. msgid "{@code{cgit-configuration} parameter} list snapshots"
  47616. msgstr ""
  47617. #. type: deftypevr
  47618. #: guix-git/doc/guix.texi:32278
  47619. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  47620. msgstr ""
  47621. #. type: deftypevr
  47622. #: guix-git/doc/guix.texi:32283
  47623. #, no-wrap
  47624. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  47625. msgstr ""
  47626. #. type: deftypevr
  47627. #: guix-git/doc/guix.texi:32286
  47628. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  47629. msgstr ""
  47630. #. type: deftypevr
  47631. #: guix-git/doc/guix.texi:32288
  47632. msgid "Defaults to @samp{\"/srv/git\"}."
  47633. msgstr ""
  47634. #. type: deftypevr
  47635. #: guix-git/doc/guix.texi:32291
  47636. #, no-wrap
  47637. msgid "{@code{cgit-configuration} parameter} string section"
  47638. msgstr ""
  47639. #. type: deftypevr
  47640. #: guix-git/doc/guix.texi:32294 guix-git/doc/guix.texi:32610
  47641. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  47642. msgstr ""
  47643. #. type: deftypevr
  47644. #: guix-git/doc/guix.texi:32299
  47645. #, no-wrap
  47646. msgid "{@code{cgit-configuration} parameter} string section-sort"
  47647. msgstr ""
  47648. #. type: deftypevr
  47649. #: guix-git/doc/guix.texi:32302
  47650. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  47651. msgstr ""
  47652. #. type: deftypevr
  47653. #: guix-git/doc/guix.texi:32307
  47654. #, no-wrap
  47655. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  47656. msgstr ""
  47657. #. type: deftypevr
  47658. #: guix-git/doc/guix.texi:32310
  47659. 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."
  47660. msgstr ""
  47661. #. type: deftypevr
  47662. #: guix-git/doc/guix.texi:32315
  47663. #, no-wrap
  47664. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  47665. msgstr ""
  47666. #. type: deftypevr
  47667. #: guix-git/doc/guix.texi:32318
  47668. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  47669. msgstr ""
  47670. #. type: deftypevr
  47671. #: guix-git/doc/guix.texi:32323
  47672. #, no-wrap
  47673. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  47674. msgstr ""
  47675. #. type: deftypevr
  47676. #: guix-git/doc/guix.texi:32326
  47677. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  47678. msgstr ""
  47679. #. type: deftypevr
  47680. #: guix-git/doc/guix.texi:32331
  47681. #, no-wrap
  47682. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  47683. msgstr ""
  47684. #. type: deftypevr
  47685. #: guix-git/doc/guix.texi:32334
  47686. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  47687. msgstr ""
  47688. #. type: deftypevr
  47689. #: guix-git/doc/guix.texi:32339
  47690. #, no-wrap
  47691. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  47692. msgstr ""
  47693. #. type: deftypevr
  47694. #: guix-git/doc/guix.texi:32342
  47695. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  47696. msgstr ""
  47697. #. type: deftypevr
  47698. #: guix-git/doc/guix.texi:32347
  47699. #, no-wrap
  47700. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  47701. msgstr ""
  47702. #. type: deftypevr
  47703. #: guix-git/doc/guix.texi:32350
  47704. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  47705. msgstr ""
  47706. #. type: deftypevr
  47707. #: guix-git/doc/guix.texi:32355
  47708. #, no-wrap
  47709. msgid "{@code{cgit-configuration} parameter} string strict-export"
  47710. msgstr ""
  47711. #. type: deftypevr
  47712. #: guix-git/doc/guix.texi:32358
  47713. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  47714. msgstr ""
  47715. #. type: deftypevr
  47716. #: guix-git/doc/guix.texi:32363
  47717. #, no-wrap
  47718. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  47719. msgstr ""
  47720. #. type: deftypevr
  47721. #: guix-git/doc/guix.texi:32365
  47722. msgid "URL which, if specified, will be used as root for all cgit links."
  47723. msgstr ""
  47724. #. type: deftypevr
  47725. #: guix-git/doc/guix.texi:32367
  47726. msgid "Defaults to @samp{\"/\"}."
  47727. msgstr ""
  47728. #. type: deftypevr
  47729. #: guix-git/doc/guix.texi:32370
  47730. #, no-wrap
  47731. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  47732. msgstr ""
  47733. #. type: deftypevr
  47734. #: guix-git/doc/guix.texi:32372
  47735. msgid "A list of @dfn{cgit-repo} records to use with config."
  47736. msgstr ""
  47737. #. type: deftypevr
  47738. #: guix-git/doc/guix.texi:32376
  47739. msgid "Available @code{repository-cgit-configuration} fields are:"
  47740. msgstr ""
  47741. #. type: deftypevr
  47742. #: guix-git/doc/guix.texi:32377
  47743. #, no-wrap
  47744. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  47745. msgstr ""
  47746. #. type: deftypevr
  47747. #: guix-git/doc/guix.texi:32380
  47748. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  47749. msgstr ""
  47750. #. type: deftypevr
  47751. #: guix-git/doc/guix.texi:32385
  47752. #, no-wrap
  47753. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  47754. msgstr ""
  47755. #. type: deftypevr
  47756. #: guix-git/doc/guix.texi:32387
  47757. msgid "Override the default @code{source-filter}."
  47758. msgstr ""
  47759. #. type: deftypevr
  47760. #: guix-git/doc/guix.texi:32392
  47761. #, no-wrap
  47762. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  47763. msgstr ""
  47764. #. type: deftypevr
  47765. #: guix-git/doc/guix.texi:32394
  47766. msgid "The relative URL used to access the repository."
  47767. msgstr ""
  47768. #. type: deftypevr
  47769. #: guix-git/doc/guix.texi:32399
  47770. #, no-wrap
  47771. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  47772. msgstr ""
  47773. #. type: deftypevr
  47774. #: guix-git/doc/guix.texi:32401
  47775. msgid "Override the default @code{about-filter}."
  47776. msgstr ""
  47777. #. type: deftypevr
  47778. #: guix-git/doc/guix.texi:32406
  47779. #, no-wrap
  47780. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  47781. msgstr ""
  47782. #. type: deftypevr
  47783. #: guix-git/doc/guix.texi:32409
  47784. 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."
  47785. msgstr ""
  47786. #. type: deftypevr
  47787. #: guix-git/doc/guix.texi:32414
  47788. #, no-wrap
  47789. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  47790. msgstr ""
  47791. #. type: deftypevr
  47792. #: guix-git/doc/guix.texi:32416
  47793. msgid "A list of URLs which can be used to clone repo."
  47794. msgstr ""
  47795. #. type: deftypevr
  47796. #: guix-git/doc/guix.texi:32421
  47797. #, no-wrap
  47798. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  47799. msgstr ""
  47800. #. type: deftypevr
  47801. #: guix-git/doc/guix.texi:32423
  47802. msgid "Override the default @code{commit-filter}."
  47803. msgstr ""
  47804. #. type: deftypevr
  47805. #: guix-git/doc/guix.texi:32428
  47806. #, no-wrap
  47807. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  47808. msgstr ""
  47809. #. type: deftypevr
  47810. #: guix-git/doc/guix.texi:32437
  47811. #, no-wrap
  47812. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  47813. msgstr ""
  47814. #. type: deftypevr
  47815. #: guix-git/doc/guix.texi:32442
  47816. 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."
  47817. msgstr ""
  47818. #. type: deftypevr
  47819. #: guix-git/doc/guix.texi:32447
  47820. #, no-wrap
  47821. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  47822. msgstr ""
  47823. #. type: deftypevr
  47824. #: guix-git/doc/guix.texi:32449
  47825. msgid "The value to show as repository description."
  47826. msgstr ""
  47827. #. type: deftypevr
  47828. #: guix-git/doc/guix.texi:32454
  47829. #, no-wrap
  47830. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  47831. msgstr ""
  47832. #. type: deftypevr
  47833. #: guix-git/doc/guix.texi:32456
  47834. msgid "The value to show as repository homepage."
  47835. msgstr ""
  47836. #. type: deftypevr
  47837. #: guix-git/doc/guix.texi:32461
  47838. #, no-wrap
  47839. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  47840. msgstr ""
  47841. #. type: deftypevr
  47842. #: guix-git/doc/guix.texi:32463
  47843. msgid "Override the default @code{email-filter}."
  47844. msgstr ""
  47845. #. type: deftypevr
  47846. #: guix-git/doc/guix.texi:32468
  47847. #, no-wrap
  47848. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  47849. msgstr ""
  47850. #. type: deftypevr
  47851. #: guix-git/doc/guix.texi:32471
  47852. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  47853. msgstr ""
  47854. #. type: deftypevr
  47855. #: guix-git/doc/guix.texi:32476
  47856. #, no-wrap
  47857. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  47858. msgstr ""
  47859. #. type: deftypevr
  47860. #: guix-git/doc/guix.texi:32479
  47861. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  47862. msgstr ""
  47863. #. type: deftypevr
  47864. #: guix-git/doc/guix.texi:32484
  47865. #, no-wrap
  47866. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  47867. msgstr ""
  47868. #. type: deftypevr
  47869. #: guix-git/doc/guix.texi:32487
  47870. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  47871. msgstr ""
  47872. #. type: deftypevr
  47873. #: guix-git/doc/guix.texi:32492
  47874. #, no-wrap
  47875. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  47876. msgstr ""
  47877. #. type: deftypevr
  47878. #: guix-git/doc/guix.texi:32500
  47879. #, no-wrap
  47880. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  47881. msgstr ""
  47882. #. type: deftypevr
  47883. #: guix-git/doc/guix.texi:32503
  47884. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  47885. msgstr ""
  47886. #. type: deftypevr
  47887. #: guix-git/doc/guix.texi:32508
  47888. #, no-wrap
  47889. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  47890. msgstr ""
  47891. #. type: deftypevr
  47892. #: guix-git/doc/guix.texi:32511
  47893. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  47894. msgstr ""
  47895. #. type: deftypevr
  47896. #: guix-git/doc/guix.texi:32516
  47897. #, no-wrap
  47898. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  47899. msgstr ""
  47900. #. type: deftypevr
  47901. #: guix-git/doc/guix.texi:32519
  47902. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  47903. msgstr ""
  47904. #. type: deftypevr
  47905. #: guix-git/doc/guix.texi:32524
  47906. #, no-wrap
  47907. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  47908. msgstr ""
  47909. #. type: deftypevr
  47910. #: guix-git/doc/guix.texi:32526
  47911. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  47912. msgstr ""
  47913. #. type: deftypevr
  47914. #: guix-git/doc/guix.texi:32531
  47915. #, no-wrap
  47916. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  47917. msgstr ""
  47918. #. type: deftypevr
  47919. #: guix-git/doc/guix.texi:32534
  47920. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  47921. msgstr ""
  47922. #. type: deftypevr
  47923. #: guix-git/doc/guix.texi:32539
  47924. #, no-wrap
  47925. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  47926. msgstr ""
  47927. #. type: deftypevr
  47928. #: guix-git/doc/guix.texi:32546
  47929. #, no-wrap
  47930. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  47931. msgstr ""
  47932. #. type: deftypevr
  47933. #: guix-git/doc/guix.texi:32548
  47934. msgid "Override the default @code{owner-filter}."
  47935. msgstr ""
  47936. #. type: deftypevr
  47937. #: guix-git/doc/guix.texi:32553
  47938. #, no-wrap
  47939. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  47940. msgstr ""
  47941. #. type: deftypevr
  47942. #: guix-git/doc/guix.texi:32557
  47943. 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."
  47944. msgstr ""
  47945. #. type: deftypevr
  47946. #: guix-git/doc/guix.texi:32562
  47947. #, no-wrap
  47948. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  47949. msgstr ""
  47950. #. type: deftypevr
  47951. #: guix-git/doc/guix.texi:32566
  47952. 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."
  47953. msgstr ""
  47954. #. type: deftypevr
  47955. #: guix-git/doc/guix.texi:32571
  47956. #, no-wrap
  47957. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  47958. msgstr ""
  47959. #. type: deftypevr
  47960. #: guix-git/doc/guix.texi:32573
  47961. msgid "Override the default maximum statistics period."
  47962. msgstr ""
  47963. #. type: deftypevr
  47964. #: guix-git/doc/guix.texi:32578
  47965. #, no-wrap
  47966. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  47967. msgstr ""
  47968. #. type: deftypevr
  47969. #: guix-git/doc/guix.texi:32580
  47970. msgid "The value to show as repository name."
  47971. msgstr ""
  47972. #. type: deftypevr
  47973. #: guix-git/doc/guix.texi:32585
  47974. #, no-wrap
  47975. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  47976. msgstr ""
  47977. #. type: deftypevr
  47978. #: guix-git/doc/guix.texi:32587
  47979. msgid "A value used to identify the owner of the repository."
  47980. msgstr ""
  47981. #. type: deftypevr
  47982. #: guix-git/doc/guix.texi:32592
  47983. #, no-wrap
  47984. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  47985. msgstr ""
  47986. #. type: deftypevr
  47987. #: guix-git/doc/guix.texi:32594
  47988. msgid "An absolute path to the repository directory."
  47989. msgstr ""
  47990. #. type: deftypevr
  47991. #: guix-git/doc/guix.texi:32599
  47992. #, no-wrap
  47993. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  47994. msgstr ""
  47995. #. type: deftypevr
  47996. #: guix-git/doc/guix.texi:32602
  47997. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  47998. msgstr ""
  47999. #. type: deftypevr
  48000. #: guix-git/doc/guix.texi:32607
  48001. #, no-wrap
  48002. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  48003. msgstr ""
  48004. #. type: deftypevr
  48005. #: guix-git/doc/guix.texi:32615
  48006. #, no-wrap
  48007. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  48008. msgstr ""
  48009. #. type: deftypevr
  48010. #: guix-git/doc/guix.texi:32617 guix-git/doc/guix.texi:32626
  48011. msgid "Extra options will be appended to cgitrc file."
  48012. msgstr ""
  48013. #. type: deftypevr
  48014. #: guix-git/doc/guix.texi:32624
  48015. #, no-wrap
  48016. msgid "{@code{cgit-configuration} parameter} list extra-options"
  48017. msgstr ""
  48018. #. type: Plain text
  48019. #: guix-git/doc/guix.texi:32638
  48020. 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."
  48021. msgstr ""
  48022. #. type: Plain text
  48023. #: guix-git/doc/guix.texi:32640
  48024. msgid "Available @code{opaque-cgit-configuration} fields are:"
  48025. msgstr ""
  48026. #. type: deftypevr
  48027. #: guix-git/doc/guix.texi:32641
  48028. #, no-wrap
  48029. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  48030. msgstr ""
  48031. #. type: deftypevr
  48032. #: guix-git/doc/guix.texi:32643
  48033. msgid "The cgit package."
  48034. msgstr ""
  48035. #. type: deftypevr
  48036. #: guix-git/doc/guix.texi:32645
  48037. #, no-wrap
  48038. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  48039. msgstr ""
  48040. #. type: deftypevr
  48041. #: guix-git/doc/guix.texi:32647
  48042. msgid "The contents of the @code{cgitrc}, as a string."
  48043. msgstr ""
  48044. #. type: Plain text
  48045. #: guix-git/doc/guix.texi:32651
  48046. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  48047. msgstr ""
  48048. #. type: lisp
  48049. #: guix-git/doc/guix.texi:32656
  48050. #, no-wrap
  48051. msgid ""
  48052. "(service cgit-service-type\n"
  48053. " (opaque-cgit-configuration\n"
  48054. " (cgitrc \"\")))\n"
  48055. msgstr ""
  48056. #. type: subsubheading
  48057. #: guix-git/doc/guix.texi:32658
  48058. #, no-wrap
  48059. msgid "Gitolite Service"
  48060. msgstr ""
  48061. #. type: cindex
  48062. #: guix-git/doc/guix.texi:32660
  48063. #, no-wrap
  48064. msgid "Gitolite service"
  48065. msgstr ""
  48066. #. type: cindex
  48067. #: guix-git/doc/guix.texi:32661
  48068. #, no-wrap
  48069. msgid "Git, hosting"
  48070. msgstr ""
  48071. #. type: Plain text
  48072. #: guix-git/doc/guix.texi:32664
  48073. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  48074. msgstr ""
  48075. #. type: Plain text
  48076. #: guix-git/doc/guix.texi:32667
  48077. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  48078. msgstr ""
  48079. #. type: Plain text
  48080. #: guix-git/doc/guix.texi:32670
  48081. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  48082. msgstr ""
  48083. #. type: lisp
  48084. #: guix-git/doc/guix.texi:32677
  48085. #, no-wrap
  48086. msgid ""
  48087. "(service gitolite-service-type\n"
  48088. " (gitolite-configuration\n"
  48089. " (admin-pubkey (plain-file\n"
  48090. " \"yourname.pub\"\n"
  48091. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  48092. msgstr ""
  48093. #. type: Plain text
  48094. #: guix-git/doc/guix.texi:32682
  48095. 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."
  48096. msgstr ""
  48097. #. type: example
  48098. #: guix-git/doc/guix.texi:32685
  48099. #, no-wrap
  48100. msgid "git clone git@@example.com:gitolite-admin\n"
  48101. msgstr ""
  48102. #. type: Plain text
  48103. #: guix-git/doc/guix.texi:32691
  48104. 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''."
  48105. msgstr ""
  48106. #. type: deftp
  48107. #: guix-git/doc/guix.texi:32692
  48108. #, no-wrap
  48109. msgid "{Data Type} gitolite-configuration"
  48110. msgstr ""
  48111. #. type: deftp
  48112. #: guix-git/doc/guix.texi:32694
  48113. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  48114. msgstr ""
  48115. #. type: item
  48116. #: guix-git/doc/guix.texi:32696
  48117. #, no-wrap
  48118. msgid "@code{package} (default: @var{gitolite})"
  48119. msgstr ""
  48120. #. type: table
  48121. #: guix-git/doc/guix.texi:32698
  48122. msgid "Gitolite package to use."
  48123. msgstr ""
  48124. #. type: item
  48125. #: guix-git/doc/guix.texi:32699
  48126. #, no-wrap
  48127. msgid "@code{user} (default: @var{git})"
  48128. msgstr ""
  48129. #. type: table
  48130. #: guix-git/doc/guix.texi:32702
  48131. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  48132. msgstr ""
  48133. #. type: item
  48134. #: guix-git/doc/guix.texi:32703
  48135. #, no-wrap
  48136. msgid "@code{group} (default: @var{git})"
  48137. msgstr ""
  48138. #. type: table
  48139. #: guix-git/doc/guix.texi:32705
  48140. msgid "Group to use for Gitolite."
  48141. msgstr ""
  48142. #. type: item
  48143. #: guix-git/doc/guix.texi:32706
  48144. #, no-wrap
  48145. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  48146. msgstr ""
  48147. #. type: table
  48148. #: guix-git/doc/guix.texi:32708
  48149. msgid "Directory in which to store the Gitolite configuration and repositories."
  48150. msgstr ""
  48151. #. type: item
  48152. #: guix-git/doc/guix.texi:32709
  48153. #, no-wrap
  48154. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  48155. msgstr ""
  48156. #. type: table
  48157. #: guix-git/doc/guix.texi:32712
  48158. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  48159. msgstr ""
  48160. #. type: item
  48161. #: guix-git/doc/guix.texi:32713
  48162. #, no-wrap
  48163. msgid "@code{admin-pubkey} (default: @var{#f})"
  48164. msgstr ""
  48165. #. type: table
  48166. #: guix-git/doc/guix.texi:32717
  48167. 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."
  48168. msgstr ""
  48169. #. type: table
  48170. #: guix-git/doc/guix.texi:32719
  48171. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  48172. msgstr ""
  48173. #. type: lisp
  48174. #: guix-git/doc/guix.texi:32722
  48175. #, no-wrap
  48176. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  48177. msgstr ""
  48178. #. type: deftp
  48179. #: guix-git/doc/guix.texi:32727
  48180. #, no-wrap
  48181. msgid "{Data Type} gitolite-rc-file"
  48182. msgstr ""
  48183. #. type: deftp
  48184. #: guix-git/doc/guix.texi:32729
  48185. msgid "Data type representing the Gitolite RC file."
  48186. msgstr ""
  48187. #. type: item
  48188. #: guix-git/doc/guix.texi:32731
  48189. #, no-wrap
  48190. msgid "@code{umask} (default: @code{#o0077})"
  48191. msgstr ""
  48192. #. type: table
  48193. #: guix-git/doc/guix.texi:32734
  48194. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  48195. msgstr ""
  48196. #. type: table
  48197. #: guix-git/doc/guix.texi:32738
  48198. 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."
  48199. msgstr ""
  48200. #. type: item
  48201. #: guix-git/doc/guix.texi:32739
  48202. #, no-wrap
  48203. msgid "@code{unsafe-pattern} (default: @code{#f})"
  48204. msgstr ""
  48205. #. type: table
  48206. #: guix-git/doc/guix.texi:32744
  48207. msgid "An optional Perl regular expression for catching unsafe configurations in the configuration file. See @uref{https://gitolite.com/gitolite/git-config.html#compensating-for-unsafe_patt, Gitolite's documentation} for more information."
  48208. msgstr ""
  48209. #. type: table
  48210. #: guix-git/doc/guix.texi:32751
  48211. msgid "When the value is not @code{#f}, it should be a string containing a Perl regular expression, such as @samp{\"[`~#\\$\\&()|;<>]\"}, which is the default value used by gitolite. It rejects any special character in configuration that might be interpreted by a shell, which is useful when sharing the administration burden with other people that do not otherwise have shell access on the server."
  48212. msgstr ""
  48213. #. type: item
  48214. #: guix-git/doc/guix.texi:32752
  48215. #, no-wrap
  48216. msgid "@code{git-config-keys} (default: @code{\"\"})"
  48217. msgstr ""
  48218. #. type: table
  48219. #: guix-git/doc/guix.texi:32755
  48220. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  48221. msgstr ""
  48222. #. type: item
  48223. #: guix-git/doc/guix.texi:32756
  48224. #, no-wrap
  48225. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  48226. msgstr ""
  48227. #. type: table
  48228. #: guix-git/doc/guix.texi:32758
  48229. msgid "Set the role names allowed to be used by users running the perms command."
  48230. msgstr ""
  48231. #. type: item
  48232. #: guix-git/doc/guix.texi:32759
  48233. #, no-wrap
  48234. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  48235. msgstr ""
  48236. #. type: table
  48237. #: guix-git/doc/guix.texi:32761
  48238. msgid "This setting controls the commands and features to enable within Gitolite."
  48239. msgstr ""
  48240. #. type: subsubheading
  48241. #: guix-git/doc/guix.texi:32766
  48242. #, fuzzy, no-wrap
  48243. #| msgid "Services"
  48244. msgid "Gitile Service"
  48245. msgstr "Služby"
  48246. #. type: cindex
  48247. #: guix-git/doc/guix.texi:32768
  48248. #, no-wrap
  48249. msgid "Gitile service"
  48250. msgstr ""
  48251. #. type: cindex
  48252. #: guix-git/doc/guix.texi:32769
  48253. #, no-wrap
  48254. msgid "Git, forge"
  48255. msgstr ""
  48256. #. type: Plain text
  48257. #: guix-git/doc/guix.texi:32772
  48258. msgid "@uref{https://git.lepiller.eu/gitile, Gitile} is a Git forge for viewing public git repository contents from a web browser."
  48259. msgstr ""
  48260. #. type: Plain text
  48261. #: guix-git/doc/guix.texi:32778
  48262. msgid "Gitile works best in collaboration with Gitolite, and will serve the public repositories from Gitolite by default. The service should listen only on a local port, and a webserver should be configured to serve static resources. The gitile service provides an easy way to extend the Nginx service for that purpose (@pxref{NGINX})."
  48263. msgstr ""
  48264. #. type: Plain text
  48265. #: guix-git/doc/guix.texi:32782
  48266. msgid "The following example will configure Gitile to serve repositories from a custom location, with some default messages for the home page and the footers."
  48267. msgstr ""
  48268. #. type: lisp
  48269. #: guix-git/doc/guix.texi:32805
  48270. #, no-wrap
  48271. msgid ""
  48272. "(service gitile-service-type\n"
  48273. " (gitile-configuration\n"
  48274. " (repositories \"/srv/git\")\n"
  48275. " (base-git-url \"https://myweb.site/git\")\n"
  48276. " (index-title \"My git repositories\")\n"
  48277. " (intro '((p \"This is all my public work!\")))\n"
  48278. " (footer '((p \"This is the end\")))\n"
  48279. " (nginx-server-block\n"
  48280. " (nginx-server-configuration\n"
  48281. " (ssl-certificate\n"
  48282. " \"/etc/letsencrypt/live/myweb.site/fullchain.pem\")\n"
  48283. " (ssl-certificate-key\n"
  48284. " \"/etc/letsencrypt/live/myweb.site/privkey.pem\")\n"
  48285. " (listen '(\"443 ssl http2\" \"[::]:443 ssl http2\"))\n"
  48286. " (locations\n"
  48287. " (list\n"
  48288. " ;; Allow for https anonymous fetch on /git/ urls.\n"
  48289. " (git-http-nginx-location-configuration\n"
  48290. " (git-http-configuration\n"
  48291. " (uri-path \"/git/\")\n"
  48292. " (git-root \"/var/lib/gitolite/repositories\")))))))))\n"
  48293. msgstr ""
  48294. #. type: Plain text
  48295. #: guix-git/doc/guix.texi:32814
  48296. msgid "In addition to the configuration record, you should configure your git repositories to contain some optional information. First, your public repositories need to contain the @file{git-daemon-export-ok} magic file that allows Git to export the repository. Gitile uses the presence of this file to detect public repositories it should make accessible. To do so with Gitolite for instance, modify your @file{conf/gitolite.conf} to include this in the repositories you want to make public:"
  48297. msgstr ""
  48298. #. type: example
  48299. #: guix-git/doc/guix.texi:32818
  48300. #, no-wrap
  48301. msgid ""
  48302. "repo foo\n"
  48303. " R = daemon\n"
  48304. msgstr ""
  48305. #. type: Plain text
  48306. #: guix-git/doc/guix.texi:32824
  48307. msgid "In addition, Gitile can read the repository configuration to display more information on the repository. Gitile uses the gitweb namespace for its configuration. As an example, you can use the following in your @file{conf/gitolite.conf}:"
  48308. msgstr ""
  48309. #. type: example
  48310. #: guix-git/doc/guix.texi:32831
  48311. #, no-wrap
  48312. msgid ""
  48313. "repo foo\n"
  48314. " R = daemon\n"
  48315. " desc = A long description, optionally with <i>HTML</i>, shown on the index page\n"
  48316. " config gitweb.name = The Foo Project\n"
  48317. " config gitweb.synopsis = A short description, shown on the main page of the project\n"
  48318. msgstr ""
  48319. #. type: Plain text
  48320. #: guix-git/doc/guix.texi:32837
  48321. msgid "Do not forget to commit and push these changes once you are satisfied. You may need to change your gitolite configuration to allow the previous configuration options to be set. One way to do that is to add the following service definition:"
  48322. msgstr ""
  48323. #. type: lisp
  48324. #: guix-git/doc/guix.texi:32849
  48325. #, no-wrap
  48326. msgid ""
  48327. "(service gitolite-service-type\n"
  48328. " (gitolite-configuration\n"
  48329. " (admin-pubkey (local-file \"key.pub\"))\n"
  48330. " (rc-file\n"
  48331. " (gitolite-rc-file\n"
  48332. " (umask #o0027)\n"
  48333. " ;; Allow to set any configuration key\n"
  48334. " (git-config-keys \".*\")\n"
  48335. " ;; Allow any text as a valid configuration value\n"
  48336. " (unsafe-patt \"^$\")))))\n"
  48337. msgstr ""
  48338. #. type: deftp
  48339. #: guix-git/doc/guix.texi:32851
  48340. #, fuzzy, no-wrap
  48341. #| msgid "System Configuration"
  48342. msgid "{Data Type} gitile-configuration"
  48343. msgstr "Nastavenie systému"
  48344. #. type: deftp
  48345. #: guix-git/doc/guix.texi:32853
  48346. msgid "Data type representing the configuration for @code{gitile-service-type}."
  48347. msgstr ""
  48348. #. type: item
  48349. #: guix-git/doc/guix.texi:32855
  48350. #, no-wrap
  48351. msgid "@code{package} (default: @var{gitile})"
  48352. msgstr ""
  48353. #. type: table
  48354. #: guix-git/doc/guix.texi:32857
  48355. msgid "Gitile package to use."
  48356. msgstr ""
  48357. #. type: table
  48358. #: guix-git/doc/guix.texi:32860
  48359. msgid "The host on which gitile is listening."
  48360. msgstr ""
  48361. #. type: item
  48362. #: guix-git/doc/guix.texi:32861
  48363. #, no-wrap
  48364. msgid "@code{port} (default: @code{8080})"
  48365. msgstr ""
  48366. #. type: table
  48367. #: guix-git/doc/guix.texi:32863
  48368. msgid "The port on which gitile is listening."
  48369. msgstr ""
  48370. #. type: item
  48371. #: guix-git/doc/guix.texi:32864
  48372. #, no-wrap
  48373. msgid "@code{database} (default: @code{\"/var/lib/gitile/gitile-db.sql\"})"
  48374. msgstr ""
  48375. #. type: table
  48376. #: guix-git/doc/guix.texi:32866
  48377. msgid "The location of the database."
  48378. msgstr ""
  48379. #. type: item
  48380. #: guix-git/doc/guix.texi:32867
  48381. #, no-wrap
  48382. msgid "@code{repositories} (default: @code{\"/var/lib/gitolite/repositories\"})"
  48383. msgstr ""
  48384. #. type: table
  48385. #: guix-git/doc/guix.texi:32871
  48386. msgid "The location of the repositories. Note that only public repositories will be shown by Gitile. To make a repository public, add an empty @file{git-daemon-export-ok} file at the root of that repository."
  48387. msgstr ""
  48388. #. type: code{#1}
  48389. #: guix-git/doc/guix.texi:32872
  48390. #, no-wrap
  48391. msgid "base-git-url"
  48392. msgstr ""
  48393. #. type: table
  48394. #: guix-git/doc/guix.texi:32874
  48395. msgid "The base git url that will be used to show clone commands."
  48396. msgstr ""
  48397. #. type: item
  48398. #: guix-git/doc/guix.texi:32875
  48399. #, no-wrap
  48400. msgid "@code{index-title} (default: @code{\"Index\"})"
  48401. msgstr ""
  48402. #. type: table
  48403. #: guix-git/doc/guix.texi:32877
  48404. msgid "The page title for the index page that lists all the available repositories."
  48405. msgstr ""
  48406. #. type: item
  48407. #: guix-git/doc/guix.texi:32878
  48408. #, no-wrap
  48409. msgid "@code{intro} (default: @code{'()})"
  48410. msgstr ""
  48411. #. type: table
  48412. #: guix-git/doc/guix.texi:32881
  48413. msgid "The intro content, as a list of sxml expressions. This is shown above the list of repositories, on the index page."
  48414. msgstr ""
  48415. #. type: item
  48416. #: guix-git/doc/guix.texi:32882
  48417. #, no-wrap
  48418. msgid "@code{footer} (default: @code{'()})"
  48419. msgstr ""
  48420. #. type: table
  48421. #: guix-git/doc/guix.texi:32885
  48422. msgid "The footer content, as a list of sxml expressions. This is shown on every page served by Gitile."
  48423. msgstr ""
  48424. #. type: code{#1}
  48425. #: guix-git/doc/guix.texi:32886
  48426. #, no-wrap
  48427. msgid "nginx-server-block"
  48428. msgstr ""
  48429. #. type: table
  48430. #: guix-git/doc/guix.texi:32889
  48431. msgid "An nginx server block that will be extended and used as a reverse proxy by Gitile to serve its pages, and as a normal web server to serve its assets."
  48432. msgstr ""
  48433. #. type: table
  48434. #: guix-git/doc/guix.texi:32893
  48435. msgid "You can use this block to add more custom URLs to your domain, such as a @code{/git/} URL for anonymous clones, or serving any other files you would like to serve."
  48436. msgstr ""
  48437. #. type: subsubheading
  48438. #: guix-git/doc/guix.texi:32900
  48439. #, no-wrap
  48440. msgid "The Battle for Wesnoth Service"
  48441. msgstr ""
  48442. #. type: cindex
  48443. #: guix-git/doc/guix.texi:32901
  48444. #, no-wrap
  48445. msgid "wesnothd"
  48446. msgstr ""
  48447. #. type: Plain text
  48448. #: guix-git/doc/guix.texi:32905
  48449. 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)."
  48450. msgstr ""
  48451. #. type: defvar
  48452. #: guix-git/doc/guix.texi:32906
  48453. #, no-wrap
  48454. msgid "{Scheme Variable} wesnothd-service-type"
  48455. msgstr ""
  48456. #. type: defvar
  48457. #: guix-git/doc/guix.texi:32910
  48458. 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:"
  48459. msgstr ""
  48460. #. type: lisp
  48461. #: guix-git/doc/guix.texi:32913
  48462. #, no-wrap
  48463. msgid "(service wesnothd-service-type)\n"
  48464. msgstr ""
  48465. #. type: deftp
  48466. #: guix-git/doc/guix.texi:32916
  48467. #, no-wrap
  48468. msgid "{Data Type} wesnothd-configuration"
  48469. msgstr ""
  48470. #. type: deftp
  48471. #: guix-git/doc/guix.texi:32918
  48472. msgid "Data type representing the configuration of @command{wesnothd}."
  48473. msgstr ""
  48474. #. type: item
  48475. #: guix-git/doc/guix.texi:32920
  48476. #, no-wrap
  48477. msgid "@code{package} (default: @code{wesnoth-server})"
  48478. msgstr ""
  48479. #. type: table
  48480. #: guix-git/doc/guix.texi:32922
  48481. msgid "The wesnoth server package to use."
  48482. msgstr ""
  48483. #. type: item
  48484. #: guix-git/doc/guix.texi:32923
  48485. #, no-wrap
  48486. msgid "@code{port} (default: @code{15000})"
  48487. msgstr ""
  48488. #. type: table
  48489. #: guix-git/doc/guix.texi:32925
  48490. msgid "The port to bind the server to."
  48491. msgstr ""
  48492. #. type: cindex
  48493. #: guix-git/doc/guix.texi:32931
  48494. #, no-wrap
  48495. msgid "pam-mount"
  48496. msgstr ""
  48497. #. type: Plain text
  48498. #: guix-git/doc/guix.texi:32936
  48499. 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."
  48500. msgstr ""
  48501. #. type: defvar
  48502. #: guix-git/doc/guix.texi:32937
  48503. #, no-wrap
  48504. msgid "{Scheme Variable} pam-mount-service-type"
  48505. msgstr ""
  48506. #. type: defvar
  48507. #: guix-git/doc/guix.texi:32939
  48508. msgid "Service type for PAM Mount support."
  48509. msgstr ""
  48510. #. type: deftp
  48511. #: guix-git/doc/guix.texi:32941
  48512. #, no-wrap
  48513. msgid "{Data Type} pam-mount-configuration"
  48514. msgstr ""
  48515. #. type: deftp
  48516. #: guix-git/doc/guix.texi:32943
  48517. msgid "Data type representing the configuration of PAM Mount."
  48518. msgstr ""
  48519. #. type: code{#1}
  48520. #: guix-git/doc/guix.texi:32947
  48521. #, no-wrap
  48522. msgid "rules"
  48523. msgstr ""
  48524. #. type: table
  48525. #: guix-git/doc/guix.texi:32950
  48526. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  48527. msgstr ""
  48528. #. type: table
  48529. #: guix-git/doc/guix.texi:32954
  48530. 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:"
  48531. msgstr ""
  48532. #. type: lisp
  48533. #: guix-git/doc/guix.texi:32969
  48534. #, no-wrap
  48535. msgid ""
  48536. "`((debug (@@ (enable \"0\")))\n"
  48537. " (mntoptions (@@ (allow ,(string-join\n"
  48538. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  48539. " \"encryption\" \"fsck\" \"nonempty\"\n"
  48540. " \"allow_root\" \"allow_other\")\n"
  48541. " \",\"))))\n"
  48542. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  48543. " (logout (@@ (wait \"0\")\n"
  48544. " (hup \"0\")\n"
  48545. " (term \"no\")\n"
  48546. " (kill \"no\")))\n"
  48547. " (mkmountpoint (@@ (enable \"1\")\n"
  48548. " (remove \"true\"))))\n"
  48549. msgstr ""
  48550. #. type: table
  48551. #: guix-git/doc/guix.texi:32975
  48552. 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:"
  48553. msgstr ""
  48554. #. type: lisp
  48555. #: guix-git/doc/guix.texi:33000
  48556. #, no-wrap
  48557. msgid ""
  48558. "(define pam-mount-rules\n"
  48559. "`((debug (@@ (enable \"0\")))\n"
  48560. " (volume (@@ (user \"alice\")\n"
  48561. " (fstype \"crypt\")\n"
  48562. " (path \"/dev/sda2\")\n"
  48563. " (mountpoint \"/home/alice\")))\n"
  48564. " (volume (@@ (user \"bob\")\n"
  48565. " (fstype \"auto\")\n"
  48566. " (path \"/dev/sdb3\")\n"
  48567. " (mountpoint \"/home/bob/data\")\n"
  48568. " (options \"defaults,autodefrag,compress\")))\n"
  48569. " (mntoptions (@@ (allow ,(string-join\n"
  48570. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  48571. " \"encryption\" \"fsck\" \"nonempty\"\n"
  48572. " \"allow_root\" \"allow_other\")\n"
  48573. " \",\"))))\n"
  48574. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  48575. " (logout (@@ (wait \"0\")\n"
  48576. " (hup \"0\")\n"
  48577. " (term \"no\")\n"
  48578. " (kill \"no\")))\n"
  48579. " (mkmountpoint (@@ (enable \"1\")\n"
  48580. " (remove \"true\")))))\n"
  48581. "\n"
  48582. msgstr ""
  48583. #. type: lisp
  48584. #: guix-git/doc/guix.texi:33004
  48585. #, no-wrap
  48586. msgid ""
  48587. "(service pam-mount-service-type\n"
  48588. " (pam-mount-configuration\n"
  48589. " (rules pam-mount-rules)))\n"
  48590. msgstr ""
  48591. #. type: table
  48592. #: guix-git/doc/guix.texi:33008
  48593. 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}."
  48594. msgstr ""
  48595. #. type: subsubheading
  48596. #: guix-git/doc/guix.texi:33015
  48597. #, no-wrap
  48598. msgid "Guix Build Coordinator"
  48599. msgstr ""
  48600. #. type: Plain text
  48601. #: guix-git/doc/guix.texi:33021
  48602. 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."
  48603. msgstr ""
  48604. #. type: Plain text
  48605. #: guix-git/doc/guix.texi:33027
  48606. 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."
  48607. msgstr ""
  48608. #. type: Plain text
  48609. #: guix-git/doc/guix.texi:33031
  48610. 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."
  48611. msgstr ""
  48612. #. type: defvar
  48613. #: guix-git/doc/guix.texi:33032
  48614. #, no-wrap
  48615. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  48616. msgstr ""
  48617. #. type: defvar
  48618. #: guix-git/doc/guix.texi:33035
  48619. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  48620. msgstr ""
  48621. #. type: deftp
  48622. #: guix-git/doc/guix.texi:33037
  48623. #, no-wrap
  48624. msgid "{Data Type} guix-build-coordinator-configuration"
  48625. msgstr ""
  48626. #. type: deftp
  48627. #: guix-git/doc/guix.texi:33039
  48628. msgid "Data type representing the configuration of the Guix Build Coordinator."
  48629. msgstr ""
  48630. #. type: item
  48631. #: guix-git/doc/guix.texi:33041 guix-git/doc/guix.texi:33211
  48632. #, no-wrap
  48633. msgid "@code{package} (default: @code{guix-build-coordinator})"
  48634. msgstr ""
  48635. #. type: table
  48636. #: guix-git/doc/guix.texi:33043 guix-git/doc/guix.texi:33087
  48637. #: guix-git/doc/guix.texi:33213
  48638. msgid "The Guix Build Coordinator package to use."
  48639. msgstr ""
  48640. #. type: item
  48641. #: guix-git/doc/guix.texi:33044
  48642. #, no-wrap
  48643. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  48644. msgstr ""
  48645. #. type: table
  48646. #: guix-git/doc/guix.texi:33046 guix-git/doc/guix.texi:33090
  48647. #: guix-git/doc/guix.texi:33216 guix-git/doc/guix.texi:33262
  48648. msgid "The system user to run the service as."
  48649. msgstr ""
  48650. #. type: item
  48651. #: guix-git/doc/guix.texi:33047
  48652. #, no-wrap
  48653. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  48654. msgstr ""
  48655. #. type: table
  48656. #: guix-git/doc/guix.texi:33049 guix-git/doc/guix.texi:33265
  48657. msgid "The system group to run the service as."
  48658. msgstr ""
  48659. #. type: item
  48660. #: guix-git/doc/guix.texi:33050
  48661. #, no-wrap
  48662. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  48663. msgstr ""
  48664. #. type: table
  48665. #: guix-git/doc/guix.texi:33052
  48666. msgid "The URI to use for the database."
  48667. msgstr ""
  48668. #. type: item
  48669. #: guix-git/doc/guix.texi:33053
  48670. #, no-wrap
  48671. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  48672. msgstr ""
  48673. #. type: table
  48674. #: guix-git/doc/guix.texi:33055
  48675. msgid "The URI describing how to listen to requests from agent processes."
  48676. msgstr ""
  48677. #. type: item
  48678. #: guix-git/doc/guix.texi:33056
  48679. #, no-wrap
  48680. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  48681. msgstr ""
  48682. #. type: table
  48683. #: guix-git/doc/guix.texi:33060
  48684. 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."
  48685. msgstr ""
  48686. #. type: item
  48687. #: guix-git/doc/guix.texi:33061
  48688. #, no-wrap
  48689. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  48690. msgstr ""
  48691. #. type: table
  48692. #: guix-git/doc/guix.texi:33065
  48693. 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."
  48694. msgstr ""
  48695. #. type: item
  48696. #: guix-git/doc/guix.texi:33066
  48697. #, no-wrap
  48698. msgid "@code{hooks} (default: @var{'()})"
  48699. msgstr ""
  48700. #. type: table
  48701. #: guix-git/doc/guix.texi:33069
  48702. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  48703. msgstr ""
  48704. #. type: item
  48705. #: guix-git/doc/guix.texi:33070
  48706. #, no-wrap
  48707. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  48708. msgstr ""
  48709. #. type: table
  48710. #: guix-git/doc/guix.texi:33072
  48711. msgid "The Guile package with which to run the Guix Build Coordinator."
  48712. msgstr ""
  48713. #. type: defvar
  48714. #: guix-git/doc/guix.texi:33076
  48715. #, no-wrap
  48716. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  48717. msgstr ""
  48718. #. type: defvar
  48719. #: guix-git/doc/guix.texi:33079
  48720. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  48721. msgstr ""
  48722. #. type: deftp
  48723. #: guix-git/doc/guix.texi:33081
  48724. #, no-wrap
  48725. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  48726. msgstr ""
  48727. #. type: deftp
  48728. #: guix-git/doc/guix.texi:33083
  48729. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  48730. msgstr ""
  48731. #. type: item
  48732. #: guix-git/doc/guix.texi:33085
  48733. #, no-wrap
  48734. msgid "@code{package} (default: @code{guix-build-coordinator/agent-only})"
  48735. msgstr ""
  48736. #. type: item
  48737. #: guix-git/doc/guix.texi:33088
  48738. #, no-wrap
  48739. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  48740. msgstr ""
  48741. #. type: item
  48742. #: guix-git/doc/guix.texi:33091
  48743. #, no-wrap
  48744. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  48745. msgstr ""
  48746. #. type: table
  48747. #: guix-git/doc/guix.texi:33093 guix-git/doc/guix.texi:33219
  48748. msgid "The URI to use when connecting to the coordinator."
  48749. msgstr ""
  48750. #. type: code{#1}
  48751. #: guix-git/doc/guix.texi:33094
  48752. #, no-wrap
  48753. msgid "authentication"
  48754. msgstr ""
  48755. #. type: table
  48756. #: guix-git/doc/guix.texi:33097
  48757. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  48758. msgstr ""
  48759. #. type: item
  48760. #: guix-git/doc/guix.texi:33098 guix-git/doc/guix.texi:33220
  48761. #, no-wrap
  48762. msgid "@code{systems} (default: @code{#f})"
  48763. msgstr ""
  48764. #. type: table
  48765. #: guix-git/doc/guix.texi:33101
  48766. 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."
  48767. msgstr ""
  48768. #. type: item
  48769. #: guix-git/doc/guix.texi:33102
  48770. #, no-wrap
  48771. msgid "@code{max-parallel-builds} (default: @code{1})"
  48772. msgstr ""
  48773. #. type: table
  48774. #: guix-git/doc/guix.texi:33104
  48775. msgid "The number of builds to perform in parallel."
  48776. msgstr ""
  48777. #. type: item
  48778. #: guix-git/doc/guix.texi:33105
  48779. #, no-wrap
  48780. msgid "@code{max-1min-load-average} (default: @code{#f})"
  48781. msgstr ""
  48782. #. type: table
  48783. #: guix-git/doc/guix.texi:33109
  48784. msgid "Load average value to look at when considering starting new builds, if the 1 minute load average exceeds this value, the agent will wait before starting new builds."
  48785. msgstr ""
  48786. #. type: table
  48787. #: guix-git/doc/guix.texi:33113
  48788. msgid "This will be unspecified if the value is @code{#f}, and the agent will use the number of cores reported by the system as the max 1 minute load average."
  48789. msgstr ""
  48790. #. type: item
  48791. #: guix-git/doc/guix.texi:33114
  48792. #, no-wrap
  48793. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  48794. msgstr ""
  48795. #. type: table
  48796. #: guix-git/doc/guix.texi:33117
  48797. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  48798. msgstr ""
  48799. #. type: item
  48800. #: guix-git/doc/guix.texi:33118
  48801. #, no-wrap
  48802. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  48803. msgstr ""
  48804. #. type: table
  48805. #: guix-git/doc/guix.texi:33121
  48806. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  48807. msgstr ""
  48808. #. type: deftp
  48809. #: guix-git/doc/guix.texi:33125
  48810. #, no-wrap
  48811. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  48812. msgstr ""
  48813. #. type: deftp
  48814. #: guix-git/doc/guix.texi:33128
  48815. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  48816. msgstr ""
  48817. #. type: table
  48818. #: guix-git/doc/guix.texi:33134 guix-git/doc/guix.texi:33150
  48819. 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."
  48820. msgstr ""
  48821. #. type: table
  48822. #: guix-git/doc/guix.texi:33137
  48823. msgid "The password to use when connecting to the coordinator."
  48824. msgstr ""
  48825. #. type: deftp
  48826. #: guix-git/doc/guix.texi:33141
  48827. #, no-wrap
  48828. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  48829. msgstr ""
  48830. #. type: deftp
  48831. #: guix-git/doc/guix.texi:33144
  48832. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  48833. msgstr ""
  48834. #. type: code{#1}
  48835. #: guix-git/doc/guix.texi:33151
  48836. #, no-wrap
  48837. msgid "password-file"
  48838. msgstr ""
  48839. #. type: table
  48840. #: guix-git/doc/guix.texi:33154
  48841. msgid "A file containing the password to use when connecting to the coordinator."
  48842. msgstr ""
  48843. #. type: deftp
  48844. #: guix-git/doc/guix.texi:33158
  48845. #, no-wrap
  48846. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  48847. msgstr ""
  48848. #. type: deftp
  48849. #: guix-git/doc/guix.texi:33161
  48850. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  48851. msgstr ""
  48852. #. type: code{#1}
  48853. #: guix-git/doc/guix.texi:33163 guix-git/doc/guix.texi:33180
  48854. #, no-wrap
  48855. msgid "agent-name"
  48856. msgstr ""
  48857. #. type: table
  48858. #: guix-git/doc/guix.texi:33167 guix-git/doc/guix.texi:33184
  48859. 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."
  48860. msgstr ""
  48861. #. type: code{#1}
  48862. #: guix-git/doc/guix.texi:33168
  48863. #, no-wrap
  48864. msgid "token"
  48865. msgstr ""
  48866. #. type: table
  48867. #: guix-git/doc/guix.texi:33171
  48868. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  48869. msgstr ""
  48870. #. type: deftp
  48871. #: guix-git/doc/guix.texi:33175
  48872. #, no-wrap
  48873. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  48874. msgstr ""
  48875. #. type: deftp
  48876. #: guix-git/doc/guix.texi:33178
  48877. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  48878. msgstr ""
  48879. #. type: code{#1}
  48880. #: guix-git/doc/guix.texi:33185
  48881. #, no-wrap
  48882. msgid "token-file"
  48883. msgstr ""
  48884. #. type: table
  48885. #: guix-git/doc/guix.texi:33188
  48886. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  48887. msgstr ""
  48888. #. type: Plain text
  48889. #: guix-git/doc/guix.texi:33198
  48890. 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."
  48891. msgstr ""
  48892. #. type: defvar
  48893. #: guix-git/doc/guix.texi:33199
  48894. #, no-wrap
  48895. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  48896. msgstr ""
  48897. #. type: defvar
  48898. #: guix-git/doc/guix.texi:33204
  48899. 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."
  48900. msgstr ""
  48901. #. type: deftp
  48902. #: guix-git/doc/guix.texi:33206
  48903. #, no-wrap
  48904. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  48905. msgstr ""
  48906. #. type: deftp
  48907. #: guix-git/doc/guix.texi:33209
  48908. msgid "Data type representing the options to the queue builds from guix data service script."
  48909. msgstr ""
  48910. #. type: item
  48911. #: guix-git/doc/guix.texi:33214
  48912. #, no-wrap
  48913. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  48914. msgstr ""
  48915. #. type: item
  48916. #: guix-git/doc/guix.texi:33217
  48917. #, no-wrap
  48918. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  48919. msgstr ""
  48920. #. type: table
  48921. #: guix-git/doc/guix.texi:33222
  48922. msgid "The systems for which to fetch derivations to build."
  48923. msgstr ""
  48924. #. type: item
  48925. #: guix-git/doc/guix.texi:33223
  48926. #, no-wrap
  48927. msgid "@code{systems-and-targets} (default: @code{#f})"
  48928. msgstr ""
  48929. #. type: table
  48930. #: guix-git/doc/guix.texi:33226
  48931. msgid "An association list of system and target pairs for which to fetch derivations to build."
  48932. msgstr ""
  48933. #. type: item
  48934. #: guix-git/doc/guix.texi:33227
  48935. #, no-wrap
  48936. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  48937. msgstr ""
  48938. #. type: table
  48939. #: guix-git/doc/guix.texi:33230
  48940. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  48941. msgstr ""
  48942. #. type: item
  48943. #: guix-git/doc/guix.texi:33231
  48944. #, no-wrap
  48945. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  48946. msgstr ""
  48947. #. type: table
  48948. #: guix-git/doc/guix.texi:33234
  48949. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  48950. msgstr ""
  48951. #. type: subsubheading
  48952. #: guix-git/doc/guix.texi:33238
  48953. #, no-wrap
  48954. msgid "Guix Data Service"
  48955. msgstr ""
  48956. #. type: Plain text
  48957. #: guix-git/doc/guix.texi:33242
  48958. 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."
  48959. msgstr ""
  48960. #. type: Plain text
  48961. #: guix-git/doc/guix.texi:33245
  48962. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  48963. msgstr ""
  48964. #. type: defvar
  48965. #: guix-git/doc/guix.texi:33246
  48966. #, no-wrap
  48967. msgid "{Scheme Variable} guix-data-service-type"
  48968. msgstr ""
  48969. #. type: defvar
  48970. #: guix-git/doc/guix.texi:33251
  48971. 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."
  48972. msgstr ""
  48973. #. type: deftp
  48974. #: guix-git/doc/guix.texi:33253
  48975. #, no-wrap
  48976. msgid "{Data Type} guix-data-service-configuration"
  48977. msgstr ""
  48978. #. type: deftp
  48979. #: guix-git/doc/guix.texi:33255
  48980. msgid "Data type representing the configuration of the Guix Data Service."
  48981. msgstr ""
  48982. #. type: item
  48983. #: guix-git/doc/guix.texi:33257
  48984. #, no-wrap
  48985. msgid "@code{package} (default: @code{guix-data-service})"
  48986. msgstr ""
  48987. #. type: table
  48988. #: guix-git/doc/guix.texi:33259
  48989. msgid "The Guix Data Service package to use."
  48990. msgstr ""
  48991. #. type: item
  48992. #: guix-git/doc/guix.texi:33260
  48993. #, no-wrap
  48994. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  48995. msgstr ""
  48996. #. type: item
  48997. #: guix-git/doc/guix.texi:33263
  48998. #, no-wrap
  48999. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  49000. msgstr ""
  49001. #. type: item
  49002. #: guix-git/doc/guix.texi:33266
  49003. #, no-wrap
  49004. msgid "@code{port} (default: @code{8765})"
  49005. msgstr ""
  49006. #. type: table
  49007. #: guix-git/doc/guix.texi:33268
  49008. msgid "The port to bind the web service to."
  49009. msgstr ""
  49010. #. type: item
  49011. #: guix-git/doc/guix.texi:33269
  49012. #, no-wrap
  49013. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  49014. msgstr ""
  49015. #. type: table
  49016. #: guix-git/doc/guix.texi:33271
  49017. msgid "The host to bind the web service to."
  49018. msgstr ""
  49019. #. type: item
  49020. #: guix-git/doc/guix.texi:33272
  49021. #, no-wrap
  49022. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  49023. msgstr ""
  49024. #. type: table
  49025. #: guix-git/doc/guix.texi:33275
  49026. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  49027. msgstr ""
  49028. #. type: item
  49029. #: guix-git/doc/guix.texi:33276
  49030. #, no-wrap
  49031. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  49032. msgstr ""
  49033. #. type: table
  49034. #: guix-git/doc/guix.texi:33280
  49035. 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."
  49036. msgstr ""
  49037. #. type: item
  49038. #: guix-git/doc/guix.texi:33281
  49039. #, no-wrap
  49040. msgid "@code{extra-options} (default: @var{'()})"
  49041. msgstr ""
  49042. #. type: table
  49043. #: guix-git/doc/guix.texi:33283
  49044. msgid "Extra command line options for @code{guix-data-service}."
  49045. msgstr ""
  49046. #. type: item
  49047. #: guix-git/doc/guix.texi:33284
  49048. #, no-wrap
  49049. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  49050. msgstr ""
  49051. #. type: table
  49052. #: guix-git/doc/guix.texi:33286
  49053. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  49054. msgstr ""
  49055. #. type: cindex
  49056. #: guix-git/doc/guix.texi:33293
  49057. #, no-wrap
  49058. msgid "oom"
  49059. msgstr ""
  49060. #. type: cindex
  49061. #: guix-git/doc/guix.texi:33294
  49062. #, no-wrap
  49063. msgid "out of memory killer"
  49064. msgstr ""
  49065. #. type: cindex
  49066. #: guix-git/doc/guix.texi:33295
  49067. #, no-wrap
  49068. msgid "earlyoom"
  49069. msgstr ""
  49070. #. type: cindex
  49071. #: guix-git/doc/guix.texi:33296
  49072. #, no-wrap
  49073. msgid "early out of memory daemon"
  49074. msgstr ""
  49075. #. type: subsubheading
  49076. #: guix-git/doc/guix.texi:33297
  49077. #, no-wrap
  49078. msgid "Early OOM Service"
  49079. msgstr ""
  49080. #. type: Plain text
  49081. #: guix-git/doc/guix.texi:33304
  49082. 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."
  49083. msgstr ""
  49084. #. type: deffn
  49085. #: guix-git/doc/guix.texi:33305
  49086. #, no-wrap
  49087. msgid "{Scheme Variable} earlyoom-service-type"
  49088. msgstr ""
  49089. #. type: deffn
  49090. #: guix-git/doc/guix.texi:33310
  49091. 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:"
  49092. msgstr ""
  49093. #. type: lisp
  49094. #: guix-git/doc/guix.texi:33313
  49095. #, no-wrap
  49096. msgid "(service earlyoom-service-type)\n"
  49097. msgstr ""
  49098. #. type: deftp
  49099. #: guix-git/doc/guix.texi:33316
  49100. #, no-wrap
  49101. msgid "{Data Type} earlyoom-configuration"
  49102. msgstr ""
  49103. #. type: deftp
  49104. #: guix-git/doc/guix.texi:33318
  49105. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  49106. msgstr ""
  49107. #. type: item
  49108. #: guix-git/doc/guix.texi:33320
  49109. #, no-wrap
  49110. msgid "@code{earlyoom} (default: @var{earlyoom})"
  49111. msgstr ""
  49112. #. type: table
  49113. #: guix-git/doc/guix.texi:33322
  49114. msgid "The Earlyoom package to use."
  49115. msgstr ""
  49116. #. type: item
  49117. #: guix-git/doc/guix.texi:33323
  49118. #, no-wrap
  49119. msgid "@code{minimum-available-memory} (default: @code{10})"
  49120. msgstr ""
  49121. #. type: table
  49122. #: guix-git/doc/guix.texi:33325
  49123. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  49124. msgstr ""
  49125. #. type: item
  49126. #: guix-git/doc/guix.texi:33326
  49127. #, no-wrap
  49128. msgid "@code{minimum-free-swap} (default: @code{10})"
  49129. msgstr ""
  49130. #. type: table
  49131. #: guix-git/doc/guix.texi:33328
  49132. msgid "The threshold for the minimum free swap memory, in percentages."
  49133. msgstr ""
  49134. #. type: item
  49135. #: guix-git/doc/guix.texi:33329
  49136. #, no-wrap
  49137. msgid "@code{prefer-regexp} (default: @code{#f})"
  49138. msgstr ""
  49139. #. type: table
  49140. #: guix-git/doc/guix.texi:33332
  49141. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  49142. msgstr ""
  49143. #. type: item
  49144. #: guix-git/doc/guix.texi:33333
  49145. #, no-wrap
  49146. msgid "@code{avoid-regexp} (default: @code{#f})"
  49147. msgstr ""
  49148. #. type: table
  49149. #: guix-git/doc/guix.texi:33336
  49150. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  49151. msgstr ""
  49152. #. type: item
  49153. #: guix-git/doc/guix.texi:33337
  49154. #, no-wrap
  49155. msgid "@code{memory-report-interval} (default: @code{0})"
  49156. msgstr ""
  49157. #. type: table
  49158. #: guix-git/doc/guix.texi:33340
  49159. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  49160. msgstr ""
  49161. #. type: item
  49162. #: guix-git/doc/guix.texi:33341
  49163. #, no-wrap
  49164. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  49165. msgstr ""
  49166. #. type: table
  49167. #: guix-git/doc/guix.texi:33344
  49168. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  49169. msgstr ""
  49170. #. type: item
  49171. #: guix-git/doc/guix.texi:33345
  49172. #, no-wrap
  49173. msgid "@code{show-debug-messages?} (default: @code{#f})"
  49174. msgstr ""
  49175. #. type: table
  49176. #: guix-git/doc/guix.texi:33348
  49177. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  49178. msgstr ""
  49179. #. type: item
  49180. #: guix-git/doc/guix.texi:33349
  49181. #, no-wrap
  49182. msgid "@code{send-notification-command} (default: @code{#f})"
  49183. msgstr ""
  49184. #. type: table
  49185. #: guix-git/doc/guix.texi:33352
  49186. msgid "This can be used to provide a custom command used for sending notifications."
  49187. msgstr ""
  49188. #. type: cindex
  49189. #: guix-git/doc/guix.texi:33355
  49190. #, no-wrap
  49191. msgid "modprobe"
  49192. msgstr ""
  49193. #. type: cindex
  49194. #: guix-git/doc/guix.texi:33356
  49195. #, no-wrap
  49196. msgid "kernel module loader"
  49197. msgstr ""
  49198. #. type: subsubheading
  49199. #: guix-git/doc/guix.texi:33357
  49200. #, no-wrap
  49201. msgid "Kernel Module Loader Service"
  49202. msgstr ""
  49203. #. type: Plain text
  49204. #: guix-git/doc/guix.texi:33363
  49205. 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 is the case with @code{ddcci}."
  49206. msgstr ""
  49207. #. type: deffn
  49208. #: guix-git/doc/guix.texi:33364
  49209. #, no-wrap
  49210. msgid "{Scheme Variable} kernel-module-loader-service-type"
  49211. msgstr ""
  49212. #. type: deffn
  49213. #: guix-git/doc/guix.texi:33370
  49214. 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:"
  49215. msgstr ""
  49216. #. type: lisp
  49217. #: guix-git/doc/guix.texi:33375
  49218. #, no-wrap
  49219. msgid ""
  49220. "(use-modules (gnu) (gnu services))\n"
  49221. "(use-package-modules linux)\n"
  49222. "(use-service-modules linux)\n"
  49223. "\n"
  49224. msgstr ""
  49225. #. type: lisp
  49226. #: guix-git/doc/guix.texi:33379
  49227. #, no-wrap
  49228. msgid ""
  49229. "(define ddcci-config\n"
  49230. " (plain-file \"ddcci.conf\"\n"
  49231. " \"options ddcci dyndbg delay=120\"))\n"
  49232. "\n"
  49233. msgstr ""
  49234. #. type: lisp
  49235. #: guix-git/doc/guix.texi:33389
  49236. #, no-wrap
  49237. msgid ""
  49238. "(operating-system\n"
  49239. " ...\n"
  49240. " (services (cons* (service kernel-module-loader-service-type\n"
  49241. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  49242. " (simple-service 'ddcci-config etc-service-type\n"
  49243. " (list `(\"modprobe.d/ddcci.conf\"\n"
  49244. " ,ddcci-config)))\n"
  49245. " %base-services))\n"
  49246. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  49247. msgstr ""
  49248. #. type: cindex
  49249. #: guix-git/doc/guix.texi:33392
  49250. #, no-wrap
  49251. msgid "rasdaemon"
  49252. msgstr ""
  49253. #. type: cindex
  49254. #: guix-git/doc/guix.texi:33393
  49255. #, no-wrap
  49256. msgid "Platform Reliability, Availability and Serviceability daemon"
  49257. msgstr ""
  49258. #. type: subsubheading
  49259. #: guix-git/doc/guix.texi:33394
  49260. #, no-wrap
  49261. msgid "Rasdaemon Service"
  49262. msgstr ""
  49263. #. type: Plain text
  49264. #: guix-git/doc/guix.texi:33399
  49265. msgid "The Rasdaemon service provides a daemon which monitors platform @acronym{RAS, Reliability@comma{} Availability@comma{} and Serviceability} reports from Linux kernel trace events, logging them to syslogd."
  49266. msgstr ""
  49267. #. type: Plain text
  49268. #: guix-git/doc/guix.texi:33402
  49269. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  49270. msgstr ""
  49271. #. type: Plain text
  49272. #: guix-git/doc/guix.texi:33405
  49273. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  49274. msgstr ""
  49275. #. type: item
  49276. #: guix-git/doc/guix.texi:33407
  49277. #, no-wrap
  49278. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  49279. msgstr ""
  49280. #. type: item
  49281. #: guix-git/doc/guix.texi:33408
  49282. #, no-wrap
  49283. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  49284. msgstr ""
  49285. #. type: itemize
  49286. #: guix-git/doc/guix.texi:33410
  49287. msgid "faults"
  49288. msgstr ""
  49289. #. type: Plain text
  49290. #: guix-git/doc/guix.texi:33414
  49291. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  49292. msgstr ""
  49293. #. type: item
  49294. #: guix-git/doc/guix.texi:33416
  49295. #, no-wrap
  49296. msgid "Generally measured as a percentage of downtime per a period of time, and"
  49297. msgstr ""
  49298. #. type: item
  49299. #: guix-git/doc/guix.texi:33417
  49300. #, no-wrap
  49301. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  49302. msgstr ""
  49303. #. type: Plain text
  49304. #: guix-git/doc/guix.texi:33422
  49305. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  49306. msgstr ""
  49307. #. type: item
  49308. #: guix-git/doc/guix.texi:33424
  49309. #, no-wrap
  49310. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  49311. msgstr ""
  49312. #. type: Plain text
  49313. #: guix-git/doc/guix.texi:33429
  49314. msgid "Among the monitoring measures, the most usual ones include:"
  49315. msgstr ""
  49316. #. type: item
  49317. #: guix-git/doc/guix.texi:33431
  49318. #, no-wrap
  49319. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  49320. msgstr ""
  49321. #. type: item
  49322. #: guix-git/doc/guix.texi:33432
  49323. #, no-wrap
  49324. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  49325. msgstr ""
  49326. #. type: item
  49327. #: guix-git/doc/guix.texi:33433
  49328. #, no-wrap
  49329. msgid "I/O – add CRC checksums for transferred data;"
  49330. msgstr ""
  49331. #. type: item
  49332. #: guix-git/doc/guix.texi:33434
  49333. #, no-wrap
  49334. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  49335. msgstr ""
  49336. #. type: itemize
  49337. #: guix-git/doc/guix.texi:33436
  49338. msgid "Analysis and Reporting Technology (SMART)."
  49339. msgstr ""
  49340. #. type: Plain text
  49341. #: guix-git/doc/guix.texi:33442
  49342. msgid "By monitoring the number of occurrences of error detections, it is possible to identify if the probability of hardware errors is increasing, and, on such case, do a preventive maintenance to replace a degraded component while those errors are correctable."
  49343. msgstr ""
  49344. #. type: Plain text
  49345. #: guix-git/doc/guix.texi:33446
  49346. msgid "For detailed information about the types of error events gathered and how to make sense of them, see the kernel administrator's guide at @url{https://www.kernel.org/doc/html/latest/admin-guide/ras.html}."
  49347. msgstr ""
  49348. #. type: defvr
  49349. #: guix-git/doc/guix.texi:33447
  49350. #, no-wrap
  49351. msgid "{Scheme Variable} rasdaemon-service-type"
  49352. msgstr ""
  49353. #. type: defvr
  49354. #: guix-git/doc/guix.texi:33450
  49355. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  49356. msgstr ""
  49357. #. type: lisp
  49358. #: guix-git/doc/guix.texi:33453
  49359. #, no-wrap
  49360. msgid "(service rasdaemon-service-type)\n"
  49361. msgstr ""
  49362. #. type: defvr
  49363. #: guix-git/doc/guix.texi:33457
  49364. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  49365. msgstr ""
  49366. #. type: deftp
  49367. #: guix-git/doc/guix.texi:33459
  49368. #, no-wrap
  49369. msgid "{Data Type} rasdaemon-configuration"
  49370. msgstr ""
  49371. #. type: deftp
  49372. #: guix-git/doc/guix.texi:33461
  49373. msgid "The data type representing the configuration of @command{rasdaemon}."
  49374. msgstr ""
  49375. #. type: item
  49376. #: guix-git/doc/guix.texi:33463
  49377. #, no-wrap
  49378. msgid "@code{record?} (default: @code{#f})"
  49379. msgstr ""
  49380. #. type: table
  49381. #: guix-git/doc/guix.texi:33468
  49382. msgid "A boolean indicating whether to record the events in an SQLite database. This provides a more structured access to the information contained in the log file. The database location is hard-coded to @file{/var/lib/rasdaemon/ras-mc_event.db}."
  49383. msgstr ""
  49384. #. type: cindex
  49385. #: guix-git/doc/guix.texi:33472
  49386. #, no-wrap
  49387. msgid "zram"
  49388. msgstr ""
  49389. #. type: cindex
  49390. #: guix-git/doc/guix.texi:33473
  49391. #, no-wrap
  49392. msgid "compressed swap"
  49393. msgstr ""
  49394. #. type: cindex
  49395. #: guix-git/doc/guix.texi:33474
  49396. #, no-wrap
  49397. msgid "Compressed RAM-based block devices"
  49398. msgstr ""
  49399. #. type: subsubheading
  49400. #: guix-git/doc/guix.texi:33475
  49401. #, no-wrap
  49402. msgid "Zram Device Service"
  49403. msgstr ""
  49404. #. type: Plain text
  49405. #: guix-git/doc/guix.texi:33481
  49406. 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."
  49407. msgstr ""
  49408. #. type: deffn
  49409. #: guix-git/doc/guix.texi:33482
  49410. #, no-wrap
  49411. msgid "{Scheme Variable} zram-device-service-type"
  49412. msgstr ""
  49413. #. type: deffn
  49414. #: guix-git/doc/guix.texi:33486
  49415. 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."
  49416. msgstr ""
  49417. #. type: deftp
  49418. #: guix-git/doc/guix.texi:33487
  49419. #, no-wrap
  49420. msgid "{Data Type} zram-device-configuration"
  49421. msgstr ""
  49422. #. type: deftp
  49423. #: guix-git/doc/guix.texi:33490
  49424. msgid "This is the data type representing the configuration for the zram-device service."
  49425. msgstr ""
  49426. #. type: item
  49427. #: guix-git/doc/guix.texi:33492
  49428. #, no-wrap
  49429. msgid "@code{size} (default @code{\"1G\"})"
  49430. msgstr ""
  49431. #. type: table
  49432. #: guix-git/doc/guix.texi:33496
  49433. 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}."
  49434. msgstr ""
  49435. #. type: item
  49436. #: guix-git/doc/guix.texi:33496
  49437. #, no-wrap
  49438. msgid "@code{compression-algorithm} (default @code{'lzo})"
  49439. msgstr ""
  49440. #. type: table
  49441. #: guix-git/doc/guix.texi:33500
  49442. 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}."
  49443. msgstr ""
  49444. #. type: item
  49445. #: guix-git/doc/guix.texi:33500
  49446. #, no-wrap
  49447. msgid "@code{memory-limit} (default @code{0})"
  49448. msgstr ""
  49449. #. type: table
  49450. #: guix-git/doc/guix.texi:33507
  49451. 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\"}."
  49452. msgstr ""
  49453. #. type: item
  49454. #: guix-git/doc/guix.texi:33507
  49455. #, no-wrap
  49456. msgid "@code{priority} (default @code{-1})"
  49457. msgstr ""
  49458. #. type: table
  49459. #: guix-git/doc/guix.texi:33512
  49460. 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."
  49461. msgstr ""
  49462. #. type: defvr
  49463. #: guix-git/doc/guix.texi:33520
  49464. #, no-wrap
  49465. msgid "{Scheme Variable} hurd-console-service-type"
  49466. msgstr ""
  49467. #. type: defvr
  49468. #: guix-git/doc/guix.texi:33522
  49469. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  49470. msgstr ""
  49471. #. type: defvr
  49472. #: guix-git/doc/guix.texi:33524
  49473. msgid "The service's value is a @code{hurd-console-configuration} record."
  49474. msgstr ""
  49475. #. type: deftp
  49476. #: guix-git/doc/guix.texi:33526
  49477. #, no-wrap
  49478. msgid "{Data Type} hurd-console-configuration"
  49479. msgstr ""
  49480. #. type: deftp
  49481. #: guix-git/doc/guix.texi:33529
  49482. msgid "This is the data type representing the configuration for the hurd-console-service."
  49483. msgstr ""
  49484. #. type: item
  49485. #: guix-git/doc/guix.texi:33531 guix-git/doc/guix.texi:33547
  49486. #, no-wrap
  49487. msgid "@code{hurd} (default: @var{hurd})"
  49488. msgstr ""
  49489. #. type: table
  49490. #: guix-git/doc/guix.texi:33533 guix-git/doc/guix.texi:33549
  49491. msgid "The Hurd package to use."
  49492. msgstr ""
  49493. #. type: defvr
  49494. #: guix-git/doc/guix.texi:33536
  49495. #, no-wrap
  49496. msgid "{Scheme Variable} hurd-getty-service-type"
  49497. msgstr ""
  49498. #. type: defvr
  49499. #: guix-git/doc/guix.texi:33538
  49500. msgid "This service starts a tty using the Hurd @code{getty} program."
  49501. msgstr ""
  49502. #. type: defvr
  49503. #: guix-git/doc/guix.texi:33540
  49504. msgid "The service's value is a @code{hurd-getty-configuration} record."
  49505. msgstr ""
  49506. #. type: deftp
  49507. #: guix-git/doc/guix.texi:33542
  49508. #, no-wrap
  49509. msgid "{Data Type} hurd-getty-configuration"
  49510. msgstr ""
  49511. #. type: deftp
  49512. #: guix-git/doc/guix.texi:33545
  49513. msgid "This is the data type representing the configuration for the hurd-getty-service."
  49514. msgstr ""
  49515. #. type: table
  49516. #: guix-git/doc/guix.texi:33552
  49517. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  49518. msgstr ""
  49519. #. type: item
  49520. #: guix-git/doc/guix.texi:33553
  49521. #, no-wrap
  49522. msgid "@code{baud-rate} (default: @code{38400})"
  49523. msgstr ""
  49524. #. type: table
  49525. #: guix-git/doc/guix.texi:33555
  49526. msgid "An integer specifying the baud rate of the tty."
  49527. msgstr ""
  49528. #. type: cindex
  49529. #: guix-git/doc/guix.texi:33562
  49530. #, no-wrap
  49531. msgid "fingerprint"
  49532. msgstr ""
  49533. #. type: subsubheading
  49534. #: guix-git/doc/guix.texi:33563
  49535. #, no-wrap
  49536. msgid "Fingerprint Service"
  49537. msgstr ""
  49538. #. type: Plain text
  49539. #: guix-git/doc/guix.texi:33567
  49540. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  49541. msgstr ""
  49542. #. type: defvr
  49543. #: guix-git/doc/guix.texi:33568
  49544. #, no-wrap
  49545. msgid "{Scheme Variable} fprintd-service-type"
  49546. msgstr ""
  49547. #. type: defvr
  49548. #: guix-git/doc/guix.texi:33571
  49549. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  49550. msgstr ""
  49551. #. type: lisp
  49552. #: guix-git/doc/guix.texi:33574
  49553. #, no-wrap
  49554. msgid "(service fprintd-service-type)\n"
  49555. msgstr ""
  49556. #. type: cindex
  49557. #: guix-git/doc/guix.texi:33577
  49558. #, no-wrap
  49559. msgid "sysctl"
  49560. msgstr ""
  49561. #. type: subsubheading
  49562. #: guix-git/doc/guix.texi:33578
  49563. #, no-wrap
  49564. msgid "System Control Service"
  49565. msgstr ""
  49566. #. type: Plain text
  49567. #: guix-git/doc/guix.texi:33582
  49568. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  49569. msgstr ""
  49570. #. type: defvr
  49571. #: guix-git/doc/guix.texi:33583
  49572. #, no-wrap
  49573. msgid "{Scheme Variable} sysctl-service-type"
  49574. msgstr ""
  49575. #. type: defvr
  49576. #: guix-git/doc/guix.texi:33587
  49577. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  49578. msgstr ""
  49579. #. type: lisp
  49580. #: guix-git/doc/guix.texi:33592
  49581. #, no-wrap
  49582. msgid ""
  49583. "(service sysctl-service-type\n"
  49584. " (sysctl-configuration\n"
  49585. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  49586. msgstr ""
  49587. #. type: defvr
  49588. #: guix-git/doc/guix.texi:33599
  49589. 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}})."
  49590. msgstr ""
  49591. #. type: lisp
  49592. #: guix-git/doc/guix.texi:33606
  49593. #, no-wrap
  49594. msgid ""
  49595. "(modify-services %base-services\n"
  49596. " (sysctl-service-type config =>\n"
  49597. " (sysctl-configuration\n"
  49598. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  49599. " %default-sysctl-settings)))))\n"
  49600. msgstr ""
  49601. #. type: deftp
  49602. #: guix-git/doc/guix.texi:33610
  49603. #, no-wrap
  49604. msgid "{Data Type} sysctl-configuration"
  49605. msgstr ""
  49606. #. type: deftp
  49607. #: guix-git/doc/guix.texi:33612
  49608. msgid "The data type representing the configuration of @command{sysctl}."
  49609. msgstr ""
  49610. #. type: item
  49611. #: guix-git/doc/guix.texi:33614
  49612. #, no-wrap
  49613. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  49614. msgstr ""
  49615. #. type: table
  49616. #: guix-git/doc/guix.texi:33616
  49617. msgid "The @command{sysctl} executable to use."
  49618. msgstr ""
  49619. #. type: item
  49620. #: guix-git/doc/guix.texi:33617
  49621. #, no-wrap
  49622. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  49623. msgstr ""
  49624. #. type: table
  49625. #: guix-git/doc/guix.texi:33619
  49626. msgid "An association list specifies kernel parameters and their values."
  49627. msgstr ""
  49628. #. type: defvr
  49629. #: guix-git/doc/guix.texi:33622
  49630. #, no-wrap
  49631. msgid "{Scheme Variable} %default-sysctl-settings"
  49632. msgstr ""
  49633. #. type: defvr
  49634. #: guix-git/doc/guix.texi:33625
  49635. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  49636. msgstr ""
  49637. #. type: cindex
  49638. #: guix-git/doc/guix.texi:33627
  49639. #, no-wrap
  49640. msgid "pcscd"
  49641. msgstr ""
  49642. #. type: subsubheading
  49643. #: guix-git/doc/guix.texi:33628
  49644. #, no-wrap
  49645. msgid "PC/SC Smart Card Daemon Service"
  49646. msgstr ""
  49647. #. type: Plain text
  49648. #: guix-git/doc/guix.texi:33635
  49649. 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."
  49650. msgstr ""
  49651. #. type: defvr
  49652. #: guix-git/doc/guix.texi:33636
  49653. #, no-wrap
  49654. msgid "{Scheme Variable} pcscd-service-type"
  49655. msgstr ""
  49656. #. type: defvr
  49657. #: guix-git/doc/guix.texi:33640
  49658. 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:"
  49659. msgstr ""
  49660. #. type: lisp
  49661. #: guix-git/doc/guix.texi:33643
  49662. #, no-wrap
  49663. msgid "(service pcscd-service-type)\n"
  49664. msgstr ""
  49665. #. type: deftp
  49666. #: guix-git/doc/guix.texi:33646
  49667. #, no-wrap
  49668. msgid "{Data Type} pcscd-configuration"
  49669. msgstr ""
  49670. #. type: deftp
  49671. #: guix-git/doc/guix.texi:33648
  49672. msgid "The data type representing the configuration of @command{pcscd}."
  49673. msgstr ""
  49674. #. type: item
  49675. #: guix-git/doc/guix.texi:33650
  49676. #, no-wrap
  49677. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  49678. msgstr ""
  49679. #. type: table
  49680. #: guix-git/doc/guix.texi:33652
  49681. msgid "The pcsc-lite package that provides pcscd."
  49682. msgstr ""
  49683. #. type: item
  49684. #: guix-git/doc/guix.texi:33652
  49685. #, no-wrap
  49686. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  49687. msgstr ""
  49688. #. type: table
  49689. #: guix-git/doc/guix.texi:33655
  49690. 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."
  49691. msgstr ""
  49692. #. type: cindex
  49693. #: guix-git/doc/guix.texi:33658
  49694. #, no-wrap
  49695. msgid "lirc"
  49696. msgstr ""
  49697. #. type: subsubheading
  49698. #: guix-git/doc/guix.texi:33659
  49699. #, no-wrap
  49700. msgid "Lirc Service"
  49701. msgstr ""
  49702. #. type: Plain text
  49703. #: guix-git/doc/guix.texi:33662
  49704. msgid "The @code{(gnu services lirc)} module provides the following service."
  49705. msgstr ""
  49706. #. type: deffn
  49707. #: guix-git/doc/guix.texi:33663
  49708. #, no-wrap
  49709. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  49710. msgstr ""
  49711. #. type: deffn
  49712. #: guix-git/doc/guix.texi:33668
  49713. 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."
  49714. msgstr ""
  49715. #. type: deffn
  49716. #: guix-git/doc/guix.texi:33672
  49717. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  49718. msgstr ""
  49719. #. type: deffn
  49720. #: guix-git/doc/guix.texi:33675
  49721. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  49722. msgstr ""
  49723. #. type: cindex
  49724. #: guix-git/doc/guix.texi:33677
  49725. #, no-wrap
  49726. msgid "spice"
  49727. msgstr ""
  49728. #. type: subsubheading
  49729. #: guix-git/doc/guix.texi:33678
  49730. #, no-wrap
  49731. msgid "Spice Service"
  49732. msgstr ""
  49733. #. type: Plain text
  49734. #: guix-git/doc/guix.texi:33681
  49735. msgid "The @code{(gnu services spice)} module provides the following service."
  49736. msgstr ""
  49737. #. type: deffn
  49738. #: guix-git/doc/guix.texi:33682
  49739. #, no-wrap
  49740. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  49741. msgstr ""
  49742. #. type: deffn
  49743. #: guix-git/doc/guix.texi:33686
  49744. 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."
  49745. msgstr ""
  49746. #. type: cindex
  49747. #: guix-git/doc/guix.texi:33688
  49748. #, no-wrap
  49749. msgid "inputattach"
  49750. msgstr ""
  49751. #. type: subsubheading
  49752. #: guix-git/doc/guix.texi:33689
  49753. #, no-wrap
  49754. msgid "inputattach Service"
  49755. msgstr ""
  49756. #. type: cindex
  49757. #: guix-git/doc/guix.texi:33691
  49758. #, no-wrap
  49759. msgid "tablet input, for Xorg"
  49760. msgstr ""
  49761. #. type: cindex
  49762. #: guix-git/doc/guix.texi:33692
  49763. #, no-wrap
  49764. msgid "touchscreen input, for Xorg"
  49765. msgstr ""
  49766. #. type: Plain text
  49767. #: guix-git/doc/guix.texi:33696
  49768. 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."
  49769. msgstr ""
  49770. #. type: deffn
  49771. #: guix-git/doc/guix.texi:33697
  49772. #, no-wrap
  49773. msgid "{Scheme Variable} inputattach-service-type"
  49774. msgstr ""
  49775. #. type: deffn
  49776. #: guix-git/doc/guix.texi:33700
  49777. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  49778. msgstr ""
  49779. #. type: deftp
  49780. #: guix-git/doc/guix.texi:33702
  49781. #, no-wrap
  49782. msgid "{Data Type} inputattach-configuration"
  49783. msgstr ""
  49784. #. type: item
  49785. #: guix-git/doc/guix.texi:33704
  49786. #, no-wrap
  49787. msgid "@code{device-type} (default: @code{\"wacom\"})"
  49788. msgstr ""
  49789. #. type: table
  49790. #: guix-git/doc/guix.texi:33707
  49791. 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."
  49792. msgstr ""
  49793. #. type: item
  49794. #: guix-git/doc/guix.texi:33708
  49795. #, no-wrap
  49796. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  49797. msgstr ""
  49798. #. type: table
  49799. #: guix-git/doc/guix.texi:33710
  49800. msgid "The device file to connect to the device."
  49801. msgstr ""
  49802. #. type: table
  49803. #: guix-git/doc/guix.texi:33714
  49804. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  49805. msgstr ""
  49806. #. type: item
  49807. #: guix-git/doc/guix.texi:33715
  49808. #, no-wrap
  49809. msgid "@code{log-file} (default: @code{#f})"
  49810. msgstr ""
  49811. #. type: table
  49812. #: guix-git/doc/guix.texi:33717
  49813. msgid "If true, this must be the name of a file to log messages to."
  49814. msgstr ""
  49815. #. type: subsubheading
  49816. #: guix-git/doc/guix.texi:33720
  49817. #, no-wrap
  49818. msgid "Dictionary Service"
  49819. msgstr ""
  49820. #. type: cindex
  49821. #: guix-git/doc/guix.texi:33721
  49822. #, no-wrap
  49823. msgid "dictionary"
  49824. msgstr ""
  49825. #. type: Plain text
  49826. #: guix-git/doc/guix.texi:33723
  49827. msgid "The @code{(gnu services dict)} module provides the following service:"
  49828. msgstr ""
  49829. #. type: defvr
  49830. #: guix-git/doc/guix.texi:33724
  49831. #, no-wrap
  49832. msgid "{Scheme Variable} dicod-service-type"
  49833. msgstr ""
  49834. #. type: defvr
  49835. #: guix-git/doc/guix.texi:33727
  49836. 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})."
  49837. msgstr ""
  49838. #. type: deffn
  49839. #: guix-git/doc/guix.texi:33729
  49840. #, no-wrap
  49841. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  49842. msgstr ""
  49843. #. type: deffn
  49844. #: guix-git/doc/guix.texi:33732
  49845. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  49846. msgstr ""
  49847. #. type: deffn
  49848. #: guix-git/doc/guix.texi:33736
  49849. 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."
  49850. msgstr ""
  49851. #. type: deffn
  49852. #: guix-git/doc/guix.texi:33740
  49853. 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})."
  49854. msgstr ""
  49855. #. type: deftp
  49856. #: guix-git/doc/guix.texi:33742
  49857. #, no-wrap
  49858. msgid "{Data Type} dicod-configuration"
  49859. msgstr ""
  49860. #. type: deftp
  49861. #: guix-git/doc/guix.texi:33744
  49862. msgid "Data type representing the configuration of dicod."
  49863. msgstr ""
  49864. #. type: item
  49865. #: guix-git/doc/guix.texi:33746
  49866. #, no-wrap
  49867. msgid "@code{dico} (default: @var{dico})"
  49868. msgstr ""
  49869. #. type: table
  49870. #: guix-git/doc/guix.texi:33748
  49871. msgid "Package object of the GNU Dico dictionary server."
  49872. msgstr ""
  49873. #. type: item
  49874. #: guix-git/doc/guix.texi:33749
  49875. #, no-wrap
  49876. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  49877. msgstr ""
  49878. #. type: table
  49879. #: guix-git/doc/guix.texi:33753
  49880. 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})."
  49881. msgstr ""
  49882. #. type: item
  49883. #: guix-git/doc/guix.texi:33754
  49884. #, no-wrap
  49885. msgid "@code{handlers} (default: @var{'()})"
  49886. msgstr ""
  49887. #. type: table
  49888. #: guix-git/doc/guix.texi:33756
  49889. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  49890. msgstr ""
  49891. #. type: item
  49892. #: guix-git/doc/guix.texi:33757
  49893. #, no-wrap
  49894. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  49895. msgstr ""
  49896. #. type: table
  49897. #: guix-git/doc/guix.texi:33759
  49898. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  49899. msgstr ""
  49900. #. type: deftp
  49901. #: guix-git/doc/guix.texi:33762
  49902. #, no-wrap
  49903. msgid "{Data Type} dicod-handler"
  49904. msgstr ""
  49905. #. type: deftp
  49906. #: guix-git/doc/guix.texi:33764
  49907. msgid "Data type representing a dictionary handler (module instance)."
  49908. msgstr ""
  49909. #. type: table
  49910. #: guix-git/doc/guix.texi:33768
  49911. msgid "Name of the handler (module instance)."
  49912. msgstr ""
  49913. #. type: item
  49914. #: guix-git/doc/guix.texi:33769
  49915. #, no-wrap
  49916. msgid "@code{module} (default: @var{#f})"
  49917. msgstr ""
  49918. #. type: table
  49919. #: guix-git/doc/guix.texi:33773
  49920. 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})."
  49921. msgstr ""
  49922. #. type: table
  49923. #: guix-git/doc/guix.texi:33776
  49924. msgid "List of strings or gexps representing the arguments for the module handler"
  49925. msgstr ""
  49926. #. type: deftp
  49927. #: guix-git/doc/guix.texi:33779
  49928. #, no-wrap
  49929. msgid "{Data Type} dicod-database"
  49930. msgstr ""
  49931. #. type: deftp
  49932. #: guix-git/doc/guix.texi:33781
  49933. msgid "Data type representing a dictionary database."
  49934. msgstr ""
  49935. #. type: table
  49936. #: guix-git/doc/guix.texi:33785
  49937. msgid "Name of the database, will be used in DICT commands."
  49938. msgstr ""
  49939. #. type: code{#1}
  49940. #: guix-git/doc/guix.texi:33786
  49941. #, no-wrap
  49942. msgid "handler"
  49943. msgstr ""
  49944. #. type: table
  49945. #: guix-git/doc/guix.texi:33789
  49946. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  49947. msgstr ""
  49948. #. type: item
  49949. #: guix-git/doc/guix.texi:33790
  49950. #, no-wrap
  49951. msgid "@code{complex?} (default: @var{#f})"
  49952. msgstr ""
  49953. #. type: table
  49954. #: guix-git/doc/guix.texi:33793
  49955. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  49956. msgstr ""
  49957. #. type: table
  49958. #: guix-git/doc/guix.texi:33797
  49959. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  49960. msgstr ""
  49961. #. type: defvr
  49962. #: guix-git/doc/guix.texi:33800
  49963. #, no-wrap
  49964. msgid "{Scheme Variable} %dicod-database:gcide"
  49965. msgstr ""
  49966. #. type: defvr
  49967. #: guix-git/doc/guix.texi:33803
  49968. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  49969. msgstr ""
  49970. #. type: Plain text
  49971. #: guix-git/doc/guix.texi:33806
  49972. msgid "The following is an example @code{dicod-service} configuration."
  49973. msgstr ""
  49974. #. type: lisp
  49975. #: guix-git/doc/guix.texi:33821
  49976. #, no-wrap
  49977. msgid ""
  49978. "(dicod-service #:config\n"
  49979. " (dicod-configuration\n"
  49980. " (handlers (list (dicod-handler\n"
  49981. " (name \"wordnet\")\n"
  49982. " (module \"dictorg\")\n"
  49983. " (options\n"
  49984. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  49985. " (databases (list (dicod-database\n"
  49986. " (name \"wordnet\")\n"
  49987. " (complex? #t)\n"
  49988. " (handler \"wordnet\")\n"
  49989. " (options '(\"database=wn\")))\n"
  49990. " %dicod-database:gcide))))\n"
  49991. msgstr ""
  49992. #. type: cindex
  49993. #: guix-git/doc/guix.texi:33823
  49994. #, no-wrap
  49995. msgid "Docker"
  49996. msgstr ""
  49997. #. type: subsubheading
  49998. #: guix-git/doc/guix.texi:33824
  49999. #, no-wrap
  50000. msgid "Docker Service"
  50001. msgstr ""
  50002. #. type: Plain text
  50003. #: guix-git/doc/guix.texi:33827
  50004. msgid "The @code{(gnu services docker)} module provides the following services."
  50005. msgstr ""
  50006. #. type: defvr
  50007. #: guix-git/doc/guix.texi:33828
  50008. #, no-wrap
  50009. msgid "{Scheme Variable} docker-service-type"
  50010. msgstr ""
  50011. #. type: defvr
  50012. #: guix-git/doc/guix.texi:33833
  50013. 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."
  50014. msgstr ""
  50015. #. type: deftp
  50016. #: guix-git/doc/guix.texi:33836
  50017. #, no-wrap
  50018. msgid "{Data Type} docker-configuration"
  50019. msgstr ""
  50020. #. type: deftp
  50021. #: guix-git/doc/guix.texi:33838
  50022. msgid "This is the data type representing the configuration of Docker and Containerd."
  50023. msgstr ""
  50024. #. type: item
  50025. #: guix-git/doc/guix.texi:33841
  50026. #, no-wrap
  50027. msgid "@code{docker} (default: @code{docker})"
  50028. msgstr ""
  50029. #. type: table
  50030. #: guix-git/doc/guix.texi:33843
  50031. msgid "The Docker daemon package to use."
  50032. msgstr ""
  50033. #. type: item
  50034. #: guix-git/doc/guix.texi:33844
  50035. #, no-wrap
  50036. msgid "@code{docker-cli} (default: @code{docker-cli})"
  50037. msgstr ""
  50038. #. type: table
  50039. #: guix-git/doc/guix.texi:33846
  50040. msgid "The Docker client package to use."
  50041. msgstr ""
  50042. #. type: item
  50043. #: guix-git/doc/guix.texi:33847
  50044. #, no-wrap
  50045. msgid "@code{containerd} (default: @var{containerd})"
  50046. msgstr ""
  50047. #. type: table
  50048. #: guix-git/doc/guix.texi:33849
  50049. msgid "The Containerd package to use."
  50050. msgstr ""
  50051. #. type: item
  50052. #: guix-git/doc/guix.texi:33850
  50053. #, no-wrap
  50054. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  50055. msgstr ""
  50056. #. type: table
  50057. #: guix-git/doc/guix.texi:33852
  50058. msgid "The Docker user-land networking proxy package to use."
  50059. msgstr ""
  50060. #. type: item
  50061. #: guix-git/doc/guix.texi:33853
  50062. #, no-wrap
  50063. msgid "@code{enable-proxy?} (default @code{#t})"
  50064. msgstr ""
  50065. #. type: table
  50066. #: guix-git/doc/guix.texi:33855
  50067. msgid "Enable or disable the use of the Docker user-land networking proxy."
  50068. msgstr ""
  50069. #. type: item
  50070. #: guix-git/doc/guix.texi:33856
  50071. #, no-wrap
  50072. msgid "@code{debug?} (default @code{#f})"
  50073. msgstr ""
  50074. #. type: table
  50075. #: guix-git/doc/guix.texi:33858
  50076. msgid "Enable or disable debug output."
  50077. msgstr ""
  50078. #. type: item
  50079. #: guix-git/doc/guix.texi:33859
  50080. #, no-wrap
  50081. msgid "@code{enable-iptables?} (default @code{#t})"
  50082. msgstr ""
  50083. #. type: table
  50084. #: guix-git/doc/guix.texi:33861
  50085. msgid "Enable or disable the addition of iptables rules."
  50086. msgstr ""
  50087. #. type: item
  50088. #: guix-git/doc/guix.texi:33862
  50089. #, no-wrap
  50090. msgid "@code{environment-variables} (default: @code{()})"
  50091. msgstr ""
  50092. #. type: table
  50093. #: guix-git/doc/guix.texi:33864
  50094. msgid "List of environment variables to set for @command{dockerd}."
  50095. msgstr ""
  50096. #. type: table
  50097. #: guix-git/doc/guix.texi:33867
  50098. msgid "This must be a list of strings where each string has the form @samp{@var{key}=@var{value}} as in this example:"
  50099. msgstr ""
  50100. #. type: lisp
  50101. #: guix-git/doc/guix.texi:33871
  50102. #, no-wrap
  50103. msgid ""
  50104. "(list \"LANGUAGE=eo:ca:eu\"\n"
  50105. " \"TMPDIR=/tmp/dockerd\")\n"
  50106. msgstr ""
  50107. #. type: cindex
  50108. #: guix-git/doc/guix.texi:33876
  50109. #, no-wrap
  50110. msgid "Singularity, container service"
  50111. msgstr ""
  50112. #. type: defvr
  50113. #: guix-git/doc/guix.texi:33877
  50114. #, no-wrap
  50115. msgid "{Scheme Variable} singularity-service-type"
  50116. msgstr ""
  50117. #. type: defvr
  50118. #: guix-git/doc/guix.texi:33882
  50119. 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."
  50120. msgstr ""
  50121. #. type: defvr
  50122. #: guix-git/doc/guix.texi:33886
  50123. 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."
  50124. msgstr ""
  50125. #. type: cindex
  50126. #: guix-git/doc/guix.texi:33888
  50127. #, no-wrap
  50128. msgid "Audit"
  50129. msgstr ""
  50130. #. type: subsubheading
  50131. #: guix-git/doc/guix.texi:33889
  50132. #, no-wrap
  50133. msgid "Auditd Service"
  50134. msgstr ""
  50135. #. type: Plain text
  50136. #: guix-git/doc/guix.texi:33892
  50137. msgid "The @code{(gnu services auditd)} module provides the following service."
  50138. msgstr ""
  50139. #. type: defvr
  50140. #: guix-git/doc/guix.texi:33893
  50141. #, no-wrap
  50142. msgid "{Scheme Variable} auditd-service-type"
  50143. msgstr ""
  50144. #. type: defvr
  50145. #: guix-git/doc/guix.texi:33898
  50146. 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."
  50147. msgstr ""
  50148. #. type: defvr
  50149. #: guix-git/doc/guix.texi:33900
  50150. msgid "Examples of things that can be tracked:"
  50151. msgstr ""
  50152. #. type: enumerate
  50153. #: guix-git/doc/guix.texi:33904
  50154. msgid "File accesses"
  50155. msgstr ""
  50156. #. type: enumerate
  50157. #: guix-git/doc/guix.texi:33906
  50158. msgid "System calls"
  50159. msgstr ""
  50160. #. type: enumerate
  50161. #: guix-git/doc/guix.texi:33908
  50162. msgid "Invoked commands"
  50163. msgstr ""
  50164. #. type: enumerate
  50165. #: guix-git/doc/guix.texi:33910
  50166. msgid "Failed login attempts"
  50167. msgstr ""
  50168. #. type: enumerate
  50169. #: guix-git/doc/guix.texi:33912
  50170. msgid "Firewall filtering"
  50171. msgstr ""
  50172. #. type: enumerate
  50173. #: guix-git/doc/guix.texi:33914
  50174. msgid "Network access"
  50175. msgstr ""
  50176. #. type: defvr
  50177. #: guix-git/doc/guix.texi:33925
  50178. 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}."
  50179. msgstr ""
  50180. #. type: deftp
  50181. #: guix-git/doc/guix.texi:33928
  50182. #, no-wrap
  50183. msgid "{Data Type} auditd-configuration"
  50184. msgstr ""
  50185. #. type: deftp
  50186. #: guix-git/doc/guix.texi:33930
  50187. msgid "This is the data type representing the configuration of auditd."
  50188. msgstr ""
  50189. #. type: item
  50190. #: guix-git/doc/guix.texi:33933
  50191. #, no-wrap
  50192. msgid "@code{audit} (default: @code{audit})"
  50193. msgstr ""
  50194. #. type: table
  50195. #: guix-git/doc/guix.texi:33935
  50196. msgid "The audit package to use."
  50197. msgstr ""
  50198. #. type: item
  50199. #: guix-git/doc/guix.texi:33936
  50200. #, no-wrap
  50201. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  50202. msgstr ""
  50203. #. type: table
  50204. #: guix-git/doc/guix.texi:33940
  50205. 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."
  50206. msgstr ""
  50207. #. type: cindex
  50208. #: guix-git/doc/guix.texi:33944
  50209. #, no-wrap
  50210. msgid "rshiny"
  50211. msgstr ""
  50212. #. type: subsubheading
  50213. #: guix-git/doc/guix.texi:33945
  50214. #, no-wrap
  50215. msgid "R-Shiny service"
  50216. msgstr ""
  50217. #. type: Plain text
  50218. #: guix-git/doc/guix.texi:33948
  50219. msgid "The @code{(gnu services science)} module provides the following service."
  50220. msgstr ""
  50221. #. type: defvr
  50222. #: guix-git/doc/guix.texi:33949
  50223. #, no-wrap
  50224. msgid "{Scheme Variable} rshiny-service-type"
  50225. msgstr ""
  50226. #. type: defvr
  50227. #: guix-git/doc/guix.texi:33954
  50228. 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}."
  50229. msgstr ""
  50230. #. type: deftp
  50231. #: guix-git/doc/guix.texi:33955
  50232. #, no-wrap
  50233. msgid "{Data Type} rshiny-configuration"
  50234. msgstr ""
  50235. #. type: deftp
  50236. #: guix-git/doc/guix.texi:33957
  50237. msgid "This is the data type representing the configuration of rshiny."
  50238. msgstr ""
  50239. #. type: item
  50240. #: guix-git/doc/guix.texi:33960
  50241. #, no-wrap
  50242. msgid "@code{package} (default: @code{r-shiny})"
  50243. msgstr ""
  50244. #. type: table
  50245. #: guix-git/doc/guix.texi:33962
  50246. msgid "The package to use."
  50247. msgstr ""
  50248. #. type: item
  50249. #: guix-git/doc/guix.texi:33963
  50250. #, no-wrap
  50251. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  50252. msgstr ""
  50253. #. type: table
  50254. #: guix-git/doc/guix.texi:33966
  50255. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  50256. msgstr ""
  50257. #. type: table
  50258. #: guix-git/doc/guix.texi:33968
  50259. msgid "The common way to create this file is as follows:"
  50260. msgstr ""
  50261. #. type: lisp
  50262. #: guix-git/doc/guix.texi:33985
  50263. #, no-wrap
  50264. msgid ""
  50265. "@dots{}\n"
  50266. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  50267. " (targetdir (string-append out \"/share/\" ,name))\n"
  50268. " (app (string-append out \"/bin/\" ,name))\n"
  50269. " (Rbin (search-input-file %build-inputs \"/bin/Rscript\")))\n"
  50270. " ;; @dots{}\n"
  50271. " (mkdir-p (string-append out \"/bin\"))\n"
  50272. " (call-with-output-file app\n"
  50273. " (lambda (port)\n"
  50274. " (format port\n"
  50275. "\"#!~a\n"
  50276. "library(shiny)\n"
  50277. "setwd(\\\"~a\\\")\n"
  50278. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  50279. " Rbin targetdir))))\n"
  50280. msgstr ""
  50281. #. type: cindex
  50282. #: guix-git/doc/guix.texi:33991
  50283. #, no-wrap
  50284. msgid "Nix"
  50285. msgstr ""
  50286. #. type: subsubheading
  50287. #: guix-git/doc/guix.texi:33992
  50288. #, no-wrap
  50289. msgid "Nix service"
  50290. msgstr ""
  50291. #. type: Plain text
  50292. #: guix-git/doc/guix.texi:33995
  50293. msgid "The @code{(gnu services nix)} module provides the following service."
  50294. msgstr ""
  50295. #. type: defvr
  50296. #: guix-git/doc/guix.texi:33996
  50297. #, no-wrap
  50298. msgid "{Scheme Variable} nix-service-type"
  50299. msgstr ""
  50300. #. type: defvr
  50301. #: guix-git/doc/guix.texi:34001
  50302. 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:"
  50303. msgstr ""
  50304. #. type: lisp
  50305. #: guix-git/doc/guix.texi:34006
  50306. #, no-wrap
  50307. msgid ""
  50308. "(use-modules (gnu))\n"
  50309. "(use-service-modules nix)\n"
  50310. "(use-package-modules package-management)\n"
  50311. "\n"
  50312. msgstr ""
  50313. #. type: lisp
  50314. #: guix-git/doc/guix.texi:34011
  50315. #, no-wrap
  50316. msgid ""
  50317. "(operating-system\n"
  50318. " ;; @dots{}\n"
  50319. " (packages (append (list nix)\n"
  50320. " %base-packages))\n"
  50321. "\n"
  50322. msgstr ""
  50323. #. type: lisp
  50324. #: guix-git/doc/guix.texi:34014
  50325. #, no-wrap
  50326. msgid ""
  50327. " (services (append (list (service nix-service-type))\n"
  50328. " %base-services)))\n"
  50329. msgstr ""
  50330. #. type: defvr
  50331. #: guix-git/doc/guix.texi:34017
  50332. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  50333. msgstr ""
  50334. #. type: item
  50335. #: guix-git/doc/guix.texi:34019
  50336. #, no-wrap
  50337. msgid "Add a Nix channel and update it. See"
  50338. msgstr ""
  50339. #. type: itemize
  50340. #: guix-git/doc/guix.texi:34021
  50341. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  50342. msgstr ""
  50343. #. type: item
  50344. #: guix-git/doc/guix.texi:34022
  50345. #, no-wrap
  50346. msgid "Create a symlink to your profile and activate Nix profile:"
  50347. msgstr ""
  50348. #. type: example
  50349. #: guix-git/doc/guix.texi:34028
  50350. #, no-wrap
  50351. msgid ""
  50352. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  50353. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  50354. msgstr ""
  50355. #. type: deftp
  50356. #: guix-git/doc/guix.texi:34032
  50357. #, no-wrap
  50358. msgid "{Data Type} nix-configuration"
  50359. msgstr ""
  50360. #. type: deftp
  50361. #: guix-git/doc/guix.texi:34034
  50362. msgid "This data type represents the configuration of the Nix daemon."
  50363. msgstr ""
  50364. #. type: item
  50365. #: guix-git/doc/guix.texi:34036
  50366. #, no-wrap
  50367. msgid "@code{nix} (default: @code{nix})"
  50368. msgstr ""
  50369. #. type: table
  50370. #: guix-git/doc/guix.texi:34038
  50371. msgid "The Nix package to use."
  50372. msgstr ""
  50373. #. type: item
  50374. #: guix-git/doc/guix.texi:34039
  50375. #, no-wrap
  50376. msgid "@code{sandbox} (default: @code{#t})"
  50377. msgstr ""
  50378. #. type: table
  50379. #: guix-git/doc/guix.texi:34041
  50380. msgid "Specifies whether builds are sandboxed by default."
  50381. msgstr ""
  50382. #. type: item
  50383. #: guix-git/doc/guix.texi:34042
  50384. #, no-wrap
  50385. msgid "@code{build-sandbox-items} (default: @code{'()})"
  50386. msgstr ""
  50387. #. type: table
  50388. #: guix-git/doc/guix.texi:34045
  50389. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  50390. msgstr ""
  50391. #. type: table
  50392. #: guix-git/doc/guix.texi:34053
  50393. msgid "Extra command line options for @code{nix-service-type}."
  50394. msgstr ""
  50395. #. type: cindex
  50396. #: guix-git/doc/guix.texi:34059
  50397. #, no-wrap
  50398. msgid "setuid programs"
  50399. msgstr ""
  50400. #. type: Plain text
  50401. #: guix-git/doc/guix.texi:34069
  50402. 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)."
  50403. msgstr ""
  50404. #. type: Plain text
  50405. #: guix-git/doc/guix.texi:34076
  50406. 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."
  50407. msgstr ""
  50408. #. type: Plain text
  50409. #: guix-git/doc/guix.texi:34083
  50410. msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of @code{<setuid-program>} denoting the names of programs to have a setuid or setgid bit set (@pxref{Using the Configuration System}). For instance, the @command{mount.nfs} program, which is part of the nfs-utils package, with a setuid root can be designated like this:"
  50411. msgstr ""
  50412. #. type: example
  50413. #: guix-git/doc/guix.texi:34087
  50414. #, no-wrap
  50415. msgid ""
  50416. "(setuid-program\n"
  50417. " (program (file-append nfs-utils \"/sbin/mount.nfs\")))\n"
  50418. msgstr ""
  50419. #. type: Plain text
  50420. #: guix-git/doc/guix.texi:34092
  50421. msgid "And then, to make @command{mount.nfs} setuid on your system, add the previous example to your operating system declaration by appending it to @code{%setuid-programs} like this:"
  50422. msgstr ""
  50423. #. type: example
  50424. #: guix-git/doc/guix.texi:34098
  50425. #, no-wrap
  50426. msgid ""
  50427. "(setuid-programs\n"
  50428. " (append (list (setuid-program\n"
  50429. " (program (file-append nfs-utils \"/sbin/mount.nfs\"))))\n"
  50430. " %setuid-programs))\n"
  50431. msgstr ""
  50432. #. type: deftp
  50433. #: guix-git/doc/guix.texi:34100
  50434. #, no-wrap
  50435. msgid "{Data Type} setuid-program"
  50436. msgstr ""
  50437. #. type: deftp
  50438. #: guix-git/doc/guix.texi:34102
  50439. msgid "This data type represents a program with a setuid or setgid bit set."
  50440. msgstr ""
  50441. #. type: code{#1}
  50442. #: guix-git/doc/guix.texi:34104
  50443. #, no-wrap
  50444. msgid "program"
  50445. msgstr ""
  50446. #. type: table
  50447. #: guix-git/doc/guix.texi:34106
  50448. msgid "A file-like object having its setuid and/or setgid bit set."
  50449. msgstr ""
  50450. #. type: item
  50451. #: guix-git/doc/guix.texi:34107
  50452. #, no-wrap
  50453. msgid "@code{setuid?} (default: @code{#t})"
  50454. msgstr ""
  50455. #. type: table
  50456. #: guix-git/doc/guix.texi:34109
  50457. msgid "Whether to set user setuid bit."
  50458. msgstr ""
  50459. #. type: item
  50460. #: guix-git/doc/guix.texi:34110
  50461. #, no-wrap
  50462. msgid "@code{setgid?} (default: @code{#f})"
  50463. msgstr ""
  50464. #. type: table
  50465. #: guix-git/doc/guix.texi:34112
  50466. msgid "Whether to set group setgid bit."
  50467. msgstr ""
  50468. #. type: item
  50469. #: guix-git/doc/guix.texi:34113
  50470. #, no-wrap
  50471. msgid "@code{user} (default: @code{0})"
  50472. msgstr ""
  50473. #. type: table
  50474. #: guix-git/doc/guix.texi:34116
  50475. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  50476. msgstr ""
  50477. #. type: item
  50478. #: guix-git/doc/guix.texi:34117
  50479. #, no-wrap
  50480. msgid "@code{group} (default: @code{0})"
  50481. msgstr ""
  50482. #. type: table
  50483. #: guix-git/doc/guix.texi:34120
  50484. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  50485. msgstr ""
  50486. #. type: Plain text
  50487. #: guix-git/doc/guix.texi:34126
  50488. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  50489. msgstr ""
  50490. #. type: defvr
  50491. #: guix-git/doc/guix.texi:34127
  50492. #, no-wrap
  50493. msgid "{Scheme Variable} %setuid-programs"
  50494. msgstr ""
  50495. #. type: defvr
  50496. #: guix-git/doc/guix.texi:34130
  50497. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  50498. msgstr ""
  50499. #. type: defvr
  50500. #: guix-git/doc/guix.texi:34133
  50501. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  50502. msgstr ""
  50503. #. type: Plain text
  50504. #: guix-git/doc/guix.texi:34139
  50505. 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."
  50506. msgstr ""
  50507. #. type: cindex
  50508. #: guix-git/doc/guix.texi:34143
  50509. #, no-wrap
  50510. msgid "HTTPS, certificates"
  50511. msgstr ""
  50512. #. type: cindex
  50513. #: guix-git/doc/guix.texi:34144
  50514. #, no-wrap
  50515. msgid "X.509 certificates"
  50516. msgstr ""
  50517. #. type: cindex
  50518. #: guix-git/doc/guix.texi:34145
  50519. #, no-wrap
  50520. msgid "TLS"
  50521. msgstr ""
  50522. #. type: Plain text
  50523. #: guix-git/doc/guix.texi:34152
  50524. 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."
  50525. msgstr ""
  50526. #. type: Plain text
  50527. #: guix-git/doc/guix.texi:34156
  50528. 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."
  50529. msgstr ""
  50530. #. type: Plain text
  50531. #: guix-git/doc/guix.texi:34160
  50532. 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."
  50533. msgstr ""
  50534. #. type: Plain text
  50535. #: guix-git/doc/guix.texi:34167
  50536. 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."
  50537. msgstr ""
  50538. #. type: Plain text
  50539. #: guix-git/doc/guix.texi:34172
  50540. 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."
  50541. msgstr ""
  50542. #. type: Plain text
  50543. #: guix-git/doc/guix.texi:34182
  50544. 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:"
  50545. msgstr ""
  50546. #. type: example
  50547. #: guix-git/doc/guix.texi:34188
  50548. #, no-wrap
  50549. msgid ""
  50550. "guix install nss-certs\n"
  50551. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  50552. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  50553. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  50554. msgstr ""
  50555. #. type: Plain text
  50556. #: guix-git/doc/guix.texi:34193
  50557. 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:"
  50558. msgstr ""
  50559. #. type: example
  50560. #: guix-git/doc/guix.texi:34197
  50561. #, no-wrap
  50562. msgid ""
  50563. "guix install nss-certs\n"
  50564. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  50565. msgstr ""
  50566. #. type: Plain text
  50567. #: guix-git/doc/guix.texi:34201
  50568. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  50569. msgstr ""
  50570. #. type: cindex
  50571. #: guix-git/doc/guix.texi:34206
  50572. #, no-wrap
  50573. msgid "name service switch"
  50574. msgstr ""
  50575. #. type: cindex
  50576. #: guix-git/doc/guix.texi:34207
  50577. #, no-wrap
  50578. msgid "NSS"
  50579. msgstr ""
  50580. #. type: Plain text
  50581. #: guix-git/doc/guix.texi:34216
  50582. 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})."
  50583. msgstr ""
  50584. #. type: Plain text
  50585. #: guix-git/doc/guix.texi:34223
  50586. 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}})."
  50587. msgstr ""
  50588. #. type: cindex
  50589. #: guix-git/doc/guix.texi:34224
  50590. #, no-wrap
  50591. msgid "nss-mdns"
  50592. msgstr ""
  50593. #. type: cindex
  50594. #: guix-git/doc/guix.texi:34225
  50595. #, no-wrap
  50596. msgid ".local, host name lookup"
  50597. msgstr ""
  50598. #. type: Plain text
  50599. #: guix-git/doc/guix.texi:34230
  50600. 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}:"
  50601. msgstr ""
  50602. #. type: lisp
  50603. #: guix-git/doc/guix.texi:34234
  50604. #, no-wrap
  50605. msgid ""
  50606. "(name-service-switch\n"
  50607. " (hosts (list %files ;first, check /etc/hosts\n"
  50608. "\n"
  50609. msgstr ""
  50610. #. type: lisp
  50611. #: guix-git/doc/guix.texi:34239
  50612. #, no-wrap
  50613. msgid ""
  50614. " ;; If the above did not succeed, try\n"
  50615. " ;; with 'mdns_minimal'.\n"
  50616. " (name-service\n"
  50617. " (name \"mdns_minimal\")\n"
  50618. "\n"
  50619. msgstr ""
  50620. #. type: lisp
  50621. #: guix-git/doc/guix.texi:34245
  50622. #, no-wrap
  50623. msgid ""
  50624. " ;; 'mdns_minimal' is authoritative for\n"
  50625. " ;; '.local'. When it returns \"not found\",\n"
  50626. " ;; no need to try the next methods.\n"
  50627. " (reaction (lookup-specification\n"
  50628. " (not-found => return))))\n"
  50629. "\n"
  50630. msgstr ""
  50631. #. type: lisp
  50632. #: guix-git/doc/guix.texi:34249
  50633. #, no-wrap
  50634. msgid ""
  50635. " ;; Then fall back to DNS.\n"
  50636. " (name-service\n"
  50637. " (name \"dns\"))\n"
  50638. "\n"
  50639. msgstr ""
  50640. #. type: lisp
  50641. #: guix-git/doc/guix.texi:34253
  50642. #, no-wrap
  50643. msgid ""
  50644. " ;; Finally, try with the \"full\" 'mdns'.\n"
  50645. " (name-service\n"
  50646. " (name \"mdns\")))))\n"
  50647. msgstr ""
  50648. #. type: Plain text
  50649. #: guix-git/doc/guix.texi:34258
  50650. 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."
  50651. msgstr ""
  50652. #. type: Plain text
  50653. #: guix-git/doc/guix.texi:34266
  50654. 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}})."
  50655. msgstr ""
  50656. #. type: Plain text
  50657. #: guix-git/doc/guix.texi:34269
  50658. msgid "For convenience, the following variables provide typical NSS configurations."
  50659. msgstr ""
  50660. #. type: defvr
  50661. #: guix-git/doc/guix.texi:34270
  50662. #, no-wrap
  50663. msgid "{Scheme Variable} %default-nss"
  50664. msgstr ""
  50665. #. type: defvr
  50666. #: guix-git/doc/guix.texi:34273
  50667. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  50668. msgstr ""
  50669. #. type: defvr
  50670. #: guix-git/doc/guix.texi:34275
  50671. #, no-wrap
  50672. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  50673. msgstr ""
  50674. #. type: defvr
  50675. #: guix-git/doc/guix.texi:34278
  50676. 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}."
  50677. msgstr ""
  50678. #. type: Plain text
  50679. #: guix-git/doc/guix.texi:34288
  50680. 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}."
  50681. msgstr ""
  50682. #. type: deftp
  50683. #: guix-git/doc/guix.texi:34289
  50684. #, no-wrap
  50685. msgid "{Data Type} name-service-switch"
  50686. msgstr ""
  50687. #. type: deftp
  50688. #: guix-git/doc/guix.texi:34294
  50689. 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."
  50690. msgstr ""
  50691. #. type: item
  50692. #: guix-git/doc/guix.texi:34296
  50693. #, no-wrap
  50694. msgid "aliases"
  50695. msgstr ""
  50696. #. type: itemx
  50697. #: guix-git/doc/guix.texi:34297
  50698. #, no-wrap
  50699. msgid "ethers"
  50700. msgstr ""
  50701. #. type: itemx
  50702. #: guix-git/doc/guix.texi:34299
  50703. #, no-wrap
  50704. msgid "gshadow"
  50705. msgstr ""
  50706. #. type: itemx
  50707. #: guix-git/doc/guix.texi:34300
  50708. #, no-wrap
  50709. msgid "hosts"
  50710. msgstr ""
  50711. #. type: itemx
  50712. #: guix-git/doc/guix.texi:34301
  50713. #, no-wrap
  50714. msgid "initgroups"
  50715. msgstr ""
  50716. #. type: itemx
  50717. #: guix-git/doc/guix.texi:34302
  50718. #, no-wrap
  50719. msgid "netgroup"
  50720. msgstr ""
  50721. #. type: itemx
  50722. #: guix-git/doc/guix.texi:34303
  50723. #, no-wrap
  50724. msgid "networks"
  50725. msgstr ""
  50726. #. type: itemx
  50727. #: guix-git/doc/guix.texi:34306
  50728. #, no-wrap
  50729. msgid "rpc"
  50730. msgstr ""
  50731. #. type: itemx
  50732. #: guix-git/doc/guix.texi:34308
  50733. #, no-wrap
  50734. msgid "shadow"
  50735. msgstr ""
  50736. #. type: table
  50737. #: guix-git/doc/guix.texi:34311
  50738. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  50739. msgstr ""
  50740. #. type: deftp
  50741. #: guix-git/doc/guix.texi:34314
  50742. #, no-wrap
  50743. msgid "{Data Type} name-service"
  50744. msgstr ""
  50745. #. type: deftp
  50746. #: guix-git/doc/guix.texi:34318
  50747. msgid "This is the data type representing an actual name service and the associated lookup action."
  50748. msgstr ""
  50749. #. type: table
  50750. #: guix-git/doc/guix.texi:34323
  50751. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  50752. msgstr ""
  50753. #. type: table
  50754. #: guix-git/doc/guix.texi:34328
  50755. 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}})."
  50756. msgstr ""
  50757. #. type: item
  50758. #: guix-git/doc/guix.texi:34329
  50759. #, no-wrap
  50760. msgid "reaction"
  50761. msgstr ""
  50762. #. type: table
  50763. #: guix-git/doc/guix.texi:34333
  50764. 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:"
  50765. msgstr ""
  50766. #. type: lisp
  50767. #: guix-git/doc/guix.texi:34337
  50768. #, no-wrap
  50769. msgid ""
  50770. "(lookup-specification (unavailable => continue)\n"
  50771. " (success => return))\n"
  50772. msgstr ""
  50773. #. type: Plain text
  50774. #: guix-git/doc/guix.texi:34351
  50775. 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."
  50776. msgstr ""
  50777. #. type: Plain text
  50778. #: guix-git/doc/guix.texi:34360
  50779. 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:"
  50780. msgstr ""
  50781. #. type: lisp
  50782. #: guix-git/doc/guix.texi:34365
  50783. #, no-wrap
  50784. msgid ""
  50785. "(operating-system\n"
  50786. " ;; @dots{}\n"
  50787. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  50788. msgstr ""
  50789. #. type: defvr
  50790. #: guix-git/doc/guix.texi:34367
  50791. #, no-wrap
  50792. msgid "{Scheme Variable} %base-initrd-modules"
  50793. msgstr ""
  50794. #. type: defvr
  50795. #: guix-git/doc/guix.texi:34369
  50796. msgid "This is the list of kernel modules included in the initrd by default."
  50797. msgstr ""
  50798. #. type: Plain text
  50799. #: guix-git/doc/guix.texi:34377
  50800. 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."
  50801. msgstr ""
  50802. #. type: Plain text
  50803. #: guix-git/doc/guix.texi:34382
  50804. 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:"
  50805. msgstr ""
  50806. #. type: lisp
  50807. #: guix-git/doc/guix.texi:34390
  50808. #, no-wrap
  50809. msgid ""
  50810. "(initrd (lambda (file-systems . rest)\n"
  50811. " ;; Create a standard initrd but set up networking\n"
  50812. " ;; with the parameters QEMU expects by default.\n"
  50813. " (apply base-initrd file-systems\n"
  50814. " #:qemu-networking? #t\n"
  50815. " rest)))\n"
  50816. msgstr ""
  50817. #. type: Plain text
  50818. #: guix-git/doc/guix.texi:34395
  50819. 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."
  50820. msgstr ""
  50821. #. type: Plain text
  50822. #: guix-git/doc/guix.texi:34402
  50823. 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."
  50824. msgstr ""
  50825. #. type: Plain text
  50826. #: guix-git/doc/guix.texi:34407
  50827. 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:"
  50828. msgstr ""
  50829. #. type: item
  50830. #: guix-git/doc/guix.texi:34409
  50831. #, no-wrap
  50832. msgid "--load=@var{boot}"
  50833. msgstr ""
  50834. #. type: table
  50835. #: guix-git/doc/guix.texi:34412
  50836. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  50837. msgstr ""
  50838. #. type: table
  50839. #: guix-git/doc/guix.texi:34416
  50840. 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."
  50841. msgstr ""
  50842. #. type: item
  50843. #: guix-git/doc/guix.texi:34417
  50844. #, no-wrap
  50845. msgid "--root=@var{root}"
  50846. msgstr ""
  50847. #. type: table
  50848. #: guix-git/doc/guix.texi:34422
  50849. 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."
  50850. msgstr ""
  50851. #. type: item
  50852. #: guix-git/doc/guix.texi:34423
  50853. #, no-wrap
  50854. msgid "fsck.mode=@var{mode}"
  50855. msgstr ""
  50856. #. type: table
  50857. #: guix-git/doc/guix.texi:34429
  50858. msgid "Whether to check the @var{root} file system for errors before mounting it. @var{mode} is one of @code{skip} (never check), @code{force} (always check), or @code{auto} to respect the root file-system object's 'check?' setting (@pxref{File Systems}) and run a full scan only if the file system was not cleanly shut down."
  50859. msgstr ""
  50860. #. type: table
  50861. #: guix-git/doc/guix.texi:34432
  50862. msgid "@code{auto} is the default if this option is not present or if @var{mode} is not one of the above."
  50863. msgstr ""
  50864. #. type: item
  50865. #: guix-git/doc/guix.texi:34433
  50866. #, no-wrap
  50867. msgid "fsck.repair=@var{level}"
  50868. msgstr ""
  50869. #. type: table
  50870. #: guix-git/doc/guix.texi:34438
  50871. msgid "The level of repairs to perform automatically if errors are found in the @var{root} file system. @var{level} is one of @code{no} (do not write to @var{root} at all if possible), @code{yes} (repair as much as possible), or @code{preen} to repair problems considered safe to repair automatically."
  50872. msgstr ""
  50873. #. type: table
  50874. #: guix-git/doc/guix.texi:34441
  50875. msgid "@code{preen} is the default if this option is not present or if @var{level} is not one of the above."
  50876. msgstr ""
  50877. #. type: table
  50878. #: guix-git/doc/guix.texi:34445
  50879. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  50880. msgstr ""
  50881. #. type: item
  50882. #: guix-git/doc/guix.texi:34446
  50883. #, no-wrap
  50884. msgid "modprobe.blacklist=@var{modules}@dots{}"
  50885. msgstr ""
  50886. #. type: cindex
  50887. #: guix-git/doc/guix.texi:34447
  50888. #, no-wrap
  50889. msgid "module, black-listing"
  50890. msgstr ""
  50891. #. type: cindex
  50892. #: guix-git/doc/guix.texi:34448
  50893. #, no-wrap
  50894. msgid "black list, of kernel modules"
  50895. msgstr ""
  50896. #. type: table
  50897. #: guix-git/doc/guix.texi:34453
  50898. 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}."
  50899. msgstr ""
  50900. #. type: item
  50901. #: guix-git/doc/guix.texi:34454
  50902. #, no-wrap
  50903. msgid "--repl"
  50904. msgstr ""
  50905. #. type: table
  50906. #: guix-git/doc/guix.texi:34460
  50907. 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."
  50908. msgstr ""
  50909. #. type: Plain text
  50910. #: guix-git/doc/guix.texi:34466
  50911. 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."
  50912. msgstr ""
  50913. #. type: deffn
  50914. #: guix-git/doc/guix.texi:34469
  50915. #, no-wrap
  50916. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  50917. msgstr ""
  50918. #. type: deffn
  50919. #: guix-git/doc/guix.texi:34483
  50920. 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."
  50921. msgstr ""
  50922. #. type: deffn
  50923. #: guix-git/doc/guix.texi:34489 guix-git/doc/guix.texi:34513
  50924. 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."
  50925. msgstr ""
  50926. #. type: deffn
  50927. #: guix-git/doc/guix.texi:34493
  50928. 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."
  50929. msgstr ""
  50930. #. type: deffn
  50931. #: guix-git/doc/guix.texi:34496
  50932. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  50933. msgstr ""
  50934. #. type: deffn
  50935. #: guix-git/doc/guix.texi:34498
  50936. #, no-wrap
  50937. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  50938. msgstr ""
  50939. #. type: deffn
  50940. #: guix-git/doc/guix.texi:34507
  50941. 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."
  50942. msgstr ""
  50943. #. type: deffn
  50944. #: guix-git/doc/guix.texi:34515
  50945. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  50946. msgstr ""
  50947. #. type: deffn
  50948. #: guix-git/doc/guix.texi:34520
  50949. 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."
  50950. msgstr ""
  50951. #. type: Plain text
  50952. #: guix-git/doc/guix.texi:34527
  50953. 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."
  50954. msgstr ""
  50955. #. type: deffn
  50956. #: guix-git/doc/guix.texi:34528
  50957. #, no-wrap
  50958. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  50959. msgstr ""
  50960. #. type: deffn
  50961. #: guix-git/doc/guix.texi:34534
  50962. msgid "[#:guile %guile-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."
  50963. msgstr ""
  50964. #. type: cindex
  50965. #: guix-git/doc/guix.texi:34540
  50966. #, no-wrap
  50967. msgid "boot loader"
  50968. msgstr ""
  50969. #. type: Plain text
  50970. #: guix-git/doc/guix.texi:34547
  50971. 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."
  50972. msgstr ""
  50973. #. type: Plain text
  50974. #: guix-git/doc/guix.texi:34552
  50975. 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."
  50976. msgstr ""
  50977. #. type: deftp
  50978. #: guix-git/doc/guix.texi:34553
  50979. #, no-wrap
  50980. msgid "{Data Type} bootloader-configuration"
  50981. msgstr ""
  50982. #. type: deftp
  50983. #: guix-git/doc/guix.texi:34555
  50984. msgid "The type of a bootloader configuration declaration."
  50985. msgstr ""
  50986. #. type: cindex
  50987. #: guix-git/doc/guix.texi:34559
  50988. #, no-wrap
  50989. msgid "EFI, bootloader"
  50990. msgstr ""
  50991. #. type: cindex
  50992. #: guix-git/doc/guix.texi:34560
  50993. #, no-wrap
  50994. msgid "UEFI, bootloader"
  50995. msgstr ""
  50996. #. type: cindex
  50997. #: guix-git/doc/guix.texi:34561
  50998. #, no-wrap
  50999. msgid "BIOS, bootloader"
  51000. msgstr ""
  51001. #. type: table
  51002. #: guix-git/doc/guix.texi:34566
  51003. 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."
  51004. msgstr ""
  51005. #. type: cindex
  51006. #: guix-git/doc/guix.texi:34567
  51007. #, no-wrap
  51008. msgid "ARM, bootloaders"
  51009. msgstr ""
  51010. #. type: cindex
  51011. #: guix-git/doc/guix.texi:34568
  51012. #, no-wrap
  51013. msgid "AArch64, bootloaders"
  51014. msgstr ""
  51015. #. type: table
  51016. #: guix-git/doc/guix.texi:34573
  51017. 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}."
  51018. msgstr ""
  51019. #. type: table
  51020. #: guix-git/doc/guix.texi:34579
  51021. 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."
  51022. msgstr ""
  51023. #. type: table
  51024. #: guix-git/doc/guix.texi:34583
  51025. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  51026. msgstr ""
  51027. #. type: vindex
  51028. #: guix-git/doc/guix.texi:34584
  51029. #, no-wrap
  51030. msgid "grub-efi-netboot-bootloader"
  51031. msgstr ""
  51032. #. type: table
  51033. #: guix-git/doc/guix.texi:34588
  51034. 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."
  51035. msgstr ""
  51036. #. type: table
  51037. #: guix-git/doc/guix.texi:34594
  51038. msgid "The installation of the @code{grub-efi-netboot-bootloader} generates the content of the TFTP root directory at @code{targets} (@pxref{Bootloader Configuration, @code{targets}}), to be served by a TFTP server. You may want to mount your TFTP server directories onto the @code{targets} to move the required files to the TFTP server automatically."
  51039. msgstr ""
  51040. #. type: table
  51041. #: guix-git/doc/guix.texi:34603
  51042. 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}."
  51043. msgstr ""
  51044. #. type: table
  51045. #: guix-git/doc/guix.texi:34612
  51046. msgid "Two symlinks are created to make this possible. For each target in the @code{targets} field, the first symlink is @samp{target}@file{/efi/Guix/boot/grub/grub.cfg} pointing to @file{../../../boot/grub/grub.cfg}, where @samp{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 @samp{target}@file{/gnu/store} and points to @file{../gnu/store}. This link is leaving the served TFTP root directory."
  51047. msgstr ""
  51048. #. type: table
  51049. #: guix-git/doc/guix.texi:34618
  51050. 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{targets} directories—usually a single @file{/boot}—from that same root file system for your Guix system. In this constellation the symlinks will work."
  51051. msgstr ""
  51052. #. type: table
  51053. #: guix-git/doc/guix.texi:34623
  51054. 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 to your @code{targets}."
  51055. msgstr ""
  51056. #. type: table
  51057. #: guix-git/doc/guix.texi:34628
  51058. 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."
  51059. msgstr ""
  51060. #. type: table
  51061. #: guix-git/doc/guix.texi:34633
  51062. 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}."
  51063. msgstr ""
  51064. #. type: table
  51065. #: guix-git/doc/guix.texi:34637
  51066. msgid "This is a list of strings denoting the targets onto which to install the bootloader."
  51067. msgstr ""
  51068. #. type: table
  51069. #: guix-git/doc/guix.texi:34647
  51070. msgid "The interpretation of targets depends on the bootloader in question. For @code{grub-bootloader}, for example, they should be device names 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}, they should be mount points of the EFI file system, usually @file{/boot/efi}. For @code{grub-efi-netboot-bootloader}, @code{targets} should be the mount points corresponding to TFTP root directories served by your TFTP server."
  51071. msgstr ""
  51072. #. type: item
  51073. #: guix-git/doc/guix.texi:34648
  51074. #, no-wrap
  51075. msgid "@code{menu-entries} (default: @code{()})"
  51076. msgstr ""
  51077. #. type: table
  51078. #: guix-git/doc/guix.texi:34652
  51079. 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."
  51080. msgstr ""
  51081. #. type: item
  51082. #: guix-git/doc/guix.texi:34653
  51083. #, no-wrap
  51084. msgid "@code{default-entry} (default: @code{0})"
  51085. msgstr ""
  51086. #. type: table
  51087. #: guix-git/doc/guix.texi:34656
  51088. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  51089. msgstr ""
  51090. #. type: item
  51091. #: guix-git/doc/guix.texi:34657
  51092. #, no-wrap
  51093. msgid "@code{timeout} (default: @code{5})"
  51094. msgstr ""
  51095. #. type: table
  51096. #: guix-git/doc/guix.texi:34660
  51097. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  51098. msgstr ""
  51099. #. type: cindex
  51100. #: guix-git/doc/guix.texi:34661
  51101. #, no-wrap
  51102. msgid "keyboard layout, for the bootloader"
  51103. msgstr ""
  51104. #. type: table
  51105. #: guix-git/doc/guix.texi:34665
  51106. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  51107. msgstr ""
  51108. #. type: table
  51109. #: guix-git/doc/guix.texi:34668
  51110. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  51111. msgstr ""
  51112. #. type: quotation
  51113. #: guix-git/doc/guix.texi:34672
  51114. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  51115. msgstr ""
  51116. #. type: item
  51117. #: guix-git/doc/guix.texi:34674
  51118. #, no-wrap
  51119. msgid "@code{theme} (default: @var{#f})"
  51120. msgstr ""
  51121. #. type: table
  51122. #: guix-git/doc/guix.texi:34678
  51123. 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."
  51124. msgstr ""
  51125. #. type: item
  51126. #: guix-git/doc/guix.texi:34679
  51127. #, no-wrap
  51128. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  51129. msgstr ""
  51130. #. type: table
  51131. #: guix-git/doc/guix.texi:34686
  51132. 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})."
  51133. msgstr ""
  51134. #. type: item
  51135. #: guix-git/doc/guix.texi:34687
  51136. #, no-wrap
  51137. msgid "@code{terminal-inputs} (default: @code{'()})"
  51138. msgstr ""
  51139. #. type: table
  51140. #: guix-git/doc/guix.texi:34695
  51141. 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})."
  51142. msgstr ""
  51143. #. type: item
  51144. #: guix-git/doc/guix.texi:34696
  51145. #, no-wrap
  51146. msgid "@code{serial-unit} (default: @code{#f})"
  51147. msgstr ""
  51148. #. type: table
  51149. #: guix-git/doc/guix.texi:34700
  51150. 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})."
  51151. msgstr ""
  51152. #. type: item
  51153. #: guix-git/doc/guix.texi:34701
  51154. #, no-wrap
  51155. msgid "@code{serial-speed} (default: @code{#f})"
  51156. msgstr ""
  51157. #. type: table
  51158. #: guix-git/doc/guix.texi:34705
  51159. 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})."
  51160. msgstr ""
  51161. #. type: cindex
  51162. #: guix-git/doc/guix.texi:34709
  51163. #, no-wrap
  51164. msgid "dual boot"
  51165. msgstr ""
  51166. #. type: cindex
  51167. #: guix-git/doc/guix.texi:34710
  51168. #, no-wrap
  51169. msgid "boot menu"
  51170. msgstr ""
  51171. #. type: Plain text
  51172. #: guix-git/doc/guix.texi:34716
  51173. 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:"
  51174. msgstr ""
  51175. #. type: lisp
  51176. #: guix-git/doc/guix.texi:34723
  51177. #, no-wrap
  51178. msgid ""
  51179. "(menu-entry\n"
  51180. " (label \"The Other Distro\")\n"
  51181. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  51182. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  51183. " (initrd \"/boot/old/initrd\"))\n"
  51184. msgstr ""
  51185. #. type: Plain text
  51186. #: guix-git/doc/guix.texi:34726
  51187. msgid "Details below."
  51188. msgstr ""
  51189. #. type: deftp
  51190. #: guix-git/doc/guix.texi:34727
  51191. #, no-wrap
  51192. msgid "{Data Type} menu-entry"
  51193. msgstr ""
  51194. #. type: deftp
  51195. #: guix-git/doc/guix.texi:34729
  51196. msgid "The type of an entry in the bootloader menu."
  51197. msgstr ""
  51198. #. type: table
  51199. #: guix-git/doc/guix.texi:34734
  51200. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  51201. msgstr ""
  51202. #. type: item
  51203. #: guix-git/doc/guix.texi:34735
  51204. #, no-wrap
  51205. msgid "@code{linux} (default: @code{#f})"
  51206. msgstr ""
  51207. #. type: table
  51208. #: guix-git/doc/guix.texi:34737
  51209. msgid "The Linux kernel image to boot, for example:"
  51210. msgstr ""
  51211. #. type: lisp
  51212. #: guix-git/doc/guix.texi:34740
  51213. #, no-wrap
  51214. msgid "(file-append linux-libre \"/bzImage\")\n"
  51215. msgstr ""
  51216. #. type: table
  51217. #: guix-git/doc/guix.texi:34745
  51218. 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:"
  51219. msgstr ""
  51220. #. type: example
  51221. #: guix-git/doc/guix.texi:34748
  51222. #, no-wrap
  51223. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  51224. msgstr ""
  51225. #. type: table
  51226. #: guix-git/doc/guix.texi:34752
  51227. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  51228. msgstr ""
  51229. #. type: item
  51230. #: guix-git/doc/guix.texi:34753
  51231. #, no-wrap
  51232. msgid "@code{linux-arguments} (default: @code{()})"
  51233. msgstr ""
  51234. #. type: table
  51235. #: guix-git/doc/guix.texi:34756
  51236. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  51237. msgstr ""
  51238. #. type: item
  51239. #: guix-git/doc/guix.texi:34757
  51240. #, no-wrap
  51241. msgid "@code{initrd} (default: @code{#f})"
  51242. msgstr ""
  51243. #. type: table
  51244. #: guix-git/doc/guix.texi:34760
  51245. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  51246. msgstr ""
  51247. #. type: table
  51248. #: guix-git/doc/guix.texi:34764
  51249. 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})."
  51250. msgstr ""
  51251. #. type: table
  51252. #: guix-git/doc/guix.texi:34770
  51253. 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}."
  51254. msgstr ""
  51255. #. type: item
  51256. #: guix-git/doc/guix.texi:34771
  51257. #, no-wrap
  51258. msgid "@code{multiboot-kernel} (default: @code{#f})"
  51259. msgstr ""
  51260. #. type: table
  51261. #: guix-git/doc/guix.texi:34775
  51262. 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:"
  51263. msgstr ""
  51264. #. type: lisp
  51265. #: guix-git/doc/guix.texi:34778
  51266. #, no-wrap
  51267. msgid "(file-append mach \"/boot/gnumach\")\n"
  51268. msgstr ""
  51269. #. type: item
  51270. #: guix-git/doc/guix.texi:34780
  51271. #, no-wrap
  51272. msgid "@code{multiboot-arguments} (default: @code{()})"
  51273. msgstr ""
  51274. #. type: table
  51275. #: guix-git/doc/guix.texi:34782
  51276. msgid "The list of extra command-line arguments for the multiboot-kernel."
  51277. msgstr ""
  51278. #. type: item
  51279. #: guix-git/doc/guix.texi:34783
  51280. #, no-wrap
  51281. msgid "@code{multiboot-modules} (default: @code{()})"
  51282. msgstr ""
  51283. #. type: table
  51284. #: guix-git/doc/guix.texi:34785
  51285. msgid "The list of commands for loading Multiboot modules. For example:"
  51286. msgstr ""
  51287. #. type: lisp
  51288. #: guix-git/doc/guix.texi:34791
  51289. #, no-wrap
  51290. msgid ""
  51291. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  51292. " @dots{})\n"
  51293. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  51294. " @dots{}))\n"
  51295. msgstr ""
  51296. #. type: cindex
  51297. #: guix-git/doc/guix.texi:34796 guix-git/doc/guix.texi:34855
  51298. #, no-wrap
  51299. msgid "HDPI"
  51300. msgstr ""
  51301. #. type: cindex
  51302. #: guix-git/doc/guix.texi:34797 guix-git/doc/guix.texi:34856
  51303. #, no-wrap
  51304. msgid "HiDPI"
  51305. msgstr ""
  51306. #. type: cindex
  51307. #: guix-git/doc/guix.texi:34798 guix-git/doc/guix.texi:34857
  51308. #, no-wrap
  51309. msgid "resolution"
  51310. msgstr ""
  51311. #. type: Plain text
  51312. #: guix-git/doc/guix.texi:34802
  51313. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  51314. msgstr ""
  51315. #. type: deftp
  51316. #: guix-git/doc/guix.texi:34803
  51317. #, no-wrap
  51318. msgid "{Data Type} grub-theme"
  51319. msgstr ""
  51320. #. type: deftp
  51321. #: guix-git/doc/guix.texi:34805
  51322. msgid "Data type representing the configuration of the GRUB theme."
  51323. msgstr ""
  51324. #. type: item
  51325. #: guix-git/doc/guix.texi:34807
  51326. #, no-wrap
  51327. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  51328. msgstr ""
  51329. #. type: table
  51330. #: guix-git/doc/guix.texi:34810
  51331. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  51332. msgstr ""
  51333. #. type: deffn
  51334. #: guix-git/doc/guix.texi:34813
  51335. #, no-wrap
  51336. msgid "{Scheme Procedure} grub-theme"
  51337. msgstr ""
  51338. #. type: deffn
  51339. #: guix-git/doc/guix.texi:34817
  51340. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  51341. msgstr ""
  51342. #. type: deffn
  51343. #: guix-git/doc/guix.texi:34820
  51344. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  51345. msgstr ""
  51346. #. type: Plain text
  51347. #: guix-git/doc/guix.texi:34824
  51348. msgid "For example, to override the default resolution, you may use something like"
  51349. msgstr ""
  51350. #. type: lisp
  51351. #: guix-git/doc/guix.texi:34832
  51352. #, no-wrap
  51353. msgid ""
  51354. "(bootloader\n"
  51355. " (bootloader-configuration\n"
  51356. " ;; @dots{}\n"
  51357. " (theme (grub-theme\n"
  51358. " (inherit (grub-theme))\n"
  51359. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  51360. msgstr ""
  51361. #. type: section
  51362. #: guix-git/doc/guix.texi:34835
  51363. #, no-wrap
  51364. msgid "Invoking @code{guix system}"
  51365. msgstr ""
  51366. #. type: Plain text
  51367. #: guix-git/doc/guix.texi:34840
  51368. 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:"
  51369. msgstr ""
  51370. #. type: example
  51371. #: guix-git/doc/guix.texi:34843
  51372. #, no-wrap
  51373. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  51374. msgstr ""
  51375. #. type: Plain text
  51376. #: guix-git/doc/guix.texi:34849
  51377. 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:"
  51378. msgstr ""
  51379. #. type: item
  51380. #: guix-git/doc/guix.texi:34851 guix-git/doc/guix.texi:37496
  51381. #, no-wrap
  51382. msgid "search"
  51383. msgstr ""
  51384. #. type: table
  51385. #: guix-git/doc/guix.texi:34854
  51386. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  51387. msgstr ""
  51388. #. type: example
  51389. #: guix-git/doc/guix.texi:34876
  51390. #, no-wrap
  51391. msgid ""
  51392. "$ guix system search console\n"
  51393. "name: console-fonts\n"
  51394. "location: gnu/services/base.scm:806:2\n"
  51395. "extends: shepherd-root\n"
  51396. "description: Install the given fonts on the specified ttys (fonts are per\n"
  51397. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  51398. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  51399. "+ package or any valid argument to `setfont', as in this example:\n"
  51400. "+\n"
  51401. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  51402. "+ (\"tty2\" . (file-append\n"
  51403. "+ font-tamzen\n"
  51404. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  51405. "+ (\"tty3\" . (file-append\n"
  51406. "+ font-terminus\n"
  51407. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  51408. "relevance: 9\n"
  51409. "\n"
  51410. msgstr ""
  51411. #. type: example
  51412. #: guix-git/doc/guix.texi:34882
  51413. #, no-wrap
  51414. msgid ""
  51415. "name: mingetty\n"
  51416. "location: gnu/services/base.scm:1190:2\n"
  51417. "extends: shepherd-root\n"
  51418. "description: Provide console login using the `mingetty' program.\n"
  51419. "relevance: 2\n"
  51420. "\n"
  51421. msgstr ""
  51422. #. type: example
  51423. #: guix-git/doc/guix.texi:34889
  51424. #, no-wrap
  51425. msgid ""
  51426. "name: login\n"
  51427. "location: gnu/services/base.scm:860:2\n"
  51428. "extends: pam\n"
  51429. "description: Provide a console log-in service as specified by its\n"
  51430. "+ configuration value, a `login-configuration' object.\n"
  51431. "relevance: 2\n"
  51432. "\n"
  51433. msgstr ""
  51434. #. type: example
  51435. #: guix-git/doc/guix.texi:34891 guix-git/doc/guix.texi:37549
  51436. #, no-wrap
  51437. msgid "@dots{}\n"
  51438. msgstr ""
  51439. #. type: table
  51440. #: guix-git/doc/guix.texi:34896 guix-git/doc/guix.texi:37554
  51441. 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})."
  51442. msgstr ""
  51443. #. type: item
  51444. #: guix-git/doc/guix.texi:34897 guix-git/doc/guix.texi:37555
  51445. #, no-wrap
  51446. msgid "reconfigure"
  51447. msgstr ""
  51448. #. type: table
  51449. #: guix-git/doc/guix.texi:34902
  51450. 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.}."
  51451. msgstr ""
  51452. #. type: quotation
  51453. #: guix-git/doc/guix.texi:34910
  51454. 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."
  51455. msgstr ""
  51456. #. type: table
  51457. #: guix-git/doc/guix.texi:34918
  51458. 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})."
  51459. msgstr ""
  51460. #. type: table
  51461. #: guix-git/doc/guix.texi:34924
  51462. 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})."
  51463. msgstr ""
  51464. #. type: table
  51465. #: guix-git/doc/guix.texi:34929
  51466. 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."
  51467. msgstr ""
  51468. #. type: cindex
  51469. #: guix-git/doc/guix.texi:34930 guix-git/doc/guix.texi:35261
  51470. #: guix-git/doc/guix.texi:36223
  51471. #, no-wrap
  51472. msgid "provenance tracking, of the operating system"
  51473. msgstr ""
  51474. #. type: table
  51475. #: guix-git/doc/guix.texi:34935
  51476. 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:"
  51477. msgstr ""
  51478. #. type: example
  51479. #: guix-git/doc/guix.texi:34938
  51480. #, no-wrap
  51481. msgid "guix system describe\n"
  51482. msgstr ""
  51483. #. type: table
  51484. #: guix-git/doc/guix.texi:34944
  51485. 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:"
  51486. msgstr ""
  51487. #. type: example
  51488. #: guix-git/doc/guix.texi:34950
  51489. #, no-wrap
  51490. msgid ""
  51491. "guix time-machine \\\n"
  51492. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  51493. " system reconfigure \\\n"
  51494. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  51495. msgstr ""
  51496. #. type: table
  51497. #: guix-git/doc/guix.texi:34956
  51498. 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."
  51499. msgstr ""
  51500. #. type: table
  51501. #: guix-git/doc/guix.texi:34962
  51502. 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}."
  51503. msgstr ""
  51504. #. type: item
  51505. #: guix-git/doc/guix.texi:34963 guix-git/doc/guix.texi:37614
  51506. #, no-wrap
  51507. msgid "switch-generation"
  51508. msgstr ""
  51509. #. type: table
  51510. #: guix-git/doc/guix.texi:34972
  51511. 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."
  51512. msgstr ""
  51513. #. type: table
  51514. #: guix-git/doc/guix.texi:34976
  51515. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  51516. msgstr ""
  51517. #. type: table
  51518. #: guix-git/doc/guix.texi:34980
  51519. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  51520. msgstr ""
  51521. #. type: example
  51522. #: guix-git/doc/guix.texi:34983
  51523. #, no-wrap
  51524. msgid "guix system switch-generation 7\n"
  51525. msgstr ""
  51526. #. type: table
  51527. #: guix-git/doc/guix.texi:34991 guix-git/doc/guix.texi:37633
  51528. 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:"
  51529. msgstr ""
  51530. #. type: example
  51531. #: guix-git/doc/guix.texi:34994
  51532. #, no-wrap
  51533. msgid "guix system switch-generation -- -1\n"
  51534. msgstr ""
  51535. #. type: table
  51536. #: guix-git/doc/guix.texi:35002
  51537. 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."
  51538. msgstr ""
  51539. #. type: table
  51540. #: guix-git/doc/guix.texi:35004 guix-git/doc/guix.texi:37639
  51541. msgid "This action will fail if the specified generation does not exist."
  51542. msgstr ""
  51543. #. type: item
  51544. #: guix-git/doc/guix.texi:35005 guix-git/doc/guix.texi:37640
  51545. #, no-wrap
  51546. msgid "roll-back"
  51547. msgstr ""
  51548. #. type: table
  51549. #: guix-git/doc/guix.texi:35011
  51550. 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}."
  51551. msgstr ""
  51552. #. type: table
  51553. #: guix-git/doc/guix.texi:35015
  51554. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  51555. msgstr ""
  51556. #. type: item
  51557. #: guix-git/doc/guix.texi:35016 guix-git/doc/guix.texi:37646
  51558. #, no-wrap
  51559. msgid "delete-generations"
  51560. msgstr ""
  51561. #. type: cindex
  51562. #: guix-git/doc/guix.texi:35017
  51563. #, no-wrap
  51564. msgid "deleting system generations"
  51565. msgstr ""
  51566. #. type: cindex
  51567. #: guix-git/doc/guix.texi:35018 guix-git/doc/guix.texi:37648
  51568. #, no-wrap
  51569. msgid "saving space"
  51570. msgstr ""
  51571. #. type: table
  51572. #: guix-git/doc/guix.texi:35022
  51573. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  51574. msgstr ""
  51575. #. type: table
  51576. #: guix-git/doc/guix.texi:35026
  51577. 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:"
  51578. msgstr ""
  51579. #. type: example
  51580. #: guix-git/doc/guix.texi:35029
  51581. #, no-wrap
  51582. msgid "guix system delete-generations\n"
  51583. msgstr ""
  51584. #. type: table
  51585. #: guix-git/doc/guix.texi:35033
  51586. msgid "You can also select the generations you want to delete. The example below deletes all the system generations that are more than two months old:"
  51587. msgstr ""
  51588. #. type: example
  51589. #: guix-git/doc/guix.texi:35036
  51590. #, no-wrap
  51591. msgid "guix system delete-generations 2m\n"
  51592. msgstr ""
  51593. #. type: table
  51594. #: guix-git/doc/guix.texi:35041
  51595. 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."
  51596. msgstr ""
  51597. #. type: table
  51598. #: guix-git/doc/guix.texi:35046
  51599. 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."
  51600. msgstr ""
  51601. #. type: item
  51602. #: guix-git/doc/guix.texi:35047
  51603. #, no-wrap
  51604. msgid "init"
  51605. msgstr ""
  51606. #. type: table
  51607. #: guix-git/doc/guix.texi:35051
  51608. 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:"
  51609. msgstr ""
  51610. #. type: example
  51611. #: guix-git/doc/guix.texi:35054
  51612. #, no-wrap
  51613. msgid "guix system init my-os-config.scm /mnt\n"
  51614. msgstr ""
  51615. #. type: table
  51616. #: guix-git/doc/guix.texi:35061
  51617. 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."
  51618. msgstr ""
  51619. #. type: table
  51620. #: guix-git/doc/guix.texi:35065
  51621. msgid "This command also installs bootloader on the targets specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  51622. msgstr ""
  51623. #. type: item
  51624. #: guix-git/doc/guix.texi:35066
  51625. #, no-wrap
  51626. msgid "vm"
  51627. msgstr ""
  51628. #. type: cindex
  51629. #: guix-git/doc/guix.texi:35067 guix-git/doc/guix.texi:35634
  51630. #, no-wrap
  51631. msgid "virtual machine"
  51632. msgstr ""
  51633. #. type: cindex
  51634. #: guix-git/doc/guix.texi:35068
  51635. #, no-wrap
  51636. msgid "VM"
  51637. msgstr ""
  51638. #. type: anchor{#1}
  51639. #: guix-git/doc/guix.texi:35072
  51640. msgid "guix system vm"
  51641. msgstr ""
  51642. #. type: table
  51643. #: guix-git/doc/guix.texi:35072
  51644. msgid "Build a virtual machine (VM) that contains the operating system declared in @var{file}, and return a script to run that VM."
  51645. msgstr ""
  51646. #. type: quotation
  51647. #: guix-git/doc/guix.texi:35080
  51648. 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})."
  51649. msgstr ""
  51650. #. type: table
  51651. #: guix-git/doc/guix.texi:35085
  51652. 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:"
  51653. msgstr ""
  51654. #. type: example
  51655. #: guix-git/doc/guix.texi:35088
  51656. #, no-wrap
  51657. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  51658. msgstr ""
  51659. #. type: table
  51660. #: guix-git/doc/guix.texi:35091
  51661. msgid "It's possible to combine the two steps into one:"
  51662. msgstr ""
  51663. #. type: example
  51664. #: guix-git/doc/guix.texi:35094
  51665. #, no-wrap
  51666. msgid "$ $(guix system vm my-config.scm) -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  51667. msgstr ""
  51668. #. type: table
  51669. #: guix-git/doc/guix.texi:35097
  51670. msgid "The VM shares its store with the host system."
  51671. msgstr ""
  51672. #. type: table
  51673. #: guix-git/doc/guix.texi:35102
  51674. 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."
  51675. msgstr ""
  51676. #. type: table
  51677. #: guix-git/doc/guix.texi:35106
  51678. 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:"
  51679. msgstr ""
  51680. #. type: example
  51681. #: guix-git/doc/guix.texi:35110
  51682. #, no-wrap
  51683. msgid ""
  51684. "guix system vm my-config.scm \\\n"
  51685. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  51686. msgstr ""
  51687. #. type: table
  51688. #: guix-git/doc/guix.texi:35115
  51689. 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."
  51690. msgstr ""
  51691. #. type: table
  51692. #: guix-git/doc/guix.texi:35120
  51693. 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."
  51694. msgstr ""
  51695. #. type: table
  51696. #: guix-git/doc/guix.texi:35123
  51697. msgid "The @option{--image-size} option can be used to specify the size of the image."
  51698. msgstr ""
  51699. #. type: table
  51700. #: guix-git/doc/guix.texi:35130
  51701. msgid "The @option{--no-graphic} option will instruct @command{guix system} to spawn a headless VM that will use the invoking tty for IO. Among other things, this enables copy-pasting, and scrollback. Use the @kbd{ctrl-a} prefix to issue QEMU commands; e.g. @kbd{ctrl-a h} prints a help, @kbd{ctrl-a x} quits the VM, and @kbd{ctrl-a c} switches between the QEMU monitor and the VM."
  51702. msgstr ""
  51703. #. type: cindex
  51704. #: guix-git/doc/guix.texi:35131
  51705. #, no-wrap
  51706. msgid "System images, creation in various formats"
  51707. msgstr ""
  51708. #. type: cindex
  51709. #: guix-git/doc/guix.texi:35132
  51710. #, no-wrap
  51711. msgid "Creating system images in various formats"
  51712. msgstr ""
  51713. #. type: item
  51714. #: guix-git/doc/guix.texi:35133
  51715. #, no-wrap
  51716. msgid "image"
  51717. msgstr ""
  51718. #. type: cindex
  51719. #: guix-git/doc/guix.texi:35134
  51720. #, no-wrap
  51721. msgid "image, creating disk images"
  51722. msgstr ""
  51723. #. type: table
  51724. #: guix-git/doc/guix.texi:35146
  51725. 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:"
  51726. msgstr ""
  51727. #. type: example
  51728. #: guix-git/doc/guix.texi:35154
  51729. #, no-wrap
  51730. msgid ""
  51731. "image=$(guix system image --image-type=qcow2 \\\n"
  51732. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  51733. "cp $image /tmp/my-image.qcow2\n"
  51734. "chmod +w /tmp/my-image.qcow2\n"
  51735. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  51736. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  51737. msgstr ""
  51738. #. type: table
  51739. #: guix-git/doc/guix.texi:35160
  51740. 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:"
  51741. msgstr ""
  51742. #. type: example
  51743. #: guix-git/doc/guix.texi:35163
  51744. #, no-wrap
  51745. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  51746. msgstr ""
  51747. #. type: table
  51748. #: guix-git/doc/guix.texi:35167
  51749. msgid "The @code{--list-image-types} command lists all the available image types."
  51750. msgstr ""
  51751. #. type: cindex
  51752. #: guix-git/doc/guix.texi:35168
  51753. #, no-wrap
  51754. msgid "creating virtual machine images"
  51755. msgstr ""
  51756. #. type: table
  51757. #: guix-git/doc/guix.texi:35177
  51758. 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)."
  51759. msgstr ""
  51760. #. type: cindex
  51761. #: guix-git/doc/guix.texi:35178
  51762. #, no-wrap
  51763. msgid "docker-image, creating docker images"
  51764. msgstr ""
  51765. #. type: table
  51766. #: guix-git/doc/guix.texi:35184
  51767. msgid "When using the @code{docker} image type, 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:"
  51768. msgstr ""
  51769. #. type: example
  51770. #: guix-git/doc/guix.texi:35189
  51771. #, no-wrap
  51772. msgid ""
  51773. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  51774. "container_id=\"$(docker create $image_id)\"\n"
  51775. "docker start $container_id\n"
  51776. msgstr ""
  51777. #. type: table
  51778. #: guix-git/doc/guix.texi:35196
  51779. 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}:"
  51780. msgstr ""
  51781. #. type: example
  51782. #: guix-git/doc/guix.texi:35199
  51783. #, no-wrap
  51784. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  51785. msgstr ""
  51786. #. type: table
  51787. #: guix-git/doc/guix.texi:35206
  51788. 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}."
  51789. msgstr ""
  51790. #. type: table
  51791. #: guix-git/doc/guix.texi:35210
  51792. 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."
  51793. msgstr ""
  51794. #. type: table
  51795. #: guix-git/doc/guix.texi:35218
  51796. 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."
  51797. msgstr ""
  51798. #. type: table
  51799. #: guix-git/doc/guix.texi:35222
  51800. 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."
  51801. msgstr ""
  51802. #. type: table
  51803. #: guix-git/doc/guix.texi:35226
  51804. 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:"
  51805. msgstr ""
  51806. #. type: example
  51807. #: guix-git/doc/guix.texi:35230
  51808. #, no-wrap
  51809. msgid ""
  51810. "guix system container my-config.scm \\\n"
  51811. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  51812. msgstr ""
  51813. #. type: quotation
  51814. #: guix-git/doc/guix.texi:35234
  51815. msgid "This option requires Linux-libre 3.19 or newer."
  51816. msgstr ""
  51817. #. type: Plain text
  51818. #: guix-git/doc/guix.texi:35241 guix-git/doc/guix.texi:37710
  51819. 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:"
  51820. msgstr ""
  51821. #. type: table
  51822. #: guix-git/doc/guix.texi:35250
  51823. 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})."
  51824. msgstr ""
  51825. #. type: table
  51826. #: guix-git/doc/guix.texi:35255
  51827. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  51828. msgstr ""
  51829. #. type: table
  51830. #: guix-git/doc/guix.texi:35260
  51831. msgid "Return the derivation file name of the given operating system without building anything."
  51832. msgstr ""
  51833. #. type: table
  51834. #: guix-git/doc/guix.texi:35269
  51835. 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:"
  51836. msgstr ""
  51837. #. type: example
  51838. #: guix-git/doc/guix.texi:35272
  51839. #, no-wrap
  51840. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  51841. msgstr ""
  51842. #. type: table
  51843. #: guix-git/doc/guix.texi:35279
  51844. 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."
  51845. msgstr ""
  51846. #. type: item
  51847. #: guix-git/doc/guix.texi:35280
  51848. #, no-wrap
  51849. msgid "--image-type=@var{type}"
  51850. msgstr ""
  51851. #. type: table
  51852. #: guix-git/doc/guix.texi:35283
  51853. msgid "For the @code{image} action, create an image with given @var{type}."
  51854. msgstr ""
  51855. #. type: table
  51856. #: guix-git/doc/guix.texi:35286
  51857. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  51858. msgstr ""
  51859. #. type: cindex
  51860. #: guix-git/doc/guix.texi:35287
  51861. #, no-wrap
  51862. msgid "ISO-9660 format"
  51863. msgstr ""
  51864. #. type: cindex
  51865. #: guix-git/doc/guix.texi:35288
  51866. #, no-wrap
  51867. msgid "CD image format"
  51868. msgstr ""
  51869. #. type: cindex
  51870. #: guix-git/doc/guix.texi:35289
  51871. #, no-wrap
  51872. msgid "DVD image format"
  51873. msgstr ""
  51874. #. type: table
  51875. #: guix-git/doc/guix.texi:35292
  51876. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  51877. msgstr ""
  51878. #. type: item
  51879. #: guix-git/doc/guix.texi:35293
  51880. #, no-wrap
  51881. msgid "--image-size=@var{size}"
  51882. msgstr ""
  51883. #. type: table
  51884. #: guix-git/doc/guix.texi:35298
  51885. 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})."
  51886. msgstr ""
  51887. #. type: table
  51888. #: guix-git/doc/guix.texi:35302
  51889. 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}."
  51890. msgstr ""
  51891. #. type: table
  51892. #: guix-git/doc/guix.texi:35307
  51893. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  51894. msgstr ""
  51895. #. type: item
  51896. #: guix-git/doc/guix.texi:35313
  51897. #, no-wrap
  51898. msgid "--skip-checks"
  51899. msgstr ""
  51900. #. type: table
  51901. #: guix-git/doc/guix.texi:35315
  51902. msgid "Skip pre-installation safety checks."
  51903. msgstr ""
  51904. #. type: table
  51905. #: guix-git/doc/guix.texi:35322
  51906. 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."
  51907. msgstr ""
  51908. #. type: table
  51909. #: guix-git/doc/guix.texi:35325
  51910. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  51911. msgstr ""
  51912. #. type: table
  51913. #: guix-git/doc/guix.texi:35333
  51914. 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."
  51915. msgstr ""
  51916. #. type: cindex
  51917. #: guix-git/doc/guix.texi:35339
  51918. #, no-wrap
  51919. msgid "on-error"
  51920. msgstr ""
  51921. #. type: cindex
  51922. #: guix-git/doc/guix.texi:35340
  51923. #, no-wrap
  51924. msgid "on-error strategy"
  51925. msgstr ""
  51926. #. type: cindex
  51927. #: guix-git/doc/guix.texi:35341
  51928. #, no-wrap
  51929. msgid "error strategy"
  51930. msgstr ""
  51931. #. type: item
  51932. #: guix-git/doc/guix.texi:35342
  51933. #, no-wrap
  51934. msgid "--on-error=@var{strategy}"
  51935. msgstr ""
  51936. #. type: table
  51937. #: guix-git/doc/guix.texi:35345
  51938. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  51939. msgstr ""
  51940. #. type: item
  51941. #: guix-git/doc/guix.texi:35347
  51942. #, no-wrap
  51943. msgid "nothing-special"
  51944. msgstr ""
  51945. #. type: table
  51946. #: guix-git/doc/guix.texi:35349
  51947. msgid "Report the error concisely and exit. This is the default strategy."
  51948. msgstr ""
  51949. #. type: item
  51950. #: guix-git/doc/guix.texi:35350
  51951. #, no-wrap
  51952. msgid "backtrace"
  51953. msgstr ""
  51954. #. type: table
  51955. #: guix-git/doc/guix.texi:35352
  51956. msgid "Likewise, but also display a backtrace."
  51957. msgstr ""
  51958. #. type: item
  51959. #: guix-git/doc/guix.texi:35353
  51960. #, no-wrap
  51961. msgid "debug"
  51962. msgstr ""
  51963. #. type: table
  51964. #: guix-git/doc/guix.texi:35359
  51965. 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."
  51966. msgstr ""
  51967. #. type: Plain text
  51968. #: guix-git/doc/guix.texi:35366
  51969. 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:"
  51970. msgstr ""
  51971. #. type: item
  51972. #: guix-git/doc/guix.texi:35369 guix-git/doc/guix.texi:37673
  51973. #, no-wrap
  51974. msgid "describe"
  51975. msgstr ""
  51976. #. type: table
  51977. #: guix-git/doc/guix.texi:35372
  51978. msgid "Describe the current system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  51979. msgstr ""
  51980. #. type: item
  51981. #: guix-git/doc/guix.texi:35373 guix-git/doc/guix.texi:37677
  51982. #, no-wrap
  51983. msgid "list-generations"
  51984. msgstr ""
  51985. #. type: table
  51986. #: guix-git/doc/guix.texi:35378
  51987. 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})."
  51988. msgstr ""
  51989. #. type: table
  51990. #: guix-git/doc/guix.texi:35383 guix-git/doc/guix.texi:37687
  51991. 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:"
  51992. msgstr ""
  51993. #. type: example
  51994. #: guix-git/doc/guix.texi:35386
  51995. #, no-wrap
  51996. msgid "$ guix system list-generations 10d\n"
  51997. msgstr ""
  51998. #. type: Plain text
  51999. #: guix-git/doc/guix.texi:35393
  52000. 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:"
  52001. msgstr ""
  52002. #. type: anchor{#1}
  52003. #: guix-git/doc/guix.texi:35395
  52004. msgid "system-extension-graph"
  52005. msgstr ""
  52006. #. type: item
  52007. #: guix-git/doc/guix.texi:35397
  52008. #, no-wrap
  52009. msgid "extension-graph"
  52010. msgstr ""
  52011. #. type: table
  52012. #: guix-git/doc/guix.texi:35404
  52013. 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}}):"
  52014. msgstr ""
  52015. #. type: table
  52016. #: guix-git/doc/guix.texi:35406
  52017. msgid "The command:"
  52018. msgstr ""
  52019. #. type: example
  52020. #: guix-git/doc/guix.texi:35409
  52021. #, no-wrap
  52022. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  52023. msgstr ""
  52024. #. type: table
  52025. #: guix-git/doc/guix.texi:35412
  52026. msgid "shows the extension relations among services."
  52027. msgstr ""
  52028. #. type: anchor{#1}
  52029. #: guix-git/doc/guix.texi:35414
  52030. msgid "system-shepherd-graph"
  52031. msgstr ""
  52032. #. type: item
  52033. #: guix-git/doc/guix.texi:35414
  52034. #, no-wrap
  52035. msgid "shepherd-graph"
  52036. msgstr ""
  52037. #. type: table
  52038. #: guix-git/doc/guix.texi:35419
  52039. 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."
  52040. msgstr ""
  52041. #. type: table
  52042. #: guix-git/doc/guix.texi:35422
  52043. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  52044. msgstr ""
  52045. #. type: section
  52046. #: guix-git/doc/guix.texi:35426
  52047. #, no-wrap
  52048. msgid "Invoking @code{guix deploy}"
  52049. msgstr ""
  52050. #. type: Plain text
  52051. #: guix-git/doc/guix.texi:35434
  52052. 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''."
  52053. msgstr ""
  52054. #. type: quotation
  52055. #: guix-git/doc/guix.texi:35439 guix-git/doc/guix.texi:36900
  52056. 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}!"
  52057. msgstr ""
  52058. #. type: example
  52059. #: guix-git/doc/guix.texi:35443
  52060. #, no-wrap
  52061. msgid "guix deploy @var{file}\n"
  52062. msgstr ""
  52063. #. type: Plain text
  52064. #: guix-git/doc/guix.texi:35447
  52065. 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:"
  52066. msgstr ""
  52067. #. type: lisp
  52068. #: guix-git/doc/guix.texi:35454
  52069. #, no-wrap
  52070. msgid ""
  52071. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  52072. ";; no X11 display server, to a machine with an SSH daemon\n"
  52073. ";; listening on localhost:2222. A configuration such as this\n"
  52074. ";; may be appropriate for virtual machine with ports\n"
  52075. ";; forwarded to the host's loopback interface.\n"
  52076. "\n"
  52077. msgstr ""
  52078. #. type: lisp
  52079. #: guix-git/doc/guix.texi:35457
  52080. #, no-wrap
  52081. msgid ""
  52082. "(use-service-modules networking ssh)\n"
  52083. "(use-package-modules bootloaders)\n"
  52084. "\n"
  52085. msgstr ""
  52086. #. type: lisp
  52087. #: guix-git/doc/guix.texi:35478
  52088. #, no-wrap
  52089. msgid ""
  52090. "(define %system\n"
  52091. " (operating-system\n"
  52092. " (host-name \"gnu-deployed\")\n"
  52093. " (timezone \"Etc/UTC\")\n"
  52094. " (bootloader (bootloader-configuration\n"
  52095. " (bootloader grub-bootloader)\n"
  52096. " (targets '(\"/dev/vda\"))\n"
  52097. " (terminal-outputs '(console))))\n"
  52098. " (file-systems (cons (file-system\n"
  52099. " (mount-point \"/\")\n"
  52100. " (device \"/dev/vda1\")\n"
  52101. " (type \"ext4\"))\n"
  52102. " %base-file-systems))\n"
  52103. " (services\n"
  52104. " (append (list (service dhcp-client-service-type)\n"
  52105. " (service openssh-service-type\n"
  52106. " (openssh-configuration\n"
  52107. " (permit-root-login #t)\n"
  52108. " (allow-empty-passwords? #t))))\n"
  52109. " %base-services))))\n"
  52110. "\n"
  52111. msgstr ""
  52112. #. type: lisp
  52113. #: guix-git/doc/guix.texi:35488
  52114. #, no-wrap
  52115. msgid ""
  52116. "(list (machine\n"
  52117. " (operating-system %system)\n"
  52118. " (environment managed-host-environment-type)\n"
  52119. " (configuration (machine-ssh-configuration\n"
  52120. " (host-name \"localhost\")\n"
  52121. " (system \"x86_64-linux\")\n"
  52122. " (user \"alice\")\n"
  52123. " (identity \"./id_rsa\")\n"
  52124. " (port 2222)))))\n"
  52125. msgstr ""
  52126. #. type: Plain text
  52127. #: guix-git/doc/guix.texi:35501
  52128. 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."
  52129. msgstr ""
  52130. #. type: Plain text
  52131. #: guix-git/doc/guix.texi:35506
  52132. 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:"
  52133. msgstr ""
  52134. #. type: Plain text
  52135. #: guix-git/doc/guix.texi:35514
  52136. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  52137. msgstr ""
  52138. #. type: example
  52139. #: guix-git/doc/guix.texi:35517
  52140. #, no-wrap
  52141. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  52142. msgstr ""
  52143. #. type: Plain text
  52144. #: guix-git/doc/guix.texi:35528
  52145. 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:"
  52146. msgstr ""
  52147. #. type: lisp
  52148. #: guix-git/doc/guix.texi:35532
  52149. #, no-wrap
  52150. msgid ""
  52151. "(use-modules ...\n"
  52152. " (gnu system)) ;for %sudoers-specification\n"
  52153. "\n"
  52154. msgstr ""
  52155. #. type: lisp
  52156. #: guix-git/doc/guix.texi:35534
  52157. #, no-wrap
  52158. msgid ""
  52159. "(define %user \"username\")\n"
  52160. "\n"
  52161. msgstr ""
  52162. #. type: lisp
  52163. #: guix-git/doc/guix.texi:35542
  52164. #, no-wrap
  52165. msgid ""
  52166. "(operating-system\n"
  52167. " ...\n"
  52168. " (sudoers-file\n"
  52169. " (plain-file \"sudoers\"\n"
  52170. " (string-append (plain-file-content %sudoers-specification)\n"
  52171. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  52172. " %user)))))\n"
  52173. "\n"
  52174. msgstr ""
  52175. #. type: Plain text
  52176. #: guix-git/doc/guix.texi:35547
  52177. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  52178. msgstr ""
  52179. #. type: deftp
  52180. #: guix-git/doc/guix.texi:35548
  52181. #, no-wrap
  52182. msgid "{Data Type} machine"
  52183. msgstr ""
  52184. #. type: deftp
  52185. #: guix-git/doc/guix.texi:35551
  52186. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  52187. msgstr ""
  52188. #. type: table
  52189. #: guix-git/doc/guix.texi:35555
  52190. msgid "The object of the operating system configuration to deploy."
  52191. msgstr ""
  52192. #. type: code{#1}
  52193. #: guix-git/doc/guix.texi:35556
  52194. #, no-wrap
  52195. msgid "environment"
  52196. msgstr ""
  52197. #. type: table
  52198. #: guix-git/doc/guix.texi:35558
  52199. msgid "An @code{environment-type} describing how the machine should be provisioned."
  52200. msgstr ""
  52201. #. type: item
  52202. #: guix-git/doc/guix.texi:35559
  52203. #, no-wrap
  52204. msgid "@code{configuration} (default: @code{#f})"
  52205. msgstr ""
  52206. #. type: table
  52207. #: guix-git/doc/guix.texi:35564
  52208. 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."
  52209. msgstr ""
  52210. #. type: deftp
  52211. #: guix-git/doc/guix.texi:35567
  52212. #, no-wrap
  52213. msgid "{Data Type} machine-ssh-configuration"
  52214. msgstr ""
  52215. #. type: deftp
  52216. #: guix-git/doc/guix.texi:35570
  52217. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  52218. msgstr ""
  52219. #. type: item
  52220. #: guix-git/doc/guix.texi:35573
  52221. #, no-wrap
  52222. msgid "@code{build-locally?} (default: @code{#t})"
  52223. msgstr ""
  52224. #. type: table
  52225. #: guix-git/doc/guix.texi:35575
  52226. msgid "If false, system derivations will be built on the machine being deployed to."
  52227. msgstr ""
  52228. #. type: code{#1}
  52229. #: guix-git/doc/guix.texi:35575
  52230. #, no-wrap
  52231. msgid "system"
  52232. msgstr ""
  52233. #. type: table
  52234. #: guix-git/doc/guix.texi:35578
  52235. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  52236. msgstr ""
  52237. #. type: item
  52238. #: guix-git/doc/guix.texi:35578
  52239. #, no-wrap
  52240. msgid "@code{authorize?} (default: @code{#t})"
  52241. msgstr ""
  52242. #. type: table
  52243. #: guix-git/doc/guix.texi:35581
  52244. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  52245. msgstr ""
  52246. #. type: item
  52247. #: guix-git/doc/guix.texi:35583
  52248. #, no-wrap
  52249. msgid "@code{identity} (default: @code{#f})"
  52250. msgstr ""
  52251. #. type: table
  52252. #: guix-git/doc/guix.texi:35586
  52253. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  52254. msgstr ""
  52255. #. type: item
  52256. #: guix-git/doc/guix.texi:35587
  52257. #, no-wrap
  52258. msgid "@code{host-key} (default: @code{#f})"
  52259. msgstr ""
  52260. #. type: table
  52261. #: guix-git/doc/guix.texi:35589
  52262. msgid "This should be the SSH host key of the machine, which looks like this:"
  52263. msgstr ""
  52264. #. type: example
  52265. #: guix-git/doc/guix.texi:35592
  52266. #, no-wrap
  52267. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  52268. msgstr ""
  52269. #. type: table
  52270. #: guix-git/doc/guix.texi:35597
  52271. 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."
  52272. msgstr ""
  52273. #. type: item
  52274. #: guix-git/doc/guix.texi:35598
  52275. #, no-wrap
  52276. msgid "@code{allow-downgrades?} (default: @code{#f})"
  52277. msgstr ""
  52278. #. type: table
  52279. #: guix-git/doc/guix.texi:35600
  52280. msgid "Whether to allow potential downgrades."
  52281. msgstr ""
  52282. #. type: table
  52283. #: guix-git/doc/guix.texi:35608
  52284. 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."
  52285. msgstr ""
  52286. #. type: deftp
  52287. #: guix-git/doc/guix.texi:35611
  52288. #, no-wrap
  52289. msgid "{Data Type} digital-ocean-configuration"
  52290. msgstr ""
  52291. #. type: deftp
  52292. #: guix-git/doc/guix.texi:35614
  52293. 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}."
  52294. msgstr ""
  52295. #. type: code{#1}
  52296. #: guix-git/doc/guix.texi:35616
  52297. #, no-wrap
  52298. msgid "ssh-key"
  52299. msgstr ""
  52300. #. type: table
  52301. #: guix-git/doc/guix.texi:35619
  52302. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  52303. msgstr ""
  52304. #. type: code{#1}
  52305. #: guix-git/doc/guix.texi:35619
  52306. #, no-wrap
  52307. msgid "tags"
  52308. msgstr ""
  52309. #. type: table
  52310. #: guix-git/doc/guix.texi:35622
  52311. 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."
  52312. msgstr ""
  52313. #. type: code{#1}
  52314. #: guix-git/doc/guix.texi:35622
  52315. #, no-wrap
  52316. msgid "region"
  52317. msgstr ""
  52318. #. type: table
  52319. #: guix-git/doc/guix.texi:35624
  52320. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  52321. msgstr ""
  52322. #. type: table
  52323. #: guix-git/doc/guix.texi:35626
  52324. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  52325. msgstr ""
  52326. #. type: code{#1}
  52327. #: guix-git/doc/guix.texi:35626
  52328. #, no-wrap
  52329. msgid "enable-ipv6?"
  52330. msgstr ""
  52331. #. type: table
  52332. #: guix-git/doc/guix.texi:35628
  52333. msgid "Whether or not the droplet should be created with IPv6 networking."
  52334. msgstr ""
  52335. #. type: section
  52336. #: guix-git/doc/guix.texi:35632
  52337. #, no-wrap
  52338. msgid "Running Guix in a Virtual Machine"
  52339. msgstr ""
  52340. #. type: Plain text
  52341. #: guix-git/doc/guix.texi:35640
  52342. 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 can pass it to an emulator such as @uref{https://qemu.org/, QEMU} (see below for details)."
  52343. msgstr ""
  52344. #. type: Plain text
  52345. #: guix-git/doc/guix.texi:35647
  52346. 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})."
  52347. msgstr ""
  52348. #. type: Plain text
  52349. #: guix-git/doc/guix.texi:35650
  52350. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  52351. msgstr ""
  52352. #. type: cindex
  52353. #: guix-git/doc/guix.texi:35651
  52354. #, no-wrap
  52355. msgid "QEMU"
  52356. msgstr ""
  52357. #. type: Plain text
  52358. #: guix-git/doc/guix.texi:35658
  52359. 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:"
  52360. msgstr ""
  52361. #. type: example
  52362. #: guix-git/doc/guix.texi:35665
  52363. #, no-wrap
  52364. msgid ""
  52365. "$ qemu-system-x86_64 \\\n"
  52366. " -nic user,model=virtio-net-pci \\\n"
  52367. " -enable-kvm -m 1024 \\\n"
  52368. " -device virtio-blk,drive=myhd \\\n"
  52369. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  52370. msgstr ""
  52371. #. type: Plain text
  52372. #: guix-git/doc/guix.texi:35668
  52373. msgid "Here is what each of these options means:"
  52374. msgstr ""
  52375. #. type: item
  52376. #: guix-git/doc/guix.texi:35670
  52377. #, no-wrap
  52378. msgid "qemu-system-x86_64"
  52379. msgstr ""
  52380. #. type: table
  52381. #: guix-git/doc/guix.texi:35673
  52382. msgid "This specifies the hardware platform to emulate. This should match the host."
  52383. msgstr ""
  52384. #. type: item
  52385. #: guix-git/doc/guix.texi:35674
  52386. #, no-wrap
  52387. msgid "-nic user,model=virtio-net-pci"
  52388. msgstr ""
  52389. #. type: table
  52390. #: guix-git/doc/guix.texi:35682
  52391. 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}."
  52392. msgstr ""
  52393. #. type: item
  52394. #: guix-git/doc/guix.texi:35683
  52395. #, no-wrap
  52396. msgid "-enable-kvm"
  52397. msgstr ""
  52398. #. type: table
  52399. #: guix-git/doc/guix.texi:35687
  52400. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  52401. msgstr ""
  52402. #. type: item
  52403. #: guix-git/doc/guix.texi:35689
  52404. #, no-wrap
  52405. msgid "-m 1024"
  52406. msgstr ""
  52407. #. type: table
  52408. #: guix-git/doc/guix.texi:35692
  52409. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  52410. msgstr ""
  52411. #. type: item
  52412. #: guix-git/doc/guix.texi:35693
  52413. #, no-wrap
  52414. msgid "-device virtio-blk,drive=myhd"
  52415. msgstr ""
  52416. #. type: table
  52417. #: guix-git/doc/guix.texi:35698
  52418. 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."
  52419. msgstr ""
  52420. #. type: item
  52421. #: guix-git/doc/guix.texi:35699
  52422. #, no-wrap
  52423. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  52424. msgstr ""
  52425. #. type: table
  52426. #: guix-git/doc/guix.texi:35702
  52427. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  52428. msgstr ""
  52429. #. type: Plain text
  52430. #: guix-git/doc/guix.texi:35712
  52431. 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}."
  52432. msgstr ""
  52433. #. type: subsection
  52434. #: guix-git/doc/guix.texi:35713
  52435. #, no-wrap
  52436. msgid "Connecting Through SSH"
  52437. msgstr ""
  52438. #. type: Plain text
  52439. #: guix-git/doc/guix.texi:35721
  52440. 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"
  52441. msgstr ""
  52442. #. type: example
  52443. #: guix-git/doc/guix.texi:35724
  52444. #, no-wrap
  52445. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  52446. msgstr ""
  52447. #. type: Plain text
  52448. #: guix-git/doc/guix.texi:35727
  52449. msgid "To connect to the VM you can run"
  52450. msgstr ""
  52451. #. type: example
  52452. #: guix-git/doc/guix.texi:35730
  52453. #, no-wrap
  52454. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  52455. msgstr ""
  52456. #. type: Plain text
  52457. #: guix-git/doc/guix.texi:35737
  52458. 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."
  52459. msgstr ""
  52460. #. type: quotation
  52461. #: guix-git/doc/guix.texi:35743
  52462. msgid "If you find the above @samp{hostfwd} example not to be working (e.g., your SSH client hangs attempting to connect to the mapped port of your VM), make sure that your Guix System VM has networking support, such as by using the @code{dhcp-client-service-type} service type."
  52463. msgstr ""
  52464. #. type: subsection
  52465. #: guix-git/doc/guix.texi:35745
  52466. #, no-wrap
  52467. msgid "Using @command{virt-viewer} with Spice"
  52468. msgstr ""
  52469. #. type: Plain text
  52470. #: guix-git/doc/guix.texi:35751
  52471. 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."
  52472. msgstr ""
  52473. #. type: Plain text
  52474. #: guix-git/doc/guix.texi:35754
  52475. 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}:"
  52476. msgstr ""
  52477. #. type: example
  52478. #: guix-git/doc/guix.texi:35760
  52479. #, no-wrap
  52480. msgid ""
  52481. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  52482. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  52483. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\\\n"
  52484. "name=com.redhat.spice.0\n"
  52485. msgstr ""
  52486. #. type: Plain text
  52487. #: guix-git/doc/guix.texi:35764
  52488. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  52489. msgstr ""
  52490. #. type: Plain text
  52491. #: guix-git/doc/guix.texi:35771
  52492. 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?"
  52493. msgstr ""
  52494. #. type: cindex
  52495. #: guix-git/doc/guix.texi:35784
  52496. #, no-wrap
  52497. msgid "daemons"
  52498. msgstr ""
  52499. #. type: Plain text
  52500. #: guix-git/doc/guix.texi:35797
  52501. 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."
  52502. msgstr ""
  52503. #. type: cindex
  52504. #: guix-git/doc/guix.texi:35798
  52505. #, no-wrap
  52506. msgid "service extensions"
  52507. msgstr ""
  52508. #. type: Plain text
  52509. #: guix-git/doc/guix.texi:35810
  52510. 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})."
  52511. msgstr ""
  52512. #. type: Plain text
  52513. #: guix-git/doc/guix.texi:35814
  52514. 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:"
  52515. msgstr ""
  52516. #. type: Plain text
  52517. #: guix-git/doc/guix.texi:35816
  52518. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  52519. msgstr ""
  52520. #. type: cindex
  52521. #: guix-git/doc/guix.texi:35817
  52522. #, no-wrap
  52523. msgid "system service"
  52524. msgstr ""
  52525. #. type: Plain text
  52526. #: guix-git/doc/guix.texi:35825
  52527. 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."
  52528. msgstr ""
  52529. #. type: cindex
  52530. #: guix-git/doc/guix.texi:35826
  52531. #, no-wrap
  52532. msgid "service types"
  52533. msgstr ""
  52534. #. type: Plain text
  52535. #: guix-git/doc/guix.texi:35832
  52536. 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."
  52537. msgstr ""
  52538. #. type: Plain text
  52539. #: guix-git/doc/guix.texi:35835
  52540. msgid "The following section describes the programming interface for service types and services."
  52541. msgstr ""
  52542. #. type: Plain text
  52543. #: guix-git/doc/guix.texi:35842
  52544. 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}):"
  52545. msgstr ""
  52546. #. type: lisp
  52547. #: guix-git/doc/guix.texi:35852
  52548. #, no-wrap
  52549. msgid ""
  52550. "(define guix-service-type\n"
  52551. " (service-type\n"
  52552. " (name 'guix)\n"
  52553. " (extensions\n"
  52554. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  52555. " (service-extension account-service-type guix-accounts)\n"
  52556. " (service-extension activation-service-type guix-activation)))\n"
  52557. " (default-value (guix-configuration))))\n"
  52558. msgstr ""
  52559. #. type: Plain text
  52560. #: guix-git/doc/guix.texi:35856
  52561. msgid "It defines three things:"
  52562. msgstr ""
  52563. #. type: enumerate
  52564. #: guix-git/doc/guix.texi:35860
  52565. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  52566. msgstr ""
  52567. #. type: enumerate
  52568. #: guix-git/doc/guix.texi:35865
  52569. 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."
  52570. msgstr ""
  52571. #. type: enumerate
  52572. #: guix-git/doc/guix.texi:35868
  52573. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  52574. msgstr ""
  52575. #. type: enumerate
  52576. #: guix-git/doc/guix.texi:35871
  52577. msgid "Optionally, a default value for instances of this type."
  52578. msgstr ""
  52579. #. type: Plain text
  52580. #: guix-git/doc/guix.texi:35874
  52581. msgid "In this example, @code{guix-service-type} extends three services:"
  52582. msgstr ""
  52583. #. type: item
  52584. #: guix-git/doc/guix.texi:35876
  52585. #, no-wrap
  52586. msgid "shepherd-root-service-type"
  52587. msgstr ""
  52588. #. type: table
  52589. #: guix-git/doc/guix.texi:35881
  52590. 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})."
  52591. msgstr ""
  52592. #. type: item
  52593. #: guix-git/doc/guix.texi:35882
  52594. #, no-wrap
  52595. msgid "account-service-type"
  52596. msgstr ""
  52597. #. type: table
  52598. #: guix-git/doc/guix.texi:35887
  52599. 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})."
  52600. msgstr ""
  52601. #. type: item
  52602. #: guix-git/doc/guix.texi:35888
  52603. #, no-wrap
  52604. msgid "activation-service-type"
  52605. msgstr ""
  52606. #. type: table
  52607. #: guix-git/doc/guix.texi:35892
  52608. 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."
  52609. msgstr ""
  52610. #. type: Plain text
  52611. #: guix-git/doc/guix.texi:35895
  52612. msgid "A service of this type is instantiated like this:"
  52613. msgstr ""
  52614. #. type: lisp
  52615. #: guix-git/doc/guix.texi:35901
  52616. #, no-wrap
  52617. msgid ""
  52618. "(service guix-service-type\n"
  52619. " (guix-configuration\n"
  52620. " (build-accounts 5)\n"
  52621. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  52622. msgstr ""
  52623. #. type: Plain text
  52624. #: guix-git/doc/guix.texi:35909
  52625. 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:"
  52626. msgstr ""
  52627. #. type: lisp
  52628. #: guix-git/doc/guix.texi:35912
  52629. #, no-wrap
  52630. msgid "(service guix-service-type)\n"
  52631. msgstr ""
  52632. #. type: Plain text
  52633. #: guix-git/doc/guix.texi:35916
  52634. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  52635. msgstr ""
  52636. #. type: Plain text
  52637. #: guix-git/doc/guix.texi:35920
  52638. msgid "The service type for an @emph{extensible} service looks like this:"
  52639. msgstr ""
  52640. #. type: lisp
  52641. #: guix-git/doc/guix.texi:35927
  52642. #, no-wrap
  52643. msgid ""
  52644. "(define udev-service-type\n"
  52645. " (service-type (name 'udev)\n"
  52646. " (extensions\n"
  52647. " (list (service-extension shepherd-root-service-type\n"
  52648. " udev-shepherd-service)))\n"
  52649. "\n"
  52650. msgstr ""
  52651. #. type: lisp
  52652. #: guix-git/doc/guix.texi:35935
  52653. #, no-wrap
  52654. msgid ""
  52655. " (compose concatenate) ;concatenate the list of rules\n"
  52656. " (extend (lambda (config rules)\n"
  52657. " (match config\n"
  52658. " (($ <udev-configuration> udev initial-rules)\n"
  52659. " (udev-configuration\n"
  52660. " (udev udev) ;the udev package to use\n"
  52661. " (rules (append initial-rules rules)))))))))\n"
  52662. msgstr ""
  52663. #. type: Plain text
  52664. #: guix-git/doc/guix.texi:35941
  52665. 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:"
  52666. msgstr ""
  52667. #. type: item
  52668. #: guix-git/doc/guix.texi:35943
  52669. #, no-wrap
  52670. msgid "compose"
  52671. msgstr ""
  52672. #. type: table
  52673. #: guix-git/doc/guix.texi:35946
  52674. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  52675. msgstr ""
  52676. #. type: table
  52677. #: guix-git/doc/guix.texi:35949
  52678. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  52679. msgstr ""
  52680. #. type: item
  52681. #: guix-git/doc/guix.texi:35950
  52682. #, no-wrap
  52683. msgid "extend"
  52684. msgstr ""
  52685. #. type: table
  52686. #: guix-git/doc/guix.texi:35953
  52687. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  52688. msgstr ""
  52689. #. type: table
  52690. #: guix-git/doc/guix.texi:35958
  52691. 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."
  52692. msgstr ""
  52693. #. type: table
  52694. #: guix-git/doc/guix.texi:35964
  52695. 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})."
  52696. msgstr ""
  52697. #. type: Plain text
  52698. #: guix-git/doc/guix.texi:35969
  52699. 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."
  52700. msgstr ""
  52701. #. type: Plain text
  52702. #: guix-git/doc/guix.texi:35972
  52703. msgid "Still here? The next section provides a reference of the programming interface for services."
  52704. msgstr ""
  52705. #. type: Plain text
  52706. #: guix-git/doc/guix.texi:35980
  52707. 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."
  52708. msgstr ""
  52709. #. type: deffn
  52710. #: guix-git/doc/guix.texi:35981
  52711. #, no-wrap
  52712. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  52713. msgstr ""
  52714. #. type: deffn
  52715. #: guix-git/doc/guix.texi:35985
  52716. 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."
  52717. msgstr ""
  52718. #. type: deffn
  52719. #: guix-git/doc/guix.texi:35989
  52720. 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."
  52721. msgstr ""
  52722. #. type: deffn
  52723. #: guix-git/doc/guix.texi:35991
  52724. msgid "For instance, this:"
  52725. msgstr ""
  52726. #. type: lisp
  52727. #: guix-git/doc/guix.texi:35994
  52728. #, no-wrap
  52729. msgid "(service openssh-service-type)\n"
  52730. msgstr ""
  52731. #. type: deffn
  52732. #: guix-git/doc/guix.texi:35998
  52733. msgid "is equivalent to this:"
  52734. msgstr ""
  52735. #. type: lisp
  52736. #: guix-git/doc/guix.texi:36002
  52737. #, no-wrap
  52738. msgid ""
  52739. "(service openssh-service-type\n"
  52740. " (openssh-configuration))\n"
  52741. msgstr ""
  52742. #. type: deffn
  52743. #: guix-git/doc/guix.texi:36006
  52744. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  52745. msgstr ""
  52746. #. type: deffn
  52747. #: guix-git/doc/guix.texi:36008
  52748. #, no-wrap
  52749. msgid "{Scheme Procedure} service? @var{obj}"
  52750. msgstr ""
  52751. #. type: deffn
  52752. #: guix-git/doc/guix.texi:36010
  52753. msgid "Return true if @var{obj} is a service."
  52754. msgstr ""
  52755. #. type: deffn
  52756. #: guix-git/doc/guix.texi:36012
  52757. #, no-wrap
  52758. msgid "{Scheme Procedure} service-kind @var{service}"
  52759. msgstr ""
  52760. #. type: deffn
  52761. #: guix-git/doc/guix.texi:36014
  52762. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  52763. msgstr ""
  52764. #. type: deffn
  52765. #: guix-git/doc/guix.texi:36016
  52766. #, no-wrap
  52767. msgid "{Scheme Procedure} service-value @var{service}"
  52768. msgstr ""
  52769. #. type: deffn
  52770. #: guix-git/doc/guix.texi:36019
  52771. msgid "Return the value associated with @var{service}. It represents its parameters."
  52772. msgstr ""
  52773. #. type: Plain text
  52774. #: guix-git/doc/guix.texi:36022
  52775. msgid "Here is an example of how a service is created and manipulated:"
  52776. msgstr ""
  52777. #. type: lisp
  52778. #: guix-git/doc/guix.texi:36031
  52779. #, no-wrap
  52780. msgid ""
  52781. "(define s\n"
  52782. " (service nginx-service-type\n"
  52783. " (nginx-configuration\n"
  52784. " (nginx nginx)\n"
  52785. " (log-directory log-directory)\n"
  52786. " (run-directory run-directory)\n"
  52787. " (file config-file))))\n"
  52788. "\n"
  52789. msgstr ""
  52790. #. type: lisp
  52791. #: guix-git/doc/guix.texi:36034
  52792. #, no-wrap
  52793. msgid ""
  52794. "(service? s)\n"
  52795. "@result{} #t\n"
  52796. "\n"
  52797. msgstr ""
  52798. #. type: lisp
  52799. #: guix-git/doc/guix.texi:36037
  52800. #, no-wrap
  52801. msgid ""
  52802. "(eq? (service-kind s) nginx-service-type)\n"
  52803. "@result{} #t\n"
  52804. msgstr ""
  52805. #. type: Plain text
  52806. #: guix-git/doc/guix.texi:36047
  52807. 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."
  52808. msgstr ""
  52809. #. type: deffn
  52810. #: guix-git/doc/guix.texi:36048
  52811. #, no-wrap
  52812. msgid "{Scheme Syntax} modify-services @var{services} @"
  52813. msgstr ""
  52814. #. type: deffn
  52815. #: guix-git/doc/guix.texi:36050
  52816. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  52817. msgstr ""
  52818. #. type: deffn
  52819. #: guix-git/doc/guix.texi:36053
  52820. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  52821. msgstr ""
  52822. #. type: example
  52823. #: guix-git/doc/guix.texi:36056
  52824. #, no-wrap
  52825. msgid "(@var{type} @var{variable} => @var{body})\n"
  52826. msgstr ""
  52827. #. type: deffn
  52828. #: guix-git/doc/guix.texi:36063
  52829. 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}."
  52830. msgstr ""
  52831. #. type: deffn
  52832. #: guix-git/doc/guix.texi:36070
  52833. 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."
  52834. msgstr ""
  52835. #. type: deffn
  52836. #: guix-git/doc/guix.texi:36072
  52837. msgid "Clauses can also have the following form:"
  52838. msgstr ""
  52839. #. type: lisp
  52840. #: guix-git/doc/guix.texi:36075
  52841. #, no-wrap
  52842. msgid "(delete @var{type})\n"
  52843. msgstr ""
  52844. #. type: deffn
  52845. #: guix-git/doc/guix.texi:36079
  52846. msgid "Such a clause removes all services of the given @var{type} from @var{services}."
  52847. msgstr ""
  52848. #. type: deffn
  52849. #: guix-git/doc/guix.texi:36081
  52850. msgid "@xref{Using the Configuration System}, for example usage."
  52851. msgstr ""
  52852. #. type: Plain text
  52853. #: guix-git/doc/guix.texi:36088
  52854. 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."
  52855. msgstr ""
  52856. #. type: deftp
  52857. #: guix-git/doc/guix.texi:36089
  52858. #, no-wrap
  52859. msgid "{Data Type} service-type"
  52860. msgstr ""
  52861. #. type: cindex
  52862. #: guix-git/doc/guix.texi:36090
  52863. #, no-wrap
  52864. msgid "service type"
  52865. msgstr ""
  52866. #. type: deftp
  52867. #: guix-git/doc/guix.texi:36093
  52868. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  52869. msgstr ""
  52870. #. type: table
  52871. #: guix-git/doc/guix.texi:36097
  52872. msgid "This is a symbol, used only to simplify inspection and debugging."
  52873. msgstr ""
  52874. #. type: code{#1}
  52875. #: guix-git/doc/guix.texi:36098
  52876. #, no-wrap
  52877. msgid "extensions"
  52878. msgstr ""
  52879. #. type: table
  52880. #: guix-git/doc/guix.texi:36100
  52881. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  52882. msgstr ""
  52883. #. type: item
  52884. #: guix-git/doc/guix.texi:36101
  52885. #, no-wrap
  52886. msgid "@code{compose} (default: @code{#f})"
  52887. msgstr ""
  52888. #. type: table
  52889. #: guix-git/doc/guix.texi:36105
  52890. 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."
  52891. msgstr ""
  52892. #. type: table
  52893. #: guix-git/doc/guix.texi:36109
  52894. 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."
  52895. msgstr ""
  52896. #. type: item
  52897. #: guix-git/doc/guix.texi:36110
  52898. #, no-wrap
  52899. msgid "@code{extend} (default: @code{#f})"
  52900. msgstr ""
  52901. #. type: table
  52902. #: guix-git/doc/guix.texi:36112
  52903. msgid "If this is @code{#f}, services of this type cannot be extended."
  52904. msgstr ""
  52905. #. type: table
  52906. #: guix-git/doc/guix.texi:36118
  52907. 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."
  52908. msgstr ""
  52909. #. type: table
  52910. #: guix-git/doc/guix.texi:36124
  52911. 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})."
  52912. msgstr ""
  52913. #. type: item
  52914. #: guix-git/doc/guix.texi:36125
  52915. #, no-wrap
  52916. msgid "@code{default-value} (default: @code{&no-default-value})"
  52917. msgstr ""
  52918. #. type: table
  52919. #: guix-git/doc/guix.texi:36128
  52920. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  52921. msgstr ""
  52922. #. type: lisp
  52923. #: guix-git/doc/guix.texi:36131
  52924. #, no-wrap
  52925. msgid "(service @var{type})\n"
  52926. msgstr ""
  52927. #. type: table
  52928. #: guix-git/doc/guix.texi:36135
  52929. msgid "The returned service in this case has the default value specified by @var{type}."
  52930. msgstr ""
  52931. #. type: deftp
  52932. #: guix-git/doc/guix.texi:36138
  52933. msgid "@xref{Service Types and Services}, for examples."
  52934. msgstr ""
  52935. #. type: deffn
  52936. #: guix-git/doc/guix.texi:36140
  52937. #, no-wrap
  52938. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  52939. msgstr ""
  52940. #. type: deffn
  52941. #: guix-git/doc/guix.texi:36146
  52942. 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."
  52943. msgstr ""
  52944. #. type: deffn
  52945. #: guix-git/doc/guix.texi:36148
  52946. #, no-wrap
  52947. msgid "{Scheme Procedure} service-extension? @var{obj}"
  52948. msgstr ""
  52949. #. type: deffn
  52950. #: guix-git/doc/guix.texi:36150
  52951. msgid "Return true if @var{obj} is a service extension."
  52952. msgstr ""
  52953. #. type: Plain text
  52954. #: guix-git/doc/guix.texi:36156
  52955. 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."
  52956. msgstr ""
  52957. #. type: deffn
  52958. #: guix-git/doc/guix.texi:36157
  52959. #, no-wrap
  52960. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  52961. msgstr ""
  52962. #. type: deffn
  52963. #: guix-git/doc/guix.texi:36161
  52964. 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."
  52965. msgstr ""
  52966. #. type: deffn
  52967. #: guix-git/doc/guix.texi:36164
  52968. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  52969. msgstr ""
  52970. #. type: lisp
  52971. #: guix-git/doc/guix.texi:36168
  52972. #, no-wrap
  52973. msgid ""
  52974. "(simple-service 'my-mcron-job mcron-service-type\n"
  52975. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  52976. msgstr ""
  52977. #. type: Plain text
  52978. #: guix-git/doc/guix.texi:36178
  52979. 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."
  52980. msgstr ""
  52981. #. type: deffn
  52982. #: guix-git/doc/guix.texi:36179
  52983. #, no-wrap
  52984. msgid "{Scheme Procedure} fold-services @var{services} @"
  52985. msgstr ""
  52986. #. type: deffn
  52987. #: guix-git/doc/guix.texi:36183
  52988. 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."
  52989. msgstr ""
  52990. #. type: Plain text
  52991. #: guix-git/doc/guix.texi:36187
  52992. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  52993. msgstr ""
  52994. #. type: defvr
  52995. #: guix-git/doc/guix.texi:36188
  52996. #, no-wrap
  52997. msgid "{Scheme Variable} system-service-type"
  52998. msgstr ""
  52999. #. type: defvr
  53000. #: guix-git/doc/guix.texi:36191
  53001. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  53002. msgstr ""
  53003. #. type: defvr
  53004. #: guix-git/doc/guix.texi:36193
  53005. #, no-wrap
  53006. msgid "{Scheme Variable} boot-service-type"
  53007. msgstr ""
  53008. #. type: defvr
  53009. #: guix-git/doc/guix.texi:36196
  53010. 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."
  53011. msgstr ""
  53012. #. type: defvr
  53013. #: guix-git/doc/guix.texi:36198
  53014. #, no-wrap
  53015. msgid "{Scheme Variable} etc-service-type"
  53016. msgstr ""
  53017. #. type: defvr
  53018. #: guix-git/doc/guix.texi:36202
  53019. 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:"
  53020. msgstr ""
  53021. #. type: lisp
  53022. #: guix-git/doc/guix.texi:36205
  53023. #, no-wrap
  53024. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  53025. msgstr ""
  53026. #. type: defvr
  53027. #: guix-git/doc/guix.texi:36209
  53028. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  53029. msgstr ""
  53030. #. type: defvr
  53031. #: guix-git/doc/guix.texi:36211
  53032. #, no-wrap
  53033. msgid "{Scheme Variable} setuid-program-service-type"
  53034. msgstr ""
  53035. #. type: defvr
  53036. #: guix-git/doc/guix.texi:36215
  53037. 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})."
  53038. msgstr ""
  53039. #. type: defvr
  53040. #: guix-git/doc/guix.texi:36217
  53041. #, no-wrap
  53042. msgid "{Scheme Variable} profile-service-type"
  53043. msgstr ""
  53044. #. type: defvr
  53045. #: guix-git/doc/guix.texi:36221
  53046. 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."
  53047. msgstr ""
  53048. #. type: anchor{#1}
  53049. #: guix-git/doc/guix.texi:36225
  53050. msgid "provenance-service-type"
  53051. msgstr ""
  53052. #. type: defvr
  53053. #: guix-git/doc/guix.texi:36225
  53054. #, no-wrap
  53055. msgid "{Scheme Variable} provenance-service-type"
  53056. msgstr ""
  53057. #. type: defvr
  53058. #: guix-git/doc/guix.texi:36229
  53059. 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}:"
  53060. msgstr ""
  53061. #. type: item
  53062. #: guix-git/doc/guix.texi:36231
  53063. #, no-wrap
  53064. msgid "channels.scm"
  53065. msgstr ""
  53066. #. type: table
  53067. #: guix-git/doc/guix.texi:36236
  53068. 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})."
  53069. msgstr ""
  53070. #. type: item
  53071. #: guix-git/doc/guix.texi:36237
  53072. #, no-wrap
  53073. msgid "configuration.scm"
  53074. msgstr ""
  53075. #. type: table
  53076. #: guix-git/doc/guix.texi:36242
  53077. 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."
  53078. msgstr ""
  53079. #. type: item
  53080. #: guix-git/doc/guix.texi:36243
  53081. #, no-wrap
  53082. msgid "provenance"
  53083. msgstr ""
  53084. #. type: table
  53085. #: guix-git/doc/guix.texi:36246
  53086. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  53087. msgstr ""
  53088. #. type: defvr
  53089. #: guix-git/doc/guix.texi:36250
  53090. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  53091. msgstr ""
  53092. #. type: quotation
  53093. #: guix-git/doc/guix.texi:36251
  53094. #, no-wrap
  53095. msgid "Caveats"
  53096. msgstr ""
  53097. #. type: quotation
  53098. #: guix-git/doc/guix.texi:36258
  53099. 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."
  53100. msgstr ""
  53101. #. type: quotation
  53102. #: guix-git/doc/guix.texi:36266
  53103. 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."
  53104. msgstr ""
  53105. #. type: defvr
  53106. #: guix-git/doc/guix.texi:36271
  53107. 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}."
  53108. msgstr ""
  53109. #. type: defvr
  53110. #: guix-git/doc/guix.texi:36273
  53111. #, no-wrap
  53112. msgid "{Scheme Variable} linux-loadable-module-service-type"
  53113. msgstr ""
  53114. #. type: defvr
  53115. #: guix-git/doc/guix.texi:36277
  53116. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  53117. msgstr ""
  53118. #. type: defvr
  53119. #: guix-git/doc/guix.texi:36280
  53120. msgid "This service type is intended to be extended by other service types, such as below:"
  53121. msgstr ""
  53122. #. type: lisp
  53123. #: guix-git/doc/guix.texi:36286
  53124. #, no-wrap
  53125. msgid ""
  53126. "(simple-service 'installing-module\n"
  53127. " linux-loadable-module-service-type\n"
  53128. " (list module-to-install-1\n"
  53129. " module-to-install-2))\n"
  53130. msgstr ""
  53131. #. type: defvr
  53132. #: guix-git/doc/guix.texi:36290
  53133. msgid "This does not actually load modules at bootup, only adds it to the kernel profile so that it @emph{can} be loaded by other means."
  53134. msgstr ""
  53135. #. type: cindex
  53136. #: guix-git/doc/guix.texi:36295 guix-git/doc/guix.texi:37447
  53137. #, no-wrap
  53138. msgid "shepherd services"
  53139. msgstr ""
  53140. #. type: cindex
  53141. #: guix-git/doc/guix.texi:36296
  53142. #, no-wrap
  53143. msgid "PID 1"
  53144. msgstr ""
  53145. #. type: cindex
  53146. #: guix-git/doc/guix.texi:36297
  53147. #, no-wrap
  53148. msgid "init system"
  53149. msgstr ""
  53150. #. type: Plain text
  53151. #: guix-git/doc/guix.texi:36303
  53152. 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})."
  53153. msgstr ""
  53154. #. type: Plain text
  53155. #: guix-git/doc/guix.texi:36309
  53156. 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:"
  53157. msgstr ""
  53158. #. type: Plain text
  53159. #: guix-git/doc/guix.texi:36311
  53160. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  53161. msgstr ""
  53162. #. type: Plain text
  53163. #: guix-git/doc/guix.texi:36315
  53164. 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}})."
  53165. msgstr ""
  53166. #. type: Plain text
  53167. #: guix-git/doc/guix.texi:36319
  53168. 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."
  53169. msgstr ""
  53170. #. type: deftp
  53171. #: guix-git/doc/guix.texi:36320
  53172. #, no-wrap
  53173. msgid "{Data Type} shepherd-service"
  53174. msgstr ""
  53175. #. type: deftp
  53176. #: guix-git/doc/guix.texi:36322
  53177. msgid "The data type representing a service managed by the Shepherd."
  53178. msgstr ""
  53179. #. type: code{#1}
  53180. #: guix-git/doc/guix.texi:36324
  53181. #, no-wrap
  53182. msgid "provision"
  53183. msgstr ""
  53184. #. type: table
  53185. #: guix-git/doc/guix.texi:36326
  53186. msgid "This is a list of symbols denoting what the service provides."
  53187. msgstr ""
  53188. #. type: table
  53189. #: guix-git/doc/guix.texi:36331
  53190. 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."
  53191. msgstr ""
  53192. #. type: item
  53193. #: guix-git/doc/guix.texi:36332
  53194. #, no-wrap
  53195. msgid "@code{requirement} (default: @code{'()})"
  53196. msgstr ""
  53197. #. type: table
  53198. #: guix-git/doc/guix.texi:36334
  53199. msgid "List of symbols denoting the Shepherd services this one depends on."
  53200. msgstr ""
  53201. #. type: cindex
  53202. #: guix-git/doc/guix.texi:36335
  53203. #, no-wrap
  53204. msgid "one-shot services, for the Shepherd"
  53205. msgstr ""
  53206. #. type: table
  53207. #: guix-git/doc/guix.texi:36340
  53208. 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."
  53209. msgstr ""
  53210. #. type: item
  53211. #: guix-git/doc/guix.texi:36341
  53212. #, no-wrap
  53213. msgid "@code{respawn?} (default: @code{#t})"
  53214. msgstr ""
  53215. #. type: table
  53216. #: guix-git/doc/guix.texi:36344
  53217. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  53218. msgstr ""
  53219. #. type: code{#1}
  53220. #: guix-git/doc/guix.texi:36345
  53221. #, no-wrap
  53222. msgid "start"
  53223. msgstr ""
  53224. #. type: itemx
  53225. #: guix-git/doc/guix.texi:36346
  53226. #, no-wrap
  53227. msgid "@code{stop} (default: @code{#~(const #f)})"
  53228. msgstr ""
  53229. #. type: table
  53230. #: guix-git/doc/guix.texi:36352
  53231. 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})."
  53232. msgstr ""
  53233. #. type: item
  53234. #: guix-git/doc/guix.texi:36353
  53235. #, no-wrap
  53236. msgid "@code{actions} (default: @code{'()})"
  53237. msgstr ""
  53238. #. type: cindex
  53239. #: guix-git/doc/guix.texi:36354
  53240. #, no-wrap
  53241. msgid "actions, of Shepherd services"
  53242. msgstr ""
  53243. #. type: table
  53244. #: guix-git/doc/guix.texi:36359
  53245. 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:"
  53246. msgstr ""
  53247. #. type: example
  53248. #: guix-git/doc/guix.texi:36362
  53249. #, no-wrap
  53250. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  53251. msgstr ""
  53252. #. type: item
  53253. #: guix-git/doc/guix.texi:36364
  53254. #, no-wrap
  53255. msgid "@code{auto-start?} (default: @code{#t})"
  53256. msgstr ""
  53257. #. type: table
  53258. #: guix-git/doc/guix.texi:36367
  53259. 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}."
  53260. msgstr ""
  53261. #. type: table
  53262. #: guix-git/doc/guix.texi:36370
  53263. msgid "A documentation string, as shown when running:"
  53264. msgstr ""
  53265. #. type: example
  53266. #: guix-git/doc/guix.texi:36373
  53267. #, no-wrap
  53268. msgid "herd doc @var{service-name}\n"
  53269. msgstr ""
  53270. #. type: table
  53271. #: guix-git/doc/guix.texi:36377
  53272. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  53273. msgstr ""
  53274. #. type: table
  53275. #: guix-git/doc/guix.texi:36381
  53276. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  53277. msgstr ""
  53278. #. type: Plain text
  53279. #: guix-git/doc/guix.texi:36389
  53280. 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}):"
  53281. msgstr ""
  53282. #. type: example
  53283. #: guix-git/doc/guix.texi:36401
  53284. #, no-wrap
  53285. msgid ""
  53286. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  53287. " (shepherd-service\n"
  53288. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  53289. " (provision '(syslogd))\n"
  53290. " (requirement '(user-processes))\n"
  53291. " (start #~(make-forkexec-constructor\n"
  53292. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  53293. " \"--rcfile\" #$config)\n"
  53294. " #:pid-file \"/var/run/syslog.pid\"))\n"
  53295. " (stop #~(make-kill-destructor))))\n"
  53296. msgstr ""
  53297. #. type: Plain text
  53298. #: guix-git/doc/guix.texi:36416
  53299. 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})."
  53300. msgstr ""
  53301. #. type: deftp
  53302. #: guix-git/doc/guix.texi:36417
  53303. #, no-wrap
  53304. msgid "{Data Type} shepherd-action"
  53305. msgstr ""
  53306. #. type: deftp
  53307. #: guix-git/doc/guix.texi:36420
  53308. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  53309. msgstr ""
  53310. #. type: table
  53311. #: guix-git/doc/guix.texi:36424
  53312. msgid "Symbol naming the action."
  53313. msgstr ""
  53314. #. type: table
  53315. #: guix-git/doc/guix.texi:36427
  53316. msgid "This is a documentation string for the action. It can be viewed by running:"
  53317. msgstr ""
  53318. #. type: example
  53319. #: guix-git/doc/guix.texi:36430
  53320. #, no-wrap
  53321. msgid "herd doc @var{service} action @var{action}\n"
  53322. msgstr ""
  53323. #. type: item
  53324. #: guix-git/doc/guix.texi:36432
  53325. #, no-wrap
  53326. msgid "procedure"
  53327. msgstr ""
  53328. #. type: table
  53329. #: guix-git/doc/guix.texi:36436
  53330. 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})."
  53331. msgstr ""
  53332. #. type: deftp
  53333. #: guix-git/doc/guix.texi:36440
  53334. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  53335. msgstr ""
  53336. #. type: lisp
  53337. #: guix-git/doc/guix.texi:36449
  53338. #, no-wrap
  53339. msgid ""
  53340. "(shepherd-action\n"
  53341. " (name 'say-hello)\n"
  53342. " (documentation \"Say hi!\")\n"
  53343. " (procedure #~(lambda (running . args)\n"
  53344. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  53345. " args)\n"
  53346. " #t)))\n"
  53347. msgstr ""
  53348. #. type: deftp
  53349. #: guix-git/doc/guix.texi:36452
  53350. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  53351. msgstr ""
  53352. #. type: example
  53353. #: guix-git/doc/guix.texi:36458
  53354. #, no-wrap
  53355. msgid ""
  53356. "# herd say-hello example\n"
  53357. "Hello, friend! arguments: ()\n"
  53358. "# herd say-hello example a b c\n"
  53359. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  53360. msgstr ""
  53361. #. type: deftp
  53362. #: guix-git/doc/guix.texi:36463
  53363. 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."
  53364. msgstr ""
  53365. #. type: defvr
  53366. #: guix-git/doc/guix.texi:36465
  53367. #, no-wrap
  53368. msgid "{Scheme Variable} shepherd-root-service-type"
  53369. msgstr ""
  53370. #. type: defvr
  53371. #: guix-git/doc/guix.texi:36467
  53372. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  53373. msgstr ""
  53374. #. type: defvr
  53375. #: guix-git/doc/guix.texi:36472
  53376. 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."
  53377. msgstr ""
  53378. #. type: deftp
  53379. #: guix-git/doc/guix.texi:36474
  53380. #, no-wrap
  53381. msgid "{Data Type} shepherd-configuration"
  53382. msgstr ""
  53383. #. type: deftp
  53384. #: guix-git/doc/guix.texi:36476 guix-git/doc/guix.texi:37463
  53385. msgid "This data type represents the Shepherd's configuration."
  53386. msgstr ""
  53387. #. type: item
  53388. #: guix-git/doc/guix.texi:36478 guix-git/doc/guix.texi:37465
  53389. #, no-wrap
  53390. msgid "shepherd (default: @code{shepherd})"
  53391. msgstr ""
  53392. #. type: table
  53393. #: guix-git/doc/guix.texi:36480 guix-git/doc/guix.texi:37467
  53394. msgid "The Shepherd package to use."
  53395. msgstr ""
  53396. #. type: item
  53397. #: guix-git/doc/guix.texi:36481 guix-git/doc/guix.texi:37471
  53398. #, no-wrap
  53399. msgid "services (default: @code{'()})"
  53400. msgstr ""
  53401. #. type: table
  53402. #: guix-git/doc/guix.texi:36485 guix-git/doc/guix.texi:37475
  53403. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  53404. msgstr ""
  53405. #. type: Plain text
  53406. #: guix-git/doc/guix.texi:36490
  53407. msgid "The following example specifies the Shepherd package for the operating system:"
  53408. msgstr ""
  53409. #. type: lisp
  53410. #: guix-git/doc/guix.texi:36505
  53411. #, no-wrap
  53412. msgid ""
  53413. "(operating-system\n"
  53414. " ;; ...\n"
  53415. " (services (append (list openssh-service-type))\n"
  53416. " ;; ...\n"
  53417. " %desktop-services)\n"
  53418. " ;; ...\n"
  53419. " ;; Use own Shepherd package.\n"
  53420. " (essential-services\n"
  53421. " (modify-services (operating-system-default-essential-services\n"
  53422. " this-operating-system)\n"
  53423. " (shepherd-root-service-type config => (shepherd-configuration\n"
  53424. " (inherit config)\n"
  53425. " (shepherd my-shepherd))))))\n"
  53426. msgstr ""
  53427. #. type: defvr
  53428. #: guix-git/doc/guix.texi:36507
  53429. #, no-wrap
  53430. msgid "{Scheme Variable} %shepherd-root-service"
  53431. msgstr ""
  53432. #. type: defvr
  53433. #: guix-git/doc/guix.texi:36509
  53434. msgid "This service represents PID@tie{}1."
  53435. msgstr ""
  53436. #. type: cindex
  53437. #: guix-git/doc/guix.texi:36513
  53438. #, fuzzy, no-wrap
  53439. #| msgid "System Configuration"
  53440. msgid "complex configurations"
  53441. msgstr "Nastavenie systému"
  53442. #. type: Plain text
  53443. #: guix-git/doc/guix.texi:36518
  53444. msgid "Some programs might have rather complex configuration files or formats, and to make it easier to create Scheme bindings for these configuration files, you can use the utilities defined in the @code{(gnu services configuration)} module."
  53445. msgstr ""
  53446. #. type: Plain text
  53447. #: guix-git/doc/guix.texi:36526
  53448. msgid "The main utility is the @code{define-configuration} macro, which you will use to define a Scheme record type (@pxref{Record Overview,,, guile, GNU Guile Reference Manual}). The Scheme record will be serialized to a configuration file by using @dfn{serializers}, which are procedures that take some kind of Scheme value and returns a G-expression (@pxref{G-Expressions}), which should, once serialized to the disk, return a string. More details are listed below."
  53449. msgstr ""
  53450. #. type: deffn
  53451. #: guix-git/doc/guix.texi:36527
  53452. #, no-wrap
  53453. msgid "{Scheme Syntax} define-configuration @var{name} @var{clause1} @"
  53454. msgstr ""
  53455. #. type: deffn
  53456. #: guix-git/doc/guix.texi:36531
  53457. msgid "@var{clause2} ... Create a record type named @code{@var{name}} that contains the fields found in the clauses."
  53458. msgstr ""
  53459. #. type: deffn
  53460. #: guix-git/doc/guix.texi:36533
  53461. msgid "A clause can have one of the following forms:"
  53462. msgstr ""
  53463. #. type: example
  53464. #: guix-git/doc/guix.texi:36538
  53465. #, no-wrap
  53466. msgid ""
  53467. "(@var{field-name}\n"
  53468. " (@var{type} @var{default-value})\n"
  53469. " @var{documentation})\n"
  53470. " \n"
  53471. msgstr ""
  53472. #. type: example
  53473. #: guix-git/doc/guix.texi:36543
  53474. #, no-wrap
  53475. msgid ""
  53476. "(@var{field-name}\n"
  53477. " (@var{type} @var{default-value})\n"
  53478. " @var{documentation}\n"
  53479. " @var{serializer})\n"
  53480. "\n"
  53481. msgstr ""
  53482. #. type: example
  53483. #: guix-git/doc/guix.texi:36547
  53484. #, no-wrap
  53485. msgid ""
  53486. "(@var{field-name}\n"
  53487. " (@var{type})\n"
  53488. " @var{documentation})\n"
  53489. "\n"
  53490. msgstr ""
  53491. #. type: example
  53492. #: guix-git/doc/guix.texi:36552
  53493. #, no-wrap
  53494. msgid ""
  53495. "(@var{field-name}\n"
  53496. " (@var{type})\n"
  53497. " @var{documentation}\n"
  53498. " @var{serializer})\n"
  53499. msgstr ""
  53500. #. type: deffn
  53501. #: guix-git/doc/guix.texi:36556
  53502. msgid "@var{field-name} is an identifier that denotes the name of the field in the generated record."
  53503. msgstr ""
  53504. #. type: deffn
  53505. #: guix-git/doc/guix.texi:36564
  53506. msgid "@var{type} is the type of the value corresponding to @var{field-name}; since Guile is untyped, a predicate procedure---@code{@var{type}?}---will be called on the value corresponding to the field to ensure that the value is of the correct type. This means that if say, @var{type} is @code{package}, then a procedure named @code{package?} will be applied on the value to make sure that it is indeed a @code{<package>} object."
  53507. msgstr ""
  53508. #. type: deffn
  53509. #: guix-git/doc/guix.texi:36568
  53510. msgid "@var{default-value} is the default value corresponding to the field; if none is specified, the user is forced to provide a value when creating an object of the record type."
  53511. msgstr ""
  53512. #. type: deffn
  53513. #: guix-git/doc/guix.texi:36573
  53514. msgid "@var{documentation} is a string formatted with Texinfo syntax which should provide a description of what setting this field does."
  53515. msgstr ""
  53516. #. type: deffn
  53517. #: guix-git/doc/guix.texi:36580
  53518. msgid "@var{serializer} is the name of a procedure which takes two arguments, the first is the name of the field, and the second is the value corresponding to the field. The procedure should return a string or G-expression (@pxref{G-Expressions}) that represents the content that will be serialized to the configuration file. If none is specified, a procedure of the name @code{serialize-@var{type}} will be used."
  53519. msgstr ""
  53520. #. type: deffn
  53521. #: guix-git/doc/guix.texi:36582
  53522. msgid "A simple serializer procedure could look like this:"
  53523. msgstr ""
  53524. #. type: lisp
  53525. #: guix-git/doc/guix.texi:36587
  53526. #, no-wrap
  53527. msgid ""
  53528. "(define (serialize-boolean field-name value)\n"
  53529. " (let ((value (if value \"true\" \"false\")))\n"
  53530. " #~(string-append #$field-name #$value)))\n"
  53531. msgstr ""
  53532. #. type: deffn
  53533. #: guix-git/doc/guix.texi:36598
  53534. msgid "In some cases multiple different configuration records might be defined in the same file, but their serializers for the same type might have to be different, because they have different configuration formats. For example, the @code{serialize-boolean} procedure for the Getmail service would have to be different for the one for the Transmission service. To make it easier to deal with this situation, one can specify a serializer prefix by using the @code{prefix} literal in the @code{define-configuration} form. This means that one doesn't have to manually specify a custom @var{serializer} for every field."
  53535. msgstr ""
  53536. #. type: lisp
  53537. #: guix-git/doc/guix.texi:36602
  53538. #, no-wrap
  53539. msgid ""
  53540. "(define (foo-serialize-string field-name value)\n"
  53541. " @dots{})\n"
  53542. "\n"
  53543. msgstr ""
  53544. #. type: lisp
  53545. #: guix-git/doc/guix.texi:36605
  53546. #, no-wrap
  53547. msgid ""
  53548. "(define (bar-serialize-string field-name value)\n"
  53549. " @dots{})\n"
  53550. " \n"
  53551. msgstr ""
  53552. #. type: lisp
  53553. #: guix-git/doc/guix.texi:36611
  53554. #, no-wrap
  53555. msgid ""
  53556. "(define-configuration foo-configuration\n"
  53557. " (label\n"
  53558. " (string)\n"
  53559. " \"The name of label.\")\n"
  53560. " (prefix foo-))\n"
  53561. "\n"
  53562. msgstr ""
  53563. #. type: lisp
  53564. #: guix-git/doc/guix.texi:36617
  53565. #, no-wrap
  53566. msgid ""
  53567. "(define-configuration bar-configuration\n"
  53568. " (ip-address\n"
  53569. " (string)\n"
  53570. " \"The IPv4 address for this device.\")\n"
  53571. " (prefix bar-))\n"
  53572. msgstr ""
  53573. #. type: deffn
  53574. #: guix-git/doc/guix.texi:36623
  53575. msgid "However, in some cases you might not want to serialize any of the values of the record, to do this, you can use the @code{no-serialization} literal. There is also the @code{define-configuration/no-serialization} macro which is a shorthand of this."
  53576. msgstr ""
  53577. #. type: lisp
  53578. #: guix-git/doc/guix.texi:36631
  53579. #, no-wrap
  53580. msgid ""
  53581. ";; Nothing will be serialized to disk.\n"
  53582. "(define-configuration foo-configuration\n"
  53583. " (field\n"
  53584. " (string \"test\")\n"
  53585. " \"Some documentation.\")\n"
  53586. " (no-serialization))\n"
  53587. "\n"
  53588. msgstr ""
  53589. #. type: lisp
  53590. #: guix-git/doc/guix.texi:36637
  53591. #, no-wrap
  53592. msgid ""
  53593. ";; The same thing as above.\n"
  53594. "(define-configuration/no-serialization bar-configuration\n"
  53595. " (field\n"
  53596. " (string \"test\")\n"
  53597. " \"Some documentation.\"))\n"
  53598. msgstr ""
  53599. #. type: deffn
  53600. #: guix-git/doc/guix.texi:36640
  53601. #, no-wrap
  53602. msgid "{Scheme Syntax} define-maybe @var{type}"
  53603. msgstr ""
  53604. #. type: deffn
  53605. #: guix-git/doc/guix.texi:36645
  53606. msgid "Sometimes a field should not be serialized if the user doesn’t specify a value. To achieve this, you can use the @code{define-maybe} macro to define a ``maybe type''; if the value of a maybe type is set to the @code{disabled}, it will not be serialized."
  53607. msgstr ""
  53608. #. type: deffn
  53609. #: guix-git/doc/guix.texi:36652
  53610. msgid "When defining a ``maybe type'', the corresponding serializer for the regular type will be used by default. For example, a field of type @code{maybe-string} will be serialized using the @code{serialize-string} procedure by default, you can of course change this by specifying a custom serializer procedure. Likewise, the type of the value would have to be a string, unless it is set to the @code{disabled} symbol."
  53611. msgstr ""
  53612. #. type: lisp
  53613. #: guix-git/doc/guix.texi:36655
  53614. #, no-wrap
  53615. msgid ""
  53616. "(define-maybe string)\n"
  53617. "\n"
  53618. msgstr ""
  53619. #. type: lisp
  53620. #: guix-git/doc/guix.texi:36658
  53621. #, no-wrap
  53622. msgid ""
  53623. "(define (serialize-string field-name value)\n"
  53624. " @dots{})\n"
  53625. "\n"
  53626. msgstr ""
  53627. #. type: lisp
  53628. #: guix-git/doc/guix.texi:36665
  53629. #, no-wrap
  53630. msgid ""
  53631. "(define-configuration baz-configuration\n"
  53632. " (name\n"
  53633. " ;; Nothing will be serialized by default. If set to a string, the\n"
  53634. " ;; `serialize-string' procedure will be used to serialize the string.\n"
  53635. " (maybe-string 'disabled)\n"
  53636. " \"The name of this module.\"))\n"
  53637. msgstr ""
  53638. #. type: deffn
  53639. #: guix-git/doc/guix.texi:36669
  53640. msgid "Like with @code{define-configuration}, one can set a prefix for the serializer name by using the @code{prefix} literal."
  53641. msgstr ""
  53642. #. type: lisp
  53643. #: guix-git/doc/guix.texi:36673
  53644. #, no-wrap
  53645. msgid ""
  53646. "(define-maybe integer\n"
  53647. " (prefix baz-))\n"
  53648. "\n"
  53649. msgstr ""
  53650. #. type: lisp
  53651. #: guix-git/doc/guix.texi:36676
  53652. #, no-wrap
  53653. msgid ""
  53654. "(define (baz-serialize-interger field-name value)\n"
  53655. " @dots{})\n"
  53656. msgstr ""
  53657. #. type: deffn
  53658. #: guix-git/doc/guix.texi:36683
  53659. msgid "There is also the @code{no-serialization} literal, which when set means that no serializer will be defined for the ``maybe type'', regardless of its value is @code{disabled} or not. @code{define-maybe/no-serialization} is a shorthand for specifying the @code{no-serialization} literal."
  53660. msgstr ""
  53661. #. type: lisp
  53662. #: guix-git/doc/guix.texi:36686
  53663. #, no-wrap
  53664. msgid ""
  53665. "(define-maybe/no-serialization symbol)\n"
  53666. "\n"
  53667. msgstr ""
  53668. #. type: lisp
  53669. #: guix-git/doc/guix.texi:36691
  53670. #, no-wrap
  53671. msgid ""
  53672. "(define-configuration/no-serialization test-configuration\n"
  53673. " (mode\n"
  53674. " (maybe-symbol 'disabled)\n"
  53675. " \"Docstring.\"))\n"
  53676. msgstr ""
  53677. #. type: deffn
  53678. #: guix-git/doc/guix.texi:36694
  53679. #, no-wrap
  53680. msgid "{Scheme Procedure} serialize-configuration @var{configuration} @"
  53681. msgstr ""
  53682. #. type: deffn
  53683. #: guix-git/doc/guix.texi:36700
  53684. msgid "@var{fields} Return a G-expression that contains the values corresponding to the @var{fields} of @var{configuration}, a record that has been generated by @code{define-configuration}. The G-expression can then be serialized to disk by using something like @code{mixed-text-file}."
  53685. msgstr ""
  53686. #. type: deffn
  53687. #: guix-git/doc/guix.texi:36702
  53688. #, no-wrap
  53689. msgid "{Scheme Procedure} validate-configuration @var{configuration}"
  53690. msgstr ""
  53691. #. type: deffn
  53692. #: guix-git/doc/guix.texi:36706
  53693. msgid "@var{fields} Type-check @var{fields}, a list of field names of @var{configuration}, a configuration record created by @code{define-configuration}."
  53694. msgstr ""
  53695. #. type: deffn
  53696. #: guix-git/doc/guix.texi:36708
  53697. #, no-wrap
  53698. msgid "{Scheme Procedure} empty-serializer @var{field-name} @var{value}"
  53699. msgstr ""
  53700. #. type: deffn
  53701. #: guix-git/doc/guix.texi:36711
  53702. msgid "A serializer that just returns an empty string. The @code{serialize-package} procedure is an alias for this."
  53703. msgstr ""
  53704. #. type: Plain text
  53705. #: guix-git/doc/guix.texi:36716
  53706. msgid "Once you have defined a configuration record, you will most likely also want to document it so that other people know to use it. To help with that, there are two procedures, both of which are documented below."
  53707. msgstr ""
  53708. #. type: deffn
  53709. #: guix-git/doc/guix.texi:36717
  53710. #, no-wrap
  53711. msgid "{Scheme Procedure} generate-documentation @var{documentation} @"
  53712. msgstr ""
  53713. #. type: deffn
  53714. #: guix-git/doc/guix.texi:36724
  53715. msgid "@var{documentation-name} Generate a Texinfo fragment from the docstrings in @var{documentation}, a list of @code{(@var{label} @var{fields} @var{sub-documentation} ...)}. @var{label} should be a symbol and should be the name of the configuration record. @var{fields} should be a list of all the fields available for the configuration record."
  53716. msgstr ""
  53717. #. type: deffn
  53718. #: guix-git/doc/guix.texi:36729
  53719. msgid "@var{sub-documentation} is a @code{(@var{field-name} @var{configuration-name})} tuple. @var{field-name} is the name of the field which takes another configuration record as its value, and @var{configuration-name} is the name of that configuration record."
  53720. msgstr ""
  53721. #. type: deffn
  53722. #: guix-git/doc/guix.texi:36736
  53723. msgid "@var{sub-documentation} is only needed if there are nested configuration records. For example, the @code{getmail-configuration} record (@pxref{Mail Services}) accepts a @code{getmail-configuration-file} record in one of its @code{rcfile} field, therefore documentation for @code{getmail-configuration-file} is nested in @code{getmail-configuration}."
  53724. msgstr ""
  53725. #. type: lisp
  53726. #: guix-git/doc/guix.texi:36743
  53727. #, no-wrap
  53728. msgid ""
  53729. "(generate-documentation\n"
  53730. " `((getmail-configuration ,getmail-configuration-fields\n"
  53731. " (rcfile getmail-configuration-file))\n"
  53732. " @dots{})\n"
  53733. " 'getmail-configuration)\n"
  53734. msgstr ""
  53735. #. type: deffn
  53736. #: guix-git/doc/guix.texi:36747
  53737. msgid "@var{documentation-name} should be a symbol and should be the name of the configuration record."
  53738. msgstr ""
  53739. #. type: deffn
  53740. #: guix-git/doc/guix.texi:36750
  53741. #, no-wrap
  53742. msgid "{Scheme Procedure} configuration->documentation"
  53743. msgstr ""
  53744. #. type: deffn
  53745. #: guix-git/doc/guix.texi:36757
  53746. msgid "@var{configuration-symbol} Take @var{configuration-symbol}, the symbol corresponding to the name used when defining a configuration record with @code{define-configuration}, and print the Texinfo documentation of its fields. This is useful if there aren’t any nested configuration records since it only prints the documentation for the top-level fields."
  53747. msgstr ""
  53748. #. type: Plain text
  53749. #: guix-git/doc/guix.texi:36765
  53750. msgid "As of right now, there is no automated way to generate documentation for configuration records and put them in the manual. Instead, every time you make a change to the docstrings of a configuration record, you have to manually call @code{generate-documentation} or @code{configuration->documentation}, and paste the output into the @file{doc/guix.texi} file."
  53751. msgstr ""
  53752. #. type: Plain text
  53753. #: guix-git/doc/guix.texi:36769
  53754. msgid "Below is an example of a record type created using @code{define-configuration} and friends."
  53755. msgstr ""
  53756. #. type: lisp
  53757. #: guix-git/doc/guix.texi:36776
  53758. #, no-wrap
  53759. msgid ""
  53760. "(use-modules (gnu services)\n"
  53761. " (guix gexp)\n"
  53762. " (gnu services configuration)\n"
  53763. " (srfi srfi-26)\n"
  53764. " (srfi srfi-1))\n"
  53765. "\n"
  53766. msgstr ""
  53767. #. type: lisp
  53768. #: guix-git/doc/guix.texi:36784
  53769. #, no-wrap
  53770. msgid ""
  53771. ";; Turn field names, which are Scheme symbols into strings\n"
  53772. "(define (uglify-field-name field-name)\n"
  53773. " (let ((str (symbol->string field-name)))\n"
  53774. " ;; field? -> is-field\n"
  53775. " (if (string-suffix? \"?\" str)\n"
  53776. " (string-append \"is-\" (string-drop-right str 1))\n"
  53777. " str)))\n"
  53778. "\n"
  53779. msgstr ""
  53780. #. type: lisp
  53781. #: guix-git/doc/guix.texi:36787
  53782. #, no-wrap
  53783. msgid ""
  53784. "(define (serialize-string field-name value)\n"
  53785. " #~(string-append #$(uglify-field-name field-name) \" = \" #$value \"\\n\"))\n"
  53786. "\n"
  53787. msgstr ""
  53788. #. type: lisp
  53789. #: guix-git/doc/guix.texi:36790
  53790. #, no-wrap
  53791. msgid ""
  53792. "(define (serialize-integer field-name value)\n"
  53793. " (serialize-string field-name (number->string value)))\n"
  53794. "\n"
  53795. msgstr ""
  53796. #. type: lisp
  53797. #: guix-git/doc/guix.texi:36793
  53798. #, no-wrap
  53799. msgid ""
  53800. "(define (serialize-boolean field-name value)\n"
  53801. " (serialize-string field-name (if value \"true\" \"false\")))\n"
  53802. "\n"
  53803. msgstr ""
  53804. #. type: lisp
  53805. #: guix-git/doc/guix.texi:36796
  53806. #, no-wrap
  53807. msgid ""
  53808. "(define (serialize-contact-name field-name value)\n"
  53809. " #~(string-append \"\\n[\" #$value \"]\\n\"))\n"
  53810. "\n"
  53811. msgstr ""
  53812. #. type: lisp
  53813. #: guix-git/doc/guix.texi:36799
  53814. #, no-wrap
  53815. msgid ""
  53816. "(define (list-of-contact-configurations? lst)\n"
  53817. " (every contact-configuration? lst))\n"
  53818. "\n"
  53819. msgstr ""
  53820. #. type: lisp
  53821. #: guix-git/doc/guix.texi:36804
  53822. #, no-wrap
  53823. msgid ""
  53824. "(define (serialize-list-of-contact-configurations field-name value)\n"
  53825. " #~(string-append #$@@(map (cut serialize-configuration <>\n"
  53826. " contact-configuration-fields)\n"
  53827. " value)))\n"
  53828. "\n"
  53829. msgstr ""
  53830. #. type: lisp
  53831. #: guix-git/doc/guix.texi:36811
  53832. #, no-wrap
  53833. msgid ""
  53834. "(define (serialize-contacts-list-configuration configuration)\n"
  53835. " (mixed-text-file\n"
  53836. " \"contactrc\"\n"
  53837. " #~(string-append \"[Owner]\\n\"\n"
  53838. " #$(serialize-configuration\n"
  53839. " configuration contacts-list-configuration-fields))))\n"
  53840. "\n"
  53841. msgstr ""
  53842. #. type: lisp
  53843. #: guix-git/doc/guix.texi:36814
  53844. #, no-wrap
  53845. msgid ""
  53846. "(define-maybe integer)\n"
  53847. "(define-maybe string)\n"
  53848. "\n"
  53849. msgstr ""
  53850. #. type: lisp
  53851. #: guix-git/doc/guix.texi:36829
  53852. #, no-wrap
  53853. msgid ""
  53854. "(define-configuration contact-configuration\n"
  53855. " (name\n"
  53856. " (string)\n"
  53857. " \"The name of the contact.\"\n"
  53858. " serialize-contact-name)\n"
  53859. " (phone-number\n"
  53860. " (maybe-integer 'disabled)\n"
  53861. " \"The person's phone number.\")\n"
  53862. " (email\n"
  53863. " (maybe-string 'disabled)\n"
  53864. " \"The person's email address.\")\n"
  53865. " (married?\n"
  53866. " (boolean)\n"
  53867. " \"Whether the person is married.\"))\n"
  53868. "\n"
  53869. msgstr ""
  53870. #. type: lisp
  53871. #: guix-git/doc/guix.texi:36841
  53872. #, no-wrap
  53873. msgid ""
  53874. "(define-configuration contacts-list-configuration\n"
  53875. " (name\n"
  53876. " (string)\n"
  53877. " \"The name of the owner of this contact list.\")\n"
  53878. " (email\n"
  53879. " (string)\n"
  53880. " \"The owner's email address.\")\n"
  53881. " (contacts\n"
  53882. " (list-of-contact-configurations '())\n"
  53883. " \"A list of @@code@{contact-configuation@} records which contain\n"
  53884. "information about all your contacts.\"))\n"
  53885. msgstr ""
  53886. #. type: Plain text
  53887. #: guix-git/doc/guix.texi:36844
  53888. msgid "A contacts list configuration could then be created like this:"
  53889. msgstr ""
  53890. #. type: lisp
  53891. #: guix-git/doc/guix.texi:36860
  53892. #, no-wrap
  53893. msgid ""
  53894. "(define my-contacts\n"
  53895. " (contacts-list-configuration\n"
  53896. " (name \"Alice\")\n"
  53897. " (email \"alice@@example.org\")\n"
  53898. " (contacts\n"
  53899. " (list (contact-configuration\n"
  53900. " (name \"Bob\")\n"
  53901. " (phone-number 1234)\n"
  53902. " (email \"bob@@gnu.org\")\n"
  53903. " (married? #f))\n"
  53904. " (contact-configuration\n"
  53905. " (name \"Charlie\")\n"
  53906. " (phone-number 0000)\n"
  53907. " (married? #t))))))\n"
  53908. msgstr ""
  53909. #. type: Plain text
  53910. #: guix-git/doc/guix.texi:36864
  53911. msgid "After serializing the configuration to disk, the resulting file would look like this:"
  53912. msgstr ""
  53913. #. type: example
  53914. #: guix-git/doc/guix.texi:36869
  53915. #, no-wrap
  53916. msgid ""
  53917. "[owner]\n"
  53918. "name = Alice\n"
  53919. "email = alice@@example.org\n"
  53920. "\n"
  53921. msgstr ""
  53922. #. type: example
  53923. #: guix-git/doc/guix.texi:36874
  53924. #, no-wrap
  53925. msgid ""
  53926. "[Bob]\n"
  53927. "phone-number = 1234\n"
  53928. "email = bob@@gnu.org\n"
  53929. "is-married = false\n"
  53930. "\n"
  53931. msgstr ""
  53932. #. type: example
  53933. #: guix-git/doc/guix.texi:36878
  53934. #, no-wrap
  53935. msgid ""
  53936. "[Charlie]\n"
  53937. "phone-number = 0\n"
  53938. "is-married = true\n"
  53939. msgstr ""
  53940. #. type: cindex
  53941. #: guix-git/doc/guix.texi:36883
  53942. #, fuzzy, no-wrap
  53943. #| msgid "System Configuration"
  53944. msgid "home configuration"
  53945. msgstr "Nastavenie systému"
  53946. #. type: Plain text
  53947. #: guix-git/doc/guix.texi:36895
  53948. msgid "Guix supports declarative configuration of @dfn{home environments} by utilizing the configuration mechanism described in the previous chapter (@pxref{Defining Services}), but for user's dotfiles and packages. It works both on Guix System and foreign distros and allows users to declare all the packages and services that should be installed and configured for the user. Once a user has written a file containing @code{home-environment} record, such a configuration can be @dfn{instantiated} by an unprivileged user with the @command{guix home} command (@pxref{Invoking guix home})."
  53949. msgstr ""
  53950. #. type: Plain text
  53951. #: guix-git/doc/guix.texi:36912
  53952. msgid "The user's home environment usually consists of three basic parts: software, configuration, and state. Software in mainstream distros are usually installed system-wide, but with GNU Guix most software packages can be installed on a per-user basis without needing root privileges, and are thus considered part of the user’s @dfn{home environment}. Packages on their own not very useful in many cases, because often they require some additional configuration, usually config files that reside in @env{XDG_CONFIG_HOME} (@file{~/.config} by default) or other directories. Everything else can be considered state, like media files, application databases, and logs."
  53953. msgstr ""
  53954. #. type: Plain text
  53955. #: guix-git/doc/guix.texi:36915
  53956. msgid "Using Guix for managing home environments provides a number of advantages:"
  53957. msgstr ""
  53958. #. type: item
  53959. #: guix-git/doc/guix.texi:36918
  53960. #, no-wrap
  53961. msgid "All software can be configured in one language (Guile Scheme),"
  53962. msgstr ""
  53963. #. type: itemize
  53964. #: guix-git/doc/guix.texi:36921
  53965. msgid "this gives users the ability to share values between configurations of different programs."
  53966. msgstr ""
  53967. #. type: item
  53968. #: guix-git/doc/guix.texi:36922
  53969. #, no-wrap
  53970. msgid "A well-defined home environment is self-contained and can be"
  53971. msgstr ""
  53972. #. type: itemize
  53973. #: guix-git/doc/guix.texi:36925
  53974. msgid "created in a declarative and reproducible way---there is no need to grab external binaries or manually edit some configuration file."
  53975. msgstr ""
  53976. #. type: item
  53977. #: guix-git/doc/guix.texi:36926
  53978. #, no-wrap
  53979. msgid "After every @command{guix home reconfigure} invocation, a new home"
  53980. msgstr ""
  53981. #. type: itemize
  53982. #: guix-git/doc/guix.texi:36930
  53983. msgid "environment generation will be created. This means that users can rollback to a previous home environment generation so they don’t have to worry about breaking their configuration."
  53984. msgstr ""
  53985. #. type: item
  53986. #: guix-git/doc/guix.texi:36931
  53987. #, no-wrap
  53988. msgid "It is possible to manage stateful data with Guix Home, this"
  53989. msgstr ""
  53990. #. type: itemize
  53991. #: guix-git/doc/guix.texi:36936
  53992. msgid "includes the ability to automatically clone Git repositories on the initial setup of the machine, and periodically running commands like @command{rsync} to sync data with another host. This functionality is still in an experimental stage, though."
  53993. msgstr ""
  53994. #. type: section
  53995. #: guix-git/doc/guix.texi:36944 guix-git/doc/guix.texi:36946
  53996. #: guix-git/doc/guix.texi:36947
  53997. #, no-wrap
  53998. msgid "Declaring the Home Environment"
  53999. msgstr ""
  54000. #. type: menuentry
  54001. #: guix-git/doc/guix.texi:36944
  54002. msgid "Customizing your Home."
  54003. msgstr ""
  54004. #. type: section
  54005. #: guix-git/doc/guix.texi:36944 guix-git/doc/guix.texi:37014
  54006. #: guix-git/doc/guix.texi:37015
  54007. #, no-wrap
  54008. msgid "Configuring the Shell"
  54009. msgstr ""
  54010. #. type: menuentry
  54011. #: guix-git/doc/guix.texi:36944
  54012. msgid "Enabling home environment."
  54013. msgstr ""
  54014. #. type: section
  54015. #: guix-git/doc/guix.texi:36944 guix-git/doc/guix.texi:37061
  54016. #: guix-git/doc/guix.texi:37062
  54017. #, fuzzy, no-wrap
  54018. #| msgid "Services"
  54019. msgid "Home Services"
  54020. msgstr "Služby"
  54021. #. type: menuentry
  54022. #: guix-git/doc/guix.texi:36944
  54023. msgid "Specifying home services."
  54024. msgstr ""
  54025. #. type: menuentry
  54026. #: guix-git/doc/guix.texi:36944
  54027. msgid "Instantiating a home configuration."
  54028. msgstr ""
  54029. #. type: Plain text
  54030. #: guix-git/doc/guix.texi:36953
  54031. msgid "The home environment is configured by providing a @code{home-environment} declaration in a file that can be passed to the @command{guix home} command (@pxref{Invoking guix home}). The easiest way to get started is by generating an initial configuration with @command{guix home import}:"
  54032. msgstr ""
  54033. #. type: example
  54034. #: guix-git/doc/guix.texi:36956
  54035. #, no-wrap
  54036. msgid "guix home import ~/src/guix-config\n"
  54037. msgstr ""
  54038. #. type: Plain text
  54039. #: guix-git/doc/guix.texi:36964
  54040. msgid "The @command{guix home import} command reads some of the ``dot files'' such as @file{~/.bashrc} found in your home directory and copies them to the given directory, @file{~/src/guix-config} in this case; it also reads the contents of your profile, @file{~/.guix-profile}, and, based on that, it populates @file{~/src/guix-config/home-configuration.scm} with a Home configuration that resembles your current configuration."
  54041. msgstr ""
  54042. #. type: Plain text
  54043. #: guix-git/doc/guix.texi:36970
  54044. msgid "A simple setup can include Bash and a custom text configuration, like in the example below. Don't be afraid to declare home environment parts, which overlaps with your current dot files: before installing any configuration files, Guix Home will back up existing config files to a separate place in the home directory."
  54045. msgstr ""
  54046. #. type: quotation
  54047. #: guix-git/doc/guix.texi:36976
  54048. msgid "It is highly recommended that you manage your shell or shells with Guix Home, because it will make sure that all the necessary scripts are sourced by the shell configuration file. Otherwise you will need to do it manually. (@pxref{Configuring the Shell})."
  54049. msgstr ""
  54050. #. type: findex
  54051. #: guix-git/doc/guix.texi:36978
  54052. #, no-wrap
  54053. msgid "home-environment"
  54054. msgstr ""
  54055. #. type: include
  54056. #: guix-git/doc/guix.texi:36980
  54057. #, no-wrap
  54058. msgid "he-config-bare-bones.scm"
  54059. msgstr ""
  54060. #. type: Plain text
  54061. #: guix-git/doc/guix.texi:36987
  54062. msgid "The @code{packages} field should be self-explanatory, it will install the list of packages into the user's profile. The most important field is @code{services}, it contains a list of @dfn{home services}, which are the basic building blocks of a home environment."
  54063. msgstr ""
  54064. #. type: Plain text
  54065. #: guix-git/doc/guix.texi:36995
  54066. msgid "There is no daemon (at least not necessarily) related to a home service, a home service is just an element that is used to declare part of home environment and extend other parts of it. The extension mechanism discussed in the previous chapter (@pxref{Defining Services}) should not be confused with Shepherd services (@pxref{Shepherd Services}). Using this extension mechanism and some Scheme code that glues things together gives the user the freedom to declare their own, very custom, home environments."
  54067. msgstr ""
  54068. #. type: Plain text
  54069. #: guix-git/doc/guix.texi:36998
  54070. msgid "Once you have a configuration file that suits your needs, you can reconfigure your home by running:"
  54071. msgstr ""
  54072. #. type: example
  54073. #: guix-git/doc/guix.texi:37001
  54074. #, no-wrap
  54075. msgid "guix home reconfigure config.scm\n"
  54076. msgstr ""
  54077. #. type: Plain text
  54078. #: guix-git/doc/guix.texi:37005
  54079. msgid "This ``builds'' your home environment and creates @file{~/.guix-home} pointing to it. Voilà!"
  54080. msgstr ""
  54081. #. type: quotation
  54082. #: guix-git/doc/guix.texi:37012
  54083. msgid "Make sure the operating system has elogind, systemd, or a similar mechanism to create the XDG run-time directory and has the @env{XDG_RUNTIME_DIR} variable set. Failing that, the @file{on-first-login} script will not execute anything, and processes like user Shepherd and its descendants will not start."
  54084. msgstr ""
  54085. #. type: Plain text
  54086. #: guix-git/doc/guix.texi:37018
  54087. msgid "This section is safe to skip if your shell or shells are managed by Guix Home. Otherwise, read it carefully."
  54088. msgstr ""
  54089. #. type: Plain text
  54090. #: guix-git/doc/guix.texi:37025
  54091. msgid "There are a few scripts that must be evaluated by a login shell to activate the home environment. The shell startup files only read by login shells often have @code{profile} suffix. For more information about login shells see @ref{Invoking Bash,,, bash, The GNU Bash Reference Manual} and see @ref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}."
  54092. msgstr ""
  54093. #. type: Plain text
  54094. #: guix-git/doc/guix.texi:37032
  54095. msgid "The first script that needs to be sourced is @file{setup-environment}, which sets all the necessary environment variables (including variables declared by the user) and the second one is @file{on-first-login}, which starts Shepherd for the current user and performs actions declared by other home services that extends @code{home-run-on-first-login-service-type}."
  54096. msgstr ""
  54097. #. type: Plain text
  54098. #: guix-git/doc/guix.texi:37035
  54099. msgid "Guix Home will always create @file{~/.profile}, which contains the following lines:"
  54100. msgstr ""
  54101. #. type: example
  54102. #: guix-git/doc/guix.texi:37040
  54103. #, no-wrap
  54104. msgid ""
  54105. "HOME_ENVIRONMENT=$HOME/.guix-home\n"
  54106. ". $HOME_ENVIRONMENT/setup-environment\n"
  54107. "$HOME_ENVIRONMENT/on-first-login\n"
  54108. msgstr ""
  54109. #. type: Plain text
  54110. #: guix-git/doc/guix.texi:37050
  54111. msgid "This makes POSIX compliant login shells activate the home environment. However, in most cases this file won't be read by most modern shells, because they are run in non POSIX mode by default and have their own @file{*profile} startup files. For example Bash will prefer @file{~/.bash_profile} in case it exists and only if it doesn't will it fallback to @file{~/.profile}. Zsh (if no additional options are specified) will ignore @file{~/.profile}, even if @file{~/.zprofile} doesn't exist."
  54112. msgstr ""
  54113. #. type: Plain text
  54114. #: guix-git/doc/guix.texi:37055
  54115. msgid "To make your shell respect @file{~/.profile}, add @code{. ~/.profile} or @code{source ~/profile} to the startup file for the login shell. In case of Bash, it is @file{~/.bash_profile}, and in case of Zsh, it is @file{~/.zprofile}."
  54116. msgstr ""
  54117. #. type: quotation
  54118. #: guix-git/doc/guix.texi:37059
  54119. msgid "This step is only required if your shell is NOT managed by Guix Home. Otherwise, everything will be done automatically."
  54120. msgstr ""
  54121. #. type: cindex
  54122. #: guix-git/doc/guix.texi:37063
  54123. #, fuzzy, no-wrap
  54124. #| msgid "Services"
  54125. msgid "home services"
  54126. msgstr "Služby"
  54127. #. type: Plain text
  54128. #: guix-git/doc/guix.texi:37072
  54129. msgid "A @dfn{home service} is not necessarily something that has a daemon and is managed by Shepherd (@pxref{Jump Start,,, shepherd, The GNU Shepherd Manual}), in most cases it doesn't. It's a simple building block of the home environment, often declaring a set of packages to be installed in the home environment profile, a set of config files to be symlinked into @env{XDG_CONFIG_HOME} (@file{~/.config} by default), and environment variables to be set by a login shell."
  54130. msgstr ""
  54131. #. type: Plain text
  54132. #: guix-git/doc/guix.texi:37080
  54133. msgid "There is a service extension mechanism (@pxref{Service Composition}) which allows home services to extend other home services and utilize capabilities they provide; for example: declare mcron jobs (@pxref{Top,,, mcron, GNU@tie{}Mcron}) by extending @ref{Mcron Home Service}; declare daemons by extending @ref{Shepherd Home Service}; add commands, which will be invoked on by the Bash by extending @ref{Shells Home Services, @code{home-bash-service-type}}."
  54134. msgstr ""
  54135. #. type: Plain text
  54136. #: guix-git/doc/guix.texi:37091
  54137. msgid "A good way to discover avaliable home services is using the @command{guix home search} command (@pxref{Invoking guix home}). After the required home services are found, include its module with the @code{use-modules} form (@pxref{use-modules,, Using Guile Modules, guile, The GNU Guile Reference Manual}), or the @code{#:use-modules} directive (@pxref{define-module,, Creating Guile Modules, guile, The GNU Guile Reference Manual}) and declare a home service using the @code{service} function, or extend a service type by declaring a new service with the @code{simple-service} procedure from @code{(gnu services)}."
  54138. msgstr ""
  54139. #. type: subsection
  54140. #: guix-git/doc/guix.texi:37097 guix-git/doc/guix.texi:37100
  54141. #: guix-git/doc/guix.texi:37101
  54142. #, fuzzy, no-wrap
  54143. #| msgid "Services"
  54144. msgid "Essential Home Services"
  54145. msgstr "Služby"
  54146. #. type: menuentry
  54147. #: guix-git/doc/guix.texi:37097
  54148. msgid "Environment variables, packages, on-* scripts."
  54149. msgstr ""
  54150. #. type: menuentry
  54151. #: guix-git/doc/guix.texi:37097
  54152. msgid "Shells: Shells Home Services"
  54153. msgstr ""
  54154. #. type: menuentry
  54155. #: guix-git/doc/guix.texi:37097
  54156. msgid "POSIX shells, Bash, Zsh."
  54157. msgstr ""
  54158. #. type: menuentry
  54159. #: guix-git/doc/guix.texi:37097
  54160. msgid "Mcron: Mcron Home Service"
  54161. msgstr ""
  54162. #. type: menuentry
  54163. #: guix-git/doc/guix.texi:37097
  54164. msgid "Scheduled User's Job Execution."
  54165. msgstr ""
  54166. #. type: menuentry
  54167. #: guix-git/doc/guix.texi:37097
  54168. msgid "Shepherd: Shepherd Home Service"
  54169. msgstr ""
  54170. #. type: menuentry
  54171. #: guix-git/doc/guix.texi:37097
  54172. msgid "Managing User's Daemons."
  54173. msgstr ""
  54174. #. type: Plain text
  54175. #: guix-git/doc/guix.texi:37106
  54176. msgid "There are a few essential home services defined in @code{(gnu services)}, they are mostly for internal use and are required to build a home environment, but some of them will be useful for the end user."
  54177. msgstr ""
  54178. #. type: cindex
  54179. #: guix-git/doc/guix.texi:37107
  54180. #, no-wrap
  54181. msgid "environment variables"
  54182. msgstr ""
  54183. #. type: defvr
  54184. #: guix-git/doc/guix.texi:37109
  54185. #, no-wrap
  54186. msgid "{Scheme Variable} home-environment-variables-service-type"
  54187. msgstr ""
  54188. #. type: defvr
  54189. #: guix-git/doc/guix.texi:37114
  54190. msgid "The service of this type will be instantiated by every home environment automatically by default, there is no need to define it, but someone may want to extend it with a list of pairs to set some environment variables."
  54191. msgstr ""
  54192. #. type: lisp
  54193. #: guix-git/doc/guix.texi:37118
  54194. #, no-wrap
  54195. msgid ""
  54196. "(list (\"ENV_VAR1\" . \"value1\")\n"
  54197. " (\"ENV_VAR2\" . \"value2\"))\n"
  54198. msgstr ""
  54199. #. type: defvr
  54200. #: guix-git/doc/guix.texi:37123
  54201. msgid "The easiest way to extend a service type, without defining new service type is to use the @code{simple-service} helper from @code{(gnu services)}."
  54202. msgstr ""
  54203. #. type: lisp
  54204. #: guix-git/doc/guix.texi:37131
  54205. #, no-wrap
  54206. msgid ""
  54207. "(simple-service 'some-useful-env-vars-service\n"
  54208. "\t\thome-environment-variables-service-type\n"
  54209. "\t\t`((\"LESSHISTFILE\" . \"$XDG_CACHE_HOME/.lesshst\")\n"
  54210. " (\"SHELL\" . ,(file-append zsh \"/bin/zsh\"))\n"
  54211. " (\"USELESS_VAR\" . #f)\n"
  54212. " (\"_JAVA_AWT_WM_NONREPARENTING\" . #t)))\n"
  54213. msgstr ""
  54214. #. type: defvr
  54215. #: guix-git/doc/guix.texi:37136
  54216. msgid "If you include such a service in you home environment definition, it will add the following content to the @file{setup-environment} script (which is expected to be sourced by the login shell):"
  54217. msgstr ""
  54218. #. type: example
  54219. #: guix-git/doc/guix.texi:37141
  54220. #, no-wrap
  54221. msgid ""
  54222. "export LESSHISTFILE=$XDG_CACHE_HOME/.lesshst\n"
  54223. "export SHELL=/gnu/store/2hsg15n644f0glrcbkb1kqknmmqdar03-zsh-5.8/bin/zsh\n"
  54224. "export _JAVA_AWT_WM_NONREPARENTING\n"
  54225. msgstr ""
  54226. #. type: quotation
  54227. #: guix-git/doc/guix.texi:37148
  54228. msgid "Make sure that module @code{(gnu packages shells)} is imported with @code{use-modules} or any other way, this namespace contains the definition of the @code{zsh} packages, which is used in the example above."
  54229. msgstr ""
  54230. #. type: defvr
  54231. #: guix-git/doc/guix.texi:37161
  54232. msgid "The association list (@pxref{Association Lists, alists, Association Lists, guile, The GNU Guile Reference manual}) is a data structure containing key-value pairs, for @code{home-environment-variables-service-type} the key is always a string, the value can be a string, string-valued gexp (@pxref{G-Expressions}), file-like object (@pxref{G-Expressions, file-like object}) or boolean. For gexps, the variable will be set to the value of the gexp; for file-like objects, it will be set to the path of the file in the store (@pxref{The Store}); for @code{#t}, it will export the variable without any value; and for @code{#f}, it will omit variable."
  54233. msgstr ""
  54234. #. type: defvr
  54235. #: guix-git/doc/guix.texi:37164
  54236. #, no-wrap
  54237. msgid "{Scheme Variable} home-profile-service-type"
  54238. msgstr ""
  54239. #. type: defvr
  54240. #: guix-git/doc/guix.texi:37170
  54241. msgid "The service of this type will be instantiated by every home environment automatically, there is no need to define it, but you may want to extend it with a list of packages if you want to install additional packages into your profile. Other services, which need to make some programs avaliable to the user will also extend this service type."
  54242. msgstr ""
  54243. #. type: defvr
  54244. #: guix-git/doc/guix.texi:37172
  54245. msgid "The extension value is just a list of packages:"
  54246. msgstr ""
  54247. #. type: lisp
  54248. #: guix-git/doc/guix.texi:37175
  54249. #, no-wrap
  54250. msgid "(list htop vim emacs)\n"
  54251. msgstr ""
  54252. #. type: defvr
  54253. #: guix-git/doc/guix.texi:37185
  54254. msgid "The same approach as @code{simple-service} (@pxref{Service Reference, simple-service}) for @code{home-environment-variables-service-type} can be used here, too. Make sure that modules containing the specified packages are imported with @code{use-modules}. To find a package or information about its module use @command{guix search} (@pxref{Invoking guix package}). Alternatively, @code{specification->package} can be used to get the package record from string without importing related module."
  54255. msgstr ""
  54256. #. type: Plain text
  54257. #: guix-git/doc/guix.texi:37189
  54258. msgid "There are few more essential services, but users are not expected to extend them."
  54259. msgstr ""
  54260. #. type: defvr
  54261. #: guix-git/doc/guix.texi:37190
  54262. #, no-wrap
  54263. msgid "{Scheme Variable} home-service-type"
  54264. msgstr ""
  54265. #. type: defvr
  54266. #: guix-git/doc/guix.texi:37195
  54267. msgid "The root of home services DAG, it generates a folder, which later will be symlinked to @file{~/.guix-home}, it contains configurations, profile with binaries and libraries, and some necessary scripts to glue things together."
  54268. msgstr ""
  54269. #. type: defvr
  54270. #: guix-git/doc/guix.texi:37197
  54271. #, no-wrap
  54272. msgid "{Scheme Variable} home-run-on-first-login-service-type"
  54273. msgstr ""
  54274. #. type: defvr
  54275. #: guix-git/doc/guix.texi:37202
  54276. msgid "The service of this type generates a Guile script, which is expected to be executed by the login shell. It is only executed if the special flag file inside @env{XDG_RUNTIME_DIR} hasn't been created, this prevents redundant executions of the script if multiple login shells are spawned."
  54277. msgstr ""
  54278. #. type: defvr
  54279. #: guix-git/doc/guix.texi:37208
  54280. msgid "It can be extended with a gexp. However, to autostart an application, users @emph{should not} use this service, in most cases it's better to extend @code{home-shepherd-service-type} with a Shepherd service (@pxref{Shepherd Services}), or extend the shell's startup file with the required command using the appropriate service type."
  54281. msgstr ""
  54282. #. type: defvr
  54283. #: guix-git/doc/guix.texi:37210
  54284. #, no-wrap
  54285. msgid "{Scheme Variable} home-activation-service-type"
  54286. msgstr ""
  54287. #. type: defvr
  54288. #: guix-git/doc/guix.texi:37214
  54289. msgid "The service of this type generates a guile script, which runs on every @command{guix home reconfigure} invocation or any other action, which leads to the activation of the home environment."
  54290. msgstr ""
  54291. #. type: node
  54292. #: guix-git/doc/guix.texi:37216
  54293. #, no-wrap
  54294. msgid "Shells Home Services"
  54295. msgstr ""
  54296. #. type: subsection
  54297. #: guix-git/doc/guix.texi:37217
  54298. #, no-wrap
  54299. msgid "Shells"
  54300. msgstr ""
  54301. #. type: cindex
  54302. #: guix-git/doc/guix.texi:37219 guix-git/doc/guix.texi:37500
  54303. #, no-wrap
  54304. msgid "shell"
  54305. msgstr ""
  54306. #. type: cindex
  54307. #: guix-git/doc/guix.texi:37220
  54308. #, no-wrap
  54309. msgid "login shell"
  54310. msgstr ""
  54311. #. type: cindex
  54312. #: guix-git/doc/guix.texi:37221
  54313. #, no-wrap
  54314. msgid "interactive shell"
  54315. msgstr ""
  54316. #. type: cindex
  54317. #: guix-git/doc/guix.texi:37222 guix-git/doc/guix.texi:37502
  54318. #, no-wrap
  54319. msgid "bash"
  54320. msgstr ""
  54321. #. type: cindex
  54322. #: guix-git/doc/guix.texi:37223 guix-git/doc/guix.texi:37503
  54323. #, no-wrap
  54324. msgid "zsh"
  54325. msgstr ""
  54326. #. type: Plain text
  54327. #: guix-git/doc/guix.texi:37229
  54328. msgid "Shells play a quite important role in the environment initialization process, you can configure them manually as described in section @ref{Configuring the Shell}, but the recommended way is to use home services listed below. It's both easier and more reliable."
  54329. msgstr ""
  54330. #. type: Plain text
  54331. #: guix-git/doc/guix.texi:37239
  54332. msgid "Each home environment instantiates @code{home-shell-profile-service-type}, which creates a @file{~/.profile} startup file for all POSIX-compatible shells. This file contains all the necessary steps to properly initialize the environment, but many modern shells like Bash or Zsh prefer their own startup files, that's why the respective home services (@code{home-bash-service-type} and @code{home-zsh-service-type}) ensure that @file{~/.profile} is sourced by @file{~/.bash_profile} and @file{~/.zprofile}, respectively."
  54333. msgstr ""
  54334. #. type: subsubheading
  54335. #: guix-git/doc/guix.texi:37240
  54336. #, fuzzy, no-wrap
  54337. #| msgid "Services"
  54338. msgid "Shell Profile Service"
  54339. msgstr "Služby"
  54340. #. type: deftp
  54341. #: guix-git/doc/guix.texi:37242
  54342. #, fuzzy, no-wrap
  54343. #| msgid "System Configuration"
  54344. msgid "{Data Type} home-shell-profile-configuration"
  54345. msgstr "Nastavenie systému"
  54346. #. type: deftp
  54347. #: guix-git/doc/guix.texi:37244
  54348. msgid "Available @code{home-shell-profile-configuration} fields are:"
  54349. msgstr ""
  54350. #. type: item
  54351. #: guix-git/doc/guix.texi:37246
  54352. #, no-wrap
  54353. msgid "@code{profile} (default: @code{()}) (type: text-config)"
  54354. msgstr ""
  54355. #. type: table
  54356. #: guix-git/doc/guix.texi:37256
  54357. msgid "@code{home-shell-profile} is instantiated automatically by @code{home-environment}, DO NOT create this service manually, it can only be extended. @code{profile} is a list of file-like objects, which will go to @file{~/.profile}. By default @file{~/.profile} contains the initialization code, which have to be evaluated by login shell to make home-environment's profile avaliable to the user, but other commands can be added to the file if it is really necessary. In most cases shell's configuration files are preferred places for user's customizations. Extend home-shell-profile service only if you really know what you do."
  54358. msgstr ""
  54359. #. type: subsubheading
  54360. #: guix-git/doc/guix.texi:37261
  54361. #, no-wrap
  54362. msgid "Bash Home Service"
  54363. msgstr ""
  54364. #. type: anchor{#1}
  54365. #: guix-git/doc/guix.texi:37264
  54366. #, fuzzy
  54367. #| msgid "System Configuration"
  54368. msgid "home-bash-configuration"
  54369. msgstr "Nastavenie systému"
  54370. #. type: deftp
  54371. #: guix-git/doc/guix.texi:37264
  54372. #, fuzzy, no-wrap
  54373. #| msgid "System Configuration"
  54374. msgid "{Data Type} home-bash-configuration"
  54375. msgstr "Nastavenie systému"
  54376. #. type: deftp
  54377. #: guix-git/doc/guix.texi:37266
  54378. msgid "Available @code{home-bash-configuration} fields are:"
  54379. msgstr ""
  54380. #. type: item
  54381. #: guix-git/doc/guix.texi:37268
  54382. #, no-wrap
  54383. msgid "@code{package} (default: @code{bash}) (type: package)"
  54384. msgstr ""
  54385. #. type: table
  54386. #: guix-git/doc/guix.texi:37270
  54387. msgid "The Bash package to use."
  54388. msgstr ""
  54389. #. type: item
  54390. #: guix-git/doc/guix.texi:37271
  54391. #, no-wrap
  54392. msgid "@code{guix-defaults?} (default: @code{#t}) (type: boolean)"
  54393. msgstr ""
  54394. #. type: table
  54395. #: guix-git/doc/guix.texi:37274
  54396. msgid "Add sane defaults like reading @file{/etc/bashrc} and coloring the output of @command{ls} to the end of the @file{.bashrc} file."
  54397. msgstr ""
  54398. #. type: item
  54399. #: guix-git/doc/guix.texi:37275 guix-git/doc/guix.texi:37329
  54400. #: guix-git/doc/guix.texi:37368
  54401. #, no-wrap
  54402. msgid "@code{environment-variables} (default: @code{()}) (type: alist)"
  54403. msgstr ""
  54404. #. type: table
  54405. #: guix-git/doc/guix.texi:37280
  54406. msgid "Association list of environment variables to set for the Bash session. The rules for the @code{home-environment-variables-service-type} apply here (@pxref{Essential Home Services}). The contents of this field will be added after the contents of the @code{bash-profile} field."
  54407. msgstr ""
  54408. #. type: item
  54409. #: guix-git/doc/guix.texi:37281 guix-git/doc/guix.texi:37334
  54410. #, no-wrap
  54411. msgid "@code{aliases} (default: @code{()}) (type: alist)"
  54412. msgstr ""
  54413. #. type: table
  54414. #: guix-git/doc/guix.texi:37286
  54415. msgid "Association list of aliases to set for the Bash session. The aliases will be defined after the contents of the @code{bashrc} field has been put in the @file{.bashrc} file. The alias will automatically be quoted, so something line this:"
  54416. msgstr ""
  54417. #. type: lisp
  54418. #: guix-git/doc/guix.texi:37289
  54419. #, no-wrap
  54420. msgid "'((\\\"ls\\\" . \\\"ls -alF\\\"))\n"
  54421. msgstr ""
  54422. #. type: table
  54423. #: guix-git/doc/guix.texi:37292
  54424. msgid "turns into"
  54425. msgstr ""
  54426. #. type: example
  54427. #: guix-git/doc/guix.texi:37295
  54428. #, no-wrap
  54429. msgid "alias ls=\\\"ls -alF\\\"\n"
  54430. msgstr ""
  54431. #. type: item
  54432. #: guix-git/doc/guix.texi:37297 guix-git/doc/guix.texi:37338
  54433. #, no-wrap
  54434. msgid "@code{bash-profile} (default: @code{()}) (type: text-config)"
  54435. msgstr ""
  54436. #. type: table
  54437. #: guix-git/doc/guix.texi:37302
  54438. msgid "List of file-like objects, which will be added to @file{.bash_profile}. Used for executing user's commands at start of login shell (In most cases the shell started on tty just after login). @file{.bash_login} won't be ever read, because @file{.bash_profile} always present."
  54439. msgstr ""
  54440. #. type: item
  54441. #: guix-git/doc/guix.texi:37303 guix-git/doc/guix.texi:37342
  54442. #, no-wrap
  54443. msgid "@code{bashrc} (default: @code{()}) (type: text-config)"
  54444. msgstr ""
  54445. #. type: table
  54446. #: guix-git/doc/guix.texi:37308
  54447. msgid "List of file-like objects, which will be added to @file{.bashrc}. Used for executing user's commands at start of interactive shell (The shell for interactive usage started by typing @code{bash} or by terminal app or any other program)."
  54448. msgstr ""
  54449. #. type: item
  54450. #: guix-git/doc/guix.texi:37309 guix-git/doc/guix.texi:37346
  54451. #, no-wrap
  54452. msgid "@code{bash-logout} (default: @code{()}) (type: text-config)"
  54453. msgstr ""
  54454. #. type: table
  54455. #: guix-git/doc/guix.texi:37314
  54456. msgid "List of file-like objects, which will be added to @file{.bash_logout}. Used for executing user's commands at the exit of login shell. It won't be read in some cases (if the shell terminates by exec'ing another process for example)."
  54457. msgstr ""
  54458. #. type: Plain text
  54459. #: guix-git/doc/guix.texi:37324
  54460. msgid "You can extend the Bash service by using the @code{home-bash-extension} configuration record, whose fields most mirror that of @code{home-bash-configuration} (@pxref{home-bash-configuration}). The contents of the extensions will be added to the end of the corresponding Bash configuration files (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}."
  54461. msgstr ""
  54462. #. type: deftp
  54463. #: guix-git/doc/guix.texi:37325
  54464. #, fuzzy, no-wrap
  54465. #| msgid "System Configuration"
  54466. msgid "{Data Type} home-bash-extension"
  54467. msgstr "Nastavenie systému"
  54468. #. type: deftp
  54469. #: guix-git/doc/guix.texi:37327
  54470. msgid "Available @code{home-bash-extension} fields are:"
  54471. msgstr ""
  54472. #. type: table
  54473. #: guix-git/doc/guix.texi:37333
  54474. msgid "Additional environment variables to set. These will be combined with the environment variables from other extensions and the base service to form one coherent block of environment variables."
  54475. msgstr ""
  54476. #. type: table
  54477. #: guix-git/doc/guix.texi:37337
  54478. msgid "Additional aliases to set. These will be combined with the aliases from other extensions and the base service."
  54479. msgstr ""
  54480. #. type: table
  54481. #: guix-git/doc/guix.texi:37341
  54482. msgid "Additional text blocks to add to @file{.bash_profile}, which will be combined with text blocks from other extensions and the base service."
  54483. msgstr ""
  54484. #. type: table
  54485. #: guix-git/doc/guix.texi:37345
  54486. msgid "Additional text blocks to add to @file{.bashrc}, which will be combined with text blocks from other extensions and the base service."
  54487. msgstr ""
  54488. #. type: table
  54489. #: guix-git/doc/guix.texi:37349
  54490. msgid "Additional text blocks to add to @file{.bash_logout}, which will be combined with text blocks from other extensions and the base service."
  54491. msgstr ""
  54492. #. type: subsubheading
  54493. #: guix-git/doc/guix.texi:37353
  54494. #, fuzzy, no-wrap
  54495. #| msgid "Services"
  54496. msgid "Zsh Home Service"
  54497. msgstr "Služby"
  54498. #. type: deftp
  54499. #: guix-git/doc/guix.texi:37355
  54500. #, fuzzy, no-wrap
  54501. #| msgid "System Configuration"
  54502. msgid "{Data Type} home-zsh-configuration"
  54503. msgstr "Nastavenie systému"
  54504. #. type: deftp
  54505. #: guix-git/doc/guix.texi:37357
  54506. msgid "Available @code{home-zsh-configuration} fields are:"
  54507. msgstr ""
  54508. #. type: item
  54509. #: guix-git/doc/guix.texi:37359
  54510. #, no-wrap
  54511. msgid "@code{package} (default: @code{zsh}) (type: package)"
  54512. msgstr ""
  54513. #. type: table
  54514. #: guix-git/doc/guix.texi:37361
  54515. msgid "The Zsh package to use."
  54516. msgstr ""
  54517. #. type: item
  54518. #: guix-git/doc/guix.texi:37362
  54519. #, no-wrap
  54520. msgid "@code{xdg-flavor?} (default: @code{#t}) (type: boolean)"
  54521. msgstr ""
  54522. #. type: table
  54523. #: guix-git/doc/guix.texi:37367
  54524. msgid "Place all the configs to @file{$XDG_CONFIG_HOME/zsh}. Makes @file{~/.zshenv} to set @env{ZDOTDIR} to @file{$XDG_CONFIG_HOME/zsh}. Shell startup process will continue with @file{$XDG_CONFIG_HOME/zsh/.zshenv}."
  54525. msgstr ""
  54526. #. type: table
  54527. #: guix-git/doc/guix.texi:37370
  54528. msgid "Association list of environment variables to set for the Zsh session."
  54529. msgstr ""
  54530. #. type: item
  54531. #: guix-git/doc/guix.texi:37371
  54532. #, no-wrap
  54533. msgid "@code{zshenv} (default: @code{()}) (type: text-config)"
  54534. msgstr ""
  54535. #. type: table
  54536. #: guix-git/doc/guix.texi:37376
  54537. msgid "List of file-like objects, which will be added to @file{.zshenv}. Used for setting user's shell environment variables. Must not contain commands assuming the presence of tty or producing output. Will be read always. Will be read before any other file in @env{ZDOTDIR}."
  54538. msgstr ""
  54539. #. type: item
  54540. #: guix-git/doc/guix.texi:37377
  54541. #, no-wrap
  54542. msgid "@code{zprofile} (default: @code{()}) (type: text-config)"
  54543. msgstr ""
  54544. #. type: table
  54545. #: guix-git/doc/guix.texi:37382
  54546. msgid "List of file-like objects, which will be added to @file{.zprofile}. Used for executing user's commands at start of login shell (In most cases the shell started on tty just after login). Will be read before @file{.zlogin}."
  54547. msgstr ""
  54548. #. type: item
  54549. #: guix-git/doc/guix.texi:37383
  54550. #, no-wrap
  54551. msgid "@code{zshrc} (default: @code{()}) (type: text-config)"
  54552. msgstr ""
  54553. #. type: table
  54554. #: guix-git/doc/guix.texi:37388
  54555. msgid "List of file-like objects, which will be added to @file{.zshrc}. Used for executing user's commands at start of interactive shell (The shell for interactive usage started by typing @code{zsh} or by terminal app or any other program)."
  54556. msgstr ""
  54557. #. type: item
  54558. #: guix-git/doc/guix.texi:37389
  54559. #, no-wrap
  54560. msgid "@code{zlogin} (default: @code{()}) (type: text-config)"
  54561. msgstr ""
  54562. #. type: table
  54563. #: guix-git/doc/guix.texi:37393
  54564. msgid "List of file-like objects, which will be added to @file{.zlogin}. Used for executing user's commands at the end of starting process of login shell."
  54565. msgstr ""
  54566. #. type: item
  54567. #: guix-git/doc/guix.texi:37394
  54568. #, no-wrap
  54569. msgid "@code{zlogout} (default: @code{()}) (type: text-config)"
  54570. msgstr ""
  54571. #. type: table
  54572. #: guix-git/doc/guix.texi:37399
  54573. msgid "List of file-like objects, which will be added to @file{.zlogout}. Used for executing user's commands at the exit of login shell. It won't be read in some cases (if the shell terminates by exec'ing another process for example)."
  54574. msgstr ""
  54575. #. type: node
  54576. #: guix-git/doc/guix.texi:37404
  54577. #, no-wrap
  54578. msgid "Mcron Home Service"
  54579. msgstr ""
  54580. #. type: subsection
  54581. #: guix-git/doc/guix.texi:37405
  54582. #, no-wrap
  54583. msgid "Scheduled User's Job Execution"
  54584. msgstr ""
  54585. #. type: Plain text
  54586. #: guix-git/doc/guix.texi:37418
  54587. msgid "The @code{(gnu home services mcron)} module provides an interface to GNU@tie{}mcron, a daemon to run jobs at scheduled times (@pxref{Top,,, mcron, GNU@tie{}mcron}). The information about system's mcron is applicable here (@pxref{Scheduled Job Execution}), the only difference for home services is that they have to be declared in a @code{home-envirnoment} record instead of an @code{operating-system} record."
  54588. msgstr ""
  54589. #. type: defvr
  54590. #: guix-git/doc/guix.texi:37419
  54591. #, no-wrap
  54592. msgid "{Scheme Variable} home-mcron-service-type"
  54593. msgstr ""
  54594. #. type: defvr
  54595. #: guix-git/doc/guix.texi:37423
  54596. msgid "This is the type of the @code{mcron} home service, whose value is an @code{home-mcron-configuration} object. It allows to manage scheduled tasks."
  54597. msgstr ""
  54598. #. type: deftp
  54599. #: guix-git/doc/guix.texi:37430
  54600. #, fuzzy, no-wrap
  54601. #| msgid "System Configuration"
  54602. msgid "{Data Type} home-mcron-configuration"
  54603. msgstr "Nastavenie systému"
  54604. #. type: node
  54605. #: guix-git/doc/guix.texi:37444
  54606. #, no-wrap
  54607. msgid "Shepherd Home Service"
  54608. msgstr ""
  54609. #. type: subsection
  54610. #: guix-git/doc/guix.texi:37445
  54611. #, no-wrap
  54612. msgid "Managing User's Daemons"
  54613. msgstr ""
  54614. #. type: defvr
  54615. #: guix-git/doc/guix.texi:37449
  54616. #, no-wrap
  54617. msgid "{Scheme Variable} home-shepherd-service-type"
  54618. msgstr ""
  54619. #. type: defvr
  54620. #: guix-git/doc/guix.texi:37454
  54621. msgid "The service type for the userland Shepherd, which allows one to manage long-running processes or one-shot tasks. User's Shepherd is not an init process (PID 1), but almost all other information described in (@pxref{Shepherd Services}) is applicable here too."
  54622. msgstr ""
  54623. #. type: defvr
  54624. #: guix-git/doc/guix.texi:37459
  54625. 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{home-shepherd-configuration}, as described below."
  54626. msgstr ""
  54627. #. type: deftp
  54628. #: guix-git/doc/guix.texi:37461
  54629. #, fuzzy, no-wrap
  54630. #| msgid "System Configuration"
  54631. msgid "{Data Type} home-shepherd-configuration"
  54632. msgstr "Nastavenie systému"
  54633. #. type: item
  54634. #: guix-git/doc/guix.texi:37468
  54635. #, no-wrap
  54636. msgid "auto-start? (default: @code{#t})"
  54637. msgstr ""
  54638. #. type: table
  54639. #: guix-git/doc/guix.texi:37470
  54640. msgid "Whether or not to start Shepherd on first login."
  54641. msgstr ""
  54642. #. type: section
  54643. #: guix-git/doc/guix.texi:37479
  54644. #, no-wrap
  54645. msgid "Invoking @code{guix home}"
  54646. msgstr ""
  54647. #. type: Plain text
  54648. #: guix-git/doc/guix.texi:37484
  54649. msgid "Once you have written a home environment declaration (@pxref{Declaring the Home Environment,,,,}, it can be @dfn{instantiated} using the @command{guix home} command. The synopsis is:"
  54650. msgstr ""
  54651. #. type: example
  54652. #: guix-git/doc/guix.texi:37487
  54653. #, no-wrap
  54654. msgid "guix home @var{options}@dots{} @var{action} @var{file}\n"
  54655. msgstr ""
  54656. #. type: Plain text
  54657. #: guix-git/doc/guix.texi:37494
  54658. msgid "@var{file} must be the name of a file containing a @code{home-environment} declaration. @var{action} specifies how the home environment is instantiated, but there are few auxiliary actions which don't instantiate it. Currently the following values are supported:"
  54659. msgstr ""
  54660. #. type: table
  54661. #: guix-git/doc/guix.texi:37499
  54662. msgid "Display available home service type definitions that match the given regular expressions, sorted by relevance:"
  54663. msgstr ""
  54664. #. type: cindex
  54665. #: guix-git/doc/guix.texi:37501
  54666. #, no-wrap
  54667. msgid "shell-profile"
  54668. msgstr ""
  54669. #. type: example
  54670. #: guix-git/doc/guix.texi:37513
  54671. #, no-wrap
  54672. msgid ""
  54673. "$ guix home search shell\n"
  54674. "name: home-shell-profile\n"
  54675. "location: gnu/home/services/shells.scm:73:2\n"
  54676. "extends: home-files\n"
  54677. "description: Create `~/.profile', which is used for environment initialization\n"
  54678. "+ of POSIX compatible login shells. Can be extended with a list of strings or\n"
  54679. "+ gexps.\n"
  54680. "relevance: 6\n"
  54681. "\n"
  54682. msgstr ""
  54683. #. type: example
  54684. #: guix-git/doc/guix.texi:37519
  54685. #, no-wrap
  54686. msgid ""
  54687. "name: home-zsh-plugin-manager\n"
  54688. "location: gnu/home/services/shellutils.scm:28:2\n"
  54689. "extends: home-zsh home-profile\n"
  54690. "description: Install plugins in profile and configure Zsh to load them.\n"
  54691. "relevance: 1\n"
  54692. "\n"
  54693. msgstr ""
  54694. #. type: example
  54695. #: guix-git/doc/guix.texi:37526
  54696. #, no-wrap
  54697. msgid ""
  54698. "name: home-zsh-direnv\n"
  54699. "location: gnu/home/services/shellutils.scm:69:2\n"
  54700. "extends: home-profile home-zsh\n"
  54701. "description: Enables `direnv' for `zsh'. Adds hook to `.zshrc' and installs a\n"
  54702. "+ package in the profile.\n"
  54703. "relevance: 1\n"
  54704. "\n"
  54705. msgstr ""
  54706. #. type: example
  54707. #: guix-git/doc/guix.texi:37535
  54708. #, no-wrap
  54709. msgid ""
  54710. "name: home-zsh-autosuggestions\n"
  54711. "location: gnu/home/services/shellutils.scm:43:2\n"
  54712. "extends: home-zsh-plugin-manager home-zsh\n"
  54713. "description: Enables Fish-like fast/unobtrusive autosuggestions for `zsh' and\n"
  54714. "+ sets reasonable default values for some plugin's variables to improve perfomance\n"
  54715. "+ and adjust behavior: `(history completion)' is set for strategy, manual rebind\n"
  54716. "+ and async are enabled.\n"
  54717. "relevance: 1\n"
  54718. "\n"
  54719. msgstr ""
  54720. #. type: example
  54721. #: guix-git/doc/guix.texi:37541
  54722. #, no-wrap
  54723. msgid ""
  54724. "name: home-zsh\n"
  54725. "location: gnu/home/services/shells.scm:236:2\n"
  54726. "extends: home-files home-profile\n"
  54727. "description: Install and configure Zsh.\n"
  54728. "relevance: 1\n"
  54729. "\n"
  54730. msgstr ""
  54731. #. type: example
  54732. #: guix-git/doc/guix.texi:37547
  54733. #, no-wrap
  54734. msgid ""
  54735. "name: home-bash\n"
  54736. "location: gnu/home/services/shells.scm:388:2\n"
  54737. "extends: home-files home-profile\n"
  54738. "description: Install and configure Bash.\n"
  54739. "relevance: 1\n"
  54740. "\n"
  54741. msgstr ""
  54742. #. type: table
  54743. #: guix-git/doc/guix.texi:37563
  54744. msgid "Build the home environment described in @var{file}, and switch to it. Switching means that the activation script will be evaluated and (in basic scenario) symlinks to configuration files generated from @code{home-environment} declaration will be created in @file{~}. If the file with the same path already exists in home folder it will be moved to @file{~/TIMESTAMP-guix-home-legacy-configs-backup}, where TIMESTAMP is a current UNIX epoch time."
  54745. msgstr ""
  54746. #. type: quotation
  54747. #: guix-git/doc/guix.texi:37568
  54748. msgid "It is highly recommended to run @command{guix pull} once before you run @command{guix home reconfigure} for the first time (@pxref{Invoking guix pull})."
  54749. msgstr ""
  54750. #. type: table
  54751. #: guix-git/doc/guix.texi:37575
  54752. msgid "This effects all the configuration specified in @var{file}. The command starts Shepherd 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})."
  54753. msgstr ""
  54754. #. type: table
  54755. #: guix-git/doc/guix.texi:37581
  54756. msgid "This command creates a new generation whose number is one greater than the current generation (as reported by @command{guix home list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package})."
  54757. msgstr ""
  54758. #. type: cindex
  54759. #: guix-git/doc/guix.texi:37582
  54760. #, no-wrap
  54761. msgid "provenance tracking, of the home environment"
  54762. msgstr ""
  54763. #. type: table
  54764. #: guix-git/doc/guix.texi:37587
  54765. msgid "Upon completion, the new home is deployed under @file{~/.guix-home}. This directory contains @dfn{provenance meta-data}: the list of channels in use (@pxref{Channels}) and @var{file} itself, when available. You can view the provenance information by running:"
  54766. msgstr ""
  54767. #. type: example
  54768. #: guix-git/doc/guix.texi:37590
  54769. #, no-wrap
  54770. msgid "guix home describe\n"
  54771. msgstr ""
  54772. #. type: table
  54773. #: guix-git/doc/guix.texi:37596
  54774. 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 home environment with:"
  54775. msgstr ""
  54776. #. type: example
  54777. #: guix-git/doc/guix.texi:37602
  54778. #, no-wrap
  54779. msgid ""
  54780. "guix time-machine \\\n"
  54781. " -C /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/channels.scm -- \\\n"
  54782. " home reconfigure \\\n"
  54783. " /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/configuration.scm\n"
  54784. "\n"
  54785. msgstr ""
  54786. #. type: table
  54787. #: guix-git/doc/guix.texi:37609
  54788. msgid "You can think of it as some sort of built-in version control! Your home is not just a binary artifact: @emph{it carries its own source}."
  54789. msgstr ""
  54790. #. type: cindex
  54791. #: guix-git/doc/guix.texi:37615
  54792. #, fuzzy, no-wrap
  54793. #| msgid "Documentation"
  54794. msgid "home generations"
  54795. msgstr "Dokumentácia"
  54796. #. type: table
  54797. #: guix-git/doc/guix.texi:37618
  54798. msgid "Switch to an existing home generation. This action atomically switches the home profile to the specified home generation."
  54799. msgstr ""
  54800. #. type: table
  54801. #: guix-git/doc/guix.texi:37622
  54802. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to home generation 7:"
  54803. msgstr ""
  54804. #. type: example
  54805. #: guix-git/doc/guix.texi:37625
  54806. #, no-wrap
  54807. msgid "guix home switch-generation 7\n"
  54808. msgstr ""
  54809. #. type: example
  54810. #: guix-git/doc/guix.texi:37636
  54811. #, no-wrap
  54812. msgid "guix home switch-generation -- -1\n"
  54813. msgstr ""
  54814. #. type: table
  54815. #: guix-git/doc/guix.texi:37645
  54816. msgid "Switch to the preceding home 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}."
  54817. msgstr ""
  54818. #. type: cindex
  54819. #: guix-git/doc/guix.texi:37647
  54820. #, no-wrap
  54821. msgid "deleting home generations"
  54822. msgstr ""
  54823. #. type: table
  54824. #: guix-git/doc/guix.texi:37652
  54825. msgid "Delete home generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  54826. msgstr ""
  54827. #. type: table
  54828. #: guix-git/doc/guix.texi:37656
  54829. msgid "This works in the same way as @samp{guix package --delete-generations} (@pxref{Invoking guix package, @option{--delete-generations}}). With no arguments, all home generations but the current one are deleted:"
  54830. msgstr ""
  54831. #. type: example
  54832. #: guix-git/doc/guix.texi:37659
  54833. #, no-wrap
  54834. msgid "guix home delete-generations\n"
  54835. msgstr ""
  54836. #. type: table
  54837. #: guix-git/doc/guix.texi:37663
  54838. msgid "You can also select the generations you want to delete. The example below deletes all the home generations that are more than two months old:"
  54839. msgstr ""
  54840. #. type: example
  54841. #: guix-git/doc/guix.texi:37666
  54842. #, no-wrap
  54843. msgid "guix home delete-generations 2m\n"
  54844. msgstr ""
  54845. #. type: table
  54846. #: guix-git/doc/guix.texi:37672
  54847. msgid "Build the derivation of the home environment, which includes all the configuration files and programs needed. This action does not actually install anything."
  54848. msgstr ""
  54849. #. type: table
  54850. #: guix-git/doc/guix.texi:37676
  54851. msgid "Describe the current home generation: its file name, as well as provenance information when available."
  54852. msgstr ""
  54853. #. type: table
  54854. #: guix-git/doc/guix.texi:37682
  54855. msgid "List a summary of each generation of the home environment 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})."
  54856. msgstr ""
  54857. #. type: example
  54858. #: guix-git/doc/guix.texi:37690
  54859. #, no-wrap
  54860. msgid "$ guix home list-generations 10d\n"
  54861. msgstr ""
  54862. #. type: item
  54863. #: guix-git/doc/guix.texi:37692
  54864. #, no-wrap
  54865. msgid "import"
  54866. msgstr ""
  54867. #. type: table
  54868. #: guix-git/doc/guix.texi:37699
  54869. msgid "Generate a @dfn{home environment} from the packages in the default profile and configuration files found in the user's home directory. The configuration files will be copied to the specified directory, and a @file{home-configuration.scm} will be populated with the home environment. Note that not every home service that exists is supported (@pxref{Home Services})."
  54870. msgstr ""
  54871. #. type: example
  54872. #: guix-git/doc/guix.texi:37703
  54873. #, no-wrap
  54874. msgid ""
  54875. "$ guix home import ~/guix-config\n"
  54876. "guix home: '/home/alice/guix-config' populated with all the Home configuration files\n"
  54877. msgstr ""
  54878. #. type: table
  54879. #: guix-git/doc/guix.texi:37718
  54880. msgid "Consider the home-environment @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to a home environment."
  54881. msgstr ""
  54882. #. type: cindex
  54883. #: guix-git/doc/guix.texi:37724
  54884. #, no-wrap
  54885. msgid "documentation, searching for"
  54886. msgstr ""
  54887. #. type: cindex
  54888. #: guix-git/doc/guix.texi:37725
  54889. #, no-wrap
  54890. msgid "searching for documentation"
  54891. msgstr ""
  54892. #. type: cindex
  54893. #: guix-git/doc/guix.texi:37726
  54894. #, no-wrap
  54895. msgid "Info, documentation format"
  54896. msgstr ""
  54897. #. type: cindex
  54898. #: guix-git/doc/guix.texi:37727
  54899. #, no-wrap
  54900. msgid "man pages"
  54901. msgstr ""
  54902. #. type: cindex
  54903. #: guix-git/doc/guix.texi:37728
  54904. #, no-wrap
  54905. msgid "manual pages"
  54906. msgstr ""
  54907. #. type: Plain text
  54908. #: guix-git/doc/guix.texi:37735
  54909. 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}."
  54910. msgstr ""
  54911. #. type: Plain text
  54912. #: guix-git/doc/guix.texi:37739
  54913. 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:"
  54914. msgstr ""
  54915. #. type: example
  54916. #: guix-git/doc/guix.texi:37747
  54917. #, no-wrap
  54918. msgid ""
  54919. "$ info -k TLS\n"
  54920. "\"(emacs)Network Security\" -- STARTTLS\n"
  54921. "\"(emacs)Network Security\" -- TLS\n"
  54922. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  54923. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  54924. "@dots{}\n"
  54925. msgstr ""
  54926. #. type: Plain text
  54927. #: guix-git/doc/guix.texi:37753
  54928. msgid "The command below searches for the same keyword in man pages@footnote{The database searched by @command{man -k} is only created in profiles that contain the @code{man-db} package.}:"
  54929. msgstr ""
  54930. #. type: example
  54931. #: guix-git/doc/guix.texi:37759
  54932. #, no-wrap
  54933. msgid ""
  54934. "$ man -k TLS\n"
  54935. "SSL (7) - OpenSSL SSL/TLS library\n"
  54936. "certtool (1) - GnuTLS certificate tool\n"
  54937. "@dots {}\n"
  54938. msgstr ""
  54939. #. type: Plain text
  54940. #: guix-git/doc/guix.texi:37765
  54941. 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."
  54942. msgstr ""
  54943. #. type: Plain text
  54944. #: guix-git/doc/guix.texi:37768
  54945. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  54946. msgstr ""
  54947. #. type: example
  54948. #: guix-git/doc/guix.texi:37771
  54949. #, no-wrap
  54950. msgid "$ info \"(gnutls)Core TLS API\"\n"
  54951. msgstr ""
  54952. #. type: Plain text
  54953. #: guix-git/doc/guix.texi:37775
  54954. msgid "or:"
  54955. msgstr ""
  54956. #. type: example
  54957. #: guix-git/doc/guix.texi:37778
  54958. #, no-wrap
  54959. msgid "$ man certtool\n"
  54960. msgstr ""
  54961. #. type: Plain text
  54962. #: guix-git/doc/guix.texi:37786
  54963. 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."
  54964. msgstr ""
  54965. #. type: cindex
  54966. #: guix-git/doc/guix.texi:37790
  54967. #, no-wrap
  54968. msgid "debugging files"
  54969. msgstr ""
  54970. #. type: Plain text
  54971. #: guix-git/doc/guix.texi:37796
  54972. 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."
  54973. msgstr ""
  54974. #. type: Plain text
  54975. #: guix-git/doc/guix.texi:37800
  54976. 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."
  54977. msgstr ""
  54978. #. type: Plain text
  54979. #: guix-git/doc/guix.texi:37816
  54980. 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})."
  54981. msgstr ""
  54982. #. type: Plain text
  54983. #: guix-git/doc/guix.texi:37823
  54984. 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})."
  54985. msgstr ""
  54986. #. type: Plain text
  54987. #: guix-git/doc/guix.texi:37831
  54988. 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:"
  54989. msgstr ""
  54990. #. type: example
  54991. #: guix-git/doc/guix.texi:37834
  54992. #, no-wrap
  54993. msgid "guix install glibc:debug guile:debug\n"
  54994. msgstr ""
  54995. #. type: Plain text
  54996. #: guix-git/doc/guix.texi:37840
  54997. 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}):"
  54998. msgstr ""
  54999. #. type: example
  55000. #: guix-git/doc/guix.texi:37843
  55001. #, no-wrap
  55002. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  55003. msgstr ""
  55004. #. type: Plain text
  55005. #: guix-git/doc/guix.texi:37847
  55006. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  55007. msgstr ""
  55008. #. type: Plain text
  55009. #: guix-git/doc/guix.texi:37852
  55010. msgid "Below is an alternative GDB script which is useful when working with other profiles. It takes advantage of the optional Guile integration in GDB. This snippet is included by default on Guix System in the @file{~/.gdbinit} file."
  55011. msgstr ""
  55012. #. type: example
  55013. #: guix-git/doc/guix.texi:37860
  55014. #, no-wrap
  55015. msgid ""
  55016. "guile\n"
  55017. "(use-modules (gdb))\n"
  55018. "(execute (string-append \"set debug-file-directory \"\n"
  55019. " (or (getenv \"GDB_DEBUG_FILE_DIRECTORY\")\n"
  55020. " \"~/.guix-profile/lib/debug\")))\n"
  55021. "end\n"
  55022. msgstr ""
  55023. #. type: Plain text
  55024. #: guix-git/doc/guix.texi:37868
  55025. 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})."
  55026. msgstr ""
  55027. #. type: Plain text
  55028. #: guix-git/doc/guix.texi:37876
  55029. 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})."
  55030. msgstr ""
  55031. #. type: Plain text
  55032. #: guix-git/doc/guix.texi:37878
  55033. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  55034. msgstr ""
  55035. #. type: Plain text
  55036. #: guix-git/doc/guix.texi:37890
  55037. 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."
  55038. msgstr ""
  55039. #. type: Plain text
  55040. #: guix-git/doc/guix.texi:37895
  55041. 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:"
  55042. msgstr ""
  55043. #. type: example
  55044. #: guix-git/doc/guix.texi:37906
  55045. #, no-wrap
  55046. msgid ""
  55047. "(gdb) bt\n"
  55048. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  55049. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  55050. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  55051. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  55052. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  55053. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  55054. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  55055. " at dl-init.c:118\n"
  55056. msgstr ""
  55057. #. type: Plain text
  55058. #: guix-git/doc/guix.texi:37910
  55059. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  55060. msgstr ""
  55061. #. type: Plain text
  55062. #: guix-git/doc/guix.texi:37916
  55063. msgid "This time, debugging will be a whole lot nicer:"
  55064. msgstr ""
  55065. #. type: example
  55066. #: guix-git/doc/guix.texi:37934
  55067. #, no-wrap
  55068. msgid ""
  55069. "$ gdb --args sh -c 'exec inkscape'\n"
  55070. "@dots{}\n"
  55071. "(gdb) b g_getenv\n"
  55072. "Function \"g_getenv\" not defined.\n"
  55073. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  55074. "Breakpoint 1 (g_getenv) pending.\n"
  55075. "(gdb) r\n"
  55076. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  55077. "@dots{}\n"
  55078. "(gdb) bt\n"
  55079. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  55080. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  55081. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  55082. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  55083. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  55084. "@dots{}\n"
  55085. msgstr ""
  55086. #. type: Plain text
  55087. #: guix-git/doc/guix.texi:37937
  55088. msgid "Much better!"
  55089. msgstr ""
  55090. #. type: Plain text
  55091. #: guix-git/doc/guix.texi:37941
  55092. 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."
  55093. msgstr ""
  55094. #. type: cindex
  55095. #: guix-git/doc/guix.texi:37945
  55096. #, no-wrap
  55097. msgid "security updates"
  55098. msgstr ""
  55099. #. type: Plain text
  55100. #: guix-git/doc/guix.texi:37954
  55101. 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:"
  55102. msgstr ""
  55103. #. type: smallexample
  55104. #: guix-git/doc/guix.texi:37961
  55105. #, no-wrap
  55106. msgid ""
  55107. "$ guix lint -c cve\n"
  55108. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  55109. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  55110. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  55111. "@dots{}\n"
  55112. msgstr ""
  55113. #. type: Plain text
  55114. #: guix-git/doc/guix.texi:37964
  55115. msgid "@xref{Invoking guix lint}, for more information."
  55116. msgstr ""
  55117. #. type: Plain text
  55118. #: guix-git/doc/guix.texi:37973
  55119. 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."
  55120. msgstr ""
  55121. #. type: cindex
  55122. #: guix-git/doc/guix.texi:37974
  55123. #, no-wrap
  55124. msgid "grafts"
  55125. msgstr ""
  55126. #. type: Plain text
  55127. #: guix-git/doc/guix.texi:37982
  55128. 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."
  55129. msgstr ""
  55130. #. type: cindex
  55131. #: guix-git/doc/guix.texi:37983
  55132. #, no-wrap
  55133. msgid "replacements of packages, for grafts"
  55134. msgstr ""
  55135. #. type: Plain text
  55136. #: guix-git/doc/guix.texi:37989
  55137. 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:"
  55138. msgstr ""
  55139. #. type: lisp
  55140. #: guix-git/doc/guix.texi:37996
  55141. #, no-wrap
  55142. msgid ""
  55143. "(define bash\n"
  55144. " (package\n"
  55145. " (name \"bash\")\n"
  55146. " ;; @dots{}\n"
  55147. " (replacement bash-fixed)))\n"
  55148. msgstr ""
  55149. #. type: Plain text
  55150. #: guix-git/doc/guix.texi:38006
  55151. 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."
  55152. msgstr ""
  55153. #. type: Plain text
  55154. #: guix-git/doc/guix.texi:38014
  55155. 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."
  55156. msgstr ""
  55157. #. type: Plain text
  55158. #: guix-git/doc/guix.texi:38018
  55159. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  55160. msgstr ""
  55161. #. type: example
  55162. #: guix-git/doc/guix.texi:38021
  55163. #, no-wrap
  55164. msgid "guix build bash --no-grafts\n"
  55165. msgstr ""
  55166. #. type: Plain text
  55167. #: guix-git/doc/guix.texi:38025
  55168. msgid "returns the store file name of the original Bash, whereas:"
  55169. msgstr ""
  55170. #. type: example
  55171. #: guix-git/doc/guix.texi:38028
  55172. #, no-wrap
  55173. msgid "guix build bash\n"
  55174. msgstr ""
  55175. #. type: Plain text
  55176. #: guix-git/doc/guix.texi:38033
  55177. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  55178. msgstr ""
  55179. #. type: Plain text
  55180. #: guix-git/doc/guix.texi:38036
  55181. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  55182. msgstr ""
  55183. #. type: example
  55184. #: guix-git/doc/guix.texi:38039
  55185. #, no-wrap
  55186. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  55187. msgstr ""
  55188. #. type: Plain text
  55189. #: guix-git/doc/guix.texi:38044
  55190. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  55191. msgstr ""
  55192. #. type: example
  55193. #: guix-git/doc/guix.texi:38047
  55194. #, no-wrap
  55195. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  55196. msgstr ""
  55197. #. type: Plain text
  55198. #: guix-git/doc/guix.texi:38051
  55199. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  55200. msgstr ""
  55201. #. type: example
  55202. #: guix-git/doc/guix.texi:38054
  55203. #, no-wrap
  55204. msgid "lsof | grep /gnu/store/.*bash\n"
  55205. msgstr ""
  55206. #. type: cindex
  55207. #: guix-git/doc/guix.texi:38062
  55208. #, no-wrap
  55209. msgid "bootstrapping"
  55210. msgstr ""
  55211. #. type: Plain text
  55212. #: guix-git/doc/guix.texi:38069
  55213. 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?"
  55214. msgstr ""
  55215. #. type: Plain text
  55216. #: guix-git/doc/guix.texi:38077
  55217. 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."
  55218. msgstr ""
  55219. #. type: cindex
  55220. #: guix-git/doc/guix.texi:38078 guix-git/doc/guix.texi:38290
  55221. #, no-wrap
  55222. msgid "bootstrap binaries"
  55223. msgstr ""
  55224. #. type: Plain text
  55225. #: guix-git/doc/guix.texi:38088
  55226. 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}."
  55227. msgstr ""
  55228. #. type: Plain text
  55229. #: guix-git/doc/guix.texi:38092
  55230. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  55231. msgstr ""
  55232. #. type: section
  55233. #: guix-git/doc/guix.texi:38099
  55234. #, no-wrap
  55235. msgid "The Reduced Binary Seed Bootstrap"
  55236. msgstr ""
  55237. #. type: Plain text
  55238. #: guix-git/doc/guix.texi:38106
  55239. 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.''"
  55240. msgstr ""
  55241. #. type: Plain text
  55242. #: guix-git/doc/guix.texi:38112
  55243. 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."
  55244. msgstr ""
  55245. #. type: Plain text
  55246. #: guix-git/doc/guix.texi:38117
  55247. 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.}."
  55248. msgstr ""
  55249. #. type: Plain text
  55250. #: guix-git/doc/guix.texi:38123
  55251. 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)."
  55252. msgstr ""
  55253. #. type: Plain text
  55254. #: guix-git/doc/guix.texi:38128
  55255. 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."
  55256. msgstr ""
  55257. #. type: Plain text
  55258. #: guix-git/doc/guix.texi:38136
  55259. 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."
  55260. msgstr ""
  55261. #. type: Plain text
  55262. #: guix-git/doc/guix.texi:38146
  55263. 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."
  55264. msgstr ""
  55265. #. type: Plain text
  55266. #: guix-git/doc/guix.texi:38150
  55267. 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."
  55268. msgstr ""
  55269. #. type: Plain text
  55270. #: guix-git/doc/guix.texi:38153
  55271. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  55272. msgstr ""
  55273. #. type: Plain text
  55274. #: guix-git/doc/guix.texi:38160
  55275. 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.}."
  55276. msgstr ""
  55277. #. type: Plain text
  55278. #: guix-git/doc/guix.texi:38163
  55279. 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}."
  55280. msgstr ""
  55281. #. type: Plain text
  55282. #: guix-git/doc/guix.texi:38168
  55283. 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."
  55284. msgstr ""
  55285. #. type: Plain text
  55286. #: guix-git/doc/guix.texi:38172
  55287. 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}."
  55288. msgstr ""
  55289. #. type: Plain text
  55290. #: guix-git/doc/guix.texi:38179
  55291. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  55292. msgstr ""
  55293. #. type: Plain text
  55294. #: guix-git/doc/guix.texi:38184
  55295. 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:"
  55296. msgstr ""
  55297. #. type: example
  55298. #: guix-git/doc/guix.texi:38189
  55299. #, no-wrap
  55300. msgid ""
  55301. "guix graph -t derivation \\\n"
  55302. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  55303. " | dot -Tps > gcc.ps\n"
  55304. msgstr ""
  55305. #. type: Plain text
  55306. #: guix-git/doc/guix.texi:38192
  55307. msgid "or, for the further Reduced Binary Seed bootstrap"
  55308. msgstr ""
  55309. #. type: example
  55310. #: guix-git/doc/guix.texi:38197
  55311. #, no-wrap
  55312. msgid ""
  55313. "guix graph -t derivation \\\n"
  55314. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  55315. " | dot -Tps > mes.ps\n"
  55316. msgstr ""
  55317. #. type: Plain text
  55318. #: guix-git/doc/guix.texi:38206
  55319. 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})."
  55320. msgstr ""
  55321. #. type: Plain text
  55322. #: guix-git/doc/guix.texi:38215
  55323. 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."
  55324. msgstr ""
  55325. #. type: Plain text
  55326. #: guix-git/doc/guix.texi:38227
  55327. 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})."
  55328. msgstr ""
  55329. #. type: Plain text
  55330. #: guix-git/doc/guix.texi:38232
  55331. 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."
  55332. msgstr ""
  55333. #. type: unnumberedsec
  55334. #: guix-git/doc/guix.texi:38233
  55335. #, no-wrap
  55336. msgid "Building the Build Tools"
  55337. msgstr ""
  55338. #. type: Plain text
  55339. #: guix-git/doc/guix.texi:38242
  55340. 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."
  55341. msgstr ""
  55342. #. type: Plain text
  55343. #: guix-git/doc/guix.texi:38249
  55344. 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:"
  55345. msgstr ""
  55346. #. type: example
  55347. #: guix-git/doc/guix.texi:38254
  55348. #, no-wrap
  55349. msgid ""
  55350. "guix graph -t bag \\\n"
  55351. " -e '(@@@@ (gnu packages commencement)\n"
  55352. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  55353. msgstr ""
  55354. #. type: Plain text
  55355. #: guix-git/doc/guix.texi:38261
  55356. 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."
  55357. msgstr ""
  55358. #. type: Plain text
  55359. #: guix-git/doc/guix.texi:38263
  55360. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  55361. msgstr ""
  55362. #. type: Plain text
  55363. #: guix-git/doc/guix.texi:38269
  55364. 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."
  55365. msgstr ""
  55366. #. type: Plain text
  55367. #: guix-git/doc/guix.texi:38274
  55368. 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."
  55369. msgstr ""
  55370. #. type: Plain text
  55371. #: guix-git/doc/guix.texi:38280
  55372. 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."
  55373. msgstr ""
  55374. #. type: Plain text
  55375. #: guix-git/doc/guix.texi:38286
  55376. 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}})."
  55377. msgstr ""
  55378. #. type: unnumberedsec
  55379. #: guix-git/doc/guix.texi:38288
  55380. #, no-wrap
  55381. msgid "Building the Bootstrap Binaries"
  55382. msgstr ""
  55383. #. type: Plain text
  55384. #: guix-git/doc/guix.texi:38295
  55385. 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."
  55386. msgstr ""
  55387. #. type: Plain text
  55388. #: guix-git/doc/guix.texi:38301
  55389. 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):"
  55390. msgstr ""
  55391. #. type: example
  55392. #: guix-git/doc/guix.texi:38304
  55393. #, no-wrap
  55394. msgid "guix build bootstrap-tarballs\n"
  55395. msgstr ""
  55396. #. type: Plain text
  55397. #: guix-git/doc/guix.texi:38309
  55398. 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."
  55399. msgstr ""
  55400. #. type: Plain text
  55401. #: guix-git/doc/guix.texi:38315
  55402. 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."
  55403. msgstr ""
  55404. #. type: unnumberedsec
  55405. #: guix-git/doc/guix.texi:38316
  55406. #, no-wrap
  55407. msgid "Reducing the Set of Bootstrap Binaries"
  55408. msgstr ""
  55409. #. type: Plain text
  55410. #: guix-git/doc/guix.texi:38324
  55411. 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}."
  55412. msgstr ""
  55413. #. type: Plain text
  55414. #: guix-git/doc/guix.texi:38330
  55415. 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."
  55416. msgstr ""
  55417. #. type: Plain text
  55418. #: guix-git/doc/guix.texi:38336
  55419. 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."
  55420. msgstr ""
  55421. #. type: Plain text
  55422. #: guix-git/doc/guix.texi:38345
  55423. 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."
  55424. msgstr ""
  55425. #. type: Plain text
  55426. #: guix-git/doc/guix.texi:38348
  55427. 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!"
  55428. msgstr ""
  55429. #. type: chapter
  55430. #: guix-git/doc/guix.texi:38350
  55431. #, no-wrap
  55432. msgid "Porting to a New Platform"
  55433. msgstr ""
  55434. #. type: Plain text
  55435. #: guix-git/doc/guix.texi:38359
  55436. 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."
  55437. msgstr ""
  55438. #. type: Plain text
  55439. #: guix-git/doc/guix.texi:38364
  55440. 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:"
  55441. msgstr ""
  55442. #. type: example
  55443. #: guix-git/doc/guix.texi:38367
  55444. #, no-wrap
  55445. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  55446. msgstr ""
  55447. #. type: Plain text
  55448. #: guix-git/doc/guix.texi:38374
  55449. 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."
  55450. msgstr ""
  55451. #. type: Plain text
  55452. #: guix-git/doc/guix.texi:38383
  55453. 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."
  55454. msgstr ""
  55455. #. type: Plain text
  55456. #: guix-git/doc/guix.texi:38392
  55457. 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."
  55458. msgstr ""
  55459. #. type: include
  55460. #: guix-git/doc/guix.texi:38394
  55461. #, no-wrap
  55462. msgid "contributing.texi"
  55463. msgstr "contributing.sk.texi"
  55464. #. type: Plain text
  55465. #: guix-git/doc/guix.texi:38407
  55466. 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."
  55467. msgstr ""
  55468. #. type: Plain text
  55469. #: guix-git/doc/guix.texi:38410
  55470. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  55471. msgstr ""
  55472. #. type: Plain text
  55473. #: guix-git/doc/guix.texi:38416
  55474. 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!"
  55475. msgstr ""
  55476. #. type: cindex
  55477. #: guix-git/doc/guix.texi:38421
  55478. #, no-wrap
  55479. msgid "license, GNU Free Documentation License"
  55480. msgstr ""
  55481. #. type: include
  55482. #: guix-git/doc/guix.texi:38422
  55483. #, no-wrap
  55484. msgid "fdl-1.3.texi"
  55485. msgstr ""
  55486. #~ msgid "Using Debbugs."
  55487. #~ msgstr "Používanie Debbugs."