mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
hash
This commit is contained in:
parent
d20fbcff91
commit
63a5a7392b
1 changed files with 3 additions and 9 deletions
|
|
@ -3,10 +3,6 @@ self: super: {
|
|||
pname = "halloy";
|
||||
version = "2025.5";
|
||||
|
||||
# Use nightly Rust toolchain
|
||||
cargo = super.rust-bin.nightly.latest.minimal;
|
||||
rustc = self.cargo;
|
||||
|
||||
src = super.fetchFromGitHub {
|
||||
owner = "squidowl";
|
||||
repo = pname;
|
||||
|
|
@ -14,11 +10,9 @@ self: super: {
|
|||
sha256 = "sha256-cG/B6oiRkyoC5fK7bLdCDQYZymfMZspWXvOkqpwHRPk=";
|
||||
};
|
||||
|
||||
# Add patch to enable edition2024
|
||||
postPatch = ''
|
||||
sed -i '1i cargo-features = ["edition2024"]' Cargo.toml
|
||||
'';
|
||||
|
||||
# Skip the edition2024 check
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
cargoLock = {
|
||||
lockFile = super.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/squidowl/halloy/${version}/Cargo.lock";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue