diff --git a/entropy/nixos/flake.lock b/entropy/nixos/flake.lock index 6ccab9c..e87359d 100644 --- a/entropy/nixos/flake.lock +++ b/entropy/nixos/flake.lock @@ -8,22 +8,22 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-h25YqRVPLnAurF22yqPcSM7p3LwuZRwNODaO4k7nl94=", - "path": "/nix/store/dnijhprbg3ixgn69fg48i25fns88w2yj-source/entropy/nixos/mlir", + "narHash": "sha256-MVU3QhAFlsLS5OmVonuYhubfqX5/47eG5QbNC5KDW1E=", + "path": "/nix/store/2fkslr44jwmmwjgymg3hks9rcjpcg9f6-source/entropy/nixos/mlir", "type": "path" }, "original": { - "path": "/nix/store/dnijhprbg3ixgn69fg48i25fns88w2yj-source/entropy/nixos/mlir", + "path": "/nix/store/2fkslr44jwmmwjgymg3hks9rcjpcg9f6-source/entropy/nixos/mlir", "type": "path" } }, "nixos-hardware": { "locked": { - "lastModified": 1673803274, - "narHash": "sha256-zaJDlHFXewT4KUsidMpRcPE+REymGH1Y3Eoc3Pjv4Xs=", + "lastModified": 1674550793, + "narHash": "sha256-ljJlIFQZwtBbzWqWTmmw2O5BFmQf1A/DspwMOQtGXHk=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "7bd6b87b3712e68007823e8dd5c37ee9b114fee3", + "rev": "b7ac0a56029e4f9e6743b9993037a5aaafd57103", "type": "github" }, "original": { @@ -35,11 +35,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1673957332, - "narHash": "sha256-njH7Szk1BLVWGMw7IRibgGejSlxXHj9saZHfH20gHdk=", + "lastModified": 1674333941, + "narHash": "sha256-jelQS56nVVFXGOZg6yUZ/3QWgU1Loa4Bzd4+TEPJX+c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b83e7f5a04a3acc8e92228b0c4bae68933d504eb", + "rev": "339fc3dcc98f39d08496fb90c0d6b5fb81519246", "type": "github" }, "original": { diff --git a/entropy/nixos/mlir/flake.nix b/entropy/nixos/mlir/flake.nix index 5839c6b..586dad2 100644 --- a/entropy/nixos/mlir/flake.nix +++ b/entropy/nixos/mlir/flake.nix @@ -7,11 +7,15 @@ outputs = { self, nixpkgs }: let + # git revision to use (for version and git pull + gitRevision = "49caf7012170422afa84868598063818f9344228"; + # to work with older version of flakes lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101"; # Generate a user-friendly version number. version = builtins.substring 0 8 lastModifiedDate; + # version = gitRevision; # System types to support. supportedSystems = [ "x86_64-linux" ]; #"x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; @@ -45,7 +49,7 @@ src = fetchFromGitHub { owner = "llvm"; repo = "llvm-project"; - rev = "49caf7012170422afa84868598063818f9344228"; + rev = gitRevision; sha256 = "sha256-j+ladpx8NfJGszj17oRkgvb4U2race+2DTKLtRZGeUM="; };