justanotheruser has quit [Ping timeout: 260 seconds]
nature has quit [Ping timeout: 264 seconds]
zakame_ has joined #nixos
<Gaelan>
I've got some Rust code in a flake I want to build. There seem to be several solutions for this right now, so I'd love some advice as to which is best. I absolutely need cross-compilation support, the ability to use this from a flake, and to not rebuild dependencies whenever I change my code. I'd prefer to rebuild each dependency in a separate derivation (so I don't have to rebuild them all when I change any of them), and to use a nixpkgs-built rustc
<Gaelan>
instead of a prebuilt one from nixpkgs-mozilla.
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLy4l
<{^_^}>
[nixpkgs] @peterhoeg merged pull request #107765 → neochat: re-add kitemmodels and qtgraphicaleffects to build inputs → https://git.io/JLyGp
<{^_^}>
[nixpkgs] @peterhoeg pushed commit from @mjlbach to master « neochat: re-add kitemmodels and qtgraphicaleffects to build inputs for non-nixos systems »: https://git.io/JLy44
<{^_^}>
[nixpkgs] @jtojnar pushed to staging « gdk-pixbuf: enable debug info »: https://git.io/JLy40
ece has quit [Read error: Connection reset by peer]
ece has joined #nixos
fresheyeball has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
<fresheyeball>
how can I remove everything installed with nix-env?
<tpw_rules>
nix-env -r?
<tpw_rules>
might have to be -i -r. quoth the manpage: Remove all previously installed packages first. This is equivalent to running nix-env -e '.*' first, except that everything happens in a single transaction.
<fcortesi>
Thanks for your answers. I looked at your code but it seems far more complex than what I'm doing.
<aterius>
So if you apply your overlay to the attribute that is used to build nixpkgs.lib.nixosSystem (so to nixpkgs), it should be available under pkgs in configuration.nix
<aterius>
You don't need to add it as a module or anything
xcmw has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.9]
fresheyeball has joined #nixos
<fcortesi>
Hmm im not suposed to be doing that in the code of the last comments? with this?
ManiacOfMadness has quit [Ping timeout: 256 seconds]
<aterius>
Is that not working?
<fcortesi>
Nop
<fcortesi>
Let me try again but yes I think it's not working.
<aterius>
How are you accessing your packages in configuration.nix?
<fcortesi>
It's the same configuration.nix which cames with nixos. Just with more packages, some virtual hosts, etc.
astylian has quit [Remote host closed the connection]
astylian has joined #nixos
<fcortesi>
for qutebrowser I try to use unstable.qutebrowser. But the compiler complains with "unstable" not defined at configuration.nix
<aterius>
in pkgs?
<fcortesi>
environment.systemPackages = with pkgs; [
<fcortesi>
..
<fcortesi>
unstable.qutebrowser
<fcortesi>
];
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLyuj
<{^_^}>
[nixpkgs] @collares opened pull request #107777 → emacs: add currently compiling package dirs to load-path → https://git.io/JLyze
<fcortesi>
UndefinedVarError in file configuration.nix ..... Undefined variable "unstable"
<fcortesi>
I don't have my code in a git repository, could this be problematic?
<lordcirth>
fcortesi, that won't break anything, unless you want to use flakes - but git is good and you should use it
fresheyeball has quit [Quit: WeeChat 2.9]
<fcortesi>
Yes, I'm using flakes :P
<aterius>
Oh flakes should be ignoring things not checked into version control
<aterius>
You just need to git add it
<fcortesi>
Everything works fine except this.
<fcortesi>
ahh
<fcortesi>
ok
<fcortesi>
!
<fcortesi>
THANKS!!
betaboon has quit [Ping timeout: 256 seconds]
<aterius>
Wait did it work?
riksteri has joined #nixos
<fcortesi>
Everything except taking packages from unstable
<fcortesi>
I'm trying now
<fcortesi>
with git
<fcortesi>
nope, same error
<aterius>
Sorry, I'm not at my desktop otherwise I could try to send you an exact gist (I use home-manager and things are slightly different)
betaboon has joined #nixos
<fcortesi>
Well, i'm looking to use home-manager at the end so maybe it's better to grab your code from github. I was trying to understand flakes before moving to that.
<fcortesi>
Thaks again, I understand it much better now.
<aterius>
They're kinda orthogonal, I also don't use HM as a nixos module which is slightly different than some
<fcortesi>
Ok, yes I was trying to avoid your config because it looked so much different. But I't doesnt matter.
<fcortesi>
Btw, isn't that a bug?
<fcortesi>
The one I posted on reddit
<fcortesi>
Like.. i can se in configuration.nix one variable defined into another module of "modules=" (?)
<fcortesi>
They share namespace or what?
<aterius>
Uh, you have to remember nix is a functional language, so it may not work as you expect. I didn't look enough into your exact example, but I doubt it's a bug
<aterius>
with regards to where you have access to variables *
<fcortesi>
Yes, I use haskell, thats why is seems strange
<stalactite[m]>
To be completely fair, Haskell is so much different than any other language (at least that I've tried)
<stalactite[m]>
But, to be fair, it's improved my programming conceptualization process.
<aterius>
I'm not enough of a nix-lang expert to explain your particular example 😆 I'm sure that there is someone here that can
<fcortesi>
Unles, the function that takes cares of all this configuration is making a shared namespace for every module..
<fcortesi>
I use elixir a lisp too :P
<fcortesi>
Doesn't matter, Thanks again for your time :)
Supersonic112 has joined #nixos
endformationage has quit [Quit: WeeChat 2.9]
<bqv>
aterius: the module system isn't a functional language thing, its very much a nix thing
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
<bqv>
Which is why having used haskell doesn't help much
<fcortesi>
Ok, I had the idea that nix was modeled after haskell. I looks weird anyway.
<aterius>
I was mostly thinking with respect to recursive attribute sets, I'm not really sure what the specific problem was
<fcortesi>
wel.. it works, looks weird only, not a big problem. I can't find any documentations of all these attributes so I have no idea if it's supposed to work this way.
<fcortesi>
Yes could be a rec somewhere taking care of these modules. I just started to learn nix exressions right now so can't tell.
<fcortesi>
But seriously I don't want to bother you anymore, I'll just continue learning about it.
sangoma has quit [Read error: Connection reset by peer]
ManiacOfMadness has quit [Read error: Network is unreachable]
ManiacOfMadness has joined #nixos
arinov_ has quit [Read error: Connection reset by peer]
arinov_ has joined #nixos
Darkmatter66 has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #nixos
m0rphism has joined #nixos
Darkmatter66 has quit [Ping timeout: 256 seconds]
Darkmatter66 has joined #nixos
ManiacOfMadness has quit [Read error: Connection reset by peer]
dyazz has joined #nixos
ManiacOfMadness has joined #nixos
seku has quit [Quit: Connection closed]
alendvai_ has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<alendvai_>
hi! i'm new to nixos, and i'm loving it! i have a short feedback re docs: the first hard time i had was finding out how to install emacs packages from my config.nix.
<alendvai_>
and a question: i can't seem to find out which package installs hcitool. i have bluez-full installed. could it be that it's not packaged in any nixos package?
alendvai_ is now known as attila_lendvai
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
nature has joined #nixos
ManiacOfMadness has quit [Read error: Network is unreachable]
evernite has joined #nixos
ManiacOfMadness has joined #nixos
ManiacOfMadness has quit [Read error: Connection reset by peer]
<flokli>
I'm not sure on whether bluez-utils-compat is available somewhere in nixpkgs, but it might probably be easier to just use the new commands :-)
<{^_^}>
[nixpkgs] @schmittlauch opened pull request #107799 → linphone: 4.2.4 -> 4.2.5 and update all major SIP-related dependencies → https://git.io/JLypV
* attila_lendvai
already loves the nixos vibe on his first day
<{^_^}>
[hydra] @pingiun opened pull request #842 → Also trigger flake based jobsets with push-github endpoint → https://git.io/JLSfj
abrar has quit [Quit: WeeChat 2.7.1]
abrar has joined #nixos
mallox has joined #nixos
plakband has quit [Quit: WeeChat 2.9]
nlyy has joined #nixos
<emilsp>
is the current libguestfs package broken? I can't get any of the virt-* tools to work, all complain about a perl package not being found (Locale/TextDomain.pm)
<nlyy>
to update to unstable channel. in conf.nix 20.9 -> ??
Izorkin has quit [Ping timeout: 260 seconds]
<clever>
nlyy: dont change stateVersion
<nlyy>
ah
<clever>
nlyy: did you read the comment beside it?
<nlyy>
didn't
<nlyy>
ty
<clever>
you want to use nix-channel to change channels
<clever>
but 20.09 is the newest stable channel
<clever>
nixos-unstable is the unstable channel
<nlyy>
somehow i'm still on kernel 5.4
<nlyy>
i want unstable
<emilsp>
You can try newer kernels without moving to nixos-unstable
<{^_^}>
[nixpkgs] @tex opened pull request #107805 → Use interval, randomizedDelaySec, persistent options in nix-gc and auto-upgrade → https://git.io/JLSk6
mananamenos has joined #nixos
attila_lendvai has quit [Remote host closed the connection]
chloekek_ has joined #nixos
alendvai_ has joined #nixos
arinov_ has joined #nixos
alendvai_ has quit [Client Quit]
<patagonicus>
Does anyone have good documentation on how the module system works internally? I've found one discourse post "Best resources for learning about the NixOS module system?" which helped a bit, but the source is still a bit overwhelming.
<eyJhb>
patagonicus: Also looking at nixpkgs and seeing how it is actually done is always nice
Mic92 has quit [Quit: WeeChat 3.0]
<patagonicus>
simpson: Ah, I'm talking about how nixpkgs evaluates modules (like how mkMerge and mkIf and imports work), not how to write modules.
<patagonicus>
eyJhb: yeah, I was doing that, but bits of it are quite convoluted. I'm starting to have an understanding, but I don't "get it" yet.
<{^_^}>
[nixpkgs] @SuperSandro2000 merged pull request #107761 → skypeforlinux: fix Exec paths in further desktop files → https://git.io/JLy3G
<simpson>
patagonicus: The big overview is that modules can be recursive in how they refer to each other, and so the module loader has to lazily compose them together. `mkMerge` and `mkIf` are wholly about managing this laziness in the face of recursion.
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLSIC
<eyJhb>
patagonicus: True, but at some point you will reach where it makes sense, and then it is a good reference to have
<kini>
supersandro2000: hmm, I guess in many cases a PR/commit isn't about one specific Python version, so it's not clear to me how to decide whether I should write pythonPackages.foo or python3Packages.foo (or python39Packages.foo etc.)
<kini>
I do see a fair number of commits following the other pattern by running `git log --grep 'python: .*:'` in the nixpkgs repo
<{^_^}>
[nixpkgs] @rb2k opened pull request #107813 → bash-completion: fix build on darwin (#107768) → https://git.io/JLSLm
<kini>
but if there's a consensus that using pythonPackages.packagename is the way to go, then probably that script should be edited to change the default commit message for python package updates (?)
<supersandro2000>
kini: if the package is only available on one version or the change is only about one version write a version in
<supersandro2000>
otherwise just leave it out
zakame_ has quit [Quit: WeeChat 2.9]
<supersandro2000>
kini: are they recent?
nlyy has joined #nixos
<kini>
supersandro2000: in that case, shouldn't the pyparsing PR/commit say pythonPackages.pyparsing instead of python3Packages.pyparsing? pyparsing also works on python 2.7
waleee-cl has joined #nixos
<kini>
there are two "python: " commits from this month, one from november, one from october
<kini>
I guess that's probably a small percentage of the python-related commits, though
<raboof>
should 'pyc' files be in the outputs of python packages (e.g. pytest)?
<eacameron>
I
<eacameron>
Is there a way to convince the stdenv derivation to configure a build for a simple Makefile build that doesn't use configure at all? I see it's setting prefix in configure flags but this project just has a make install target.
<Nickli>
config files and settings should work form the user in nixos right?
arinov_ has quit [Ping timeout: 240 seconds]
<Nickli>
seems like ncmpcpp and mpc are trying to connect to mpd on vastly different ports each time
respawn_ has quit [Quit: Leaving]
<hyper_ch>
I have a very strange problem with kvm on intel
davidv7 has quit [Ping timeout: 272 seconds]
<hyper_ch>
on a server that's been running for 2+ years, suddenly virsh didn't work anymore
<hyper_ch>
reboot, and now it tells me: rror: unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
<hyper_ch>
I have no idea what's going on
<infinisil>
"on a server that's been running for 2+ years" <- that's a problem
patagonicus has quit [Ping timeout: 264 seconds]
<infinisil>
You've been running a 2+ year old kernel all this time
<hyper_ch>
infinisil: well, not running non-stop for two years
<infinisil>
Ah
<hyper_ch>
it's has a pretty current nixos unstable on it... about 4-5 weeks old
<infinisil>
Nvm then
<hyper_ch>
but suddenly I can't start the vms anymore
<fgaz>
Is there some established practice when writing nixos modules for services that use dotenv configuration files? I'm not sure whether to use systemd.services.<name>.environment or to just write the config in a dotenv file and pass that to the program. Or I could just have a configFile option of type path so the user can provide the path to the config, since there are secrets in there.
<hyper_ch>
ok, I found the problem: Dec 28 18:02:41 h-b kernel: kvm: disabled by bios --> but wtf????
attila_lendvai has joined #nixos
kdlv has quit [Quit: Leaving]
sangoma has quit [Ping timeout: 260 seconds]
cole-h has joined #nixos
cole-h has quit [Client Quit]
Heffalump has joined #nixos
cole-h has joined #nixos
<{^_^}>
[nixpkgs] @erictapen reopened pull request #93635 → nixos/networkd: Add routes from interfaces to [Route] section of .network file → https://git.io/JJWjK
<{^_^}>
[nixpkgs] @Emantor opened pull request #107818 → pavucontrol: dropdown patch for wayland support → https://git.io/JLSmF
nly has quit [Remote host closed the connection]
jonringer_ has quit [Remote host closed the connection]
<sephi[m]>
I’m trying to package a website which has a `node_modules` directory. Runing `nix-buid` with `src = ./.` shows a message `warning: dumping very large path (> 256 MiB); this may run out of memory`. I guess that’s because of the `node_modules` directory which I don’t need when creating the derivation. Is there a way to ignore it, or do I need use the remote git repository (without the `node_modules` directory)?
<{^_^}>
[nixpkgs] @vbgl opened pull request #107819 → ocamlPackages.csv: use Dune 2 → https://git.io/JLSYs
<Dadou>
Hello, I am trying to setup my dev environment for my flutter app (android), but the android licenses is not accepted automaticaly, does anyone ran into the same issue ?
ece has quit [Ping timeout: 260 seconds]
<Dadou>
I used the variable config.android_sdk.accept_license = true; in the entry of my nix-shell
<Heffalump>
is there a generic way to add something to /nix/var/nix/gcroots/auto/ ? It's not being made by nix-shell but I'd still like to have control over it getting disposed of.
cosimone has quit [Quit: cosimone]
<{^_^}>
[nix] @cole-h opened pull request #4407 → README: fix link to hacking guide → https://git.io/JLSYB
<clever>
Heffalump: nix-store -r foo --add-root result --indirect
<clever>
Heffalump: that will create a result in the current dir, and then another symlink under auto, that points to result
<cole-h>
Wasn't the indirect flag removed?
<clever>
cole-h: it worked when i used it a few days ago
<cole-h>
Oh, maybe `nixUnstable` only, then
<Heffalump>
it's in the man page for the version I got from 20.09
<Heffalump>
clever: thanks!
<cole-h>
Carry on :P
ece has joined #nixos
<sephi[m]>
<tpw_rules "what does your derivation look l"> For the moment it’s very basic (I’m not sure I can really use `propagateBuildInputs` like this, but that’s another question):
esotericn has quit [Ping timeout: 260 seconds]
noudle has joined #nixos
<sephi[m]>
<simpson "Either would work. For the forme"> Thanks, that seems to work fine
<matthewkenigsber>
I'm trying to boot nixos on openstack baremetal, but boot keeps failing in stage 1 with "waiting for device /dev/disk/by-label/nixos to appear" followed by a kernel panic. I tried changing the openstack-config in nixpkgs to import all-hardware instead of qemu-guest, but still no luck. Any ideas?
<eacameron>
I have a very simple C program that only needs libc and pthread. How hard would it be to make that portable on non-Nix systems in a Nix-build?
<simpson>
eacameron: I suspect, but can't promise, that if you use standard autotools to set up the C compiler and libraries then you shouldn't need to do anything special.
<simpson>
On FHS layouts, autotools can use the system's pkg-config to find libraries, and if they have a C compiler on GNU/Linux then they probably have libc and pthreads.
<eacameron>
simpson: sorry I want the build *output* to be portable.
lord| has quit [Ping timeout: 240 seconds]
<simpson>
eacameron: Oh! You may want to seriously consider static linkage. It sounds a bit surprising, but e.g. Go and Zig do it; the resulting binaries are only dependent on the syscall ABI, which Linux tries hard not to change.
lord| has joined #nixos
<eacameron>
simpson: I tried slapping -static in there but ldd still reports nix paths :(
<simpson>
eacameron: Oh, we have `pkgsStatic` for directly supporting static builds. If you don't go through that, then it's still possible to do static stuff but requires more effort. (Also, this will statically link with musl by default, which might not be what you want.)
sangoma has joined #nixos
<attila_lendvai>
is there a way to hide a system-wide package in a shell.nix? i can't seem to come up with the proper search phrase...
<gchristensen>
--pure
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLSOc
jonringer has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<pinpox>
The remarkjs package in nixpkgs refuses to install because it says it is broken. Is that only me? Any workarounds?
<stalactite[m]>
--keep-failed (nix-env) ?
mallox has quit [Ping timeout: 246 seconds]
<attila_lendvai>
gchristensen, hrm, that's a large cannon for this bird of mine... :) but thank you!
davidv7_ has quit [Quit: Konversation terminated!]
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 27 commits to staging-next: https://git.io/JLSs2
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 28 commits to staging: https://git.io/JLSsa
davidv7 has joined #nixos
anderslundstedt has quit [Quit: leaving]
davidv7 has quit [Client Quit]
davidv7 has joined #nixos
davidv7 has quit [Remote host closed the connection]
davidv7 has joined #nixos
xelxebar has quit [Remote host closed the connection]
andreas303 has quit [Write error: Broken pipe]
cantstanya has quit [Write error: Broken pipe]
oida has quit [Remote host closed the connection]
gxt has quit [Write error: Broken pipe]
est31 has quit [Remote host closed the connection]
nicoo has quit [Write error: Broken pipe]
srk has quit [Write error: Broken pipe]
jb55 has quit [Write error: Broken pipe]
madalu has quit [Write error: Broken pipe]
jb55 has joined #nixos
gxt has joined #nixos
madalu has joined #nixos
srk has joined #nixos
oida has joined #nixos
xelxebar has joined #nixos
anderslundstedt has joined #nixos
cantstanya has joined #nixos
est31 has joined #nixos
<Gaelan>
Anyone know if it's possible to import gitignore'd files in a flake? As I understand it, Nix reads flake code from the git index, not the filesystem, so I assume "just doing it" wouldn't work.
<Gaelan>
(I'm trying to keep a wifi password out of a git repository, so I can make it public; I don't really care if it ends up in the store)
<clever>
Gaelan: does --dirty change things?
nicoo has joined #nixos
aswanson has joined #nixos
davidv7 has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 260 seconds]
Lord_of_Life_ has joined #nixos
kalbasit_ has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
justanotheruser has joined #nixos
davidv7 has joined #nixos
kalbasit has quit [Ping timeout: 256 seconds]
Lord_of_Life has quit [Ping timeout: 264 seconds]
Lord_of_Life_ is now known as Lord_of_Life
seku has joined #nixos
kalbasit_ has quit [Ping timeout: 256 seconds]
kalbasit has joined #nixos
lohfu has quit [Ping timeout: 256 seconds]
andreas303 has joined #nixos
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
kalbasit has quit [Remote host closed the connection]
<lukegb>
gchristensen: the only thing left is to send rfc39 invitations using github actions and you'll have created a perpetual* motion** machine***
<cole-h>
If I want to disallow password logins for root, but allow `ssh root@localhost`, should I set the hashedPassword to `!` (password login disabled) or `*` (password unset)?
<energizer>
can i use impermanence nixos and home-manager modules at the same time?
<energizer>
i've been using the nixos one and just now enabled the hm one. unfortunately it seems to have not worked as intended
<{^_^}>
[rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLS4t
<energizer>
the directories are listed in /etc/mtab, and `ls ~` does list them, but when i try to actually look inside the directories, `ls ~/projects` says "/home/energizer/projects: Transport endpoint is not connected"
<energizer>
talyz: if you have a sec i'm not sure what's going wrong here
neiluj has quit [Ping timeout: 260 seconds]
attila_lendvai has quit [Ping timeout: 256 seconds]
neiluj has joined #nixos
meh` has joined #nixos
<{^_^}>
[nixpkgs] @ck3d opened pull request #107840 → clipmenu: 6.1.0 -> 6.2.0 and fixes → https://git.io/JLSBJ
<wnklmnn>
Hi, I'm trying to get droidcam working with nixos. I've found the gist on github wich seems promising. https://gist.github.com/gtgteq/a3bae1c09c95196f6e2a767d08f62ad8 although i have the same issue as the person commenting. How would one use this 'let' in the configuration.nix?
<pinpox>
Has someone made his home-manager configuration a repo and could share how the flake.nix file looks?
<{^_^}>
Found in packages: fuse, bash-completion
neiluj has quit [Read error: Connection reset by peer]
<{^_^}>
[rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLSBo
seku has quit [Quit: Connection closed]
<pinpox>
I'd like to have two outputs like "pinpox-user-server" and "pinpox-user-desktop" that I then can deploy in my nixos hosts by importing that flake
<bqv>
Ericson2314: been playing with nix-ipfs. correct me if I'm wrong, but could you use `nix --store ipfs://` to basically subvert having a local store at all, while still having guaranteed persistence?
<tmpnick4>
considering i'm not a genius, i probably did something weird... but afaik i just followed the manual: booted from usb, created filesystem, created a very simple config and did sudo nixos-install
<Ericson2314>
bqv: yes, but there are things on can only do with the local store :)
<Ericson2314>
like building
<Ericson2314>
(without build remotes, without my latest PR to nix)
neiluj has quit [Ping timeout: 264 seconds]
neiluj has joined #nixos
<bqv>
Ah, interesting
<bqv>
Ok
<bqv>
I suppose not much would be useful without /nix anyway
Dr8128 has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixos-homepage] @garbas pushed to experiment-with-different-fonts « Open Sans / Lato / Fira Mono »: https://git.io/JLS0a
neiluj has quit [Read error: Connection reset by peer]
neiluj has joined #nixos
<{^_^}>
[nixos-search] @garbas merged pull request #255 → Fixes support for packages with multiple homepage entries. → https://git.io/JLDHb
<{^_^}>
[nixos-search] @garbas pushed commit from @turboMaCk to main « Fixes support for packages with multiple homepage entries. (#255) »: https://git.io/JLS0j
<{^_^}>
[nixos-search] @garbas pushed 0 commits to turboMaCk/fix-packages-with-miltiple-homepages: https://git.io/JLSEe
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLSER
<{^_^}>
[nixos-search] @garbas merged pull request #256 → Add package / request package link when no results → https://git.io/JLDQy
<{^_^}>
[nixos-search] @garbas pushed commit from @turboMaCk to main « Add package / request package link when no results (#256) »: https://git.io/JLSEz
<{^_^}>
[nixos-search] @garbas pushed 0 commits to turboMaCk/add-request-package-link: https://git.io/JLSEg
acarrico has quit [Ping timeout: 264 seconds]
erasmas has quit [Quit: leaving]
wnklmnn has quit [Quit: Leaving]
lb5tr has joined #nixos
sangoma has quit [Quit: WeeChat 2.9]
astylian has quit [Read error: Connection reset by peer]
neiluj has quit [Quit: leaving]
pushqrdx has joined #nixos
<{^_^}>
[rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLSuL
<{^_^}>
[rfc39-record] @grahamc pushed to main « Restored from an interrupted run »: https://git.io/JLSut
<{^_^}>
[nixos-status] @garbas pushed commit from @rail to main « Remove HowOldIs link (#4) »: https://git.io/JLSzt
neiluj has joined #nixos
fendor_ has quit [Remote host closed the connection]
<bqv>
infinisil: I recall you (very sagely) commenting on how nixpkgs uses lists in many places where attrsets would be more appropriate. Do you have an issue number for that?
<infinisil>
Nope, I don't think there's an issue
<infinisil>
NixOS options mostly
bqv has quit [Quit: WeeChat 3.0]
bqv has joined #nixos
<bqv>
infinisil: sorry, nixus rebooted me lol
<bqv>
>> Hm, are you interested in opening one? I'm interested in the discussion
<infinisil>
Hm not right now sorry
<bqv>
Fair
<infinisil>
Am very out of the development mood atm :P
<bqv>
Understandable :D
<pushqrdx>
i there an automated way to update a bunch of packages revisions to latest upstream, including upgrading their sha
lunik1 has quit [Quit: Ping timeout (120 seconds)]
<pushqrdx>
instead of going into each default.nix and changing the strings manually
<{^_^}>
[nixpkgs] @flokli merged pull request #107825 → python3Packages.pytest: remove unreproducible test artifacts from output → https://git.io/JLSZP
<bqv>
pushqrdx: its very possible. Many packages have a passthru.updaterScript that can do it. Otherwise, emacs's nix-mode has a nix-update-fetch command that will auto-update most pkgs.fetch* commads
<pushqrdx>
my use case is that i cloned the nixpkgs pantheon desktop and i want to start hacking on it i want to update everything to master, also another question is can i install it side by side with my current stable pantheon install
<pushqrdx>
i am sure there's a nix way to facilitate that, but i don't know it
neiluj has quit [Ping timeout: 240 seconds]
gues97839 has joined #nixos
<pushqrdx>
what i am thinking is some global way to attach -nightly to all packages so they don't clash, and edit the xsession to also use -nightly
<pushqrdx>
what if i just remove the rev and version from the fetchFromGithub call
<pushqrdx>
would that just grap whatever master is
<AmandaC>
No
SomeoneSerge has quit [Ping timeout: 246 seconds]
<clever>
pushqrdx: the hash is required or nix wont give git network access
<clever>
pushqrdx: and if you set rev = "master"; it will randomly break next time master is pushed, but only if you dont have old master cached
ericsagnes has quit [Ping timeout: 268 seconds]
<pushqrdx>
hmm, so what is the shortest/easiest way to achieve what i described above (i don't use emacs)
<{^_^}>
[nixpkgs] @aanderse opened pull request #107855 → php.extensions.pdlib: init at 1.0.2 → https://git.io/JLSgo
<clever>
probably niv, and run `niv update foo` to update it
<pushqrdx>
note that i just cloned the whole Pantheon directory from nixpkgs, i never used niv before, would it be able to use it to update all the packages at once?
<pushqrdx>
that would be really neat
<pushqrdx>
i also wonder what about installing it side by side with my main stable install
DanC has joined #nixos
<clever>
pushqrdx: run `niv init` and then `niv add owner/repo`, and then you can `sources = import ./nix/sources.nix` and `sources.repo`
<pushqrdx>
and make it pick up default.nix and do it's magic automatically
<clever>
DanC: the config you deploy must have the bootloader/filesystem/network stuff setup right, or the machine wont boot
<DanC>
clever where is one expected to learn about `nixops create`?
<clever>
pushqrdx: niv can only update a sources.json file, so you need to write some nix to override the .src from sources.nix
<clever>
DanC: further down in the file you linked, where it says `nixops create`
<DanC>
somehow in section 3.1 I'm supposed to know to look in the command reference to figure out that the relevant command is `nixops create`? There is not some other document I should be looking at?
<DanC>
if that's just the state of the art, then thanks for clarifying
<clever>
DanC: the docs could maybe do with some more work
<DanC>
gotcha
noudle has quit []
kozova1_ has joined #nixos
cosimone has quit [Quit: cosimone]
<{^_^}>
[rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLS2U