We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS defines several MIME types such as application/x-qgis-project and application/x-esri-shape, but these are missing in NixOS.
application/x-qgis-project
application/x-esri-shape
Install QGIS:
environment.systemPackages = [ pkgs.qgis ];
Acquire a sample QGIS file:
wget 'https://github.com/qgis/QGIS/raw/refs/tags/final-3_36_3/tests/testdata/projects/good_layers_test.qgs'
Query its MIME type:
$ xdg-mime query filetype 'good_layers_test.qgs' text/html
Compare with Ubuntu:
$ podman run --rm --interactive --tty ubuntu:24.04 bash # apt update && apt install qgis wget xdg-utils # wget 'https://github.com/qgis/QGIS/raw/refs/tags/final-3_36_3/tests/testdata/projects/good_layers_test.qgs' # xdg-mime query filetype 'good_layers_test.qgs' application/x-qgis-layer-settings
The practical impact of this is that QGIS projects open in the wrong application.
$ nix-shell --packages 'nix-info' --run 'nix-info --markdown' - system: `"x86_64-linux"` - host os: `Linux 6.11.7, NixOS, 24.05 (Uakari), 24.05.6565.689fed12a013` - multi-user?: `yes` - sandbox: `yes` - version: `nix-env (Nix) 2.18.8` - channels(root): `"nix-math, nixos-24.05, nixos-hardware, nixseparatedebuginfod"` - channels(user): `"community-vscode-extensions, home-manager-23.11.tar.gz, nix-colors, rust-overlay, unstable"` - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@NixOS/geospatial @lsix
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
QGIS defines several MIME types such as
application/x-qgis-project
andapplication/x-esri-shape
, but these are missing in NixOS.Steps To Reproduce
Install QGIS:
Acquire a sample QGIS file:
wget 'https://github.com/qgis/QGIS/raw/refs/tags/final-3_36_3/tests/testdata/projects/good_layers_test.qgs'
Query its MIME type:
Expected behavior
Compare with Ubuntu:
Additional context
The practical impact of this is that QGIS projects open in the wrong application.
Metadata
Notify maintainers
@NixOS/geospatial @lsix
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: