Skip to content

NixOS Xorg "the requested operation is not supported by Winit" #6884

Closed Answered by zax71
zax71 asked this question in Q&A
Discussion options

You must be logged in to vote

Right, yesterday I must have been glancing at this stuff a little too much... At the bottom of the linked discussion there is this answer but I'll repeat it here.

# flake.nix
{
  description = "rust devshell";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    rust-overlay.url = "github:oxalica/rust-overlay";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs =
    {
      self,
      nixpkgs,
      rust-overlay,
      flake-utils,
      ...
    }:
    flake-utils.lib.eachDefaultSystem (
      system:
      let
        overlays = [ (import rust-overlay) ];
        pkgs = import nixpkgs {
          inherit system overlays;
        };
      in
      {

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@zax71
Comment options

@tronical
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by zax71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants