Skip to content

Commit e34de1d

Browse files
Valodim3v1n0
authored andcommittedNov 29, 2020
Add NixOS overlay to README.md
1 parent 48f3bb0 commit e34de1d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
 

‎README.md

+23
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,29 @@ Install packages:
8282
- `git clone https://github.com/3v1n0/libfprint`
8383
- `meson libfprint libfprint/_build && sudo ninja -C libfprint/_build install`
8484

85+
#### NixOS
86+
87+
- Enable fprintd as usual via `services.fprintd.enable = true;`
88+
- Apply this overlay (possibly update rev and sha256, if necessary):
89+
90+
```
91+
self: super: {
92+
libfprint = super.libfprint.overrideAttrs (
93+
up: {
94+
version = "1.90.1+vfs0090.1";
95+
src = super.fetchFromGitHub {
96+
owner = "3v1n0";
97+
repo = "libfprint";
98+
rev = "48f3bb005d256477658273f0592442143740408e";
99+
sha256 = "sha256-Ari94tq9Q7LAxh/TOdoRG9J3kAzEnitwwPA5E5HFxxc=";
100+
fetchSubmodules = true;
101+
};
102+
buildInputs = up.buildInputs ++ ([ self.openssl ]);
103+
}
104+
);
105+
}
106+
```
107+
85108
#### Other distros
86109
- `git clone https://github.com/3v1n0/libfprint`
87110
- `meson libfprint libfprint/_build && sudo ninja -C libfprint/_build install`

0 commit comments

Comments
 (0)