24 lines
590 B
Nix
24 lines
590 B
Nix
{
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
{
|
|
packages =
|
|
let
|
|
webnsupdate = pkgs.callPackage ../default.nix { };
|
|
in
|
|
{
|
|
inherit webnsupdate;
|
|
default = webnsupdate;
|
|
cargo-update = pkgs.writeShellApplication {
|
|
name = "cargo-update-lockfile";
|
|
runtimeInputs = with pkgs; [
|
|
cargo
|
|
gnused
|
|
];
|
|
text = ''
|
|
CARGO_TERM_COLOR=never cargo update 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|