Skip to content

Commit

Permalink
flake: use nix-update version in nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyinstarlight committed Mar 22, 2024
1 parent ac4603a commit cf1f4c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 74 deletions.
66 changes: 0 additions & 66 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 2 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,13 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

# TODO: switch to `github:Mic92/nix-update` once Mic92/nix-update#227, Mic92/nix-update#228, and Mic92/nix-update#229 are merged
nix-update = {
url = "github:lilyinstarlight/nix-update/tmp/fixed";
inputs.nixpkgs.follows = "nixpkgs";
};

flake-compat = {
url = "github:nix-community/flake-compat";
flake = false;
};
};

outputs = { self, nixpkgs, nix-update, ... }: let
outputs = { self, nixpkgs, ... }: let
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
in {
lib = {
Expand All @@ -37,7 +31,7 @@

runtimeInputs = [
pkgs.coreutils
nix-update.packages.${system}.default
pkgs.nix-update
];

text = ''
Expand Down

0 comments on commit cf1f4c7

Please sign in to comment.