Compare commits

..

No commits in common. "bace7270f901c45a6abd4e771db5f74138936061" and "bbee286c6b3f6b96f7e6ba67bea38c702e077058" have entirely different histories.

3 changed files with 20 additions and 22 deletions

View File

@ -3,11 +3,11 @@
"advisory-db": { "advisory-db": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1697318478, "lastModified": 1696341198,
"narHash": "sha256-ZEDgHfurZiv9lBGTmHnQ0YECoi6H2NYs3pTo1VU1koQ=", "narHash": "sha256-AgAcrT3+22QZiHxapKIt8drtP3hacNmyxFneD/Jsp8I=",
"owner": "RustSec", "owner": "RustSec",
"repo": "advisory-db", "repo": "advisory-db",
"rev": "71d80e811f2e29a4b82d3e545ad6591e35227e03", "rev": "da470caa84d3dd3be02657a9cb35bd5269636127",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -41,11 +41,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1697664192, "lastModified": 1694081375,
"narHash": "sha256-nRTG3rYEGFV2+putRiC96+kNXDyKaPJgT6K/1FWN7yo=", "narHash": "sha256-vzJXOUnmkMCm3xw8yfPP5m8kypQ3BhAIRe4RRCWpzy8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "naersk", "repo": "naersk",
"rev": "636a9b5dd7f2ad7d7c3af929ecf95e4d4fab9e97", "rev": "3f976d822b7b37fc6fb8e6f157c2dd05e7e94e89",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -56,11 +56,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1697793076, "lastModified": 1696577711,
"narHash": "sha256-02e7sCuqLtkyRgrZmdOyvAcQTQdcXj+vpyp9bca6cY4=", "narHash": "sha256-94VRjvClIKDym1QRqPkX5LTQoAwZ1E6QE/3dWtOXSIQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "038b2922be3fc096e1d456f93f7d0f4090628729", "rev": "a2eb207f45e4a14a1e3019d9e3863d1e208e2295",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -87,11 +87,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1697854201, "lastModified": 1696644659,
"narHash": "sha256-H+0Wb20PQx/8N7X/OfwwAVPeN9TbfjcyG0sXbdgsh50=", "narHash": "sha256-l/DgT519At8HhXDQHz3+H8AjaEbrsb7Xkqgj+JNHV6k=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "6e8e3332433847cd56186b1f6fc8c47603cf5b46", "rev": "126829788e99c188be4eeb805f144d73d8a00f2c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -60,8 +60,7 @@
{ {
# Build a rust flake with a single crate # Build a rust flake with a single crate
single = { src, crateName, sharedDeps ? (system: [ ]) single = { src, crateName, sharedDeps ? (system: [ ])
, sharedNativeDeps ? (system: [ ]), copyBins ? true, copyLibs ? false , sharedNativeDeps ? (system: [ ]), copyBins ? true, copyLibs ? false }:
, postInstall ? false, }:
utils.lib.eachDefaultSystem (system: utils.lib.eachDefaultSystem (system:
let let
pkgs = import nixpkgs { pkgs = import nixpkgs {
@ -107,8 +106,7 @@
# Main binary # Main binary
packages.${crateName} = naersk-lib.buildPackage { packages.${crateName} = naersk-lib.buildPackage {
pname = "${crateName}"; pname = "${crateName}";
inherit buildInputs nativeBuildInputs copyBins copyLibs inherit buildInputs nativeBuildInputs copyBins copyLibs;
postInstall;
root = src; root = src;
}; };
# binary + tests # binary + tests

View File

@ -5,9 +5,9 @@
"version": "0.18.2" "version": "0.18.2"
}, },
"cargo-llvm-cov": { "cargo-llvm-cov": {
"hash": "sha256-BP8YI43w76n4AcrNG3iuYW1WfjzmUZVjpQ/n3bdW3Ic=", "hash": "sha256-hFX98EGT0zCqbUXAe/MlWI25BdLEcaruiSZKvU0EzXM=",
"pname": "cargo-llvm-cov", "pname": "cargo-llvm-cov",
"version": "0.5.35" "version": "0.5.33"
}, },
"cargo-nextest": { "cargo-nextest": {
"hash": "sha256-PzBgJTMKg11D1DzXmyrv218tbXuclL7Y1Vi63gk2gmc=", "hash": "sha256-PzBgJTMKg11D1DzXmyrv218tbXuclL7Y1Vi63gk2gmc=",
@ -15,14 +15,14 @@
"version": "0.9.59" "version": "0.9.59"
}, },
"cargo-udeps": { "cargo-udeps": {
"hash": "sha256-ig3mggTO0no0DjwrKyt7AZf/H9j+oSgG1jrLdRTr8A0=", "hash": "sha256-PoMvkmb4+GNxdHFaJ+QwQOvWZFDU6EkrmpexPeQLNcA=",
"pname": "cargo-udeps", "pname": "cargo-udeps",
"version": "0.1.43" "version": "0.1.42"
}, },
"flamegraph": { "flamegraph": {
"hash": "sha256-T3dEi2pcuUUSN7CMqs+i+A/A5Gnjkml59ex6WJ3hywI=", "hash": "sha256-StrZ0FVC5r8SlZACj4uoRc+Nma1Rb6OxdNbYD93V+pY=",
"pname": "flamegraph", "pname": "flamegraph",
"version": "0.6.4" "version": "0.6.3"
}, },
"samply": { "samply": {
"hash": "sha256-V0uAS7Oo7wv0yU5CgqqYhltwM5PXJ3GP/TLVZV2GkkI=", "hash": "sha256-V0uAS7Oo7wv0yU5CgqqYhltwM5PXJ3GP/TLVZV2GkkI=",