try to add autoPatchelfHook
This commit is contained in:
parent
33cc7cd058
commit
b0dd5c241e
14
flake.nix
14
flake.nix
|
@ -25,10 +25,14 @@
|
|||
devShell."${system}" = pkgs.mkShell {
|
||||
buildInputs = [ pyEnv ];
|
||||
};
|
||||
packages = {
|
||||
binary = pkgs.stdenv.mkDerivation rec {
|
||||
packages =
|
||||
let
|
||||
binary = { autoPatchelfHook, ... }: pkgs.stdenv.mkDerivation rec {
|
||||
name = "todoist_interface";
|
||||
src = self;
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
buildInputs = [
|
||||
pkgs.coreutils
|
||||
pkgs.glibc
|
||||
|
@ -46,7 +50,9 @@
|
|||
cp /build/source/dist/todoist_interface "$out/todoist_interface"
|
||||
'';
|
||||
};
|
||||
};
|
||||
defaultPackage = packages.binary;
|
||||
in
|
||||
pkgs.callPackage binary { };
|
||||
|
||||
defaultPackage = packages;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue