Skip to content

Commit ec5d1f5

Browse files
QqwyOpsBotPrime
authored andcommitted
Ensure the opsqueue client can also build in Nix without the Nix sandbox.
1 parent db579a6 commit ec5d1f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/opsqueue_python/opsqueue_python.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ buildPythonPackage rec {
3737
cargoDeps = rustPlatform.importCargoLock { lockFile = ../../Cargo.lock; };
3838

3939
env = {
40-
DATABASE_URL = "sqlite:///build/opsqueue_python/opsqueue/opsqueue_example_database_schema.db";
40+
DATABASE_URL = "sqlite://./opsqueue/opsqueue_example_database_schema.db";
4141
};
4242

4343
pythonImportsCheck = [ pname ];
4444

4545
maturinBuildFlags = [
4646
"--manifest-path"
47-
"/build/opsqueue_python/libs/opsqueue_python/Cargo.toml"
47+
"./libs/opsqueue_python/Cargo.toml"
4848
];
4949

5050
nativeBuildInputs = with rustPlatform; [

0 commit comments

Comments
 (0)