aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-07-26 00:11:48 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-07-26 00:11:48 +0200
commit90c37677abd6344a5154c66342c6c96ddbbf65e8 (patch)
tree2217fc02adff05c3069a54f627b07c2786124e50 /flake.nix
parent7f4e3e24ed7a039da1cd5f7f003c685c7cb5a756 (diff)
downloadaerogramme-90c37677abd6344a5154c66342c6c96ddbbf65e8.tar.gz
aerogramme-90c37677abd6344a5154c66342c6c96ddbbf65e8.zip
downgrade serde0.1.0
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix14
1 files changed, 12 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 774358c..c1561f4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -90,8 +90,9 @@
export NIX_RUST_LINK_FLAGS="''${NIX_RUST_LINK_FLAGS} --deny warnings"
export RUSTC="''${CLIPPY_DRIVER}"
'');
+
rustDebug = pkgs.rustBuilder.makePackageSet({
- packageFun = import ./Cargo.nix;
+ packageFun = import ./Cargo.nix;
target = rustTarget;
release = false;
rustToolchain = with fenix.packages.x86_64-linux; combine [
@@ -107,13 +108,22 @@
setBuildEnv = (debugBuildEnv drv);
};
})
+ (pkgs.rustBuilder.rustLib.makeOverride {
+ name = "smtp-message";
+ overrideAttrs = drv: {
+ /*setBuildEnv = (traceBuildEnv drv);
+ propagatedBuildInputs = drv.propagatedBuildInputs or [ ] ++ [
+ traceRust
+ ];*/
+ };
+ })
];
});
# binary extract
bin = pkgs.stdenv.mkDerivation {
pname = "aerogramme-bin";
- version = "0.0.1";
+ version = "0.1.0";
dontUnpack = true;
dontBuild = true;
installPhase = ''