Add compatibility for non-FHS 3.0 systems

* Added `shell.nix` definition for temporary development environment for Nix(OS)
* Set uuidgen and other binaries check to not rely on hard-codded paths
This commit is contained in:
Jacob Hrbek
2023-07-13 11:04:21 +02:00
committed by Igor
parent 8a13dae89d
commit 6556a3a77e
3 changed files with 16 additions and 8 deletions

8
shell.nix Normal file
View File

@@ -0,0 +1,8 @@
# Configuration file for Nix(OS) to provide a temporary development enviroment
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [
util-linux # Needed for uuidgen
];
}