From 051cd1c380b6c76a8bb3526770d2207d9a1d5833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= <1771332+vlaci@users.noreply.github.com> Date: Mon, 9 Oct 2023 11:49:44 +0200 Subject: [PATCH] Revert "Update flake.lock" --- flake.lock | 72 ++++++++++++++++++++--------------------- nix/pyfatfs/default.nix | 2 +- overlay.nix | 9 ++++-- 3 files changed, 44 insertions(+), 39 deletions(-) diff --git a/flake.lock b/flake.lock index b5e351d594..e29f977365 100644 --- a/flake.lock +++ b/flake.lock @@ -19,11 +19,11 @@ "advisory-db_2": { "flake": false, "locked": { - "lastModified": 1696341198, - "narHash": "sha256-AgAcrT3+22QZiHxapKIt8drtP3hacNmyxFneD/Jsp8I=", + "lastModified": 1690651200, + "narHash": "sha256-0aDZUueboXYxKy/ckHQYA6zkvLOVsb2wyzJjSuEdJzE=", "owner": "rustsec", "repo": "advisory-db", - "rev": "da470caa84d3dd3be02657a9cb35bd5269636127", + "rev": "98e8483ac17d42eeeeee51d4d02ad8a690bd12c7", "type": "github" }, "original": { @@ -67,11 +67,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1696384830, - "narHash": "sha256-j8ZsVqzmj5sOm5MW9cqwQJUZELFFwOislDmqDDEMl6k=", + "lastModified": 1688772518, + "narHash": "sha256-ol7gZxwvgLnxNSZwFTDJJ49xVY5teaSvF7lzlo3YQfM=", "owner": "ipetkov", "repo": "crane", - "rev": "f2143cd27f8bd09ee4f0121336c65015a2a0a19c", + "rev": "8b08e96c9af8c6e3a2b69af5a7fa168750fcf88e", "type": "github" }, "original": { @@ -106,11 +106,11 @@ }, "filter": { "locked": { - "lastModified": 1694857738, - "narHash": "sha256-bxxNyLHjhu0N8T3REINXQ2ZkJco0ABFPn6PIe2QUfqo=", + "lastModified": 1687178632, + "narHash": "sha256-HS7YR5erss0JCaUijPeyg2XrisEb959FIct3n2TMGbE=", "owner": "numtide", "repo": "nix-filter", - "rev": "41fd48e00c22b4ced525af521ead8792402de0ea", + "rev": "d90c75e8319d0dd9be67d933d8eb9d0894ec9174", "type": "github" }, "original": { @@ -122,11 +122,11 @@ "flake-compat": { "flake": false, "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", "owner": "edolstra", "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", "type": "github" }, "original": { @@ -154,11 +154,11 @@ "flake-compat_3": { "flake": false, "locked": { - "lastModified": 1696267196, - "narHash": "sha256-AAQ/2sD+0D18bb8hKuEEVpHUYD1GmO2Uh/taFamn6XQ=", + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", "owner": "edolstra", "repo": "flake-compat", - "rev": "4f910c9827911b1ec2bf26b5a062cd09f8d89f85", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", "type": "github" }, "original": { @@ -208,11 +208,11 @@ "systems": "systems_3" }, "locked": { - "lastModified": 1694529238, - "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", + "lastModified": 1687709756, + "narHash": "sha256-Y5wKlQSkgEK2weWdOu4J3riRd+kV/VCgHsqLNTTWQ/0=", "owner": "numtide", "repo": "flake-utils", - "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", + "rev": "dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7", "type": "github" }, "original": { @@ -226,11 +226,11 @@ "systems": "systems_4" }, "locked": { - "lastModified": 1694529238, - "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", + "lastModified": 1689068808, + "narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=", "owner": "numtide", "repo": "flake-utils", - "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", + "rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4", "type": "github" }, "original": { @@ -259,11 +259,11 @@ }, "nix-filter": { "locked": { - "lastModified": 1694857738, - "narHash": "sha256-bxxNyLHjhu0N8T3REINXQ2ZkJco0ABFPn6PIe2QUfqo=", + "lastModified": 1687178632, + "narHash": "sha256-HS7YR5erss0JCaUijPeyg2XrisEb959FIct3n2TMGbE=", "owner": "numtide", "repo": "nix-filter", - "rev": "41fd48e00c22b4ced525af521ead8792402de0ea", + "rev": "d90c75e8319d0dd9be67d933d8eb9d0894ec9174", "type": "github" }, "original": { @@ -274,11 +274,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1696725822, - "narHash": "sha256-B7uAOS7TkLlOg1aX01rQlYbydcyB6ZnLJSfaYbKVww8=", + "lastModified": 1691218994, + "narHash": "sha256-46GJ5vLf9H+Oh7Jii2gJI9GATJHGbx2iQpon5nUSFPI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5aabb5780a11c500981993d49ee93cfa6df9307b", + "rev": "0d2fb29f5071a12d7983319c2c2576be6a130582", "type": "github" }, "original": { @@ -366,11 +366,11 @@ ] }, "locked": { - "lastModified": 1696299134, - "narHash": "sha256-RS77cAa0N+Sfj5EmKbm5IdncNXaBCE1BSSQvUE8exvo=", + "lastModified": 1688351637, + "narHash": "sha256-CLTufJ29VxNOIZ8UTg0lepsn3X03AmopmaLTTeHDCL4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "611ccdceed92b4d94ae75328148d84ee4a5b462d", + "rev": "f9b92316727af9e6c7fee4a761242f7f46880329", "type": "github" }, "original": { @@ -388,11 +388,11 @@ ] }, "locked": { - "lastModified": 1696731188, - "narHash": "sha256-EL0iBBEUEV2oVygwv31C2+3w63826yEUN3LfIHAR0jo=", + "lastModified": 1690596958, + "narHash": "sha256-SWqxUiEP9O2gvlWtR4Ku6rIMGM7PuNZreAPrU2yAjsk=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "6528a18a62d817200099c520b6eea7833ade9a9a", + "rev": "5c06b0ed7bfb00f3a925af6c4acd1636596381c1", "type": "github" }, "original": { @@ -508,11 +508,11 @@ "rust-overlay": "rust-overlay_3" }, "locked": { - "lastModified": 1696777518, - "narHash": "sha256-D2C4NFWKlb6DjBIXWHjEFl3d29kryDinJ3xU+5s31Qw=", + "lastModified": 1690811550, + "narHash": "sha256-Q0B0GwXuzAmOFz9jEK6XvoaGer6q7117ayxTO60tqeM=", "owner": "onekey-sec", "repo": "unblob-native", - "rev": "042a7fea29d295d04877b31c41d9ebd5166e354f", + "rev": "3844f4fd5ffd5a3befcd25e8176eb889237b8eb4", "type": "github" }, "original": { diff --git a/nix/pyfatfs/default.nix b/nix/pyfatfs/default.nix index 15377866e6..5dd32a25fc 100644 --- a/nix/pyfatfs/default.nix +++ b/nix/pyfatfs/default.nix @@ -9,7 +9,7 @@ python3.pkgs.buildPythonApplication rec { nativeBuildInputs = with python3.pkgs; [ pytest-runner setuptools-scm ]; - propagatedBuildInputs = with python3.pkgs; [ pip fs ]; + propagatedBuildInputs = with python3.pkgs; [ fs ]; postPatch = '' substituteInPlace ./setup.py --replace 'setuptools_scm~=5.0.0' setuptools_scm diff --git a/overlay.nix b/overlay.nix index cc658ace18..1b19017a5a 100644 --- a/overlay.nix +++ b/overlay.nix @@ -11,8 +11,14 @@ inputs: final: prev: hardeningDisable = (super.hardeningDisable or [ ]) ++ [ "fortify3" ]; }); + # Lief 12.3 incompatibility with Cmake 3.26 lief = prev.lief.overrideAttrs (super: { - meta.platform = super.meta.platform ++ [ final.lib.platforms.darwin ]; + postPatch = '' + substituteInPlace setup.py \ + --replace \ + 'cmake_args = ["-DLIEF_FORCE_API_EXPORTS=ON", "-DLIEF_PYTHON_API=on"]' \ + 'cmake_args = ["-DLIEF_FORCE_API_EXPORTS=ON", "-DLIEF_PYTHON_API=on", "-DLIEF_EXAMPLES=off"]' + ''; }); # Own package updated independently of nixpkgs @@ -38,7 +44,6 @@ inputs: final: prev: # Own package updated independently of nixpkgs unblob-native = inputs.unblob-native.packages.${final.system}.default; - }); };