Add git-temp-commit to devshell

This commit is contained in:
Sven van Heugten 2026-05-12 06:57:20 +02:00
parent 442fe5d5d8
commit c2e5a01e26
No known key found for this signature in database
GPG key ID: D612F88666F4F660
2 changed files with 32 additions and 0 deletions

25
flake.lock generated
View file

@ -18,6 +18,30 @@
"type": "github"
}
},
"git-temp-commit": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1778481212,
"narHash": "sha256-Vy0ufQ51CHkamX+XB8hhgohBHJesKli0jF503NuSY20=",
"ref": "main",
"rev": "622b553f46920a2f3cc92f26c1f49cabb612de5f",
"revCount": 2,
"type": "git",
"url": "https://codeberg.org/svenvanheugten/git-temp-commit.git"
},
"original": {
"ref": "main",
"type": "git",
"url": "https://codeberg.org/svenvanheugten/git-temp-commit.git"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1776877367,
@ -37,6 +61,7 @@
"root": {
"inputs": {
"flake-utils": "flake-utils",
"git-temp-commit": "git-temp-commit",
"nixpkgs": "nixpkgs"
}
},

View file

@ -2,6 +2,11 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
git-temp-commit = {
url = "git+https://codeberg.org/svenvanheugten/git-temp-commit.git?ref=main";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
};
outputs =
@ -9,6 +14,7 @@
self,
nixpkgs,
flake-utils,
git-temp-commit,
}:
flake-utils.lib.eachDefaultSystem (
system:
@ -36,6 +42,7 @@
packages = [
pkgs.git
pkgs.dotnet-sdk_10
git-temp-commit.packages.${system}.default
];
};
}