You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/build-helpers/fetchers.chapter.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -491,7 +491,11 @@ It might be useful to manipulate the content downloaded by `fetchurl` directly i
491
491
In this example, we'll adapt [](#ex-fetchers-fetchurl-nixpkgs-version) to append the result of running the `hello` package to the contents we download, purely to illustrate how to manipulate the content.
Copy file name to clipboardExpand all lines: doc/build-helpers/images/portableservice.section.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,12 @@ See [](#ex-portableService-hello) to understand how to use the output of `portab
91
91
The following example builds a Portable Service image with the `hello` package, along with a service unit that runs it.
92
92
93
93
```nix
94
-
{ lib, writeText, portableService, hello }:
94
+
{
95
+
lib,
96
+
writeText,
97
+
portableService,
98
+
hello,
99
+
}:
95
100
let
96
101
hello-service = writeText "hello.service" ''
97
102
[Unit]
@@ -151,7 +156,13 @@ To make things available globally, you must specify the `symlinks` attribute whe
151
156
The following package builds on the package from [](#ex-portableService-hello) to make `/etc/ssl` available globally (this is only for illustrative purposes, because `hello` doesn't use `/etc/ssl`).
0 commit comments