Skip to content

Commit

Permalink
bump nixpkgs to 23.05
Browse files Browse the repository at this point in the history
  • Loading branch information
jecaro committed Jul 4, 2023
1 parent 003bc53 commit 72135f2
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 23 deletions.
38 changes: 28 additions & 10 deletions flake.lock

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

24 changes: 11 additions & 13 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
flake-utils.url = "github:numtide/flake-utils";
flake-utils.inputs.nixpkgs.follows = "nixpkgs";
naersk.url = "github:nix-community/naersk";
naersk.inputs.nixpkgs.follows = "nixpkgs";
};

outputs = { self, flake-utils, naersk, nixpkgs }:
let derivation = pkgs:
let naersk' = pkgs.callPackage naersk { };
in
naersk'.buildPackage {
src = ./.;
nativeBuildInputs = with pkgs; [ pkg-config ];
buildInputs = with pkgs; [ openssl ];
};
let
derivation = pkgs:
let naersk' = pkgs.callPackage naersk { };
in
naersk'.buildPackage {
src = ./.;
nativeBuildInputs = with pkgs; [ pkg-config ];
buildInputs = with pkgs; [ openssl ];
};

in
flake-utils.lib.eachDefaultSystem
Expand All @@ -25,10 +25,8 @@
inherit system;
};

naersk' = pkgs.callPackage naersk { };

in
rec {
{
# For `nix build` & `nix run`:
defaultPackage = derivation pkgs;

Expand Down

0 comments on commit 72135f2

Please sign in to comment.