Nix Flakes | 890 Members | |
| 179 Servers |
| Sender | Message | Time |
|---|---|---|
| 28 Sep 2021 | ||
| So I'm not sure it's actually something to be reused as-is | 23:03:24 | |
| But it's a good source of inspiration I think | 23:03:34 | |
| yeah | 23:03:36 | |
| i'm using agenix and quite happy with it, with a few nits | 23:04:51 | |
In reply to @edrex:matrix.orgNote that most of my config is pretty NIH/reinventing-the-wheel-ish | 23:04:53 | |
| The learning experience is as important as actually getting a good system going. | 23:07:22 | |
| I feel nixos as it is rewards a certain level of willingness and experience blazing trail | 23:07:51 | |
| it's really both a programming language community and a linux distro, which is kind of unique. | 23:09:44 | |
| 29 Sep 2021 | ||
| 01:37:24 | ||
| 1 Oct 2021 | ||
what's the deal with the "packages .. have the same priority messages when trying to nix profile install nixUnstable or bashInteractive? | 17:56:27 | |
* what's the deal with the "packages .. have the same priority" messages when trying to nix profile install nixUnstable or bashInteractive? | 17:56:48 | |
* what's the deal with the "packages .. have the same priority" messages when trying to nix profile install nixpkgs#nixUnstable or bashInteractive? | 17:57:15 | |
| edrex: You're trying to install packages that provide the same binaries. | 18:03:06 | |
| You likely already have a package with the binary in your profile. | 18:03:18 | |
| you're right, i had regular bash. i'm unclear how to replace my nix package atomically ( need latest nixpkgs-unstable) | 18:05:16 | |
| i should be using a flake.nix with home-manager etc, just trying to get something done real quick interactively. | 18:06:10 | |
nix shell might be a better option for that? | 18:12:43 | |
I should ask, "how can I update the system nix to a different branch of nixpkgs"? | 18:15:31 | |
any other package, i would nix profile remove N and reinstall | 18:15:51 | |
| (this is single user mode | 18:16:15 | |
In reply to @edrex:matrix.orgIf using flakes, you can add --override-input nixpkgs github:NixOS/nixpkgs/foo, where foo is the target branch (or commit). If not using flakes, you can probably just export NIX_PATH="nixpkgs=/nix/var/nix/profiles/per-user/myuser/channels/mychannel:$NIX_PATH" before running your nix command. | 18:21:16 | |
In reply to @jez:petrichor.me nix shell nixpkgs/nixpkgs-unstable#nixUnstable giveswhich nix => /home/eric/.nix-profile/bin/nix, which isn't what I expect (the version in my profile isn't from nixpkgs-unstable) | 18:27:36 | |
In reply to @roosemberth:orbstheorem.chRoos: i'm not using a flake for this rn. i have home-manager set up with my nixos hosts but not on laptop yet. To override NIX_PATH in that way, i guess I would have to create another channel with the branch set to nixpkgs-unstable? | 18:31:49 | |
| Yes. | 18:32:07 | |
In reply to @edrex:matrix.orgWhere is the nixpkgs/nixpkgs-unstable flake coming from? (You can use nix registry list to list the ones nix can see) | 18:33:01 | |
Unless nixpkgs/foo is some syntax I do not know. | 18:33:11 | |
| for context, I'm trying to install a nix with the workaround for https://github.com/nix-community/nix-direnv/issues/113 so I can do something other than mess around with nix :D | 18:33:16 | |
In reply to @roosemberth:orbstheorem.chi mean, the flake output specifier can have the form nixpkgs/release-20.09#hello | 18:36:35 | |
| TIL :D | 18:37:44 | |
In reply to @roosemberth:orbstheorem.ch* Roos: i'm not using a flake for this rn. i have home-manager set up with my nixos hosts but not on laptop yet. To override note: first sent a few minutes ago, matrix troubles | 18:44:44 | |