webnsupdate/run-cmd.nix
Jalil David Salamé Messina ee65b5dcac
All checks were successful
/ check (push) Successful in 2s
/ build (push) Successful in 55s
[chore] lockfiles: update dependencies
Update `Cargo.lock` and `flake.lock`. Flake updates:

```
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b' (2024-05-29)
  → 'github:NixOS/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420' (2024-06-13)
```
2024-06-16 13:50:54 +02:00

16 lines
295 B
Nix

{
stdenvNoCC,
src,
name,
cmd,
extraBuildInputs ? [],
extraNativeBuildInputs ? [],
}:
stdenvNoCC.mkDerivation {
name = "${name}-src";
inherit src;
buildInputs = extraBuildInputs;
nativeBuildInputs = extraNativeBuildInputs;
buildPhase = cmd;
installPhase = "mkdir $out";
}