forked from Fachschaft/nixConfig
Compare commits
2 commits
8f8ed254f9
...
f6f3464582
Author | SHA1 | Date | |
---|---|---|---|
f6f3464582 | |||
a3890b1e80 |
1 changed files with 1 additions and 4 deletions
|
@ -67,10 +67,8 @@
|
||||||
3. Check whether the sieve-rs patch below that exchanges the dependency needs updates.
|
3. Check whether the sieve-rs patch below that exchanges the dependency needs updates.
|
||||||
4. Then update the version comparison in this assert statement.
|
4. Then update the version comparison in this assert statement.
|
||||||
5. Update the `cargoHash` by setting it to `lib.fakeHash` and then inserting the result.
|
5. Update the `cargoHash` by setting it to `lib.fakeHash` and then inserting the result.
|
||||||
6. Check if we can get rid of alias-to-sieve when stalwart-mail has a builtin mail-forwarding feature.
|
6. Check if we can get rid of alias-to-sieve when stalwart-mail has a builtin alias feature.
|
||||||
'';
|
'';
|
||||||
# This override encapsulates the buildRustPackage function in a function that takes the arguments given by the nixpkgs-version of stalwart-mail
|
|
||||||
# and adds our patch to the arguments before handing the new arguments to buildRustPackage.
|
|
||||||
prev.stalwart-mail.override (
|
prev.stalwart-mail.override (
|
||||||
let
|
let
|
||||||
rp = pkgs.rustPlatform;
|
rp = pkgs.rustPlatform;
|
||||||
|
@ -87,7 +85,6 @@
|
||||||
# We want to redirect to sender if we simulate alias files and not doing so barely prevents loops in my opinion.
|
# We want to redirect to sender if we simulate alias files and not doing so barely prevents loops in my opinion.
|
||||||
./patches/sieve-rs.patch
|
./patches/sieve-rs.patch
|
||||||
];
|
];
|
||||||
# Replace the string with `lib.fakeHash` after version changes in order to get the new hash value.
|
|
||||||
cargoHash = "sha256-gb2oFlVA/vE6DoWWW8SCFA3l7rtV2RuosPUY+6IcKNM=";
|
cargoHash = "sha256-gb2oFlVA/vE6DoWWW8SCFA3l7rtV2RuosPUY+6IcKNM=";
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue