forked from M-Labs/artiq
flake: fix deprecated 'U' mode in outputcheck for python 3.11
This commit is contained in:
parent
1ec1ab0502
commit
2f3329181c
@ -91,6 +91,10 @@
|
||||
sha256 = "1y27vz6jq6sywas07kz3v01sqjd0sga9yv9w2cksqac3v7wmf2a0";
|
||||
};
|
||||
prePatch = "echo ${version} > RELEASE-VERSION";
|
||||
postPatch = ''
|
||||
substituteInPlace OutputCheck/Driver.py \
|
||||
--replace "argparse.FileType('rU')" "argparse.FileType('r')"
|
||||
'';
|
||||
};
|
||||
|
||||
libartiq-support = pkgs.stdenv.mkDerivation {
|
||||
|
Loading…
Reference in New Issue
Block a user