GithubHelp home page GithubHelp logo

Comments (1)

gallexme avatar gallexme commented on May 27, 2024

if anyone wants to go on that adventure

  wine-tkg =
    (callPackage "${nixpkgs-wine}/pkgs/applications/emulators/wine/base.nix" (lib.recursiveUpdate defaults
      rec {
        pname = pnameGen "wine-tkg";
        version = lib.removeSuffix "\n" (lib.removePrefix "Wine version " (builtins.readFile "${src}/VERSION"));
        src = pins.wine-tkg;
      }))
    .overrideDerivation (old: {
      NIX_CFLAGS_COMPILE = let
        inherit
          (pkgs.linuxPackages_xanmod_latest)
          kernel
          ;
        headers = pkgs.makeLinuxHeaders {
          inherit (kernel) src;
          inherit (kernel) version;
          inherit (kernel) patches;
        };
      in [
        "-I${headers}/include"
      ];
    });

and the npins sources(built a custom tkg src tree with ntsync enabled)

   "type": "Git",
      "repository": {
        "type": "GitHub",
        "owner": "h0st-space",
        "repo": "wine-tkg-git"
      },
      "branch": "main",
      "revision": "8b36d4a240e6940484fae5d6f65ad7abe3f757d1",
      "url": "https://github.com/h0st-space/wine-tkg-git/archive/8b36d4a240e6940484fae5d6f65ad7abe3f757d1.zip",
      "hash": "sha256:02chyskn1xvra759ms3fw87gpdlp95959ihg3f68jpl0sy4anqk5"
    }

also make sure to run a ntsync kernel+have the module loaded, and properly set permissions on /dev/ntsync (i guess proper way would be a udev rule?)
i used
sudo chmod 0644 /dev/ntsync
for now

the wine-tkg source preparation tool is really impure...
i used a fhsuserenv shell to make it and pushed it to git ...

from nix-gaming.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.