`nix-env -i stack` failed on Mac OS X











up vote
0
down vote

favorite












Because of this problem, and some one told me that I should install stack and cabal-install using nix, so I am now trying to install haskell-stack using nix-env -i.



Whole error messages are here.



$ nix-env -i stack
...
lib/machserver.cpp:180:27: note: put the semicolon on a separate line to silence this warning
In file included from lib/alloc.cpp:32:
In file included from ./security_utilities/globalizer.h:31:
In file included from ./security_utilities/threading.h:40:
./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if _HAVE_64BIT_ATOMIC
^
./security_utilities/threading_internal.h:41:29: note: expanded from macro '_HAVE_64BIT_ATOMIC'
#define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
^
./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
./security_utilities/threading_internal.h:41:51: note: expanded from macro '_HAVE_64BIT_ATOMIC'
#define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
^
./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
./security_utilities/threading_internal.h:41:72: note: expanded from macro '_HAVE_64BIT_ATOMIC'
#define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
^
./security_utilities/threading_internal.h:119:50: warning: while loop has empty body [-Wempty-body]
{ while (!casb(store, value, store)) /* again */; return value; }
^
./security_utilities/threading_internal.h:119:50: note: put the semicolon on a separate line to silence this warning
4 warnings generated.
4 warnings generated.
4 warnings generated.
5 warnings generated.
make[2]: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Instance/library.make:278: internal-library-all_] Error 2
make[1]: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Master/rules.make:297: security_utilities.all.library.variables] Error 2
make: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Master/library.make:37: internal-all] Error 2
builder for '/nix/store/xxja1zlr9xqvl4vij85lcf30h5s6yyi5-libsecurity_utilities-osx-10.7.5.drv' failed with exit code 2
cannot build derivation '/nix/store/g2i0xac4g4173561i5lsgn7pncswzmqd-SecurityTool-55115.drv': 1 dependencies couldn't be built
copying path '/nix/store/b5j4s3wmh2bji4ck8wrvizh5knfnw4mw-pem-0.2.4' from 'https://cache.nixos.org'...
cannot build derivation '/nix/store/ss179ilk0x4yb6z1dks3aa9z5b0bzih5-x509-system-1.6.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/7f4a2s6ri62dm37md14wxla62hygxg0z-connection-0.2.8.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lg6k2p3v4sfj6w9kb3bapizzr8qk3i3p-http-client-tls-0.3.5.3.drv': 1 dependencies couldn't be built

cannot build derivation '/nix/store/djqw65b0cnlpdfpadxhnqr344qrwdqa9-stack-1.9.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/djqw65b0cnlpdfpadxhnqr344qrwdqa9-stack-1.9.1.drv' failed


and



$ uname -a                                                                                             
Darwin YudeMBP.local 18.2.0 Darwin Kernel Version 18.2.0: Fri Oct 5 19:41:49 PDT 2018; root:xnu-4903.221.2~2/RELEASE_X86_64 x86_64


How to fix this?










share|improve this question




























    up vote
    0
    down vote

    favorite












    Because of this problem, and some one told me that I should install stack and cabal-install using nix, so I am now trying to install haskell-stack using nix-env -i.



    Whole error messages are here.



    $ nix-env -i stack
    ...
    lib/machserver.cpp:180:27: note: put the semicolon on a separate line to silence this warning
    In file included from lib/alloc.cpp:32:
    In file included from ./security_utilities/globalizer.h:31:
    In file included from ./security_utilities/threading.h:40:
    ./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
    #if _HAVE_64BIT_ATOMIC
    ^
    ./security_utilities/threading_internal.h:41:29: note: expanded from macro '_HAVE_64BIT_ATOMIC'
    #define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
    ^
    ./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
    ./security_utilities/threading_internal.h:41:51: note: expanded from macro '_HAVE_64BIT_ATOMIC'
    #define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
    ^
    ./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
    ./security_utilities/threading_internal.h:41:72: note: expanded from macro '_HAVE_64BIT_ATOMIC'
    #define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
    ^
    ./security_utilities/threading_internal.h:119:50: warning: while loop has empty body [-Wempty-body]
    { while (!casb(store, value, store)) /* again */; return value; }
    ^
    ./security_utilities/threading_internal.h:119:50: note: put the semicolon on a separate line to silence this warning
    4 warnings generated.
    4 warnings generated.
    4 warnings generated.
    5 warnings generated.
    make[2]: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Instance/library.make:278: internal-library-all_] Error 2
    make[1]: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Master/rules.make:297: security_utilities.all.library.variables] Error 2
    make: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Master/library.make:37: internal-all] Error 2
    builder for '/nix/store/xxja1zlr9xqvl4vij85lcf30h5s6yyi5-libsecurity_utilities-osx-10.7.5.drv' failed with exit code 2
    cannot build derivation '/nix/store/g2i0xac4g4173561i5lsgn7pncswzmqd-SecurityTool-55115.drv': 1 dependencies couldn't be built
    copying path '/nix/store/b5j4s3wmh2bji4ck8wrvizh5knfnw4mw-pem-0.2.4' from 'https://cache.nixos.org'...
    cannot build derivation '/nix/store/ss179ilk0x4yb6z1dks3aa9z5b0bzih5-x509-system-1.6.6.drv': 1 dependencies couldn't be built
    cannot build derivation '/nix/store/7f4a2s6ri62dm37md14wxla62hygxg0z-connection-0.2.8.drv': 1 dependencies couldn't be built
    cannot build derivation '/nix/store/lg6k2p3v4sfj6w9kb3bapizzr8qk3i3p-http-client-tls-0.3.5.3.drv': 1 dependencies couldn't be built

    cannot build derivation '/nix/store/djqw65b0cnlpdfpadxhnqr344qrwdqa9-stack-1.9.1.drv': 1 dependencies couldn't be built
    error: build of '/nix/store/djqw65b0cnlpdfpadxhnqr344qrwdqa9-stack-1.9.1.drv' failed


    and



    $ uname -a                                                                                             
    Darwin YudeMBP.local 18.2.0 Darwin Kernel Version 18.2.0: Fri Oct 5 19:41:49 PDT 2018; root:xnu-4903.221.2~2/RELEASE_X86_64 x86_64


    How to fix this?










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Because of this problem, and some one told me that I should install stack and cabal-install using nix, so I am now trying to install haskell-stack using nix-env -i.



      Whole error messages are here.



      $ nix-env -i stack
      ...
      lib/machserver.cpp:180:27: note: put the semicolon on a separate line to silence this warning
      In file included from lib/alloc.cpp:32:
      In file included from ./security_utilities/globalizer.h:31:
      In file included from ./security_utilities/threading.h:40:
      ./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
      #if _HAVE_64BIT_ATOMIC
      ^
      ./security_utilities/threading_internal.h:41:29: note: expanded from macro '_HAVE_64BIT_ATOMIC'
      #define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
      ^
      ./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
      ./security_utilities/threading_internal.h:41:51: note: expanded from macro '_HAVE_64BIT_ATOMIC'
      #define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
      ^
      ./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
      ./security_utilities/threading_internal.h:41:72: note: expanded from macro '_HAVE_64BIT_ATOMIC'
      #define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
      ^
      ./security_utilities/threading_internal.h:119:50: warning: while loop has empty body [-Wempty-body]
      { while (!casb(store, value, store)) /* again */; return value; }
      ^
      ./security_utilities/threading_internal.h:119:50: note: put the semicolon on a separate line to silence this warning
      4 warnings generated.
      4 warnings generated.
      4 warnings generated.
      5 warnings generated.
      make[2]: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Instance/library.make:278: internal-library-all_] Error 2
      make[1]: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Master/rules.make:297: security_utilities.all.library.variables] Error 2
      make: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Master/library.make:37: internal-all] Error 2
      builder for '/nix/store/xxja1zlr9xqvl4vij85lcf30h5s6yyi5-libsecurity_utilities-osx-10.7.5.drv' failed with exit code 2
      cannot build derivation '/nix/store/g2i0xac4g4173561i5lsgn7pncswzmqd-SecurityTool-55115.drv': 1 dependencies couldn't be built
      copying path '/nix/store/b5j4s3wmh2bji4ck8wrvizh5knfnw4mw-pem-0.2.4' from 'https://cache.nixos.org'...
      cannot build derivation '/nix/store/ss179ilk0x4yb6z1dks3aa9z5b0bzih5-x509-system-1.6.6.drv': 1 dependencies couldn't be built
      cannot build derivation '/nix/store/7f4a2s6ri62dm37md14wxla62hygxg0z-connection-0.2.8.drv': 1 dependencies couldn't be built
      cannot build derivation '/nix/store/lg6k2p3v4sfj6w9kb3bapizzr8qk3i3p-http-client-tls-0.3.5.3.drv': 1 dependencies couldn't be built

      cannot build derivation '/nix/store/djqw65b0cnlpdfpadxhnqr344qrwdqa9-stack-1.9.1.drv': 1 dependencies couldn't be built
      error: build of '/nix/store/djqw65b0cnlpdfpadxhnqr344qrwdqa9-stack-1.9.1.drv' failed


      and



      $ uname -a                                                                                             
      Darwin YudeMBP.local 18.2.0 Darwin Kernel Version 18.2.0: Fri Oct 5 19:41:49 PDT 2018; root:xnu-4903.221.2~2/RELEASE_X86_64 x86_64


      How to fix this?










      share|improve this question















      Because of this problem, and some one told me that I should install stack and cabal-install using nix, so I am now trying to install haskell-stack using nix-env -i.



      Whole error messages are here.



      $ nix-env -i stack
      ...
      lib/machserver.cpp:180:27: note: put the semicolon on a separate line to silence this warning
      In file included from lib/alloc.cpp:32:
      In file included from ./security_utilities/globalizer.h:31:
      In file included from ./security_utilities/threading.h:40:
      ./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
      #if _HAVE_64BIT_ATOMIC
      ^
      ./security_utilities/threading_internal.h:41:29: note: expanded from macro '_HAVE_64BIT_ATOMIC'
      #define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
      ^
      ./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
      ./security_utilities/threading_internal.h:41:51: note: expanded from macro '_HAVE_64BIT_ATOMIC'
      #define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
      ^
      ./security_utilities/threading_internal.h:67:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
      ./security_utilities/threading_internal.h:41:72: note: expanded from macro '_HAVE_64BIT_ATOMIC'
      #define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
      ^
      ./security_utilities/threading_internal.h:119:50: warning: while loop has empty body [-Wempty-body]
      { while (!casb(store, value, store)) /* again */; return value; }
      ^
      ./security_utilities/threading_internal.h:119:50: note: put the semicolon on a separate line to silence this warning
      4 warnings generated.
      4 warnings generated.
      4 warnings generated.
      5 warnings generated.
      make[2]: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Instance/library.make:278: internal-library-all_] Error 2
      make[1]: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Master/rules.make:297: security_utilities.all.library.variables] Error 2
      make: *** [/nix/store/204lvxmsigkgkdv2c0fvkqalxmg4fik5-gnustep-make-2.7.0/share/GNUstep/Makefiles/Master/library.make:37: internal-all] Error 2
      builder for '/nix/store/xxja1zlr9xqvl4vij85lcf30h5s6yyi5-libsecurity_utilities-osx-10.7.5.drv' failed with exit code 2
      cannot build derivation '/nix/store/g2i0xac4g4173561i5lsgn7pncswzmqd-SecurityTool-55115.drv': 1 dependencies couldn't be built
      copying path '/nix/store/b5j4s3wmh2bji4ck8wrvizh5knfnw4mw-pem-0.2.4' from 'https://cache.nixos.org'...
      cannot build derivation '/nix/store/ss179ilk0x4yb6z1dks3aa9z5b0bzih5-x509-system-1.6.6.drv': 1 dependencies couldn't be built
      cannot build derivation '/nix/store/7f4a2s6ri62dm37md14wxla62hygxg0z-connection-0.2.8.drv': 1 dependencies couldn't be built
      cannot build derivation '/nix/store/lg6k2p3v4sfj6w9kb3bapizzr8qk3i3p-http-client-tls-0.3.5.3.drv': 1 dependencies couldn't be built

      cannot build derivation '/nix/store/djqw65b0cnlpdfpadxhnqr344qrwdqa9-stack-1.9.1.drv': 1 dependencies couldn't be built
      error: build of '/nix/store/djqw65b0cnlpdfpadxhnqr344qrwdqa9-stack-1.9.1.drv' failed


      and



      $ uname -a                                                                                             
      Darwin YudeMBP.local 18.2.0 Darwin Kernel Version 18.2.0: Fri Oct 5 19:41:49 PDT 2018; root:xnu-4903.221.2~2/RELEASE_X86_64 x86_64


      How to fix this?







      haskell-stack nix






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 21 at 4:58

























      asked Nov 20 at 9:38









      cmal

      552316




      552316
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          It looks like you are trying to install stack from a Nixpkgs version with a broken dependency of stack.



          You can see build age and links to their statuses in HowOldIs.



          To change the channel you're installing from, use the nix-channel command.



          For example:



          # add the config
          nix-channel --add https://nixos.org/channels/nixpkgs-18.09-darwin nixpkgs
          # download the latest nix expressions
          nix-channel --update





          share|improve this answer





















          • Hi, I am using Darwin Kernel Version 18.2.0, should I add the same channel?
            – cmal
            Nov 21 at 4:58










          • I am also getting this warning when install stack after channel updated: warning: name collision in input Nix expressions, skipping '/Users/yuzhao/.nix-defexpr/channels_root/nixpkgs'
            – cmal
            Nov 21 at 5:05










          • 18.09 is the stable Nixpkgs/NixOS version which is not really related to the Darwin Kernel Version. That said, kernel and OS/X updates have caused compatibility issues in the past. If you run into compilation problems, dynamic linking problems or crashes, #nix-darwin on freenode IRC may be of help.
            – Robert Hensing
            Nov 21 at 10:32











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          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',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53390074%2fnix-env-i-stack-failed-on-mac-os-x%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote



          accepted










          It looks like you are trying to install stack from a Nixpkgs version with a broken dependency of stack.



          You can see build age and links to their statuses in HowOldIs.



          To change the channel you're installing from, use the nix-channel command.



          For example:



          # add the config
          nix-channel --add https://nixos.org/channels/nixpkgs-18.09-darwin nixpkgs
          # download the latest nix expressions
          nix-channel --update





          share|improve this answer





















          • Hi, I am using Darwin Kernel Version 18.2.0, should I add the same channel?
            – cmal
            Nov 21 at 4:58










          • I am also getting this warning when install stack after channel updated: warning: name collision in input Nix expressions, skipping '/Users/yuzhao/.nix-defexpr/channels_root/nixpkgs'
            – cmal
            Nov 21 at 5:05










          • 18.09 is the stable Nixpkgs/NixOS version which is not really related to the Darwin Kernel Version. That said, kernel and OS/X updates have caused compatibility issues in the past. If you run into compilation problems, dynamic linking problems or crashes, #nix-darwin on freenode IRC may be of help.
            – Robert Hensing
            Nov 21 at 10:32















          up vote
          1
          down vote



          accepted










          It looks like you are trying to install stack from a Nixpkgs version with a broken dependency of stack.



          You can see build age and links to their statuses in HowOldIs.



          To change the channel you're installing from, use the nix-channel command.



          For example:



          # add the config
          nix-channel --add https://nixos.org/channels/nixpkgs-18.09-darwin nixpkgs
          # download the latest nix expressions
          nix-channel --update





          share|improve this answer





















          • Hi, I am using Darwin Kernel Version 18.2.0, should I add the same channel?
            – cmal
            Nov 21 at 4:58










          • I am also getting this warning when install stack after channel updated: warning: name collision in input Nix expressions, skipping '/Users/yuzhao/.nix-defexpr/channels_root/nixpkgs'
            – cmal
            Nov 21 at 5:05










          • 18.09 is the stable Nixpkgs/NixOS version which is not really related to the Darwin Kernel Version. That said, kernel and OS/X updates have caused compatibility issues in the past. If you run into compilation problems, dynamic linking problems or crashes, #nix-darwin on freenode IRC may be of help.
            – Robert Hensing
            Nov 21 at 10:32













          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          It looks like you are trying to install stack from a Nixpkgs version with a broken dependency of stack.



          You can see build age and links to their statuses in HowOldIs.



          To change the channel you're installing from, use the nix-channel command.



          For example:



          # add the config
          nix-channel --add https://nixos.org/channels/nixpkgs-18.09-darwin nixpkgs
          # download the latest nix expressions
          nix-channel --update





          share|improve this answer












          It looks like you are trying to install stack from a Nixpkgs version with a broken dependency of stack.



          You can see build age and links to their statuses in HowOldIs.



          To change the channel you're installing from, use the nix-channel command.



          For example:



          # add the config
          nix-channel --add https://nixos.org/channels/nixpkgs-18.09-darwin nixpkgs
          # download the latest nix expressions
          nix-channel --update






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 20 at 16:31









          Robert Hensing

          1,9641013




          1,9641013












          • Hi, I am using Darwin Kernel Version 18.2.0, should I add the same channel?
            – cmal
            Nov 21 at 4:58










          • I am also getting this warning when install stack after channel updated: warning: name collision in input Nix expressions, skipping '/Users/yuzhao/.nix-defexpr/channels_root/nixpkgs'
            – cmal
            Nov 21 at 5:05










          • 18.09 is the stable Nixpkgs/NixOS version which is not really related to the Darwin Kernel Version. That said, kernel and OS/X updates have caused compatibility issues in the past. If you run into compilation problems, dynamic linking problems or crashes, #nix-darwin on freenode IRC may be of help.
            – Robert Hensing
            Nov 21 at 10:32


















          • Hi, I am using Darwin Kernel Version 18.2.0, should I add the same channel?
            – cmal
            Nov 21 at 4:58










          • I am also getting this warning when install stack after channel updated: warning: name collision in input Nix expressions, skipping '/Users/yuzhao/.nix-defexpr/channels_root/nixpkgs'
            – cmal
            Nov 21 at 5:05










          • 18.09 is the stable Nixpkgs/NixOS version which is not really related to the Darwin Kernel Version. That said, kernel and OS/X updates have caused compatibility issues in the past. If you run into compilation problems, dynamic linking problems or crashes, #nix-darwin on freenode IRC may be of help.
            – Robert Hensing
            Nov 21 at 10:32
















          Hi, I am using Darwin Kernel Version 18.2.0, should I add the same channel?
          – cmal
          Nov 21 at 4:58




          Hi, I am using Darwin Kernel Version 18.2.0, should I add the same channel?
          – cmal
          Nov 21 at 4:58












          I am also getting this warning when install stack after channel updated: warning: name collision in input Nix expressions, skipping '/Users/yuzhao/.nix-defexpr/channels_root/nixpkgs'
          – cmal
          Nov 21 at 5:05




          I am also getting this warning when install stack after channel updated: warning: name collision in input Nix expressions, skipping '/Users/yuzhao/.nix-defexpr/channels_root/nixpkgs'
          – cmal
          Nov 21 at 5:05












          18.09 is the stable Nixpkgs/NixOS version which is not really related to the Darwin Kernel Version. That said, kernel and OS/X updates have caused compatibility issues in the past. If you run into compilation problems, dynamic linking problems or crashes, #nix-darwin on freenode IRC may be of help.
          – Robert Hensing
          Nov 21 at 10:32




          18.09 is the stable Nixpkgs/NixOS version which is not really related to the Darwin Kernel Version. That said, kernel and OS/X updates have caused compatibility issues in the past. If you run into compilation problems, dynamic linking problems or crashes, #nix-darwin on freenode IRC may be of help.
          – Robert Hensing
          Nov 21 at 10:32


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • 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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2fstackoverflow.com%2fquestions%2f53390074%2fnix-env-i-stack-failed-on-mac-os-x%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

          Wiesbaden

          Marschland

          Dieringhausen