• paperd@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 days ago

    How does “major version upgrades” make it into the “so-so” category? This is one of the best (long term) features of NixOS, since stuff does not really break, you can easily test it with VM tests. What he describes in this seciton is that plasma 6 didn’t make it into that “stable” version of NixOS… but it’d be the same on any other distro, more or less?

  • ruffsl@programming.devOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 days ago

    The comment thread sparked a few new questions for me.

    That will likely soon stop working because steam-run is no longer a grab bag for literally every library out there.

    What recently changed with steam-run?

    Is using pkgs.appimageTools.defaultFhsEnvArgs with pkgs.buildFHSUserEnv a suitable alternative?

       #!/usr/bin/env nix-shell
    
       { pkgs ? import <nixpkgs> { } }:
    
      (
        let base = pkgs.appimageTools.defaultFhsEnvArgs; in
        pkgs.buildFHSUserEnv (base // {
          name = "FHS";
          targetPkgs = pkgs: (with pkgs; [
            /* add additional packages here e.g */
            pcre
            tzdata
          ]);
          runScript = "bash";
          extraOutputsToInstall = [ "dev" ];
        })
      ).env