ErnWong / dotfiles

Let's start from fresh again
1 stars 0 forks source link

nix flake update tried downgrading an input #18

Open ErnWong opened 2 months ago

ErnWong commented 2 months ago

https://github.com/ErnWong/dotfiles/pull/17

This does not seem expected, but I'm not going to raise a bug immediately as it's not impacting me.

As the update-flake-lock action uses nix flake update behind the scenes, I assume the bug report should belong to the nix cli? However, that means I need to try reproduce this before logging a bug.

ErnWong commented 2 months ago

Reproduced locally on 615826e6aa04956043527a0900b961499a38e238

nix flake update

warning: updating lock file '/home/ernwong/dotfiles/flake.lock':
• Updated input 'home-manager':
    'github:nix-community/home-manager/1c43dcfac48a2d622797f7ab741670fdbcf8f609' (2024-04-15)
  → 'github:nix-community/home-manager/4cec20dbf5c0a716115745ae32531e34816ecbbe' (2024-04-21)
• Updated input 'nixos-cosmic':
    'github:lilyinstarlight/nixos-cosmic/5b9d39821929c8464f6ee17538c8311635c32e8f' (2024-04-15)
  → 'github:lilyinstarlight/nixos-cosmic/23289df6d107b9e7610980977eff5316dbad9ecb' (2024-04-20)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/cfd6b5fc90b15709b780a5a1619695a88505a176' (2024-04-12)
  → 'github:nixos/nixpkgs/5c24cf2f0a12ad855f444c30b2421d044120c66f' (2024-04-19)
• Updated input 'nuenv/nixpkgs':
    'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.614481%2Brev-5c24cf2f0a12ad855f444c30b2421d044120c66f/018efa00-a443-7f41-b371-ce568b5c7e9f/source.tar.gz?narHash=sha256-XtTSSIB2DA6tOv%2Bl0FhvfDMiyCmhoRbNB%2B0SeInZkbk%3D' (2024-04-19)
  → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.555097%2Brev-91050ea1e57e50388fa87a3302ba12d188ef723a/018c3450-2363-7c34-883b-4ba70b1eb7ae/source.tar.gz?narHash=sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE%3D' (2023-12-01)
warning: Git tree '/home/ernwong/dotfiles' is dirty
ErnWong commented 2 months ago

Perhaps we should at least set nuenv.inputs.nixpkgs.follows explicitly.