How can I discover and install a specific version of a package?How to use a package revision not yet in the...

What is /bin/red

To what extent would a wizard be able to combine feats to learn to mimic unknown spells?

How to drill holes in 3/8" steel plates?

WTB Horizon 47c - small crack in the middle of the tire

Is it possible to split a vertex?

Distinguish the explanations of Galadriel's test in LotR

What are some further readings in Econometrics you recommend?

Did the Ottoman empire suppress the printing press?

Through: how to use it with subtraction of functions?

Why is a mixture of two normally distributed variables only bimodal if their means differ by at least two times the common standard deviation?

Is a request to book a business flight ticket for a graduate student an unreasonable one?

Received a dinner invitation through my employer's email, is it ok to attend?

How do we handle pauses in a dialogue?

How quality assurance engineers test calculations?

Why weren't bootable game disks ever a thing on the IBM PC?

Efficiently defining a SparseArray function

What do three diagonal dots above a letter mean in the "Misal rico de Cisneros" (Spain, 1518)?

How to compare the ls output of two folders to find a missing directory?

What the real concept of Static keyword in perspective of Embedded C. See below code

What is a "Lear Processor" and how did it work?

Is there a nice way to implement a conditional type with default fail case?

Why is the ladder of the LM always in the dark side of the LM?

What is the correct parsing of お高くとまる?

Why does every calorie tracking app give a different target calorie count for the same goals?



How can I discover and install a specific version of a package?


How to use a package revision not yet in the published nixpkgs (but described in the development branches of nixpkgs)?How to find the name of a Nix package to install it in configuration.nix?How do you install a one-off package in NixOS?name collision in input Nix expressions with nix-env -fHow do I view information about a package in nix?How to find the correct version of an installed package in /nix/storeHow can I install jack2 on nixos?How to make binary in already existing Nix package able to run a shell script in another package?How can I override a broken Haskell package in nix?nix package manage: can't install firefox






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I have an installation of nix on a Linux system, and I have added the channel nixpkgs-unstable. I can now install packages such as gcc:



% nix-env --install gcc
installing 'gcc-7.4.0'
...
created 78 symlinks in user environment


If I look into a directory such as ~/.nix-defexpr/channels/nixpkgs/pkgs/development/compilers/gcc/, I will discover that there is a variety of versions, all complete with default.nix.




  • How can I discover these hidden package versions with ghc-env --query, or some other friendly tool?


  • Suppose I wish to install gcc version 8 to my user environment, how should I go about it? Can I obtain several versions of gcc at once?



I have been browsing the voluminous documentation of Nix, but everywhere they say something along the lines of "with Nix, you can install any number of versions at once and they will never conflict" and at the same time "you are supposed to only install one version at a time, that is hardcoded in your channel of choice". What sense does it make?










share|improve this question







New contributor



Ignat Insarov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    1















    I have an installation of nix on a Linux system, and I have added the channel nixpkgs-unstable. I can now install packages such as gcc:



    % nix-env --install gcc
    installing 'gcc-7.4.0'
    ...
    created 78 symlinks in user environment


    If I look into a directory such as ~/.nix-defexpr/channels/nixpkgs/pkgs/development/compilers/gcc/, I will discover that there is a variety of versions, all complete with default.nix.




    • How can I discover these hidden package versions with ghc-env --query, or some other friendly tool?


    • Suppose I wish to install gcc version 8 to my user environment, how should I go about it? Can I obtain several versions of gcc at once?



    I have been browsing the voluminous documentation of Nix, but everywhere they say something along the lines of "with Nix, you can install any number of versions at once and they will never conflict" and at the same time "you are supposed to only install one version at a time, that is hardcoded in your channel of choice". What sense does it make?










    share|improve this question







    New contributor



    Ignat Insarov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      1












      1








      1








      I have an installation of nix on a Linux system, and I have added the channel nixpkgs-unstable. I can now install packages such as gcc:



      % nix-env --install gcc
      installing 'gcc-7.4.0'
      ...
      created 78 symlinks in user environment


      If I look into a directory such as ~/.nix-defexpr/channels/nixpkgs/pkgs/development/compilers/gcc/, I will discover that there is a variety of versions, all complete with default.nix.




      • How can I discover these hidden package versions with ghc-env --query, or some other friendly tool?


      • Suppose I wish to install gcc version 8 to my user environment, how should I go about it? Can I obtain several versions of gcc at once?



      I have been browsing the voluminous documentation of Nix, but everywhere they say something along the lines of "with Nix, you can install any number of versions at once and they will never conflict" and at the same time "you are supposed to only install one version at a time, that is hardcoded in your channel of choice". What sense does it make?










      share|improve this question







      New contributor



      Ignat Insarov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have an installation of nix on a Linux system, and I have added the channel nixpkgs-unstable. I can now install packages such as gcc:



      % nix-env --install gcc
      installing 'gcc-7.4.0'
      ...
      created 78 symlinks in user environment


      If I look into a directory such as ~/.nix-defexpr/channels/nixpkgs/pkgs/development/compilers/gcc/, I will discover that there is a variety of versions, all complete with default.nix.




      • How can I discover these hidden package versions with ghc-env --query, or some other friendly tool?


      • Suppose I wish to install gcc version 8 to my user environment, how should I go about it? Can I obtain several versions of gcc at once?



      I have been browsing the voluminous documentation of Nix, but everywhere they say something along the lines of "with Nix, you can install any number of versions at once and they will never conflict" and at the same time "you are supposed to only install one version at a time, that is hardcoded in your channel of choice". What sense does it make?







      nix






      share|improve this question







      New contributor



      Ignat Insarov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      Ignat Insarov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      Ignat Insarov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 1 hour ago









      Ignat InsarovIgnat Insarov

      1062 bronze badges




      1062 bronze badges




      New contributor



      Ignat Insarov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Ignat Insarov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























          0






          active

          oldest

          votes














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Ignat Insarov is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f529065%2fhow-can-i-discover-and-install-a-specific-version-of-a-package%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Ignat Insarov is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Ignat Insarov is a new contributor. Be nice, and check out our Code of Conduct.













          Ignat Insarov is a new contributor. Be nice, and check out our Code of Conduct.












          Ignat Insarov is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f529065%2fhow-can-i-discover-and-install-a-specific-version-of-a-package%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

          The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

          Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...