Benign Download

minimal-x86-64/nixos-minimal-25.05.813814.ac62194c3917-x86_64-linux/nix-store.squashfs.d/crs1ks6b3513ymkmxn8g4iivxz95gvkf-nixos-25.05.813814.ac62194c3917/nixos/pkgs/by-name/no/noweb

Local ./ file invocationShell command execution capability
SHA-256e904d4368b69569c7c33f5ad397805c8ce091beb85006dc01cb214a97cce8a8e

Evidence

Executes a local relative file lines 18–35
⋯6 lines
24 patches = [
25 # Remove FAQ
26 ./no-FAQ.patch
27 ];
28
29 postPatch = ''
30 substituteInPlace Makefile --replace 'strip' '${stdenv.cc.targetPrefix}strip'
31 substituteInPlace Makefile --replace '`./gitversion`' '${finalAttrs.src.rev}'
32 '';
33
34 nativeBuildInputs = [ groff ] ++ lib.optionals useIcon [ icon-lang ];
35 buildInputs = [ nawk …
Shell invokes mkdir command lines 45–52
45:6…
46 ++ [ "CC=${stdenv.cc.targetPrefix}cc" ];
47
48 preInstall = ''
49 mkdir -p "$tex/tex/latex/noweb"
⋯3 lines
English function-word token "for" lines 66–69
66:17… Place "$out/bin/cpif" --replace "PATH=/bin:/usr/bin" ""
67
68 for f in $out/bin/no{index,roff,roots,untangle,web} \
69 $out/lib/noweb/to{ascii,html,rof …
Shell creates a symbolic link lines 72–98
72:22… ituteInPlace breaks Icon binaries, so make sure the script
73 # uses (n)awk before calling.
74 if grep -q nawk "$f"; then
75 substituteInPlace "$f" --replace "nawk" "${nawk}/bin/nawk"
76 fi
77 done
78
79 # HACK: This is ugly, but functional.
80 PATH=$out/bin:$PATH make -BC xdoc
81 make "''${installFlagsArray[@]}" install-man
82
83 ln -s "$tex" "$out/share/texmf"
84 '';
85
⋯8 lines
94 };
95
96 meta = with lib; {
97 description = "Simple, extensible literate-programming tool";
98 homepage = "https: …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.