Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions pkgs/by-name/de/devenv/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
gitMinimal,
makeBinaryWrapper,
installShellFiles,
rustPlatform,
Expand All @@ -15,7 +16,7 @@
}:

let
version = "1.9.1";
version = "1.10";
devenvNixVersion = "2.30.4";

devenv_nix =
Expand All @@ -42,10 +43,10 @@ rustPlatform.buildRustPackage {
owner = "cachix";
repo = "devenv";
tag = "v${version}";
hash = "sha256-v86pQGIWHJPkRryglJSXOp0aEoU6ZtURuURsXLqfqSE=";
hash = "sha256-rsb+6Wca43guzLL4Czoc89L394ZW9JZF2MShxaz2Sx4=";
};

cargoHash = "sha256-41VmzZvoRd2pL5/o6apHztpS2XrL4HGPIJPBkUbPL1I=";
cargoHash = "sha256-Wt47YdBEtFXQACk1ByDwQyXzHU4/nGVQKY7gaZeQrQ4=";

buildAndTestSubdir = "devenv";

Expand All @@ -60,6 +61,16 @@ rustPlatform.buildRustPackage {
dbus
];

nativeCheckInputs = [
gitMinimal
];

preCheck = ''
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could use gitSetupHook instead too ! #402320

git init
git config user.email "test@example.com"
git config user.name "Test User"
'';

postInstall =
let
setDefaultLocaleArchive = lib.optionalString (glibcLocalesUtf8 != null) ''
Expand Down
Loading