Commit Graph
345303 Commits
Author SHA1 Message Date
Vincent Haupert b88ddadf8b nixos/intel-sgx: add option for Intel SGX DCAP compatibility
The Intel SGX DCAP driver makes the SGX application enclave device and
the SGX provisioning enclave available below the path `/dev/sgx/`. Since
Linux 5.11, a derivation of the DCAP driver is part of the kernel and
available through the X86_SGX config option; NixOS enables this option
by default.

In contrast to the out-of-tree DCAP driver, the in-tree SGX driver uses
a flat hierarchy for the SGX devices resulting in the paths
`/dev/sgx_enclave` for the application enclave device and
`/dev/sgx_provison` for the provisioning enclave device.

As of this commit, even the latest version of the Intel SGX PSW
libraries still tries to open the (legacy) DCAP paths only. This means
that SGX software currently cannot find the required SGX devices even if
the system actually supports SGX through the in-tree driver. Intel wants
to change this behavior in an upcoming release of intel/linux-sgx.

Having said that, SGX software assuming the SGX devices below
`/dev/sgx/` will prevail. Therefore, this commit introduces the NixOS
configuration option `hardware.cpu.intel.sgx.enableDcapCompat` which
creates the necessary symlinks to support existing SGX software. The
option defaults to true as it is currently the only way to support SGX
software. Also, enabling the SGX AESM service enables the option.

The permissions of the devices `/dev/sgx_enclave` and
`/dev/sgx_provison` remain the same, i.e., are not affected regardless
of having the new option enabled or not.
2022-01-11 14:02:16 +01:00
Fabian AffolterandGitHub 7180c7bb6e Merge pull request #154495 from fabaff/fix-annexremote
python3Packages.annexremote: disable failing tests
2022-01-11 11:29:24 +01:00
Fabian AffolterandGitHub e5205c7157 Merge pull request #154265 from fabaff/fix-qcs-api-client
python3Packages.qcs-api-client: enable tests
2022-01-11 11:28:22 +01:00
Fabian AffolterandGitHub 7846f7a49d Merge pull request #154447 from r-ryantm/auto-update/ugrep
ugrep: 3.4.0 -> 3.5.0
2022-01-11 11:16:09 +01:00
Fabian AffolterandGitHub 3ff02d6169 Merge pull request #154441 from r-ryantm/auto-update/disfetch
disfetch: 2.15 -> 3.2
2022-01-11 11:15:42 +01:00
Fabian AffolterandGitHub aacb2d4c5a Merge pull request #154371 from r-ryantm/auto-update/assh
assh: 2.12.1 -> 2.12.2
2022-01-11 11:13:46 +01:00
Ben SiraphobandGitHub 59633370b2 Merge pull request #154491 from siraben/labmath-update
python3Packages.labmath: 1.2.0 -> 2.2.0
2022-01-11 17:13:18 +07:00
Ben SiraphobandGitHub cadafb359a Merge pull request #154493 from siraben/mmixware-update
mmixware: unstable-2019-02-19 -> unstable-2021-06-18
2022-01-11 17:12:42 +07:00
Florian KlinkandGitHub 14d2c7d929 Merge pull request #154429 from r-ryantm/auto-update/crd2pulumi
crd2pulumi: 1.0.10 -> 1.1.0
2022-01-11 11:05:50 +01:00
Fabian Affolter bd9bf2ee92 python3Packages.annexremote: disable failing tests 2022-01-11 11:04:22 +01:00
Janne HeßandGitHub 3e5a2b82f4 Merge pull request #154286 from helsinki-systems/drop/networkmanager-inkscape-dependency
inkscape: Remove networkmanager as an inkscape dependency
2022-01-11 11:04:18 +01:00
Ben Siraphob 087ce9fd01 mmixware: unstable-2019-02-19 -> unstable-2021-06-18 2022-01-11 17:01:24 +07:00
Ben SiraphobandGitHub 11beb5f22b Merge pull request #154490 from siraben/cyclone-scheme
cyclone-scheme: 0.30.0 -> 0.34.0
2022-01-11 16:53:52 +07:00
Ben Siraphob 21769949dc python3Packages.labmath: 1.2.0 -> 2.2.0 2022-01-11 16:51:48 +07:00
Ben Siraphob 135519c7fa cyclone-scheme: 0.30.0 -> 0.34.0 2022-01-11 16:45:02 +07:00
Bobby RongandGitHub 1c22065e93 Merge pull request #154360 from r-ryantm/auto-update/autosuspend
autosuspend: 4.0.1 -> 4.1.0
2022-01-11 17:41:22 +08:00
Ben SiraphobandGitHub ec109bb1f1 Merge pull request #154488 from siraben/htmlq-update
htmlq: 0.3.0 -> 0.4.0
2022-01-11 16:39:21 +07:00
Fabian Affolter 009f8ca222 python310Packages.cirq-google: disable failing tests 2022-01-11 10:29:45 +01:00
Ben Siraphob 11a2ff4fb8 htmlq: 0.3.0 -> 0.4.0 2022-01-11 16:22:17 +07:00
Matthias BeyerandMatthieu Coudron e74ca28bed vim-plugins: Fix name of attribute
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-01-11 10:19:56 +01:00
Wayne Van SonandGitHub ba434d950d vscode-extensions.pkief.material-product-icons: init at 1.1.1 2022-01-11 17:14:07 +08:00
Fabian AffolterandGitHub 8838e4eb2d Merge pull request #154334 from rmcgibbo/trio
python3Packages.trio: fix python310
2022-01-11 10:12:02 +01:00
Fabian AffolterandGitHub da59b88ca4 Merge pull request #154336 from fabaff/fix-requests-toolbelt
python3Packages.requests-toolbelt: disable warnings
2022-01-11 10:11:38 +01:00
Bobby RongandGitHub 0f74b1261b Merge pull request #154443 from newAM/vscode-github
vscode-extensions.github.vscode-pull-request-github: 0.35.2021122109 -> 0.35.2022010609
2022-01-11 17:04:31 +08:00
Marek FajkusandGitHub 863e37a23a Merge pull request #154052 from wchresta/idris2-use-project-derivation
Idris2: Refactor default.nix
2022-01-11 09:58:10 +01:00
Fabian AffolterandGitHub b819a42fb1 Merge pull request #154349 from rmcgibbo/xarray
python310Packages.xarray: fix build
2022-01-11 09:34:57 +01:00
Fabian AffolterandGitHub 8863a4fa5f Merge pull request #154200 from fabaff/bump-mdformat
python310Packages.mdformat: 0.7.12 -> 0.7.13
2022-01-11 09:33:23 +01:00
Fabian AffolterandGitHub 23afed2a8b Merge pull request #154280 from fabaff/tests-s3transfer
python3Packages.s3transfer: enable tests
2022-01-11 09:30:24 +01:00
Fabian Affolter 6b98aa0d54 python3Packages.requests-toolbelt: disable warnings 2022-01-11 09:28:14 +01:00
Ben SiraphobandGitHub 570c0e27c5 Merge pull request #154449 from siraben/fq-update
fq: 0.0.2 -> 0.0.3
2022-01-11 15:19:03 +07:00
Ben SiraphobandGitHub 54dd357f9e Merge pull request #154444 from siraben/vyper-update
vyper: 0.3.0 -> 0.3.1
2022-01-11 15:18:47 +07:00
Bobby RongandGitHub 10d4a08d0b Merge pull request #154414 from bobby285271/pantheon
pantheon.elementary-videos: 2.8.1 -> 2.8.3
2022-01-11 16:18:12 +08:00
Marek FajkusandGitHub 110aa80fe8 Merge pull request #154400 from r-ryantm/auto-update/cargo-generate
cargo-generate: 0.11.1 -> 0.12.0
2022-01-11 09:11:27 +01:00
Fabian AffolterandGitHub 7efcfc5d3e Merge pull request #154327 from fabaff/bump-adafruit-platformdetect
python3Packages.adafruit-platformdetect: 3.19.1 -> 3.19.2
2022-01-11 09:02:39 +01:00
Fabian AffolterandGitHub 59028f2867 Merge pull request #154329 from fabaff/bump-hahomematic
python3Packages.hahomematic: 0.16.0 -> 0.17.1
2022-01-11 09:02:32 +01:00
Fabian AffolterandGitHub c240d010c7 Merge pull request #154330 from fabaff/bump-pontos
python3Packages.pontos: 21.11.0 -> 22.1.0
2022-01-11 09:02:23 +01:00
Fabian AffolterandGitHub eb8be3854f Merge pull request #154346 from fabaff/bump-vt-py
python3Packages.vt-py: 0.13.0 -> 0.13.1
2022-01-11 09:01:41 +01:00
Fabian AffolterandGitHub ce3312635d Merge pull request #154338 from fabaff/bump-sqlfluff
sqlfluff: 0.9.0 -> 0.9.1
2022-01-11 09:01:26 +01:00
Fabian AffolterandGitHub bd25df6e1f Merge pull request #154340 from fabaff/fix-aioconsole
python3Packages.aioconsole: disable failing tests
2022-01-11 09:01:14 +01:00
Fabian AffolterandGitHub 42ee63868d Merge pull request #154427 from r-ryantm/auto-update/python3.10-chiapos
python310Packages.chiapos: 1.0.7 -> 1.0.8
2022-01-11 08:59:35 +01:00
b2737d4980 python3Packages.tensorflow-datasets: init at 4.4.0 (#154117)
* python3Packages.tensorflow-datasets: init at 4.4.0

* Update pkgs/development/python-modules/tensorflow-datasets/default.nix

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>

Co-authored-by: Samuel Ainsworth <skainsworth@gmail.com>
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2022-01-10 23:53:55 -08:00
Damien CassouandGitHub 07e6e9d92f Merge pull request #154431 from r-ryantm/auto-update/crowdin-cli 2022-01-11 08:41:46 +01:00
Ellie HermaszewskaandGitHub 14921f050a Merge pull request #153536 from NixOS/haskell-updates
haskellPackages: update stackage and hackage
2022-01-11 15:13:59 +08:00
Ellie Hermaszewska 6faf96d502 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2022-01-11 15:02:54 +08:00
Dmitry KalinkinandGitHub 793bbe6c69 Merge pull request #154294 from Eliot00/quake-update
inherd-quake: 0.3.0 -> 0.4.0
2022-01-11 01:35:01 -05:00
Ben Siraphob 40d28cd733 fq: 0.0.2 -> 0.0.3 2022-01-11 13:12:03 +07:00
R. Ryantm 21e5e2a548 ugrep: 3.4.0 -> 3.5.0 2022-01-11 06:10:27 +00:00
Alex Martens c7b6d5ffc1 vscode-extensions.github.vscode-pull-request-github: 0.35.2021122109 -> 0.35.2022010609 2022-01-10 22:01:08 -08:00
Ben Siraphob 444baf106d vyper: 0.3.0 -> 0.3.1 2022-01-11 12:57:11 +07:00
R. Ryantm 30ca2615e4 disfetch: 2.15 -> 3.2 2022-01-11 05:54:02 +00:00