Q7HHS6YAXF3D2XT2POJK4M6OH2HV5A5EQG7XNQBZ2NXMXZEBWUTQC # This file looks very similar to what official packages in nixpkgs look like{ stdenv, cmake, pkgconfig, curl}:stdenv.mkDerivation rec {name = "wttr-delft";src = builtins.path { path = ../src; name = name; };# Build-time dependencies# Since we include CMake, Nix will automatically do all the right things:# We don't need a custom 'buildPhase' or 'installPhase' anymore.nativeBuildInputs = [ cmake pkgconfig ];# DependenciesbuildInputs = [ curl.dev ];# Strict separation of# nativeBuildInputs (needed at build time only) and# buildInputs (needed at runtime as well)strictDeps = true;}
../04-cmake-and-cross/wttr-delft.nix
{"nodes": {"flake-utils": {"locked": {"lastModified": 1678901627,"narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=","owner": "numtide","repo": "flake-utils","rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6","type": "github"},"original": {"owner": "numtide","repo": "flake-utils","type": "github"}},"nixpkgs": {"locked": {"lastModified": 1679396235,"narHash": "sha256-RjmNVFuZQ2e6u35B98JcY9IzVDtZb3d4QcbtfLtNWkE=","owner": "NixOS","repo": "nixpkgs","rev": "008ce261a7e3c532e792cb8e39482f2cc1b192f5","type": "github"},"original": {"owner": "NixOS","repo": "nixpkgs","type": "github"}},"root": {"inputs": {"flake-utils": "flake-utils","nixpkgs": "nixpkgs"}}},"root": "root","version": 7}
../04-cmake-and-cross/flake.lock
# This file looks very similar to what official packages in nixpkgs look like{ stdenv, cmake, pkgconfig, curl}:stdenv.mkDerivation rec {name = "wttr-delft";src = builtins.path { path = ../src; name = name; };# Build-time dependencies# Since we include CMake, Nix will automatically do all the right things:# We don't need a custom 'buildPhase' or 'installPhase' anymore.nativeBuildInputs = [ cmake pkgconfig ];# DependenciesbuildInputs = [ curl.dev ];# Strict separation of# nativeBuildInputs (needed at build time only) and# buildInputs (needed at runtime as well)strictDeps = true;}
../04-cmake-and-cross/wttr-delft.nix
{"nodes": {"flake-utils": {"locked": {"lastModified": 1678901627,"narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=","owner": "numtide","repo": "flake-utils","rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6","type": "github"},"original": {"owner": "numtide","repo": "flake-utils","type": "github"}},"nixpkgs": {"locked": {"lastModified": 1679396235,"narHash": "sha256-RjmNVFuZQ2e6u35B98JcY9IzVDtZb3d4QcbtfLtNWkE=","owner": "NixOS","repo": "nixpkgs","rev": "008ce261a7e3c532e792cb8e39482f2cc1b192f5","type": "github"},"original": {"owner": "NixOS","repo": "nixpkgs","type": "github"}},"root": {"inputs": {"flake-utils": "flake-utils","nixpkgs": "nixpkgs"}}},"root": "root","version": 7}
../04-cmake-and-cross/flake.lock