PageSourceSearch

https://beehaw.org/static/decded5f/js/hljs-nix-js.client.js

js beehaw.org collected 2026-10-03 20:03:15 UTC 863 bytes, 2 lines download raw bytes

1/*! For license information please see hljs-nix-js.client.js.LICENSE.txt */
2(self.webpackChunklemmy_ui=self.webpackChunklemmy_ui||[]).push([[4216],{20230:e=>{e.exports=function(e){const n={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},s={className:"subst",begin:/\$\{/,end:/\}/,keywords:n},i={className:"string",contains:[{className:"char.escape",begin:/''\$/},s],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},a=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,{begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]}];return s.contains=a,{name:"Nix",aliases:["nixos"],keywords:n,contains:a}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.