Use symlinks for wttr-delft and lockfiles

[?]
Mar 23, 2023, 8:46 PM
Q7HHS6YAXF3D2XT2POJK4M6OH2HV5A5EQG7XNQBZ2NXMXZEBWUTQC

Dependencies

Change contents

  • replacement in 06-windows/wttr-delft.nix at line 1
    [2.408812][2.408813:409448]()
    # 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 ];
    # Dependencies
    buildInputs = [ curl.dev ];
    # Strict separation of
    # nativeBuildInputs (needed at build time only) and
    # buildInputs (needed at runtime as well)
    strictDeps = true;
    }
    [2.408812]
    ../04-cmake-and-cross/wttr-delft.nix
  • replacement in 06-windows/flake.lock at line 1
    [2.412402][2.412403:413395]()
    {
    "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
    }
    [2.412402]
    ../04-cmake-and-cross/flake.lock
  • replacement in 05-static-container/wttr-delft.nix at line 1
    [3.166][3.167:802]()
    # 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 ];
    # Dependencies
    buildInputs = [ curl.dev ];
    # Strict separation of
    # nativeBuildInputs (needed at build time only) and
    # buildInputs (needed at runtime as well)
    strictDeps = true;
    }
    [3.166]
    ../04-cmake-and-cross/wttr-delft.nix
  • replacement in 05-static-container/flake.lock at line 1
    [3.4619][3.4620:5612]()
    {
    "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
    }
    [3.4619]
    ../04-cmake-and-cross/flake.lock