From b3f64edc8c5175ca5ed8cafa01a2f67f02f70162 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Fri, 25 Oct 2024 15:15:02 +0200 Subject: [PATCH] chore(c): Update --- c/flake.lock | 12 ++++++------ c/flake.nix | 16 ++++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/c/flake.lock b/c/flake.lock index 6bc095c..64b483e 100644 --- a/c/flake.lock +++ b/c/flake.lock @@ -5,11 +5,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1694529238, - "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", + "lastModified": 1726560853, + "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", + "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", "type": "github" }, "original": { @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1695609632, - "narHash": "sha256-+RWYu7xDgYI7KhzKv2Cdqb0mkPFsEr0FcV5mrUAu0SI=", + "lastModified": 1729818716, + "narHash": "sha256-XRfkUsxLzFkMn3Tpstio1gNOIQ+2PZPCKbifJ2IXxlw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0a017f947fc9a060bfdd79a8e885f1d54fd8a592", + "rev": "062c4f59744fcffa2e5aa3ef443dc8b4d1674ed6", "type": "github" }, "original": { diff --git a/c/flake.nix b/c/flake.nix index d740c3a..7c10da2 100644 --- a/c/flake.nix +++ b/c/flake.nix @@ -1,12 +1,13 @@ { description = "C Flake"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - inputs.flake-utils.url = "github:numtide/flake-utils"; + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem - ( system: + outputs = { self, flake-utils, nixpkgs }: + flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; @@ -18,10 +19,13 @@ cmake gcc gnumake + valgrind + astyle + # You might want to use your own IDE. - jetbrains.clion + # (jetbrains.plugins.addPlugins jetbrains.clion [ "github-copilot" ]) ]; }; });