nix: Fix deprecation warning (resolves #9)
This commit is contained in:
parent
4b7f22c8c3
commit
3801d894be
1 changed files with 5 additions and 0 deletions
|
@ -43,6 +43,8 @@
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# cf. https://github.com/kolloch/crate2nix/issues/110
|
||||||
inherit (import "${crate2nix}/tools.nix" { inherit pkgs; })
|
inherit (import "${crate2nix}/tools.nix" { inherit pkgs; })
|
||||||
generatedCargoNix;
|
generatedCargoNix;
|
||||||
|
|
||||||
|
@ -53,6 +55,9 @@
|
||||||
src = ./.;
|
src = ./.;
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
|
inherit pkgs;
|
||||||
|
buildRustCrate = null; # https://github.com/kolloch/crate2nix/pull/178#issuecomment-820692187
|
||||||
|
|
||||||
# Individual crate overrides go here
|
# Individual crate overrides go here
|
||||||
# Example: https://github.com/balsoft/simple-osd-daemons/blob/6f85144934c0c1382c7a4d3a2bbb80106776e270/flake.nix#L28-L50
|
# Example: https://github.com/balsoft/simple-osd-daemons/blob/6f85144934c0c1382c7a4d3a2bbb80106776e270/flake.nix#L28-L50
|
||||||
defaultCrateOverrides = pkgs.defaultCrateOverrides // {
|
defaultCrateOverrides = pkgs.defaultCrateOverrides // {
|
||||||
|
|
Loading…
Reference in a new issue